| Destroy | Frees instance state and releases owned resources |
| SetWorkbook | Writes the owning workbook reference so operations like
number-format lookups can reuse the shared workbook pools in
O(1) time |
| SetArrayRoot / SetArrayRange | Set ArrayRoot* and
ArrayLast* markers for array-formula spill anchors so one
root cell maps all dependent cells in the same rectangle |
| Workbook | Back-reference to the owning
TXLSXWorkbook set by
worksheet cell creation |
| ArrayRootRow / ArrayRootCol / ArrayLastRow / ArrayLastCol | Read-only CSE spill metadata used by save/load
round-trip for array-formula rectangles |
| Row | 1-based row index |
| Col | 1-based column index (1 = A, 2 = B, ...) |
| Value | Cell value as a Variant. Strings, numbers, booleans,
and TDateTime are all supported. Setting a
TDateTime automatically picks up the built-in date
cellXf (XlsxXfIndexDate) when no explicit
FormatIndex is set |
| FormatIndex | Index into xl/styles.xmlcellXfs
Leave at 0 for the default style. Index 1
is reserved for the built-in date format (numFmtId 14,
m/d/yyyy). When set, FormatIndex takes
precedence over FontIndex in the emitted cell |
| FontIndex | 1-based index into
TXLSXWorkbook.Fonts
Leave at 0 to inherit the default Calibri 11 |
| FillIndex | 1-based index into
TXLSXWorkbook.Fills
See TXLSXFill |
| BorderIndex | 1-based index into
TXLSXWorkbook.Borders
See TXLSXBorder |
| NumberFormatIndex | 1-based index into
TXLSXWorkbook.NumberFormats
Employ this for custom format codes such as '$#,##0.00'
or 'yyyy-mm-dd hh:mm:ss' |
| NumberFormat | Convenience property for custom number-format text
Reading returns the format code from the workbook number-format pool
when NumberFormatIndex points at one; assigning a string
finds or appends the format and updates NumberFormatIndex |
| AlignmentIndex | 1-based index into
TXLSXWorkbook.Alignments
See TXLSXAlignment
for the per-entry horizontal / vertical / wrap / indent / rotation
knobs |
| RichText | Optional owned
TXLSXRichText payload
When set, the cell goes through the shared-string table as a
multi-run <si> entry instead of a plain string;
assigning nil reverts to the cell's Variant value |
| Precedence | When several *Index properties are set
on the same cell, the SaveAs side picks the matching cellXf in this
order: FormatIndex > FontIndex >
FillIndex > BorderIndex >
NumberFormatIndex |
| Formula | Optional formula text (no leading =)
When set, SaveAs emits a <f> child
element alongside the cell value, and Open reads it back |
| ProtectionIndex | Index into the workbook protection pool. The
Locked and FormulaHidden convenience
properties maintain this index automatically for common use |
| Locked | When True (default for every new cell),
the cell is protected when the worksheet is protected. Set to
False to allow editing a specific cell inside a protected
sheet. Writes a <protection locked="0"/> attribute
inside the cell's cellXf when different from the
default |
| FormulaHidden | When True, the formula bar does not
display the cell's formula while the sheet is protected. Default is
False. Emits
<protection hidden="1"/> in the matching
cellXf |
| FormattedText | Read-only WideString. Yields the cell's value formatted as a string according to its active custom or built-in number format code. |
| TaggedText | Read-only WideString. Yields the formatted cell string containing HTML/XML-like formatting tags for rich text styles when applicable. |
| NamedStyleXfId | Read-only Integer. Returns the cellXfs index of the named style this cell links to, or -1 when the cell has no style payload |
| LinkedStyle | Read/write TXLSXLinkedStyle record. Links the cell to a named style: AutomaticChoose lets Excel pick the style automatically and LinkedParts selects which format parts (font, fill, border, number format, alignment, protection) follow the linked style |