DocumentLayoutInfo

data class DocumentLayoutInfo(val pageFormats: List<PageFormatInfo> = emptyList(), val fonts: List<FontInfo> = emptyList(), val paragraphStyle: ParagraphStyleInfo = ParagraphStyleInfo(), val captionPosition: CaptionPositionInfo = CaptionPositionInfo())

Mutable information about the layout options of a document. When any of the fields is null, the default value supplied by the underlying renderer is used.

Parameters

pageFormats

format of the pages of the document, in ascending order of precedence

fonts

list of font configurations used in the document, in order of precedence

paragraphStyle

style of paragraphs in the document

captionPosition

position of captions of figures, tables, and more in the document

Constructors

Link copied to clipboard
constructor(pageFormats: List<PageFormatInfo> = emptyList(), fonts: List<FontInfo> = emptyList(), paragraphStyle: ParagraphStyleInfo = ParagraphStyleInfo(), captionPosition: CaptionPositionInfo = CaptionPositionInfo())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the effective page formats by prepending default (if non-null) and folding formats that share the same PageFormatInfo.selector.