Search Results for

    Show / Hide Table of Contents

    Delegate BilingualDocumentOutputPropertiesProvider

    This delegate is used with IMultiFileConverter to determine the output properties for bilingual document files (e.g. SDL XLIFF). The implementation should set the relevant properties on the outputProperties object, supported by proposedFileInfo as required.

    Namespace: Sdl.FileTypeSupport.Framework.IntegrationApi
    Assembly: Sdl.FileTypeSupport.Framework.Core.dll
    Syntax
    public delegate void BilingualDocumentOutputPropertiesProvider(IBilingualDocumentOutputProperties outputProperties, IDocumentProperties documentInfo, IOutputFileInfo proposedFileInfo);
    Parameters
    Type Name Description
    IBilingualDocumentOutputProperties outputProperties

    The delegate implementation should set the actual output properties to be used on this object.

    IDocumentProperties documentInfo
    IOutputFileInfo proposedFileInfo

    Proposed name, etc. for the bilingual document file, as suggested by the file type components. Can be used when showing a File Save As dialog.

    Remarks

    After successful processing in the multi-file converter, the actual bilingual output properties that are used can be retrieved by accessing BilingualDocumentOutputProperties. The host application requires this information to find out whether any dependency files were linked (as opposed to embedded), and will therefore need to be made available when the output file is opened in a different location or on a different machine.

    Constructors

    BilingualDocumentOutputPropertiesProvider(Object, IntPtr)

    Declaration
    public BilingualDocumentOutputPropertiesProvider(object object, IntPtr method)
    Parameters
    Type Name Description
    System.Object object
    System.IntPtr method

    Methods

    BeginInvoke(IBilingualDocumentOutputProperties, IDocumentProperties, IOutputFileInfo, AsyncCallback, Object)

    Declaration
    public virtual IAsyncResult BeginInvoke(IBilingualDocumentOutputProperties outputProperties, IDocumentProperties documentInfo, IOutputFileInfo proposedFileInfo, AsyncCallback callback, object object)
    Parameters
    Type Name Description
    IBilingualDocumentOutputProperties outputProperties
    IDocumentProperties documentInfo
    IOutputFileInfo proposedFileInfo
    System.AsyncCallback callback
    System.Object object
    Returns
    Type Description
    System.IAsyncResult

    EndInvoke(IAsyncResult)

    Declaration
    public virtual void EndInvoke(IAsyncResult result)
    Parameters
    Type Name Description
    System.IAsyncResult result

    Invoke(IBilingualDocumentOutputProperties, IDocumentProperties, IOutputFileInfo)

    Declaration
    public virtual void Invoke(IBilingualDocumentOutputProperties outputProperties, IDocumentProperties documentInfo, IOutputFileInfo proposedFileInfo)
    Parameters
    Type Name Description
    IBilingualDocumentOutputProperties outputProperties
    IDocumentProperties documentInfo
    IOutputFileInfo proposedFileInfo

    On this page

    • Constructors
      • BilingualDocumentOutputPropertiesProvider(Object, IntPtr)
    • Methods
      • BeginInvoke(IBilingualDocumentOutputProperties, IDocumentProperties, IOutputFileInfo, AsyncCallback, Object)
      • EndInvoke(IAsyncResult)
      • Invoke(IBilingualDocumentOutputProperties, IDocumentProperties, IOutputFileInfo)
    Back to top Generated by DocFX