WorkbookOptions

data class WorkbookOptions(val flushInterval: Int = 1000, val forceFormulaRecalculation: Boolean = false, val applicationName: String = "KExcel", val applicationVersion: String = "1.0")

Configuration options for the Excel workbook generation.

This DTO centralizes metadata and engine-specific configurations to keep the ExcelDriver interface clean and avoid repetitive method additions for new settings.

Constructors

Link copied to clipboard
constructor(flushInterval: Int = 1000, forceFormulaRecalculation: Boolean = false, applicationName: String = "KExcel", applicationVersion: String = "1.0")

Properties

Link copied to clipboard

Application name to be embedded in the Excel metadata.

Link copied to clipboard

Application version to be embedded in the Excel metadata.

Link copied to clipboard

Interval (in rows) at which the streaming engine should flush data to the output stream. Higher values improve performance but increase memory usage. Default is 1000 rows.

Link copied to clipboard

Whether to force formula recalculation when the workbook is opened in an Excel viewer. Default is false.