Click or drag to resize
INativeOutputSettingsAware Interface
This interface needs to be implemented by any components that should be 'aware' of which settings are used when writing native files. The SetOutputProperties(INativeOutputFileProperties) method will be invoked before the content of each native file is processed.

Namespace: Sdl.FileTypeSupport.Framework.NativeApi
Assembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2551.0)
Syntax
public interface INativeOutputSettingsAware

The INativeOutputSettingsAware type exposes the following members.

Methods
  NameDescription
Public methodGetProposedOutputFileInfo
Allows a file type component to suggest a file name for the output file to be created. This is called by the framework during generation to provide a suggested default file name (and extension) to the host application's implementation of the output properties provider.

The provided information allows an application to show a properly initialized Save As dialog with a proposed file name and a corresponding file type filter.

Public methodSetOutputProperties
This method is invoked by the framework before processing content from each native file. The properties passed to this method indicate whether source or target language content will be included in the output. It also communicates other important properties such as the name of the output file to be created and what encoding should be used.
Top
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments