TX Sheet Control

MultiSheetDocument Interface

Interface

Version-two persisted workbook data with stable sheet IDs and an explicit active sheet.

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

PropertyDescription
activeSheetIdThe activeSheetId value of MultiSheetDocument.
dateSystemThe dateSystem value of MultiSheetDocument.
documentPropertiesThe documentProperties value of MultiSheetDocument.
formatThe format value of MultiSheetDocument.
mailMergeThe mailMerge value of MultiSheetDocument.
namedStylesThe namedStyles value of MultiSheetDocument.
sheetsThe sheets value of MultiSheetDocument.
styleSchemaVersionThe styleSchemaVersion value of MultiSheetDocument.
themeThe theme value of MultiSheetDocument.
versionThe version value of MultiSheetDocument.
workbookFeaturesThe workbookFeatures value of MultiSheetDocument.
workbookIdStable document identity, retained through load, save and session transfer.

Examples

Pass the MultiSheetDocument value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.

function inspectMultiSheetDocumentWorkbookId(multiSheetDocument: { workbookId: string | undefined }) {
    const value = multiSheetDocument['workbookId'];
    console.log('MultiSheetDocument.workbookId', value);
}

See Also