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)
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.
Declaration
public BilingualDocumentOutputPropertiesProvider(object object, IntPtr method)
Parameters
Type | Name | Description |
---|---|---|
Object | object | |
IntPtr | method |
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.
Methods
BeginInvoke(IBilingualDocumentOutputProperties, IDocumentProperties, IOutputFileInfo, AsyncCallback, Object)
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.
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 | |
AsyncCallback | callback | |
Object | object |
Returns
Type | Description |
---|---|
IAsyncResult |
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.
EndInvoke(IAsyncResult)
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.
Declaration
public virtual void EndInvoke(IAsyncResult result)
Parameters
Type | Name | Description |
---|---|---|
IAsyncResult | result |
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.
Invoke(IBilingualDocumentOutputProperties, IDocumentProperties, IOutputFileInfo)
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.
Declaration
public virtual void Invoke(IBilingualDocumentOutputProperties outputProperties, IDocumentProperties documentInfo, IOutputFileInfo proposedFileInfo)
Parameters
Type | Name | Description |
---|---|---|
IBilingualDocumentOutputProperties | outputProperties | |
IDocumentProperties | documentInfo | |
IOutputFileInfo | proposedFileInfo |
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.