Class
TxtFormatProvider

Imports and exports workbooks in tab-delimited text (.txt) format with tab as the default delimiter.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.FormatProviders.TextBased.Txt

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

cs-api-definition
public class TxtFormatProvider : DelimitedValuesFormatProviderBase, ITextBasedWorkbookFormatProvider, IWorkbookFormatProvider

Inheritance: objectWorkbookFormatProviderBaseTextBasedWorkbookFormatProviderBaseDelimitedValuesFormatProviderBaseTxtFormatProvider

Implements: ITextBasedWorkbookFormatProviderIWorkbookFormatProvider

Inherited Members DelimitedValuesFormatProviderBase.ImportOverride(Stream)DelimitedValuesFormatProviderBase.ImportOverride(Stream, CancellationToken)DelimitedValuesFormatProviderBase.ExportOverride(Workbook, Stream)DelimitedValuesFormatProviderBase.ExportOverride(Workbook, Stream, CancellationToken)DelimitedValuesFormatProviderBase.CanImportDelimitedValuesFormatProviderBase.CanExportDelimitedValuesFormatProviderBase.TrimLeadingEmptyRowsAndColumnsTextBasedWorkbookFormatProviderBase.Import(string)TextBasedWorkbookFormatProviderBase.Import(string, TimeSpan?)TextBasedWorkbookFormatProviderBase.Export(Workbook)TextBasedWorkbookFormatProviderBase.Export(Workbook, TimeSpan?)WorkbookFormatProviderBase.Import(Stream)WorkbookFormatProviderBase.Import(Stream, TimeSpan?)WorkbookFormatProviderBase.Export(Workbook, Stream)WorkbookFormatProviderBase.Export(Workbook, Stream, TimeSpan?)

Constructors

TxtFormatProvider()

Initializes a new instance of the TxtFormatProvider class with tab character (\t) as the delimiter.

Declaration

cs-api-definition
public TxtFormatProvider()

Properties

FilesDescription

Gets the human-readable file type description "Text (Tab delimited)" for use in file dialogs.

Declaration

cs-api-definition
public override string FilesDescription { get; }

Property Value

string

The files description.

Overrides WorkbookFormatProviderBase.FilesDescription

Name

Gets the unique identifier name "TxtFormatProvider" for this format provider.

Declaration

cs-api-definition
public override string Name { get; }

Property Value

string

The name of the provider.

Overrides WorkbookFormatProviderBase.Name

Settings

Gets the configuration settings with tab delimiter and other options for text file import and export.

Declaration

cs-api-definition
public override CsvSettings Settings { get; }

Property Value

CsvSettings

The settings.

Overrides DelimitedValuesFormatProviderBase.Settings

SupportedExtensions

Gets the collection of supported file extensions (".txt") for tab-delimited text format.

Declaration

cs-api-definition
public override IEnumerable<string> SupportedExtensions { get; }

Property Value

IEnumerable<string>

The supported extensions.

Overrides WorkbookFormatProviderBase.SupportedExtensions