HotXLS Docs

TXLSXCellFormat class

Unit: lxHandleX
Composite cell-format reference (font/fill/border/number-format/alignment/protection *Index) used to apply a full style to a cell or range in one operation

Description

Composite cell-format reference (font/fill/border/number-format/alignment/protection *Index) used to apply a full style to a cell or range in one operation The class is part of the XLSX facade (lxHandleX) and is reached through the owning workbook or worksheet; instances are not normally created directly by application code.

Properties

Font
Fill
Border
Alignment
NumberFormat

Methods

procedure SetProtection(ALocked, AFormulaHidden: Boolean) — activates the protection aspect and records the two cell-protection flags
procedure Apply — stamps the active aspects onto one cell
procedure ApplyRange — stamps every cell in a rectangle, creating absent cells like a format painter
procedure ApplyRows — stamps whole rows
procedure ApplyCols — stamps whole columns
procedure ApplySheet — stamps a whole worksheet

See also