Package-level declarations

Types

Link copied to clipboard
data class PageFormatInfo(val selector: PageFormatSelector? = null, val pageWidth: Size? = null, val pageHeight: Size? = null, val margin: Sizes? = null, val contentBorderWidth: Sizes? = null, val contentBorderColor: Color? = null, val columnCount: Int? = null, val alignment: Container.TextAlignment? = null)

Immutable information about the format of all pages of a document. When any of the fields is null, the default value supplied by the underlying renderer is used.

Link copied to clipboard
data class PageFormatSelector(val side: PageSide? = null, val range: Range? = null)

Determines which pages a PageFormatInfo applies to. A selector can target a specific side (left/right pages), a range of 1-based page indices, or both (e.g. left pages within a given range).

Link copied to clipboard

Position of a margin box on a page.

Link copied to clipboard

The orientation of a page.

Link copied to clipboard

The side of a page in a paged document, used to apply distinct formatting (e.g. mirrored margins) to left and right pages via PageFormatInfo.

Link copied to clipboard

Standard page sizes.

Functions

Link copied to clipboard

Merges a list of PageFormatInfo layers into a single instance. Later entries take priority: their non-null fields override earlier ones.