@openpresentation/opf 0.11.0 → 0.11.1
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/{catalogs-atkOF4Vy.d.ts → catalogs-DJ-B5ZyD.d.ts} +78 -8
- package/dist/catalogs.d.ts +2 -2
- package/dist/catalogs.js +1 -1
- package/dist/{chunk-FTWNWFIV.js → chunk-6UPHKXI5.js} +310 -34
- package/dist/{chunk-6FU2KICU.js → chunk-7LF37SG3.js} +7084 -5106
- package/dist/{chunk-EQHZ3ZO4.js → chunk-BP6WMSSS.js} +3 -3
- package/dist/{chunk-FWA5XB45.js → chunk-KWIOQ3QR.js} +45 -25
- package/dist/{chunk-GN52EE3P.js → chunk-LTSDDBNW.js} +425 -40
- package/dist/{chunk-CHKJ4QHQ.js → chunk-M4GTWRK7.js} +113 -32
- package/dist/chunk-NPYN4TZ5.js +3516 -0
- package/dist/{chunk-RS5GZ5RW.js → chunk-SDETQV7Y.js} +161 -0
- package/dist/{composition-Tv9Wm3Oh.d.ts → composition-DzLwY-Mi.d.ts} +200 -4
- package/dist/composition.d.ts +1 -1
- package/dist/composition.js +1 -1
- package/dist/docs.js +50 -20
- package/dist/examples.d.ts +1 -1
- package/dist/examples.js +11 -11
- package/dist/font-policy.d.ts +123 -0
- package/dist/font-policy.js +1 -0
- package/dist/index.d.ts +129 -10
- package/dist/index.js +280 -12
- package/dist/lint.d.ts +3 -3
- package/dist/lint.js +5 -5
- package/dist/pagination.d.ts +5 -1
- package/dist/pagination.js +5 -5
- package/dist/{presentation-Ct42Mitb.d.ts → presentation-bceTClm8.d.ts} +246 -22
- package/dist/repo-readme.js +1 -1
- package/dist/{schemas-CiVmUT2p.d.ts → schemas-X_NniU4A.d.ts} +2 -0
- package/dist/schemas.d.ts +1 -1
- package/dist/schemas.js +1 -1
- package/dist/spec/catalogs/audiences/academic.json +24 -0
- package/dist/spec/catalogs/audiences/all-hands.json +3 -1
- package/dist/spec/catalogs/audiences/board.json +3 -1
- package/dist/spec/catalogs/audiences/customer.json +25 -0
- package/dist/spec/catalogs/audiences/executive.json +24 -0
- package/dist/spec/catalogs/audiences/general-public.json +25 -0
- package/dist/spec/catalogs/audiences/index.json +73 -1
- package/dist/spec/catalogs/audiences/internal-team.json +25 -0
- package/dist/spec/catalogs/audiences/investor.json +25 -0
- package/dist/spec/catalogs/audiences/marketing.json +25 -0
- package/dist/spec/catalogs/audiences/media.json +24 -0
- package/dist/spec/catalogs/audiences/partner.json +25 -0
- package/dist/spec/catalogs/audiences/regulatory.json +25 -0
- package/dist/spec/catalogs/audiences/sales.json +25 -0
- package/dist/spec/catalogs/audiences/technical.json +25 -0
- package/dist/spec/catalogs/chart-types/100pct-bullet-bar-2x.json +5 -0
- package/dist/spec/catalogs/chart-types/100pct-bullet-bar-3x.json +5 -0
- package/dist/spec/catalogs/chart-types/100pct-bullet-bar.json +5 -0
- package/dist/spec/catalogs/chart-types/100pct-bullet-column-2x.json +5 -0
- package/dist/spec/catalogs/chart-types/100pct-bullet-column-3x.json +5 -0
- package/dist/spec/catalogs/chart-types/100pct-bullet-column.json +5 -0
- package/dist/spec/catalogs/chart-types/100pct-progress-bar.json +10 -0
- package/dist/spec/catalogs/chart-types/100pct-stacked-area-2x.json +10 -0
- package/dist/spec/catalogs/chart-types/100pct-stacked-area-3x.json +6 -1
- package/dist/spec/catalogs/chart-types/100pct-stacked-bar-2x.json +10 -0
- package/dist/spec/catalogs/chart-types/100pct-stacked-bar-3x.json +6 -1
- package/dist/spec/catalogs/chart-types/100pct-stacked-column-2x.json +10 -0
- package/dist/spec/catalogs/chart-types/100pct-stacked-column-3x.json +6 -1
- package/dist/spec/catalogs/chart-types/area.json +5 -0
- package/dist/spec/catalogs/chart-types/australia.json +10 -0
- package/dist/spec/catalogs/chart-types/bar.json +5 -0
- package/dist/spec/catalogs/chart-types/box-and-whisker-2x.json +10 -0
- package/dist/spec/catalogs/chart-types/box-and-whisker-3x.json +10 -0
- package/dist/spec/catalogs/chart-types/box-and-whisker.json +5 -0
- package/dist/spec/catalogs/chart-types/bullet-bar-2x.json +5 -0
- package/dist/spec/catalogs/chart-types/bullet-bar-3x.json +5 -0
- package/dist/spec/catalogs/chart-types/bullet-bar.json +5 -0
- package/dist/spec/catalogs/chart-types/bullet-column-2x.json +5 -0
- package/dist/spec/catalogs/chart-types/bullet-column-3x.json +5 -0
- package/dist/spec/catalogs/chart-types/bullet-column.json +5 -0
- package/dist/spec/catalogs/chart-types/canada.json +10 -0
- package/dist/spec/catalogs/chart-types/clustered-bar-2x.json +10 -0
- package/dist/spec/catalogs/chart-types/clustered-column.json +10 -0
- package/dist/spec/catalogs/chart-types/column.json +5 -0
- package/dist/spec/catalogs/chart-types/dot-plot-2x.json +5 -0
- package/dist/spec/catalogs/chart-types/dot-plot-3x.json +5 -0
- package/dist/spec/catalogs/chart-types/dot-plot-4x.json +5 -0
- package/dist/spec/catalogs/chart-types/dot-plot-5x.json +5 -0
- package/dist/spec/catalogs/chart-types/dot-plot-6x.json +5 -0
- package/dist/spec/catalogs/chart-types/dot-plot.json +5 -0
- package/dist/spec/catalogs/chart-types/doughnut.json +5 -0
- package/dist/spec/catalogs/chart-types/dumbbell.json +5 -0
- package/dist/spec/catalogs/chart-types/filled-radar.json +5 -0
- package/dist/spec/catalogs/chart-types/funnel.json +5 -0
- package/dist/spec/catalogs/chart-types/histogram.json +5 -0
- package/dist/spec/catalogs/chart-types/index.json +333 -233
- package/dist/spec/catalogs/chart-types/line-2x.json +10 -0
- package/dist/spec/catalogs/chart-types/line-3x.json +10 -0
- package/dist/spec/catalogs/chart-types/line-with-high-low-and-markers.json +5 -0
- package/dist/spec/catalogs/chart-types/line-with-high-low.json +5 -0
- package/dist/spec/catalogs/chart-types/line-with-markers-2x.json +10 -0
- package/dist/spec/catalogs/chart-types/line-with-markers-3x.json +10 -0
- package/dist/spec/catalogs/chart-types/line-with-markers.json +5 -0
- package/dist/spec/catalogs/chart-types/line.json +5 -0
- package/dist/spec/catalogs/chart-types/pareto.json +9 -14
- package/dist/spec/catalogs/chart-types/pie.json +5 -0
- package/dist/spec/catalogs/chart-types/radar-with-markers.json +5 -0
- package/dist/spec/catalogs/chart-types/radar.json +5 -0
- package/dist/spec/catalogs/chart-types/scatter.json +5 -0
- package/dist/spec/catalogs/chart-types/sparkline-2x.json +5 -0
- package/dist/spec/catalogs/chart-types/sparkline-3x.json +5 -0
- package/dist/spec/catalogs/chart-types/sparkline-4x.json +5 -0
- package/dist/spec/catalogs/chart-types/sparkline-5x.json +5 -0
- package/dist/spec/catalogs/chart-types/sparkline-6x.json +5 -0
- package/dist/spec/catalogs/chart-types/sparkline.json +5 -0
- package/dist/spec/catalogs/chart-types/stacked-area-2x.json +10 -0
- package/dist/spec/catalogs/chart-types/stacked-area-3x.json +6 -1
- package/dist/spec/catalogs/chart-types/stacked-bar-2x.json +10 -0
- package/dist/spec/catalogs/chart-types/stacked-bar-3x.json +6 -1
- package/dist/spec/catalogs/chart-types/stacked-column-2x.json +10 -0
- package/dist/spec/catalogs/chart-types/stacked-column-3x.json +6 -1
- package/dist/spec/catalogs/chart-types/stacked-line-2x.json +10 -0
- package/dist/spec/catalogs/chart-types/stacked-line-3x.json +6 -1
- package/dist/spec/catalogs/chart-types/stacked-line-with-markers-2x.json +10 -0
- package/dist/spec/catalogs/chart-types/stacked-line-with-markers-3x.json +6 -1
- package/dist/spec/catalogs/chart-types/treemap-2x.json +10 -0
- package/dist/spec/catalogs/chart-types/treemap-3x.json +10 -0
- package/dist/spec/catalogs/chart-types/treemap.json +5 -0
- package/dist/spec/catalogs/chart-types/united-kingdom.json +10 -0
- package/dist/spec/catalogs/chart-types/united-states.json +10 -0
- package/dist/spec/catalogs/chart-types/waterfall.json +5 -0
- package/dist/spec/catalogs/chart-types/world.json +6 -1
- package/dist/spec/catalogs/font-schemes/consolas.json +3 -0
- package/dist/spec/catalogs/font-schemes/courier-new.json +3 -0
- package/dist/spec/catalogs/languages/afrikaans.json +3 -0
- package/dist/spec/catalogs/languages/albanian.json +3 -0
- package/dist/spec/catalogs/languages/amharic.json +3 -0
- package/dist/spec/catalogs/languages/arabic.json +3 -0
- package/dist/spec/catalogs/languages/armenian.json +3 -0
- package/dist/spec/catalogs/languages/aymara.json +3 -0
- package/dist/spec/catalogs/languages/azerbaijani.json +3 -0
- package/dist/spec/catalogs/languages/bengali.json +3 -0
- package/dist/spec/catalogs/languages/berber-latin.json +3 -0
- package/dist/spec/catalogs/languages/bosnian-latin.json +3 -0
- package/dist/spec/catalogs/languages/bulgarian.json +3 -0
- package/dist/spec/catalogs/languages/catalan.json +3 -0
- package/dist/spec/catalogs/languages/cebuano.json +3 -0
- package/dist/spec/catalogs/languages/chinese-simplified.json +3 -0
- package/dist/spec/catalogs/languages/chinese-traditional.json +3 -0
- package/dist/spec/catalogs/languages/chittagonian.json +3 -0
- package/dist/spec/catalogs/languages/croatian.json +3 -0
- package/dist/spec/catalogs/languages/czech.json +3 -0
- package/dist/spec/catalogs/languages/danish.json +3 -0
- package/dist/spec/catalogs/languages/dutch.json +3 -0
- package/dist/spec/catalogs/languages/english-au.json +3 -0
- package/dist/spec/catalogs/languages/english-ca.json +3 -0
- package/dist/spec/catalogs/languages/english-gb.json +3 -0
- package/dist/spec/catalogs/languages/english-in.json +3 -0
- package/dist/spec/catalogs/languages/english-us.json +3 -0
- package/dist/spec/catalogs/languages/english.json +3 -0
- package/dist/spec/catalogs/languages/estonian.json +3 -0
- package/dist/spec/catalogs/languages/filipino.json +3 -0
- package/dist/spec/catalogs/languages/finnish.json +3 -0
- package/dist/spec/catalogs/languages/french.json +3 -0
- package/dist/spec/catalogs/languages/fulfulde.json +3 -0
- package/dist/spec/catalogs/languages/galician.json +3 -0
- package/dist/spec/catalogs/languages/georgian.json +3 -0
- package/dist/spec/catalogs/languages/german.json +3 -0
- package/dist/spec/catalogs/languages/greek.json +3 -0
- package/dist/spec/catalogs/languages/gujarati.json +3 -0
- package/dist/spec/catalogs/languages/hausa.json +3 -0
- package/dist/spec/catalogs/languages/hebrew.json +3 -0
- package/dist/spec/catalogs/languages/hindi.json +3 -0
- package/dist/spec/catalogs/languages/hungarian.json +3 -0
- package/dist/spec/catalogs/languages/igbo.json +3 -0
- package/dist/spec/catalogs/languages/indonesian.json +3 -0
- package/dist/spec/catalogs/languages/italian.json +3 -0
- package/dist/spec/catalogs/languages/japanese.json +3 -0
- package/dist/spec/catalogs/languages/kannada.json +3 -0
- package/dist/spec/catalogs/languages/kazakh.json +3 -0
- package/dist/spec/catalogs/languages/khmer.json +3 -0
- package/dist/spec/catalogs/languages/kinyarwanda.json +3 -0
- package/dist/spec/catalogs/languages/korean.json +3 -0
- package/dist/spec/catalogs/languages/kurmanji.json +3 -0
- package/dist/spec/catalogs/languages/latvian.json +3 -0
- package/dist/spec/catalogs/languages/lithuanian.json +3 -0
- package/dist/spec/catalogs/languages/macedonian.json +3 -0
- package/dist/spec/catalogs/languages/malagasy.json +3 -0
- package/dist/spec/catalogs/languages/malay.json +3 -0
- package/dist/spec/catalogs/languages/malayalam.json +3 -0
- package/dist/spec/catalogs/languages/maori.json +3 -0
- package/dist/spec/catalogs/languages/marathi.json +3 -0
- package/dist/spec/catalogs/languages/mongolian.json +3 -0
- package/dist/spec/catalogs/languages/nepali.json +3 -0
- package/dist/spec/catalogs/languages/norwegian.json +3 -0
- package/dist/spec/catalogs/languages/odia.json +3 -0
- package/dist/spec/catalogs/languages/oromo.json +3 -0
- package/dist/spec/catalogs/languages/pashto.json +3 -0
- package/dist/spec/catalogs/languages/persian.json +3 -0
- package/dist/spec/catalogs/languages/polish.json +3 -0
- package/dist/spec/catalogs/languages/portuguese.json +3 -0
- package/dist/spec/catalogs/languages/punjabi-gurmukhi.json +3 -0
- package/dist/spec/catalogs/languages/punjabi-shahmukhi.json +3 -0
- package/dist/spec/catalogs/languages/romanian.json +3 -0
- package/dist/spec/catalogs/languages/russian.json +3 -0
- package/dist/spec/catalogs/languages/serbian-cyrillic.json +3 -0
- package/dist/spec/catalogs/languages/serbian-latin.json +3 -0
- package/dist/spec/catalogs/languages/shona.json +3 -0
- package/dist/spec/catalogs/languages/slovak.json +3 -0
- package/dist/spec/catalogs/languages/slovenian.json +3 -0
- package/dist/spec/catalogs/languages/somali.json +3 -0
- package/dist/spec/catalogs/languages/spanish.json +3 -0
- package/dist/spec/catalogs/languages/swahili.json +3 -0
- package/dist/spec/catalogs/languages/swedish.json +3 -0
- package/dist/spec/catalogs/languages/tagalog.json +3 -0
- package/dist/spec/catalogs/languages/tajik.json +3 -0
- package/dist/spec/catalogs/languages/tamil.json +3 -0
- package/dist/spec/catalogs/languages/telugu.json +3 -0
- package/dist/spec/catalogs/languages/thai.json +3 -0
- package/dist/spec/catalogs/languages/turkish.json +3 -0
- package/dist/spec/catalogs/languages/ukrainian.json +3 -0
- package/dist/spec/catalogs/languages/urdu.json +3 -0
- package/dist/spec/catalogs/languages/uzbek-latin.json +3 -0
- package/dist/spec/catalogs/languages/vietnamese-quoc-ngu.json +3 -0
- package/dist/spec/catalogs/languages/xhosa.json +3 -0
- package/dist/spec/catalogs/languages/yoruba.json +3 -0
- package/dist/spec/catalogs/languages/zulu.json +3 -0
- package/dist/spec/catalogs/narratives/change-story.json +64 -0
- package/dist/spec/catalogs/narratives/data-story.json +66 -0
- package/dist/spec/catalogs/narratives/heros-journey.json +64 -0
- package/dist/spec/catalogs/narratives/index.json +81 -0
- package/dist/spec/catalogs/narratives/pyramid-principle.json +48 -0
- package/dist/spec/catalogs/narratives/situation-complication-resolution.json +56 -0
- package/dist/spec/catalogs/narratives/sparkline.json +56 -0
- package/dist/spec/catalogs/narratives/star-method.json +56 -0
- package/dist/spec/catalogs/narratives/vision-roadmap.json +65 -0
- package/dist/spec/catalogs/narratives/what-so-what-now-what.json +48 -0
- package/dist/spec/reference/engine-defaults.json +2 -2
- package/dist/spec/reference/font-policy.json +3435 -0
- package/dist/spec/reference/font-policy.schema.json +328 -0
- package/dist/spec/schemas/chart-type.schema.json +51 -11
- package/dist/spec/schemas/font-scheme.schema.json +91 -1
- package/dist/spec/schemas/language.schema.json +10 -5
- package/dist/spec/schemas/opf.schema.json +158 -20
- package/dist/spec-files.d.ts +1 -1
- package/dist/spec-files.js +1 -1
- package/dist/types.d.ts +3 -3
- package/dist/validator.d.ts +3 -3
- package/dist/validator.js +4 -4
- package/package.json +6 -2
|
@@ -662,6 +662,18 @@ Deck-level concerns that aren't part of the storyline (audience, tone, takeaway,
|
|
|
662
662
|
"zh-Hans"
|
|
663
663
|
]
|
|
664
664
|
},
|
|
665
|
+
"ooxmlLang": {
|
|
666
|
+
"type": "string",
|
|
667
|
+
"description": "Curated culture tag for OOXML text-run language attributes (a:rPr/@lang, a:endParaRPr/@lang), in the language-[Script-]REGION form Office recognizes (e.g. 'ja-JP', 'ar-SA', 'ms-MY', 'nb-NO', 'fil-PH', 'zh-CN'). Engines emit it instead of 'bcp47' when the document names the language by catalog id or by a tag without a region; a region-bearing tag written by the author is emitted as written. Curated rather than inferred so output does not depend on the runtime's locale data.",
|
|
668
|
+
"examples": [
|
|
669
|
+
"en-US",
|
|
670
|
+
"ja-JP",
|
|
671
|
+
"ar-SA",
|
|
672
|
+
"ms-MY",
|
|
673
|
+
"nb-NO",
|
|
674
|
+
"zh-CN"
|
|
675
|
+
]
|
|
676
|
+
},
|
|
665
677
|
"code": {
|
|
666
678
|
"type": "string",
|
|
667
679
|
"description": "ISO 639-3 or 639-2 language code carried for engines that prefer ISO codes.",
|
|
@@ -678,26 +690,32 @@ Deck-level concerns that aren't part of the storyline (audience, tone, takeaway,
|
|
|
678
690
|
"ltr",
|
|
679
691
|
"rtl"
|
|
680
692
|
],
|
|
681
|
-
"description": "Base text direction for the language."
|
|
693
|
+
"description": "Base text direction for the language. When omitted, engines derive it from the script: Arabic (Arab), Hebrew (Hebr), Syriac (Syrc), Thaana (Thaa), N'Ko (Nkoo), Adlam (Adlm), Samaritan (Samr), Mandaic (Mand) and Hanifi Rohingya (Rohg) are right-to-left; every other script is left-to-right. Bundled language records state it explicitly."
|
|
682
694
|
},
|
|
683
695
|
"script": {
|
|
684
696
|
"type": "string",
|
|
685
|
-
"description": "ISO 15924 script code
|
|
697
|
+
"description": "ISO 15924 script code of the language's writing system. The script selects the OOXML font slot the language's text uses: East Asian scripts (Hans, Hant, Hani, Jpan, Kore, Hang, Hira, Kana, Bopo, Yiii) use the eastAsian slot; complex scripts (for example Arab, Hebr, Syrc, Thaa, Deva, Beng, Guru, Gujr, Orya, Taml, Telu, Knda, Mlym, Sinh, Thai, Laoo, Tibt, Mymr, Khmr, Mong) use the complexScript slot; every other script (Latn, Cyrl, Grek, Armn, Geor, Ethi, ...) uses the latin slot. When omitted, engines infer it from the BCP-47 tag. Bundled language records state it explicitly. See docs/programs/font-fidelity-everywhere/script-font-model.md.",
|
|
686
698
|
"examples": [
|
|
687
699
|
"Latn",
|
|
688
|
-
"Arab",
|
|
689
700
|
"Cyrl",
|
|
701
|
+
"Grek",
|
|
702
|
+
"Arab",
|
|
703
|
+
"Hebr",
|
|
704
|
+
"Jpan",
|
|
705
|
+
"Kore",
|
|
690
706
|
"Hans",
|
|
691
|
-
"Hant"
|
|
707
|
+
"Hant",
|
|
708
|
+
"Deva",
|
|
709
|
+
"Thai"
|
|
692
710
|
]
|
|
693
711
|
},
|
|
694
712
|
"fontScheme": {
|
|
695
713
|
"type": "string",
|
|
696
|
-
"description": "Default font-scheme id for this language when targeting PowerPoint output."
|
|
714
|
+
"description": "Default font-scheme id for this language when targeting PowerPoint output. Resolves against catalogs.fontSchemes the same way design.fontScheme or design.fontScheme.id does. Its major/minor families fill the language's script slot (eastAsian or complexScript, chosen by 'script') unless the effective design font scheme sets that slot itself; the latin slot always follows the design font scheme."
|
|
697
715
|
},
|
|
698
716
|
"googleFontScheme": {
|
|
699
717
|
"type": "string",
|
|
700
|
-
"description": "Default font-scheme id for this language when targeting Google Slides output."
|
|
718
|
+
"description": "Default font-scheme id for this language when targeting Google Slides output. Resolves against catalogs.fontSchemes the same way design.fontScheme or design.fontScheme.id does. Used in place of 'fontScheme' when resolving script fonts for Google Slides output."
|
|
701
719
|
},
|
|
702
720
|
"summary": {
|
|
703
721
|
"type": "string",
|
|
@@ -886,7 +904,7 @@ Deck-level concerns that aren't part of the storyline (audience, tone, takeaway,
|
|
|
886
904
|
},
|
|
887
905
|
"socials": {
|
|
888
906
|
"$ref": "#/$defs/Socials",
|
|
889
|
-
"description": "Optional social media handles or URLs for the organization."
|
|
907
|
+
"description": "Optional social media handles or URLs for the organization. The primary organization's socials render in header/footer zones that set socials: true; otherwise they are authoring metadata."
|
|
890
908
|
}
|
|
891
909
|
}
|
|
892
910
|
},
|
|
@@ -972,7 +990,7 @@ Deck-level concerns that aren't part of the storyline (audience, tone, takeaway,
|
|
|
972
990
|
},
|
|
973
991
|
"socials": {
|
|
974
992
|
"$ref": "#/$defs/Socials",
|
|
975
|
-
"description": "Optional social media handles or URLs for the speaker."
|
|
993
|
+
"description": "Optional social media handles or URLs for the speaker. Authoring metadata: no header/footer field renders speaker socials yet."
|
|
976
994
|
}
|
|
977
995
|
}
|
|
978
996
|
},
|
|
@@ -1466,12 +1484,149 @@ Resolution order: inline catalogs.fontSchemes.records[] -> catalogs.fontSchemes.
|
|
|
1466
1484
|
"left",
|
|
1467
1485
|
"right"
|
|
1468
1486
|
],
|
|
1469
|
-
"description": "Where the slide-level image sits relative to the content. 'background' is a full-bleed image behind the content."
|
|
1487
|
+
"description": "Where the slide-level image sits relative to the content. 'background' is a full-bleed image behind the content. The other positions give the image a band along that edge (see size) and compose headings and content in the rest of the slide."
|
|
1488
|
+
},
|
|
1489
|
+
"alt": {
|
|
1490
|
+
"type": "string",
|
|
1491
|
+
"description": "Alternative text for the slide-level image. Overrides the alt text of a referenced asset."
|
|
1492
|
+
},
|
|
1493
|
+
"fill": {
|
|
1494
|
+
"type": "string",
|
|
1495
|
+
"enum": [
|
|
1496
|
+
"crop",
|
|
1497
|
+
"fit"
|
|
1498
|
+
],
|
|
1499
|
+
"description": "How the image fills its frame: 'crop' covers the frame from the center; 'fit' shows the whole image centered inside it. Overrides design.imageFill for this image. Default: design.imageFill, else 'crop'."
|
|
1500
|
+
},
|
|
1501
|
+
"size": {
|
|
1502
|
+
"type": "number",
|
|
1503
|
+
"minimum": 0.1,
|
|
1504
|
+
"maximum": 0.9,
|
|
1505
|
+
"description": "Share of the slide width (left/right) or height (top/bottom) given to the image band. Ignored for 'background'. Default 0.5."
|
|
1506
|
+
},
|
|
1507
|
+
"inset": {
|
|
1508
|
+
"type": "boolean",
|
|
1509
|
+
"description": "Place the frame inside the slide padding instead of edge to edge, like a card. Default false."
|
|
1510
|
+
},
|
|
1511
|
+
"aspectRatio": {
|
|
1512
|
+
"type": "number",
|
|
1513
|
+
"exclusiveMinimum": 0,
|
|
1514
|
+
"maximum": 10,
|
|
1515
|
+
"description": "Width-to-height ratio of the frame. The frame becomes the largest centered box with this ratio inside the band or slide, for example 2.39 for a cinematic letterbox or 0.5 for a phone-shaped frame. 'circle' always uses 1."
|
|
1516
|
+
},
|
|
1517
|
+
"shape": {
|
|
1518
|
+
"type": "string",
|
|
1519
|
+
"enum": [
|
|
1520
|
+
"rectangle",
|
|
1521
|
+
"rounded",
|
|
1522
|
+
"circle",
|
|
1523
|
+
"hexagon"
|
|
1524
|
+
],
|
|
1525
|
+
"description": "Mask applied to the frame, exported as the picture's native preset geometry (rect, roundRect, ellipse, hexagon). 'circle' makes the frame square. Default 'rectangle'."
|
|
1526
|
+
},
|
|
1527
|
+
"cornerRadius": {
|
|
1528
|
+
"type": "number",
|
|
1529
|
+
"minimum": 0,
|
|
1530
|
+
"maximum": 0.5,
|
|
1531
|
+
"description": "Corner radius for shape 'rounded' as a fraction of the frame's shorter side. Default 0.16667, PowerPoint's roundRect default."
|
|
1532
|
+
},
|
|
1533
|
+
"border": {
|
|
1534
|
+
"type": "object",
|
|
1535
|
+
"additionalProperties": false,
|
|
1536
|
+
"required": [
|
|
1537
|
+
"color",
|
|
1538
|
+
"width"
|
|
1539
|
+
],
|
|
1540
|
+
"properties": {
|
|
1541
|
+
"color": {
|
|
1542
|
+
"$ref": "#/$defs/ColorRef",
|
|
1543
|
+
"description": "Line color: a hex color, a color-scheme slot or role name, or a 'var:<id>' variable reference."
|
|
1544
|
+
},
|
|
1545
|
+
"width": {
|
|
1546
|
+
"type": "number",
|
|
1547
|
+
"minimum": 0,
|
|
1548
|
+
"maximum": 64,
|
|
1549
|
+
"description": "Line width in reference pixels at a 720-pixel short edge, centered on the frame outline like a native picture line. 0 removes the line."
|
|
1550
|
+
}
|
|
1551
|
+
},
|
|
1552
|
+
"description": "Solid line along the frame's shape. A thick dark border on a rounded portrait frame gives a device bezel."
|
|
1553
|
+
},
|
|
1554
|
+
"opacity": {
|
|
1555
|
+
"type": "number",
|
|
1556
|
+
"minimum": 0,
|
|
1557
|
+
"maximum": 1,
|
|
1558
|
+
"description": "Image opacity from 0 to 1, exported as a native alphaModFix. The border and overlay keep their own opacity. Default 1."
|
|
1559
|
+
},
|
|
1560
|
+
"recolor": {
|
|
1561
|
+
"oneOf": [
|
|
1562
|
+
{
|
|
1563
|
+
"type": "string",
|
|
1564
|
+
"const": "grayscale",
|
|
1565
|
+
"description": "Replace each pixel with its luminance, exported as native a:grayscl."
|
|
1566
|
+
},
|
|
1567
|
+
{
|
|
1568
|
+
"type": "object",
|
|
1569
|
+
"additionalProperties": false,
|
|
1570
|
+
"required": [
|
|
1571
|
+
"dark",
|
|
1572
|
+
"light"
|
|
1573
|
+
],
|
|
1574
|
+
"properties": {
|
|
1575
|
+
"dark": {
|
|
1576
|
+
"$ref": "#/$defs/ColorRef",
|
|
1577
|
+
"description": "Color at luminance 0."
|
|
1578
|
+
},
|
|
1579
|
+
"light": {
|
|
1580
|
+
"$ref": "#/$defs/ColorRef",
|
|
1581
|
+
"description": "Color at luminance 1."
|
|
1582
|
+
}
|
|
1583
|
+
},
|
|
1584
|
+
"description": "Duotone: map each pixel's luminance linearly from dark to light, exported as native a:duotone."
|
|
1585
|
+
}
|
|
1586
|
+
],
|
|
1587
|
+
"description": "Color treatment for the image pixels. Luminance uses Rec. 601 weights (0.299, 0.587, 0.114) on sRGB values."
|
|
1588
|
+
},
|
|
1589
|
+
"overlay": {
|
|
1590
|
+
"type": "object",
|
|
1591
|
+
"additionalProperties": false,
|
|
1592
|
+
"required": [
|
|
1593
|
+
"color",
|
|
1594
|
+
"opacity"
|
|
1595
|
+
],
|
|
1596
|
+
"properties": {
|
|
1597
|
+
"color": {
|
|
1598
|
+
"$ref": "#/$defs/ColorRef",
|
|
1599
|
+
"description": "Overlay fill color."
|
|
1600
|
+
},
|
|
1601
|
+
"opacity": {
|
|
1602
|
+
"type": "number",
|
|
1603
|
+
"minimum": 0,
|
|
1604
|
+
"maximum": 1,
|
|
1605
|
+
"description": "Overlay fill opacity."
|
|
1606
|
+
},
|
|
1607
|
+
"edge": {
|
|
1608
|
+
"type": "string",
|
|
1609
|
+
"enum": [
|
|
1610
|
+
"top",
|
|
1611
|
+
"bottom",
|
|
1612
|
+
"left",
|
|
1613
|
+
"right"
|
|
1614
|
+
],
|
|
1615
|
+
"description": "Cover only a band along this edge of the frame, for example a caption strip. Rectangle frames only; other shapes report unsupported-image-treatment and draw no overlay. Omit to cover the whole frame."
|
|
1616
|
+
},
|
|
1617
|
+
"size": {
|
|
1618
|
+
"type": "number",
|
|
1619
|
+
"minimum": 0.05,
|
|
1620
|
+
"maximum": 1,
|
|
1621
|
+
"description": "Band share of the frame for an edge overlay. Default 0.3."
|
|
1622
|
+
}
|
|
1623
|
+
},
|
|
1624
|
+
"description": "Solid scrim drawn over the image in the frame's shape, beneath headings and content, for example to keep overlaid text readable. Exported as a native shape above the picture."
|
|
1470
1625
|
}
|
|
1471
1626
|
}
|
|
1472
1627
|
}
|
|
1473
1628
|
],
|
|
1474
|
-
"description": "Optional slide-level image
|
|
1629
|
+
"description": "Optional slide-level image, separate from content images. It applies to a slide that sets its own design.slideImage, and to slides whose layout declares slideImage: true or whose root image is the same source as a deck-level value. A root image with the same source becomes the slide image instead of a content item. Blur, shadows, soft edges, background removal and device artwork are not part of the treatment vocabulary; see docs/image-treatments.md."
|
|
1475
1630
|
},
|
|
1476
1631
|
"contentDirection": {
|
|
1477
1632
|
"type": "string",
|
|
@@ -1819,7 +1974,7 @@ Resolution order: inline catalogs.fontSchemes.records[] -> catalogs.fontSchemes.
|
|
|
1819
1974
|
},
|
|
1820
1975
|
"FontScheme": {
|
|
1821
1976
|
"type": "object",
|
|
1822
|
-
"description": "Typography selections used by the design system. The pair fields (major, minor) and refinement fields (type, app, languageFamily) mirror font-scheme.schema.json (https://openpresentation.org/schema/opf-font-scheme/v1) so library records and inline OPF overrides are interchangeable on those fields.\n\nTwo parallel models are supported and may be mixed:\n- OOXML pairs (major, minor) - heading and body family names that round-trip directly to PowerPoint majorFont/minorFont entries.\n- Abstract roles (heading, body, accent, code) - OPF-specific Font objects the engine maps onto the OOXML pair when serializing. Convenient for inline overrides and for adding accent/code roles that don't have a direct OOXML slot; not part of the catalog record schema.\n\nIn design.fontScheme, 'id' resolves a fontSchemes catalog record as the base; pair and role overrides on the same object take precedence over the resolved scheme. The string shorthand on design.fontScheme is equivalent to setting only 'id'.",
|
|
1977
|
+
"description": "Typography selections used by the design system. The pair fields (major, minor) and refinement fields (type, app, languageFamily) mirror font-scheme.schema.json (https://openpresentation.org/schema/opf-font-scheme/v1) so library records and inline OPF overrides are interchangeable on those fields.\n\nTwo parallel models are supported and may be mixed:\n- OOXML pairs (major, minor) - heading and body family names that round-trip directly to PowerPoint majorFont/minorFont entries.\n- Abstract roles (heading, body, accent, code) - OPF-specific Font objects the engine maps onto the OOXML pair when serializing. Convenient for inline overrides and for adding accent/code roles that don't have a direct OOXML slot. Catalog records may also carry 'code' (for example the consolas and courier-new records); heading, body and accent are not part of the catalog record schema.\n\nIn design.fontScheme, 'id' resolves a fontSchemes catalog record as the base; pair and role overrides on the same object take precedence over the resolved scheme. The string shorthand on design.fontScheme is equivalent to setting only 'id'.",
|
|
1823
1978
|
"properties": {
|
|
1824
1979
|
"id": {
|
|
1825
1980
|
"type": "string",
|
|
@@ -1855,6 +2010,58 @@ Resolution order: inline catalogs.fontSchemes.records[] -> catalogs.fontSchemes.
|
|
|
1855
2010
|
"Arial"
|
|
1856
2011
|
]
|
|
1857
2012
|
},
|
|
2013
|
+
"eastAsian": {
|
|
2014
|
+
"type": "object",
|
|
2015
|
+
"additionalProperties": false,
|
|
2016
|
+
"minProperties": 1,
|
|
2017
|
+
"description": "East Asian script fonts. Maps to the OOXML a:ea element of majorFont (major) and minorFont (minor), and to run-level a:ea. When set, they fill the eastAsian slot for every language; when omitted, the slot comes from this scheme's own major/minor when languageFamily is 'ea' and the scheme's languages list is empty or names the presentation language, then from the presentation language's font scheme for East Asian languages, and otherwise from the latin (major/minor) families. A missing 'major' or 'minor' falls back to the other.",
|
|
2018
|
+
"properties": {
|
|
2019
|
+
"major": {
|
|
2020
|
+
"type": "string",
|
|
2021
|
+
"description": "Heading (major) eastAsian font family \u2014 mirrors majorFont a:ea.",
|
|
2022
|
+
"examples": [
|
|
2023
|
+
"Noto Sans JP",
|
|
2024
|
+
"Meiryo",
|
|
2025
|
+
"Microsoft YaHei"
|
|
2026
|
+
]
|
|
2027
|
+
},
|
|
2028
|
+
"minor": {
|
|
2029
|
+
"type": "string",
|
|
2030
|
+
"description": "Body (minor) eastAsian font family \u2014 mirrors minorFont a:ea.",
|
|
2031
|
+
"examples": [
|
|
2032
|
+
"Noto Sans JP",
|
|
2033
|
+
"Meiryo",
|
|
2034
|
+
"Microsoft YaHei"
|
|
2035
|
+
]
|
|
2036
|
+
}
|
|
2037
|
+
}
|
|
2038
|
+
},
|
|
2039
|
+
"complexScript": {
|
|
2040
|
+
"type": "object",
|
|
2041
|
+
"additionalProperties": false,
|
|
2042
|
+
"minProperties": 1,
|
|
2043
|
+
"description": "Complex-script fonts (for example Arabic, Hebrew, Indic and Thai). Maps to the OOXML a:cs element of majorFont (major) and minorFont (minor), and to run-level a:cs. When set, they fill the complexScript slot for every language; when omitted, the slot comes from this scheme's own major/minor when languageFamily is 'cs' and the scheme's languages list is empty or names the presentation language, then from the presentation language's font scheme for complex-script languages, and otherwise from the latin (major/minor) families. A missing 'major' or 'minor' falls back to the other.",
|
|
2044
|
+
"properties": {
|
|
2045
|
+
"major": {
|
|
2046
|
+
"type": "string",
|
|
2047
|
+
"description": "Heading (major) complexScript font family \u2014 mirrors majorFont a:cs.",
|
|
2048
|
+
"examples": [
|
|
2049
|
+
"Noto Sans Arabic",
|
|
2050
|
+
"Arial",
|
|
2051
|
+
"Mangal"
|
|
2052
|
+
]
|
|
2053
|
+
},
|
|
2054
|
+
"minor": {
|
|
2055
|
+
"type": "string",
|
|
2056
|
+
"description": "Body (minor) complexScript font family \u2014 mirrors minorFont a:cs.",
|
|
2057
|
+
"examples": [
|
|
2058
|
+
"Noto Sans Arabic",
|
|
2059
|
+
"Arial",
|
|
2060
|
+
"Mangal"
|
|
2061
|
+
]
|
|
2062
|
+
}
|
|
2063
|
+
}
|
|
2064
|
+
},
|
|
1858
2065
|
"type": {
|
|
1859
2066
|
"type": "string",
|
|
1860
2067
|
"enum": [
|
|
@@ -1879,7 +2086,7 @@ Resolution order: inline catalogs.fontSchemes.records[] -> catalogs.fontSchemes.
|
|
|
1879
2086
|
"ea",
|
|
1880
2087
|
"cs"
|
|
1881
2088
|
],
|
|
1882
|
-
"description": "OOXML font-language family this scheme is intended for: 'latin' for Latin-script content, 'ea' for East Asian scripts, 'cs' for Complex Scripts."
|
|
2089
|
+
"description": "OOXML font-language family this scheme is intended for: 'latin' for Latin-script content, 'ea' for East Asian scripts, 'cs' for Complex Scripts. As the design font scheme, an 'ea' or 'cs' scheme also fills that script slot with its own major/minor families when its languages list is empty or names the presentation language."
|
|
1883
2090
|
},
|
|
1884
2091
|
"heading": {
|
|
1885
2092
|
"$ref": "#/$defs/Font",
|
|
@@ -1895,7 +2102,7 @@ Resolution order: inline catalogs.fontSchemes.records[] -> catalogs.fontSchemes.
|
|
|
1895
2102
|
},
|
|
1896
2103
|
"code": {
|
|
1897
2104
|
"$ref": "#/$defs/Font",
|
|
1898
|
-
"description": "Abstract role: monospaced font used for code blocks. No direct OOXML slot."
|
|
2105
|
+
"description": "Abstract role: monospaced font used for code blocks and inline code. No direct OOXML slot. Resolution: this override, then the resolved catalog record's 'code' (for example Consolas for the consolas scheme), then the engine fallback Roboto Mono. Heading and body families are never used as the code fallback."
|
|
1899
2106
|
}
|
|
1900
2107
|
}
|
|
1901
2108
|
},
|
|
@@ -2303,11 +2510,11 @@ Resolution order: inline catalogs.fontSchemes.records[] -> catalogs.fontSchemes.
|
|
|
2303
2510
|
"properties": {
|
|
2304
2511
|
"preset": {
|
|
2305
2512
|
"type": "string",
|
|
2306
|
-
"description": "Pattern preset or engine-defined pattern id.",
|
|
2513
|
+
"description": "Pattern preset or engine-defined pattern id. DrawingML preset names (ECMA-376 ST_PresetPatternVal, for example pct5, ltHorz, wdUpDiag) are portable: PPTX export writes them as native pattern fills and import returns the same name. Engine-defined ids are renderer-specific; the legacy preview id diagStripe remains accepted and exports as wdUpDiag.",
|
|
2307
2514
|
"examples": [
|
|
2308
2515
|
"pct5",
|
|
2309
2516
|
"ltHorz",
|
|
2310
|
-
"
|
|
2517
|
+
"wdUpDiag"
|
|
2311
2518
|
]
|
|
2312
2519
|
},
|
|
2313
2520
|
"foregroundColor": {
|
|
@@ -2429,7 +2636,7 @@ Resolution order: inline catalogs.fontSchemes.records[] -> catalogs.fontSchemes.
|
|
|
2429
2636
|
},
|
|
2430
2637
|
"HeaderFooterItem": {
|
|
2431
2638
|
"type": "object",
|
|
2432
|
-
"description": "One header/footer zone.
|
|
2639
|
+
"description": "One header/footer zone. Every configured field renders; fields in one zone stack top to bottom in the order image, text, organization, section, slide number, date. Put a date and a slide number in different zones to keep each on the zone's single line.",
|
|
2433
2640
|
"properties": {
|
|
2434
2641
|
"text": {
|
|
2435
2642
|
"type": "string",
|
|
@@ -2449,7 +2656,18 @@ Resolution order: inline catalogs.fontSchemes.records[] -> catalogs.fontSchemes.
|
|
|
2449
2656
|
},
|
|
2450
2657
|
"slideNumber": {
|
|
2451
2658
|
"type": "boolean",
|
|
2452
|
-
"description": "Whether to render the current slide number in this zone."
|
|
2659
|
+
"description": "Whether to render the current slide number in this zone. PPTX export writes a native slide-number field when its value fits within one accepted text line; a value split across lines exports as static text with a diagnostic."
|
|
2660
|
+
},
|
|
2661
|
+
"slideNumberFormat": {
|
|
2662
|
+
"type": "string",
|
|
2663
|
+
"pattern": "[{]current[}]",
|
|
2664
|
+
"description": 'Template for the slide number when slideNumber is true. {current} is the displayed slide number (a native PPTX field when its value fits within one accepted text line); {total} is the number of slides in the rendered or exported deck, written as fixed text because PowerPoint has no slide-count field. Other characters are literal. Defaults to "{current}".',
|
|
2665
|
+
"examples": [
|
|
2666
|
+
"{current}",
|
|
2667
|
+
"{current} / {total}",
|
|
2668
|
+
"A-{current}",
|
|
2669
|
+
"Page {current} of {total}"
|
|
2670
|
+
]
|
|
2453
2671
|
},
|
|
2454
2672
|
"date": {
|
|
2455
2673
|
"oneOf": [
|
|
@@ -2460,7 +2678,23 @@ Resolution order: inline catalogs.fontSchemes.records[] -> catalogs.fontSchemes.
|
|
|
2460
2678
|
"type": "string"
|
|
2461
2679
|
}
|
|
2462
2680
|
],
|
|
2463
|
-
"description": "
|
|
2681
|
+
"description": "true renders the current date: the renderer or exporter must be given an explicit ISO date by its host (core never reads a clock). PPTX export writes a native date field only for a supported dateFormat whose complete value fits within one accepted text line; otherwise it writes static text with a diagnostic. Native PowerPoint refresh and save/reopen compatibility require separate verification. A string is fixed: with dateFormat it must be an ISO YYYY-MM-DD date and is formatted; without dateFormat it is literal text rendered as written.",
|
|
2682
|
+
"examples": [
|
|
2683
|
+
true,
|
|
2684
|
+
"2026-04-23",
|
|
2685
|
+
"April 2026"
|
|
2686
|
+
]
|
|
2687
|
+
},
|
|
2688
|
+
"dateFormat": {
|
|
2689
|
+
"type": "string",
|
|
2690
|
+
"minLength": 1,
|
|
2691
|
+
"description": `Date pattern for date. Tokens: yyyy (2026), yy (26), MMMM (April), MMM (Apr), MM (04), M (4), dd (09), d (9), EEEE (Thursday), EEE (Thu). Text in single quotes and other non-letter characters are literal. Month and weekday names are English, independent of host locale. Defaults to "M/d/yyyy" for a current date. PPTX export writes a native current-date field only when its complete value fits within one accepted text line and the pattern matches a PowerPoint en-US date field ('M/d/yyyy'; 'EEEE, MMMM d, yyyy'; 'd MMMM yyyy'; 'MMMM d, yyyy'; 'd-MMM-yy'; 'MMMM yy'; 'MMM-yy'). Other patterns and wrapped fields export as static text with a diagnostic. Full provenance can recover generated-date intent from unchanged supported wrapped dates on OPF reimport; the existing PPTX text remains static.`,
|
|
2692
|
+
"examples": [
|
|
2693
|
+
"MMM d, yyyy",
|
|
2694
|
+
"yyyy-MM-dd",
|
|
2695
|
+
"MMM yyyy",
|
|
2696
|
+
"MMMM d, yyyy"
|
|
2697
|
+
]
|
|
2464
2698
|
},
|
|
2465
2699
|
"organization": {
|
|
2466
2700
|
"type": "boolean",
|
|
@@ -2469,6 +2703,10 @@ Resolution order: inline catalogs.fontSchemes.records[] -> catalogs.fontSchemes.
|
|
|
2469
2703
|
"section": {
|
|
2470
2704
|
"type": "boolean",
|
|
2471
2705
|
"description": "Whether to render the current slide section label."
|
|
2706
|
+
},
|
|
2707
|
+
"socials": {
|
|
2708
|
+
"type": "boolean",
|
|
2709
|
+
"description": "Whether to render the primary organization's social profiles from organization.socials, one line per platform in key order. A handle is formatted through the platform's socialPlatforms record (companyUrlPattern, else profileUrlPattern, else baseUrl, with handlePrefix stripped) and shown as that profile URL without its 'https://' scheme; a value that is already a URL is shown without an 'https://' scheme; an unknown platform key shows the raw value. Exporters link each line to its full URL when one exists. Speaker socials are not rendered by this field."
|
|
2472
2710
|
}
|
|
2473
2711
|
}
|
|
2474
2712
|
},
|
|
@@ -3762,13 +4000,12 @@ Resolution order: inline catalogs.fontSchemes.records[] -> catalogs.fontSchemes.
|
|
|
3762
4000
|
"properties": {
|
|
3763
4001
|
"type": {
|
|
3764
4002
|
"type": "string",
|
|
3765
|
-
"description": "Chart type id. Resolves to the id of a chartTypes catalog record; renderers map that record through mappings.openxml and any renderer-specific mapping they understand.",
|
|
4003
|
+
"description": "Chart type id. Resolves to the id of a chartTypes catalog record; renderers map that record through mappings.openxml and any renderer-specific mapping they understand. The bundled catalog covers the chart types Aspose.Slides officially supports; deprecated ids still resolve but validate with a warning naming their replacement.",
|
|
3766
4004
|
"examples": [
|
|
3767
|
-
"bar",
|
|
3768
4005
|
"column",
|
|
4006
|
+
"bar",
|
|
3769
4007
|
"line",
|
|
3770
4008
|
"pie",
|
|
3771
|
-
"donut",
|
|
3772
4009
|
"doughnut",
|
|
3773
4010
|
"area",
|
|
3774
4011
|
"scatter",
|
|
@@ -3776,7 +4013,7 @@ Resolution order: inline catalogs.fontSchemes.records[] -> catalogs.fontSchemes.
|
|
|
3776
4013
|
"waterfall",
|
|
3777
4014
|
"funnel",
|
|
3778
4015
|
"treemap",
|
|
3779
|
-
"
|
|
4016
|
+
"stacked-column-3x"
|
|
3780
4017
|
]
|
|
3781
4018
|
},
|
|
3782
4019
|
"data": {
|
|
@@ -5291,7 +5528,7 @@ var chartType = {
|
|
|
5291
5528
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
5292
5529
|
"$id": "https://openpresentation.org/schema/opf-chart-type/v1",
|
|
5293
5530
|
"title": "Chart Type",
|
|
5294
|
-
"description":
|
|
5531
|
+
"description": 'Schema for chart-type records in the pptx.gallery catalog. The bundled catalog holds one record per chart type that Aspose.Slides officially supports (see mappings.renderers["aspose-slides"].chartType). Each record describes a named chart variant, its Open XML mapping, its series/category cardinality, the column structure of the underlying workbook, and a small sample dataset suitable for previews. Chart types are referenced from OPF chart content payloads; the engine resolves the reference against catalogs.chartTypes (inline) -> catalogs.chartTypes.source -> the default catalog at https://www.pptx.gallery/chart-types.',
|
|
5295
5532
|
"type": "object",
|
|
5296
5533
|
"additionalProperties": false,
|
|
5297
5534
|
"required": [
|
|
@@ -5312,11 +5549,11 @@ var chartType = {
|
|
|
5312
5549
|
"description": "Stable slug used by OPF documents to reference this chart type. Lowercase kebab-case. Chart type ids may start with a digit (e.g., '100pct-stacked-column', '3d-column') to mirror conventional chart naming.",
|
|
5313
5550
|
"examples": [
|
|
5314
5551
|
"column",
|
|
5315
|
-
"
|
|
5316
|
-
"stacked-column",
|
|
5552
|
+
"bar",
|
|
5553
|
+
"stacked-column-3x",
|
|
5317
5554
|
"doughnut",
|
|
5318
|
-
"
|
|
5319
|
-
"100pct-stacked-column"
|
|
5555
|
+
"treemap",
|
|
5556
|
+
"100pct-stacked-column-3x"
|
|
5320
5557
|
]
|
|
5321
5558
|
},
|
|
5322
5559
|
"name": {
|
|
@@ -5324,9 +5561,9 @@ var chartType = {
|
|
|
5324
5561
|
"description": "Stable display/programmatic name for this chart type.",
|
|
5325
5562
|
"examples": [
|
|
5326
5563
|
"COLUMN",
|
|
5327
|
-
"
|
|
5564
|
+
"STACKED_COLUMN_3X",
|
|
5328
5565
|
"DOUGHNUT",
|
|
5329
|
-
"
|
|
5566
|
+
"TREEMAP"
|
|
5330
5567
|
]
|
|
5331
5568
|
},
|
|
5332
5569
|
"label": {
|
|
@@ -5334,9 +5571,9 @@ var chartType = {
|
|
|
5334
5571
|
"description": "Human-readable label shown in chart pickers.",
|
|
5335
5572
|
"examples": [
|
|
5336
5573
|
"Column",
|
|
5337
|
-
"
|
|
5574
|
+
"Stacked Column",
|
|
5338
5575
|
"Doughnut",
|
|
5339
|
-
"
|
|
5576
|
+
"Treemap"
|
|
5340
5577
|
]
|
|
5341
5578
|
},
|
|
5342
5579
|
"summary": {
|
|
@@ -5358,6 +5595,10 @@ var chartType = {
|
|
|
5358
5595
|
"$ref": "#/$defs/ChartTypeMappings",
|
|
5359
5596
|
"description": "Canonical and optional renderer-specific mappings used by engines to render this chart type."
|
|
5360
5597
|
},
|
|
5598
|
+
"deprecation": {
|
|
5599
|
+
"$ref": "#/$defs/ChartTypeDeprecation",
|
|
5600
|
+
"description": "Present when this chart type is deprecated. Deprecated records stay resolvable so existing documents keep validating, but pickers and default listings exclude them, validators warn when a document references them, and they are removed in the release named by `removal`."
|
|
5601
|
+
},
|
|
5361
5602
|
"group": {
|
|
5362
5603
|
"type": "string",
|
|
5363
5604
|
"description": "Top-level grouping in the chart picker (column, bar, line, area, pie, radar, etc.).",
|
|
@@ -5594,6 +5835,35 @@ var chartType = {
|
|
|
5594
5835
|
}
|
|
5595
5836
|
},
|
|
5596
5837
|
"$defs": {
|
|
5838
|
+
"ChartTypeDeprecation": {
|
|
5839
|
+
"type": "object",
|
|
5840
|
+
"additionalProperties": false,
|
|
5841
|
+
"required": [
|
|
5842
|
+
"replacedBy"
|
|
5843
|
+
],
|
|
5844
|
+
"properties": {
|
|
5845
|
+
"replacedBy": {
|
|
5846
|
+
"type": "string",
|
|
5847
|
+
"pattern": "^[a-z0-9][a-z0-9-]*$",
|
|
5848
|
+
"description": "Id of the non-deprecated chart type that documents should reference instead.",
|
|
5849
|
+
"examples": [
|
|
5850
|
+
"column",
|
|
5851
|
+
"stacked-column-3x"
|
|
5852
|
+
]
|
|
5853
|
+
},
|
|
5854
|
+
"reason": {
|
|
5855
|
+
"type": "string",
|
|
5856
|
+
"description": "Why the record is deprecated."
|
|
5857
|
+
},
|
|
5858
|
+
"removal": {
|
|
5859
|
+
"type": "string",
|
|
5860
|
+
"description": "Package version in which the record is scheduled for removal from the bundled catalog.",
|
|
5861
|
+
"examples": [
|
|
5862
|
+
"0.12.0"
|
|
5863
|
+
]
|
|
5864
|
+
}
|
|
5865
|
+
}
|
|
5866
|
+
},
|
|
5597
5867
|
"ChartTypeMappings": {
|
|
5598
5868
|
"type": "object",
|
|
5599
5869
|
"additionalProperties": false,
|
|
@@ -5607,11 +5877,18 @@ var chartType = {
|
|
|
5607
5877
|
},
|
|
5608
5878
|
"renderers": {
|
|
5609
5879
|
"type": "object",
|
|
5610
|
-
"description":
|
|
5880
|
+
"description": 'Optional renderer-specific mappings. Keys are renderer ids; values are intentionally opaque to OPF. The bundled catalog records the matching Aspose.Slides ChartType enumeration member under the "aspose-slides" key, e.g. {"aspose-slides": {"chartType": "StackedColumn"}}.',
|
|
5611
5881
|
"additionalProperties": {
|
|
5612
5882
|
"type": "object",
|
|
5613
5883
|
"additionalProperties": true
|
|
5614
|
-
}
|
|
5884
|
+
},
|
|
5885
|
+
"examples": [
|
|
5886
|
+
{
|
|
5887
|
+
"aspose-slides": {
|
|
5888
|
+
"chartType": "ClusteredColumn"
|
|
5889
|
+
}
|
|
5890
|
+
}
|
|
5891
|
+
]
|
|
5615
5892
|
}
|
|
5616
5893
|
}
|
|
5617
5894
|
},
|
|
@@ -6292,13 +6569,25 @@ var language = {
|
|
|
6292
6569
|
"zh-Hans"
|
|
6293
6570
|
]
|
|
6294
6571
|
},
|
|
6572
|
+
"ooxmlLang": {
|
|
6573
|
+
"type": "string",
|
|
6574
|
+
"description": "Curated culture tag for OOXML text-run language attributes (a:rPr/@lang, a:endParaRPr/@lang), in the language-[Script-]REGION form Office recognizes (e.g. 'ja-JP', 'ar-SA', 'ms-MY', 'nb-NO', 'fil-PH', 'zh-CN'). Engines emit it instead of 'bcp47' when the document names the language by catalog id or by a tag without a region; a region-bearing tag written by the author is emitted as written. Curated rather than inferred so output does not depend on the runtime's locale data.",
|
|
6575
|
+
"examples": [
|
|
6576
|
+
"en-US",
|
|
6577
|
+
"ja-JP",
|
|
6578
|
+
"ar-SA",
|
|
6579
|
+
"ms-MY",
|
|
6580
|
+
"nb-NO",
|
|
6581
|
+
"zh-CN"
|
|
6582
|
+
]
|
|
6583
|
+
},
|
|
6295
6584
|
"direction": {
|
|
6296
6585
|
"type": "string",
|
|
6297
6586
|
"enum": [
|
|
6298
6587
|
"ltr",
|
|
6299
6588
|
"rtl"
|
|
6300
6589
|
],
|
|
6301
|
-
"description": "Base text direction for the language.",
|
|
6590
|
+
"description": "Base text direction for the language. When omitted, engines derive it from the script: Arabic (Arab), Hebrew (Hebr), Syriac (Syrc), Thaana (Thaa), N'Ko (Nkoo), Adlam (Adlm), Samaritan (Samr), Mandaic (Mand) and Hanifi Rohingya (Rohg) are right-to-left; every other script is left-to-right. Bundled language records state it explicitly.",
|
|
6302
6591
|
"examples": [
|
|
6303
6592
|
"ltr",
|
|
6304
6593
|
"rtl"
|
|
@@ -6306,18 +6595,24 @@ var language = {
|
|
|
6306
6595
|
},
|
|
6307
6596
|
"script": {
|
|
6308
6597
|
"type": "string",
|
|
6309
|
-
"description": "ISO 15924 script code
|
|
6598
|
+
"description": "ISO 15924 script code of the language's writing system. The script selects the OOXML font slot the language's text uses: East Asian scripts (Hans, Hant, Hani, Jpan, Kore, Hang, Hira, Kana, Bopo, Yiii) use the eastAsian slot; complex scripts (for example Arab, Hebr, Syrc, Thaa, Deva, Beng, Guru, Gujr, Orya, Taml, Telu, Knda, Mlym, Sinh, Thai, Laoo, Tibt, Mymr, Khmr, Mong) use the complexScript slot; every other script (Latn, Cyrl, Grek, Armn, Geor, Ethi, ...) uses the latin slot. When omitted, engines infer it from the BCP-47 tag. Bundled language records state it explicitly. See docs/programs/font-fidelity-everywhere/script-font-model.md.",
|
|
6310
6599
|
"examples": [
|
|
6311
6600
|
"Latn",
|
|
6312
|
-
"Arab",
|
|
6313
6601
|
"Cyrl",
|
|
6602
|
+
"Grek",
|
|
6603
|
+
"Arab",
|
|
6604
|
+
"Hebr",
|
|
6605
|
+
"Jpan",
|
|
6606
|
+
"Kore",
|
|
6314
6607
|
"Hans",
|
|
6315
|
-
"Hant"
|
|
6608
|
+
"Hant",
|
|
6609
|
+
"Deva",
|
|
6610
|
+
"Thai"
|
|
6316
6611
|
]
|
|
6317
6612
|
},
|
|
6318
6613
|
"fontScheme": {
|
|
6319
6614
|
"type": "string",
|
|
6320
|
-
"description": "Default font-scheme id for this language when targeting PowerPoint output. Resolves against catalogs.fontSchemes the same way design.fontScheme or design.fontScheme.id does.",
|
|
6615
|
+
"description": "Default font-scheme id for this language when targeting PowerPoint output. Resolves against catalogs.fontSchemes the same way design.fontScheme or design.fontScheme.id does. Its major/minor families fill the language's script slot (eastAsian or complexScript, chosen by 'script') unless the effective design font scheme sets that slot itself; the latin slot always follows the design font scheme.",
|
|
6321
6616
|
"examples": [
|
|
6322
6617
|
"aptos",
|
|
6323
6618
|
"microsoft-yahei",
|
|
@@ -6326,7 +6621,7 @@ var language = {
|
|
|
6326
6621
|
},
|
|
6327
6622
|
"googleFontScheme": {
|
|
6328
6623
|
"type": "string",
|
|
6329
|
-
"description": "Default font-scheme id for this language when targeting Google Slides output. Resolves against catalogs.fontSchemes the same way design.fontScheme or design.fontScheme.id does.",
|
|
6624
|
+
"description": "Default font-scheme id for this language when targeting Google Slides output. Resolves against catalogs.fontSchemes the same way design.fontScheme or design.fontScheme.id does. Used in place of 'fontScheme' when resolving script fonts for Google Slides output.",
|
|
6330
6625
|
"examples": [
|
|
6331
6626
|
"roboto",
|
|
6332
6627
|
"noto-sans",
|
|
@@ -6660,6 +6955,96 @@ var fontScheme = {
|
|
|
6660
6955
|
"Microsoft YaHei"
|
|
6661
6956
|
]
|
|
6662
6957
|
},
|
|
6958
|
+
"code": {
|
|
6959
|
+
"type": "object",
|
|
6960
|
+
"description": "Optional monospaced font for code blocks and inline code. It has the same shape as the OPF FontScheme 'code' role, so a record and an inline design.fontScheme override are interchangeable. OOXML has no code slot, so exporters write this family on code runs. When neither design.fontScheme nor the resolved record defines 'code', engines fall back to Roboto Mono.",
|
|
6961
|
+
"required": [
|
|
6962
|
+
"family"
|
|
6963
|
+
],
|
|
6964
|
+
"properties": {
|
|
6965
|
+
"family": {
|
|
6966
|
+
"type": "string",
|
|
6967
|
+
"description": "Monospaced font family name.",
|
|
6968
|
+
"examples": [
|
|
6969
|
+
"Consolas",
|
|
6970
|
+
"Courier New"
|
|
6971
|
+
]
|
|
6972
|
+
},
|
|
6973
|
+
"weight": {
|
|
6974
|
+
"type": "number",
|
|
6975
|
+
"description": "Numeric font weight (e.g., 400 for regular, 700 for bold)."
|
|
6976
|
+
},
|
|
6977
|
+
"style": {
|
|
6978
|
+
"type": "string",
|
|
6979
|
+
"enum": [
|
|
6980
|
+
"normal",
|
|
6981
|
+
"italic"
|
|
6982
|
+
],
|
|
6983
|
+
"description": "Font style."
|
|
6984
|
+
},
|
|
6985
|
+
"letterSpacing": {
|
|
6986
|
+
"type": "number",
|
|
6987
|
+
"description": "Letter spacing (tracking) in ems."
|
|
6988
|
+
}
|
|
6989
|
+
},
|
|
6990
|
+
"examples": [
|
|
6991
|
+
{
|
|
6992
|
+
"family": "Consolas"
|
|
6993
|
+
}
|
|
6994
|
+
]
|
|
6995
|
+
},
|
|
6996
|
+
"eastAsian": {
|
|
6997
|
+
"type": "object",
|
|
6998
|
+
"additionalProperties": false,
|
|
6999
|
+
"minProperties": 1,
|
|
7000
|
+
"description": "East Asian script fonts. Maps to the OOXML a:ea element of majorFont (major) and minorFont (minor), and to run-level a:ea. When set, they fill the eastAsian slot for every language; when omitted, the slot comes from this scheme's own major/minor when languageFamily is 'ea' and the scheme's languages list is empty or names the presentation language, then from the presentation language's font scheme for East Asian languages, and otherwise from the latin (major/minor) families. A missing 'major' or 'minor' falls back to the other.",
|
|
7001
|
+
"properties": {
|
|
7002
|
+
"major": {
|
|
7003
|
+
"type": "string",
|
|
7004
|
+
"description": "Heading (major) eastAsian font family \u2014 mirrors majorFont a:ea.",
|
|
7005
|
+
"examples": [
|
|
7006
|
+
"Noto Sans JP",
|
|
7007
|
+
"Meiryo",
|
|
7008
|
+
"Microsoft YaHei"
|
|
7009
|
+
]
|
|
7010
|
+
},
|
|
7011
|
+
"minor": {
|
|
7012
|
+
"type": "string",
|
|
7013
|
+
"description": "Body (minor) eastAsian font family \u2014 mirrors minorFont a:ea.",
|
|
7014
|
+
"examples": [
|
|
7015
|
+
"Noto Sans JP",
|
|
7016
|
+
"Meiryo",
|
|
7017
|
+
"Microsoft YaHei"
|
|
7018
|
+
]
|
|
7019
|
+
}
|
|
7020
|
+
}
|
|
7021
|
+
},
|
|
7022
|
+
"complexScript": {
|
|
7023
|
+
"type": "object",
|
|
7024
|
+
"additionalProperties": false,
|
|
7025
|
+
"minProperties": 1,
|
|
7026
|
+
"description": "Complex-script fonts (for example Arabic, Hebrew, Indic and Thai). Maps to the OOXML a:cs element of majorFont (major) and minorFont (minor), and to run-level a:cs. When set, they fill the complexScript slot for every language; when omitted, the slot comes from this scheme's own major/minor when languageFamily is 'cs' and the scheme's languages list is empty or names the presentation language, then from the presentation language's font scheme for complex-script languages, and otherwise from the latin (major/minor) families. A missing 'major' or 'minor' falls back to the other.",
|
|
7027
|
+
"properties": {
|
|
7028
|
+
"major": {
|
|
7029
|
+
"type": "string",
|
|
7030
|
+
"description": "Heading (major) complexScript font family \u2014 mirrors majorFont a:cs.",
|
|
7031
|
+
"examples": [
|
|
7032
|
+
"Noto Sans Arabic",
|
|
7033
|
+
"Arial",
|
|
7034
|
+
"Mangal"
|
|
7035
|
+
]
|
|
7036
|
+
},
|
|
7037
|
+
"minor": {
|
|
7038
|
+
"type": "string",
|
|
7039
|
+
"description": "Body (minor) complexScript font family \u2014 mirrors minorFont a:cs.",
|
|
7040
|
+
"examples": [
|
|
7041
|
+
"Noto Sans Arabic",
|
|
7042
|
+
"Arial",
|
|
7043
|
+
"Mangal"
|
|
7044
|
+
]
|
|
7045
|
+
}
|
|
7046
|
+
}
|
|
7047
|
+
},
|
|
6663
7048
|
"type": {
|
|
6664
7049
|
"type": "string",
|
|
6665
7050
|
"enum": [
|
|
@@ -6684,7 +7069,7 @@ var fontScheme = {
|
|
|
6684
7069
|
"ea",
|
|
6685
7070
|
"cs"
|
|
6686
7071
|
],
|
|
6687
|
-
"description": "OOXML font-language family this scheme is intended for: 'latin' for Latin-script content, 'ea' for East Asian scripts, 'cs' for Complex Scripts."
|
|
7072
|
+
"description": "OOXML font-language family this scheme is intended for: 'latin' for Latin-script content, 'ea' for East Asian scripts, 'cs' for Complex Scripts. As the design font scheme, an 'ea' or 'cs' scheme also fills that script slot with its own major/minor families when its languages list is empty or names the presentation language."
|
|
6688
7073
|
},
|
|
6689
7074
|
"languages": {
|
|
6690
7075
|
"type": "array",
|