Skip to main content

Module document

Module document 

Source
Expand description

The lenient document layer: a presentation located through the package relationships, its slides in sldIdLst order, and their content.

A Document is single-threaded (it caches parsed parts behind RefCell). Document::seed hands out a Send + Sync handle from which any thread can build its own Document over the same archive, which is how Document::map_slides spreads work across cores.

Structs§

Document
An open presentation.
DocumentDefects
What the document layer had to work around.
DocumentSeed
A thread-safe handle from which a Document is rebuilt; see Document::from_seed.
ImageRef
An image referenced from a slide.
ObjectRef
An embedded object (p:oleObj) on a slide with its package part resolved.
Slide
One parsed slide, bound to its document.
SlideRef
A slide as listed by the presentation.
SlideSection
A section of the deck with the slides it holds, resolved to slide indexes.

Enums§

Located
How the presentation part was found.