Workbook Scope
Scope for creating a workbook.
The [WorkbookScope] is the root of the DSL and manages the lifecycle of the driver.
Parameters
engine
the underlying ExcelDriver to use for generation
Functions
Link copied to clipboard
fun <T> dataSheet(name: String, data: Iterable<T>, defaultStyle: ExcelStyle? = null, init: DataSheetScope<T>.() -> Unit)
Defines a data sheet using an Iterable (e.g., List, Set).
fun <T> dataSheet(name: String, data: Sequence<T>, defaultStyle: ExcelStyle? = null, init: DataSheetScope<T>.() -> Unit)
Defines a data sheet in the workbook using DTO binding.
Link copied to clipboard
Provides access to the underlying native workbook object.
Link copied to clipboard
Defines a new sheet in the workbook.