New to Telerik Document ProcessingStart a free 30-day trial

Imports legacy DOC (Word 97-2003) documents into RadFlowDocument instances; export is not supported.

Definition

Constructors

Initializes a new instance of the DocFormatProvider class.

C#
public DocFormatProvider()

Properties

Gets a value indicating whether this provider supports exporting documents (always false for DOC).

C#
public override bool CanExport { get; }
Property Value:

The value indicating whether can export.

Overrides: FormatProviderBase<RadFlowDocument>.CanExport

Gets a value indicating whether this provider supports importing documents (always true for DOC).

C#
public override bool CanImport { get; }
Property Value:

The value indicating whether can import.

Overrides: FormatProviderBase<RadFlowDocument>.CanImport

Gets the file extensions supported by this provider (.doc, .dot).

C#
public override IEnumerable<string> SupportedExtensions { get; }
Property Value:

The supported extensions.

Overrides: FormatProviderBase<RadFlowDocument>.SupportedExtensions

Methods

Imports the specified input.

C#
protected override RadFlowDocument ImportOverride(Stream input, CancellationToken cancellationToken)
Parameters:inputStream

The input stream containing the doc file.

cancellationTokenCancellationToken

The cancellation token used to cancel the operation.

Returns:

RadFlowDocument

The imported document.

Overrides: FormatProviderBase<RadFlowDocument>.ImportOverride(Stream, CancellationToken)