XlsxImportOptions Interface
Input limits and projection choices used while validating and reading an XLSX package.
Package: @txtextcontrol/tx-sheet-control-server. Version: 2.0.0.
Related workbook object-model type, returned through the server control. Obtain it from its owning workbook or collection; it is not a required browser-package import.
Members
Properties
| Property | Description |
|---|---|
| autoExpand | Sparse projection: counts are extents rather than a rectangular cell budget. maxEditableCells limits stored cells. |
| inflateRaw | Optional platform DEFLATE implementation for runtimes without DecompressionStream. |
| maxColumns | The maxColumns value of XlsxImportOptions. |
| maxEditableCells | The maxEditableCells value of XlsxImportOptions. |
| maxEntries | The maxEntries value of XlsxImportOptions. |
| maxExpandedBytes | The maxExpandedBytes value of XlsxImportOptions. |
| maxFileBytes | The maxFileBytes value of XlsxImportOptions. |
| maxPartBytes | The maxPartBytes value of XlsxImportOptions. |
| maxRows | Editable projection; data outside it stays in the original package. Defaults match the control. |
| minColumns | The minColumns value of XlsxImportOptions. |
| minRows | The minRows value of XlsxImportOptions. |
| signal | Optional cancellation; hosts check this before replacing a live workbook. |
Examples
Configure XlsxImportOptions for an invoice or sales-report workflow. Supply font and document resources from the application where the example accepts them as inputs.
import type { LoadOptions } from '@txtextcontrol/tx-sheet-control-server';
const xlsxImportSettings: NonNullable<LoadOptions['spreadsheetML']> = { signal: new AbortController().signal };