Interface XLSXImportWorkbookOptions

interface XLSXImportWorkbookOptions {
    isDate1904System?: boolean;
    maxColumns?: number;
    maxRows?: number;
    onGetCellAt?: ((sheetName, key, cell) => void);
    password?: string;
    sharedResources?: ISharedResourceCollection;
    sheetCreator?: ((name, initialState?, options?) => ISheetModel);
    sheetNameCreator?: ((index) => string);
    sheetStyle?: ISheetStyle;
    theme?: IDocTheme;
    transactionStore?: TransactionStore;
}

Hierarchy

  • ImportWorkbookOptions
    • XLSXImportWorkbookOptions

Properties

isDate1904System?: boolean

Determine if dates should be 1904 instead of 1900 based

Default Value

false
maxColumns?: number

Set the maxRow size

Default Value

16384
maxRows?: number

Set the maxRow size

Default Value

1048576
onGetCellAt?: ((sheetName, key, cell) => void)

Type declaration

    • (sheetName, key, cell): void
    • Parameters

      Returns void

password?: string
sharedResources?: ISharedResourceCollection

collection of shared resources. If not provided then workbook will create it's own.

sheetCreator?: ((name, initialState?, options?) => ISheetModel)

Hook to allow for custom sheet creation

Type declaration

Returns

ISheetModel

sheetNameCreator?: ((index) => string)

This is a function that will return a sheet name given a 1-based index.

Type declaration

    • (index): string
    • Parameters

      • index: number

      Returns string

Default Value

Sheet${index}

sheetStyle?: ISheetStyle

collection of shared styles. If not provided then workbook will create it's own.

theme?: IDocTheme
transactionStore?: TransactionStore

The store for all state changes. This is provided to enable versioning, undo/redo, distributed editing, etc.

Default Value

internal