SaveTablesXLSXToFileEx
Structured table export
Description
Publishes a workbook using explicit column types, parsing conventions and display formats
Syntax
function TPDFlib.SaveTablesXLSXToFileEx(const PageRange: WideString;
Options: Integer; const ColumnRules: TPDFlibXLSXColumnRules;
const FileName: WideString): Integer;
Parameters
| PageRange | A one-based page range, or an empty string for every page in the document |
|---|---|
| Options | Optional worksheet flags; combine PDF_XLSX_AUTOFILTER (1) and PDF_XLSX_REPEAT_PRINT_HEADERS (2), or pass 0 for defaults |
| ColumnRules | Explicit column types, parsing conventions and display formats. An empty rule array uses the existing inference |
| FileName | The destination workbook path. An existing destination is replaced only after the complete workbook is ready |
Column rules and worksheet options follow SaveTablesXLSXToStreamEx. An existing destination is replaced after the complete workbook is ready
Return values
Returns the number of exported worksheets or zero on failure