ClassDocxFormatProvider
Represents a format provider that can import and export DOCX documents from/to RadDocument.
Definition
Namespace:Telerik.WinForms.Documents.FormatProviders.OpenXml.Docx
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class DocxFormatProvider : DocumentFormatProviderBase, IDocumentFormatProvider, IConfigurableDocxFormatProvider
Inheritance: objectDocumentFormatProviderBaseDocxFormatProvider
Implements:
Inherited Members
Constructors
DocxFormatProvider()
Declaration
public DocxFormatProvider()
Properties
CanExport
Gets a value indicating whether this instance can export.
Declaration
public override bool CanExport { get; }
Property Value
true if this instance can export; otherwise, false.
Overrides
CanImport
Gets a value indicating whether this instance can import.
Declaration
public override bool CanImport { get; }
Property Value
true if this instance can import; otherwise, false.
Overrides
ExportSettings
Gets or sets the settings used while exporting content.
Declaration
public DocxExportSettings ExportSettings { get; set; }
Property Value
The export settings.
Implements
FilesDescription
Gets the description of the supported file formats.
Declaration
public override string FilesDescription { get; }
Property Value
The files description.
Overrides
ImportSettings
Gets or sets the settings used while importing content.
Declaration
public DocxImportSettings ImportSettings { get; set; }
Property Value
The import settings.
Implements
Name
Gets the name of the specific format provider.
Declaration
public override string Name { get; }
Property Value
The name.
Overrides
SupportedExtensions
Gets the extensions supported by this format provider.
Declaration
public override IEnumerable<string> SupportedExtensions { get; }
Property Value
The supported extensions.
Overrides
Methods
Export(RadDocument, Stream)
Exports the specified RadDocument instance.
Declaration
public override void Export(RadDocument document, Stream output)
Parameters
document
The document.
output
The Stream the document should be saved into.
Overrides
Import(Stream)
Imports the specified Stream into a RadDocument instance.
Declaration
public override RadDocument Import(Stream input)
Parameters
input
The Stream containing the document data.
Returns
The generated RadDocument instance.
Overrides