readXlsx
readXlsx(
xlsx,options?):ReadResult<FlowDoc>
Defined in: src/excel/xlsx-reader.ts:129
Read a .xlsx and project it to a FlowDoc in one step:
readXlsxToSheetDoc then projectSheetDoc.
Parsing itself is lossless — SpreadsheetML maps cleanly onto the sheet IR. The losses come from the projection: the print model’s defence-in-depth caps (grid size, per-sheet text budget, sparkline range) clip pathological sheets, and each clip is reported rather than applied in silence.
Parameters
Section titled “Parameters”Uint8Array
The .xlsx (OPC ZIP) bytes.
options?
Section titled “options?”ProjectSheetOptions = {}
Projection knobs (the W9 reference date).
Returns
Section titled “Returns”The flow document plus whatever the projection had to clip.