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

refactor(svg): simplify pptx metadata attributes

hugohe35f4d73c31f38
diff --git a/docs/powerpoint-svg-mapping.md b/docs/powerpoint-svg-mapping.md
index 109407fd..60458483 100644
--- a/docs/powerpoint-svg-mapping.md
+++ b/docs/powerpoint-svg-mapping.md
@@ -70,7 +70,7 @@ See [`canvas-formats.md`](../skills/ppt-master/references/canvas-formats.md) for
| Title placeholder | Structured slot group with one text carrier | Layout and slide `p:ph` of type `title` | `Native-stable` | Carrier count, bounds, type, and effective index must match the Layout contract |
| Subtitle placeholder | Structured slot group with one text carrier | `p:ph` type `subTitle` | `Native-stable` | Same slot rules as title |
| Body placeholder | Structured slot group with one text carrier | `p:ph` type `body` | `Native-stable` | A multiline carrier remains one text frame |
-| Imported mirror text-placeholder frame | Positive source `data-pptx-frame="x y width height"` on the slot's `<text>` carrier, separate from the slot's reusable bounds | The Slide carrier keeps that exact `a:xfrm`; text remains editable and source hard breaks remain explicit paragraphs | `Native-stable` within supported imported text | `data-pptx-placeholder-bounds` still owns the Layout default and may differ; authored standard/fidelity slots do not duplicate bounds into this frame |
+| Imported mirror text-placeholder frame | Positive source `data-pptx-frame="x y width height"` on the slot's `<text>` carrier, separate from the slot's reusable bounds | The Slide carrier keeps that exact `a:xfrm`; text remains editable and source hard breaks remain explicit paragraphs | `Native-stable` within supported imported text | `data-pptx-bounds` still owns the Layout default and may differ; authored standard/fidelity slots do not duplicate bounds into this frame |
| Date, footer, and slide-number placeholders | Structured text slots | `p:ph` types `dt`, `ftr`, and `sldNum`, with matching Layout header/footer flags | `Native-stable` | Placeholder indices must be unique and legal |
| Picture placeholder | Structured slot with one image or supported crop carrier | `p:ph` type `pic` | `Native-stable` within the picture contract | The slot must contain exactly one compatible direct carrier |
| Chart or table placeholder | Structured slot with one matching native-object carrier | `p:ph` type `chart` or `tbl` | `Native-stable` only on native Chart/Table export | Requires valid JSON metadata and `--native-charts-and-tables` |
diff --git a/docs/zh/powerpoint-svg-mapping.md b/docs/zh/powerpoint-svg-mapping.md
index fb2e1f2d..727b5388 100644
--- a/docs/zh/powerpoint-svg-mapping.md
+++ b/docs/zh/powerpoint-svg-mapping.md
@@ -70,7 +70,7 @@ PowerPoint 意图
| 标题占位符 | 含一个文本 carrier 的结构化 slot 组 | Layout 和 Slide 的 `title` 类型 `p:ph` | `Native-stable` | carrier 数量、边界、类型与有效 index 必须与 Layout 合同一致 |
| 副标题占位符 | 含一个文本 carrier 的结构化 slot 组 | `subTitle` 类型 `p:ph` | `Native-stable` | 与标题相同的 slot 规则 |
| 正文占位符 | 含一个文本 carrier 的结构化 slot 组 | `body` 类型 `p:ph` | `Native-stable` | 多行 carrier 仍必须是一个文本框 |
-| mirror 回导文本占位符的 Slide frame | slot 的 `<text>` carrier 保留正数源 `data-pptx-frame="x y width height"`,并与 slot 的可复用 bounds 分开 | Slide carrier 保持该精确 `a:xfrm`;文字仍可编辑,源硬换行保留为显式段落 | 在受支持回导文本范围内为 `Native-stable` | `data-pptx-placeholder-bounds` 仍只定义 Layout 默认 frame,二者可以不同;standard/fidelity 创作不得为复制 bounds 而添加此 frame |
+| mirror 回导文本占位符的 Slide frame | slot 的 `<text>` carrier 保留正数源 `data-pptx-frame="x y width height"`,并与 slot 的可复用 bounds 分开 | Slide carrier 保持该精确 `a:xfrm`;文字仍可编辑,源硬换行保留为显式段落 | 在受支持回导文本范围内为 `Native-stable` | `data-pptx-bounds` 仍只定义 Layout 默认 frame,二者可以不同;standard/fidelity 创作不得为复制 bounds 而添加此 frame |
| 日期、页脚与页码占位符 | 结构化文本 slot | `dt`、`ftr` 与 `sldNum` 类型 `p:ph`,带匹配的 Layout 页眉/页脚标志 | `Native-stable` | 占位符 index 必须唯一且合法 |
| 图片占位符 | 含一个图片或受支持 crop carrier 的结构化 slot | `pic` 类型 `p:ph` | 在图片合同内为 `Native-stable` | slot 必须恰好含一个兼容的直接 carrier |
| 图表或表格占位符 | 含一个匹配原生对象 carrier 的结构化 slot | `chart` 或 `tbl` 类型 `p:ph` | 仅原生 Chart/Table 导出时为 `Native-stable` | 需要合法 JSON metadata 与 `--native-charts-and-tables` |
diff --git a/skills/ppt-master/references/executor-base.md b/skills/ppt-master/references/executor-base.md
index 83306a5d..20a929b9 100644
--- a/skills/ppt-master/references/executor-base.md
+++ b/skills/ppt-master/references/executor-base.md
@@ -101,7 +101,7 @@ Before drawing each page, look up its entry in `page_rhythm` (key format `P<NN>`
## 3. Execution Guidelines
- **Proximity**: group related elements with tight spacing; separate unrelated groups
-- **Element grouping (Mandatory)**: wrap every logical Slide-local content unit — title, core-message line, each content block, card, list item, and diagram — in a top-level `<g id="...">` with a descriptive, page-unique id. Treat every visible `<g>` as one module and declare exactly one boundary: ordinary groups use `data-pptx-module-bounds="x y width height"`; slots and native/preset groups reuse their existing specialized bounds. Nested groups also declare bounds and stay inside their nearest parent module; text stays inside its nearest module. Nested implementation groups may remain anonymous, but never unbounded. Flat pages use ordinary semantic groups; structured pages already count slot groups, while direct Master/Layout atoms remain the grouping exception. When a preset needs labels or decorations, put it and those siblings inside a separately bounded parent group; never put them inside the preset group itself.
+- **Element grouping (Mandatory)**: wrap every logical Slide-local content unit — title, core-message line, each content block, card, list item, and diagram — in a top-level `<g id="...">` with a descriptive, page-unique id. Treat every visible `<g>` as one module and declare exactly one boundary: ordinary groups and placeholder slots use `data-pptx-bounds="x y width height"`; native/preset groups reuse `data-pptx-frame`, while native chart/table groups reuse their explicit object bounds. Nested groups also declare bounds and stay inside their nearest parent module; text stays inside its nearest module. Nested implementation groups may remain anonymous, but never unbounded. Flat pages use ordinary semantic groups; structured pages already count slot groups, while direct Master/Layout atoms remain the grouping exception. When a preset needs labels or decorations, put it and those siblings inside a separately bounded parent group; never put them inside the preset group itself.
- **Spec adherence**: follow color, layout, canvas format, and typography in the spec
- **Template structure**: inherit the native visual framework only for `template_reuse_scope: mirror|layout`; `style` uses the flat route
- **Main-agent ownership**: SVG generation must run in the main agent (not sub-agents) — pages share upstream context for cross-page visual continuity
diff --git a/skills/ppt-master/references/executor-structured.md b/skills/ppt-master/references/executor-structured.md
index fe86aa95..05c32664 100644
--- a/skills/ppt-master/references/executor-structured.md
+++ b/skills/ppt-master/references/executor-structured.md
@@ -88,11 +88,11 @@ This section applies only when a deck/layout template's AI-derived lock records
**Hard rule — PowerPoint paint order**: Direct children appear in this order: Master background atoms, Layout background atoms, optional Slide background, remaining Master atoms, remaining Layout atoms, then slot groups and Slide-local content groups. Backgrounds are the inheritance plane beneath all shapes.
-**Mandatory — slot authoring**: A reusable content slot is one direct root `<g id>` carrying `data-pptx-placeholder` and positive `data-pptx-placeholder-bounds`; that design zone is also the slot module's boundary, so do not duplicate it with `data-pptx-module-bounds`. A normal slot contains exactly one compatible direct drawable child marked `data-pptx-placeholder-carrier="true"`. Export unwraps that child into the real Slide placeholder binding. Decorations do not belong in the slot; move reusable decoration to a root Layout atom and keep page-specific labels/captions in another bounded slot or Slide-local group.
+**Mandatory — slot authoring**: A reusable content slot is one direct root `<g id>` carrying `data-pptx-placeholder` and one positive `data-pptx-bounds`; the same design zone is both the reusable Layout default and the slot module boundary. A normal slot contains exactly one compatible direct drawable child marked `data-pptx-carrier="true"`. Export unwraps that child into the real Slide placeholder binding. Decorations do not belong in the slot; move reusable decoration to a root Layout atom and keep page-specific labels/captions in another bounded slot or Slide-local group.
-**Mandatory — slot identity**: Preserve imported `data-pptx-placeholder-idx` values where available; otherwise omit the title index and assign unique indices only where repeated roles need disambiguation. Pages sharing one Layout key repeat the same slot ids/types/effective indices/default bounds/binding modes. Current text, crop, and Slide-local carrier geometry may differ.
+**Mandatory — slot identity**: Preserve imported `data-pptx-idx` values where available; otherwise omit the title index and assign unique indices only where repeated roles need disambiguation. Pages sharing one Layout key repeat the same slot ids/types/effective indices/default bounds/binding modes. Current text, crop, and Slide-local carrier geometry may differ.
-**Composite proxy fallback**: A genuinely composite region may use a direct `<g data-pptx-placeholder="object" data-pptx-placeholder-binding="proxy">` with positive bounds. Its visible group remains Slide-local and export creates one hidden transparent matching placeholder proxy. This downgrade is valid only for `object`; do not use it for an ordinary title, body, picture, chart, table, or media slot.
+**Composite proxy fallback**: A genuinely composite region may use a direct `<g data-pptx-placeholder="object" data-pptx-binding="proxy">` with positive bounds. Its visible group remains Slide-local and export creates one hidden transparent matching placeholder proxy. This downgrade is valid only for `object`; do not use it for an ordinary title, body, picture, chart, table, or media slot.
**Forbidden — dummy carriers**: Never satisfy a carrier slot with tiny text, near-transparent glyphs, background-colored punctuation, or other fake content. Leave an intentionally blank text carrier empty/whitespace-only—the exporter emits a legal invisible U+200B run—or use the composite `object` proxy contract. If `strict` prototype binding cannot represent the completed composition, surface the mismatch; select a compatible prototype or create an explicit adaptive Layout instead of hiding the conflict.
@@ -155,21 +155,21 @@ Do **not** invent a prototype entry, and do **not** assume a structured template
<text id="master-footer" data-pptx-layer="master" …>…</text> <!-- no Master/Layout g -->
<path id="layout-rule" data-pptx-layer="layout" …/> <!-- one atomic Layout object -->
<g id="title-slot" data-pptx-placeholder="title"
- data-pptx-placeholder-bounds="60 36 1160 64">
- <text id="title-carrier" data-pptx-placeholder-carrier="true" …>…</text>
+ data-pptx-bounds="60 36 1160 64">
+ <text id="title-carrier" data-pptx-carrier="true" …>…</text>
</g>
<g id="body-slot" data-pptx-placeholder="body"
- data-pptx-placeholder-idx="1"
- data-pptx-placeholder-bounds="60 120 470 500">
- <text id="body-carrier" data-pptx-placeholder-carrier="true" …>…</text>
+ data-pptx-idx="1"
+ data-pptx-bounds="60 120 470 500">
+ <text id="body-carrier" data-pptx-carrier="true" …>…</text>
</g>
<g id="picture-slot" data-pptx-placeholder="picture"
- data-pptx-placeholder-idx="2"
- data-pptx-placeholder-bounds="570 120 650 500">
- <image id="picture-carrier" data-pptx-placeholder-carrier="true" …/>
+ data-pptx-idx="2"
+ data-pptx-bounds="570 120 650 500">
+ <image id="picture-carrier" data-pptx-carrier="true" …/>
</g>
- <g id="content-block-1">…</g> <!-- 3–8 content groups -->
- <g id="content-block-2">…</g>
+ <g id="content-block-1" data-pptx-bounds="60 120 470 500">…</g> <!-- 3–8 content groups -->
+ <g id="content-block-2" data-pptx-bounds="570 120 650 500">…</g>
</svg>
```
diff --git a/skills/ppt-master/references/pptx-structure-interface.md b/skills/ppt-master/references/pptx-structure-interface.md
index 73a89c77..70a38091 100644
--- a/skills/ppt-master/references/pptx-structure-interface.md
+++ b/skills/ppt-master/references/pptx-structure-interface.md
@@ -73,13 +73,13 @@ prototype size remain unchanged.
| `data-pptx-layer="layout"` | direct semantic atom | Moves one repeated static object/background into the selected Layout; ordinary `<g>` is forbidden, while one validated compact authored-preset `<g>` (§1.5) is an atomic exception |
| `data-pptx-layer="slide"` | direct full-canvas solid `<rect>` only | Writes a one-page override as Slide `p:bg` |
| `data-pptx-placeholder="..."` | direct slot `<g id>` | Declares a reusable Layout slot whose visible content remains Slide-local |
-| `data-pptx-placeholder-bounds="x y width height"` | slot `<g>` | Supplies the positive reusable design-zone frame in SVG user units with at most two decimals per value |
-| `data-pptx-placeholder-idx="1"` | slot `<g>` | Retains an imported source Layout placeholder index; optional for reconstructed layouts |
-| `data-pptx-placeholder-carrier="true"` | one compatible direct child of a normal slot | Binds that visible child as the real Slide placeholder carrier |
-| `data-pptx-placeholder-binding="proxy"` | composite `object` slot `<g>` only | Keeps the visible group ordinary and creates one hidden transparent binding proxy |
+| `data-pptx-bounds="x y width height"` | slot `<g>` | Supplies the positive reusable design-zone frame in SVG user units with at most two decimals per value |
+| `data-pptx-idx="1"` | slot `<g>` | Retains an imported source Layout placeholder index; optional for reconstructed layouts |
+| `data-pptx-carrier="true"` | one compatible direct child of a normal slot | Binds that visible child as the real Slide placeholder carrier |
+| `data-pptx-binding="proxy"` | composite `object` slot `<g>` only | Keeps the visible group ordinary and creates one hidden transparent binding proxy |
| `data-pptx-editable="false"` | master/layout element or slide background | Declares intentional editing outside ordinary slide content |
-**Hard rule — explicit only**: On a structured `template_reuse_scope: mirror|layout` route, every SVG requires the four root Master/Layout identity attributes. Optional inherited-shape visibility uses only exact lowercase `true` / `false`; other spellings fail, and omission means `true`. Every Master/Layout atom and slot requires a unique stable `id` and is a direct root child. Layouts with zero slots are valid. `data-pptx-layout-kind`, `distilled`, and `utility` are legacy metadata and fail the structured contract. Flat `template_reuse_scope: style`, free-design, and brand-only pages omit the entire interface, including the visibility attributes.
+**Hard rule — explicit only**: On a structured `template_reuse_scope: mirror|layout` route, every SVG requires the four root Master/Layout identity attributes. Optional inherited-shape visibility uses only exact lowercase `true` / `false`; other spellings fail, and omission means `true`. Every Master/Layout atom and slot requires a unique stable `id` and is a direct root child. Layouts with zero slots are valid. `data-pptx-layout-kind`, `distilled`, and `utility` are legacy metadata and fail the structured contract. Flat `template_reuse_scope: style`, free-design, and brand-only pages omit the structural markers and visibility attributes; ordinary groups still use the shared `data-pptx-bounds` module contract.
**Layer order**: Author the SVG in PowerPoint paint order: Master background,
Layout background, optional Slide background, remaining Master atoms, remaining Layout atoms,
@@ -103,8 +103,8 @@ and visible-stroke rects also remain ordinary objects.
| Placeholder value | Direct carrier inside slot `<g>` | PowerPoint placeholder |
|---|---|---|
-| `title`, `subtitle`, `body` | one `<text data-pptx-placeholder-carrier="true">` | `title`, `subTitle`, `body` |
-| `date`, `footer`, `slide-number` | one `<text data-pptx-placeholder-carrier="true">` | `dt`, `ftr`, `sldNum` |
+| `title`, `subtitle`, `body` | one `<text data-pptx-carrier="true">` | `title`, `subTitle`, `body` |
+| `date`, `footer`, `slide-number` | one `<text data-pptx-carrier="true">` | `dt`, `ftr`, `sldNum` |
| `picture` | one `<image>` or supported imported crop `<svg>`, marked as carrier | `pic` |
| `chart`, `table` | one matching `data-pptx-replace-with` marker group, marked as carrier | `chart`, `tbl` |
| `object` | one text, image, basic SVG shape, or validated compact authored-preset `<g>` marked as carrier; alternatively the slot group declares `binding="proxy"` | `obj` |
@@ -120,7 +120,7 @@ For a materialized mirror, an imported text carrier may additionally keep the
source shape's positive `data-pptx-frame="x y width height"`. That frame owns
the Slide carrier `a:xfrm`; the converter reconstructs text-body insets from the
visible SVG anchor/baseline instead of shrinking the shape to glyph bounds.
-`data-pptx-placeholder-bounds` remains the reusable Layout default and may
+`data-pptx-bounds` remains the reusable Layout default and may
legitimately differ. Do not add `data-pptx-frame` to an authored
`standard` / `fidelity` carrier merely to duplicate its Layout bounds.
@@ -142,7 +142,7 @@ Because an omitted `p:ph@idx` has the effective value `0`, an omitted-index
title reserves `0`; no other placeholder on that Layout may use the same
effective index.
-**Slot prototype**: The prototype source declared by the unique Layout definition supplies that Layout's placeholder formatting. `data-pptx-placeholder-bounds` supplies the reusable default frame and is mandatory on every slot. Derive it from
+**Slot prototype**: The prototype source declared by the unique Layout definition supplies that Layout's placeholder formatting. `data-pptx-bounds` supplies the reusable default frame and is mandatory on every slot. Derive it from
the intended design zone, column, panel inset, safe area, or picture frame —
never from text length, glyph width, line count, or a tight content bounding
box. Repeat the same slot ids/types/effective indices/default bounds/binding modes on every slide using that Layout. The Layout owns the reusable `p:ph`; normal visible carriers keep a matching Slide binding so approved rendering stays identical. A composite `object` proxy adds one hidden transparent binding shape to suppress empty inherited placeholder paint. Bounds define the Layout default only; actual Slide content and local carrier geometry may differ.
diff --git a/skills/ppt-master/references/semantic-svg.md b/skills/ppt-master/references/semantic-svg.md
index f23c7a96..d34543df 100644
--- a/skills/ppt-master/references/semantic-svg.md
+++ b/skills/ppt-master/references/semantic-svg.md
@@ -61,9 +61,9 @@ Use one direct root group as the authoring boundary and one compatible direct ch
```xml
<g id="title-slot"
data-pptx-placeholder="title"
- data-pptx-placeholder-bounds="72 48 1136 72">
+ data-pptx-bounds="72 48 1136 72">
<text id="title-carrier"
- data-pptx-placeholder-carrier="true"
+ data-pptx-carrier="true"
x="72" y="100">Actual title</text>
</g>
```
@@ -71,9 +71,9 @@ Use one direct root group as the authoring boundary and one compatible direct ch
| Requirement | Rule |
|---|---|
| Placement | The slot `<g id>` is a direct root child. Structural metadata may not be nested below it. |
-| Bounds | `data-pptx-placeholder-bounds="x y width height"` is mandatory, finite, and positive. It describes the reusable design zone, not the current glyph/content tight bounds. |
-| Carrier | The group contains exactly one compatible direct drawable child marked `data-pptx-placeholder-carrier="true"`. Export unwraps that child into the real Slide placeholder binding. |
-| Identity | `data-pptx-placeholder-idx` is optional; effective indices must be unique within one Layout. Preserve a source index when reconstructing an existing PPTX. |
+| Bounds | `data-pptx-bounds="x y width height"` is mandatory, finite, and positive. It describes the reusable design zone, not the current glyph/content tight bounds. |
+| Carrier | The group contains exactly one compatible direct drawable child marked `data-pptx-carrier="true"`. Export unwraps that child into the real Slide placeholder binding. |
+| Identity | `data-pptx-idx` is optional; effective indices must be unique within one Layout. Preserve a source index when reconstructing an existing PPTX. |
| Fixed decoration | Reusable decoration does not belong in the slot. Author it as a root Layout atom. Page-specific labels/captions use another slot or remain Slide-local. |
Canonical placeholder values are `title`, `subtitle`, `body`, `picture`, `chart`, `table`, `object`, `media`, `date`, `footer`, and `slide-number`. Carrier compatibility is defined in [`pptx-structure-interface.md`](./pptx-structure-interface.md) §2.
@@ -85,8 +85,8 @@ When one reusable region is a composite object that cannot bind to one real Powe
```xml
<g id="hero-composite-slot"
data-pptx-placeholder="object"
- data-pptx-placeholder-binding="proxy"
- data-pptx-placeholder-bounds="544 160 664 472">
+ data-pptx-binding="proxy"
+ data-pptx-bounds="544 160 664 472">
<rect x="544" y="160" width="664" height="472" fill="#E2E8F0"/>
<text x="576" y="214">Visible composite content</text>
</g>
diff --git a/skills/ppt-master/references/shared-standards-core.md b/skills/ppt-master/references/shared-standards-core.md
index 0d57f353..dc563673 100644
--- a/skills/ppt-master/references/shared-standards-core.md
+++ b/skills/ppt-master/references/shared-standards-core.md
@@ -301,8 +301,7 @@ one. This array is still diagnostic metadata, not an authoring surface.
| Surface | Precision contract |
|---|---|
| Imported `data-pptx-frame` in authoring IR | At most two decimals. An unchanged mirror source ref recovers the exact lossless frame before tool-side native-record externalization. |
-| `data-pptx-module-bounds` in generated SVG | At most two decimals. |
-| `data-pptx-placeholder-bounds` in final template SVG | At most two decimals. |
+| `data-pptx-bounds` in generated and final template SVG | At most two decimals. |
| `translate(...)`, `rotate(... cx cy)`, and `matrix(... e f)` | Translation values and rotation centers use at most two decimals. Keep the rotation angle and matrix `a b c d` coefficients unchanged. |
| Protected values | Do not apply this compaction to path/points geometry, normalized crop or nested `viewBox` ratios, gradient offsets, opacity, scale arguments, canonical authored-preset frames, or lossless/tool-side native frames. |
@@ -403,7 +402,7 @@ is required.
Template ownership metadata is orthogonal to preset geometry. After inserting
the complete helper output, `create-template` may add only the registered
-`data-pptx-layer`, `data-pptx-editable`, `data-pptx-placeholder-carrier`, or
+`data-pptx-layer`, `data-pptx-editable`, `data-pptx-carrier`, or
`data-pptx-role` attribute needed by the surrounding structured contract. It
must not change preset/frame/adjustment/paint metadata or any direct path.
@@ -582,7 +581,7 @@ These forms are needed only when the stated PPT behavior matters:
### 4.3 Element Grouping (Mandatory)
-**Hard rule — every visible `<g>` is a bounded module**: Declare exactly one positive local-coordinate `x y width height` boundary. Ordinary groups use `data-pptx-module-bounds`; slots use `data-pptx-placeholder-bounds`; imported/native and preset groups use `data-pptx-frame`; native chart/table groups may use complete explicit metadata bounds. Never duplicate sources. Keep nested modules inside their nearest parent and text inside its nearest module. Missing bounds and estimable overflow warn; fix `<tspan>` lines or module geometry because export never auto-wraps/resizes SVG text.
+**Hard rule — every visible `<g>` is a bounded module**: Declare exactly one positive local-coordinate `x y width height` boundary. Ordinary groups and placeholder slots use `data-pptx-bounds`; imported/native and preset groups use `data-pptx-frame`; native chart/table groups may use complete explicit metadata bounds. Never duplicate sources. Keep nested modules inside their nearest parent and text inside its nearest module. Missing bounds and estimable overflow warn; fix `<tspan>` lines or module geometry because export never auto-wraps/resizes SVG text.
Wrap each logical Slide-local unit in a descriptive top-level `<g id>`; aim for **3–8 ordinary groups**, each becoming one animation step. Nested implementation groups may be anonymous but remain bounded. Flat pages use ordinary groups; structured slots already qualify, while direct atomic Master/Layout elements are the exception. Ungrouped Slide-local content produces an aggregate Checker warning.
@@ -615,7 +614,7 @@ separate parent content group; never put them inside the preset group itself.
**Naming — required.** A descriptive, page-unique `id` on every top-level content `<g>` (`card-1`, `step-discover`, `header`, `footer`) is mandatory; it is the stable SVG-side animation and trace anchor. An anonymous top-level group still converts, but `animations.json` cannot reference it; an anonymous one-child implementation wrapper may also flatten. Primitive fallback is unrelated and applies only to roots with no top-level groups.
```xml
-<g id="card-benefits-1" data-pptx-module-bounds="60 115 565 260">
+<g id="card-benefits-1" data-pptx-bounds="60 115 565 260">
<!-- Shadow only if the card floats over a colored panel; on flat white, omit it. -->
<rect x="60" y="115" width="565" height="260" rx="20" fill="#FFFFFF" filter="url(#shadow)"/>
<use data-icon="chunk-filled/bolt" x="108" y="163" width="44" height="44" fill="#0071E3"/>
diff --git a/skills/ppt-master/references/svg-effects.md b/skills/ppt-master/references/svg-effects.md
index 441c91af..f1483575 100644
--- a/skills/ppt-master/references/svg-effects.md
+++ b/skills/ppt-master/references/svg-effects.md
@@ -286,7 +286,7 @@ only the root SVG and ordinary visual `<g>` wrappers; definitions, text,
render-only geometry details, and other non-visual containers cannot own this
transport. The outer wrapper may additionally carry `id`, a supported
`transform`, registered structure metadata (`data-pptx-layer` or
-`data-pptx-placeholder-carrier`), and the importer metadata
+`data-pptx-carrier`), and the importer metadata
`data-pptx-frame`, `data-pptx-object`, `data-pptx-shape-id`,
`data-pptx-shape-name`, and `data-pptx-shape-scope`. A shape clip is present
only when exact `data-pptx-crop="1"` and a registered image-only `clip-path`
diff --git a/skills/ppt-master/references/template-designer.md b/skills/ppt-master/references/template-designer.md
index 16730d13..6ddc367b 100644
--- a/skills/ppt-master/references/template-designer.md
+++ b/skills/ppt-master/references/template-designer.md
@@ -391,7 +391,7 @@ reserved for optional PowerPoint-native Chart/Table replacement markers.
| Master/Layout identity | Root `data-pptx-master` / `data-pptx-master-name` plus `data-pptx-layout` / `data-pptx-layout-name`; authored keys for `standard` / `fidelity`, source keys for `mirror` |
| Authored Master/Layout visual | In `standard` / `fidelity`, use a direct atomic child with `data-pptx-layer="master|layout"` and `data-pptx-editable="false"`. An ordinary `<g>` is forbidden; one validated compact canonical authored-preset `<g>` is a semantic atom and is the sole group exception. |
| Preserved source Master/Layout visual | In `mirror`, recursively expand each fixed-layer source group into direct atoms with the same Master/Layout ownership, transforms, styles, paint order, and appearance; semantic regrouping is forbidden |
-| Content slot | Direct `<g id>` with `data-pptx-placeholder` and explicit `data-pptx-placeholder-bounds`; `standard` / `fidelity` author the slot, while `mirror` preserves source type/index/bounds and carrier identity |
+| Content slot | Direct `<g id>` with `data-pptx-placeholder` and explicit `data-pptx-bounds`; `standard` / `fidelity` author the slot, while `mirror` preserves source type/index/bounds and carrier identity |
| Page-only background | Direct full-canvas solid rect with `data-pptx-layer="slide"` |
| Structural page-frame hint | Optional `data-pptx-role` only when background/decoration/header/footer/logo/watermark/chrome/page-number behavior is not already expressed by layer/placeholder metadata; stable unique `id` required |
@@ -404,7 +404,7 @@ direct carrier. A validated compact canonical authored-preset `<g>` counts as
one carrier for an `object` slot because it compiles to one native shape; an
ordinary multi-object `<g>` does not. Only a genuinely composite region may
declare `data-pptx-placeholder="object"` with
-`data-pptx-placeholder-binding="proxy"`; the visible group stays Slide-local
+`data-pptx-binding="proxy"`; the visible group stays Slide-local
and export creates a hidden transparent binding proxy. Do not use proxy binding
as the default template slot form.
@@ -417,7 +417,7 @@ identity exactly when the importer supports them. Do not replace source
assign stable indices only when repeated roles need disambiguation inside the
new Layout.
-**Hard rule — explicit design-zone bounds**: Every slot carries `data-pptx-placeholder-bounds="x y width height"` with at most two decimals per value. Mirror uses the source Layout placeholder frame. `standard` / `fidelity` author bounds from the intended safe area, column, panel inset, or media frame. Do not use character count, glyph width, current wrapping, or the tight sample-content box. An authored Layout may intentionally have zero slots.
+**Hard rule — explicit design-zone bounds**: Every slot carries `data-pptx-bounds="x y width height"` with at most two decimals per value. Mirror uses the source Layout placeholder frame. `standard` / `fidelity` author bounds from the intended safe area, column, panel inset, or media frame. Do not use character count, glyph width, current wrapping, or the tight sample-content box. An authored Layout may intentionally have zero slots.
### 3. Placeholder Markers
@@ -428,8 +428,8 @@ Use clear placeholder markers for replaceable content:
```xml
<!-- Text slot -->
<g id="title-slot" data-pptx-placeholder="title"
- data-pptx-placeholder-bounds="80 280 1120 96">
- <text id="title-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-bounds="80 280 1120 96">
+ <text id="title-carrier" data-pptx-carrier="true"
x="80" y="320" fill="#FFFFFF" font-size="48" font-weight="bold">
{{TITLE}}
</text>
@@ -438,8 +438,8 @@ Use clear placeholder markers for replaceable content:
<!-- Content area placeholder (content page only) -->
<rect x="40" y="90" width="1200" height="550" fill="#FFFFFF" rx="8"/>
<g id="body-slot" data-pptx-placeholder="body"
- data-pptx-placeholder-bounds="40 90 1200 550">
- <text id="body-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-bounds="40 90 1200 550">
+ <text id="body-carrier" data-pptx-carrier="true"
x="640" y="365" text-anchor="middle" fill="#CBD5E1" font-size="16">
{{CONTENT_AREA}}
</text>
diff --git a/skills/ppt-master/scripts/compact_svg_coordinates.py b/skills/ppt-master/scripts/compact_svg_coordinates.py
index 6ab0d705..cc3a5720 100644
--- a/skills/ppt-master/scripts/compact_svg_coordinates.py
+++ b/skills/ppt-master/scripts/compact_svg_coordinates.py
@@ -40,8 +40,7 @@ _NUMBER_RE = re.compile(rf"^{_NUMBER_TOKEN}$")
_TRANSFORM_FUNCTION_RE = re.compile(r"([A-Za-z]+)\s*\(([^)]*)\)")
_COMPACTABLE_ATTRIBUTE_RE = re.compile(
r"(?<![A-Za-z0-9_.:-])"
- r"(?P<name>data-pptx-frame|data-pptx-module-bounds|"
- r"data-pptx-placeholder-bounds|transform)"
+ r"(?P<name>data-pptx-frame|data-pptx-bounds|transform)"
r"(?P<spacing>\s*=\s*)"
r"(?P<quote>[\"'])"
r"(?P<value>.*?)"
@@ -55,30 +54,26 @@ class CoordinateCompactionStats:
"""Count safely compacted coordinate-bearing SVG attributes."""
native_frames: int = 0
- module_bounds: int = 0
- placeholder_bounds: int = 0
+ bounds: int = 0
transforms: int = 0
@property
def changed_attributes(self) -> int:
return (
self.native_frames
- + self.module_bounds
- + self.placeholder_bounds
+ + self.bounds
+ self.transforms
)
def merge(self, other: "CoordinateCompactionStats") -> None:
self.native_frames += other.native_frames
- self.module_bounds += other.module_bounds
- self.placeholder_bounds += other.placeholder_bounds
+ self.bounds += other.bounds
self.transforms += other.transforms
def as_dict(self) -> dict[str, int]:
return {
"native_frames": self.native_frames,
- "module_bounds": self.module_bounds,
- "placeholder_bounds": self.placeholder_bounds,
+ "bounds": self.bounds,
"transforms": self.transforms,
"changed_attributes": self.changed_attributes,
}
@@ -150,10 +145,7 @@ def _compact_attribute_value(
) -> str:
if name == "data-pptx-frame":
return _compact_coordinate_quad(value) if compact_native_frames else value
- if name in {
- "data-pptx-module-bounds",
- "data-pptx-placeholder-bounds",
- }:
+ if name == "data-pptx-bounds":
return _compact_coordinate_quad(value)
if name == "transform":
return _compact_transform(value)
@@ -163,10 +155,8 @@ def _compact_attribute_value(
def _record_change(stats: CoordinateCompactionStats, name: str) -> None:
if name == "data-pptx-frame":
stats.native_frames += 1
- elif name == "data-pptx-module-bounds":
- stats.module_bounds += 1
- elif name == "data-pptx-placeholder-bounds":
- stats.placeholder_bounds += 1
+ elif name == "data-pptx-bounds":
+ stats.bounds += 1
elif name == "transform":
stats.transforms += 1
@@ -181,8 +171,7 @@ def compact_svg_tree(
for element in root.iter():
for name in (
"data-pptx-frame",
- "data-pptx-module-bounds",
- "data-pptx-placeholder-bounds",
+ "data-pptx-bounds",
"transform",
):
current = element.get(name)
@@ -271,8 +260,8 @@ def build_parser() -> argparse.ArgumentParser:
"--keep-native-frames",
action="store_true",
help=(
- "Leave data-pptx-frame unchanged while compacting module/slot "
- "bounds and transform translations"
+ "Leave data-pptx-frame unchanged while compacting "
+ "data-pptx-bounds and transform translations"
),
)
return parser
diff --git a/skills/ppt-master/scripts/docs/svg-pipeline.md b/skills/ppt-master/scripts/docs/svg-pipeline.md
index fc3ce061..75e1603d 100644
--- a/skills/ppt-master/scripts/docs/svg-pipeline.md
+++ b/skills/ppt-master/scripts/docs/svg-pipeline.md
@@ -80,8 +80,8 @@ python3 scripts/compact_svg_coordinates.py <template-directory> \
The default run is a dry-run JSON report. `--inplace` atomically replaces only
changed SVG files. The shared create-template final pass uses
-`--keep-native-frames`: it compacts `data-pptx-module-bounds`,
-`data-pptx-placeholder-bounds`, translation values, rotation centers, and
+`--keep-native-frames`: it compacts `data-pptx-bounds`, translation values,
+rotation centers, and
matrix `e/f`, while preserving canonical
authored-preset or inline native frames. `svg_authoring_view.py` separately
compacts imported model-facing frames because unchanged mirror refs can recover
@@ -332,7 +332,7 @@ Behavior:
- Native mode is strict about unsupported visual SVG elements: if a visual element cannot be represented or safely preserved, export fails with the SVG file, element tag, and position instead of silently dropping content.
- Omitting `--pptx-structure` reads `spec_lock.md`. Free-design, brand-only, and `template_reuse_scope: style` releases declare `mode: flat`, omit Master/Layout mappings and SVG structure metadata, and materialize one clean project-owned Master plus one Blank Layout from the current lock. Deck/layout templates use `mode: structured` only for `template_reuse_scope: mirror|layout`, with complete unique `pptx_masters` / `pptx_layouts` rosters and one `page_pptx_layouts` assignment per page. A template-backed Layout definition may remain unused by pages and still register in the final package.
- On structured template routes, every page root repeats Master/Layout keys and picker names. Master/Layout fixed visuals are direct semantic atoms. Ordinary layer `<g>` elements are invalid; one validated compact authored-preset `<g>` emitted by `preset_shape_svg.py` is the sole group exception because it compiles to one native shape.
-- Every visible authored `<g>` is a module with one explicit boundary. Ordinary groups use `data-pptx-module-bounds`; placeholder/native groups reuse their specialized boundary. The checker aggregates missing boundaries, warns when a module exceeds its parent/canvas, and warns when estimable text exceeds its nearest module. It never auto-wraps or resizes text.
+- Every visible authored `<g>` is a module with one explicit boundary. Ordinary groups and placeholder slots use `data-pptx-bounds`; native/preset groups reuse `data-pptx-frame`, while native chart/table groups reuse their explicit object bounds. The checker aggregates missing boundaries, warns when a module exceeds its parent/canvas, and warns when estimable text exceeds its nearest module. It never auto-wraps or resizes text.
- On structured template routes, each normal slot is a direct root `<g id>` with semantic type, positive design-zone bounds, and exactly one compatible carrier. Composite `object` slots use explicit proxy binding; zero-slot Layouts are valid. Flat pages keep all SVG objects Slide-local.
- Flat export maps locked typography/colors into a clean project-owned theme/Master, removes stock content placeholders and unused built-in Layouts, retains only the standard date/footer/slide-number capability hooks, and keeps one Blank Layout without promoting Slide content. Structured export additionally creates one reusable Layout per declared key and reopens the package to verify the full Presentation → Master → Layout → Slide graph, fixed-object order, placeholder identities/bounds, carrier bindings, hidden proxies, and zero-slot Layouts.
- Template `page_layouts` remains input provenance. Strict preserves the prototype contract; adaptive retains its Master and may use a new Layout identity only when fixed Layout atoms or slot topology/bounds change.
diff --git a/skills/ppt-master/scripts/mirror_template_materialize.py b/skills/ppt-master/scripts/mirror_template_materialize.py
index ebc5b81c..ae248130 100644
--- a/skills/ppt-master/scripts/mirror_template_materialize.py
+++ b/skills/ppt-master/scripts/mirror_template_materialize.py
@@ -1667,7 +1667,7 @@ def _copy_text_carrier(source: ET.Element | None) -> ET.Element | None:
"data-pptx-frame",
" ".join(format_coordinate(value) for value in source_frame),
)
- carrier.set("data-pptx-placeholder-carrier", "true")
+ carrier.set("data-pptx-carrier", "true")
return carrier
@@ -1929,7 +1929,7 @@ def _blank_text_carrier(
"y": format_coordinate(y + min(height, 24)),
"font-size": "18",
"fill": "#000000",
- "data-pptx-placeholder-carrier": "true",
+ "data-pptx-carrier": "true",
},
)
carrier.text = None
@@ -1940,7 +1940,7 @@ def _blank_text_carrier(
"data-pptx-frame",
" ".join(format_coordinate(value) for value in plan.bounds),
)
- carrier.set("data-pptx-placeholder-carrier", "true")
+ carrier.set("data-pptx-carrier", "true")
return carrier
@@ -1955,7 +1955,7 @@ def _blank_image_carrier(plan: SlotPlan) -> ET.Element:
"height": format_coordinate(height),
"href": TRANSPARENT_PIXEL_DATA_URI,
"preserveAspectRatio": "none",
- "data-pptx-placeholder-carrier": "true",
+ "data-pptx-carrier": "true",
},
)
@@ -1986,13 +1986,13 @@ def _slot_wrapper(
{
"id": plan.slot_id,
"data-pptx-placeholder": plan.semantic_role,
- "data-pptx-placeholder-bounds": " ".join(
+ "data-pptx-bounds": " ".join(
format_coordinate(item) for item in plan.bounds
),
},
)
if plan.idx is not None:
- wrapper.set("data-pptx-placeholder-idx", str(plan.idx))
+ wrapper.set("data-pptx-idx", str(plan.idx))
extras: list[ET.Element] = []
if plan.semantic_role in {
@@ -2012,7 +2012,7 @@ def _slot_wrapper(
master_guide,
)
for extra in extras:
- extra.attrib.pop("data-pptx-placeholder-carrier", None)
+ extra.attrib.pop("data-pptx-carrier", None)
wrapper.append(carrier)
return wrapper, extras
@@ -2031,7 +2031,7 @@ def _slot_wrapper(
raise MirrorMaterializationError(
f"Object slot {plan.slot_id!r} has no visible proxy content"
)
- wrapper.set("data-pptx-placeholder-binding", "proxy")
+ wrapper.set("data-pptx-binding", "proxy")
for child in visible:
wrapper.append(child)
return wrapper, extras
@@ -2068,7 +2068,7 @@ def _slot_wrapper(
raise MirrorMaterializationError(
f"Slot {plan.slot_id!r} {plan.semantic_role} carrier lacks native marker"
)
- carrier.set("data-pptx-placeholder-carrier", "true")
+ carrier.set("data-pptx-carrier", "true")
wrapper.append(carrier)
return wrapper, extras
diff --git a/skills/ppt-master/scripts/pptx_to_svg/preset_authoring.py b/skills/ppt-master/scripts/pptx_to_svg/preset_authoring.py
index b3c19d72..74ced55f 100644
--- a/skills/ppt-master/scripts/pptx_to_svg/preset_authoring.py
+++ b/skills/ppt-master/scripts/pptx_to_svg/preset_authoring.py
@@ -73,7 +73,7 @@ _SEMANTIC_ATTRS = (
_TEMPLATE_ATOM_ATTRS = (
"data-pptx-layer",
"data-pptx-editable",
- "data-pptx-placeholder-carrier",
+ "data-pptx-carrier",
"data-pptx-role",
)
diff --git a/skills/ppt-master/scripts/svg_quality_checker.py b/skills/ppt-master/scripts/svg_quality_checker.py
index 132ff7ff..587e6234 100644
--- a/skills/ppt-master/scripts/svg_quality_checker.py
+++ b/skills/ppt-master/scripts/svg_quality_checker.py
@@ -443,8 +443,15 @@ _NON_VISUAL_SVG_TAGS = frozenset({
'style',
'title',
})
-_MODULE_BOUNDS_ATTR = 'data-pptx-module-bounds'
+_BOUNDS_ATTR = 'data-pptx-bounds'
_NATIVE_OBJECT_BOUNDS_LABEL = 'native chart/table bounds'
+_LEGACY_PPTX_ATTRIBUTE_RENAMES = {
+ 'data-pptx-module-bounds': _BOUNDS_ATTR,
+ 'data-pptx-placeholder-bounds': _BOUNDS_ATTR,
+ 'data-pptx-placeholder-carrier': 'data-pptx-carrier',
+ 'data-pptx-placeholder-binding': 'data-pptx-binding',
+ 'data-pptx-placeholder-idx': 'data-pptx-idx',
+}
_PPTX_ROOT_STRUCTURE_ATTRS = (
'data-pptx-master',
'data-pptx-master-name',
@@ -461,15 +468,13 @@ _PPTX_STRUCTURE_ATTRS = frozenset({
'data-pptx-layer',
'data-pptx-layout-kind',
'data-pptx-placeholder',
- 'data-pptx-placeholder-binding',
- 'data-pptx-placeholder-bounds',
- 'data-pptx-placeholder-carrier',
- 'data-pptx-placeholder-idx',
+ 'data-pptx-binding',
+ 'data-pptx-carrier',
+ 'data-pptx-idx',
})
_PPTX_PLACEHOLDER_DETAIL_ATTRS = frozenset({
- 'data-pptx-placeholder-binding',
- 'data-pptx-placeholder-bounds',
- 'data-pptx-placeholder-idx',
+ 'data-pptx-binding',
+ 'data-pptx-idx',
})
_PPTX_STRUCTURE_SECTION_RE = re.compile(
r"(?ms)^##[ \t]+pptx_structure[ \t]*\r?\n(.*?)(?=^##[ \t]+|\Z)"
@@ -752,11 +757,11 @@ def _local_pptx_structure_errors(
"authoring boundary and may carry only id/data-pptx-*; remove "
+ ', '.join(wrapper_attrs)
)
- bounds = (elem.get('data-pptx-placeholder-bounds') or '').strip()
+ bounds = (elem.get('data-pptx-bounds') or '').strip()
if not bounds:
errors.append(
f"{svg_path.name}: placeholder slot {element_id} requires "
- "data-pptx-placeholder-bounds"
+ "data-pptx-bounds"
)
else:
bounds_error = _placeholder_bounds_error(bounds)
@@ -767,7 +772,7 @@ def _local_pptx_structure_errors(
)
binding = (
- elem.get('data-pptx-placeholder-binding') or 'carrier'
+ elem.get('data-pptx-binding') or 'carrier'
).strip().lower()
if binding not in {'carrier', 'proxy'}:
errors.append(
@@ -777,7 +782,7 @@ def _local_pptx_structure_errors(
carrier_descendants = [
child for child in elem.iter()
if child is not elem
- and child.get('data-pptx-placeholder-carrier') is not None
+ and child.get('data-pptx-carrier') is not None
]
visual_children = [
child for child in list(elem)
@@ -785,7 +790,7 @@ def _local_pptx_structure_errors(
]
direct_carriers = [
child for child in visual_children
- if (child.get('data-pptx-placeholder-carrier') or '').strip().lower()
+ if (child.get('data-pptx-carrier') or '').strip().lower()
== 'true'
]
nested_carriers = [
@@ -806,7 +811,7 @@ def _local_pptx_structure_errors(
errors.append(
f"{svg_path.name}: placeholder slot {element_id} requires "
"exactly one visual direct child, marked "
- "data-pptx-placeholder-carrier=\"true\""
+ "data-pptx-carrier=\"true\""
)
if binding == 'proxy':
if placeholder != 'object':
@@ -825,12 +830,12 @@ def _local_pptx_structure_errors(
"contain visible Slide-local content"
)
- carrier_value = elem.get('data-pptx-placeholder-carrier')
+ carrier_value = elem.get('data-pptx-carrier')
if carrier_value is not None:
if carrier_value.strip().lower() != 'true':
errors.append(
f"{svg_path.name}: {element_id} "
- "data-pptx-placeholder-carrier must equal true"
+ "data-pptx-carrier must equal true"
)
if parent is None or not (
parent.get('data-pptx-placeholder') or ''
@@ -1282,6 +1287,7 @@ class SVGQualityChecker:
expected_viewbox=expected_viewbox,
expected_viewbox_label=expected_viewbox_label,
)
+ self._check_legacy_pptx_attributes(root, svg_path, result)
# 1a. Validate exact importer transport before compatible
# inline geometry is materialized on the shared tree.
@@ -2887,8 +2893,7 @@ class SVGQualityChecker:
_local_name(current) == 'g'
and (
any(current.get(attr) is not None for attr in (
- _MODULE_BOUNDS_ATTR,
- 'data-pptx-placeholder-bounds',
+ _BOUNDS_ATTR,
'data-pptx-frame',
))
or self._explicit_native_object_bounds(current) is not None
@@ -3256,8 +3261,7 @@ class SVGQualityChecker:
) -> Tuple[str, Tuple[float, float, float, float]] | None:
"""Return one group's nearest explicit boundary in root coordinates."""
for attribute in (
- _MODULE_BOUNDS_ATTR,
- 'data-pptx-placeholder-bounds',
+ _BOUNDS_ATTR,
'data-pptx-frame',
):
raw = group.get(attribute)
@@ -3393,11 +3397,11 @@ class SVGQualityChecker:
for element in root.iter():
if (
- element.get(_MODULE_BOUNDS_ATTR) is not None
+ element.get(_BOUNDS_ATTR) is not None
and _local_name(element) != 'g'
):
result['errors'].append(
- f'{_element_label(element)} {_MODULE_BOUNDS_ATTR} is valid '
+ f'{_element_label(element)} {_BOUNDS_ATTR} is valid '
'only on a visible <g> module'
)
@@ -3414,20 +3418,19 @@ class SVGQualityChecker:
):
continue
- raw_module_bounds = group.get(_MODULE_BOUNDS_ATTR)
- if raw_module_bounds is not None:
+ raw_bounds = group.get(_BOUNDS_ATTR)
+ if raw_bounds is not None:
try:
- _parse_positive_bounds(raw_module_bounds)
+ _parse_positive_bounds(raw_bounds)
except ValueError as exc:
result['errors'].append(
- f'{_element_label(group)} {_MODULE_BOUNDS_ATTR} {exc}'
+ f'{_element_label(group)} {_BOUNDS_ATTR} {exc}'
)
explicit_attributes = [
attribute
for attribute in (
- _MODULE_BOUNDS_ATTR,
- 'data-pptx-placeholder-bounds',
+ _BOUNDS_ATTR,
'data-pptx-frame',
)
if group.get(attribute) is not None
@@ -3442,9 +3445,9 @@ class SVGQualityChecker:
if len(boundary_sources) > 1:
result['errors'].append(
f'{_element_label(group)} declares multiple module '
- f'boundaries ({", ".join(boundary_sources)}); keep the '
- 'specialized placeholder/native boundary or one ordinary '
- f'{_MODULE_BOUNDS_ATTR}, not both'
+ f'boundaries ({", ".join(boundary_sources)}); keep exactly '
+ f'one {_BOUNDS_ATTR}, data-pptx-frame, or complete native '
+ 'chart/table boundary'
)
continue
@@ -3452,7 +3455,7 @@ class SVGQualityChecker:
if resolved is None:
continue
attribute, bounds = resolved
- if attribute != _MODULE_BOUNDS_ATTR:
+ if attribute != _BOUNDS_ATTR:
continue
parent_bounds = self._nearest_group_bounds(group, parent_by_id)
if parent_bounds is None:
@@ -3471,7 +3474,7 @@ class SVGQualityChecker:
left, top, right, bottom = bounds
outer_left, outer_top, outer_right, outer_bottom = outer
result['warnings'].append(
- f'{_element_label(group)} {_MODULE_BOUNDS_ATTR} exceeds '
+ f'{_element_label(group)} {_BOUNDS_ATTR} exceeds '
f'{outer_label} on the {axes} axis: module '
f'({left:.1f}, {top:.1f})-({right:.1f}, {bottom:.1f}), '
f'container ({outer_left:.1f}, {outer_top:.1f})-'
@@ -3484,9 +3487,8 @@ class SVGQualityChecker:
result['warnings'].append(
f'Detected {len(missing)} visible <g> module(s) without an '
f'explicit boundary ({sample}{suffix}); generated ordinary '
- f'groups add {_MODULE_BOUNDS_ATTR}="x y width height", while '
- 'placeholder/native groups reuse their existing specialized '
- 'boundary'
+ f'and placeholder groups add {_BOUNDS_ATTR}="x y width height", '
+ 'while native/preset groups reuse data-pptx-frame'
)
def _check_module_text_bounds(
@@ -4530,7 +4532,7 @@ class SVGQualityChecker:
if not (slot.get('data-pptx-placeholder') or '').strip():
continue
binding = (
- slot.get('data-pptx-placeholder-binding') or 'carrier'
+ slot.get('data-pptx-binding') or 'carrier'
).strip().lower()
if binding != 'carrier':
continue
@@ -4540,7 +4542,7 @@ class SVGQualityChecker:
]
carriers = [
child for child in visual_children
- if (child.get('data-pptx-placeholder-carrier') or '')
+ if (child.get('data-pptx-carrier') or '')
.strip()
.lower()
== 'true'
@@ -4666,6 +4668,22 @@ class SVGQualityChecker:
)
return messages
+ @staticmethod
+ def _check_legacy_pptx_attributes(
+ root: ET.Element,
+ svg_path: Path,
+ result: Dict,
+ ) -> None:
+ """Reject superseded long-form authoring attributes."""
+ for element in root.iter():
+ for legacy, canonical in _LEGACY_PPTX_ATTRIBUTE_RENAMES.items():
+ if element.get(legacy) is None:
+ continue
+ result['errors'].append(
+ f'{svg_path.name}: {_element_label(element)} uses legacy '
+ f'{legacy}; rename it to {canonical}'
+ )
+
def _check_semantic_markers(
self,
root: ET.Element,
@@ -5765,16 +5783,16 @@ class SVGQualityChecker:
grandchild.tag.rsplit('}', 1)[-1]
for grandchild in list(child)
if (
- grandchild.get('data-pptx-placeholder-carrier') or ''
+ grandchild.get('data-pptx-carrier') or ''
).strip().lower() == 'true'
)
placeholder_parts.append((
placeholder,
child.tag.rsplit('}', 1)[-1],
- child.get('data-pptx-placeholder-bounds') or '',
- child.get('data-pptx-placeholder-idx') or '',
+ child.get('data-pptx-bounds') or '',
+ child.get('data-pptx-idx') or '',
(
- child.get('data-pptx-placeholder-binding') or 'carrier'
+ child.get('data-pptx-binding') or 'carrier'
).strip().lower(),
carrier_tags,
))
@@ -6293,7 +6311,7 @@ class SVGQualityChecker:
child.get('id') or child.tag.rsplit('}', 1)[-1]
for child in list(root)
if child.get('data-pptx-placeholder') is not None
- and child.get('data-pptx-placeholder-bounds') is None
+ and child.get('data-pptx-bounds') is None
]
if missing_bounds:
legacy_structure_detected = True
@@ -6301,7 +6319,7 @@ class SVGQualityChecker:
'error',
'placeholder_bounds_missing',
f"{svg_file.name}: reusable templates require "
- "explicit design-zone data-pptx-placeholder-bounds; missing: "
+ "explicit design-zone data-pptx-bounds; missing: "
+ ', '.join(missing_bounds),
))
if native_contract_path.exists() or source_template_path.exists():
diff --git a/skills/ppt-master/scripts/svg_to_pptx/drawingml/converter.py b/skills/ppt-master/scripts/svg_to_pptx/drawingml/converter.py
index 05103169..63720229 100644
--- a/skills/ppt-master/scripts/svg_to_pptx/drawingml/converter.py
+++ b/skills/ppt-master/scripts/svg_to_pptx/drawingml/converter.py
@@ -1231,9 +1231,9 @@ def convert_element(elem: ET.Element, ctx: ConvertContext) -> ShapeResult | None
'data-pptx-geometry-status',
'data-pptx-geometry-reason',
'data-pptx-placeholder',
- 'data-pptx-placeholder-bounds',
- 'data-pptx-placeholder-carrier',
- 'data-pptx-placeholder-idx',
+ 'data-pptx-bounds',
+ 'data-pptx-carrier',
+ 'data-pptx-idx',
'data-pptx-role',
):
value = elem.get(attr)
diff --git a/skills/ppt-master/scripts/svg_to_pptx/drawingml/elements.py b/skills/ppt-master/scripts/svg_to_pptx/drawingml/elements.py
index 565190c7..977843c7 100644
--- a/skills/ppt-master/scripts/svg_to_pptx/drawingml/elements.py
+++ b/skills/ppt-master/scripts/svg_to_pptx/drawingml/elements.py
@@ -2778,7 +2778,7 @@ def convert_text(elem: ET.Element, ctx: ConvertContext) -> ShapeResult | None:
full_text = ''.join(r['text'] for r in runs) if runs else ''
if not full_text.strip():
is_placeholder_carrier = (
- (elem.get('data-pptx-placeholder-carrier') or '').strip().lower()
+ (elem.get('data-pptx-carrier') or '').strip().lower()
== 'true'
)
if not is_placeholder_carrier:
@@ -4086,7 +4086,7 @@ _NESTED_CROP_OUTER_ATTRIBUTES = frozenset({
'data-pptx-frame',
'data-pptx-layer',
'data-pptx-object',
- 'data-pptx-placeholder-carrier',
+ 'data-pptx-carrier',
'data-pptx-prst',
'data-pptx-shape-id',
'data-pptx-shape-name',
diff --git a/skills/ppt-master/scripts/svg_to_pptx/pptx_package/builder.py b/skills/ppt-master/scripts/svg_to_pptx/pptx_package/builder.py
index 65a01fd8..f82441d6 100644
--- a/skills/ppt-master/scripts/svg_to_pptx/pptx_package/builder.py
+++ b/skills/ppt-master/scripts/svg_to_pptx/pptx_package/builder.py
@@ -2075,7 +2075,7 @@ def _shape_bounds_emu(
if xfrm is None:
raise TemplateStructureError(
"Placeholder shape has no directly readable DrawingML transform; "
- "set data-pptx-placeholder-bounds"
+ "set data-pptx-bounds"
)
off = xfrm.find(f"{{{DML_NS}}}off")
ext = xfrm.find(f"{{{DML_NS}}}ext")
diff --git a/skills/ppt-master/scripts/svg_to_pptx/pptx_package/template_structure.py b/skills/ppt-master/scripts/svg_to_pptx/pptx_package/template_structure.py
index d2d569c5..c9007ce3 100644
--- a/skills/ppt-master/scripts/svg_to_pptx/pptx_package/template_structure.py
+++ b/skills/ppt-master/scripts/svg_to_pptx/pptx_package/template_structure.py
@@ -55,10 +55,9 @@ _STRUCTURE_ATTRS = frozenset({
"data-pptx-show-inherited-shapes",
"data-pptx-show-master-shapes",
"data-pptx-placeholder",
- "data-pptx-placeholder-binding",
- "data-pptx-placeholder-bounds",
- "data-pptx-placeholder-carrier",
- "data-pptx-placeholder-idx",
+ "data-pptx-binding",
+ "data-pptx-carrier",
+ "data-pptx-idx",
"data-pptx-editable",
})
_FLAT_FORBIDDEN_STRUCTURE_ATTRS = frozenset(
@@ -1182,7 +1181,7 @@ def _parse_placeholder_bounds(
parts = [part for part in re.split(r"[\s,]+", raw.strip()) if part]
if len(parts) != 4:
raise TemplateStructureError(
- f"{svg_path.name}: {element_id} data-pptx-placeholder-bounds must be "
+ f"{svg_path.name}: {element_id} data-pptx-bounds must be "
"'x y width height'"
)
try:
@@ -1213,13 +1212,13 @@ def _parse_placeholder_idx(
value = raw.strip()
if not value or not value.isdigit():
raise TemplateStructureError(
- f"{svg_path.name}: {element_id} data-pptx-placeholder-idx must be "
+ f"{svg_path.name}: {element_id} data-pptx-idx must be "
"a non-negative integer"
)
parsed = int(value)
if parsed > OOXML_UINT32_MAX:
raise TemplateStructureError(
- f"{svg_path.name}: {element_id} data-pptx-placeholder-idx must be "
+ f"{svg_path.name}: {element_id} data-pptx-idx must be "
f"at most {OOXML_UINT32_MAX}"
)
return parsed
@@ -1437,10 +1436,10 @@ def parse_template_slide(
placeholder = (
(placeholder_raw or "").strip().lower() or None
)
- bounds_raw = elem.get("data-pptx-placeholder-bounds")
- placeholder_idx_raw = elem.get("data-pptx-placeholder-idx")
- binding_raw = elem.get("data-pptx-placeholder-binding")
- carrier_raw = elem.get("data-pptx-placeholder-carrier")
+ bounds_raw = elem.get("data-pptx-bounds")
+ placeholder_idx_raw = elem.get("data-pptx-idx")
+ binding_raw = elem.get("data-pptx-binding")
+ carrier_raw = elem.get("data-pptx-carrier")
editable_raw = elem.get("data-pptx-editable")
is_background = _is_full_canvas_solid_rect(elem, canvas)
effective_layer = layer or ("slide" if is_background else None)
@@ -1496,11 +1495,6 @@ def parse_template_slide(
f"{svg_path.name}: {element_id or tag} is a <g> on the {layer} "
"layer; Master/Layout fixed elements must be root-level atoms"
)
- if bounds_raw is not None and not placeholder:
- raise TemplateStructureError(
- f"{svg_path.name}: {element_id or tag} has placeholder bounds without "
- "data-pptx-placeholder"
- )
if placeholder_idx_raw is not None and not placeholder:
raise TemplateStructureError(
f"{svg_path.name}: {element_id or tag} has placeholder idx without "
@@ -1514,7 +1508,7 @@ def parse_template_slide(
if carrier_raw is not None:
raise TemplateStructureError(
f"{svg_path.name}: {element_id or tag} declares "
- "data-pptx-placeholder-carrier on a root child; the marker belongs "
+ "data-pptx-carrier on a root child; the marker belongs "
"on the direct child inside a placeholder <g>"
)
if (effective_layer or placeholder) and not element_id:
@@ -1545,14 +1539,14 @@ def parse_template_slide(
last_order_rank = order_rank
placeholder_bounds = _parse_placeholder_bounds(
- bounds_raw,
+ bounds_raw if placeholder else None,
svg_path=svg_path,
element_id=element_id or tag,
)
if structured and placeholder and placeholder_bounds is None:
raise TemplateStructureError(
f"{svg_path.name}: Layout placeholder {element_id!r} requires "
- "explicit data-pptx-placeholder-bounds; define the "
+ "explicit data-pptx-bounds; define the "
"reusable frame from the design zone, not the current text bounds"
)
placeholder_idx = _parse_placeholder_idx(
@@ -1584,7 +1578,7 @@ def parse_template_slide(
if binding_raw is not None and not binding_raw.strip():
raise TemplateStructureError(
f"{svg_path.name}: placeholder {element_id!r} has an empty "
- "data-pptx-placeholder-binding"
+ "data-pptx-binding"
)
if placeholder_binding not in PLACEHOLDER_BINDING_MODES:
allowed = ", ".join(sorted(PLACEHOLDER_BINDING_MODES))
@@ -1598,13 +1592,13 @@ def parse_template_slide(
carrier_children = [
child
for child in visual_children
- if (child.get("data-pptx-placeholder-carrier") or "")
+ if (child.get("data-pptx-carrier") or "")
.strip()
.lower()
== "true"
]
for child in elem:
- marker = child.get("data-pptx-placeholder-carrier")
+ marker = child.get("data-pptx-carrier")
if marker is not None and marker.strip().lower() != "true":
raise TemplateStructureError(
f"{svg_path.name}: placeholder {element_id!r} carrier marker "
@@ -1613,7 +1607,7 @@ def parse_template_slide(
illegal_child_attrs = [
attr
for attr in _structure_attrs(child)
- if attr != "data-pptx-placeholder-carrier"
+ if attr != "data-pptx-carrier"
]
if illegal_child_attrs:
raise TemplateStructureError(
@@ -1650,7 +1644,7 @@ def parse_template_slide(
if len(visual_children) != 1 or len(carrier_children) != 1:
composite_hint = (
" For composite object content, declare "
- "data-pptx-placeholder-binding='proxy' in the prototype "
+ "data-pptx-binding='proxy' in the prototype "
"and page, or create an adaptive Layout; never add a tiny "
"or transparent dummy carrier."
if placeholder == "object" else ""
@@ -1658,7 +1652,7 @@ def parse_template_slide(
raise TemplateStructureError(
f"{svg_path.name}: carrier placeholder {element_id!r} must "
"contain exactly one visual direct child and mark it "
- "data-pptx-placeholder-carrier='true'."
+ "data-pptx-carrier='true'."
f"{composite_hint}"
)
carrier = carrier_children[0]
@@ -3016,7 +3010,7 @@ def template_prototype_errors(
if adherence == "strict":
errors.append(
f"{reference.svg_path.name}: deferred strict template "
- "authoring requires explicit data-pptx-placeholder-bounds "
+ "authoring requires explicit data-pptx-bounds "
"on every prototype placeholder; missing: "
+ ", ".join(missing_bounds)
)
@@ -3251,7 +3245,7 @@ def _placement_lint_errors(svg_path: Path) -> list[str]:
for slot in root
if (slot.get("data-pptx-placeholder") or "").strip()
for carrier in slot
- if carrier.get("data-pptx-placeholder-carrier") is not None
+ if carrier.get("data-pptx-carrier") is not None
}
for elem in root.iter():
if elem is root or elem in direct_children:
@@ -3260,7 +3254,7 @@ def _placement_lint_errors(svg_path: Path) -> list[str]:
if elem in allowed_carriers:
attrs = [
attr for attr in attrs
- if attr != "data-pptx-placeholder-carrier"
+ if attr != "data-pptx-carrier"
]
if attrs:
element_id = elem.get("id") or _local_tag(elem) or "<unnamed>"
diff --git a/skills/ppt-master/scripts/template_preview_pptx.py b/skills/ppt-master/scripts/template_preview_pptx.py
index 28620735..90be017c 100644
--- a/skills/ppt-master/scripts/template_preview_pptx.py
+++ b/skills/ppt-master/scripts/template_preview_pptx.py
@@ -94,7 +94,7 @@ def _write_review_svg(source: Path, target: Path) -> bool:
continue
for carrier in slot.iter():
if (
- carrier.get("data-pptx-placeholder-carrier") or ""
+ carrier.get("data-pptx-carrier") or ""
).strip().lower() != "true":
continue
for element in carrier.iter():
@@ -240,7 +240,7 @@ def _carrier_sizes(svg_files: list[Path]) -> tuple[list[float], list[float]]:
if placeholder not in _TITLE_PLACEHOLDERS | _BODY_PLACEHOLDERS:
continue
for carrier in slot.iter():
- if carrier.get("data-pptx-placeholder-carrier") != "true":
+ if carrier.get("data-pptx-carrier") != "true":
continue
size = _font_size_px(carrier)
if size is None:
diff --git "a/skills/ppt-master/templates/decks/\344\270\255\345\233\275\347\224\265\344\277\241/templates/01_cover.svg" "b/skills/ppt-master/templates/decks/\344\270\255\345\233\275\347\224\265\344\277\241/templates/01_cover.svg"
index 72b3f821..d024c8da 100644
--- "a/skills/ppt-master/templates/decks/\344\270\255\345\233\275\347\224\265\344\277\241/templates/01_cover.svg"
+++ "b/skills/ppt-master/templates/decks/\344\270\255\345\233\275\347\224\265\344\277\241/templates/01_cover.svg"
@@ -32,29 +32,29 @@
<rect id="cover-title-rule" x="108" y="288" width="144" height="6" rx="3" fill="#C00000"
data-pptx-layer="layout" data-pptx-editable="false"/>
<g id="cover-title-slot" data-pptx-placeholder="title"
- data-pptx-placeholder-bounds="108 148 640 82">
- <text id="cover-title-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-bounds="108 148 640 82">
+ <text id="cover-title-carrier" data-pptx-carrier="true"
x="108" y="202" fill="#111827"
font-family="Microsoft YaHei, PingFang SC, Arial, sans-serif"
font-size="42" font-weight="700">{{TITLE}}</text>
</g>
- <g id="cover-subtitle-slot" data-pptx-placeholder="subtitle" data-pptx-placeholder-idx="1"
- data-pptx-placeholder-bounds="108 226 640 48">
- <text id="cover-subtitle-carrier" data-pptx-placeholder-carrier="true"
+ <g id="cover-subtitle-slot" data-pptx-placeholder="subtitle" data-pptx-idx="1"
+ data-pptx-bounds="108 226 640 48">
+ <text id="cover-subtitle-carrier" data-pptx-carrier="true"
x="108" y="258" fill="#6B7280"
font-family="Microsoft YaHei, PingFang SC, Arial, sans-serif"
font-size="21">{{SUBTITLE}}</text>
</g>
- <g id="cover-author-slot" data-pptx-placeholder="body" data-pptx-placeholder-idx="2"
- data-pptx-placeholder-bounds="108 322 560 48">
- <text id="cover-author-carrier" data-pptx-placeholder-carrier="true"
+ <g id="cover-author-slot" data-pptx-placeholder="body" data-pptx-idx="2"
+ data-pptx-bounds="108 322 560 48">
+ <text id="cover-author-carrier" data-pptx-carrier="true"
x="108" y="354" fill="#2B2F33"
font-family="Microsoft YaHei, PingFang SC, Arial, sans-serif"
font-size="18">{{AUTHOR}}</text>
</g>
- <g id="cover-date-slot" data-pptx-placeholder="date" data-pptx-placeholder-idx="3"
- data-pptx-placeholder-bounds="108 386 320 38">
- <text id="cover-date-carrier" data-pptx-placeholder-carrier="true"
+ <g id="cover-date-slot" data-pptx-placeholder="date" data-pptx-idx="3"
+ data-pptx-bounds="108 386 320 38">
+ <text id="cover-date-carrier" data-pptx-carrier="true"
x="108" y="412" fill="#6B7280"
font-family="Arial, Microsoft YaHei, sans-serif" font-size="15">{{DATE}}</text>
</g>
diff --git "a/skills/ppt-master/templates/decks/\344\270\255\345\233\275\347\224\265\344\277\241/templates/02_toc.svg" "b/skills/ppt-master/templates/decks/\344\270\255\345\233\275\347\224\265\344\277\241/templates/02_toc.svg"
index a237ff77..1974f49d 100644
--- "a/skills/ppt-master/templates/decks/\344\270\255\345\233\275\347\224\265\344\277\241/templates/02_toc.svg"
+++ "b/skills/ppt-master/templates/decks/\344\270\255\345\233\275\347\224\265\344\277\241/templates/02_toc.svg"
@@ -75,43 +75,43 @@
data-pptx-layer="layout" data-pptx-editable="false"/>
<g id="agenda-title-slot" data-pptx-placeholder="title"
- data-pptx-placeholder-bounds="40 42 146 44">
- <text id="agenda-title-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-bounds="40 42 146 44">
+ <text id="agenda-title-carrier" data-pptx-carrier="true"
x="40" y="73" fill="#FFFFFF"
font-family="Microsoft YaHei, PingFang SC, Arial, sans-serif"
font-size="24" font-weight="700">{{PAGE_TITLE}}</text>
</g>
- <g id="agenda-item-1-slot" data-pptx-placeholder="body" data-pptx-placeholder-idx="1"
- data-pptx-placeholder-bounds="496 186 624 50">
- <text id="agenda-item-1-carrier" data-pptx-placeholder-carrier="true"
+ <g id="agenda-item-1-slot" data-pptx-placeholder="body" data-pptx-idx="1"
+ data-pptx-bounds="496 186 624 50">
+ <text id="agenda-item-1-carrier" data-pptx-carrier="true"
x="496" y="218" fill="#C00000"
font-family="Microsoft YaHei, PingFang SC, Arial, sans-serif"
font-size="24" font-weight="700">{{TOC_ITEM_1_TITLE}}</text>
</g>
- <g id="agenda-item-2-slot" data-pptx-placeholder="body" data-pptx-placeholder-idx="2"
- data-pptx-placeholder-bounds="496 290 624 50">
- <text id="agenda-item-2-carrier" data-pptx-placeholder-carrier="true"
+ <g id="agenda-item-2-slot" data-pptx-placeholder="body" data-pptx-idx="2"
+ data-pptx-bounds="496 290 624 50">
+ <text id="agenda-item-2-carrier" data-pptx-carrier="true"
x="496" y="322" fill="#111827"
font-family="Microsoft YaHei, PingFang SC, Arial, sans-serif"
font-size="24" font-weight="700">{{TOC_ITEM_2_TITLE}}</text>
</g>
- <g id="agenda-item-3-slot" data-pptx-placeholder="body" data-pptx-placeholder-idx="3"
- data-pptx-placeholder-bounds="496 394 624 50">
- <text id="agenda-item-3-carrier" data-pptx-placeholder-carrier="true"
+ <g id="agenda-item-3-slot" data-pptx-placeholder="body" data-pptx-idx="3"
+ data-pptx-bounds="496 394 624 50">
+ <text id="agenda-item-3-carrier" data-pptx-carrier="true"
x="496" y="426" fill="#111827"
font-family="Microsoft YaHei, PingFang SC, Arial, sans-serif"
font-size="24" font-weight="700">{{TOC_ITEM_3_TITLE}}</text>
</g>
- <g id="agenda-item-4-slot" data-pptx-placeholder="body" data-pptx-placeholder-idx="4"
- data-pptx-placeholder-bounds="496 498 624 50">
- <text id="agenda-item-4-carrier" data-pptx-placeholder-carrier="true"
+ <g id="agenda-item-4-slot" data-pptx-placeholder="body" data-pptx-idx="4"
+ data-pptx-bounds="496 498 624 50">
+ <text id="agenda-item-4-carrier" data-pptx-carrier="true"
x="496" y="530" fill="#111827"
font-family="Microsoft YaHei, PingFang SC, Arial, sans-serif"
font-size="24" font-weight="700">{{TOC_ITEM_4_TITLE}}</text>
</g>
<g id="agenda-slide-number-slot" data-pptx-placeholder="slide-number"
- data-pptx-placeholder-idx="5" data-pptx-placeholder-bounds="1128 666 80 24">
- <text id="agenda-slide-number-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-idx="5" data-pptx-bounds="1128 666 80 24">
+ <text id="agenda-slide-number-carrier" data-pptx-carrier="true"
x="1208" y="684" text-anchor="end" fill="#6B7280"
font-family="Arial, sans-serif" font-size="13">{{PAGE_NUM}}</text>
</g>
diff --git "a/skills/ppt-master/templates/decks/\344\270\255\345\233\275\347\224\265\344\277\241/templates/03_chapter.svg" "b/skills/ppt-master/templates/decks/\344\270\255\345\233\275\347\224\265\344\277\241/templates/03_chapter.svg"
index 3937e9cd..7c494a4e 100644
--- "a/skills/ppt-master/templates/decks/\344\270\255\345\233\275\347\224\265\344\277\241/templates/03_chapter.svg"
+++ "b/skills/ppt-master/templates/decks/\344\270\255\345\233\275\347\224\265\344\277\241/templates/03_chapter.svg"
@@ -39,22 +39,22 @@
<image id="section-skyline" x="876" y="348" width="300" height="92"
href="../images/skyline_bg.png" preserveAspectRatio="xMidYMid meet"
data-pptx-layer="layout" data-pptx-editable="false"/>
- <g id="section-number-slot" data-pptx-placeholder="body" data-pptx-placeholder-idx="1"
- data-pptx-placeholder-bounds="96 148 300 116">
- <text id="section-number-carrier" data-pptx-placeholder-carrier="true"
+ <g id="section-number-slot" data-pptx-placeholder="body" data-pptx-idx="1"
+ data-pptx-bounds="96 148 300 116">
+ <text id="section-number-carrier" data-pptx-carrier="true"
x="96" y="242" fill="#C00000" fill-opacity="0.14"
font-family="Arial, sans-serif" font-size="112" font-weight="700">{{CHAPTER_NUM}}</text>
</g>
<g id="section-title-slot" data-pptx-placeholder="title"
- data-pptx-placeholder-bounds="96 270 680 72">
- <text id="section-title-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-bounds="96 270 680 72">
+ <text id="section-title-carrier" data-pptx-carrier="true"
x="96" y="318" fill="#111827"
font-family="Microsoft YaHei, PingFang SC, Arial, sans-serif"
font-size="42" font-weight="700">{{CHAPTER_TITLE}}</text>
</g>
- <g id="section-subtitle-slot" data-pptx-placeholder="subtitle" data-pptx-placeholder-idx="2"
- data-pptx-placeholder-bounds="96 346 680 40">
- <text id="section-subtitle-carrier" data-pptx-placeholder-carrier="true"
+ <g id="section-subtitle-slot" data-pptx-placeholder="subtitle" data-pptx-idx="2"
+ data-pptx-bounds="96 346 680 40">
+ <text id="section-subtitle-carrier" data-pptx-carrier="true"
x="96" y="374" fill="#6B7280"
font-family="Arial, Microsoft YaHei, sans-serif" font-size="18">{{CHAPTER_SUBTITLE}}</text>
</g>
diff --git "a/skills/ppt-master/templates/decks/\344\270\255\345\233\275\347\224\265\344\277\241/templates/04_content.svg" "b/skills/ppt-master/templates/decks/\344\270\255\345\233\275\347\224\265\344\277\241/templates/04_content.svg"
index 6e68c1c1..2f60e6ca 100644
--- "a/skills/ppt-master/templates/decks/\344\270\255\345\233\275\347\224\265\344\277\241/templates/04_content.svg"
+++ "b/skills/ppt-master/templates/decks/\344\270\255\345\233\275\347\224\265\344\277\241/templates/04_content.svg"
@@ -24,36 +24,36 @@
data-pptx-layer="layout" data-pptx-editable="false"/>
<rect id="content-panel-accent-soft" x="1042" y="572" width="132" height="4" rx="2"
fill="#C00000" fill-opacity="0.24" data-pptx-layer="layout" data-pptx-editable="false"/>
- <g id="content-section-slot" data-pptx-placeholder="body" data-pptx-placeholder-idx="1"
- data-pptx-placeholder-bounds="40 44 146 40">
- <text id="content-section-carrier" data-pptx-placeholder-carrier="true"
+ <g id="content-section-slot" data-pptx-placeholder="body" data-pptx-idx="1"
+ data-pptx-bounds="40 44 146 40">
+ <text id="content-section-carrier" data-pptx-carrier="true"
x="40" y="72" fill="#FFFFFF"
font-family="Microsoft YaHei, PingFang SC, Arial, sans-serif"
font-size="22" font-weight="700">{{SECTION_NAME}}</text>
</g>
<g id="content-title-slot" data-pptx-placeholder="title"
- data-pptx-placeholder-bounds="228 44 714 40">
- <text id="content-title-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-bounds="228 44 714 40">
+ <text id="content-title-carrier" data-pptx-carrier="true"
x="228" y="72" fill="#2B2F33"
font-family="Microsoft YaHei, PingFang SC, Arial, sans-serif"
font-size="24" font-weight="700">{{PAGE_TITLE}}</text>
</g>
- <g id="content-object-slot" data-pptx-placeholder="object" data-pptx-placeholder-idx="2"
- data-pptx-placeholder-bounds="96 156 1088 438">
- <text id="content-object-carrier" data-pptx-placeholder-carrier="true"
+ <g id="content-object-slot" data-pptx-placeholder="object" data-pptx-idx="2"
+ data-pptx-bounds="96 156 1088 438">
+ <text id="content-object-carrier" data-pptx-carrier="true"
x="96" y="190" fill="#9CA3AF"
font-family="Microsoft YaHei, PingFang SC, Arial, sans-serif"
font-size="20">{{CONTENT_AREA}}</text>
</g>
- <g id="content-source-slot" data-pptx-placeholder="footer" data-pptx-placeholder-idx="3"
- data-pptx-placeholder-bounds="72 658 720 28">
- <text id="content-source-carrier" data-pptx-placeholder-carrier="true"
+ <g id="content-source-slot" data-pptx-placeholder="footer" data-pptx-idx="3"
+ data-pptx-bounds="72 658 720 28">
+ <text id="content-source-carrier" data-pptx-carrier="true"
x="72" y="678" fill="#6B7280"
font-family="Arial, Microsoft YaHei, sans-serif" font-size="13">{{SOURCE}}</text>
</g>
<g id="content-slide-number-slot" data-pptx-placeholder="slide-number"
- data-pptx-placeholder-idx="4" data-pptx-placeholder-bounds="1128 658 80 28">
- <text id="content-slide-number-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-idx="4" data-pptx-bounds="1128 658 80 28">
+ <text id="content-slide-number-carrier" data-pptx-carrier="true"
x="1208" y="678" text-anchor="end" fill="#6B7280"
font-family="Arial, sans-serif" font-size="13">{{PAGE_NUM}}</text>
</g>
diff --git "a/skills/ppt-master/templates/decks/\344\270\255\345\233\275\347\224\265\344\277\241/templates/05_ending.svg" "b/skills/ppt-master/templates/decks/\344\270\255\345\233\275\347\224\265\344\277\241/templates/05_ending.svg"
index 6bdc5cf9..6d3f327c 100644
--- "a/skills/ppt-master/templates/decks/\344\270\255\345\233\275\347\224\265\344\277\241/templates/05_ending.svg"
+++ "b/skills/ppt-master/templates/decks/\344\270\255\345\233\275\347\224\265\344\277\241/templates/05_ending.svg"
@@ -30,28 +30,28 @@
href="../images/skyline_bg.png" preserveAspectRatio="xMidYMid meet"
data-pptx-layer="layout" data-pptx-editable="false"/>
<g id="closing-title-slot" data-pptx-placeholder="title"
- data-pptx-placeholder-bounds="96 226 620 72">
- <text id="closing-title-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-bounds="96 226 620 72">
+ <text id="closing-title-carrier" data-pptx-carrier="true"
x="96" y="274" fill="#111827"
font-family="Microsoft YaHei, PingFang SC, Arial, sans-serif"
font-size="40" font-weight="700">{{THANK_YOU}}</text>
</g>
- <g id="closing-subtitle-slot" data-pptx-placeholder="subtitle" data-pptx-placeholder-idx="1"
- data-pptx-placeholder-bounds="96 300 620 40">
- <text id="closing-subtitle-carrier" data-pptx-placeholder-carrier="true"
+ <g id="closing-subtitle-slot" data-pptx-placeholder="subtitle" data-pptx-idx="1"
+ data-pptx-bounds="96 300 620 40">
+ <text id="closing-subtitle-carrier" data-pptx-carrier="true"
x="96" y="328" fill="#6B7280"
font-family="Arial, Microsoft YaHei, sans-serif" font-size="18">{{ENDING_SUBTITLE}}</text>
</g>
- <g id="closing-contact-slot" data-pptx-placeholder="body" data-pptx-placeholder-idx="2"
- data-pptx-placeholder-bounds="96 388 620 64">
- <text id="closing-contact-carrier" data-pptx-placeholder-carrier="true"
+ <g id="closing-contact-slot" data-pptx-placeholder="body" data-pptx-idx="2"
+ data-pptx-bounds="96 388 620 64">
+ <text id="closing-contact-carrier" data-pptx-carrier="true"
x="96" y="420" fill="#2B2F33"
font-family="Microsoft YaHei, PingFang SC, Arial, sans-serif"
font-size="18">{{CONTACT_INFO}}</text>
</g>
<g id="closing-slide-number-slot" data-pptx-placeholder="slide-number"
- data-pptx-placeholder-idx="3" data-pptx-placeholder-bounds="1128 658 80 28">
- <text id="closing-slide-number-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-idx="3" data-pptx-bounds="1128 658 80 28">
+ <text id="closing-slide-number-carrier" data-pptx-carrier="true"
x="1208" y="678" text-anchor="end" fill="#FFFFFF"
font-family="Arial, sans-serif" font-size="13">{{PAGE_NUM}}</text>
</g>
diff --git "a/skills/ppt-master/templates/decks/\344\270\255\346\261\275\347\240\224/templates/01_cover.svg" "b/skills/ppt-master/templates/decks/\344\270\255\346\261\275\347\240\224/templates/01_cover.svg"
index 01672e8b..eda66b2b 100644
--- "a/skills/ppt-master/templates/decks/\344\270\255\346\261\275\347\240\224/templates/01_cover.svg"
+++ "b/skills/ppt-master/templates/decks/\344\270\255\346\261\275\347\240\224/templates/01_cover.svg"
@@ -17,27 +17,27 @@
stroke-width="1" stroke-opacity="0.4" data-pptx-layer="layout" data-pptx-editable="false"/>
<g id="cover-title-slot" data-pptx-placeholder="title"
- data-pptx-placeholder-bounds="160 356 960 92">
- <text id="cover-title-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-bounds="160 356 960 92">
+ <text id="cover-title-carrier" data-pptx-carrier="true"
x="640" y="416" text-anchor="middle" fill="#FFFFFF"
font-family="Microsoft YaHei, SimHei, Arial, sans-serif"
font-size="48" font-weight="700">{{TITLE}}</text>
</g>
- <g id="cover-subtitle-slot" data-pptx-placeholder="subtitle" data-pptx-placeholder-idx="1"
- data-pptx-placeholder-bounds="220 452 840 56">
- <text id="cover-subtitle-carrier" data-pptx-placeholder-carrier="true"
+ <g id="cover-subtitle-slot" data-pptx-placeholder="subtitle" data-pptx-idx="1"
+ data-pptx-bounds="220 452 840 56">
+ <text id="cover-subtitle-carrier" data-pptx-carrier="true"
x="640" y="490" text-anchor="middle" fill="#FFFFFF" fill-opacity="0.86"
font-family="Microsoft YaHei, Arial, sans-serif" font-size="26">{{SUBTITLE}}</text>
</g>
- <g id="cover-author-slot" data-pptx-placeholder="body" data-pptx-placeholder-idx="2"
- data-pptx-placeholder-bounds="300 560 680 44">
- <text id="cover-author-carrier" data-pptx-placeholder-carrier="true"
+ <g id="cover-author-slot" data-pptx-placeholder="body" data-pptx-idx="2"
+ data-pptx-bounds="300 560 680 44">
+ <text id="cover-author-carrier" data-pptx-carrier="true"
x="640" y="590" text-anchor="middle" fill="#FFFFFF" fill-opacity="0.9"
font-family="Microsoft YaHei, Arial, sans-serif" font-size="22">{{AUTHOR}}</text>
</g>
- <g id="cover-footer-slot" data-pptx-placeholder="footer" data-pptx-placeholder-idx="3"
- data-pptx-placeholder-bounds="300 606 680 32">
- <text id="cover-footer-carrier" data-pptx-placeholder-carrier="true"
+ <g id="cover-footer-slot" data-pptx-placeholder="footer" data-pptx-idx="3"
+ data-pptx-bounds="300 606 680 32">
+ <text id="cover-footer-carrier" data-pptx-carrier="true"
x="640" y="628" text-anchor="middle" fill="#FFFFFF" fill-opacity="0.7"
font-family="Arial, Microsoft YaHei, sans-serif" font-size="16">{{AUTHOR_EN}}</text>
</g>
diff --git "a/skills/ppt-master/templates/decks/\344\270\255\346\261\275\347\240\224/templates/02_toc.svg" "b/skills/ppt-master/templates/decks/\344\270\255\346\261\275\347\240\224/templates/02_toc.svg"
index 0723d4c7..ab5306db 100644
--- "a/skills/ppt-master/templates/decks/\344\270\255\346\261\275\347\240\224/templates/02_toc.svg"
+++ "b/skills/ppt-master/templates/decks/\344\270\255\346\261\275\347\240\224/templates/02_toc.svg"
@@ -58,56 +58,56 @@
<rect id="agenda-stat-accent" x="900" y="180" width="6" height="400" fill="#004098"
data-pptx-layer="layout" data-pptx-editable="false"/>
<g id="agenda-title-slot" data-pptx-placeholder="title"
- data-pptx-placeholder-bounds="130 32 760 48">
- <text id="agenda-title-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-bounds="130 32 760 48">
+ <text id="agenda-title-carrier" data-pptx-carrier="true"
x="130" y="65" fill="#333333"
font-family="Microsoft YaHei, SimHei, Arial, sans-serif"
font-size="28" font-weight="700">{{PAGE_TITLE}}</text>
</g>
- <g id="agenda-item-1-slot" data-pptx-placeholder="body" data-pptx-placeholder-idx="1"
- data-pptx-placeholder-bounds="430 160 420 72">
- <text id="agenda-item-1-carrier" data-pptx-placeholder-carrier="true"
+ <g id="agenda-item-1-slot" data-pptx-placeholder="body" data-pptx-idx="1"
+ data-pptx-bounds="430 160 420 72">
+ <text id="agenda-item-1-carrier" data-pptx-carrier="true"
x="430" y="196" fill="#333333"
font-family="Microsoft YaHei, Arial, sans-serif" font-size="24"
font-weight="700">{{TOC_ITEM_1_TITLE}}</text>
</g>
- <g id="agenda-item-2-slot" data-pptx-placeholder="body" data-pptx-placeholder-idx="2"
- data-pptx-placeholder-bounds="430 260 420 72">
- <text id="agenda-item-2-carrier" data-pptx-placeholder-carrier="true"
+ <g id="agenda-item-2-slot" data-pptx-placeholder="body" data-pptx-idx="2"
+ data-pptx-bounds="430 260 420 72">
+ <text id="agenda-item-2-carrier" data-pptx-carrier="true"
x="430" y="296" fill="#333333"
font-family="Microsoft YaHei, Arial, sans-serif" font-size="24"
font-weight="700">{{TOC_ITEM_2_TITLE}}</text>
</g>
- <g id="agenda-item-3-slot" data-pptx-placeholder="body" data-pptx-placeholder-idx="3"
- data-pptx-placeholder-bounds="430 360 420 72">
- <text id="agenda-item-3-carrier" data-pptx-placeholder-carrier="true"
+ <g id="agenda-item-3-slot" data-pptx-placeholder="body" data-pptx-idx="3"
+ data-pptx-bounds="430 360 420 72">
+ <text id="agenda-item-3-carrier" data-pptx-carrier="true"
x="430" y="396" fill="#333333"
font-family="Microsoft YaHei, Arial, sans-serif" font-size="24"
font-weight="700">{{TOC_ITEM_3_TITLE}}</text>
</g>
- <g id="agenda-item-4-slot" data-pptx-placeholder="body" data-pptx-placeholder-idx="4"
- data-pptx-placeholder-bounds="430 460 420 72">
- <text id="agenda-item-4-carrier" data-pptx-placeholder-carrier="true"
+ <g id="agenda-item-4-slot" data-pptx-placeholder="body" data-pptx-idx="4"
+ data-pptx-bounds="430 460 420 72">
+ <text id="agenda-item-4-carrier" data-pptx-carrier="true"
x="430" y="496" fill="#333333"
font-family="Microsoft YaHei, Arial, sans-serif" font-size="24"
font-weight="700">{{TOC_ITEM_4_TITLE}}</text>
</g>
- <g id="agenda-item-5-slot" data-pptx-placeholder="body" data-pptx-placeholder-idx="5"
- data-pptx-placeholder-bounds="430 560 420 72">
- <text id="agenda-item-5-carrier" data-pptx-placeholder-carrier="true"
+ <g id="agenda-item-5-slot" data-pptx-placeholder="body" data-pptx-idx="5"
+ data-pptx-bounds="430 560 420 72">
+ <text id="agenda-item-5-carrier" data-pptx-carrier="true"
x="430" y="596" fill="#333333"
font-family="Microsoft YaHei, Arial, sans-serif" font-size="24"
font-weight="700">{{TOC_ITEM_5_TITLE}}</text>
</g>
- <g id="agenda-stat-slot" data-pptx-placeholder="object" data-pptx-placeholder-idx="6"
- data-pptx-placeholder-bounds="928 208 224 344">
- <text id="agenda-stat-carrier" data-pptx-placeholder-carrier="true"
+ <g id="agenda-stat-slot" data-pptx-placeholder="object" data-pptx-idx="6"
+ data-pptx-bounds="928 208 224 344">
+ <text id="agenda-stat-carrier" data-pptx-carrier="true"
x="928" y="242" fill="#7890A8"
font-family="Microsoft YaHei, Arial, sans-serif" font-size="18">{{CONTENT_AREA}}</text>
</g>
<g id="agenda-slide-number-slot" data-pptx-placeholder="slide-number"
- data-pptx-placeholder-idx="7" data-pptx-placeholder-bounds="1140 682 80 24">
- <text id="agenda-slide-number-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-idx="7" data-pptx-bounds="1140 682 80 24">
+ <text id="agenda-slide-number-carrier" data-pptx-carrier="true"
x="1220" y="702" text-anchor="end" fill="#999999"
font-family="Arial, sans-serif" font-size="14">{{PAGE_NUM}}</text>
</g>
diff --git "a/skills/ppt-master/templates/decks/\344\270\255\346\261\275\347\240\224/templates/03_chapter.svg" "b/skills/ppt-master/templates/decks/\344\270\255\346\261\275\347\240\224/templates/03_chapter.svg"
index 44074fbc..df038ae2 100644
--- "a/skills/ppt-master/templates/decks/\344\270\255\346\261\275\347\240\224/templates/03_chapter.svg"
+++ "b/skills/ppt-master/templates/decks/\344\270\255\346\261\275\347\240\224/templates/03_chapter.svg"
@@ -19,22 +19,22 @@
data-pptx-layer="layout" data-pptx-editable="false"/>
<rect id="section-title-accent" x="600" y="370" width="80" height="6" fill="#FFFFFF"
data-pptx-layer="layout" data-pptx-editable="false"/>
- <g id="section-number-slot" data-pptx-placeholder="body" data-pptx-placeholder-idx="1"
- data-pptx-placeholder-bounds="440 176 400 152">
- <text id="section-number-carrier" data-pptx-placeholder-carrier="true"
+ <g id="section-number-slot" data-pptx-placeholder="body" data-pptx-idx="1"
+ data-pptx-bounds="440 176 400 152">
+ <text id="section-number-carrier" data-pptx-carrier="true"
x="640" y="288" text-anchor="middle" fill="#FFFFFF" fill-opacity="0.1"
font-family="Arial, sans-serif" font-size="120" font-weight="700">{{CHAPTER_NUM}}</text>
</g>
<g id="section-title-slot" data-pptx-placeholder="title"
- data-pptx-placeholder-bounds="180 398 920 86">
- <text id="section-title-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-bounds="180 398 920 86">
+ <text id="section-title-carrier" data-pptx-carrier="true"
x="640" y="454" text-anchor="middle" fill="#FFFFFF"
font-family="Microsoft YaHei, SimHei, Arial, sans-serif"
font-size="48" font-weight="700">{{CHAPTER_TITLE}}</text>
</g>
- <g id="section-subtitle-slot" data-pptx-placeholder="subtitle" data-pptx-placeholder-idx="2"
- data-pptx-placeholder-bounds="240 494 800 50">
- <text id="section-subtitle-carrier" data-pptx-placeholder-carrier="true"
+ <g id="section-subtitle-slot" data-pptx-placeholder="subtitle" data-pptx-idx="2"
+ data-pptx-bounds="240 494 800 50">
+ <text id="section-subtitle-carrier" data-pptx-carrier="true"
x="640" y="528" text-anchor="middle" fill="#FFFFFF" fill-opacity="0.72"
font-family="Arial, Microsoft YaHei, sans-serif" font-size="24">{{CHAPTER_SUBTITLE}}</text>
</g>
diff --git "a/skills/ppt-master/templates/decks/\344\270\255\346\261\275\347\240\224/templates/04_content.svg" "b/skills/ppt-master/templates/decks/\344\270\255\346\261\275\347\240\224/templates/04_content.svg"
index d14eaacd..842679e3 100644
--- "a/skills/ppt-master/templates/decks/\344\270\255\346\261\275\347\240\224/templates/04_content.svg"
+++ "b/skills/ppt-master/templates/decks/\344\270\255\346\261\275\347\240\224/templates/04_content.svg"
@@ -22,28 +22,28 @@
data-pptx-layer="layout" data-pptx-editable="false"/>
<rect id="content-panel-accent" x="60" y="110" width="6" height="550" fill="#004098"
data-pptx-layer="layout" data-pptx-editable="false"/>
- <g id="content-chapter-slot" data-pptx-placeholder="body" data-pptx-placeholder-idx="1"
- data-pptx-placeholder-bounds="60 30 50 50">
- <text id="content-chapter-carrier" data-pptx-placeholder-carrier="true"
+ <g id="content-chapter-slot" data-pptx-placeholder="body" data-pptx-idx="1"
+ data-pptx-bounds="60 30 50 50">
+ <text id="content-chapter-carrier" data-pptx-carrier="true"
x="85" y="65" text-anchor="middle" fill="#FFFFFF"
font-family="Arial, sans-serif" font-size="24" font-weight="700">{{CHAPTER_NUM}}</text>
</g>
<g id="content-title-slot" data-pptx-placeholder="title"
- data-pptx-placeholder-bounds="130 32 920 48">
- <text id="content-title-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-bounds="130 32 920 48">
+ <text id="content-title-carrier" data-pptx-carrier="true"
x="130" y="65" fill="#333333"
font-family="Microsoft YaHei, SimHei, Arial, sans-serif"
font-size="28" font-weight="700">{{PAGE_TITLE}}</text>
</g>
- <g id="content-object-slot" data-pptx-placeholder="object" data-pptx-placeholder-idx="2"
- data-pptx-placeholder-bounds="88 138 1104 494">
- <text id="content-object-carrier" data-pptx-placeholder-carrier="true"
+ <g id="content-object-slot" data-pptx-placeholder="object" data-pptx-idx="2"
+ data-pptx-bounds="88 138 1104 494">
+ <text id="content-object-carrier" data-pptx-carrier="true"
x="88" y="172" fill="#7890A8"
font-family="Microsoft YaHei, Arial, sans-serif" font-size="18">{{CONTENT_AREA}}</text>
</g>
<g id="content-slide-number-slot" data-pptx-placeholder="slide-number"
- data-pptx-placeholder-idx="3" data-pptx-placeholder-bounds="1140 682 80 24">
- <text id="content-slide-number-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-idx="3" data-pptx-bounds="1140 682 80 24">
+ <text id="content-slide-number-carrier" data-pptx-carrier="true"
x="1220" y="702" text-anchor="end" fill="#999999"
font-family="Arial, sans-serif" font-size="14">{{PAGE_NUM}}</text>
</g>
diff --git "a/skills/ppt-master/templates/decks/\344\270\255\346\261\275\347\240\224/templates/05_ending.svg" "b/skills/ppt-master/templates/decks/\344\270\255\346\261\275\347\240\224/templates/05_ending.svg"
index f84b09b2..64b8f299 100644
--- "a/skills/ppt-master/templates/decks/\344\270\255\346\261\275\347\240\224/templates/05_ending.svg"
+++ "b/skills/ppt-master/templates/decks/\344\270\255\346\261\275\347\240\224/templates/05_ending.svg"
@@ -43,27 +43,27 @@
fill="#FFFFFF" fill-opacity="0.1" data-pptx-layer="layout" data-pptx-editable="false"/>
<g id="closing-title-slot" data-pptx-placeholder="title"
- data-pptx-placeholder-bounds="220 376 840 92">
- <text id="closing-title-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-bounds="220 376 840 92">
+ <text id="closing-title-carrier" data-pptx-carrier="true"
x="640" y="436" text-anchor="middle" fill="#FFFFFF"
font-family="Microsoft YaHei, SimHei, Arial, sans-serif"
font-size="56" font-weight="700">{{THANK_YOU}}</text>
</g>
- <g id="closing-subtitle-slot" data-pptx-placeholder="subtitle" data-pptx-placeholder-idx="1"
- data-pptx-placeholder-bounds="260 472 760 50">
- <text id="closing-subtitle-carrier" data-pptx-placeholder-carrier="true"
+ <g id="closing-subtitle-slot" data-pptx-placeholder="subtitle" data-pptx-idx="1"
+ data-pptx-bounds="260 472 760 50">
+ <text id="closing-subtitle-carrier" data-pptx-carrier="true"
x="640" y="506" text-anchor="middle" fill="#FFFFFF" fill-opacity="0.72"
font-family="Arial, Microsoft YaHei, sans-serif" font-size="24">{{THANK_YOU_EN}}</text>
</g>
- <g id="closing-contact-slot" data-pptx-placeholder="body" data-pptx-placeholder-idx="2"
- data-pptx-placeholder-bounds="300 568 680 44">
- <text id="closing-contact-carrier" data-pptx-placeholder-carrier="true"
+ <g id="closing-contact-slot" data-pptx-placeholder="body" data-pptx-idx="2"
+ data-pptx-bounds="300 568 680 44">
+ <text id="closing-contact-carrier" data-pptx-carrier="true"
x="640" y="598" text-anchor="middle" fill="#FFFFFF" fill-opacity="0.86"
font-family="Microsoft YaHei, Arial, sans-serif" font-size="18">{{CONTACT_INFO}}</text>
</g>
- <g id="closing-footer-slot" data-pptx-placeholder="footer" data-pptx-placeholder-idx="3"
- data-pptx-placeholder-bounds="240 686 800 28">
- <text id="closing-footer-carrier" data-pptx-placeholder-carrier="true"
+ <g id="closing-footer-slot" data-pptx-placeholder="footer" data-pptx-idx="3"
+ data-pptx-bounds="240 686 800 28">
+ <text id="closing-footer-carrier" data-pptx-carrier="true"
x="640" y="706" text-anchor="middle" fill="#FFFFFF" fill-opacity="0.65"
font-family="Microsoft YaHei, Arial, sans-serif" font-size="14">{{ENDING_SUBTITLE}}</text>
</g>
diff --git a/skills/ppt-master/templates/layouts/presentation_core/templates/01_title_slide.svg b/skills/ppt-master/templates/layouts/presentation_core/templates/01_title_slide.svg
index 6f9f81ae..95ccc962 100644
--- a/skills/ppt-master/templates/layouts/presentation_core/templates/01_title_slide.svg
+++ b/skills/ppt-master/templates/layouts/presentation_core/templates/01_title_slide.svg
@@ -7,14 +7,14 @@
<rect id="title-slide-accent" x="64" y="216" width="8" height="192" rx="4" fill="#CBD5E1"
data-pptx-layer="layout" data-pptx-editable="false"/>
<g id="title-slide-title-slot" data-pptx-placeholder="title"
- data-pptx-placeholder-bounds="112 216 1056 116">
- <text id="title-slide-title-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-bounds="112 216 1056 116">
+ <text id="title-slide-title-carrier" data-pptx-carrier="true"
x="112" y="292" fill="#1E293B" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="54" font-weight="700">{{TITLE}}</text>
</g>
- <g id="title-slide-subtitle-slot" data-pptx-placeholder="subtitle" data-pptx-placeholder-idx="1"
- data-pptx-placeholder-bounds="112 350 880 64">
- <text id="title-slide-subtitle-carrier" data-pptx-placeholder-carrier="true"
+ <g id="title-slide-subtitle-slot" data-pptx-placeholder="subtitle" data-pptx-idx="1"
+ data-pptx-bounds="112 350 880 64">
+ <text id="title-slide-subtitle-carrier" data-pptx-carrier="true"
x="112" y="393" fill="#64748B" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="26">{{SUBTITLE}}</text>
</g>
diff --git a/skills/ppt-master/templates/layouts/presentation_core/templates/02_title_content.svg b/skills/ppt-master/templates/layouts/presentation_core/templates/02_title_content.svg
index 5d384774..5235367e 100644
--- a/skills/ppt-master/templates/layouts/presentation_core/templates/02_title_content.svg
+++ b/skills/ppt-master/templates/layouts/presentation_core/templates/02_title_content.svg
@@ -9,14 +9,14 @@
<rect id="title-content-panel" x="64" y="152" width="1152" height="504" rx="12" fill="#F4F6F8"
stroke="#D6DCE3" stroke-width="1" data-pptx-layer="layout" data-pptx-editable="false"/>
<g id="title-content-title-slot" data-pptx-placeholder="title"
- data-pptx-placeholder-bounds="64 40 1152 72">
- <text id="title-content-title-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-bounds="64 40 1152 72">
+ <text id="title-content-title-carrier" data-pptx-carrier="true"
x="64" y="90" fill="#1E293B" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="36" font-weight="700">{{PAGE_TITLE}}</text>
</g>
- <g id="title-content-object-slot" data-pptx-placeholder="object" data-pptx-placeholder-idx="1"
- data-pptx-placeholder-bounds="88 176 1104 456">
- <text id="title-content-object-carrier" data-pptx-placeholder-carrier="true"
+ <g id="title-content-object-slot" data-pptx-placeholder="object" data-pptx-idx="1"
+ data-pptx-bounds="88 176 1104 456">
+ <text id="title-content-object-carrier" data-pptx-carrier="true"
x="88" y="214" fill="#94A3B8"
font-family="Arial, Microsoft YaHei, sans-serif" font-size="22">{{CONTENT_AREA}}</text>
</g>
diff --git a/skills/ppt-master/templates/layouts/presentation_core/templates/03_section_header.svg b/skills/ppt-master/templates/layouts/presentation_core/templates/03_section_header.svg
index a02de8c1..5f9a95ad 100644
--- a/skills/ppt-master/templates/layouts/presentation_core/templates/03_section_header.svg
+++ b/skills/ppt-master/templates/layouts/presentation_core/templates/03_section_header.svg
@@ -9,14 +9,14 @@
<circle id="section-header-anchor" cx="1128" cy="180" r="72" fill="#F4F6F8"
stroke="#D6DCE3" stroke-width="1" data-pptx-layer="layout" data-pptx-editable="false"/>
<g id="section-header-title-slot" data-pptx-placeholder="title"
- data-pptx-placeholder-bounds="160 224 896 112">
- <text id="section-header-title-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-bounds="160 224 896 112">
+ <text id="section-header-title-carrier" data-pptx-carrier="true"
x="160" y="298" fill="#1E293B" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="50" font-weight="700">{{CHAPTER_TITLE}}</text>
</g>
- <g id="section-header-body-slot" data-pptx-placeholder="body" data-pptx-placeholder-idx="1"
- data-pptx-placeholder-bounds="160 356 800 92">
- <text id="section-header-body-carrier" data-pptx-placeholder-carrier="true"
+ <g id="section-header-body-slot" data-pptx-placeholder="body" data-pptx-idx="1"
+ data-pptx-bounds="160 356 800 92">
+ <text id="section-header-body-carrier" data-pptx-carrier="true"
x="160" y="408" fill="#64748B" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="24">{{CHAPTER_DESC}}</text>
</g>
diff --git a/skills/ppt-master/templates/layouts/presentation_core/templates/04_two_content.svg b/skills/ppt-master/templates/layouts/presentation_core/templates/04_two_content.svg
index c6d47240..26754a3b 100644
--- a/skills/ppt-master/templates/layouts/presentation_core/templates/04_two_content.svg
+++ b/skills/ppt-master/templates/layouts/presentation_core/templates/04_two_content.svg
@@ -9,20 +9,20 @@
<rect id="two-content-right-panel" x="664" y="152" width="552" height="504" rx="12" fill="#F4F6F8"
stroke="#D6DCE3" stroke-width="1" data-pptx-layer="layout" data-pptx-editable="false"/>
<g id="two-content-title-slot" data-pptx-placeholder="title"
- data-pptx-placeholder-bounds="64 40 1152 72">
- <text id="two-content-title-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-bounds="64 40 1152 72">
+ <text id="two-content-title-carrier" data-pptx-carrier="true"
x="64" y="90" fill="#1E293B" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="36" font-weight="700">{{PAGE_TITLE}}</text>
</g>
- <g id="two-content-left-slot" data-pptx-placeholder="object" data-pptx-placeholder-idx="1"
- data-pptx-placeholder-bounds="88 176 504 456">
- <text id="two-content-left-carrier" data-pptx-placeholder-carrier="true"
+ <g id="two-content-left-slot" data-pptx-placeholder="object" data-pptx-idx="1"
+ data-pptx-bounds="88 176 504 456">
+ <text id="two-content-left-carrier" data-pptx-carrier="true"
x="88" y="214" fill="#94A3B8"
font-family="Arial, Microsoft YaHei, sans-serif" font-size="22">{{LEFT_CONTENT}}</text>
</g>
- <g id="two-content-right-slot" data-pptx-placeholder="object" data-pptx-placeholder-idx="2"
- data-pptx-placeholder-bounds="688 176 504 456">
- <text id="two-content-right-carrier" data-pptx-placeholder-carrier="true"
+ <g id="two-content-right-slot" data-pptx-placeholder="object" data-pptx-idx="2"
+ data-pptx-bounds="688 176 504 456">
+ <text id="two-content-right-carrier" data-pptx-carrier="true"
x="688" y="214" fill="#94A3B8"
font-family="Arial, Microsoft YaHei, sans-serif" font-size="22">{{RIGHT_CONTENT}}</text>
</g>
diff --git a/skills/ppt-master/templates/layouts/presentation_core/templates/05_comparison.svg b/skills/ppt-master/templates/layouts/presentation_core/templates/05_comparison.svg
index dbc46729..846182d0 100644
--- a/skills/ppt-master/templates/layouts/presentation_core/templates/05_comparison.svg
+++ b/skills/ppt-master/templates/layouts/presentation_core/templates/05_comparison.svg
@@ -11,32 +11,32 @@
<rect id="comparison-divider" x="638" y="184" width="4" height="440" rx="2" fill="#CBD5E1"
data-pptx-layer="layout" data-pptx-editable="false"/>
<g id="comparison-title-slot" data-pptx-placeholder="title"
- data-pptx-placeholder-bounds="64 40 1152 72">
- <text id="comparison-title-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-bounds="64 40 1152 72">
+ <text id="comparison-title-carrier" data-pptx-carrier="true"
x="64" y="90" fill="#1E293B" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="36" font-weight="700">{{PAGE_TITLE}}</text>
</g>
- <g id="comparison-left-title-slot" data-pptx-placeholder="body" data-pptx-placeholder-idx="1"
- data-pptx-placeholder-bounds="88 176 504 56">
- <text id="comparison-left-title-carrier" data-pptx-placeholder-carrier="true"
+ <g id="comparison-left-title-slot" data-pptx-placeholder="body" data-pptx-idx="1"
+ data-pptx-bounds="88 176 504 56">
+ <text id="comparison-left-title-carrier" data-pptx-carrier="true"
x="88" y="214" fill="#334155" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="24" font-weight="700">{{LEFT_TITLE}}</text>
</g>
- <g id="comparison-left-content-slot" data-pptx-placeholder="object" data-pptx-placeholder-idx="2"
- data-pptx-placeholder-bounds="88 248 504 376">
- <text id="comparison-left-content-carrier" data-pptx-placeholder-carrier="true"
+ <g id="comparison-left-content-slot" data-pptx-placeholder="object" data-pptx-idx="2"
+ data-pptx-bounds="88 248 504 376">
+ <text id="comparison-left-content-carrier" data-pptx-carrier="true"
x="88" y="286" fill="#94A3B8"
font-family="Arial, Microsoft YaHei, sans-serif" font-size="22">{{LEFT_CONTENT}}</text>
</g>
- <g id="comparison-right-title-slot" data-pptx-placeholder="body" data-pptx-placeholder-idx="3"
- data-pptx-placeholder-bounds="688 176 504 56">
- <text id="comparison-right-title-carrier" data-pptx-placeholder-carrier="true"
+ <g id="comparison-right-title-slot" data-pptx-placeholder="body" data-pptx-idx="3"
+ data-pptx-bounds="688 176 504 56">
+ <text id="comparison-right-title-carrier" data-pptx-carrier="true"
x="688" y="214" fill="#334155" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="24" font-weight="700">{{RIGHT_TITLE}}</text>
</g>
- <g id="comparison-right-content-slot" data-pptx-placeholder="object" data-pptx-placeholder-idx="4"
- data-pptx-placeholder-bounds="688 248 504 376">
- <text id="comparison-right-content-carrier" data-pptx-placeholder-carrier="true"
+ <g id="comparison-right-content-slot" data-pptx-placeholder="object" data-pptx-idx="4"
+ data-pptx-bounds="688 248 504 376">
+ <text id="comparison-right-content-carrier" data-pptx-carrier="true"
x="688" y="286" fill="#94A3B8"
font-family="Arial, Microsoft YaHei, sans-serif" font-size="22">{{RIGHT_CONTENT}}</text>
</g>
diff --git a/skills/ppt-master/templates/layouts/presentation_core/templates/06_title_only.svg b/skills/ppt-master/templates/layouts/presentation_core/templates/06_title_only.svg
index f40a6474..b6b33eba 100644
--- a/skills/ppt-master/templates/layouts/presentation_core/templates/06_title_only.svg
+++ b/skills/ppt-master/templates/layouts/presentation_core/templates/06_title_only.svg
@@ -7,8 +7,8 @@
<rect id="title-only-rule" x="64" y="120" width="1152" height="2" fill="#D6DCE3"
data-pptx-layer="layout" data-pptx-editable="false"/>
<g id="title-only-title-slot" data-pptx-placeholder="title"
- data-pptx-placeholder-bounds="64 40 1152 72">
- <text id="title-only-title-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-bounds="64 40 1152 72">
+ <text id="title-only-title-carrier" data-pptx-carrier="true"
x="64" y="90" fill="#1E293B" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="36" font-weight="700">{{PAGE_TITLE}}</text>
</g>
diff --git a/skills/ppt-master/templates/layouts/presentation_core/templates/08_content_caption.svg b/skills/ppt-master/templates/layouts/presentation_core/templates/08_content_caption.svg
index 3736a0ba..06c2d734 100644
--- a/skills/ppt-master/templates/layouts/presentation_core/templates/08_content_caption.svg
+++ b/skills/ppt-master/templates/layouts/presentation_core/templates/08_content_caption.svg
@@ -9,20 +9,20 @@
<rect id="content-caption-panel" x="400" y="64" width="816" height="592" rx="12" fill="#F4F6F8"
stroke="#D6DCE3" stroke-width="1" data-pptx-layer="layout" data-pptx-editable="false"/>
<g id="content-caption-title-slot" data-pptx-placeholder="title"
- data-pptx-placeholder-bounds="64 112 256 104">
- <text id="content-caption-title-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-bounds="64 112 256 104">
+ <text id="content-caption-title-carrier" data-pptx-carrier="true"
x="64" y="180" fill="#1E293B" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="34" font-weight="700">{{PAGE_TITLE}}</text>
</g>
- <g id="content-caption-body-slot" data-pptx-placeholder="body" data-pptx-placeholder-idx="1"
- data-pptx-placeholder-bounds="64 248 256 296">
- <text id="content-caption-body-carrier" data-pptx-placeholder-carrier="true"
+ <g id="content-caption-body-slot" data-pptx-placeholder="body" data-pptx-idx="1"
+ data-pptx-bounds="64 248 256 296">
+ <text id="content-caption-body-carrier" data-pptx-carrier="true"
x="64" y="296" fill="#64748B" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="22">{{CAPTION}}</text>
</g>
- <g id="content-caption-object-slot" data-pptx-placeholder="object" data-pptx-placeholder-idx="2"
- data-pptx-placeholder-bounds="424 88 768 544">
- <text id="content-caption-object-carrier" data-pptx-placeholder-carrier="true"
+ <g id="content-caption-object-slot" data-pptx-placeholder="object" data-pptx-idx="2"
+ data-pptx-bounds="424 88 768 544">
+ <text id="content-caption-object-carrier" data-pptx-carrier="true"
x="424" y="126" fill="#94A3B8"
font-family="Arial, Microsoft YaHei, sans-serif" font-size="22">{{CONTENT_AREA}}</text>
</g>
diff --git a/skills/ppt-master/templates/layouts/presentation_core/templates/09_picture_caption.svg b/skills/ppt-master/templates/layouts/presentation_core/templates/09_picture_caption.svg
index 1296eefd..4abe9a51 100644
--- a/skills/ppt-master/templates/layouts/presentation_core/templates/09_picture_caption.svg
+++ b/skills/ppt-master/templates/layouts/presentation_core/templates/09_picture_caption.svg
@@ -9,20 +9,20 @@
<rect id="picture-caption-panel" x="856" y="64" width="360" height="592" rx="12" fill="#F4F6F8"
stroke="#D6DCE3" stroke-width="1" data-pptx-layer="layout" data-pptx-editable="false"/>
<g id="picture-caption-title-slot" data-pptx-placeholder="title"
- data-pptx-placeholder-bounds="888 112 296 104">
- <text id="picture-caption-title-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-bounds="888 112 296 104">
+ <text id="picture-caption-title-carrier" data-pptx-carrier="true"
x="888" y="180" fill="#1E293B" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="34" font-weight="700">{{PAGE_TITLE}}</text>
</g>
- <g id="picture-caption-body-slot" data-pptx-placeholder="body" data-pptx-placeholder-idx="1"
- data-pptx-placeholder-bounds="888 248 296 296">
- <text id="picture-caption-body-carrier" data-pptx-placeholder-carrier="true"
+ <g id="picture-caption-body-slot" data-pptx-placeholder="body" data-pptx-idx="1"
+ data-pptx-bounds="888 248 296 296">
+ <text id="picture-caption-body-carrier" data-pptx-carrier="true"
x="888" y="296" fill="#64748B" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="22">{{CAPTION}}</text>
</g>
- <g id="picture-caption-picture-slot" data-pptx-placeholder="picture" data-pptx-placeholder-idx="2"
- data-pptx-placeholder-bounds="64 64 752 592">
- <image id="picture-caption-picture-carrier" data-pptx-placeholder-carrier="true"
+ <g id="picture-caption-picture-slot" data-pptx-placeholder="picture" data-pptx-idx="2"
+ data-pptx-bounds="64 64 752 592">
+ <image id="picture-caption-picture-carrier" data-pptx-carrier="true"
x="64" y="64" width="752" height="592" preserveAspectRatio="none"
href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII="/>
</g>
diff --git a/skills/ppt-master/templates/layouts/presentation_core/templates/10_hero_statement.svg b/skills/ppt-master/templates/layouts/presentation_core/templates/10_hero_statement.svg
index 2f84defa..0306bbb1 100644
--- a/skills/ppt-master/templates/layouts/presentation_core/templates/10_hero_statement.svg
+++ b/skills/ppt-master/templates/layouts/presentation_core/templates/10_hero_statement.svg
@@ -9,14 +9,14 @@
<rect id="hero-statement-accent" x="96" y="144" width="160" height="6" rx="3" fill="#CBD5E1"
data-pptx-layer="layout" data-pptx-editable="false"/>
<g id="hero-statement-title-slot" data-pptx-placeholder="title"
- data-pptx-placeholder-bounds="96 184 1088 208">
- <text id="hero-statement-title-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-bounds="96 184 1088 208">
+ <text id="hero-statement-title-carrier" data-pptx-carrier="true"
x="96" y="304" fill="#1E293B" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="68" font-weight="700">{{KEY_MESSAGE}}</text>
</g>
- <g id="hero-statement-subtitle-slot" data-pptx-placeholder="subtitle" data-pptx-placeholder-idx="1"
- data-pptx-placeholder-bounds="96 424 760 72">
- <text id="hero-statement-subtitle-carrier" data-pptx-placeholder-carrier="true"
+ <g id="hero-statement-subtitle-slot" data-pptx-placeholder="subtitle" data-pptx-idx="1"
+ data-pptx-bounds="96 424 760 72">
+ <text id="hero-statement-subtitle-carrier" data-pptx-carrier="true"
x="96" y="472" fill="#64748B" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="26">{{SUBTITLE}}</text>
</g>
diff --git a/skills/ppt-master/templates/layouts/presentation_core/templates/11_editorial_split.svg b/skills/ppt-master/templates/layouts/presentation_core/templates/11_editorial_split.svg
index 4945e50d..31f2cffe 100644
--- a/skills/ppt-master/templates/layouts/presentation_core/templates/11_editorial_split.svg
+++ b/skills/ppt-master/templates/layouts/presentation_core/templates/11_editorial_split.svg
@@ -9,20 +9,20 @@
<rect id="editorial-split-rail" x="552" y="64" width="4" height="592" rx="2" fill="#CBD5E1"
data-pptx-layer="layout" data-pptx-editable="false"/>
<g id="editorial-split-title-slot" data-pptx-placeholder="title"
- data-pptx-placeholder-bounds="64 64 448 104">
- <text id="editorial-split-title-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-bounds="64 64 448 104">
+ <text id="editorial-split-title-carrier" data-pptx-carrier="true"
x="64" y="132" fill="#1E293B" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="38" font-weight="700">{{PAGE_TITLE}}</text>
</g>
- <g id="editorial-split-body-slot" data-pptx-placeholder="body" data-pptx-placeholder-idx="1"
- data-pptx-placeholder-bounds="64 208 448 352">
- <text id="editorial-split-body-carrier" data-pptx-placeholder-carrier="true"
+ <g id="editorial-split-body-slot" data-pptx-placeholder="body" data-pptx-idx="1"
+ data-pptx-bounds="64 208 448 352">
+ <text id="editorial-split-body-carrier" data-pptx-carrier="true"
x="64" y="260" fill="#64748B" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="24">{{BODY_TEXT}}</text>
</g>
- <g id="editorial-split-picture-slot" data-pptx-placeholder="picture" data-pptx-placeholder-idx="2"
- data-pptx-placeholder-bounds="592 64 624 592">
- <image id="editorial-split-picture-carrier" data-pptx-placeholder-carrier="true"
+ <g id="editorial-split-picture-slot" data-pptx-placeholder="picture" data-pptx-idx="2"
+ data-pptx-bounds="592 64 624 592">
+ <image id="editorial-split-picture-carrier" data-pptx-carrier="true"
x="592" y="64" width="624" height="592" preserveAspectRatio="none"
href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII="/>
</g>
diff --git a/skills/ppt-master/templates/layouts/presentation_core/templates/12_three_card.svg b/skills/ppt-master/templates/layouts/presentation_core/templates/12_three_card.svg
index f43fb121..656b7c6e 100644
--- a/skills/ppt-master/templates/layouts/presentation_core/templates/12_three_card.svg
+++ b/skills/ppt-master/templates/layouts/presentation_core/templates/12_three_card.svg
@@ -11,26 +11,26 @@
<rect id="three-card-panel-three" x="848" y="168" width="368" height="472" rx="16" fill="#F4F6F8"
stroke="#D6DCE3" stroke-width="1" data-pptx-layer="layout" data-pptx-editable="false"/>
<g id="three-card-title-slot" data-pptx-placeholder="title"
- data-pptx-placeholder-bounds="64 48 1152 80">
- <text id="three-card-title-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-bounds="64 48 1152 80">
+ <text id="three-card-title-carrier" data-pptx-carrier="true"
x="64" y="102" fill="#1E293B" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="36" font-weight="700">{{PAGE_TITLE}}</text>
</g>
- <g id="three-card-one-slot" data-pptx-placeholder="object" data-pptx-placeholder-idx="1"
- data-pptx-placeholder-bounds="88 192 320 424">
- <text id="three-card-one-carrier" data-pptx-placeholder-carrier="true"
+ <g id="three-card-one-slot" data-pptx-placeholder="object" data-pptx-idx="1"
+ data-pptx-bounds="88 192 320 424">
+ <text id="three-card-one-carrier" data-pptx-carrier="true"
x="88" y="230" fill="#64748B"
font-family="Arial, Microsoft YaHei, sans-serif" font-size="22">{{CARD_1}}</text>
</g>
- <g id="three-card-two-slot" data-pptx-placeholder="object" data-pptx-placeholder-idx="2"
- data-pptx-placeholder-bounds="480 192 320 424">
- <text id="three-card-two-carrier" data-pptx-placeholder-carrier="true"
+ <g id="three-card-two-slot" data-pptx-placeholder="object" data-pptx-idx="2"
+ data-pptx-bounds="480 192 320 424">
+ <text id="three-card-two-carrier" data-pptx-carrier="true"
x="480" y="230" fill="#64748B"
font-family="Arial, Microsoft YaHei, sans-serif" font-size="22">{{CARD_2}}</text>
</g>
- <g id="three-card-three-slot" data-pptx-placeholder="object" data-pptx-placeholder-idx="3"
- data-pptx-placeholder-bounds="872 192 320 424">
- <text id="three-card-three-carrier" data-pptx-placeholder-carrier="true"
+ <g id="three-card-three-slot" data-pptx-placeholder="object" data-pptx-idx="3"
+ data-pptx-bounds="872 192 320 424">
+ <text id="three-card-three-carrier" data-pptx-carrier="true"
x="872" y="230" fill="#64748B"
font-family="Arial, Microsoft YaHei, sans-serif" font-size="22">{{CARD_3}}</text>
</g>
diff --git a/skills/ppt-master/templates/layouts/presentation_core/templates/13_kpi_dashboard.svg b/skills/ppt-master/templates/layouts/presentation_core/templates/13_kpi_dashboard.svg
index 182ef569..4089471b 100644
--- a/skills/ppt-master/templates/layouts/presentation_core/templates/13_kpi_dashboard.svg
+++ b/skills/ppt-master/templates/layouts/presentation_core/templates/13_kpi_dashboard.svg
@@ -15,38 +15,38 @@
<rect id="kpi-dashboard-evidence-panel" x="64" y="320" width="1152" height="320" rx="12" fill="#F4F6F8"
stroke="#D6DCE3" stroke-width="1" data-pptx-layer="layout" data-pptx-editable="false"/>
<g id="kpi-dashboard-title-slot" data-pptx-placeholder="title"
- data-pptx-placeholder-bounds="64 40 1152 72">
- <text id="kpi-dashboard-title-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-bounds="64 40 1152 72">
+ <text id="kpi-dashboard-title-carrier" data-pptx-carrier="true"
x="64" y="90" fill="#1E293B" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="36" font-weight="700">{{PAGE_TITLE}}</text>
</g>
- <g id="kpi-dashboard-one-slot" data-pptx-placeholder="object" data-pptx-placeholder-idx="1"
- data-pptx-placeholder-bounds="80 168 232 96">
- <text id="kpi-dashboard-one-carrier" data-pptx-placeholder-carrier="true"
+ <g id="kpi-dashboard-one-slot" data-pptx-placeholder="object" data-pptx-idx="1"
+ data-pptx-bounds="80 168 232 96">
+ <text id="kpi-dashboard-one-carrier" data-pptx-carrier="true"
x="196" y="224" text-anchor="middle" fill="#334155"
font-family="Arial, Microsoft YaHei, sans-serif" font-size="28" font-weight="700">{{KPI_1}}</text>
</g>
- <g id="kpi-dashboard-two-slot" data-pptx-placeholder="object" data-pptx-placeholder-idx="2"
- data-pptx-placeholder-bounds="376 168 232 96">
- <text id="kpi-dashboard-two-carrier" data-pptx-placeholder-carrier="true"
+ <g id="kpi-dashboard-two-slot" data-pptx-placeholder="object" data-pptx-idx="2"
+ data-pptx-bounds="376 168 232 96">
+ <text id="kpi-dashboard-two-carrier" data-pptx-carrier="true"
x="492" y="224" text-anchor="middle" fill="#334155"
font-family="Arial, Microsoft YaHei, sans-serif" font-size="28" font-weight="700">{{KPI_2}}</text>
</g>
- <g id="kpi-dashboard-three-slot" data-pptx-placeholder="object" data-pptx-placeholder-idx="3"
- data-pptx-placeholder-bounds="672 168 232 96">
- <text id="kpi-dashboard-three-carrier" data-pptx-placeholder-carrier="true"
+ <g id="kpi-dashboard-three-slot" data-pptx-placeholder="object" data-pptx-idx="3"
+ data-pptx-bounds="672 168 232 96">
+ <text id="kpi-dashboard-three-carrier" data-pptx-carrier="true"
x="788" y="224" text-anchor="middle" fill="#334155"
font-family="Arial, Microsoft YaHei, sans-serif" font-size="28" font-weight="700">{{KPI_3}}</text>
</g>
- <g id="kpi-dashboard-four-slot" data-pptx-placeholder="object" data-pptx-placeholder-idx="4"
- data-pptx-placeholder-bounds="968 168 232 96">
- <text id="kpi-dashboard-four-carrier" data-pptx-placeholder-carrier="true"
+ <g id="kpi-dashboard-four-slot" data-pptx-placeholder="object" data-pptx-idx="4"
+ data-pptx-bounds="968 168 232 96">
+ <text id="kpi-dashboard-four-carrier" data-pptx-carrier="true"
x="1084" y="224" text-anchor="middle" fill="#334155"
font-family="Arial, Microsoft YaHei, sans-serif" font-size="28" font-weight="700">{{KPI_4}}</text>
</g>
- <g id="kpi-dashboard-evidence-slot" data-pptx-placeholder="object" data-pptx-placeholder-idx="5"
- data-pptx-placeholder-bounds="88 344 1104 272">
- <text id="kpi-dashboard-evidence-carrier" data-pptx-placeholder-carrier="true"
+ <g id="kpi-dashboard-evidence-slot" data-pptx-placeholder="object" data-pptx-idx="5"
+ data-pptx-bounds="88 344 1104 272">
+ <text id="kpi-dashboard-evidence-carrier" data-pptx-carrier="true"
x="88" y="382" fill="#94A3B8"
font-family="Arial, Microsoft YaHei, sans-serif" font-size="22">{{CONTENT_AREA}}</text>
</g>
diff --git a/skills/ppt-master/templates/layouts/presentation_core/templates/14_process_timeline.svg b/skills/ppt-master/templates/layouts/presentation_core/templates/14_process_timeline.svg
index 262c7ef9..508677c5 100644
--- a/skills/ppt-master/templates/layouts/presentation_core/templates/14_process_timeline.svg
+++ b/skills/ppt-master/templates/layouts/presentation_core/templates/14_process_timeline.svg
@@ -17,38 +17,38 @@
<rect id="process-timeline-takeaway-panel" x="64" y="568" width="1152" height="72" rx="12" fill="#F4F6F8"
stroke="#D6DCE3" stroke-width="1" data-pptx-layer="layout" data-pptx-editable="false"/>
<g id="process-timeline-title-slot" data-pptx-placeholder="title"
- data-pptx-placeholder-bounds="64 40 1152 72">
- <text id="process-timeline-title-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-bounds="64 40 1152 72">
+ <text id="process-timeline-title-carrier" data-pptx-carrier="true"
x="64" y="90" fill="#1E293B" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="36" font-weight="700">{{PAGE_TITLE}}</text>
</g>
- <g id="process-timeline-one-slot" data-pptx-placeholder="object" data-pptx-placeholder-idx="1"
- data-pptx-placeholder-bounds="80 168 232 344">
- <text id="process-timeline-one-carrier" data-pptx-placeholder-carrier="true"
+ <g id="process-timeline-one-slot" data-pptx-placeholder="object" data-pptx-idx="1"
+ data-pptx-bounds="80 168 232 344">
+ <text id="process-timeline-one-carrier" data-pptx-carrier="true"
x="196" y="376" text-anchor="middle" fill="#334155"
font-family="Arial, Microsoft YaHei, sans-serif" font-size="22">{{STEP_1}}</text>
</g>
- <g id="process-timeline-two-slot" data-pptx-placeholder="object" data-pptx-placeholder-idx="2"
- data-pptx-placeholder-bounds="376 168 232 344">
- <text id="process-timeline-two-carrier" data-pptx-placeholder-carrier="true"
+ <g id="process-timeline-two-slot" data-pptx-placeholder="object" data-pptx-idx="2"
+ data-pptx-bounds="376 168 232 344">
+ <text id="process-timeline-two-carrier" data-pptx-carrier="true"
x="492" y="376" text-anchor="middle" fill="#334155"
font-family="Arial, Microsoft YaHei, sans-serif" font-size="22">{{STEP_2}}</text>
</g>
- <g id="process-timeline-three-slot" data-pptx-placeholder="object" data-pptx-placeholder-idx="3"
- data-pptx-placeholder-bounds="672 168 232 344">
- <text id="process-timeline-three-carrier" data-pptx-placeholder-carrier="true"
+ <g id="process-timeline-three-slot" data-pptx-placeholder="object" data-pptx-idx="3"
+ data-pptx-bounds="672 168 232 344">
+ <text id="process-timeline-three-carrier" data-pptx-carrier="true"
x="788" y="376" text-anchor="middle" fill="#334155"
font-family="Arial, Microsoft YaHei, sans-serif" font-size="22">{{STEP_3}}</text>
</g>
- <g id="process-timeline-four-slot" data-pptx-placeholder="object" data-pptx-placeholder-idx="4"
- data-pptx-placeholder-bounds="968 168 232 344">
- <text id="process-timeline-four-carrier" data-pptx-placeholder-carrier="true"
+ <g id="process-timeline-four-slot" data-pptx-placeholder="object" data-pptx-idx="4"
+ data-pptx-bounds="968 168 232 344">
+ <text id="process-timeline-four-carrier" data-pptx-carrier="true"
x="1084" y="376" text-anchor="middle" fill="#334155"
font-family="Arial, Microsoft YaHei, sans-serif" font-size="22">{{STEP_4}}</text>
</g>
- <g id="process-timeline-takeaway-slot" data-pptx-placeholder="body" data-pptx-placeholder-idx="5"
- data-pptx-placeholder-bounds="88 584 1104 40">
- <text id="process-timeline-takeaway-carrier" data-pptx-placeholder-carrier="true"
+ <g id="process-timeline-takeaway-slot" data-pptx-placeholder="body" data-pptx-idx="5"
+ data-pptx-bounds="88 584 1104 40">
+ <text id="process-timeline-takeaway-carrier" data-pptx-carrier="true"
x="640" y="612" text-anchor="middle" fill="#475569"
font-family="Arial, Microsoft YaHei, sans-serif" font-size="20">{{KEY_MESSAGE}}</text>
</g>
diff --git a/skills/ppt-master/templates/layouts/presentation_core/templates/15_data_story.svg b/skills/ppt-master/templates/layouts/presentation_core/templates/15_data_story.svg
index ab567856..03702dcf 100644
--- a/skills/ppt-master/templates/layouts/presentation_core/templates/15_data_story.svg
+++ b/skills/ppt-master/templates/layouts/presentation_core/templates/15_data_story.svg
@@ -11,26 +11,26 @@
<rect id="data-story-source-rule" x="64" y="632" width="1152" height="2" fill="#D6DCE3"
data-pptx-layer="layout" data-pptx-editable="false"/>
<g id="data-story-title-slot" data-pptx-placeholder="title"
- data-pptx-placeholder-bounds="64 40 1152 72">
- <text id="data-story-title-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-bounds="64 40 1152 72">
+ <text id="data-story-title-carrier" data-pptx-carrier="true"
x="64" y="90" fill="#1E293B" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="36" font-weight="700">{{PAGE_TITLE}}</text>
</g>
- <g id="data-story-evidence-slot" data-pptx-placeholder="object" data-pptx-placeholder-idx="1"
- data-pptx-placeholder-bounds="88 176 712 408">
- <text id="data-story-evidence-carrier" data-pptx-placeholder-carrier="true"
+ <g id="data-story-evidence-slot" data-pptx-placeholder="object" data-pptx-idx="1"
+ data-pptx-bounds="88 176 712 408">
+ <text id="data-story-evidence-carrier" data-pptx-carrier="true"
x="88" y="214" fill="#94A3B8"
font-family="Arial, Microsoft YaHei, sans-serif" font-size="22">{{CONTENT_AREA}}</text>
</g>
- <g id="data-story-insight-slot" data-pptx-placeholder="body" data-pptx-placeholder-idx="2"
- data-pptx-placeholder-bounds="888 184 296 360">
- <text id="data-story-insight-carrier" data-pptx-placeholder-carrier="true"
+ <g id="data-story-insight-slot" data-pptx-placeholder="body" data-pptx-idx="2"
+ data-pptx-bounds="888 184 296 360">
+ <text id="data-story-insight-carrier" data-pptx-carrier="true"
x="888" y="240" fill="#475569" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="24" font-weight="700">{{KEY_MESSAGE}}</text>
</g>
- <g id="data-story-source-slot" data-pptx-placeholder="footer" data-pptx-placeholder-idx="3"
- data-pptx-placeholder-bounds="64 648 1152 32">
- <text id="data-story-source-carrier" data-pptx-placeholder-carrier="true"
+ <g id="data-story-source-slot" data-pptx-placeholder="footer" data-pptx-idx="3"
+ data-pptx-bounds="64 648 1152 32">
+ <text id="data-story-source-carrier" data-pptx-carrier="true"
x="64" y="670" fill="#94A3B8" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="14">{{SOURCE}}</text>
</g>
diff --git a/skills/ppt-master/templates/layouts/presentation_core/templates/16_title_picture.svg b/skills/ppt-master/templates/layouts/presentation_core/templates/16_title_picture.svg
index 5a46b40e..cc08358c 100644
--- a/skills/ppt-master/templates/layouts/presentation_core/templates/16_title_picture.svg
+++ b/skills/ppt-master/templates/layouts/presentation_core/templates/16_title_picture.svg
@@ -10,14 +10,14 @@
fill="#EEF2F6" stroke="#D6DCE3" stroke-width="1"
data-pptx-layer="layout" data-pptx-editable="false"/>
<g id="title-picture-title-slot" data-pptx-placeholder="title"
- data-pptx-placeholder-bounds="64 40 1152 72">
- <text id="title-picture-title-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-bounds="64 40 1152 72">
+ <text id="title-picture-title-carrier" data-pptx-carrier="true"
x="64" y="90" fill="#1E293B" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="36" font-weight="700">{{PAGE_TITLE}}</text>
</g>
- <g id="title-picture-picture-slot" data-pptx-placeholder="picture" data-pptx-placeholder-idx="1"
- data-pptx-placeholder-bounds="64 152 1152 504">
- <image id="title-picture-picture-carrier" data-pptx-placeholder-carrier="true"
+ <g id="title-picture-picture-slot" data-pptx-placeholder="picture" data-pptx-idx="1"
+ data-pptx-bounds="64 152 1152 504">
+ <image id="title-picture-picture-carrier" data-pptx-carrier="true"
x="64" y="152" width="1152" height="504" preserveAspectRatio="none"
href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII="/>
</g>
diff --git a/skills/ppt-master/templates/layouts/presentation_core/templates/17_two_picture_caption.svg b/skills/ppt-master/templates/layouts/presentation_core/templates/17_two_picture_caption.svg
index 6716b7b3..c3ac85ab 100644
--- a/skills/ppt-master/templates/layouts/presentation_core/templates/17_two_picture_caption.svg
+++ b/skills/ppt-master/templates/layouts/presentation_core/templates/17_two_picture_caption.svg
@@ -17,32 +17,32 @@
fill="#F4F6F8" stroke="#D6DCE3" stroke-width="1"
data-pptx-layer="layout" data-pptx-editable="false"/>
<g id="two-picture-title-slot" data-pptx-placeholder="title"
- data-pptx-placeholder-bounds="64 40 1152 72">
- <text id="two-picture-title-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-bounds="64 40 1152 72">
+ <text id="two-picture-title-carrier" data-pptx-carrier="true"
x="64" y="90" fill="#1E293B" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="36" font-weight="700">{{PAGE_TITLE}}</text>
</g>
<g id="two-picture-left-picture-slot" data-pptx-placeholder="picture"
- data-pptx-placeholder-idx="1" data-pptx-placeholder-bounds="64 152 552 320">
- <image id="two-picture-left-picture-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-idx="1" data-pptx-bounds="64 152 552 320">
+ <image id="two-picture-left-picture-carrier" data-pptx-carrier="true"
x="64" y="152" width="552" height="320" preserveAspectRatio="none"
href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII="/>
</g>
<g id="two-picture-right-picture-slot" data-pptx-placeholder="picture"
- data-pptx-placeholder-idx="2" data-pptx-placeholder-bounds="664 152 552 320">
- <image id="two-picture-right-picture-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-idx="2" data-pptx-bounds="664 152 552 320">
+ <image id="two-picture-right-picture-carrier" data-pptx-carrier="true"
x="664" y="152" width="552" height="320" preserveAspectRatio="none"
href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII="/>
</g>
<g id="two-picture-left-caption-slot" data-pptx-placeholder="body"
- data-pptx-placeholder-idx="3" data-pptx-placeholder-bounds="88 520 504 96">
- <text id="two-picture-left-caption-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-idx="3" data-pptx-bounds="88 520 504 96">
+ <text id="two-picture-left-caption-carrier" data-pptx-carrier="true"
x="88" y="576" fill="#475569" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="22">{{LEFT_CAPTION}}</text>
</g>
<g id="two-picture-right-caption-slot" data-pptx-placeholder="body"
- data-pptx-placeholder-idx="4" data-pptx-placeholder-bounds="688 520 504 96">
- <text id="two-picture-right-caption-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-idx="4" data-pptx-bounds="688 520 504 96">
+ <text id="two-picture-right-caption-carrier" data-pptx-carrier="true"
x="688" y="576" fill="#475569" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="22">{{RIGHT_CAPTION}}</text>
</g>
diff --git a/skills/ppt-master/templates/layouts/presentation_core/templates/18_screenshot_focus.svg b/skills/ppt-master/templates/layouts/presentation_core/templates/18_screenshot_focus.svg
index c454458a..63c459c6 100644
--- a/skills/ppt-master/templates/layouts/presentation_core/templates/18_screenshot_focus.svg
+++ b/skills/ppt-master/templates/layouts/presentation_core/templates/18_screenshot_focus.svg
@@ -23,26 +23,26 @@
<rect id="screenshot-focus-source-rule" x="952" y="520" width="232" height="2" fill="#D6DCE3"
data-pptx-layer="layout" data-pptx-editable="false"/>
<g id="screenshot-focus-title-slot" data-pptx-placeholder="title"
- data-pptx-placeholder-bounds="64 40 1152 72">
- <text id="screenshot-focus-title-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-bounds="64 40 1152 72">
+ <text id="screenshot-focus-title-carrier" data-pptx-carrier="true"
x="64" y="90" fill="#1E293B" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="36" font-weight="700">{{PAGE_TITLE}}</text>
</g>
<g id="screenshot-focus-picture-slot" data-pptx-placeholder="picture"
- data-pptx-placeholder-idx="1" data-pptx-placeholder-bounds="64 196 824 420">
- <image id="screenshot-focus-picture-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-idx="1" data-pptx-bounds="64 196 824 420">
+ <image id="screenshot-focus-picture-carrier" data-pptx-carrier="true"
x="64" y="196" width="824" height="420" preserveAspectRatio="none"
href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII="/>
</g>
<g id="screenshot-focus-annotation-slot" data-pptx-placeholder="body"
- data-pptx-placeholder-idx="2" data-pptx-placeholder-bounds="968 184 216 304">
- <text id="screenshot-focus-annotation-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-idx="2" data-pptx-bounds="968 184 216 304">
+ <text id="screenshot-focus-annotation-carrier" data-pptx-carrier="true"
x="968" y="304" fill="#475569" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="22">{{ANNOTATION}}</text>
</g>
<g id="screenshot-focus-source-slot" data-pptx-placeholder="footer"
- data-pptx-placeholder-idx="3" data-pptx-placeholder-bounds="952 536 232 40">
- <text id="screenshot-focus-source-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-idx="3" data-pptx-bounds="952 536 232 40">
+ <text id="screenshot-focus-source-carrier" data-pptx-carrier="true"
x="952" y="564" fill="#94A3B8" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="14">{{SOURCE}}</text>
</g>
diff --git a/skills/ppt-master/templates/layouts/presentation_core/templates/19_chart_insight.svg b/skills/ppt-master/templates/layouts/presentation_core/templates/19_chart_insight.svg
index 01ef8ff7..1e8d1841 100644
--- a/skills/ppt-master/templates/layouts/presentation_core/templates/19_chart_insight.svg
+++ b/skills/ppt-master/templates/layouts/presentation_core/templates/19_chart_insight.svg
@@ -11,14 +11,14 @@
fill="#F4F6F8" stroke="#D6DCE3" stroke-width="1"
data-pptx-layer="layout" data-pptx-editable="false"/>
<g id="chart-insight-title-slot" data-pptx-placeholder="title"
- data-pptx-placeholder-bounds="64 40 1152 72">
- <text id="chart-insight-title-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-bounds="64 40 1152 72">
+ <text id="chart-insight-title-carrier" data-pptx-carrier="true"
x="64" y="90" fill="#1E293B" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="36" font-weight="700">{{PAGE_TITLE}}</text>
</g>
- <g id="chart-insight-chart-slot" data-pptx-placeholder="chart" data-pptx-placeholder-idx="1"
- data-pptx-placeholder-bounds="88 176 712 408">
- <g id="chart-insight-chart-carrier" data-pptx-placeholder-carrier="true"
+ <g id="chart-insight-chart-slot" data-pptx-placeholder="chart" data-pptx-idx="1"
+ data-pptx-bounds="88 176 712 408">
+ <g id="chart-insight-chart-carrier" data-pptx-carrier="true"
data-pptx-replace-with="chart">
<metadata type="application/json">{"name":"chart_insight","x":88,"y":176,"width":712,"height":408,"type":"column","categories":["Q1","Q2","Q3","Q4"],"series":[{"name":"Actual","values":[42,55,63,78]},{"name":"Plan","values":[48,58,68,74]}],"show_legend":true,"legend_position":"bottom","style":{"colors":["#64748B","#CBD5E1"],"chart_area_fill":"#F4F6F8","plot_area_fill":"#FFFFFF","text_color":"#475569","axis_color":"#CBD5E1","grid_color":"#E2E8F0","font_family":"Arial"}}</metadata>
<rect x="88" y="176" width="712" height="408" rx="8" fill="#FFFFFF"/>
@@ -44,15 +44,15 @@
<text x="644" y="554" text-anchor="middle" fill="#64748B" font-family="Arial, sans-serif" font-size="15">Q4</text>
</g>
</g>
- <g id="chart-insight-message-slot" data-pptx-placeholder="body" data-pptx-placeholder-idx="2"
- data-pptx-placeholder-bounds="888 184 296 360">
- <text id="chart-insight-message-carrier" data-pptx-placeholder-carrier="true"
+ <g id="chart-insight-message-slot" data-pptx-placeholder="body" data-pptx-idx="2"
+ data-pptx-bounds="888 184 296 360">
+ <text id="chart-insight-message-carrier" data-pptx-carrier="true"
x="888" y="232" fill="#334155" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="24" font-weight="700">{{KEY_MESSAGE}}</text>
</g>
- <g id="chart-insight-source-slot" data-pptx-placeholder="footer" data-pptx-placeholder-idx="3"
- data-pptx-placeholder-bounds="888 552 296 32">
- <text id="chart-insight-source-carrier" data-pptx-placeholder-carrier="true"
+ <g id="chart-insight-source-slot" data-pptx-placeholder="footer" data-pptx-idx="3"
+ data-pptx-bounds="888 552 296 32">
+ <text id="chart-insight-source-carrier" data-pptx-carrier="true"
x="888" y="576" fill="#94A3B8" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="14">{{SOURCE}}</text>
</g>
diff --git a/skills/ppt-master/templates/layouts/presentation_core/templates/20_table_summary.svg b/skills/ppt-master/templates/layouts/presentation_core/templates/20_table_summary.svg
index 57d46af3..eb719943 100644
--- a/skills/ppt-master/templates/layouts/presentation_core/templates/20_table_summary.svg
+++ b/skills/ppt-master/templates/layouts/presentation_core/templates/20_table_summary.svg
@@ -11,14 +11,14 @@
fill="#F4F6F8" stroke="#D6DCE3" stroke-width="1"
data-pptx-layer="layout" data-pptx-editable="false"/>
<g id="table-summary-title-slot" data-pptx-placeholder="title"
- data-pptx-placeholder-bounds="64 40 1152 72">
- <text id="table-summary-title-carrier" data-pptx-placeholder-carrier="true"
+ data-pptx-bounds="64 40 1152 72">
+ <text id="table-summary-title-carrier" data-pptx-carrier="true"
x="64" y="90" fill="#1E293B" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="36" font-weight="700">{{PAGE_TITLE}}</text>
</g>
- <g id="table-summary-table-slot" data-pptx-placeholder="table" data-pptx-placeholder-idx="1"
- data-pptx-placeholder-bounds="88 176 776 408">
- <g id="table-summary-table-carrier" data-pptx-placeholder-carrier="true"
+ <g id="table-summary-table-slot" data-pptx-placeholder="table" data-pptx-idx="1"
+ data-pptx-bounds="88 176 776 408">
+ <g id="table-summary-table-carrier" data-pptx-carrier="true"
data-pptx-replace-with="table">
<metadata type="application/json">{"name":"table_summary","x":88,"y":176,"width":776,"height":408,"strict_grid":true,"column_widths":[3,2,2],"row_heights":[1,1,1,1,1],"style":{"font_family":"Arial","font_size":17,"header_font_size":16,"header_fill":"#E2E8F0","header_text":"#334155","body_fill":"#FFFFFF","body_text":"#475569","band_fill":"#F8FAFC","border_color":"#D6DCE3","border_width":1,"padding":{"left":12,"right":12,"top":6,"bottom":6},"valign":"middle"},"columns":[{"text":"Metric","bold":true},{"text":"Current","align":"r","bold":true},{"text":"Target","align":"r","bold":true}],"rows":[[{"text":"Adoption"},{"text":"68%","align":"r","bold":true},{"text":"80%","align":"r"}],[{"text":"Cycle time"},{"text":"12 d","align":"r","bold":true},{"text":"8 d","align":"r"}],[{"text":"Quality"},{"text":"94%","align":"r","bold":true},{"text":"97%","align":"r"}],[{"text":"Cost index"},{"text":"1.08","align":"r","bold":true},{"text":"1.00","align":"r"}]]}</metadata>
<rect x="88" y="176" width="776" height="408" rx="8" fill="#FFFFFF" stroke="#D6DCE3" stroke-width="1"/>
@@ -50,15 +50,15 @@
<text x="840" y="552" text-anchor="end" fill="#475569" font-family="Arial, sans-serif" font-size="17">1.00</text>
</g>
</g>
- <g id="table-summary-message-slot" data-pptx-placeholder="body" data-pptx-placeholder-idx="2"
- data-pptx-placeholder-bounds="952 184 232 344">
- <text id="table-summary-message-carrier" data-pptx-placeholder-carrier="true"
+ <g id="table-summary-message-slot" data-pptx-placeholder="body" data-pptx-idx="2"
+ data-pptx-bounds="952 184 232 344">
+ <text id="table-summary-message-carrier" data-pptx-carrier="true"
x="952" y="232" fill="#334155" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="24" font-weight="700">{{KEY_MESSAGE}}</text>
</g>
- <g id="table-summary-source-slot" data-pptx-placeholder="footer" data-pptx-placeholder-idx="3"
- data-pptx-placeholder-bounds="952 552 232 32">
- <text id="table-summary-source-carrier" data-pptx-placeholder-carrier="true"
+ <g id="table-summary-source-slot" data-pptx-placeholder="footer" data-pptx-idx="3"
+ data-pptx-bounds="952 552 232 32">
+ <text id="table-summary-source-carrier" data-pptx-carrier="true"
x="952" y="576" fill="#94A3B8" font-family="Arial, Microsoft YaHei, sans-serif"
font-size="14">{{SOURCE}}</text>
</g>
diff --git a/skills/ppt-master/workflows/create-template.md b/skills/ppt-master/workflows/create-template.md
index 59977e25..7a9f7fef 100644
--- a/skills/ppt-master/workflows/create-template.md
+++ b/skills/ppt-master/workflows/create-template.md
@@ -616,16 +616,16 @@ Mirror mode does not simplify the visual target or synthesize layer ownership. T
**Hard rule — placeholder examples are executable defaults**: In authored
`standard` / `fidelity` templates, a carrier is not a floating review label. It
becomes the prototype Slide placeholder, while
-`data-pptx-placeholder-bounds` becomes the reusable Layout frame.
+`data-pptx-bounds` becomes the reusable Layout frame.
| Concern | Requirement |
|---|---|
-| Full editable frame | `data-pptx-placeholder-bounds` describes the complete intended text, picture, chart, table, or object box. Never derive it from the sample text's glyph bounds or leave it as a one-line tight box. |
+| Full editable frame | `data-pptx-bounds` describes the complete intended text, picture, chart, table, or object box. Never derive it from the sample text's glyph bounds or leave it as a one-line tight box. |
| Generic text entry | General `body` and text-carried `object` slots begin at the upper-left, use left paragraph alignment, and wrap inside the full frame. Title/subtitle alignment follows the authored composition. |
| Centered exceptions | Center alignment is reserved for semantically short focal content such as KPI values, short process nodes, hero statements, and compact takeaways. Record a template-wide exception in `design_spec.md §IV` when it is part of the layout grammar. |
| Review Slide binding | `template_preview_pptx.py` sizes each authored Slide carrier to the same complete frame as its registered Layout placeholder. A review deck whose Slide carrier is only the prompt text's tight box fails Step 6. |
| Review prompt legibility | For `standard` / `fidelity`, the preview exporter substitutes concise sample text only in ephemeral review SVGs so long canonical markers such as `{{CHAPTER_NUM}}` or `{{PAGE_NUM}}` do not wrap. The source SVG markers, carrier font sizes, slot metadata, and Layout frames remain unchanged. |
-| Mirror boundary | `mirror` preserves source Slide carrier geometry exactly in the tool-side native record referenced by its text carrier and keeps `data-pptx-placeholder-bounds` as the reusable Layout default. Do not normalize one to the other when the source intentionally overrides that frame. |
+| Mirror boundary | `mirror` preserves source Slide carrier geometry exactly in the tool-side native record referenced by its text carrier and keeps `data-pptx-bounds` as the reusable Layout default. Do not normalize one to the other when the source intentionally overrides that frame. |
---