ExcelStyle

data class ExcelStyle(val font: ExcelFont? = null, val background: ExcelBackground? = null, val alignment: ExcelAlignment? = null, val border: ExcelBorder? = null, val wrapText: Boolean? = null, val dataFormat: String? = null)

Domain-independent style model representing Excel cell formatting.

This class uses nullable properties to support a hierarchical style inheritance system. When merging styles, non-null values in the child style override those in the parent.

Thread Safety: This is an immutable data class and is fully thread-safe.

See also

Constructors

Link copied to clipboard
constructor(font: ExcelFont? = null, background: ExcelBackground? = null, alignment: ExcelAlignment? = null, border: ExcelBorder? = null, wrapText: Boolean? = null, dataFormat: String? = null)

Properties

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

Functions

Link copied to clipboard

Merges this style with other, where other takes precedence.