Alpha: Document API is currently alpha and subject to breaking changes.
Summary
Retrieve layout and style properties of a table.- Operation ID:
tables.getProperties - API member path:
editor.doc.tables.getProperties(...) - Mutates document:
no - Idempotency:
idempotent - Supports tracked mode:
no - Supports dry run:
no - Deterministic target resolution:
yes
Expected result
Returns a TablesGetPropertiesOutput with the table layout, style, border, and shading properties.Input fields
Variant 1
No fields.Variant 2
No fields.Example request
Output fields
| Field | Type | Required | Description |
|---|---|---|---|
alignment | enum | no | "left", "center", "right" |
autoFitMode | enum | no | "fixedWidth", "fitContents", "fitWindow" |
direction | enum | no | "ltr", "rtl" |
nodeId | string | yes | |
preferredWidth | number | no | |
styleId | string | no | |
styleOptions | object | no | |
styleOptions.bandedColumns | boolean | no | |
styleOptions.bandedRows | boolean | no | |
styleOptions.firstColumn | boolean | no | |
styleOptions.headerRow | boolean | no | |
styleOptions.lastColumn | boolean | no | |
styleOptions.totalRow | boolean | no |
Example response
Pre-apply throws
TARGET_NOT_FOUND
Non-applied failure codes
- None
Raw schemas
Raw input schema
Raw input schema
Raw output schema
Raw output schema

