Skip to content

AI turns documents or topics into real, native PowerPoint decks—with native shapes, transitions and animations, data-backed charts and tables on demand, audio narration from speaker notes, and support for your own .pptx templates. · by Hugo He

feat(checker): read the §VIII image-composition column as "Image pattern"

hugohe3a75e8111553d
diff --git a/skills/ppt-master/scripts/pptx_shapes/data/presetShapeSemantics.json b/skills/ppt-master/scripts/pptx_shapes/data/presetShapeSemantics.json
index f534c955..3e9bd10e 100644
--- a/skills/ppt-master/scripts/pptx_shapes/data/presetShapeSemantics.json
+++ b/skills/ppt-master/scripts/pptx_shapes/data/presetShapeSemantics.json
@@ -87,7 +87,7 @@
"Thin relationships whose meaning comes from endpoints, routing, or an optional marker."
],
"avoid_for": [
- "Do not substitute a line for a filled directional body or content carrier.",
+ "Do not substitute a line for a filled directional body or carrier-and-field contour.",
"Do not imply endpoint attachment; newly authored connector presets remain unconnected."
],
"presets": {
diff --git a/skills/ppt-master/scripts/svg_quality/checker.py b/skills/ppt-master/scripts/svg_quality/checker.py
index 3cd159d2..086e82f2 100644
--- a/skills/ppt-master/scripts/svg_quality/checker.py
+++ b/skills/ppt-master/scripts/svg_quality/checker.py
@@ -7534,6 +7534,11 @@ class SVGQualityChecker:
@staticmethod
def _row_layout(row: Dict[str, str]) -> str:
+ # ``Image pattern`` is the current §VIII column; ``Layout pattern`` is
+ # the pre-rename spelling still present in older Design Specs.
+ value = row.get('Image pattern', '').strip()
+ if value:
+ return value
return row.get('Layout pattern', '').strip()
@staticmethod
@@ -7806,7 +7811,7 @@ class SVGQualityChecker:
'error',
'planned_image_missing_pattern',
f"{filename or '(missing filename)'} has an empty Design "
- "Spec §VIII Layout pattern; preserve one non-empty "
+ "Spec §VIII Image pattern; preserve one non-empty "
"Strategist recommendation without locking SVG geometry.",
))
if current_image_contract and crop not in {'adaptive', 'no-crop'}:
@@ -7964,7 +7969,7 @@ class SVGQualityChecker:
'locked_image_pattern_mismatch',
f"{filename} spec_lock pattern="
f"{entry.get('pattern')!r} does not preserve the "
- "Design Spec §VIII Layout pattern recommendation "
+ "Design Spec §VIII Image pattern recommendation "
f"{layout_pattern!r}. This Design Spec-to-spec_lock "
"projection check compares ordered catalog ids when "
"present, otherwise normalized text; it does not "