|
|
lxHandle
.xls), plus HTML, RTF, CSV, and TSV
export. All existing user code continues to use this unit unchanged. Entry points:
TXLSWorkbook, TXLSWorksheet, IXLSWorkbook, IXLSRange
lxHandleX
.xlsx) and OpenDocument Spreadsheet
(.ods) read/write. Provides its own workbook and worksheet types so XLSX-specific behavior is
not retrofitted onto the BIFF code path. Entry points:
TXLSXWorkbook, TXLSXWorksheet, TXLSXCell
lxHandleX
lxHandle)lxHandleX)IXLSWorkbook.OpenCSV
LEFT, MID, TRIM, SUBSTITUTE, …)DATE, NETWORKDAYS, WORKDAY, …)BIN2DEC, HEX2DEC, …)BITAND, BITOR, BITXOR, …)AVERAGE, SUMIF, COUNTIFS, …)ROUND, MOD, POWER, …)OnUserFunction callback lets you handle custom or unsupported worksheet functions at runtime
See OnUserFunction callback for the signature and examples
IXLSRange (classic facade) and TXLSXRange (XLSX facade) provide a rich set of
range operations:
ApplyBuiltinStyle)TXLSWorksheet.SelectAreas)TXLSTable / TXLSXTable): add, access, and style
Excel tables with header rows and banded rowsTXLSWorksheetsAddChartSheet
and TXLSXChartIXLSHyperLinks. Define and resolve named ranges at workbook and worksheet scope through
IXLSNames / TXLSXDefinedNames. Named ranges can be used in formulas and
resolved back to a cell range via RefersToRange
TXLSShapes.AddPicture / TXLSXWorksheet.AddImage. Create standalone text boxes
in classic XLS through TXLSShapes.AddTextBox. Preserve Excel-created OfficeArt connector and
solver rules in BIFF8 drawings, and expose raw shape FOPT options through
TXLSShape.OfficeArtOptions for expert drawing workflows
IXLSPageSetup:
TXLSHTMLExport and TXLSXHtmlExportOptionslxHandleX facadeTDataToXLS or
TGridToXLS components
Both components fire AfterCell, AfterRow, AfterTitle, and
AfterGroup events for fine-grained output control, and support multi-level grouping fields
TXLSVBAProject and TXLSVBAModule
Call IXLSWorkbook.HasVBAProject to detect a payload and
LoadVBAProjectFromFile / SaveVBAProjectToFile to transfer it between files
TXLSWorksheet.AddPivotTable, configure field placement and data-field number formats, and
inspect the pivot model through TXLSWorksheet.PivotTables
See Classic XLS pivot table API for field and filter details
lxHandle while new XLSX
code uses the richer lxHandleX facade. Migrating one file format at a time is safe and
incremental
OnUserFunction
callback
TDataToXLS, TGridToXLS) require no code for
common export tasks. The fluent range API supports A1 notation, R1C1 notation, and zero-based
row/column indexing
TXLSXWorkbook instances can be
created and saved concurrently on independent threads without synchronization, making HotXLS
suitable for multi-threaded report generation servers