Click or drag to resize
AbstractNativePreviewFileWriter Class
Abstract base class that can be used to build native preview file writers. This class is derived from AbstractNativeFileWriter but also adds a property ExtensionMaps that can be set in the filter definition's preview writer section to automatically map file extensions so that the preview file can be viewed in varions preview applications.
Inheritance Hierarchy
SystemObject
  Sdl.FileTypeSupport.Framework.NativeApiAbstractNativeFileWriter
    Sdl.FileTypeSupport.Framework.PreviewControlsAbstractNativePreviewFileWriter

Namespace: Sdl.FileTypeSupport.Framework.PreviewControls
Assembly: Sdl.FileTypeSupport.Framework.PreviewControls (in Sdl.FileTypeSupport.Framework.PreviewControls.dll) Version: 1.0.0.0 (1.0.7219.0)
Syntax
public abstract class AbstractNativePreviewFileWriter : AbstractNativeFileWriter

The AbstractNativePreviewFileWriter type exposes the following members.

Constructors
  NameDescription
Protected methodAbstractNativePreviewFileWriter
Initializes a new instance of the AbstractNativePreviewFileWriter class
Top
Properties
  NameDescription
Public propertyExtensionMaps
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.
Public propertyLocationTracker
Default implementation, stores this information in a field
(Inherited from AbstractNativeFileWriter.)
Public propertyMessageReporter
Accessor to the message reporter set by the framework
(Inherited from AbstractNativeFileWriter.)
Public propertyOutputProperties
The output properties that were passed to SetOutputProperties(INativeOutputFileProperties) by the framework.
(Inherited from AbstractNativeFileWriter.)
Top
Methods
  NameDescription
Public methodChangeContext
Default implementation, does nothing
(Inherited from AbstractNativeFileWriter.)
Public methodCommentEnd
Default implementation, does nothing.
(Inherited from AbstractNativeFileWriter.)
Public methodCommentStart
Default implementation, does nothing.
(Inherited from AbstractNativeFileWriter.)
Public methodCustomInfo
Default implementation, does nothing
(Inherited from AbstractNativeFileWriter.)
Public methodDispose
Implements IDisposable. Just calls Dispose saying that this is an explicit disposal and tells the GC not to call the Finalizer.
(Inherited from AbstractNativeFileWriter.)
Protected methodDispose(Boolean)
Last change for the Parser to dispose manage and unmanged objects. It can be overriden by subclases.
(Inherited from AbstractNativeFileWriter.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
The distructor just calls Dispose with false parameter specifying this is a cakl from GC.
(Inherited from AbstractNativeFileWriter.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetProposedOutputFileInfo
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 ExtensionMaps.
(Overrides AbstractNativeFileWriterGetProposedOutputFileInfo(IPersistentFileConversionProperties, IOutputFileInfo).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInlineEndTag
Default implementation, does nothing
(Inherited from AbstractNativeFileWriter.)
Public methodInlinePlaceholderTag
Default implementation, does nothing
(Inherited from AbstractNativeFileWriter.)
Public methodInlineStartTag
Default implementation, does nothing
(Inherited from AbstractNativeFileWriter.)
Public methodLocationMark
Default implementation, does nothing
(Inherited from AbstractNativeFileWriter.)
Public methodLockedContentEnd
Default implementation, does nothing
(Inherited from AbstractNativeFileWriter.)
Public methodLockedContentStart
Default implementation, does nothing
(Inherited from AbstractNativeFileWriter.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodParagraphComments
Default implementation, does nothing.
(Inherited from AbstractNativeFileWriter.)
Public methodParagraphUnitEnd
Default implementation, does nothing
(Inherited from AbstractNativeFileWriter.)
Public methodParagraphUnitStart
Default implementation, does nothing
(Inherited from AbstractNativeFileWriter.)
Public methodRevisionEnd
Default implementation, does nothing.
(Inherited from AbstractNativeFileWriter.)
Public methodRevisionStart
Default implementation, does nothing.
(Inherited from AbstractNativeFileWriter.)
Public methodSegmentEnd
Default implementation, does nothing
(Inherited from AbstractNativeFileWriter.)
Public methodSegmentStart
Default implementation, does nothing
(Inherited from AbstractNativeFileWriter.)
Public methodSetOutputProperties
Default implementation, stores the output properties
(Inherited from AbstractNativeFileWriter.)
Public methodStructureTag
Default implementation, does nothing
(Inherited from AbstractNativeFileWriter.)
Public methodText
Default implementation, does nothing
(Inherited from AbstractNativeFileWriter.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments