EpubEmbed

An element that embeds a web document on an EpubPage: an inline frame, or an object whose type is HTML or XHTML (#40). The page paints the embedded document in the box when it is a document of the book (#528, #612), and else an object's fallback. An app can place a web view of its own over rect for a URL outside the book, which the page does not show.

Each box stays on one page, as an image does: one that does not fit what is left of a page moves whole to the next (#41). Only an object taller than a page goes on from page to page.

Properties

Link copied to clipboard

the zip path of the embedded document, as EpubDocument.resource reads it, or a URL with a scheme. Empty when the element names no document.

Link copied to clipboard
val id: String?

the element's own id, or null.

Link copied to clipboard

false for an object taller than a page, whose rect is the part on this page: a web view placed over it would show the top of the document on every page (#41).

Link copied to clipboard
Link copied to clipboard

the box in display space, y down, with the smaller y in KiteRectangle.bottom, as EpubLink.rect is. For an object that goes on to the next page, the part on this page.

Link copied to clipboard
val type: String?

the media type that the element or the manifest gives, or null.