| INativeGenerationContentHandler Interface |
Namespace: Sdl.FileTypeSupport.Framework.NativeApi
The INativeGenerationContentHandler type exposes the following members.
| Name | Description | |
|---|---|---|
| ChangeContext |
Sets or changes translation related context information.
Context changes will most often be associated with structure tags.
Context changes inside text will cause the text to be split into
separate units during translation, which should normally be avoided
(if possible).
(Inherited from IAbstractNativeContentHandler.) | |
| CommentEnd |
Used to indicate the end of commented content in the stream.
(Inherited from IAbstractNativeContentHandler.) | |
| CommentStart |
Used to indicate that the following content should be treated
as commented content until a matched CommentEnd() call is made.
(Inherited from IAbstractNativeContentHandler.) | |
| CustomInfo |
Temporary custom information, which can be used for communication between
native content processing components.
(Inherited from IAbstractNativeContentHandler.) | |
| InlineEndTag |
Content that is interpreted as the end of a previously emitted start tag.
(Inherited from IAbstractNativeContentHandler.) | |
| InlinePlaceholderTag |
Content interpreted as a placeholder that may appear inside text.
Do not use this for method for paired placeholders.
(Inherited from IAbstractNativeContentHandler.) | |
| InlineStartTag |
Content that is interpreted as the first of a set of paired tags that may appear
inside text.
(Inherited from IAbstractNativeContentHandler.) | |
| LocationMark |
Used with the message reporting mechanism to communicate locations
associated with messages reported using the INativeContentStreamMessageReporter.
(Inherited from IAbstractNativeContentHandler.) | |
| LockedContentEnd |
Used to indicate the end of locked content in the stream.
(Inherited from IAbstractNativeContentHandler.) | |
| LockedContentStart |
Used to indicate that the following content should be treated
as locked content until a matched EndLockedContent() call is made.
(Inherited from IAbstractNativeContentHandler.) | |
| ParagraphComments |
Used to set Paragraph comments to the current paragraph.
(Inherited from IAbstractNativeContentHandler.) | |
| ParagraphUnitEnd |
Indicates the location of a paragraph unit boundary in the bilingual
content model.
| |
| ParagraphUnitStart |
Indicates the location of a paragraph unit boundary in the bilingual
content model.
| |
| RevisionEnd |
Used to indicate the end of revisioned content in the stream.
(Inherited from IAbstractNativeContentHandler.) | |
| RevisionStart |
Used to indicate that the following content should be treated
as revisioned content until a matched RevisionEnd() call is made.
(Inherited from IAbstractNativeContentHandler.) | |
| SegmentEnd |
Indicates the location of a segment boundary in the bilingual
content model.
| |
| SegmentStart |
Indicates the location of a segment boundary in the bilingual
content model.
| |
| StructureTag |
Content that is interpreted as a structural tag, i.e. a tag that
does not appear inside translatable text.
(Inherited from IAbstractNativeContentHandler.) | |
| Text |
Content that represents translatable text
(Inherited from IAbstractNativeContentHandler.) |
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.