Document apiReferenceTables
tables.setCellProperties
Set non-text properties on a single table cell: vertical alignment, text wrapping, fit-text, or preferred width. Requires a cell-level target (a tableCell block address with kind, nodeType, nodeId). Does NOT accept a table target with rowIndex/columnIndex. To set the text content of a cell, use action "set_cell_text" instead.
mutates documentdry runidempotent
doc.tables.setCellProperties(…)Expected result
Returns a TableMutationResult receipt; reports NO_OP if cell properties already match.
Inputs
targetTableCellAddressconditionally requiredFields
kind"block"requirednodeType"tableCell"requirednodeIdstringrequirednodeIdstringconditionally required5 additional input fields
preferredWidthPtnumberpreferredWidthType"auto" | "dxa" | "pct"verticalAlign"top" | "center" | "bottom"wrapTextbooleanfitTextbooleanResult
Output fields
true
successtruerequiredtableTableAddressFields
kind"block"requirednodeType"table"requirednodeIdstringrequiredtrackedChangeRefsEntityAddress[]false
successfalserequiredfailureobjectrequiredFields
code"NO_OP" | "INVALID_TARGET" | "TARGET_NOT_FOUND" | "CAPABILITY_UNAVAILABLE"requiredmessagestringrequireddetailsunknownFailures
Pre-apply throws
TARGET_NOT_FOUNDINVALID_TARGETCAPABILITY_UNAVAILABLE
Non-applied receipt codes
INVALID_TARGETNO_OP
Raw schemas
Open the generated JSON artifact for the exact input, output, success, and failure schemas represented by this contract version.
View raw JSON schemas