Interface INativeGenerationContentHandler
Extension of the IAbstractNativeContentHandler with additional methods used to communicate information that is only available during generation (i.e. when writing native output files from content that originates from the bilingual content model).
Inherited Members
Namespace: Sdl.FileTypeSupport.Framework.NativeApi
Assembly: Sdl.FileTypeSupport.Framework.Core.dll
Syntax
public interface INativeGenerationContentHandler : IAbstractNativeContentHandler
Remarks
The additional information, which is communicated, includes start and end of paragraph units and segments as they appear in the bilingual content model.
This information is useful for determining whether any content has been left in original source language or whether it has been translated. It is also used by the framework when mapping locations in the native content stream to locations in the bilingual content model, during message reporting.
Note that the locations of the segment boundaries may have to be approximated, e.g. if tag pairs that were split due to the presence of the segments in the native content model have been re-combined when converting from bilingual to native.
Methods
ParagraphUnitEnd()
Indicates the location of a paragraph unit boundary in the bilingual content model.
Declaration
void ParagraphUnitEnd()
ParagraphUnitStart(IParagraphUnitProperties)
Indicates the location of a paragraph unit boundary in the bilingual content model.
Declaration
void ParagraphUnitStart(IParagraphUnitProperties properties)
Parameters
Type | Name | Description |
---|---|---|
IParagraphUnitProperties | properties |
SegmentEnd()
Indicates the location of a segment boundary in the bilingual content model.
Declaration
void SegmentEnd()
SegmentStart(ISegmentPairProperties)
Indicates the location of a segment boundary in the bilingual content model.
Declaration
void SegmentStart(ISegmentPairProperties properties)
Parameters
Type | Name | Description |
---|---|---|
ISegmentPairProperties | properties |