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.3 KiB
JSON
92 lines
2.3 KiB
JSON
{
|
|
"$schema": "../_schema.json",
|
|
"format": "pptx",
|
|
"element": "equation",
|
|
"elementAliases": ["formula", "math"],
|
|
"parent": "slide|shape",
|
|
"operations": {
|
|
"add": true,
|
|
"set": true,
|
|
"get": true,
|
|
"query": true,
|
|
"remove": true
|
|
},
|
|
"paths": {
|
|
"positional": [
|
|
"/slide[N]/shape[M]/oMath[K]"
|
|
]
|
|
},
|
|
"note": "Aliases: formula, math. FormulaParser parses LaTeX-ish input. Adding a 'shape' or 'textbox' with 'formula' prop also routes here.",
|
|
"extends": "_shared/equation",
|
|
"properties": {
|
|
"id": {
|
|
"type": "number",
|
|
"description": "cNvPr equation id. add honors a caller-supplied id so dump-replay keeps it stable for spTgt animation refs; immutable after creation.",
|
|
"add": true,
|
|
"set": false,
|
|
"get": true,
|
|
"readback": "integer shape id (cNvPr)",
|
|
"enforcement": "report"
|
|
},
|
|
"formula": {
|
|
"type": "string",
|
|
"description": "math expression. Aliases: text.",
|
|
"aliases": [
|
|
"text"
|
|
],
|
|
"add": true,
|
|
"set": true,
|
|
"get": true,
|
|
"examples": [
|
|
"--prop formula=\"x^2 + y^2 = z^2\""
|
|
],
|
|
"readback": "LaTeX expression reconstructed from the <m:oMath> tree (PowerPointHandler.NodeBuilder.cs emits Format[\"formula\"]). docx does not implement this readback yet — see _shared/equation.json.",
|
|
"enforcement": "report"
|
|
},
|
|
"x": {
|
|
"type": "length",
|
|
"add": true,
|
|
"set": true,
|
|
"get": true,
|
|
"examples": [
|
|
"--prop x=2cm"
|
|
],
|
|
"readback": "length in cm (e.g. \"2cm\")",
|
|
"enforcement": "report"
|
|
},
|
|
"y": {
|
|
"type": "length",
|
|
"add": true,
|
|
"set": true,
|
|
"get": true,
|
|
"examples": [
|
|
"--prop y=2cm"
|
|
],
|
|
"readback": "length in cm (e.g. \"2cm\")",
|
|
"enforcement": "report"
|
|
},
|
|
"width": {
|
|
"type": "length",
|
|
"add": true,
|
|
"set": true,
|
|
"get": true,
|
|
"examples": [
|
|
"--prop width=10cm"
|
|
],
|
|
"readback": "length in cm (e.g. \"2cm\")",
|
|
"enforcement": "report"
|
|
},
|
|
"height": {
|
|
"type": "length",
|
|
"add": true,
|
|
"set": true,
|
|
"get": true,
|
|
"examples": [
|
|
"--prop height=3cm"
|
|
],
|
|
"readback": "length in cm (e.g. \"2cm\")",
|
|
"enforcement": "report"
|
|
}
|
|
}
|
|
}
|