XlsxFormatProvider
Imports and exports workbooks in XLSX (Office Open XML) format, supporting full-fidelity roundtrip of spreadsheet data.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.FormatProviders.OpenXml.Xlsx
Assembly:Telerik.Windows.Documents.Spreadsheet.FormatProviders.OpenXml.dll
Syntax:
public class XlsxFormatProvider : BinaryWorkbookFormatProviderBase, IBinaryWorkbookFormatProvider, IWorkbookFormatProvider
Inheritance: objectWorkbookFormatProviderBaseBinaryWorkbookFormatProviderBaseXlsxFormatProvider
Implements:
Inherited Members
Constructors
Initializes a new instance of the XlsxFormatProvider class.
public XlsxFormatProvider()
Methods
Writes the workbook to the stream in XLSX format with license validation.
protected override void ExportOverride(Workbook workbook, Stream output, CancellationToken cancellationToken)
The workbook.
outputStreamThe output.
cancellationTokenCancellationTokenThe cancellation token used to cancel the operation.
Overrides:
Reads XLSX data from the stream and constructs a workbook with optimized formula caching enabled during import.
protected override Workbook ImportOverride(Stream input, CancellationToken cancellationToken)
The input.
cancellationTokenCancellationTokenThe cancellation token used to cancel the operation.
Returns:The imported workbook.
Overrides:
Properties
Indicates that this provider supports exporting workbooks to XLSX format.
public override bool CanExport { get; }
The value indicating whether can export.
Overrides:
Indicates that this provider supports importing XLSX files into workbooks.
public override bool CanImport { get; }
The value indicating whether can import.
Overrides:
Describes the file type as "Excel Workbook" for display in UI contexts.
public override string FilesDescription { get; }
The files description.
Overrides:
Identifies this format provider as "XlsxFormatProvider" for registration and lookup.
public override string Name { get; }
The name of the provider.
Overrides:
Specifies that this provider handles files with .xlsx extension.
public override IEnumerable<string> SupportedExtensions { get; }
The supported extensions.
Overrides: