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
68 lines
2.2 KiB
JSON
68 lines
2.2 KiB
JSON
{
|
|
"$schema": "../_schema.json",
|
|
"element": "picture",
|
|
"shared_base": true,
|
|
"properties": {
|
|
"alt": {
|
|
"type": "string",
|
|
"description": "alternative text (DocProperties.Description). When omitted, no description is written (intentional: an auto-filled filename is worse than none for screen readers). Aliases: alttext, description.",
|
|
"aliases": [
|
|
"altText",
|
|
"alttext",
|
|
"description"
|
|
],
|
|
"add": true,
|
|
"set": true,
|
|
"get": true,
|
|
"examples": [
|
|
"--prop alt=\"Logo\"",
|
|
"--prop alt=\"Company logo\""
|
|
],
|
|
"readback": "string",
|
|
"enforcement": "report"
|
|
},
|
|
"contentType": {
|
|
"type": "string",
|
|
"description": "OOXML content-type of the embedded image part (e.g. `image/png`, `image/jpeg`). Read from the package part referenced by the BlipFill embed relationship.",
|
|
"add": false,
|
|
"set": false,
|
|
"get": true,
|
|
"readback": "MIME-style content-type string from the image part",
|
|
"enforcement": "report"
|
|
},
|
|
"fileSize": {
|
|
"type": "number",
|
|
"description": "embedded image file size in bytes (length of the image part stream).",
|
|
"add": false,
|
|
"set": false,
|
|
"get": true,
|
|
"readback": "byte length of the embedded image part",
|
|
"enforcement": "report"
|
|
},
|
|
"relId": {
|
|
"type": "string",
|
|
"description": "relationship id of the embedded image part (rId-style token). Required input for `get --save <path>` binary extraction.",
|
|
"add": false,
|
|
"set": false,
|
|
"get": true,
|
|
"readback": "relationship id token",
|
|
"enforcement": "report"
|
|
},
|
|
"src": {
|
|
"type": "string",
|
|
"description": "image source (file path, URL, data-URI); accepted on add/set only. Get does NOT surface this key; the embedded relationship id is exposed under a separate Format[\"relId\"] key.",
|
|
"aliases": [
|
|
"path"
|
|
],
|
|
"add": true,
|
|
"set": true,
|
|
"get": false,
|
|
"examples": [
|
|
"--prop src=/path/to/image.png"
|
|
],
|
|
"readback": "add/set-only input; not echoed by Get. Use Format[\"relId\"] to inspect the embedded image relationship.",
|
|
"enforcement": "report"
|
|
}
|
|
}
|
|
}
|