Interface IOutputFileInfo
Simple data class designed to hold information on the file to output, which may be required by the host application. This is used by GetProposedOutputFileInfo(IPersistentFileConversionProperties, IOutputFileInfo) to allow file type components to supply alternative information if the component is causing the output file type to differ from the default (e.g. alternative generators for previewing).
Namespace: Sdl.FileTypeSupport.Framework.NativeApi
Assembly: Sdl.FileTypeSupport.Framework.Core.dll
Syntax
public interface IOutputFileInfo
Properties
ContentRestriction
Indicates whether the output is in the source or target language. This is for information purposes only.
Declaration
ContentRestriction ContentRestriction { get; }
Property Value
Type | Description |
---|---|
ContentRestriction |
Encoding
The suggested encoding to be used when outputting the file
Declaration
Codepage Encoding { get; set; }
Property Value
Type | Description |
---|---|
Codepage |
FileDialogWildcardExpression
The file wildcard information; can be used by the host application when displaying a 'Save As...' dialog.
Declaration
string FileDialogWildcardExpression { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Filename
The name of the file, no need to supply any path information
Declaration
string Filename { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FileTypeName
The name of the file type (e.g. "Microsoft Word 2003"); can be used by the host application when displaying a 'Save As...' dialog.
Declaration
string FileTypeName { get; set; }
Property Value
Type | Description |
---|---|
System.String |