skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class XlsxFormatProvider

Imports and exports workbooks in XLSX (Office Open XML) format, supporting full-fidelity roundtrip of spreadsheet data.

Inheritance
System.Object
WorkbookFormatProviderBase
BinaryWorkbookFormatProviderBase
XlsxFormatProvider
Inherited Members
BinaryWorkbookFormatProviderBase.Import(Byte[])
BinaryWorkbookFormatProviderBase.Import(Byte[], Nullable<TimeSpan>)
BinaryWorkbookFormatProviderBase.Export(Workbook)
BinaryWorkbookFormatProviderBase.Export(Workbook, Nullable<TimeSpan>)
WorkbookFormatProviderBase.Import(Stream)
WorkbookFormatProviderBase.Import(Stream, Nullable<TimeSpan>)
WorkbookFormatProviderBase.Export(Workbook, Stream)
WorkbookFormatProviderBase.Export(Workbook, Stream, Nullable<TimeSpan>)
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.Spreadsheet.FormatProviders.OpenXml.Xlsx
Assembly: Telerik.Windows.Documents.Spreadsheet.FormatProviders.OpenXml.dll

Syntax

public class XlsxFormatProvider : BinaryWorkbookFormatProviderBase, IBinaryWorkbookFormatProvider, IWorkbookFormatProvider

Constructors

XlsxFormatProvider()

Initializes a new instance of the XlsxFormatProvider class.

Declaration
public XlsxFormatProvider()

Properties

CanExport

Indicates that this provider supports exporting workbooks to XLSX format.

Declaration
public override bool CanExport { get; }
Property Value
System.Boolean

The value indicating whether can export.

Overrides
WorkbookFormatProviderBase.CanExport

CanImport

Indicates that this provider supports importing XLSX files into workbooks.

Declaration
public override bool CanImport { get; }
Property Value
System.Boolean

The value indicating whether can import.

Overrides
WorkbookFormatProviderBase.CanImport

ExportSettings

Configures XLSX-specific export options; reserved for future extensibility.

Declaration
public XlsxExportSettings ExportSettings { get; set; }
Property Value
XlsxExportSettings

FilesDescription

Describes the file type as "Excel Workbook" for display in UI contexts.

Declaration
public override string FilesDescription { get; }
Property Value
System.String

The files description.

Overrides
WorkbookFormatProviderBase.FilesDescription

ImportSettings

Configures XLSX-specific import options; reserved for future extensibility.

Declaration
public XlsxImportSettings ImportSettings { get; set; }
Property Value
XlsxImportSettings

Name

Identifies this format provider as "XlsxFormatProvider" for registration and lookup.

Declaration
public override string Name { get; }
Property Value
System.String

The name of the provider.

Overrides
WorkbookFormatProviderBase.Name

SupportedExtensions

Specifies that this provider handles files with .xlsx extension.

Declaration
public override IEnumerable<string> SupportedExtensions { get; }
Property Value
System.Collections.Generic.IEnumerable<System.String>

The supported extensions.

Overrides
WorkbookFormatProviderBase.SupportedExtensions

Methods

ExportOverride(Workbook, Stream)

Exports the specified workbook.

Declaration
[Obsolete("This method is obsolete. Please use ExportOverride(Workbook workbook, Stream output, CancellationToken cancellationToken) instead.")]
protected override void ExportOverride(Workbook workbook, Stream output)
Parameters
Workbook workbook

The workbook.

System.IO.Stream output

The output.

Overrides
WorkbookFormatProviderBase.ExportOverride(Workbook, Stream)

ExportOverride(Workbook, Stream, CancellationToken)

Writes the workbook to the stream in XLSX format with license validation.

Declaration
protected override void ExportOverride(Workbook workbook, Stream output, CancellationToken cancellationToken)
Parameters
Workbook workbook

The workbook.

System.IO.Stream output

The output.

System.Threading.CancellationToken cancellationToken

The cancellation token used to cancel the operation.

Overrides
WorkbookFormatProviderBase.ExportOverride(Workbook, Stream, CancellationToken)

ImportOverride(Stream)

Imports the specified input.

Declaration
[Obsolete("This method is obsolete. Please use ImportOverride(Stream input, CancellationToken cancellationToken) instead.")]
protected override Workbook ImportOverride(Stream input)
Parameters
System.IO.Stream input

The input.

Returns
Workbook

The imported workbook.

Overrides
WorkbookFormatProviderBase.ImportOverride(Stream)

ImportOverride(Stream, CancellationToken)

Reads XLSX data from the stream and constructs a workbook with optimized formula caching enabled during import.

Declaration
protected override Workbook ImportOverride(Stream input, CancellationToken cancellationToken)
Parameters
System.IO.Stream input

The input.

System.Threading.CancellationToken cancellationToken

The cancellation token used to cancel the operation.

Returns
Workbook

The imported workbook.

Overrides
WorkbookFormatProviderBase.ImportOverride(Stream, CancellationToken)
Getting Started
  • Getting Started
Support Resources
  • Documentation
Community
  • Forums
  • Blogs
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.