ServerSheetControlOptions Interface
Initial headless document limits, locale and formatting defaults; no browser is created.
Package: @txtextcontrol/tx-sheet-control-server. Version: 2.0.0.
Type-only declaration; it is not a JavaScript runtime constructor.
Members
Properties
| Property | Description |
|---|---|
| autoExpand | Omitted counts enable growth. Explicit counts remain bounded unless autoExpand is true. |
| cells | The cells value of ServerSheetControlOptions. |
| columns | The columns value of ServerSheetControlOptions. |
| currency | The currency value of ServerSheetControlOptions. |
| dateSystem | The dateSystem value of ServerSheetControlOptions. |
| fontDirectory | The fontDirectory value of ServerSheetControlOptions. |
| fonts | The fonts value of ServerSheetControlOptions. |
| formulaProvider | The formulaProvider value of ServerSheetControlOptions. |
| license | Signed ServerSheetControl entitlement; falls back to TX_SHEET_LICENSE in Node only. |
| locale | The locale value of ServerSheetControlOptions. |
| maxColumns | The maxColumns value of ServerSheetControlOptions. |
| maxRows | The maxRows value of ServerSheetControlOptions. |
| pageSetup | The pageSetup value of ServerSheetControlOptions. |
| printContext | The printContext value of ServerSheetControlOptions. |
| rows | The rows value of ServerSheetControlOptions. |
| sheetName | The sheetName value of ServerSheetControlOptions. |
| timeZone | The timeZone value of ServerSheetControlOptions. |
| userName | Current comment author; runtime-only and excluded from saved document state. |
Examples
Configure ServerSheetControlOptions for an invoice or sales-report workflow. Supply font and document resources from the application where the example accepts them as inputs.
import type { ServerSheetControlOptions } from '@txtextcontrol/tx-sheet-control-server';
const serverSheetControlSettings: ServerSheetControlOptions = { license: 'Invoice' };