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
docs(pptx-objects): document completed P2 reconstruction scope
hugohe3ce84d1105de0
diff --git a/docs/technical-design.md b/docs/technical-design.mdindex f94c1a48..783141de 100644--- a/docs/technical-design.md+++ b/docs/technical-design.md@@ -466,7 +466,11 @@ These direct routes share some analysis primitives with the main pipeline, espec**Why each template SVG stays complete while still compiling to a Layout.** A generated SVG is a complete standalone preview, so it repeats inherited Master/Layout visuals together with its selectable Slide content. `page_layouts` names the input reference and `pptx_layouts` names the output Layout; both exist for every template page. Strict keeps the selected contract, while adaptive may lock a new Layout key under the same Master. Export removes repeated inherited copies and emits real Master/Layout parts, leaving actual content on the Slide.-**Why native-object reconstruction uses markers, not automatic object replacement.** The standalone `pptx_to_svg.py` importer can emit SVG fallback content plus `data-pptx-native` metadata for verified text-grid tables and conservative classic-chart caches. The table subset now includes unmerged grids, canonical rectangular merge topology with empty slaves, safe solid/no-fill per-side borders, and plain multi-paragraph cells whose run styling is uniform. Noncanonical or overlapping merges, nonblank slaves, unsafe border XML, non-solid fills, and mixed run-level rich text still fail closed. The normalized fallback for table style `{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}` resolves `wholeTbl`, `firstRow`, horizontal banding, theme colors/fonts, and direct overrides; this does not imply a full built-in/custom style registry. For supported parsed column/bar/line/area, pie/doughnut, scatter, and bubble charts, a missing baked preview is replaced by a deterministic readable SVG fallback with `visual=normalized`. The importer additionally covers the verified column/line/area combo subset, canonical four-series OHLC stock charts, area charts with numeric date axes, and verified scatter/bubble charts with a closed `x`/`y` value-axis pair. Combo plots may retain independent primary/secondary category caches and workbook ranges. XY import derives `scatter_style` from the uniform effective line/marker/smooth state of the series instead of treating the plot-level token as sufficient. Axis preservation uses closed category/value and XY role contracts for kind, position, visibility, label position, number format, min/max/major unit, reversal, and major gridlines. The normalized XY fallback newly consumes only the two `major_gridlines` flags; the remaining stored XY fields are native read-back semantics, not a claim of complete visual-axis parity or a full `AxisSpec`. Common solid/no-fill/line/marker forms and scheme colors are accepted conservatively; unknown series paint/style XML outside the explicit normalization boundaries still fails closed. Safe stock series style may pass the structural gate, but stock series, `hiLowLines`, and up-down bar local styling can still normalize under the editable-first contract. Native replacement may normalize style details absent from the payload, which remains part of the explicit editable-first warning. The importer also retains chart title/legend/axis titles and supported plot-level data-label flags. The default export consumes fallback children as regular DrawingML shapes; only `--native-objects` activates editable PowerPoint tables/charts. Unsupported chart cases — including ChartEx import, rotated/flipped/3D charts, combo or stock variants outside the verified subset, unsupported date-axis families, unmodeled axis semantics, unsupported data-label scopes/types, trendlines/error bars, unsupported subtype options, and sparse or non-finite caches — keep a baked preview when one exists. Active types outside the current renderer, including `of_pie`, combo, and stock, retain `visual=placeholder` / `route=reconstruction-only` when no source preview exists; native opt-in may still reconstruct their valid payload. Every active imported marker is stamped with `data-pptx-fallback-sha256`: stale visible edits, reachable SVG fragment-definition changes, marker-local reference-target changes, or marker transforms are reported by the mandatory checker; default export keeps the SVG, while native replacement hard-fails. Hashless legacy markers remain compatible with a checker/native-route warning. ChartEx emission consumes valid payload colors in the color-style part, without claiming ChartEx import or full source-style fidelity. Invalid status declarations remain errors. This importer/exporter pairing is a reconstruction aid, not a preservation-route substitute for `template-fill-pptx` or `native-enhance-pptx`.+**Why native-object reconstruction uses markers, not automatic object replacement.** The standalone `pptx_to_svg.py` importer emits visible SVG fallback plus `data-pptx-native` metadata only for validated table/chart subsets. Table import covers exact physical row/grid topology, canonical rectangular merges with empty slaves, safe solid/no-fill per-side borders, plain multi-paragraph cells, and a closed run-rich paragraph form. A rich paragraph contains non-empty `runs`; every run requires `text` and may use only `bold`, `italic`, `underline`, `strike`, `color`, `font_size`, one `font_family`, `lang`, and `alt_lang`. Unknown source presentation-only run XML normalizes into that schema, while relationship-bearing text, extensions, line breaks, fields, tabs, bullets, malformed text topology, noncanonical merges, unsafe borders, and non-solid fills remain fallback-only. The normalized fallback for table style `{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}` resolves `wholeTbl`, `firstRow`, horizontal banding, theme colors/fonts, and direct overrides; this is not a full built-in/custom style registry.++For supported parsed column/bar/line/area, pie/doughnut, scatter, and bubble charts, a missing baked preview is replaced by a deterministic readable SVG fallback marked `visual=normalized`. The importer also covers the verified column/line/area combo subset, canonical four-series OHLC stock, area charts with numeric date axes, verified scatter/bubble charts with the closed `axes.x` / `axes.y` contract, radar, safe `of_pie` `serLines`, axis/title/legend normalization, and bounded bar/column gap/overlap cases. `gapWidth` is accepted only as one integer in `0..500`, and `overlap` only as one integer in `-100..100`; these presentation values intentionally normalize in native output, while malformed, duplicate, or out-of-range input fails closed. Combo plots may retain independent primary/secondary category caches and workbook ranges. XY import derives `scatter_style` from uniform effective series line/marker/smooth state. The closed category/value and XY axis contracts retain kind, position, visibility, label position, number format, min/max/major unit, reversal, and major gridlines for native read-back; the normalized XY fallback consumes only the two `major_gridlines` flags.++ChartEx import is deliberately closed to seven validated data models: `treemap`, `sunburst`, `histogram`, `pareto`, `box_whisker`, `waterfall`, and `funnel`. Their supported hierarchy/category/value/series/subtotal data topology round-trips through native output and reimport. Numeric caches must be non-empty and finite, with canonical non-negative counts/indexes and exact contiguous point topology. Source ChartEx style, axes, labels, and binning may normalize; this is not arbitrary ChartEx import or presentation fidelity. C4/C5 do not expand the normalized renderer, so valid active types outside it still use `visual=placeholder` / `route=reconstruction-only` without a source preview. Full `AxisSpec`, arbitrary ChartEx families, arbitrary rich OOXML, rotated/flipped/3D charts, unverified combo/stock/date-axis variants, and other unmodeled semantics remain outside the active import subset. Native replacement may normalize payload-external presentation details and retains the editable-first warning. Default export keeps fallback children as ordinary DrawingML shapes; only `--native-objects` activates editable tables/charts. Every active imported marker carries `data-pptx-fallback-sha256`: stale visible edits, reachable SVG definition/reference changes, or marker transforms make native replacement fail rather than discard the SVG edit, while hashless legacy markers remain compatible with a warning. This importer/exporter pairing is a reconstruction aid, not a preservation-route substitute for `template-fill-pptx` or `native-enhance-pptx`.---diff --git a/docs/zh/technical-design.md b/docs/zh/technical-design.mdindex d898f3d0..b19e15d2 100644--- a/docs/zh/technical-design.md+++ b/docs/zh/technical-design.md@@ -466,7 +466,11 @@ PowerPoint 的 DrawingML 是 SVG 表达力的严格子集。在转换器已实**为什么模板 SVG 保持完整却仍能编译成版式。** 每张生成 SVG 都是可独立预览的完整 slide,因此会重复携带继承的 Master/Layout 视觉和可选择的 Slide 内容。`page_layouts` 指定输入参考,`pptx_layouts` 指定输出版式,两者在模板路线中逐页齐全。严格模式保持所选契约;自适应模式可在同一 Master 下锁定新 Layout。导出器移除重复继承层并生成真实 Master/Layout,实际内容仍留在 Slide。-**为什么原生对象重建使用 marker,而不是自动替换对象。** 独立的 `pptx_to_svg.py` 导入器会为已验证的纯文本表格和保守 classic-chart cache 输出 SVG fallback,并附加 `data-pptx-native` 元数据。表格子集现已覆盖未合并网格、slave 为空的规范矩形 merge topology、安全的 solid/no-fill 逐边 border,以及 run 样式一致的纯文本多段落单元格;非规范或重叠 merge、非空 slave、不安全 border XML、非纯色填充和混合 run-level 富文本仍 fail closed。表格样式 `{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}` 的规范化 fallback 会解析 `wholeTbl`、`firstRow`、横向带状行、主题颜色 / 字体和直接格式覆盖;这不代表已经实现完整 built-in/custom style registry。受支持的柱 / 条 / 折线 / 面积、饼 / 圆环、散点 / 气泡图在没有 baked preview 时会生成确定性、可读的 SVG fallback,并标记 `visual=normalized`。导入器还覆盖已验证的柱 / 折线 / 面积组合图子集、规范四系列 OHLC stock、使用数值日期轴的面积图,以及使用封闭 `x`/`y` 数值轴对的已验证散点 / 气泡图;组合图的主 / 次 plot 可保留独立 category cache 和 workbook range。XY 导入会根据各系列一致的实际 line/marker/smooth 状态推导 `scatter_style`,不把 plot-level token 单独当作充分依据。坐标轴保留采用封闭的 category/value 与 XY 角色合同,字段仅为 kind、position、visibility、label position、number format、min/max/major unit、reverse 和 major_gridlines。规范化 XY fallback 本批只新增消费 `x`/`y` 的两个 `major_gridlines` 开关;其余 XY 字段是 native read-back 语义,不代表完整视觉轴保真或完整 `AxisSpec`。常见 solid/no-fill/line/marker 写法和 scheme color 会被保守解析,显式归一化边界之外的未知 series paint/style XML 仍 fail closed。安全的 stock series style 可通过结构门禁,但 stock series、`hiLowLines` 与 up-down bar 的局部样式仍可能按 editable-first 合同归一化。payload 未建模的样式细节在 native 替换时仍可能归一化,并由 editable-first warning 明示。图表标题、图例、坐标轴标题和受支持的数据标签语义继续保留。默认导出把 fallback 子元素当普通 DrawingML shape 处理;只有 `--native-objects` 才启用可编辑的 PowerPoint 表格 / 图表。ChartEx 导入、旋转 / 翻转 / 3D 图表、已验证子集之外的 combo/stock 变体、其他日期轴图表族、未建模坐标轴语义、不受支持的数据标签、趋势线 / 误差线、不受支持的子类型、稀疏或非有限 cache 等场景在有 baked preview 时继续保留预览。当前 renderer 范围之外但 payload 仍有效的类型(包括 `of_pie`、combo 和 stock)在没有源 preview 时继续使用 `visual=placeholder` / `route=reconstruction-only`,native opt-in 仍可重建。每个 active imported marker 都写入 `data-pptx-fallback-sha256`:可见 fallback、可达的 SVG fragment definition、marker 内部引用目标或 marker transform 后续被改动时,强制质量检查器会报告 stale;默认导出继续保留 SVG,native replacement hard fail。无 hash 的旧 marker 仍兼容,只在 checker/native 路线提示无法检测 stale。ChartEx emitter 现在把有效 payload colors 写入 color-style part,但不承诺 ChartEx 导入或完整源样式保真。非法状态声明继续作为 error。这对 importer/exporter 是重建辅助能力,不能替代 `template-fill-pptx` 或 `native-enhance-pptx` 的保留型路线。+**为什么原生对象重建使用 marker,而不是自动替换对象。** 独立的 `pptx_to_svg.py` 导入器只为已验证的表格 / 图表子集输出可见 SVG fallback 与 `data-pptx-native` 元数据。表格导入覆盖精确的物理行列 topology、slave 为空的规范矩形 merge、安全的 solid/no-fill 逐边 border、纯文本多段落,以及封闭的 run 级富文本段落。富文本段落包含非空 `runs`;每个 run 必须有 `text`,并且只能使用 `bold`、`italic`、`underline`、`strike`、`color`、`font_size`、单一 `font_family`、`lang` 和 `alt_lang`。来源中未建模但只影响表现的 run XML 会归一化到该 schema;带 relationship 的文本、扩展节点、换行、字段、tab、项目符号、破损文本 topology、非规范 merge、不安全 border 与非纯色填充仍保持 fallback-only。表格样式 `{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}` 的规范化 fallback 会解析 `wholeTbl`、`firstRow`、横向带状行、主题颜色 / 字体和直接格式覆盖;这不代表完整 built-in/custom style registry。++受支持的柱 / 条 / 折线 / 面积、饼 / 圆环、散点 / 气泡图在没有 baked preview 时会生成确定性、可读的 SVG fallback,并标记 `visual=normalized`。导入器还覆盖已验证的柱 / 折线 / 面积组合图、规范四系列 OHLC stock、数值日期轴面积图、采用封闭 `axes.x` / `axes.y` 合同的散点 / 气泡图、radar、安全的 `of_pie` `serLines`、坐标轴 / 标题 / 图例归一化,以及有界的柱 / 条图 gap/overlap 场景。`gapWidth` 只接受 `0..500` 内的单个整数,`overlap` 只接受 `-100..100` 内的单个整数;这两个表现字段在 native 输出中有意归一化,非法、重复或越界输入 fail closed。组合图可保留主 / 次 plot 各自的 category cache 与 workbook range。XY 导入根据各系列一致的有效 line/marker/smooth 状态推导 `scatter_style`。封闭的 category/value 与 XY 轴合同为 native read-back 保留 kind、position、visibility、label position、number format、min/max/major unit、reverse 和 major gridlines;规范化 XY fallback 只消费两个 `major_gridlines` 开关。++ChartEx 导入被有意限制为 7 个已验证数据模型:`treemap`、`sunburst`、`histogram`、`pareto`、`box_whisker`、`waterfall` 与 `funnel`。其受支持的层级 / 分类 / 数值 / 系列 / 小计数据 topology 可经 native 输出再导入回读。数值 cache 必须非空且有限,count/index 必须是规范非负整数,并满足精确连续的 point topology。来源 ChartEx 的样式、坐标轴、标签与 binning 可能归一化;这不代表任意 ChartEx 导入或表现层保真。C4/C5 不扩展 normalized renderer,因此 renderer 外的有效 active 类型在没有源 preview 时仍使用 `visual=placeholder` / `route=reconstruction-only`。完整 `AxisSpec`、任意 ChartEx 家族、任意富文本 OOXML、旋转 / 翻转 / 3D 图表、未验证的 combo/stock/date-axis 变体及其他未建模语义仍不在 active 导入子集内。native replacement 仍可能归一化 payload 外的表现细节,并保留 editable-first warning。默认导出把 fallback 子元素作为普通 DrawingML shape;只有 `--native-objects` 才启用可编辑表格 / 图表。每个 active 导入 marker 都带有 `data-pptx-fallback-sha256`:可见 fallback、可达 SVG definition/reference 或 marker transform 变更后,native replacement 会 fail,而不是丢弃 SVG 编辑;无 hash 的旧 marker 仍兼容并给出 warning。该 importer/exporter 组合只用于重建,不替代 `template-fill-pptx` 或 `native-enhance-pptx` 的保留型路线。---diff --git a/skills/ppt-master/SKILL.md b/skills/ppt-master/SKILL.mdindex e1c6522c..235e638d 100644--- a/skills/ppt-master/SKILL.md+++ b/skills/ppt-master/SKILL.md@@ -870,19 +870,25 @@ python3 ${SKILL_DIR}/scripts/svg_to_pptx.py <project_path>> without a baseline remain native-compatible and only warn that stale detection> is unavailable.> Imported table markers may also cover the verified narrow P2 subset:-> canonical rectangular merges with blank covered cells, safe per-side borders,-> and plain multi-paragraph cells. Run-level table rich text, noncanonical merge-> topology, and unsafe direct formatting remain fallback-only. Imported classic-> charts additionally cover verified column/line/area combos, canonical OHLC-> stock, area date-axis cases, and verified scatter/bubble charts with a closed-> `axes.x` / `axes.y` value-axis pair. XY import derives effective scatter style-> from uniform series line/marker/smooth state. Every supported XY axis field is-> retained for native read-back; the normalized fallback newly consumes only-> the two major-gridline flags. This is not full `AxisSpec` or ChartEx import-> support; unmodeled chart/axis semantics continue to fail closed without-> reducing existing active-marker SVG-to-native conversion. Safe stock series-> style may pass the structural gate, but stock series / high-low / up-down local-> styling may still normalize under the documented editable-first contract.+> exact physical row/grid topology, canonical rectangular merges with blank+> covered cells, safe per-side borders, plain multi-paragraph cells, and closed+> run-level rich text. A rich paragraph contains non-empty `runs`; each run+> requires `text` and may use only+> `bold` / `italic` / `underline` / `strike` / `color` / `font_size` /+> `font_family` / `lang` / `alt_lang`. Presentation-only source run XML+> normalizes, while relationship-bearing text, extensions, line breaks, fields,+> tabs, bullets, broken text topology, noncanonical merges, and unsafe direct+> formatting remain fallback-only. Imported classic charts+> additionally cover verified column/line/area combos, canonical OHLC stock,+> area date-axis cases, verified scatter/bubble axes, radar, safe `of_pie`+> `serLines`, and the closed axis/title/legend plus bar-gap/overlap normalization+> cases. The importer also accepts the seven closed ChartEx data models:+> treemap, sunburst, histogram, pareto, box-whisker, waterfall, and funnel.+> ChartEx data topology is retained for native read-back, but style, axis,+> labels, and binning details may normalize. These additions do not create a+> full `AxisSpec`, arbitrary ChartEx import, arbitrary rich OOXML, or new+> normalized-renderer coverage; unmodeled semantics continue to fail closed+> without reducing existing active-marker SVG-to-native conversion.**Optional animation flags** (page transitions are on by default; per-element entrance is off by default — turn it on only when the user asks for it):- `-t <effect>` — page transition. Default `fade`. Options: `fade` / `push` / `wipe` / `split` / `strips` / `cover` / `random` / `none`. `none` removes only the visual transition; an explicit automatic advance remains valid.diff --git a/skills/ppt-master/references/shared-standards.md b/skills/ppt-master/references/shared-standards.mdindex 1d699f30..5da7d982 100644--- a/skills/ppt-master/references/shared-standards.md+++ b/skills/ppt-master/references/shared-standards.md@@ -1066,10 +1066,19 @@ Cell objects accept `text`, `fill`, `color`,`align`, `valign`, `bold`, `font_size`, `padding`, `border_color`, and`border_width`, plus optional `lang`; the same `padding`, `border_color`,`border_width`, and `lang` keys may also live under `style` as table defaults.-For plain multi-paragraph text, replace `text` with a non-empty `paragraphs`-list. Each entry is either a string or `{ "text": "...", "align": "l|ctr|r" }`;-empty paragraph strings are preserved, and `text` / `paragraphs` are mutually-exclusive. This is paragraph-level plain text, not run-level rich text.+For multi-paragraph text, replace cell `text` with a non-empty `paragraphs`+list. Each entry is either a string or an object containing optional+`align: "l|ctr|r"` and exactly one of `text` or non-empty `runs`; empty+paragraph strings are preserved, and cell `text` / `paragraphs` are mutually+exclusive. Each run is an object with required string `text` and optional JSON+boolean `bold`, `italic`, `underline`, and `strike`, plus optional `color`,+`font_size`, one-typeface `font_family`, `lang`, and `alt_lang`. Unknown fields,+wrong types, empty run lists, multi-typeface `font_family`, and unsupported+colors fail fast. PPTX import requires exact physical row/grid topology and+normalizes source presentation-only run XML outside this closed schema, but+relationship-bearing text, extensions, structural line breaks, fields, tabs,+bullets, malformed run topology, and unsupported text-body structure remain+fallback-only.Per-side cell borders use `borders.left|right|top|bottom`, where each value iseither `{ "style": "none" }` or`{ "style": "solid", "color": "#RRGGBB", "width": <positive-px> }`.@@ -1260,12 +1269,25 @@ outside the safe parsing boundary stay fallback-only.**PPTX chart-import boundary**: The importer recognizes conservative classicsingle-plot charts plus the verified scatter/bubble XY-axis, column/line/area-combo, area date-axis, and canonical OHLC stock subsets above. ChartEx output-can be authored from marker metadata, but ChartEx **import** is still-unsupported. Full `AxisSpec`, radar import, arbitrary stock variants, and axis,-combo, or date-axis semantics outside the closed fields above remain-fallback-only; this does not reduce the existing SVG-marker-to-native writer-support.+combo, area date-axis, canonical OHLC stock, radar, safe `of_pie` `serLines`,+axis/title/legend normalization, and bar/column gap/overlap subsets. Imported+`gapWidth` must be one canonical integer in `0..500`; imported `overlap` must be+one canonical integer in `-100..100`. Both values intentionally normalize to+the native writer contract rather than claiming exact source-style retention.+Malformed, duplicate, or out-of-range values fail closed.++ChartEx import is closed to seven validated data models: `treemap`, `sunburst`,+`histogram`, `pareto`, `box_whisker`, `waterfall`, and `funnel`. The importer+retains their supported hierarchy/category/value/series/subtotal topology for+native read-back. Numeric cache values must be non-empty and finite, and cache+counts/indexes must be canonical non-negative decimal integers with exact,+contiguous topology; malformed, non-numeric, `NaN`, infinite, sparse, duplicate,+or mismatched caches fail closed. ChartEx style, axis, label, and binning details+outside the payload normalize. Full `AxisSpec`, arbitrary ChartEx families or+presentation fidelity, arbitrary stock variants, and axis/combo/date-axis+semantics outside the closed fields above remain fallback-only. The C4/C5+import work does not expand the normalized SVG renderer and does not reduce+existing SVG-marker-to-native writer support.**Deferred chart types**: Exploded pie / doughnut variants, `map`, `heatmap`,`bullet`, and `gantt` are intentionally outside the current native-objectdiff --git a/skills/ppt-master/scripts/README.md b/skills/ppt-master/scripts/README.mdindex 343f5cf9..52789938 100644--- a/skills/ppt-master/scripts/README.md+++ b/skills/ppt-master/scripts/README.md@@ -138,11 +138,13 @@ Deck/layout template routes use explicit template structure. Each complete SVG nCurrent `create-template` output always rebuilds explicit SVG structure and does not package `native_structure.json` or `source_template.pptx`. `preserve` remains available only for existing projects that already carry the legacy pair.-`pptx_to_svg.py` annotates verified text-grid tables and conservative classic-chart caches with `data-pptx-native` metadata. Table import now covers unmerged grids plus canonical rectangular merges, safe solid/no-fill per-side borders, and plain multi-paragraph cells. A merge must use the exact `rowSpan` / `gridSpan` / `hMerge` / `vMerge` physical topology with empty merge slaves; unsafe border XML, mixed run formatting, non-solid fills, and other merge encodings remain fallback-only. For table style `{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}`, the normalized SVG fallback resolves `wholeTbl`, `firstRow`, horizontal banding, theme colors/fonts, and direct cell/run overrides; other built-in/custom style families are not implied.+`pptx_to_svg.py` annotates verified text-grid tables and conservative chart data with `data-pptx-native` metadata. Table import covers exact physical row/grid topology, canonical rectangular merges, safe solid/no-fill per-side borders, plain multi-paragraph cells, and a closed run-rich paragraph schema. Each rich run requires `text` and may use only `bold`, `italic`, `underline`, `strike`, `color`, `font_size`, one `font_family`, `lang`, and `alt_lang`. A merge must use the exact `rowSpan` / `gridSpan` / `hMerge` / `vMerge` physical topology with empty merge slaves. Presentation-only source run XML normalizes, while relationship-bearing text, extensions, line breaks, fields, tabs, bullets, broken text topology, unsafe border XML, non-solid fills, and other merge encodings remain fallback-only. For table style `{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}`, the normalized SVG fallback resolves `wholeTbl`, `firstRow`, horizontal banding, theme colors/fonts, and direct cell/run overrides; other built-in/custom style families are not implied.-Supported parsed column/bar/line/area, pie/doughnut, scatter, and bubble charts without a baked preview receive a deterministic readable fallback marked `data-pptx-visual-status="normalized"`. The importer additionally activates verified column/line/area combo charts, canonical OHLC stock charts, area charts with numeric date axes, and verified scatter/bubble charts whose two value axes fit the closed `axes.x` / `axes.y` contract. Combo plots may retain independent primary/secondary category caches and workbook ranges. Both the category/value and XY contracts retain kind/position/visibility/label position/number format/min/max/major unit/reverse/major gridlines for native read-back. Scatter import derives effective `scatter_style` from uniform per-series line/marker/smooth state. The normalized XY fallback newly consumes only the two major-gridline flags; other XY fields do not imply complete visual-axis parity. These contracts are not a full `AxisSpec`: ChartEx import, arbitrary stock variants, other date-axis families, and other unlisted axis semantics remain fallback-only. Safe common series paint forms and theme scheme colors are resolved; unknown series paint/style XML outside the explicit normalization boundaries still fails closed. Safe stock series style may pass the structural gate, but stock series, `hiLowLines`, and up-down bar local styling can still normalize under the editable-first contract. The editable native replacement remains allowed to normalize unmodeled no-fill/alpha/line/marker details and reports the route-level loss risk. Chart title/legend/axis titles and supported data-label flags are retained when the current schema can represent them. Fallback-only objects keep rendered SVG content or a baked chart preview and carry `data-pptx-native-status`, which validation and `--native-objects` export report as a warning. A supported active marker without a renderer, such as current `of_pie`, keeps `data-pptx-visual-status="placeholder"` plus `data-pptx-route-status="reconstruction-only"`; default export keeps the placeholder and native opt-in may still reconstruct it.+Supported parsed column/bar/line/area, pie/doughnut, scatter, and bubble charts without a baked preview receive a deterministic readable fallback marked `data-pptx-visual-status="normalized"`. The importer additionally activates verified column/line/area combo charts, canonical OHLC stock charts, area charts with numeric date axes, verified scatter/bubble charts whose two value axes fit the closed `axes.x` / `axes.y` contract, radar charts, safe `of_pie` `serLines`, axis/title/legend normalization, and validated bar/column gap/overlap cases. Combo plots may retain independent primary/secondary category caches and workbook ranges. Both the category/value and XY contracts retain kind/position/visibility/label position/number format/min/max/major unit/reverse/major gridlines for native read-back. Scatter import derives effective `scatter_style` from uniform per-series line/marker/smooth state. The normalized XY fallback consumes only the two major-gridline flags; the C4/C5 additions do not expand the normalized renderer. `gapWidth` is accepted only as an integer in `0..500` and `overlap` only as an integer in `-100..100`; both normalize in native output, while malformed or out-of-range values fail closed. Safe common series paint forms and theme scheme colors are resolved; unknown series paint/style XML outside the explicit normalization boundaries still fails closed. Safe stock series style may pass the structural gate, but stock series, `hiLowLines`, and up-down bar local styling can still normalize under the editable-first contract. The editable native replacement remains allowed to normalize unmodeled no-fill/alpha/line/marker details and reports the route-level loss risk. Chart title/legend/axis titles and supported data-label flags are retained when the current schema can represent them. Fallback-only objects keep rendered SVG content or a baked chart preview and carry `data-pptx-native-status`, which validation and `--native-objects` export report as a warning. An active marker without a renderer keeps `data-pptx-visual-status="placeholder"` plus `data-pptx-route-status="reconstruction-only"`; default export keeps the placeholder and native opt-in may still reconstruct it.-Active imported table/chart markers carry `data-pptx-fallback-sha256`. Visible fallback edits, reachable SVG fragment-definition changes, marker-local reference-target changes, and marker transforms make the baseline stale: the mandatory quality checker warns, default export remains available, and `--native-objects` fails instead of discarding the SVG edit. Legacy markers without a baseline remain convertible with a checker/native-route warning. ChartEx export now writes valid payload palette entries into its color-style part; it still does not promise full source ChartEx styling.+The ChartEx importer accepts exactly the validated treemap, sunburst, histogram, pareto, box-whisker, waterfall, and funnel data models. Supported hierarchy/category/value/series/subtotal data round-trips to native output; source style, axes, labels, and binning may normalize. Numeric caches must be non-empty and finite with exact contiguous point topology. This is not arbitrary ChartEx import or presentation fidelity, and the ChartEx native writer still only promises valid payload palette entries rather than full source styling.++Active imported table/chart markers carry `data-pptx-fallback-sha256`. Visible fallback edits, reachable SVG fragment-definition changes, marker-local reference-target changes, and marker transforms make the baseline stale: the mandatory quality checker warns, default export remains available, and `--native-objects` fails instead of discarding the SVG edit. Legacy markers without a baseline remain convertible with a checker/native-route warning.Exporter-canonical classic charts also recover canonical solid series/slicecolors and exact one- or two-paragraph title styling; two paragraphs retaindiff --git a/skills/ppt-master/scripts/docs/conversion.md b/skills/ppt-master/scripts/docs/conversion.mdindex 6f6e1c1e..f1b5c204 100644--- a/skills/ppt-master/scripts/docs/conversion.md+++ b/skills/ppt-master/scripts/docs/conversion.md@@ -247,11 +247,17 @@ python3 scripts/pptx_to_svg.py deck.pptx --inheritance-mode flat| `flat` | One self-contained slide SVG per page under `svg/` |Supported text-grid tables and conservative classic-chart caches carry-`data-pptx-native` metadata beside their SVG fallback. Table import accepts-unmerged grids plus canonical rectangular merges, safe solid/no-fill per-side-borders, and plain multi-paragraph cells. Noncanonical/overlapping merges,-nonblank merge slaves, unsafe border XML, non-solid fills, and mixed run-level-rich text remain fallback-only. Markers remain dormant+`data-pptx-native` metadata beside their SVG fallback. Table import requires+exact physical row/grid topology and accepts canonical rectangular merges,+safe solid/no-fill per-side borders, plain multi-paragraph cells, and a closed+run-rich paragraph schema.+Each run requires `text` and may use only `bold`, `italic`, `underline`,+`strike`, `color`, `font_size`, one `font_family`, `lang`, and `alt_lang`.+Presentation-only source run XML normalizes. Relationship-bearing text,+extensions, noncanonical/overlapping merges, nonblank merge slaves, unsafe+border XML, non-solid fills, structural line breaks/fields/tabs/bullets, and+broken text topology remain fallback-only.+Markers remain dormantunless a later export uses `--native-objects`. That opt-in is editable-first:it may normalize styling or omit marker-local details not represented by thepayload, and export reports that risk without disabling an otherwise supported@@ -266,8 +272,8 @@ SVG fallback and core payload colors, while native opt-in may still normalizeunmodeled alpha, line, marker, or no-fill details. Common General, decimal,grouped, percent, and simple currency-prefix data-label formats renderdeterministically; an unknown Excel format program keeps the active payload but-does not claim a normalized fallback. Active types outside the-current renderer, including `of_pie`, continue to use an explicit placeholder marked+does not claim a normalized fallback. Active types outside the current renderer+continue to use an explicit placeholder marked`data-pptx-visual-status="placeholder"` and`data-pptx-route-status="reconstruction-only"`. Validation and export reportthat route as a warning. Default export keeps the placeholder; when the same@@ -305,14 +311,24 @@ number-format, min/max/major-unit, reverse, and major-gridline fields; the nativwriter emits every field in those closed contracts. Scatter style is derivedfrom uniform effective series line/marker/smooth state. The normalized XYfallback newly consumes only the two major-gridline flags, not the remaining-axis fields. This is not a full `AxisSpec`: ChartEx import, arbitrary stock-variants, other date-axis chart families, and unlisted axis semantics remain-fallback-only.+axis fields. The importer also accepts radar, safe `of_pie` `serLines`, the+closed axis/title/legend normalization cases, and bar/column `gapWidth` /+`overlap`. `gapWidth` must be one integer in `0..500` and `overlap` one integer+in `-100..100`; both normalize in native output, while malformed, duplicate, or+out-of-range values fail closed. These additions do not expand the normalized+renderer.Safe stock series style may pass the structural gate, while stock series,`hiLowLines`, and up-down bar local styling can still normalize under theeditable-first contract.-ChartEx native **output** still consumes valid payload colors in its color-style-part; other ChartEx style details remain normalized.+ChartEx import accepts exactly the validated treemap, sunburst, histogram,+pareto, box-whisker, waterfall, and funnel data models. Their supported+hierarchy/category/value/series/subtotal topology round-trips to native output.+Numeric caches must be non-empty and finite, with canonical non-negative counts+and indexes and exact contiguous point topology. Source style, axes, labels,+and binning details may normalize. This is not full `AxisSpec`, arbitrary+ChartEx import or presentation fidelity, arbitrary stock variants, other+date-axis chart families, or unlisted axis semantics. ChartEx native output+still consumes valid payload colors in its color-style part.Exporter-canonical charts recover canonical solid series/slice colors and exactone- or two-paragraph title styling; two paragraphs retain their `title` /diff --git a/skills/ppt-master/templates/charts/README.md b/skills/ppt-master/templates/charts/README.mdindex 1bdf546e..47bc8b3b 100644--- a/skills/ppt-master/templates/charts/README.md+++ b/skills/ppt-master/templates/charts/README.md@@ -29,7 +29,7 @@ Native marker authoring remains active for all 23 currently supported data-chart| Specialty business charts | `waterfall_chart`, `funnel_chart`, `stock_chart`, `radar_chart` | ChartEx or classic specialty charts || Text-grid tables | `basic_table`, `financial_statement_table` | Native DrawingML tables |-Markers must include explicit `name`, `x`, `y`, `width`, and `height` fields so the editable frame aligns with the fallback drawing. Keep legends, explanatory cards, source notes, center KPIs, and custom callouts outside the marker when they must remain as separate editable shapes; otherwise accept and review the native-export warning. Canonical rectangular merged text cells may use anchor-only `row_span` / `col_span` metadata with blank covered cells; nonrectangular merges and graphical cells (harvey balls, rating dots, avatars) stay unmarked on the SVG fallback route. Per-side borders and plain multi-paragraph cells use the closed contracts in [`shared-standards.md`](../../references/shared-standards.md#native-pptx-table--chart-markers-opt-in); run-level table rich text remains outside native marker support.+Markers must include explicit `name`, `x`, `y`, `width`, and `height` fields so the editable frame aligns with the fallback drawing. Keep legends, explanatory cards, source notes, center KPIs, and custom callouts outside the marker when they must remain as separate editable shapes; otherwise accept and review the native-export warning. Canonical rectangular merged text cells may use anchor-only `row_span` / `col_span` metadata with blank covered cells; nonrectangular merges and graphical cells (harvey balls, rating dots, avatars) stay unmarked on the SVG fallback route. Per-side borders, plain multi-paragraph cells, and the closed run-rich paragraph schema use the contracts in [`shared-standards.md`](../../references/shared-standards.md#native-pptx-table--chart-markers-opt-in). Relationship-bearing text, structural line breaks, fields, tabs, bullets, and arbitrary rich-text OOXML stay on the SVG fallback route.## Usage