SpineReference

class SpineReference(resource: Resource, var linear: Boolean = true) : ResourceReference(source)

A Section of a book. Represents both an item in the package document and a item in the index.

Constructors

Link copied to clipboard
constructor(resource: Resource, linear: Boolean = true)

Properties

Link copied to clipboard

Linear denotes whether the section is Primary or Auxiliary. Usually the cover page has linear set to false and all the other sections have it set to true.

Link copied to clipboard
open var resource: Resource?

The referenced Resource, or null if none is set.

Link copied to clipboard