Class TxtFormatProvider
Imports and exports flow documents as plain text, stripping all formatting and preserving only text content and line breaks.
Inheritance
System.Object
TxtFormatProvider
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Documents.Flow.FormatProviders.Txt
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public class TxtFormatProvider : TextBasedFormatProviderBase<RadFlowDocument>, IFormatProvider<RadFlowDocument>, ITextBasedFormatProvider<RadFlowDocument>
Constructors
TxtFormatProvider()
Properties
CanExport
Declaration
public override bool CanExport { get; }
Property Value
|
System.Boolean
|
Overrides
Telerik.Windows.Documents.Common.FormatProviders.FormatProviderBase<Telerik.Windows.Documents.Flow.Model.RadFlowDocument>.CanExport
CanImport
Declaration
public override bool CanImport { get; }
Property Value
|
System.Boolean
|
Overrides
Telerik.Windows.Documents.Common.FormatProviders.FormatProviderBase<Telerik.Windows.Documents.Flow.Model.RadFlowDocument>.CanImport
SupportedExtensions
Declaration
public override IEnumerable<string> SupportedExtensions { get; }
Property Value
|
System.Collections.Generic.IEnumerable<System.String>
|
Overrides
Telerik.Windows.Documents.Common.FormatProviders.FormatProviderBase<Telerik.Windows.Documents.Flow.Model.RadFlowDocument>.SupportedExtensions
Methods
ExportOverride(RadFlowDocument, Stream)
Declaration
[Obsolete("This method is obsolete. Please use ExportOverride(RadFlowDocument document, Stream output) instead.")]
protected override void ExportOverride(RadFlowDocument document, Stream output)
Parameters
|
RadFlowDocument
document
|
|
System.IO.Stream
output
|
Overrides
Telerik.Windows.Documents.Common.FormatProviders.FormatProviderBase<Telerik.Windows.Documents.Flow.Model.RadFlowDocument>.ExportOverride(Telerik.Windows.Documents.Flow.Model.RadFlowDocument, System.IO.Stream)
ExportOverride(RadFlowDocument, Stream, CancellationToken)
Declaration
protected override void ExportOverride(RadFlowDocument document, Stream output, CancellationToken cancellationToken)
Parameters
|
RadFlowDocument
document
|
|
System.IO.Stream
output
|
|
System.Threading.CancellationToken
cancellationToken
|
Overrides
Telerik.Windows.Documents.Common.FormatProviders.FormatProviderBase<Telerik.Windows.Documents.Flow.Model.RadFlowDocument>.ExportOverride(Telerik.Windows.Documents.Flow.Model.RadFlowDocument, System.IO.Stream, System.Threading.CancellationToken)
ImportOverride(Stream)
Declaration
[Obsolete("This method is obsolete. Please use ImportOverride(Stream input, CancellationToken cancellationToken) instead.")]
protected override RadFlowDocument ImportOverride(Stream input)
Parameters
|
System.IO.Stream
input
|
Returns
|
RadFlowDocument
|
Overrides
Telerik.Windows.Documents.Common.FormatProviders.FormatProviderBase<Telerik.Windows.Documents.Flow.Model.RadFlowDocument>.ImportOverride(System.IO.Stream)
ImportOverride(Stream, CancellationToken)
Declaration
protected override RadFlowDocument ImportOverride(Stream input, CancellationToken cancellationToken)
Parameters
|
System.IO.Stream
input
|
|
System.Threading.CancellationToken
cancellationToken
|
Returns
|
RadFlowDocument
|
Overrides
Telerik.Windows.Documents.Common.FormatProviders.FormatProviderBase<Telerik.Windows.Documents.Flow.Model.RadFlowDocument>.ImportOverride(System.IO.Stream, System.Threading.CancellationToken)