Package-level declarations

Types

Link copied to clipboard
data class ContentDocumentData(val hasRemoteResources: Boolean, val inLinearContent: Boolean, val indexInSpine: Int, val layout: ContentDocumentLayout, val mediaType: String?, val pageSpreadSlot: PageSpreadSlot, val scripted: Boolean, val syntheticSpreadBehavior: SyntheticSpreadBehavior)

Represents a source content document in a Publication.

Link copied to clipboard

Specifies how the publication content should be presented by the reading system.

Link copied to clipboard

Specifies if a content document has been designed as a fixed-layout document, or if it can be reflowed/paginated.

Link copied to clipboard

The global direction in which the Publication content flows. Please note that this is not same as the writing direction. A publication's pages can be ordered from right-to-left, but its text written left-to-right.

Link copied to clipboard

When a publication is presented as a spread of two pages. This enum defines in which slot the page is intended to rendered into.

Link copied to clipboard
open class PublicationMetadataData(val all: List<PublicationMetadataItem>, val identifierIndexes: List<Int>, val languageIndexes: List<Int>, val titleIndexes: List<Int>, val type: PublicationMetadataType)

Contains all metadata items extracted from a publication.

Link copied to clipboard
data class PublicationMetadataItem(val content: LocalizableString, val contentScheme: RdfaProperty?, val property: RdfaProperty, val refinedBy: List<PublicationMetadataItem>)

Represents a metadata item entry in a publication such as a title or author.

Link copied to clipboard

Describes the type of an IPublicationMetadataData instance.

Link copied to clipboard

Describes which orientation the author intends the Publication to be rendered in.

Link copied to clipboard

Describes the type of an IPublication instance.

Link copied to clipboard
data class RdfaProperty(val name: String, val namespace: String?)

Represents an RDFa property.

Link copied to clipboard

Describes in which orientations the reading system should present the publication in spread mode. Can be overridden per content document.