Package-level declarations

Types

Link copied to clipboard
abstract class BaseScope(driver: ExcelDriver)

Base class for all Excel DSL builders, providing thread-safety checks.

Link copied to clipboard
class ColumnDef<T>(val header: String, val headerStyle: ExcelStyle? = null, val style: ExcelStyle? = null, val cellStyle: (T) -> ExcelStyle?? = null, val linkExtractor: (T) -> String?? = null, val valueExtractor: (T) -> Any?? = null, val formulaExtractor: (Int, T) -> String? = null)

Defines a column for the DataSheetScope.

Link copied to clipboard
class DataSheetScope<T>(driver: ExcelDriver, defaultStyle: ExcelStyle? = null) : BaseScope

Scope for DTO-based data sheets. Provides a declarative way to map a collection of items to Excel rows.

Link copied to clipboard

Thrown when concurrent write access is detected in the DSL builders.

Link copied to clipboard

Thrown when the DSL or engine is improperly configured.

Link copied to clipboard

Base exception for all errors occurring within the Excel DSL.

Link copied to clipboard
annotation class ExcelDslMarker

DSL Marker for the Excel DSL to prevent nested builder calls.

Link copied to clipboard
class ExcelStreamingException(message: String, cause: Throwable? = null) : ExcelDslException

Thrown when an error occurs during Excel streaming operations.

Link copied to clipboard
class RowScope(driver: ExcelDriver) : BaseScope

Scope for creating a row.

Link copied to clipboard
class SheetScope(driver: ExcelDriver, defaultStyle: ExcelStyle? = null) : BaseScope

Scope for creating a sheet.

Link copied to clipboard

Scope for creating a workbook.

Functions

Link copied to clipboard
fun excel(output: OutputStream, driver: ExcelDriver = ExcelDriverFactory.autoDetect(), defaultStyle: ExcelStyle? = null, options: WorkbookOptions = WorkbookOptions(), init: WorkbookScope.() -> Unit)

Entry point for the Excel DSL.