Skip to content

Commit ddcb087

Browse files
committed
fix(examples): the deck called the PPTX backend a manifest skeleton
render-pptx ships two backends: PptxSemanticBackend, the slide-safe skeleton, and PptxFixedLayoutBackend, which implements FixedLayoutRenderer and is discovered through FixedLayoutBackendProvider exactly as the PDF backend is. The module table listed render-pptx as "manifest only" and the architecture proof card said PPTX was a skeleton, contradicting the deck's own first page, which already labels render-pptx "fixed layout", and the capability matrix, which gives PPTX (fixed) a column beside PDF. The deck is republished by this change, so it was about to carry that understatement of the engine's own capability into the release assets again.
1 parent e3ecaa8 commit ddcb087

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

1 Byte
Binary file not shown.
0 Bytes
Binary file not shown.

examples/src/main/java/com/demcha/examples/flagships/EngineDeckV2Example.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ private static void architecturePage(SectionBuilder page) {
490490
PALE_VIOLET, VIOLET);
491491
proofCard(row, "FIXED BACKEND SPI", "FixedLayoutBackendProvider and FontMetricsProvider are discovered by ServiceLoader.",
492492
PALE_BLUE, BLUE);
493-
proofCard(row, "SEMANTIC EXPORT", "DOCX is a working POI exporter; PPTX is a slide-safe manifest skeleton in 2.0.",
493+
proofCard(row, "SEMANTIC EXPORT", "DOCX is a working POI exporter; PPTX carries a slide-safe skeleton beside its fixed backend.",
494494
PALE_MINT, MINT);
495495
});
496496
page.addParagraph(p -> pageNote(p, "The renderer boundary is explicit; Android or another backend is an extension opportunity, not a shipped 2.0 claim."));
@@ -640,7 +640,7 @@ private static DocumentNode moduleMatrix() {
640640
{"core", "authoring + model"},
641641
{"render-pdf", "fixed PDF"},
642642
{"render-docx", "semantic DOCX"},
643-
{"render-pptx", "manifest only"},
643+
{"render-pptx", "fixed PPTX"},
644644
{"templates", "opt-in presets"},
645645
{"testing", "snapshot tools"},
646646
{"graph-compose", "PDF wrapper"},

examples/src/test/resources/layout-snapshots/flagships/engine-deck-v2.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5005,11 +5005,11 @@
50055005
"computedY" : 121.269,
50065006
"placementX" : 632.667,
50075007
"placementY" : 121.269,
5008-
"placementWidth" : 281.289,
5008+
"placementWidth" : 266.879,
50095009
"placementHeight" : 48.316,
50105010
"startPage" : 1,
50115011
"endPage" : 1,
5012-
"contentWidth" : 281.289,
5012+
"contentWidth" : 266.879,
50135013
"contentHeight" : 48.316,
50145014
"margin" : {
50155015
"top" : 0.0,
@@ -5065,11 +5065,11 @@
50655065
"computedY" : 132.269,
50665066
"placementX" : 643.667,
50675067
"placementY" : 132.269,
5068-
"placementWidth" : 259.289,
5068+
"placementWidth" : 244.879,
50695069
"placementHeight" : 16.185,
50705070
"startPage" : 1,
50715071
"endPage" : 1,
5072-
"contentWidth" : 259.289,
5072+
"contentWidth" : 244.879,
50735073
"contentHeight" : 16.185,
50745074
"margin" : {
50755075
"top" : 0.0,
@@ -6235,11 +6235,11 @@
62356235
"computedY" : 225.886,
62366236
"placementX" : 729.0,
62376237
"placementY" : 225.886,
6238-
"placementWidth" : 45.95,
6238+
"placementWidth" : 39.016,
62396239
"placementHeight" : 7.215,
62406240
"startPage" : 2,
62416241
"endPage" : 2,
6242-
"contentWidth" : 45.95,
6242+
"contentWidth" : 39.016,
62436243
"contentHeight" : 7.215,
62446244
"margin" : {
62456245
"top" : 0.0,
1 Byte
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)