ClassDocxFormatProvider
Represents a format provider that can import and export DOCX documents from/to RadDocument.
Definition
Namespace:Telerik.Windows.Documents.FormatProviders.OpenXml.Docx
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class DocxFormatProvider : DocumentFormatProviderBase, IDocumentFormatProvider, IConfigurableDocxFormatProvider
Inheritance: objectDocumentFormatProviderBaseDocxFormatProvider
Implements:
Inherited Members
Constructors
DocxFormatProvider()
Declaration
public DocxFormatProvider()
Properties
CanExport
Determines whether the specified document can be exported to the Open XML Docx format.
CanImport
Determines whether the specified document can be imported by the DocxFormatProvider.
ExportSettings
Gets or sets the export settings for the DocxFormatProvider.
Declaration
public DocxExportSettings ExportSettings { get; set; }
Property Value
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
Overrides
ImportSettings
Gets or sets the import settings for the DocxFormatProvider.
Declaration
public DocxImportSettings ImportSettings { get; set; }
Property Value
The import settings that determine how the document is processed when imported.
Implements
Name
Gets the name of the Docx format provider.
SupportedExtensions
Gets the supported file extensions for the DOCX format.
Declaration
public override IEnumerable<string> SupportedExtensions { get; }
Property Value
Overrides
Methods
Export(RadDocument, Stream)
Exports the specified RadDocument to a DOCX format stream.
Declaration
public override void Export(RadDocument document, Stream output)
Parameters
document
The RadDocument to be exported.
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
input
The stream from which to import the document.
Returns
A document representation of the imported content.
Overrides