DocxFormatProvider
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
public DocxFormatProvider()
Properties
Gets a value indicating whether this instance can export.
public override bool CanExport { get; }
true if this instance can export; otherwise, false.
Overrides:
Gets a value indicating whether this instance can import.
public override bool CanImport { get; }
true if this instance can import; otherwise, false.
Overrides:
Gets or sets the settings used while exporting content.
public DocxExportSettings ExportSettings { get; set; }
The export settings.
Implements:
Gets the description of the supported file formats.
public override string FilesDescription { get; }
The files description.
Overrides:
Gets or sets the settings used while importing content.
public DocxImportSettings ImportSettings { get; set; }
The import settings.
Implements:
Gets the name of the specific format provider.
public override string Name { get; }
The name.
Overrides:
SupportedExtensions
IEnumerable<string>
Gets the extensions supported by this format provider.
public override IEnumerable<string> SupportedExtensions { get; }
The supported extensions.
Overrides:
Methods
Exports the specified RadDocument instance.
public override void Export(RadDocument document, Stream output)
The document.
outputStreamThe Stream the document should be saved into.
Overrides:
Imports the specified Stream into a RadDocument instance.
public override RadDocument Import(Stream input)
The Stream containing the document data.
Returns:The generated RadDocument instance.
Overrides: