From a9cafe64fcf39f696b20999939fc1d8e04a18129 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Sat, 24 Oct 2026 11:49:05 -0700 Subject: [PATCH] Docs: Play From and the .potx/.ppsx content types are no longer listed as missing The Animation Pane row in ui-parity.md said the pane cannot preview from the selected effect, but its button reads Play From and starts there (animpane_tests). gaps.md, file-format-parity.md and the parity checklist said .potx and .ppsx are saved with the .pptx content type, but deckcraft_pptx::export_as writes the template and slide-show content types, as a test in crates/pptx/tests/it/roundtrip.rs checks. The gaps.md entry now covers only the macro-enabled variants. The checklist row stays partial, and cargo xtask parity leaves the summary unchanged. --- docs/file-format-parity.md | 4 ++-- docs/gaps.md | 10 ++++------ docs/parity-checklist.md | 2 +- docs/ui-parity.md | 2 +- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/docs/file-format-parity.md b/docs/file-format-parity.md index 2788c625..3d7d82c7 100644 --- a/docs/file-format-parity.md +++ b/docs/file-format-parity.md @@ -17,8 +17,8 @@ PowerPoint opens and saves; Viewer = opens only). | Format | PowerPoint | DeckCraft read | DeckCraft write | Fidelity / notes | Tested by | |---|---|---|---|---|---| | `.pptx` presentation | Editor | yes | yes | Broad (see below); an owned corpus of decks we author round-trips tables, charts, animations, media, sections, masters and layouts, comments, links and actions, custom shows, rotated groups, inherited placeholders, text effects and body layout, theme effects, fills, bevels, connectors, 3-D models and animation bounce end. Not measured against PowerPoint renders or decks from outside this repo | `crates/pptx/tests/it/corpus.rs`, `corpus_kinds.rs`, `corpus_elements.rs`, `corpus_style.rs`, `corpus_themes.rs`, `corpus_charts.rs`, `corpus_media.rs`, `roundtrip.rs`, `sample.rs`, `malformed.rs`, `sniff.rs`; opened in PowerPoint by hand 2026-10-06 | -| `.potx` template | Editor | yes (as a presentation) | no: written with the `.pptx` content type | `file.saveTemplate` is Save As under another name | none | -| `.ppsx` slide show | Editor | yes (as a presentation) | no: written as `.pptx` content | Handed over by the system (command line, file association) it starts the slide show, as in PowerPoint; File › Open opens it for editing. The macOS Finder event arrives with #432 | `crates/ui-egui/src/opening.rs` tests | +| `.potx` template | Editor | yes (as a presentation) | yes, with the template content type | `file.saveTemplate` is Save As under another name | `crates/pptx/tests/it/roundtrip.rs` | +| `.ppsx` slide show | Editor | yes (as a presentation) | yes, with the slide-show content type | Handed over by the system (command line, file association) it starts the slide show, as in PowerPoint; File › Open opens it for editing. The macOS Finder event arrives with #432 | `crates/ui-egui/src/opening.rs` tests | | `.pptm` / `.potm` / `.ppsm` macro-enabled | Editor | no | no | Should open and keep `vbaProject.bin` without running it | none | | `.ppt` / `.pot` / `.pps` 97–2003 binary | Editor | no | no | Owner decision; import only would be enough | none | | `.odp` OpenDocument | Editor | no | no | | none | diff --git a/docs/gaps.md b/docs/gaps.md index 58f5780c..b287bc33 100644 --- a/docs/gaps.md +++ b/docs/gaps.md @@ -108,12 +108,10 @@ Detail in [file-format-parity.md](file-format-parity.md). - **Impact:** SVG icons show only their raster fallback, and SVG files can't be inserted. - **Estimate:** 4–8 h (an SVG renderer through `resvg`-style crates). -### Template, slide-show and macro variants are saved as plain `.pptx` -- **Evidence:** `crates/pptx/src/write/mod.rs` always writes the - `presentationml.presentation.main+xml` content type; `.potx`/`.ppsx` open, `.pptm`/`.potm`/`.ppsm` - aren't recognised. -- **Impact:** a template saved as `.potx` isn't a template to PowerPoint; macro decks can't be - opened even to view. +### Macro-enabled variants aren't recognized +- **Evidence:** `.pptx`, `.potx` and `.ppsx` open and save with their own main content types + (`crates/pptx/src/lib.rs` `export_as`); `.pptm`/`.potm`/`.ppsm` aren't recognized. +- **Impact:** macro decks can't be opened even to view. - **Estimate:** 2–4 h (content types; keep `vbaProject.bin` untouched without running it). ### No legacy `.ppt`/`.pot`/`.pps` import diff --git a/docs/parity-checklist.md b/docs/parity-checklist.md index b5e4d81a..710191a5 100644 --- a/docs/parity-checklist.md +++ b/docs/parity-checklist.md @@ -57,7 +57,7 @@ Open P0 items: Contextual tabs (Shape Format, Picture Format, Table Design/Layou | Files | Native file format (open/save; chart package parts retained, `crates/engine/tests/it/chart_native.rs`) | P0 | D | | Files | Open PowerPoint .pptx | P0 | D | | Files | Save as PowerPoint .pptx | P0 | D | -| Files | Open/save .potx/.ppsx/.pptm variants (.potx/.ppsx open; saved with the .pptx content type; no .pptm) | P2 | P | +| Files | Open/save .potx/.ppsx/.pptm variants (.potx/.ppsx open and save with their own content types; no .pptm) | P2 | P | | Files | Legacy .ppt (binary) import | P2 | M | | Files | Save as template | P1 | D | | Files | Autosave and crash recovery | P0 | D | diff --git a/docs/ui-parity.md b/docs/ui-parity.md index 3cd55535..27b2780f 100644 --- a/docs/ui-parity.md +++ b/docs/ui-parity.md @@ -70,7 +70,7 @@ menu colours taken from the theme tokens (menu `chrome`, page `card`). | Format Background pane | yes | yes: solid transparency; picture transparency, tile, offset, scale, alignment and mirror; Apply to All copies a picture. Stretch insets and rotate-with-shape are command parameters | | Selection Pane | front-most first, groups fold, drag to restack, Bring Forward / Send Backward arrows, Show All / Hide All, eye, padlock (Lock), rename in place | same: drag restacks among siblings (a child stays in its group), Ctrl+click toggles, Shift+click selects a run, arrows / Home / End / F2 / Esc in the list, right-click menu | | Comments pane (threads) | yes | yes: every slide, with Previous and Next on the Review tab | -| Animation Pane | list + advanced timeline | list, reorder, timing, an advanced timeline with draggable bars, play the current slide on the canvas; no preview from the selected effect | +| Animation Pane | list + advanced timeline | list, reorder, timing, an advanced timeline with draggable bars, play the current slide on the canvas, and Play From starts at the selected effect | | Design Ideas (Designer) | yes (cloud) | no | | Dialogs | ~60 (Font, Paragraph, Bullets and Numbering, Find, Replace, Replace Fonts, Hyperlink, Action Settings, Header and Footer, Slide Size, Set Up Show, Custom Shows, Print, Page Setup, Insert Object, Symbol, Photo Album, Equation, Chart data sheet, SmartArt chooser, Preferences…) | 41 (`crates/ui-egui/src/dialogs.rs`): Font, Paragraph, Tabs, Bullets and Numbering, Find and Replace, Replace Fonts, Table, Slide Size, Size and Position, Header and Footer, Date and Time, Hyperlink (address, slide and ScreenTip follow the selection), Action Settings, Set Up Show, Zoom (percent or Fit, applies on OK), Comment, Alt Text (decorative follows the selection), Outline, Rename (section, shape, layout), About, Preferences, AutoCorrect, Grid Options, Export, Symbol, Photo Album (Edit Photo Album reopens this dialog), Paste Special, Equation (placeholder), Spelling, Accessibility, Language, Custom Shows, Chart Data, Trim Media (start, end and fades follow the selection), SmartArt chooser, Create New Theme Colors, Create New Theme Fonts, Quit, Notes Pages | | Design ▸ Effects | named theme effect schemes | DeckCraft, Soft, Crisp, Lift, Glow and Plain (`design.effects`); colours and fonts stay |