Partager via


Microsoft.Exchange.Data.TextConverters Namespace

The Microsoft.Exchange.Data.TextConverters namespace contains types that enable you to easily convert data among different formats such as HTML, RTF, enriched text, and plain text.

Classes

Class Description
ConverterReader The ConverterReader type is a read-only, forward-only pull mode converter based on the TextReader class.
ConverterStream The ConverterStream class is a stream-based converter that can be configured for reading or writing.
ConverterWriter The ConverterWriter type is a write-only converter that is derived from the TextWriter class. Source documents are written into ConverterWriter and the output is written into a Stream or TextWriter object.
EnrichedToHtml The EnrichedToHtml class converts enriched text to HTML.
EnrichedToText The EnrichedToText class converts enriched text to plain text.
HtmlTagContext The HtmlTagContext class is passed to the HtmlTagCallback delegate and is used to get information about the tag that caused the callback and to filter the tag as it is written to the output.
HtmlToEnriched The HtmlToEnriched converts HTML to enriched text.
HtmlToHtml The HtmlToHtml conversion object transforms HTML. It is used to normalize and filter HTML, convert HTML to use a different code page, and inject text into HTML.
HtmlToRtf The HtmlToRtf class converts HTML to RTF.
HtmlToText The HtmlToText class converts HTML to plain text.
HtmlWriter The HtmlWriter class provides methods that allow you to easily write HTML tags, HTML attribute, and text to an output HTML document.
RtfCompressedToRtf The RtfCompressedToRtf class extracts compressed Rich Text Format (RTF).
RtfToHtml The RtfToHtml class implements a conversion from Rich Text Format (RTF) to HTML.
RtfToRtf The RtfToRtf class implements a conversion from RTF to RTF.
RtfToRtfCompressed The RtfToRtfCompressed class implements a conversion that converts from Rich Text Format (RTF) to compressed RTF.
RtfToText The RtfToText class implements a conversion from Rich Text Format (RTF) to text.
TextConverter The TextConverter class is an abstract base class representing a transformation of text or other data from one format to another.
TextConvertersException The TextConvertersException exception is thrown when a data format error causes an unrecoverable error.
TextToHtml The TextToHtml implements a conversion from text to HTML.
TextToRtf The TextToRtf object converts from text to RTF.
TextToText The TextToText object converts from text to text.

Structures

Structure Description
HtmlTagContext.AttributeCollection The HtmlTagContext.AttributeCollection structure is a collection of HtmlTagContextAttribute structures that represent the attributes of the HTML tag that caused the callback to the HtmlTagCallback delegate.
HtmlTagContext.AttributeCollection.Enumerator The HtmlTagContext.AttributeCollection.Enumerator class provides methods that allow you to iterate over a collection of HtmlTagContextAttribute structures.
HtmlTagContextAttribute The HtmlTagContextAttribute structure contains information about an attribute in the current HTML tag.

Delegates

Delegate Description
HtmlTagCallback The HtmlTagCallback delegate is called to enable custom filtering of specific HTML tags.

Enumerations

Enumeration Description
ConverterStreamAccess The ConverterStreamAccess type specifies the access mode for a ConverterStream object.
HeaderFooterFormat The HeaderFooterFormat enumeration contains values that determine how headers and footers are interpreted before they are inserted into converted output.
HtmlAttributeId The HtmlAttributeId enumeration contains values that represent HTML attributes.
HtmlTagId The HtmlTagId enumeration contains values that represent HTML tags.
HtmlWriterState The HtmlWriterState enumeration contains values that identify the state of a HtmlWriter object.
RtfCompressionMode The RtfCompressionMode enumeration indicates the kind of compression that will be performed.
TextExtractionMode The TextExtractionMode enumeration contains values that specify how text will be extracted.
TextToTextConversionMode The TextToTextConversionMode enumeration controls how text will be converted.