ReaderDocumentData

data class ReaderDocumentData(val availableSyncMediaFormats: List<SyncMediaFormat>, val indexInSpine: Int, val locator: SimpleLocatorData, val reflowable: Boolean, val renderable: Boolean, val sourceContentDocumentIndexInSpine: Int)

Describes a serializable version of IReaderDocument

Constructors

Link copied to clipboard
fun ReaderDocumentData(availableSyncMediaFormats: List<SyncMediaFormat>, indexInSpine: Int, locator: SimpleLocatorData, reflowable: Boolean, renderable: Boolean, sourceContentDocumentIndexInSpine: Int)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun serialize(generator: JsonGenerator)

Properties

Link copied to clipboard

The sync media formats available in this ReaderDocument.

Link copied to clipboard

The index of this reader document within the parent IReaderPublication spine.

Link copied to clipboard

The locator for the start of the reader document

Link copied to clipboard

If this reader document can be reflowed into multiple pages.

Link copied to clipboard

If the document can be rendered using a ReaderView.

Link copied to clipboard

The index of the source IContentDocument within the IPublication spine.