Skip to content

CancellationToken in DocumentFormat.OpemXml.Packaging.SpreadsheetDocument.Open function #1490

@AlfredHellstern

Description

@AlfredHellstern

Discussed in #1489

Originally posted by ahsanaman92 July 7, 2023
Version: DocumentFormat.OpenXml v2.20.0

I am working on an issue where the customer has reported that it takes a while for the DocumentFormat.OpemXml.Packaging.SpreadsheetDocument.Open function to determine a large Excel document (329 MB) is invalid over the network. Is there a plan to be able to pass a CancellationToken to the open function?

The function is passed a System.IO.Stream input like this: using (SpreadsheetDocument Doc = SpreadsheetDocument.Open(input, false))

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions