mirror of
https://github.com/storytold/deckcraft.git
synced 2026-11-20 09:04:51 +00:00
When a slide has an associated notes slide with no text, PPTX export previously omitted both the notes slide part and its relationship, treating notes slides without text runs as removable. Track whether a slide has an associated notes slide (`has_notes_slide`). Import marks it when reading a notes slide relationship, and export keeps the notes slide part, its slide relationship, and notes master linkage even when its text body is empty. Native serialization preserves the presence flag, and setting notes via `slide.notes` also enables it. Regression test in `crates/pptx/tests/it/notes.rs` verifies that a slide with an empty notes slide retains its notes part and relationship across multiple import and export roundtrips.