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

41 lines
1.5 KiB
JSON

{
"$schema": "../_schema.json",
"format": "docx",
"element": "pagebreak",
"elementAliases": ["break", "columnbreak"],
"parent": "paragraph|body",
"operations": {
"add": true,
"set": true,
"get": true,
"query": true,
"remove": true
},
"paths": {
"positional": ["/body/p[@paraId=X]/r[N]", "/header[N]/p[M]/r[K]", "/footer[N]/p[M]/r[K]"]
},
"note": "Inline w:br element wrapped in a run. Aliases: columnbreak, break. type=column → column break; type=page (default) → page break; type=line/textWrapping → soft line break. Surfaced by Get as type=break (when the run carries no <w:t> alongside the <w:br>).",
"properties": {
"type": {
"type": "enum",
"values": ["page", "column", "textWrapping", "line"],
"default": "page",
"add": true, "set": false, "get": true,
"examples": ["--prop type=page", "--prop type=column"],
"readback": "n/a (use 'breakType' on Get / Set)",
"enforcement": "report",
"description": "Add-only alias; Get surfaces this as 'breakType', and Set requires 'breakType'."
},
"breakType": {
"type": "enum",
"values": ["page", "column", "textWrapping", "line"],
"aliases": ["breaktype"],
"add": false, "set": true, "get": true,
"examples": ["--prop breakType=column"],
"readback": "br type attribute",
"enforcement": "report",
"description": "Canonical key on Get/Set. Add accepts 'type' as a parallel synonym for symmetry with the historical alias."
}
}
}