Create a IRenderableDocumentPage of the entire content document.
Create an iterator that can be used to reflow this document into multiple pages.
A Promise resolved with the iterator.
Fetch the content block tree for this reader document.
Get all text blocks in document order.
Get the ContentLocation representing the range of the entire ReaderDocument.
Fetches an estimate of how tall the document will be after rendering.
Get the estimated number of pages this document will generate when reflowing into multiple pages. For fixed-layout documents, this method will always return 1.
Fetch the locator for the complete or partial content block. NOTE: This method still exists for the legacy search API.
The content block data to retrieve locator for.
The character offset within textBlock.textContent. Defaults to 0.
The number of characters after charOffset to include in the locator. Defaults to end of textContent if omitted.
Get the document viewport dimensions if this document defines any.
The sync media formats available in this reader document.
Get the ContentLocation to the start of this ReaderDocument.
The index of this reader document within the parent IReaderPublication spine.
Get a locator that points to this document.
Get the Reader publication this instance belongs to.
Get the underlying content document this instance is wrapping.
If this document can be reflowed into multiple pages.
If the document can be rendered using a ReaderView.
Get a JSON representation of this object.
Generated using TypeDoc
A content document that has been processed by a format adapter to be used by the Reading System.