TPDFlibXLSXColumnRule

Data types

Description

Workbook-wide or per-sheet column typing and number-format rule for XLSX table export

Declaration

type
  TPDFlibXLSXColumnRule = record
    Sheet, Column: Integer;
    CellType: TPDFlibXLSXCellType;
    DecimalSeparator, GroupSeparator, DateSeparator: WideChar;
    DateOrder: TPDFlibXLSXDateOrder;
    FormatCode: WideString;
    RejectInvalid: Boolean;
  end;

Fields

Sheet1-based target worksheet index, or 0 for a workbook-wide rule
Column1-based column index within the exported table
CellTypeTarget cell data type from TPDFlibXLSXCellType
DecimalSeparator, GroupSeparator, DateSeparatorExplicit locale characters for numeric and date parsing (#0 uses defaults)
DateOrderComponent ordering from TPDFlibXLSXDateOrder
FormatCodeOptional Excel number format string applied to converted cells
RejectInvalidWhen True, unparseable non-empty cells abort export without writing output instead of falling back to text

See also

TPDFlibXLSXColumnRules, TPDFlibXLSXCellType, TPDFlibXLSXDateOrder, SaveTablesXLSXToFileEx