XLSX Facade
Create, open, style, automate, e export Excel 2007+ .xlsx workbooks through the dedicated OOXML API surface
XLSX Facade Overview
Workbook API
Create, open, save, protect, calculate, e export Excel workbooks through the main workbook interface, including saved-by metadata, file-sharing metadata preservation, e pivot cache inspection
IXLSWorkbook interface
Classic XLS Pivot Tables
Create typed classic XLS pivot tables, inspect Excel-authored pivot workbooks, preserve raw pivot records, e configure field axes, subtotals, page filters, e data-field number formats
Classic XLS pivot table API
Workbook Metadata
Preserve FILESHARING, FILESHARING2, PROT4REV, PROT4REVPASS, HIDEOBJ, zero-length TEMPLATE, TABID, BOOKEXT, USERSVIEWBEGIN, USERSVIEWEND, e saved-by metadata when classic XLS workbooks pass through HotXLS
Classic XLS workbook metadata
Worksheet API
Manage sheets, ranges, page breaks, display settings, shapes, formulas, e sheet-level output, including range-based shape cleanup through TXLSShapes.DeleteInRange, loaded-cell scanning through TXLSWorksheet.ForEachCell, callback-based range writing through TXLSWorksheet.WriteCells, one-call filter setup through TXLSWorksheet.ApplyAutoFilter, e filter criteria inspection through AutoFilterColumns
TXLSWorksheet reference
Range Editing
Read e write values, formulas, rows, columns, borders, alignment, merging, grouping, formatting, e selected-range HTML fragments
IXLSRange interface
XLS Color Model
Review the ThemeColor, TintAndShade, e classic XLS palette-based formatting decision
Classic XLS color model
Grid Export
Export DBGrid content to Excel with header, detail, grouping, formatting, e event hooks
TGridToXLS component
Dataset Export
Export datasets to workbooks with field selection, worksheet naming, group styling, e save helpers
TDataToXLS component
Optional cxGrid Export
Export DevExpress TcxGridDBTableView data with workbook targeting, grouped output, formatting controls, e export events when the optional cxGrid unit is added to a project
TcxGridAddExcel component
Pascal Examples
Open sample workflows for purchase orders, grouped exports, images, e common workbook automation
Example topics
Release Note
Review the HTML version history for HotXLS classic XLS, expanded XLSX, export, compatibility, e documentation updates in multiple languages
Open release notes