Files
wehub-resource-sync 8cb1f9f479
Publish SDK (PyPI) / publish (push) Waiting to run
Publish SDK (npm) / publish (@aionui/officecli-sdk) (push) Waiting to run
Publish SDK (npm) / publish (@officecli/officecli-sdk) (push) Waiting to run
Publish SDK (npm) / publish (@officecli/sdk) (push) Waiting to run
Publish SDK (npm) / publish (officecli-sdk) (push) Waiting to run
SDK smoke / smoke (windows-latest) (push) Waiting to run
SDK smoke / smoke (macos-latest) (push) Waiting to run
SDK smoke / smoke (ubuntu-latest) (push) Waiting to run
Skill parity / diff (push) Waiting to run
chore: import upstream snapshot with attribution
2026-07-13 13:09:29 +08:00

37 lines
1.3 KiB
JSON

{
"$schema": "../_schema.json",
"format": "docx",
"element": "column",
"elementAliases": ["col"],
"parent": "table",
"operations": {
"add": true,
"set": false,
"get": false,
"query": false,
"remove": true
},
"paths": {
"positional": ["/body/tbl[N]/col[C]"]
},
"note": "Virtual element — OOXML has no <w:col> child of <w:tbl>; the path is synthesized from <w:tblGrid>/<w:gridCol> + the per-row cell at column slot C. Same-table only for move/copy. Get/Set/Query at the column level are not supported (read width via /body/tbl[N] tblGrid or per-cell tcW). Insert is rejected when the column slot crosses a merged cell (gridSpan/vMerge) — unmerge first.",
"properties": {
"width": {
"type": "length",
"description": "column width in twips (or any twips-parseable length).",
"add": true, "set": false, "get": false,
"examples": ["--prop width=2400", "--prop width=3cm"],
"readback": "n/a (column-level Get not implemented; inspect tblGrid)",
"enforcement": "report"
},
"text": {
"type": "string",
"description": "seed text inserted into every new cell of this column (one paragraph per cell).",
"add": true, "set": false, "get": false,
"examples": ["--prop text=Header"],
"readback": "not surfaced at column level",
"enforcement": "strict"
}
}
}