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
92 lines
2.6 KiB
JSON
92 lines
2.6 KiB
JSON
{
|
|
"$schema": "../_schema.json",
|
|
"format": "docx",
|
|
"element": "tab",
|
|
"parent": "paragraph",
|
|
"elementAliases": [
|
|
"tabstop"
|
|
],
|
|
"operations": {
|
|
"add": true,
|
|
"set": true,
|
|
"get": true,
|
|
"query": false,
|
|
"remove": true
|
|
},
|
|
"paths": {
|
|
"positional": [
|
|
"/body/p[N]/tab[K]",
|
|
"/body/p[@paraId=X]/tab[K]"
|
|
]
|
|
},
|
|
"note": "Paragraph tab STOP (w:tab inside <w:tabs> in pPr). Distinct from `ptab` (w:ptab, an inline positional tab living in a run). A tab stop defines WHERE a tab character lands; the tab character itself is a <w:tab/> in a run, produced by `add --type run --prop text='\\t'`. Common recipe — a centered equation with a flush-right equation number on ONE line: set a center tab at the column mid-point and a right tab at the column right edge, then lay out `[tab] equation [tab] (1)`. Aliases: tabstop.",
|
|
"properties": {
|
|
"pos": {
|
|
"type": "length",
|
|
"description": "tab stop position. Accepts twips (bare integer), or a unit-qualified length (6cm / 2in / 360pt). May be negative (OOXML allows a tab stop in the hanging/negative-indent region). Required on add.",
|
|
"aliases": [
|
|
"position"
|
|
],
|
|
"add": true,
|
|
"set": true,
|
|
"get": true,
|
|
"required": true,
|
|
"examples": [
|
|
"--prop pos=9360",
|
|
"--prop pos=6cm"
|
|
],
|
|
"readback": "tab stop position in twips",
|
|
"enforcement": "report"
|
|
},
|
|
"val": {
|
|
"type": "enum",
|
|
"description": "tab stop alignment. left/center/right are the everyday values; decimal aligns numbers on the decimal point; bar draws a vertical bar; clear removes an inherited stop; num/start/end are legacy/compat values.",
|
|
"values": [
|
|
"left",
|
|
"center",
|
|
"right",
|
|
"decimal",
|
|
"bar",
|
|
"clear",
|
|
"num",
|
|
"start",
|
|
"end"
|
|
],
|
|
"default": "left",
|
|
"aliases": [
|
|
"type"
|
|
],
|
|
"add": true,
|
|
"set": true,
|
|
"get": true,
|
|
"examples": [
|
|
"--prop val=center",
|
|
"--prop val=right"
|
|
],
|
|
"readback": "tab stop alignment (w:val)",
|
|
"enforcement": "report"
|
|
},
|
|
"leader": {
|
|
"type": "enum",
|
|
"description": "leader characters drawn from the previous text to the tab stop (e.g. dotted leaders in a table of contents).",
|
|
"values": [
|
|
"none",
|
|
"dot",
|
|
"heavy",
|
|
"hyphen",
|
|
"middleDot",
|
|
"underscore"
|
|
],
|
|
"default": "none",
|
|
"add": true,
|
|
"set": true,
|
|
"get": true,
|
|
"examples": [
|
|
"--prop leader=dot"
|
|
],
|
|
"readback": "tab leader char (w:leader)",
|
|
"enforcement": "report"
|
|
}
|
|
}
|
|
}
|