Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Rust reference

CrateStart here
pptxboss-coreDocument::open, Document::slide, Slide::text, Document::map_slides, Document::markdown, Document::core_properties, Document::sections, Slide::comments, Slide::charts, Slide::diagrams, Slide::objects; Package for the raw view; zip::Archive, inflate, xml::Reader, opc, model, chart, diagram, markdown; cfb::Compound and ppt::LegacyDeck behind .ppt files (Document::legacy)
pptxboss-checkcheck, check_path, check_bytes, rules, Finding, Severity, CheckOptions
pptxboss-writePresentation, Slide, Paragraph, Rect, SlideSize, Layout, from_markdown
pptxboss-clithe binary

Document is single-threaded; Document::seed() gives a Send + Sync handle from which any thread rebuilds a Document over the same archive with private caches. Package works the same way. Document::map_slides spreads slides over every core unless Document::with_threads (or set_threads, or the PPTXBOSS_THREADS variable) caps the workers; the seed keeps the cap. A legacy .ppt deck stays on the calling thread unless a cap is set explicitly, because spreading them costs more than it saves.

Every error type is a thiserror enum per crate: pptxboss_core::Error, pptxboss_write::Error.