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(roadmap): add missing coverage-map rows
hugohe317c84e734c89
diff --git a/docs/roadmap.md b/docs/roadmap.mdindex b9d5eb4d..adb222a7 100644--- a/docs/roadmap.md+++ b/docs/roadmap.md@@ -36,6 +36,7 @@ A presentation is four layers: what is on the slide, how it is arranged, how it| Object | Status | Notes ||---|---|---|| Text | Systematized | Role anchors deck-wide, bounded per-occurrence adjustment, hierarchy and paragraph rules, natively editable runs |+| WordArt & warped text | Bounded by design | Native WordArt, text warp, and text-on-path are not generated; the same emphasis is rebuilt with ordinary editable text, registered text treatments, and geometry, so every glyph stays a real text run || Vector shapes | Systematized | primitive → Office preset → Boolean → freeform construction ladder, with native conversion rules || Lines & connectors | Asymmetric by design | Native `p:cxnSp` export is implemented, and endpoint attachment is restored on the preserve/mirror round-trip from a source deck. Newly authored connectors stay unconnected. Binding them would first require deciding which lines are real edges and which are decoration — an intent judgment that no geometric threshold settles, and one that is made by the AI wherever it is placed, so moving it upstream to authoring buys no reliability. The result would be some arrows in a diagram following their node and others not || Icons | Systematized | Bundled libraries with per-project sync; project icons are prepared material |@@ -49,6 +50,7 @@ A presentation is four layers: what is on the slide, how it is arranged, how it| Arbitrary video & background music | Not planned | A one-off, content-specific insert that is faster to place by hand in PowerPoint, and the AI cannot pick the file for you. Background music additionally pulls in narration-mixing decisions that are out of scope. Media already present in a source deck is preserved unchanged through the Fill and Enhance routes || SmartArt | Asymmetric by design | Source diagram parts are read for their content and structure; generated decks redraw that content through the ordinary shape pipeline. DiagramML is never edited and native SmartArt regeneration is not promised || 3D models, OLE objects | Not planned | Both need the host application or a recent Office build on the opening machine and fall back to a still preview elsewhere — the cross-renderer problem this project avoids by design. Inserting one by hand takes seconds. Objects already present in a source deck are preserved unchanged |+| Ink & camera feeds (Cameo) | Not planned | Hand-drawn annotation and live camera objects are presenter-session surfaces rather than generated design content, and both depend on recent Office builds. Such parts already present in a source deck pass through source-preserving routes as untouched package structure |*Illustration* is deliberately absent from this table. It is a composite result — an image, an SVG, or a group of shapes — not a seventh carrier, and listing it beside *Images* would reintroduce the category confusion this layering removes.@@ -74,20 +76,25 @@ A presentation is four layers: what is on the slide, how it is arranged, how it| Media playback | Covered | Narration audio and animation sounds play natively; media already present in a source deck keeps its playback settings || Hyperlinks | Systematized | Whole-object and inline-text links author through standard SVG `<a href>`, export as native external or same-deck click relationships, and reconstruct on supported PPTX import || Actions & navigation | Systematized | Navigation is authored explicitly by wrapping the target in a hyperlink anchor, including same-deck slide jumps. An `actionButton*` preset contributes visual geometry only — appearance alone never implies an action. Mouse-over triggers, custom shows, macro or program execution, and raw `ppaction://` injection stay outside the contract |+| Zoom (summary / section / slide) | Not planned | An Office-build-dependent navigation object that falls back to a static picture in other renderers — the cross-renderer degradation this project avoids by design. Same-deck jumps are covered by native hyperlink slide targets |### Layer 4 — Document structure| Concern | Status | Notes ||---|---|---|+| Slide size | Systematized | The canvas contract selects the presentation format; the SVG `viewBox` is the single geometry truth with fail-closed validation, and every page in a deck must agree on one format || Theme | Systematized | Lock-backed Default export derives each deck's `clrScheme`, major/minor fonts, and Master title/body size defaults from its palette and typography contract. Lockless Quick keeps converter-default Theme scaffolding while writing SVG-derived page colors and fonts as direct values |+| Font embedding | Bounded by design | Fonts are never embedded in the package; a brand or web face leads only after confirmed availability on the target system, otherwise export uses a safe family and keeps the intended face recorded in the Design Spec || Slide sections | Asymmetric by design | Source-preserving native workflows retain existing section metadata as untouched package structure. Routes that generate or rebuild a slide roster do not author PowerPoint Sections because page roles and optional Design Spec Parts do not form one required, route-wide section contract. Sections change only how the thumbnail rail organizes a deck and never change page appearance; grouping a long deck by hand in PowerPoint takes about a minute and is done once || Master / Layout | Systematized | Real `p:sldMaster` / `p:sldLayout` parts on structured routes || Placeholders | Systematized | Template workspace contracts, with strict/adaptive exporter behavior derived per deck |+| Date, footer & slide-number fields | Covered | Structured template routes author real date / footer / slide-number placeholders under the placeholder contract; free-design decks draw page numbers as ordinary text objects, not native fields || Speaker notes | Systematized | Exported with a real notes master || Narration | Systematized | Per-slide audio with provider provenance || Subtitles | Systematized | Word-timed regrouping across supported providers into shared compact SRT || Document metadata | Covered | Set at export rather than left to the packaging library || Accessibility (alt text, reading order) | Not planned | Only AI-generated images carry an `alt_text` field today, so writing it to DrawingML `descr` would cover one source and leave web-sourced images, shapes, charts, and diagrams without a description to write — full coverage means authoring descriptions for every non-text object, not connecting existing data. Reading order is not a separate property in PowerPoint: it is the shape order, which carries the page's visual layering and is not set independently of it |+| Macros & Office extension XML | Asymmetric by design | Never authored — the generated route does not synthesize VBA; existing macro or extension parts persist only where a macro-aware source-preserving workflow keeps the owning package parts unchanged || Comments, revisions, collaboration state | Not planned | Office collaboration surface, outside the authoring product |---diff --git a/docs/zh/roadmap.md b/docs/zh/roadmap.mdindex 3c746cfc..2d6a0347 100644--- a/docs/zh/roadmap.md+++ b/docs/zh/roadmap.md@@ -36,6 +36,7 @@| 对象 | 状态 | 说明 ||---|---|---|| 文字 | 系统化 | 全 deck 字号角色锚点、逐处受限微调、层级与段落规则、原生可编辑文本 |+| WordArt 与文字变形 | 有意边界 | 不生成原生 WordArt、文字变形与路径文字;同样的强调改用普通可编辑文字、已注册的文字处理与几何重建,每个字形都保持为真实文本 run || 矢量形状 | 系统化 | primitive → Office preset → Boolean → freeform 构造阶梯,附原生转换规范 || 线条 / 连接符 | 有意的不对称 | 原生 `p:cxnSp` 导出已实现,端点绑定在来源 deck 的 preserve/mirror 往返路径上会被还原。新创作的连接符保持不连接。要绑定就得先判断哪些线是真实的边、哪些是装饰——这是意图判断,任何几何阈值都定不下来;而无论把这个判断放在导出期还是创作期,做判断的都是 AI,往上游挪并不会更可靠。结果只会是同一张图里有的箭头跟着节点走、有的不走 || 图标 | 系统化 | 内置图标库 + 逐项目同步;项目图标属于已准备材料 |@@ -49,6 +50,7 @@| 任意视频与背景音乐 | 暂不考虑 | 属于一次性、内容特定的插入动作,在 PowerPoint 里手动放进去更快,AI 也无法替你挑文件。背景音乐还会牵出旁白混音决策,那在范围之外。来源 deck 中已有的媒体在 Fill 与 Enhance 路线中原样保留 || SmartArt | 有意的不对称 | 读取来源 diagram part 的内容与结构;生成 deck 用普通形状管线把这些内容重画出来。从不编辑 DiagramML,也不承诺原生 SmartArt 再生 || 3D 模型、OLE 对象 | 暂不考虑 | 两者都要求打开文件的机器装有宿主程序或较新版 Office,否则退化成一张静态预览图——正是本项目有意规避的跨渲染器问题。手动插入只要几秒。来源 deck 中已有的对象原样保留 |+| 墨迹与摄像头对象(Cameo) | 暂不考虑 | 手绘批注与实时摄像头对象属于演示现场的表面,不是生成的设计内容,且都依赖较新版 Office。来源 deck 中已有的此类 part 经源保留路线作为未改动的包结构透传 |**插图**有意不列进这张表。它是复合结果——一张图片、一段 SVG,或一组形状——而不是第七种载体;把它与「图片」并列,会重新引入这套分层正要消除的维度混淆。@@ -74,20 +76,25 @@| 音视频播放 | 已覆盖 | 旁白音频与动画音效原生播放;来源 deck 中已有的媒体保留其播放设置 || 超链接 | 系统化 | 整体对象与行内文字通过标准 SVG `<a href>` 创作,导出为原生外链或 deck 内跳转关系,并在受支持的 PPTX 回导中重建 || 动作与导航 | 系统化 | 导航通过把目标包进超链接锚点显式创作,含 deck 内跳到指定页。`actionButton*` 预设只贡献视觉几何——光有外观绝不隐含动作。鼠标悬停触发、自定义放映、宏或程序执行、以及裸 `ppaction://` 注入都在契约之外 |+| Zoom(摘要 / 节 / 幻灯片缩放) | 暂不考虑 | 依赖 Office 版本的导航对象,在其他渲染器退化为一张静态图片——正是本项目有意规避的跨渲染器退化。deck 内跳转已由原生超链接的页面目标覆盖 |### 第四层 — 文档结构| 关注点 | 状态 | 说明 ||---|---|---|+| 画布尺寸 | 系统化 | 画布契约选定演示文稿格式;SVG `viewBox` 是页面几何的唯一真值,配 fail-closed 校验,且同一 deck 的所有页面必须使用同一格式 || Theme | 系统化 | 有锁的 Default 导出根据配色与字体合同逐 deck 派生 `clrScheme`、major/minor 字体与 Master 标题/正文默认字号;无锁的 Quick 保留转换器默认 Theme 脚手架,SVG 派生的页面颜色与字体仍按直接值写入 |+| 字体嵌入 | 有意边界 | 从不在包内嵌入字体;品牌 / 网络字体只有确认目标系统可用后才领衔,否则导出安全字体族,并把原意向字体记录在 Design Spec 中 || 幻灯片节 | 有意的不对称 | 源保留型原生路线把既有节元数据作为未改动的包结构保留;生成或重建页面列表的路线不创作 PowerPoint 原生节,因为页面角色与可选的 Design Spec Part 并不构成所有路线都具备的必需章节合同。节只改变缩略图栏的组织方式,从不改变任何页面外观;长 deck 需要分组时,在 PowerPoint 里手动分节约一分钟,且只做一次 || Master / Layout | 系统化 | 结构化路线输出真实的 `p:sldMaster` / `p:sldLayout` part || Placeholder | 系统化 | 模板工作区契约,strict/adaptive 导出行为逐 deck 推导 |+| 日期、页脚与页码字段 | 已覆盖 | 结构化模板路线按 placeholder 契约创作真实的日期 / 页脚 / 页码 placeholder;自由设计路线把页码画成普通文本对象,不是原生字段 || 备注 | 系统化 | 导出时带真实的 notes master || 旁白 | 系统化 | 逐页音频,带 provider 来源标注 || 字幕 | 系统化 | 受支持 provider 的逐词时间轴重组为统一的紧凑 SRT || 文档元数据 | 已覆盖 | 在导出时设定,而非交给打包库默认生成 || 无障碍信息(Alt Text、阅读顺序) | 暂不考虑 | 今天只有 AI 生成的图片带 `alt_text` 字段,把它写进 DrawingML `descr` 只覆盖一个来源,网络图片、形状、图表与关系图都没有可写的描述——完整覆盖意味着为每个非文字对象新增创作描述,而不是接通既有数据。阅读顺序在 PowerPoint 里不是独立属性:它就是形状顺序,承载页面的视觉层叠,无法脱离它单独设置 |+| 宏与 Office 扩展 XML | 有意的不对称 | 从不创作——生成路线不合成 VBA;既有宏或扩展 part 只在支持宏的源保留工作流保持所属包 part 未改动时得以保留 || 评论、修订、协作状态 | 暂不考虑 | 属于 Office 协作面,在创作型产品之外 |---