Search Results for

    Show / Hide Table of Contents

    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
    IAbstractNativeContentHandler.StructureTag(IStructureTagProperties)
    IAbstractNativeContentHandler.InlineStartTag(IStartTagProperties)
    IAbstractNativeContentHandler.InlineEndTag(IEndTagProperties)
    IAbstractNativeContentHandler.InlinePlaceholderTag(IPlaceholderTagProperties)
    IAbstractNativeContentHandler.Text(ITextProperties)
    IAbstractNativeContentHandler.ChangeContext(IContextProperties)
    IAbstractNativeContentHandler.CustomInfo(ICustomInfoProperties)
    IAbstractNativeContentHandler.LocationMark(LocationMarkerId)
    IAbstractNativeContentHandler.LockedContentStart(ILockedContentProperties)
    IAbstractNativeContentHandler.LockedContentEnd()
    IAbstractNativeContentHandler.RevisionStart(IRevisionProperties)
    IAbstractNativeContentHandler.RevisionEnd()
    IAbstractNativeContentHandler.CommentStart(ICommentProperties)
    IAbstractNativeContentHandler.CommentEnd()
    IAbstractNativeContentHandler.ParagraphComments(ICommentProperties)
    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

    On this page

    • Methods
      • ParagraphUnitEnd()
      • ParagraphUnitStart(IParagraphUnitProperties)
      • SegmentEnd()
      • SegmentStart(ISegmentPairProperties)
    Back to top Generated by DocFX