Class DocxFormatProvider
Represents a format provider that can import and export DOCX documents from/to RadDocument.
Inherited Members
Namespace: Telerik.Windows.Documents.FormatProviders.OpenXml.Docx
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class DocxFormatProvider : DocumentFormatProviderBase, IDocumentFormatProvider, IConfigurableDocxFormatProvider
Constructors
DocxFormatProvider()
Declaration
public DocxFormatProvider()
Properties
CanExport
Determines whether the specified document can be exported to the Open XML Docx format.
Declaration
public override bool CanExport { get; }
Property Value
System.Boolean
|
Overrides
CanImport
Determines whether the specified document can be imported by the DocxFormatProvider.
Declaration
public override bool CanImport { get; }
Property Value
System.Boolean
|
Overrides
ExportSettings
Gets or sets the export settings for the DocxFormatProvider.
Declaration
public DocxExportSettings ExportSettings { get; set; }
Property Value
DocxExportSettings
An object representing the settings used during the export process. |
Implements
FilesDescription
Represents the description of the files handled by the Docx format provider in the Telerik RadRichTextBox.
Declaration
public override string FilesDescription { get; }
Property Value
System.String
|
Overrides
ImportSettings
Gets or sets the import settings for the DocxFormatProvider.
Declaration
public DocxImportSettings ImportSettings { get; set; }
Property Value
DocxImportSettings
The import settings that determine how the document is processed when imported. |
Implements
Name
Gets the name of the Docx format provider.
Declaration
public override string Name { get; }
Property Value
System.String
|
Overrides
SupportedExtensions
Gets the supported file extensions for the DOCX format.
Declaration
public override IEnumerable<string> SupportedExtensions { get; }
Property Value
System.Collections.Generic.IEnumerable<System.String>
|
Overrides
Methods
Export(RadDocument, Stream)
Exports the specified RadDocument to a DOCX format stream.
Declaration
public override void Export(RadDocument document, Stream output)
Parameters
RadDocument
document
The RadDocument to be exported. |
System.IO.Stream
output
The stream where the exported DOCX content will be written. |
Overrides
Import(Stream)
Imports a document from the specified stream in the OpenXml Docx format.
Declaration
public override RadDocument Import(Stream input)
Parameters
System.IO.Stream
input
The stream from which to import the document. |
Returns
RadDocument
A document representation of the imported content. |