office-open 0.12.0 → 0.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai/index.mjs +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/convert/index.d.mts.map +1 -1
- package/dist/convert/index.mjs +14 -11
- package/dist/convert/index.mjs.map +1 -1
- package/dist/schemas/index.mjs +1 -1
- package/dist/{schemas-DhCWsZ8v.mjs → schemas-B400scMm.mjs} +1194 -32
- package/dist/{schemas-DhCWsZ8v.mjs.map → schemas-B400scMm.mjs.map} +1 -1
- package/package.json +6 -6
- package/schemas/docx.schema.json +626 -15
- package/schemas/pptx.schema.json +589 -3
- package/schemas/xlsx.schema.json +596 -8
package/schemas/docx.schema.json
CHANGED
|
@@ -3,6 +3,23 @@
|
|
|
3
3
|
"$ref": "#/definitions/DocumentOptions",
|
|
4
4
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
5
5
|
"definitions": {
|
|
6
|
+
"AbsoluteSizeAnchorOptions": {
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"description": "Absolute anchor (cdr:absSizeAnchor): fixed EMU size at the `from` marker.",
|
|
9
|
+
"properties": {
|
|
10
|
+
"extent": {
|
|
11
|
+
"$ref": "#/definitions/UserShapeExtentOptions"
|
|
12
|
+
},
|
|
13
|
+
"from": {
|
|
14
|
+
"$ref": "#/definitions/UserShapeMarkerOptions"
|
|
15
|
+
},
|
|
16
|
+
"object": {
|
|
17
|
+
"$ref": "#/definitions/UserShapeObjectOptions"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"required": ["from", "extent", "object"],
|
|
21
|
+
"type": "object"
|
|
22
|
+
},
|
|
6
23
|
"AbstractNumberingPropertiesOptions": {
|
|
7
24
|
"additionalProperties": false,
|
|
8
25
|
"description": "w:abstractNum attributes + child elements + w15 restart.",
|
|
@@ -1206,6 +1223,33 @@
|
|
|
1206
1223
|
},
|
|
1207
1224
|
"type": "object"
|
|
1208
1225
|
},
|
|
1226
|
+
"BlipFillOptions": {
|
|
1227
|
+
"additionalProperties": false,
|
|
1228
|
+
"description": "Options for blip fill properties.",
|
|
1229
|
+
"properties": {
|
|
1230
|
+
"blipEffects": {
|
|
1231
|
+
"$ref": "#/definitions/BlipEffectsOptions",
|
|
1232
|
+
"description": "Image adjustment effects (brightness, contrast, grayscale, etc.)"
|
|
1233
|
+
},
|
|
1234
|
+
"dpi": {
|
|
1235
|
+
"description": "DPI of the image",
|
|
1236
|
+
"type": "number"
|
|
1237
|
+
},
|
|
1238
|
+
"rotWithShape": {
|
|
1239
|
+
"description": "Whether the fill rotates with the shape",
|
|
1240
|
+
"type": "boolean"
|
|
1241
|
+
},
|
|
1242
|
+
"sourceRectangle": {
|
|
1243
|
+
"$ref": "#/definitions/SourceRectangleOptions",
|
|
1244
|
+
"description": "Source rectangle for cropping"
|
|
1245
|
+
},
|
|
1246
|
+
"tile": {
|
|
1247
|
+
"$ref": "#/definitions/TileOptions",
|
|
1248
|
+
"description": "Tile fill mode (if omitted, defaults to stretch)"
|
|
1249
|
+
}
|
|
1250
|
+
},
|
|
1251
|
+
"type": "object"
|
|
1252
|
+
},
|
|
1209
1253
|
"BlockContentChild": {
|
|
1210
1254
|
"$ref": "#/definitions/SectionChild",
|
|
1211
1255
|
"description": "SectionChild minus the body-only w:altChunk leg — the content model of customXml and sdt containers (EG_ContentBlockContent has no altChunk, unlike the body-level EG_BlockLevelElts and w:txbxContent)."
|
|
@@ -2643,8 +2687,8 @@
|
|
|
2643
2687
|
"type": "number"
|
|
2644
2688
|
},
|
|
2645
2689
|
"userShapes": {
|
|
2646
|
-
"
|
|
2647
|
-
"
|
|
2690
|
+
"$ref": "#/definitions/ChartUserShapesOptions",
|
|
2691
|
+
"description": "User-drawn shapes layered over the chart (c:userShapes, after printSettings)."
|
|
2648
2692
|
},
|
|
2649
2693
|
"varyColors": {
|
|
2650
2694
|
"description": "Vary data-point colors (chart-group-level c:varyColors). Emitted only when set — the corpus is mixed and fresh output stays bare.",
|
|
@@ -3095,7 +3139,8 @@
|
|
|
3095
3139
|
"$ref": "#/definitions/ChartOptions/properties/upDownBarsGapWidth"
|
|
3096
3140
|
},
|
|
3097
3141
|
"userShapes": {
|
|
3098
|
-
"$ref": "#/definitions/
|
|
3142
|
+
"$ref": "#/definitions/ChartUserShapesOptions",
|
|
3143
|
+
"description": "User-drawn shapes layered over the chart (c:userShapes, after printSettings)."
|
|
3099
3144
|
},
|
|
3100
3145
|
"varyColors": {
|
|
3101
3146
|
"$ref": "#/definitions/ChartOptions/properties/varyColors"
|
|
@@ -3184,6 +3229,32 @@
|
|
|
3184
3229
|
],
|
|
3185
3230
|
"type": "string"
|
|
3186
3231
|
},
|
|
3232
|
+
"ChartUserShapesOptions": {
|
|
3233
|
+
"additionalProperties": false,
|
|
3234
|
+
"description": "User-drawn shapes layered over a chart: the c:userShapes reference on the chart space plus the companion part body the format compilers register.",
|
|
3235
|
+
"properties": {
|
|
3236
|
+
"anchors": {
|
|
3237
|
+
"description": "Anchored shapes (the cdr:userShapes part body).",
|
|
3238
|
+
"items": {
|
|
3239
|
+
"anyOf": [
|
|
3240
|
+
{
|
|
3241
|
+
"$ref": "#/definitions/RelativeSizeAnchorOptions"
|
|
3242
|
+
},
|
|
3243
|
+
{
|
|
3244
|
+
"$ref": "#/definitions/AbsoluteSizeAnchorOptions"
|
|
3245
|
+
}
|
|
3246
|
+
]
|
|
3247
|
+
},
|
|
3248
|
+
"type": "array"
|
|
3249
|
+
},
|
|
3250
|
+
"relationshipId": {
|
|
3251
|
+
"description": "Chart-part relationship id of the shapes part. Round-trips verbatim; fresh authoring omits it and the reference defaults to rId1 — set an unused id when the same chart also carries externalData.",
|
|
3252
|
+
"type": "string"
|
|
3253
|
+
}
|
|
3254
|
+
},
|
|
3255
|
+
"required": ["anchors"],
|
|
3256
|
+
"type": "object"
|
|
3257
|
+
},
|
|
3187
3258
|
"CheckBoxOptions": {
|
|
3188
3259
|
"additionalProperties": false,
|
|
3189
3260
|
"description": "Options for a checkbox form field.",
|
|
@@ -4792,9 +4863,66 @@
|
|
|
4792
4863
|
},
|
|
4793
4864
|
"DataLabelsOptions": {
|
|
4794
4865
|
"additionalProperties": false,
|
|
4866
|
+
"allOf": [
|
|
4867
|
+
{
|
|
4868
|
+
"if": {
|
|
4869
|
+
"properties": {
|
|
4870
|
+
"delete": {
|
|
4871
|
+
"const": true
|
|
4872
|
+
}
|
|
4873
|
+
},
|
|
4874
|
+
"required": ["delete"]
|
|
4875
|
+
},
|
|
4876
|
+
"then": {
|
|
4877
|
+
"not": {
|
|
4878
|
+
"anyOf": [
|
|
4879
|
+
{
|
|
4880
|
+
"required": ["numberFormat"]
|
|
4881
|
+
},
|
|
4882
|
+
{
|
|
4883
|
+
"required": ["shapeProperties"]
|
|
4884
|
+
},
|
|
4885
|
+
{
|
|
4886
|
+
"required": ["textProperties"]
|
|
4887
|
+
},
|
|
4888
|
+
{
|
|
4889
|
+
"required": ["position"]
|
|
4890
|
+
},
|
|
4891
|
+
{
|
|
4892
|
+
"required": ["showLegendKey"]
|
|
4893
|
+
},
|
|
4894
|
+
{
|
|
4895
|
+
"required": ["showVal"]
|
|
4896
|
+
},
|
|
4897
|
+
{
|
|
4898
|
+
"required": ["showCatName"]
|
|
4899
|
+
},
|
|
4900
|
+
{
|
|
4901
|
+
"required": ["showSerName"]
|
|
4902
|
+
},
|
|
4903
|
+
{
|
|
4904
|
+
"required": ["showPercent"]
|
|
4905
|
+
},
|
|
4906
|
+
{
|
|
4907
|
+
"required": ["showBubbleSize"]
|
|
4908
|
+
},
|
|
4909
|
+
{
|
|
4910
|
+
"required": ["separator"]
|
|
4911
|
+
},
|
|
4912
|
+
{
|
|
4913
|
+
"required": ["showLeaderLines"]
|
|
4914
|
+
},
|
|
4915
|
+
{
|
|
4916
|
+
"required": ["leaderLines"]
|
|
4917
|
+
}
|
|
4918
|
+
]
|
|
4919
|
+
}
|
|
4920
|
+
}
|
|
4921
|
+
}
|
|
4922
|
+
],
|
|
4795
4923
|
"properties": {
|
|
4796
4924
|
"delete": {
|
|
4797
|
-
"description": "
|
|
4925
|
+
"description": "Drop every label for this series (c:delete). Choice vs the shared settings below: `true` ignores them all; `false` keeps labels on and emits its element only when no setting is set (round-trip).",
|
|
4798
4926
|
"type": "boolean"
|
|
4799
4927
|
},
|
|
4800
4928
|
"labels": {
|
|
@@ -5472,12 +5600,10 @@
|
|
|
5472
5600
|
"description": "a16:creationId `@id` from the cNvPr/docPr extension list — Office's per-object creation stamp, the sole known cNvPr ext content."
|
|
5473
5601
|
},
|
|
5474
5602
|
"description": {
|
|
5475
|
-
"
|
|
5476
|
-
"type": "string"
|
|
5603
|
+
"$ref": "#/definitions/NonVisualDrawingPropertiesOptions/properties/description"
|
|
5477
5604
|
},
|
|
5478
5605
|
"ext": {
|
|
5479
|
-
"
|
|
5480
|
-
"type": "string"
|
|
5606
|
+
"$ref": "#/definitions/NonVisualDrawingPropertiesOptions/properties/ext"
|
|
5481
5607
|
},
|
|
5482
5608
|
"hidden": {
|
|
5483
5609
|
"description": "XSD `@hidden` (default false); emitted as \"1\" only when true.",
|
|
@@ -7402,6 +7528,30 @@
|
|
|
7402
7528
|
"required": ["position", "color"],
|
|
7403
7529
|
"type": "object"
|
|
7404
7530
|
},
|
|
7531
|
+
"GraphicFrameLockingOptions": {
|
|
7532
|
+
"additionalProperties": false,
|
|
7533
|
+
"properties": {
|
|
7534
|
+
"noChangeAspect": {
|
|
7535
|
+
"type": "boolean"
|
|
7536
|
+
},
|
|
7537
|
+
"noDrilldown": {
|
|
7538
|
+
"type": "boolean"
|
|
7539
|
+
},
|
|
7540
|
+
"noGrp": {
|
|
7541
|
+
"type": "boolean"
|
|
7542
|
+
},
|
|
7543
|
+
"noMove": {
|
|
7544
|
+
"type": "boolean"
|
|
7545
|
+
},
|
|
7546
|
+
"noResize": {
|
|
7547
|
+
"type": "boolean"
|
|
7548
|
+
},
|
|
7549
|
+
"noSelect": {
|
|
7550
|
+
"type": "boolean"
|
|
7551
|
+
}
|
|
7552
|
+
},
|
|
7553
|
+
"type": "object"
|
|
7554
|
+
},
|
|
7405
7555
|
"GraphicFrameLocksOptions": {
|
|
7406
7556
|
"additionalProperties": false,
|
|
7407
7557
|
"description": "Locking flags for wp:cNvGraphicFramePr.",
|
|
@@ -7686,10 +7836,10 @@
|
|
|
7686
7836
|
"description": "a16:creationId `@id` from the cNvPr/docPr extension list — Office's per-object creation stamp, the sole known cNvPr ext content."
|
|
7687
7837
|
},
|
|
7688
7838
|
"description": {
|
|
7689
|
-
"$ref": "#/definitions/
|
|
7839
|
+
"$ref": "#/definitions/NonVisualDrawingPropertiesOptions/properties/description"
|
|
7690
7840
|
},
|
|
7691
7841
|
"ext": {
|
|
7692
|
-
"$ref": "#/definitions/
|
|
7842
|
+
"$ref": "#/definitions/NonVisualDrawingPropertiesOptions/properties/ext"
|
|
7693
7843
|
},
|
|
7694
7844
|
"hidden": {
|
|
7695
7845
|
"description": "XSD `@hidden` (default false); emitted as \"1\" only when true.",
|
|
@@ -7699,7 +7849,7 @@
|
|
|
7699
7849
|
"type": "number"
|
|
7700
7850
|
},
|
|
7701
7851
|
"name": {
|
|
7702
|
-
"$ref": "#/definitions/
|
|
7852
|
+
"$ref": "#/definitions/NonVisualDrawingPropertiesOptions/properties/name"
|
|
7703
7853
|
},
|
|
7704
7854
|
"pictureLocks": {
|
|
7705
7855
|
"$ref": "#/definitions/NonVisualPropertiesOptions/properties/pictureLocks"
|
|
@@ -7826,6 +7976,118 @@
|
|
|
7826
7976
|
},
|
|
7827
7977
|
"type": "object"
|
|
7828
7978
|
},
|
|
7979
|
+
"GroupShapePropertiesOptions": {
|
|
7980
|
+
"additionalProperties": false,
|
|
7981
|
+
"description": "Group shape properties. Field order follows the XSD content model. The transform fields come from {@link GroupTransform2DOptions } (flat x/y/width/height/flip/rotation/childOffset/childExtent); the serializer emits them as a single a:xfrm group transform. The container-only `@bwMode` attribute and the wrapping tag are the caller's responsibility (mirrors shapePropertiesDesc).",
|
|
7982
|
+
"properties": {
|
|
7983
|
+
"childExtentHeight": {
|
|
7984
|
+
"anyOf": [
|
|
7985
|
+
{
|
|
7986
|
+
"type": "number"
|
|
7987
|
+
},
|
|
7988
|
+
{
|
|
7989
|
+
"$ref": "#/definitions/UniversalMeasure"
|
|
7990
|
+
}
|
|
7991
|
+
]
|
|
7992
|
+
},
|
|
7993
|
+
"childExtentWidth": {
|
|
7994
|
+
"anyOf": [
|
|
7995
|
+
{
|
|
7996
|
+
"type": "number"
|
|
7997
|
+
},
|
|
7998
|
+
{
|
|
7999
|
+
"$ref": "#/definitions/UniversalMeasure"
|
|
8000
|
+
}
|
|
8001
|
+
]
|
|
8002
|
+
},
|
|
8003
|
+
"childOffsetX": {
|
|
8004
|
+
"anyOf": [
|
|
8005
|
+
{
|
|
8006
|
+
"type": "number"
|
|
8007
|
+
},
|
|
8008
|
+
{
|
|
8009
|
+
"$ref": "#/definitions/UniversalMeasure"
|
|
8010
|
+
}
|
|
8011
|
+
]
|
|
8012
|
+
},
|
|
8013
|
+
"childOffsetY": {
|
|
8014
|
+
"anyOf": [
|
|
8015
|
+
{
|
|
8016
|
+
"type": "number"
|
|
8017
|
+
},
|
|
8018
|
+
{
|
|
8019
|
+
"$ref": "#/definitions/UniversalMeasure"
|
|
8020
|
+
}
|
|
8021
|
+
]
|
|
8022
|
+
},
|
|
8023
|
+
"effectDag": {
|
|
8024
|
+
"$ref": "#/definitions/EffectDagOptions"
|
|
8025
|
+
},
|
|
8026
|
+
"effects": {
|
|
8027
|
+
"$ref": "#/definitions/EffectListOptions",
|
|
8028
|
+
"description": "EG_EffectProperties (choice: a:effectDag | a:effectLst)."
|
|
8029
|
+
},
|
|
8030
|
+
"fill": {
|
|
8031
|
+
"$ref": "#/definitions/FillOptions",
|
|
8032
|
+
"description": "EG_FillProperties."
|
|
8033
|
+
},
|
|
8034
|
+
"flipHorizontal": {
|
|
8035
|
+
"type": "boolean"
|
|
8036
|
+
},
|
|
8037
|
+
"flipVertical": {
|
|
8038
|
+
"type": "boolean"
|
|
8039
|
+
},
|
|
8040
|
+
"height": {
|
|
8041
|
+
"anyOf": [
|
|
8042
|
+
{
|
|
8043
|
+
"type": "number"
|
|
8044
|
+
},
|
|
8045
|
+
{
|
|
8046
|
+
"$ref": "#/definitions/UniversalMeasure"
|
|
8047
|
+
}
|
|
8048
|
+
]
|
|
8049
|
+
},
|
|
8050
|
+
"rotation": {
|
|
8051
|
+
"description": "Rotation angle in degrees (e.g., 45 = 45°).",
|
|
8052
|
+
"type": "number"
|
|
8053
|
+
},
|
|
8054
|
+
"scene3d": {
|
|
8055
|
+
"$ref": "#/definitions/Scene3DOptions",
|
|
8056
|
+
"description": "a:scene3d."
|
|
8057
|
+
},
|
|
8058
|
+
"width": {
|
|
8059
|
+
"anyOf": [
|
|
8060
|
+
{
|
|
8061
|
+
"type": "number"
|
|
8062
|
+
},
|
|
8063
|
+
{
|
|
8064
|
+
"$ref": "#/definitions/UniversalMeasure"
|
|
8065
|
+
}
|
|
8066
|
+
]
|
|
8067
|
+
},
|
|
8068
|
+
"x": {
|
|
8069
|
+
"anyOf": [
|
|
8070
|
+
{
|
|
8071
|
+
"type": "number"
|
|
8072
|
+
},
|
|
8073
|
+
{
|
|
8074
|
+
"$ref": "#/definitions/UniversalMeasure"
|
|
8075
|
+
}
|
|
8076
|
+
]
|
|
8077
|
+
},
|
|
8078
|
+
"y": {
|
|
8079
|
+
"anyOf": [
|
|
8080
|
+
{
|
|
8081
|
+
"type": "number"
|
|
8082
|
+
},
|
|
8083
|
+
{
|
|
8084
|
+
"$ref": "#/definitions/UniversalMeasure"
|
|
8085
|
+
}
|
|
8086
|
+
]
|
|
8087
|
+
}
|
|
8088
|
+
},
|
|
8089
|
+
"type": "object"
|
|
8090
|
+
},
|
|
7829
8091
|
"Guid": {
|
|
7830
8092
|
"description": "GUID in braced upper-case form (ST_Guid).",
|
|
7831
8093
|
"examples": ["{1DF903F5-8FC7-4C6A-9DF9-2AB1D10E6D84}"],
|
|
@@ -10669,6 +10931,37 @@
|
|
|
10669
10931
|
},
|
|
10670
10932
|
"type": "object"
|
|
10671
10933
|
},
|
|
10934
|
+
"NonVisualDrawingPropertiesOptions": {
|
|
10935
|
+
"additionalProperties": false,
|
|
10936
|
+
"description": "Mirrors a: — name/descr/title/hidden. id is runtime; hyperlinks stay package-side.",
|
|
10937
|
+
"properties": {
|
|
10938
|
+
"creationId": {
|
|
10939
|
+
"$ref": "#/definitions/Guid",
|
|
10940
|
+
"description": "a16:creationId `@id` from the cNvPr/docPr extension list — Office's per-object creation stamp, the sole known cNvPr ext content."
|
|
10941
|
+
},
|
|
10942
|
+
"description": {
|
|
10943
|
+
"description": "XSD `@descr` — alt text for accessibility; emitted only when present.",
|
|
10944
|
+
"type": "string"
|
|
10945
|
+
},
|
|
10946
|
+
"ext": {
|
|
10947
|
+
"description": "Verbatim `a:extLst` inner XML for extensions beyond creationId (a14 picture effects, useLocalDpi, …). Round-trip only: takes precedence over `creationId`, which it subsumes when the source list carries both.",
|
|
10948
|
+
"type": "string"
|
|
10949
|
+
},
|
|
10950
|
+
"hidden": {
|
|
10951
|
+
"description": "XSD `@hidden` (default false); emitted as \"1\" only when true.",
|
|
10952
|
+
"type": "boolean"
|
|
10953
|
+
},
|
|
10954
|
+
"name": {
|
|
10955
|
+
"description": "XSD `@name` (required in XML); API-optional, the descriptor synthesizes a fallback.",
|
|
10956
|
+
"type": "string"
|
|
10957
|
+
},
|
|
10958
|
+
"title": {
|
|
10959
|
+
"description": "XSD `@title`.",
|
|
10960
|
+
"type": "string"
|
|
10961
|
+
}
|
|
10962
|
+
},
|
|
10963
|
+
"type": "object"
|
|
10964
|
+
},
|
|
10672
10965
|
"NonVisualPropertiesOptions": {
|
|
10673
10966
|
"additionalProperties": false,
|
|
10674
10967
|
"description": "Round-trip of `pic:cNvPr` — the picture non-visual id/name/description. All fields optional to mirror the source element: `description` is omitted when absent rather than emitted as an empty attribute (Word never writes it empty).",
|
|
@@ -10678,10 +10971,10 @@
|
|
|
10678
10971
|
"description": "a16:creationId `@id` from the cNvPr/docPr extension list — Office's per-object creation stamp, the sole known cNvPr ext content."
|
|
10679
10972
|
},
|
|
10680
10973
|
"description": {
|
|
10681
|
-
"$ref": "#/definitions/
|
|
10974
|
+
"$ref": "#/definitions/NonVisualDrawingPropertiesOptions/properties/description"
|
|
10682
10975
|
},
|
|
10683
10976
|
"ext": {
|
|
10684
|
-
"$ref": "#/definitions/
|
|
10977
|
+
"$ref": "#/definitions/NonVisualDrawingPropertiesOptions/properties/ext"
|
|
10685
10978
|
},
|
|
10686
10979
|
"hidden": {
|
|
10687
10980
|
"description": "XSD `@hidden` (default false); emitted as \"1\" only when true.",
|
|
@@ -10691,8 +10984,7 @@
|
|
|
10691
10984
|
"type": "number"
|
|
10692
10985
|
},
|
|
10693
10986
|
"name": {
|
|
10694
|
-
"
|
|
10695
|
-
"type": "string"
|
|
10987
|
+
"$ref": "#/definitions/NonVisualDrawingPropertiesOptions/properties/name"
|
|
10696
10988
|
},
|
|
10697
10989
|
"pictureLocks": {
|
|
10698
10990
|
"anyOf": [
|
|
@@ -15053,6 +15345,23 @@
|
|
|
15053
15345
|
},
|
|
15054
15346
|
"type": "object"
|
|
15055
15347
|
},
|
|
15348
|
+
"RelativeSizeAnchorOptions": {
|
|
15349
|
+
"additionalProperties": false,
|
|
15350
|
+
"description": "Relative anchor (cdr:relSizeAnchor): the object spans from `from` to `to`.",
|
|
15351
|
+
"properties": {
|
|
15352
|
+
"from": {
|
|
15353
|
+
"$ref": "#/definitions/UserShapeMarkerOptions"
|
|
15354
|
+
},
|
|
15355
|
+
"object": {
|
|
15356
|
+
"$ref": "#/definitions/UserShapeObjectOptions"
|
|
15357
|
+
},
|
|
15358
|
+
"to": {
|
|
15359
|
+
"$ref": "#/definitions/UserShapeMarkerOptions"
|
|
15360
|
+
}
|
|
15361
|
+
},
|
|
15362
|
+
"required": ["from", "to", "object"],
|
|
15363
|
+
"type": "object"
|
|
15364
|
+
},
|
|
15056
15365
|
"RelativeSizeOptions": {
|
|
15057
15366
|
"additionalProperties": false,
|
|
15058
15367
|
"description": "Options for sizing a floating drawing relative to a page base.",
|
|
@@ -22509,6 +22818,62 @@
|
|
|
22509
22818
|
],
|
|
22510
22819
|
"description": "Children allowed inside a track-change wrapper (w:ins/w:del/w:moveFrom/ w:moveTo) — runs, the comment range markers Word anchors directly inside the wrapper, complete field chains, and nested same-type wrappers."
|
|
22511
22820
|
},
|
|
22821
|
+
"Transform2DOptions": {
|
|
22822
|
+
"additionalProperties": false,
|
|
22823
|
+
"properties": {
|
|
22824
|
+
"flipHorizontal": {
|
|
22825
|
+
"type": "boolean"
|
|
22826
|
+
},
|
|
22827
|
+
"flipVertical": {
|
|
22828
|
+
"type": "boolean"
|
|
22829
|
+
},
|
|
22830
|
+
"height": {
|
|
22831
|
+
"anyOf": [
|
|
22832
|
+
{
|
|
22833
|
+
"type": "number"
|
|
22834
|
+
},
|
|
22835
|
+
{
|
|
22836
|
+
"$ref": "#/definitions/UniversalMeasure"
|
|
22837
|
+
}
|
|
22838
|
+
]
|
|
22839
|
+
},
|
|
22840
|
+
"rotation": {
|
|
22841
|
+
"description": "Rotation angle in degrees (e.g., 45 = 45°).",
|
|
22842
|
+
"type": "number"
|
|
22843
|
+
},
|
|
22844
|
+
"width": {
|
|
22845
|
+
"anyOf": [
|
|
22846
|
+
{
|
|
22847
|
+
"type": "number"
|
|
22848
|
+
},
|
|
22849
|
+
{
|
|
22850
|
+
"$ref": "#/definitions/UniversalMeasure"
|
|
22851
|
+
}
|
|
22852
|
+
]
|
|
22853
|
+
},
|
|
22854
|
+
"x": {
|
|
22855
|
+
"anyOf": [
|
|
22856
|
+
{
|
|
22857
|
+
"type": "number"
|
|
22858
|
+
},
|
|
22859
|
+
{
|
|
22860
|
+
"$ref": "#/definitions/UniversalMeasure"
|
|
22861
|
+
}
|
|
22862
|
+
]
|
|
22863
|
+
},
|
|
22864
|
+
"y": {
|
|
22865
|
+
"anyOf": [
|
|
22866
|
+
{
|
|
22867
|
+
"type": "number"
|
|
22868
|
+
},
|
|
22869
|
+
{
|
|
22870
|
+
"$ref": "#/definitions/UniversalMeasure"
|
|
22871
|
+
}
|
|
22872
|
+
]
|
|
22873
|
+
}
|
|
22874
|
+
},
|
|
22875
|
+
"type": "object"
|
|
22876
|
+
},
|
|
22512
22877
|
"TransformEffectOptions": {
|
|
22513
22878
|
"additionalProperties": false,
|
|
22514
22879
|
"description": "Transform effect — scale, skew, translate.",
|
|
@@ -22610,6 +22975,252 @@
|
|
|
22610
22975
|
"pattern": "^-?(\\d+(\\.\\d+)?|\\.\\d+)(mm|cm|in|pt|pc|pi|px)$",
|
|
22611
22976
|
"type": "string"
|
|
22612
22977
|
},
|
|
22978
|
+
"UserShapeConnectorOptions": {
|
|
22979
|
+
"additionalProperties": false,
|
|
22980
|
+
"properties": {
|
|
22981
|
+
"id": {
|
|
22982
|
+
"description": "cNvPr drawing id (schema-required)",
|
|
22983
|
+
"type": "number"
|
|
22984
|
+
},
|
|
22985
|
+
"macro": {
|
|
22986
|
+
"description": "Macro reference (`@macro`)",
|
|
22987
|
+
"type": "string"
|
|
22988
|
+
},
|
|
22989
|
+
"nonVisualProperties": {
|
|
22990
|
+
"$ref": "#/definitions/NonVisualDrawingPropertiesOptions"
|
|
22991
|
+
},
|
|
22992
|
+
"published": {
|
|
22993
|
+
"description": "Published as a server-side shape (`@fPublished`, default false)",
|
|
22994
|
+
"type": "boolean"
|
|
22995
|
+
},
|
|
22996
|
+
"shapeProperties": {
|
|
22997
|
+
"$ref": "#/definitions/ShapePropertiesOptions"
|
|
22998
|
+
},
|
|
22999
|
+
"style": {
|
|
23000
|
+
"$ref": "#/definitions/DefaultShapeStyleOptions"
|
|
23001
|
+
},
|
|
23002
|
+
"type": {
|
|
23003
|
+
"const": "connector",
|
|
23004
|
+
"type": "string"
|
|
23005
|
+
}
|
|
23006
|
+
},
|
|
23007
|
+
"required": ["id", "shapeProperties", "type"],
|
|
23008
|
+
"type": "object"
|
|
23009
|
+
},
|
|
23010
|
+
"UserShapeExtentOptions": {
|
|
23011
|
+
"additionalProperties": false,
|
|
23012
|
+
"description": "Anchor extent (a:ext): width/height in EMU.",
|
|
23013
|
+
"properties": {
|
|
23014
|
+
"height": {
|
|
23015
|
+
"type": "number"
|
|
23016
|
+
},
|
|
23017
|
+
"width": {
|
|
23018
|
+
"type": "number"
|
|
23019
|
+
}
|
|
23020
|
+
},
|
|
23021
|
+
"required": ["width", "height"],
|
|
23022
|
+
"type": "object"
|
|
23023
|
+
},
|
|
23024
|
+
"UserShapeGraphicFrameOptions": {
|
|
23025
|
+
"additionalProperties": false,
|
|
23026
|
+
"properties": {
|
|
23027
|
+
"graphic": {
|
|
23028
|
+
"description": "Verbatim a:graphic XML payload. The graphic contents (chart/table references) are package-wired; the part body carries them unchanged.",
|
|
23029
|
+
"type": "string"
|
|
23030
|
+
},
|
|
23031
|
+
"graphicFrameLocks": {
|
|
23032
|
+
"anyOf": [
|
|
23033
|
+
{
|
|
23034
|
+
"$ref": "#/definitions/GraphicFrameLockingOptions"
|
|
23035
|
+
},
|
|
23036
|
+
{
|
|
23037
|
+
"type": "null"
|
|
23038
|
+
}
|
|
23039
|
+
],
|
|
23040
|
+
"description": "Frame locking flags (cdr:cNvGraphicFramePr)"
|
|
23041
|
+
},
|
|
23042
|
+
"id": {
|
|
23043
|
+
"description": "cNvPr drawing id (schema-required)",
|
|
23044
|
+
"type": "number"
|
|
23045
|
+
},
|
|
23046
|
+
"macro": {
|
|
23047
|
+
"description": "Macro reference (`@macro`)",
|
|
23048
|
+
"type": "string"
|
|
23049
|
+
},
|
|
23050
|
+
"nonVisualProperties": {
|
|
23051
|
+
"$ref": "#/definitions/NonVisualDrawingPropertiesOptions"
|
|
23052
|
+
},
|
|
23053
|
+
"published": {
|
|
23054
|
+
"description": "Published as a server-side shape (`@fPublished`, default false)",
|
|
23055
|
+
"type": "boolean"
|
|
23056
|
+
},
|
|
23057
|
+
"transform": {
|
|
23058
|
+
"$ref": "#/definitions/Transform2DOptions",
|
|
23059
|
+
"description": "Placement transform (cdr:xfrm)"
|
|
23060
|
+
},
|
|
23061
|
+
"type": {
|
|
23062
|
+
"const": "graphicFrame",
|
|
23063
|
+
"type": "string"
|
|
23064
|
+
}
|
|
23065
|
+
},
|
|
23066
|
+
"required": ["graphic", "id", "transform", "type"],
|
|
23067
|
+
"type": "object"
|
|
23068
|
+
},
|
|
23069
|
+
"UserShapeGroupOptions": {
|
|
23070
|
+
"additionalProperties": false,
|
|
23071
|
+
"properties": {
|
|
23072
|
+
"children": {
|
|
23073
|
+
"items": {
|
|
23074
|
+
"$ref": "#/definitions/UserShapeObjectOptions"
|
|
23075
|
+
},
|
|
23076
|
+
"type": "array"
|
|
23077
|
+
},
|
|
23078
|
+
"groupShapeProperties": {
|
|
23079
|
+
"$ref": "#/definitions/GroupShapePropertiesOptions"
|
|
23080
|
+
},
|
|
23081
|
+
"id": {
|
|
23082
|
+
"description": "cNvPr drawing id (schema-required)",
|
|
23083
|
+
"type": "number"
|
|
23084
|
+
},
|
|
23085
|
+
"macro": {
|
|
23086
|
+
"description": "Macro reference (`@macro`)",
|
|
23087
|
+
"type": "string"
|
|
23088
|
+
},
|
|
23089
|
+
"nonVisualProperties": {
|
|
23090
|
+
"$ref": "#/definitions/NonVisualDrawingPropertiesOptions"
|
|
23091
|
+
},
|
|
23092
|
+
"published": {
|
|
23093
|
+
"description": "Published as a server-side shape (`@fPublished`, default false)",
|
|
23094
|
+
"type": "boolean"
|
|
23095
|
+
},
|
|
23096
|
+
"type": {
|
|
23097
|
+
"const": "group",
|
|
23098
|
+
"type": "string"
|
|
23099
|
+
}
|
|
23100
|
+
},
|
|
23101
|
+
"required": ["children", "groupShapeProperties", "id", "type"],
|
|
23102
|
+
"type": "object"
|
|
23103
|
+
},
|
|
23104
|
+
"UserShapeMarkerOptions": {
|
|
23105
|
+
"additionalProperties": false,
|
|
23106
|
+
"description": "Anchor marker: x/y as 0.0–1.0 fractions of the chart area.",
|
|
23107
|
+
"properties": {
|
|
23108
|
+
"x": {
|
|
23109
|
+
"type": "number"
|
|
23110
|
+
},
|
|
23111
|
+
"y": {
|
|
23112
|
+
"type": "number"
|
|
23113
|
+
}
|
|
23114
|
+
},
|
|
23115
|
+
"required": ["x", "y"],
|
|
23116
|
+
"type": "object"
|
|
23117
|
+
},
|
|
23118
|
+
"UserShapeObjectOptions": {
|
|
23119
|
+
"anyOf": [
|
|
23120
|
+
{
|
|
23121
|
+
"$ref": "#/definitions/UserShapeShapeOptions"
|
|
23122
|
+
},
|
|
23123
|
+
{
|
|
23124
|
+
"$ref": "#/definitions/UserShapeConnectorOptions"
|
|
23125
|
+
},
|
|
23126
|
+
{
|
|
23127
|
+
"$ref": "#/definitions/UserShapePictureOptions"
|
|
23128
|
+
},
|
|
23129
|
+
{
|
|
23130
|
+
"$ref": "#/definitions/UserShapeGraphicFrameOptions"
|
|
23131
|
+
},
|
|
23132
|
+
{
|
|
23133
|
+
"$ref": "#/definitions/UserShapeGroupOptions"
|
|
23134
|
+
}
|
|
23135
|
+
]
|
|
23136
|
+
},
|
|
23137
|
+
"UserShapePictureOptions": {
|
|
23138
|
+
"additionalProperties": false,
|
|
23139
|
+
"properties": {
|
|
23140
|
+
"blipFill": {
|
|
23141
|
+
"$ref": "#/definitions/BlipFillOptions"
|
|
23142
|
+
},
|
|
23143
|
+
"id": {
|
|
23144
|
+
"description": "cNvPr drawing id (schema-required)",
|
|
23145
|
+
"type": "number"
|
|
23146
|
+
},
|
|
23147
|
+
"macro": {
|
|
23148
|
+
"description": "Macro reference (`@macro`)",
|
|
23149
|
+
"type": "string"
|
|
23150
|
+
},
|
|
23151
|
+
"nonVisualProperties": {
|
|
23152
|
+
"$ref": "#/definitions/NonVisualDrawingPropertiesOptions"
|
|
23153
|
+
},
|
|
23154
|
+
"published": {
|
|
23155
|
+
"description": "Published as a server-side shape (`@fPublished`, default false)",
|
|
23156
|
+
"type": "boolean"
|
|
23157
|
+
},
|
|
23158
|
+
"referenceId": {
|
|
23159
|
+
"description": "Image reference key (a:blip r:embed via the relationship placeholder)",
|
|
23160
|
+
"type": "string"
|
|
23161
|
+
},
|
|
23162
|
+
"shapeProperties": {
|
|
23163
|
+
"$ref": "#/definitions/ShapePropertiesOptions"
|
|
23164
|
+
},
|
|
23165
|
+
"style": {
|
|
23166
|
+
"$ref": "#/definitions/DefaultShapeStyleOptions"
|
|
23167
|
+
},
|
|
23168
|
+
"type": {
|
|
23169
|
+
"const": "picture",
|
|
23170
|
+
"type": "string"
|
|
23171
|
+
}
|
|
23172
|
+
},
|
|
23173
|
+
"required": ["id", "referenceId", "shapeProperties", "type"],
|
|
23174
|
+
"type": "object"
|
|
23175
|
+
},
|
|
23176
|
+
"UserShapeShapeOptions": {
|
|
23177
|
+
"additionalProperties": false,
|
|
23178
|
+
"properties": {
|
|
23179
|
+
"id": {
|
|
23180
|
+
"description": "cNvPr drawing id (schema-required)",
|
|
23181
|
+
"type": "number"
|
|
23182
|
+
},
|
|
23183
|
+
"locksText": {
|
|
23184
|
+
"description": "Text locking (`@fLocksText`, default true)",
|
|
23185
|
+
"type": "boolean"
|
|
23186
|
+
},
|
|
23187
|
+
"macro": {
|
|
23188
|
+
"description": "Macro reference (`@macro`)",
|
|
23189
|
+
"type": "string"
|
|
23190
|
+
},
|
|
23191
|
+
"nonVisualProperties": {
|
|
23192
|
+
"$ref": "#/definitions/NonVisualDrawingPropertiesOptions",
|
|
23193
|
+
"description": "cNvPr — id is required by the schema"
|
|
23194
|
+
},
|
|
23195
|
+
"published": {
|
|
23196
|
+
"description": "Published as a server-side shape (`@fPublished`, default false)",
|
|
23197
|
+
"type": "boolean"
|
|
23198
|
+
},
|
|
23199
|
+
"shapeProperties": {
|
|
23200
|
+
"$ref": "#/definitions/ShapePropertiesOptions"
|
|
23201
|
+
},
|
|
23202
|
+
"style": {
|
|
23203
|
+
"$ref": "#/definitions/DefaultShapeStyleOptions"
|
|
23204
|
+
},
|
|
23205
|
+
"textBody": {
|
|
23206
|
+
"$ref": "#/definitions/TextBodyOptions"
|
|
23207
|
+
},
|
|
23208
|
+
"textBox": {
|
|
23209
|
+
"description": "Text-box marker (cdr:cNvSpPr `@txBox`)",
|
|
23210
|
+
"type": "boolean"
|
|
23211
|
+
},
|
|
23212
|
+
"textLink": {
|
|
23213
|
+
"description": "Formula linking the text to a cell (`@textlink`)",
|
|
23214
|
+
"type": "string"
|
|
23215
|
+
},
|
|
23216
|
+
"type": {
|
|
23217
|
+
"const": "shape",
|
|
23218
|
+
"type": "string"
|
|
23219
|
+
}
|
|
23220
|
+
},
|
|
23221
|
+
"required": ["id", "shapeProperties", "type"],
|
|
23222
|
+
"type": "object"
|
|
23223
|
+
},
|
|
22613
23224
|
"VariableListOptions": {
|
|
22614
23225
|
"additionalProperties": false,
|
|
22615
23226
|
"description": "dgm:varLst.",
|