| IBilingualWriter Interface |
Namespace: Sdl.FileTypeSupport.Framework.BilingualApi
The IBilingualWriter type exposes the following members.
| Name | Description | |
|---|---|---|
| Complete |
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.) | |
| FileComplete |
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.) | |
| Initialize |
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.) | |
| ProcessParagraphUnit |
The framework will call this method for each ParagraphUnit in the file.
(Inherited from IBilingualContentHandler.) | |
| SetFileProperties |
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.) |
There are two types of bilingual writers: writers for document files that fully serialize the content of the bilingual object model and that can write documents consisting of multiple files (e.g. SDL XLIFF), and bilingual writers for single files that contain bilingual content, e.g. 3rd party XLIFF files, TTX files, ITD files, etc.
Writers for full document files implement IBilingualDocumentWriter, which is derived from this interface.
Writers for single bilingual files implement this interface.