# WorksheetDocument Interface

> WorksheetDocument interface in the TX Sheet Control TypeScript API for Node.js: Version-one persisted worksheet data with workbook-level metadata.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Node.js Server > WorksheetDocument Interface
- **1589 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/llms-full.txt

---

Version-one persisted worksheet data with workbook-level metadata.

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](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/autoexpand-property/llms-full.txt) | The autoExpand value of WorksheetDocument. |
| [autoFilter](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/autofilter-property/llms-full.txt) | The autoFilter value of WorksheetDocument. |
| [autoFilterVersion](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/autofilterversion-property/llms-full.txt) | The autoFilterVersion value of WorksheetDocument. |
| [cellPictures](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/cellpictures-property/llms-full.txt) | The cellPictures value of WorksheetDocument. |
| [cells](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/cells-property/llms-full.txt) | The cells value of WorksheetDocument. |
| [cellStyleRefs](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/cellstylerefs-property/llms-full.txt) | The cellStyleRefs value of WorksheetDocument. |
| [charts](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/charts-property/llms-full.txt) | The charts value of WorksheetDocument. |
| [columns](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/columns-property/llms-full.txt) | The columns value of WorksheetDocument. |
| [columnWidths](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/columnwidths-property/llms-full.txt) | The columnWidths value of WorksheetDocument. |
| [conditionalFormattingVersion](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/conditionalformattingversion-property/llms-full.txt) | The conditionalFormattingVersion value of WorksheetDocument. |
| [conditionalRules](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/conditionalrules-property/llms-full.txt) | The conditionalRules value of WorksheetDocument. |
| [dateSystem](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/datesystem-property/llms-full.txt) | The dateSystem value of WorksheetDocument. |
| [documentProperties](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/documentproperties-property/llms-full.txt) | The documentProperties value of WorksheetDocument. |
| [drawings](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/drawings-property/llms-full.txt) | The drawings value of WorksheetDocument. |
| [features](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/features-property/llms-full.txt) | The features value of WorksheetDocument. |
| [format](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/format-property/llms-full.txt) | The format value of WorksheetDocument. |
| [hiddenColumns](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/hiddencolumns-property/llms-full.txt) | Hidden column letters; sizes and cell contents are retained. |
| [hiddenRows](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/hiddenrows-property/llms-full.txt) | Hidden one-based row labels; sizes and cell contents are retained. |
| [literalValues](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/literalvalues-property/llms-full.txt) | The literalValues value of WorksheetDocument. |
| [mailMerge](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/mailmerge-property/llms-full.txt) | The mailMerge value of WorksheetDocument. |
| [maxColumns](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/maxcolumns-property/llms-full.txt) | The maxColumns value of WorksheetDocument. |
| [maxRows](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/maxrows-property/llms-full.txt) | The maxRows value of WorksheetDocument. |
| [merges](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/merges-property/llms-full.txt) | The merges value of WorksheetDocument. |
| [namedStyles](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/namedstyles-property/llms-full.txt) | The namedStyles value of WorksheetDocument. |
| [pageSetup](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/pagesetup-property/llms-full.txt) | The pageSetup value of WorksheetDocument. |
| [pageSetupVersion](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/pagesetupversion-property/llms-full.txt) | The pageSetupVersion value of WorksheetDocument. |
| [richText](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/richtext-property/llms-full.txt) | The richText value of WorksheetDocument. |
| [rowHeights](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/rowheights-property/llms-full.txt) | The rowHeights value of WorksheetDocument. |
| [rows](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/rows-property/llms-full.txt) | The rows value of WorksheetDocument. |
| [sheetId](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/sheetid-property/llms-full.txt) | The sheetId value of WorksheetDocument. |
| [sheetName](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/sheetname-property/llms-full.txt) | The sheetName value of WorksheetDocument. |
| [sparklineGroups](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/sparklinegroups-property/llms-full.txt) | The sparklineGroups value of WorksheetDocument. |
| [styles](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/styles-property/llms-full.txt) | The styles value of WorksheetDocument. |
| [styleSchemaVersion](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/styleschemaversion-property/llms-full.txt) | The styleSchemaVersion value of WorksheetDocument. |
| [theme](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/theme-property/llms-full.txt) | The theme value of WorksheetDocument. |
| [version](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/version-property/llms-full.txt) | The version value of WorksheetDocument. |
| [workbookFeatures](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/workbookfeatures-property/llms-full.txt) | The workbookFeatures value of WorksheetDocument. |
| [workbookId](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/workbookid-property/llms-full.txt) | Stable document identity, retained through load, save and session transfer. |

