DocumentInfo

data class DocumentInfo(var type: DocumentType = DocumentType.PLAIN, var name: String? = null, val authors: MutableList<DocumentAuthor> = mutableListOf(), var locale: Locale? = null, var numbering: DocumentNumbering? = null, var theme: DocumentTheme? = null, val pageFormat: PageFormatInfo = PageFormatInfo(), val tex: TexInfo = TexInfo())

Mutable information about the final artifact. This data is mutated by library functions .docname, .docauthor, etc.

Parameters

type

type of the document

name

name of the document, if specified

authors

authors of the document, if specified

theme

theme of the document, if specified

locale

language of the document

numbering

formats to apply to element numbering across the document

pageFormat

format of the pages of the document

Constructors

Link copied to clipboard
constructor(type: DocumentType = DocumentType.PLAIN, name: String? = null, authors: MutableList<DocumentAuthor> = mutableListOf(), locale: Locale? = null, numbering: DocumentNumbering? = null, theme: DocumentTheme? = null, pageFormat: PageFormatInfo = PageFormatInfo(), tex: TexInfo = TexInfo())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var name: String?
Link copied to clipboard
Link copied to clipboard

The numbering formats of the document if set by the user, otherwise the default numbering of the document type (which may also be null).

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