Click or drag to resize
IBilingualToNativeConverter Interface
Interface implemented by components that can convert bilingual content received from calls on the IBilingualContentHandler interface to (source or target language) the native content output on the Output interface. Note that it is up to the implementation to 'decide' if the source or the target (or both) in the bilingual content should be processed.

Namespace: Sdl.FileTypeSupport.Framework.BilingualApi
Assembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2508.0)
Syntax
public interface IBilingualToNativeConverter : IBilingualContentHandler

The IBilingualToNativeConverter type exposes the following members.

Properties
  NameDescription
Public propertyOutput
This property is set by the framework during initialization. The converter implementation should call the methods on this interface to generate output.
Top
Methods
  NameDescription
Public methodComplete
Called by the framework when all content has been processed. At this point it is safe to assume that the document properties will not change any further.
(Inherited from IBilingualContentHandler.)
Public methodFileComplete
Called by the framework after all trans units in a file have been processed by all components. At this point it is safe to assume that the file properties will not change any further.
(Inherited from IBilingualContentHandler.)
Public methodFlush
Used to flush the buffer
Public methodInitialize
The framework will call this method to provide the implementation with a reference to the document properties for the document being processed. This method will always be called, and always before any other calls are made on this interface. This or other content processor implementations may modify the document properties as part of the document processing. If you need to access the final version of the document properties, you should do so through the Complete method implementation.
(Inherited from IBilingualContentHandler.)
Public methodProcessParagraphUnit
The framework will call this method for each ParagraphUnit in the file.
(Inherited from IBilingualContentHandler.)
Public methodSetFileProperties
The framework will call this method to provide the implementation with a reference to the properties for each file in the document before the ParagraphUnits of the file are processed. This or other content processor implementations may modify the properties as part of the file processing. If you need to access the final version of the file properties, you should do so through the FileComplete method implementation.
(Inherited from IBilingualContentHandler.)
Top
Remarks
If the implementation needs access to factories in order to create property objects, etc., it should implement the IBilingualFileTypeComponent interface.
See Also
Community
Edit

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