Package-level declarations
The EPUB object model: Book and everything it holds — Metadata, Resources / Resource, Spine, TableOfContents, Guide, plus the MediaTypes registry and a stylesheet DSL.
Types
A Date used by the book's metadata.
Lazily reads resources from an EPUB on disk.
These are references to elements of the book's guide.
A Book's identifier.
A Resource that loads its bytes only on-demand from an EPUB file.
Loads the bytes for a resource on demand.
Manages mediatypes that are used by epubs
Base class holding a reference to a Resource.
The spine sections are the sections of the book in the order in which the book should be read.
A Section of a book. Represents both an item in the package document and a item in the index.
Curated, opinionated stylesheets you can drop in without thinking.
The table of contents of the book. The TableOfContents is a tree structure at the root it is a list of TOCReferences, each if which may have as children another list of TOCReferences.
An item in the Table of Contents.
Functions
Builds a Stylesheet using a narrow typed DSL covering the common ebook cases (typography, spacing, page breaks). Use RuleBuilder.property or StylesheetBuilder.raw as escape hatches for anything not covered.