Class AbstractNativePreviewFileWriter
Abstract base class that can be used to build native preview file writers.
This class is derived from Abstract
Implements
Inherited Members
Namespace: Sdl.FileTypeSupport.Framework.PreviewControls
Assembly: Sdl.FileTypeSupport.Framework.PreviewControls.dll
Syntax
public abstract class AbstractNativePreviewFileWriter : AbstractNativeFileWriter, INativeFileWriter, INativeGenerationContentHandler, IAbstractNativeContentHandler, INativeOutputSettingsAware, IDisposable
Constructors
AbstractNativePreviewFileWriter()
Abstract base class that can be used to build native preview file writers.
This class is derived from Abstract
Declaration
protected AbstractNativePreviewFileWriter()
Properties
ExtensionMaps
A list of filter extensions that need to be mapped to other extensions before previewing. For example mappping .csv to .csv.txt files so they can be previewed in an IE browser control.
Declaration
public string[] ExtensionMaps { get; set; }
Property Value
Type | Description |
---|---|
String[] |
Methods
GetProposedOutputFileInfo(IPersistentFileConversionProperties, IOutputFileInfo)
Propose a filename based on origianl file path but with the file extension mapped to a new file extension if
a map is found in Extension
Declaration
public override void GetProposedOutputFileInfo(IPersistentFileConversionProperties fileProperties, IOutputFileInfo proposedFileInfo)
Parameters
Type | Name | Description |
---|---|---|
IPersistent |
fileProperties | |
IOutput |
proposedFileInfo |