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
| Sheet | 1-based target worksheet index, or 0 for a workbook-wide rule |
|---|---|
| Column | 1-based column index within the exported table |
| CellType | Target cell data type from TPDFlibXLSXCellType |
| DecimalSeparator, GroupSeparator, DateSeparator | Explicit locale characters for numeric and date parsing (#0 uses defaults) |
| DateOrder | Component ordering from TPDFlibXLSXDateOrder |
| FormatCode | Optional Excel number format string applied to converted cells |
| RejectInvalid | When True, unparseable non-empty cells abort export without writing output instead of falling back to text |
See also
TPDFlibXLSXColumnRules, TPDFlibXLSXCellType, TPDFlibXLSXDateOrder, SaveTablesXLSXToFileEx