Page

data class Page(val grid: Grid, val content: Publication.Page.Content, val header: Publication.Page.Header?, val footer: Publication.Page.Cell.Footer?, val pageNumber: Int?)

A page within a Publication that contains a flexible grid of items.

Constructors

Link copied to clipboard
constructor(grid: Grid, content: Publication.Page.Content, header: Publication.Page.Header?, footer: Publication.Page.Cell.Footer?, pageNumber: Int?)

Types

Link copied to clipboard
interface Cell
Link copied to clipboard
data class Content(val blocks: List<Publication.Page.Cell.Block>)

A page-centric container for a list of Blocks. The content occupies the majority of the visible area of a page, and is located between the Header and Footer.

Link copied to clipboard
data class Header(val dummy: Int)

The header of a Publication.Page (currently unused)

Properties

Link copied to clipboard

The content of the page.

Link copied to clipboard

The footer of the page, if any.

Link copied to clipboard
val grid: Grid

The grid of items on the page.

Link copied to clipboard

The header of the page, if any.

Link copied to clipboard

The page number, if any.