### Examples

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

```typescript
function inspectWorksheetDocumentWorkbookId(worksheetDocument: { workbookId: string | undefined }) {
    const value = worksheetDocument['workbookId'];
    console.log('WorksheetDocument.workbookId', value);
}
```

### See Also

- [TypeScript Node.js Server API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/llms-full.txt)
- [Loading and Saving Workbooks](https://docs.textcontrol.com/tx-sheet-control/document-processing/load-save/llms-full.txt)

---

## In This Section

- [WorksheetDocument.autoExpand Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/autoexpand-property/llms-full.txt): WorksheetDocument.autoExpand property in the TX Sheet Control TypeScript API for Node.js, with its type boolean | undefined and a TypeScript example.
- [WorksheetDocument.autoFilter Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/autofilter-property/llms-full.txt): WorksheetDocument.autoFilter property in the Node.js TypeScript API, with its type Record<string, unknown> | undefined and a TypeScript example.
- [WorksheetDocument.autoFilterVersion Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/autofilterversion-property/llms-full.txt): WorksheetDocument.autoFilterVersion property in the TX Sheet Control TypeScript API for Node.js, with its type 1 | undefined and a TypeScript example.
- [WorksheetDocument.cellPictures Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/cellpictures-property/llms-full.txt): WorksheetDocument.cellPictures property in the Node.js TypeScript API, with its type Record<string, CellPicture> | undefined and a TypeScript example.
- [WorksheetDocument.cells Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/cells-property/llms-full.txt): WorksheetDocument.cells property in the TX Sheet Control TypeScript API for Node.js, with its type Record<string, CellValue> and a TypeScript example.
- [WorksheetDocument.cellStyleRefs Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/cellstylerefs-property/llms-full.txt): WorksheetDocument.cellStyleRefs property in the Node.js TypeScript API, with its type Record<string, string> | undefined and a TypeScript example.
- [WorksheetDocument.charts Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/charts-property/llms-full.txt): WorksheetDocument.charts property in the TX Sheet Control TypeScript API for Node.js, with its type Chart[] | undefined and a TypeScript example.
- [WorksheetDocument.columns Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/columns-property/llms-full.txt): WorksheetDocument.columns property in the TX Sheet Control TypeScript API for Node.js, with its type number and a TypeScript example.
- [WorksheetDocument.columnWidths Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/columnwidths-property/llms-full.txt): WorksheetDocument.columnWidths property in the Node.js TypeScript API, with its type Record<string, number> | undefined and a TypeScript example.
- [WorksheetDocument.conditionalFormattingVersion Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/conditionalformattingversion-property/llms-full.txt): WorksheetDocument.conditionalFormattingVersion property in the Node.js TypeScript API, with its type 1 | undefined and a TypeScript example.
- [WorksheetDocument.conditionalRules Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/conditionalrules-property/llms-full.txt): WorksheetDocument.conditionalRules property in the Node.js TypeScript API, with its type Record<string, unknown>[] | undefined and a TypeScript example.
- [WorksheetDocument.dateSystem Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/datesystem-property/llms-full.txt): WorksheetDocument.dateSystem property in the TX Sheet Control TypeScript API for Node.js, with its type "1900" | "1904" | undefined and a TypeScript example.
- [WorksheetDocument.documentProperties Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/documentproperties-property/llms-full.txt): WorksheetDocument.documentProperties property in the Node.js TypeScript API, with its type DocumentProperties | undefined and a TypeScript example.
- [WorksheetDocument.drawings Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/drawings-property/llms-full.txt): WorksheetDocument.drawings property in the TX Sheet Control TypeScript API for Node.js, with its type WorksheetDrawing[] | undefined and a TypeScript example.
- [WorksheetDocument.features Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/features-property/llms-full.txt): WorksheetDocument.features property in the TX Sheet Control TypeScript API for Node.js, with its type SheetFeatures | undefined and a TypeScript example.
- [WorksheetDocument.format Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/format-property/llms-full.txt): WorksheetDocument.format property in the TX Sheet Control TypeScript API for Node.js, with its type "tx-sheet" and a TypeScript example.
- [WorksheetDocument.hiddenColumns Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/hiddencolumns-property/llms-full.txt): WorksheetDocument.hiddenColumns property in the TX Sheet Control TypeScript API for Node.js: Hidden column letters; sizes and cell contents are retained.
- [WorksheetDocument.hiddenRows Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/hiddenrows-property/llms-full.txt): WorksheetDocument.hiddenRows property in the TX Sheet Control TypeScript API for Node.js: Hidden one-based row labels; sizes and cell contents are retained.
- [WorksheetDocument.literalValues Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/literalvalues-property/llms-full.txt): WorksheetDocument.literalValues property in the Node.js TypeScript API, with its type Record<string, CellValue> | undefined and a TypeScript example.
- [WorksheetDocument.mailMerge Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/mailmerge-property/llms-full.txt): WorksheetDocument.mailMerge property in the TX Sheet Control TypeScript API for Node.js, with its type MailMergeMetadata | undefined and a TypeScript example.
- [WorksheetDocument.maxColumns Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/maxcolumns-property/llms-full.txt): WorksheetDocument.maxColumns property in the TX Sheet Control TypeScript API for Node.js, with its type number | undefined and a TypeScript example.
- [WorksheetDocument.maxRows Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/maxrows-property/llms-full.txt): WorksheetDocument.maxRows property in the TX Sheet Control TypeScript API for Node.js, with its type number | undefined and a TypeScript example.
- [WorksheetDocument.merges Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/merges-property/llms-full.txt): WorksheetDocument.merges property in the TX Sheet Control TypeScript API for Node.js, with its type string[] | undefined and a TypeScript example.
- [WorksheetDocument.namedStyles Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/namedstyles-property/llms-full.txt): WorksheetDocument.namedStyles property in the Node.js TypeScript API, with its type Record<string, unknown>[] | undefined and a TypeScript example.
- [WorksheetDocument.pageSetup Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/pagesetup-property/llms-full.txt): WorksheetDocument.pageSetup property in the Node.js TypeScript API, with its type Record<string, unknown> | undefined and a TypeScript example.
- [WorksheetDocument.pageSetupVersion Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/pagesetupversion-property/llms-full.txt): WorksheetDocument.pageSetupVersion property in the TX Sheet Control TypeScript API for Node.js, with its type 1 | undefined and a TypeScript example.
- [WorksheetDocument.richText Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/richtext-property/llms-full.txt): WorksheetDocument.richText property in the Node.js TypeScript API, with its type Record<string, CellTextRun[]> | undefined and a TypeScript example.
- [WorksheetDocument.rowHeights Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/rowheights-property/llms-full.txt): WorksheetDocument.rowHeights property in the Node.js TypeScript API, with its type Record<string, number> | undefined and a TypeScript example.
- [WorksheetDocument.rows Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/rows-property/llms-full.txt): WorksheetDocument.rows property in the TX Sheet Control TypeScript API for Node.js, with its type number and a TypeScript example.
- [WorksheetDocument.sheetId Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/sheetid-property/llms-full.txt): WorksheetDocument.sheetId property in the TX Sheet Control TypeScript API for Node.js, with its type string | undefined and a TypeScript example.
- [WorksheetDocument.sheetName Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/sheetname-property/llms-full.txt): WorksheetDocument.sheetName property in the TX Sheet Control TypeScript API for Node.js, with its type string | undefined and a TypeScript example.
- [WorksheetDocument.sparklineGroups Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/sparklinegroups-property/llms-full.txt): WorksheetDocument.sparklineGroups property in the Node.js TypeScript API, with its type SparklineGroup[] | undefined and a TypeScript example.
- [WorksheetDocument.styles Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/styles-property/llms-full.txt): WorksheetDocument.styles property in the Node.js TypeScript API, with its type Record<string, Partial<CellStyle>> | undefined and a TypeScript example.
- [WorksheetDocument.styleSchemaVersion Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/styleschemaversion-property/llms-full.txt): WorksheetDocument.styleSchemaVersion property in the TX Sheet Control TypeScript API for Node.js, with its type 1 | undefined and a TypeScript example.
- [WorksheetDocument.theme Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/theme-property/llms-full.txt): WorksheetDocument.theme property in the TX Sheet Control TypeScript API for Node.js, with its type string[] | undefined and a TypeScript example.
- [WorksheetDocument.version Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/version-property/llms-full.txt): WorksheetDocument.version property in the TX Sheet Control TypeScript API for Node.js, with its type 1 and a TypeScript example.
- [WorksheetDocument.workbookFeatures Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/workbookfeatures-property/llms-full.txt): WorksheetDocument.workbookFeatures property in the Node.js TypeScript API, with its type WorkbookFeatures | undefined and a TypeScript example.
- [WorksheetDocument.workbookId Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/workbookid-property/llms-full.txt): WorksheetDocument.workbookId property in the Node.js TypeScript API: Stable document identity, retained through load, save and session transfer.

---

## Nearby

- **Previous:** [WorksheetData.styleSchemaVersion Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdata/styleschemaversion-property/llms-full.txt)
- **Next:** [WorksheetDocument.autoExpand Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/autoexpand-property/llms-full.txt)
