PageFormatInfo

data class PageFormatInfo(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) : Defaultable

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.

This class is marked as Defaultable, since its default values can be supplied by the document type via com.quarkdown.core.document.DocumentType.defaultPageFormat.

Parameters

pageWidth

width of each page

pageHeight

height of each page

margin

blank space around the content of each page

contentBorderWidth

width of the border around the content area of each page

contentBorderColor

color of the border around the content area of each page

columnCount

number of columns on each page. If set, the layout becomes multi-column

alignment

text alignment of the content of each page

Constructors

Link copied to clipboard
constructor(pageWidth: Size? = null, pageHeight: Size? = null, margin: Sizes? = null, contentBorderWidth: Sizes? = null, contentBorderColor: Color? = null, columnCount: Int? = null, alignment: Container.TextAlignment? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val columnCount: Int? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val margin: Sizes? = null
Link copied to clipboard
val pageHeight: Size? = null
Link copied to clipboard
val pageWidth: Size? = null

Functions

Link copied to clipboard