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