From 650381538247c83b69c74fa2fcd5185174ab04e8 Mon Sep 17 00:00:00 2001 From: kiwi4boy Date: Thu, 19 Nov 2026 21:59:20 -0500 Subject: [PATCH] ppt-binary: README and NotPpt wording for PowerPoint 95 A slide's own background can be no fill as well as a solid colour, and NotPpt names PowerPoint 95 alongside 97-2003, since both are read. --- crates/ppt-binary/README.md | 2 +- crates/ppt-binary/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/ppt-binary/README.md b/crates/ppt-binary/README.md index 330682ea7..5972b2eb4 100644 --- a/crates/ppt-binary/README.md +++ b/crates/ppt-binary/README.md @@ -41,7 +41,7 @@ one feature per file, and the public [MS-PPT] numbering where the records keep i So far a PowerPoint 95 file imports with its slide size, its masters (each the caller's default master wearing the file's colour scheme, and its background when that isn't the scheme's), and its slides in order with their master, layout type and, when a slide doesn't follow the master's, -its solid background. The slides are empty: shapes, placeholders and their text, pictures and +its own background: a solid colour, or none when the slide's background has no fill. The slides are empty: shapes, placeholders and their text, pictures and notes come later. The caller's `craft_pptx::Defaults` supplies the master each of the file's masters starts from: diff --git a/crates/ppt-binary/src/lib.rs b/crates/ppt-binary/src/lib.rs index 729219837..c973a6d8f 100644 --- a/crates/ppt-binary/src/lib.rs +++ b/crates/ppt-binary/src/lib.rs @@ -35,7 +35,7 @@ const DOCUMENT_STREAM: &str = "PowerPoint Document"; #[derive(Debug, thiserror::Error)] pub enum PptError { - #[error("not a PowerPoint 97-2003 presentation")] + #[error("not a PowerPoint 95 or 97-2003 presentation")] NotPpt, #[error("the presentation is password-protected")] Encrypted,