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

PageRangeA one-based page range, or an empty string for every page in the document
OptionsOptional worksheet flags; combine PDF_XLSX_AUTOFILTER (1) and PDF_XLSX_REPEAT_PRINT_HEADERS (2), or pass 0 for defaults
ColumnRulesExplicit column types, parsing conventions and display formats. An empty rule array uses the existing inference
FileNameThe 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