Class AbstractNativePreviewFileWriter
Abstract base class that can be used to build native preview file writers.
This class is derived from Abstract
Implements
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Sdl.FileTypeSupport.Framework.PreviewControls
Assembly: Sdl.FileTypeSupport.Framework.PreviewControls.dll
Syntax
public abstract class AbstractNativePreviewFileWriter : AbstractNativeFileWriter, INativeFileWriter, INativeGenerationContentHandler, IAbstractNativeContentHandler, INativeOutputSettingsAware, IDisposable
Constructors
AbstractNativePreviewFileWriter()
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 |
---|---|
System. |
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 |
Overrides
Implements
System.IDisposable