slides library

PowerPoint (.pptx) presentations.

SlidesView shows the slides a SlidesController has loaded, one at a time, as a reading view: each slide's title, text, tables and pictures.

PptxParser reads a file into a PptxPresentation without showing it.

Classes

DocumentController
What every format's controller does, so an app can build one toolbar, search bar and position display for all of them.
DocumentLocation
Where the reader is in a document: "page 3 of 12", "row 40 of 900".
DocumentSearchState
A search in a document: the query, how many times it occurs and which occurrence is current.
DocumentViewerStrings
The text the package's widgets show: messages, labels, tooltips and screen-reader descriptions. English by default.
DocumentViewerStringsScope
Gives the package's widgets below it strings instead of English.
DocumentViewerTheme
Colours the package's views use for search matches, as a ThemeExtension on the app's theme.
PositionKeys
Keys used in ReadingPosition maps, per reader.
PptxBlock
One piece of slide content, in reading order.
PptxImage
A picture placed on the slide.
PptxParagraph
A text paragraph; level is the bullet indent (0 = top level).
PptxParser
Reads a .pptx (Office Open XML) into slides of text, tables and pictures. It is a reading view, not a layout engine: positions, themes and animations are not reproduced.
PptxPresentation
A parsed deck.
PptxSlide
One slide's content.
PptxTable
A table, as rows of cell text.
SlideCard
One slide's content as a card: what SlidesView shows for each slide, and usable on its own, for example scaled down as a preview.
SlideMatch
One occurrence of a search in a presentation: the occurrenceth match (from 0) on slide slide (from 0), counting in the order SlidesView draws the slide's text - title, then paragraphs and table cells.
SlidesController
Loads a PowerPoint (.pptx) presentation for SlidesView: its slides, the one on screen, zoom and search.
SlidesView
Shows a SlidesController's presentation one slide at a time: swipe, or drive it from the controller.

Enums

DocumentLoadError
Why a document couldn't be opened.
DocumentStatus
Where a DocumentController is in its document's life.
DocumentUnit
What DocumentLocation.current and DocumentLocation.count count.

Typedefs

ReadingPosition = Map<String, Object?>
A reader's saved place in a document, as plain JSON-safe values.

Exceptions / Errors

PptxFormatException
Not a readable PowerPoint (.pptx) package.