AGGREGATE Options and Nested Gates in HotXLS for Delphi
How HotXLS decodes the AGGREGATE options matrix in Delphi and keeps the ignore-hidden and nested-SUBTOTAL gates from leaking into precedent formulas
Software Development Blog
HotXLS Delphi Component tutorials for generating and reading Excel spreadsheets in Delphi
How HotXLS decodes the AGGREGATE options matrix in Delphi and keeps the ignore-hidden and nested-SUBTOTAL gates from leaking into precedent formulas
Verify Agile-encrypted XLSX packages in Delphi with HotXLS: HMAC-SHA-512 dataIntegrity, constant-time verifier checks and the classic write reservation records
How HotXLS reads Agile-encrypted XLSX in Delphi: OpenEncrypted parses EncryptionInfo, runs SHA-512 spin-count key derivation, then decrypts AES-CBC segments
How HotXLS splits conditional formatting and data validation rules into prioritised rule objects when row or column edits divide their range in Delphi
HotXLS stores array-operator formulas like SUM(A1:B1*{10,100}) as Excel 365 dynamic arrays in XLSX and XLS from Delphi, so Excel stops inserting @ and #VALUE!
HotXLS evaluates saved Excel AutoFilters in Delphi: value lists, date groups, Top 10, dynamic dates, colour and icon filters, with a frozen date and hard limits
A HotXLS pivot emitter declared a 24-byte BIFF body and wrote 26, so chart sheets vanished on reopen. The fix, and how to find that drift yourself
How HotXLS classifies BIFF SupBook and XTI records in Delphi, why same-sheet, add-in and DDE or OLE links cannot be guessed from a self flag or empty URL
How HotXLS writes Excel 5.0/95 XOR-protected XLS files that Excel 16 opens: CreateXorKey_Method1 key, XorRor array, XorArrayIndex and Delphi code
HotXLS opens pre-OLE Excel 2.0, 3.0 and 4.0 workbooks from Delphi, reading raw BIFF streams, per-generation cell records and cached formula results
How HotXLS maps RGB and theme colours onto the 56-slot BIFF8 palette with deterministic OKLab matching, read-only palette plans and an opt-in XLS save policy
Why a BIFF8 AutoFilter saved as a string DOPER matches no numeric cells in Excel, and how HotXLS writes number, Boolean and AND/OR criteria in Delphi XLS files
How HotXLS writes BIFF8 secondary axis groups in Delphi: AXESUSED, two AxisParent blocks, and why the chart group lives inside each axis group
HotXLS anchors a BIFF8 chart substream to a worksheet as an OBJ type-5 host control, so the chart sits beside the data instead of occupying its own sheet
Why BIFF8 font indexes never use 4, and how HotXLS keeps XF records, rich text strings, comment and text box runs bound to the right FONT record in Delphi
PivotTables are the most intricate structure in the .xls binary format. See how HotXLS builds a self-contained pivot cache and packs SXDBB records in Delphi
How HotXLS for Delphi writes BIFF8 Selection records in 1369-area chunks, maps pane codes explicitly, and splits pane scroll between Window2 and Pane
How HotXLS decodes BIFF8 XLUnicodeString payloads in Delphi: GetWideString counts bytes, fHigh 0 needs GetString, and a wrong pairing fails silently
HotXLS evaluates PRICE, YIELD, DURATION, coupon-date and treasury-bill functions from Delphi, with all five day-count bases and no Excel installed
HotXLS decodes worksheet metafile pictures into a bounded command scene instead of handing the bytes to GDI playback, with budgets and fail-closed parsing
HotXLS reads Excel formula cached values in Delphi without triggering recalculation, keeping ETL runs fast and source workbooks byte for byte unchanged
HotXLS creates Excel camera objects from Delphi, placing a live picture of a cell range that Excel re-renders on load, with round-trip preservation of the link
TXLSCellImageExporter renders any XLS or XLSX cell rectangle to one PNG or JPEG with no pagination, explicit pixel and byte budgets and an atomic replace
Build a CF_HTML clipboard payload in Delphi with HotXLS so Excel ranges paste into Word or a browser with styling intact, using precise byte offsets
How HotXLS renders Excel chart date axes in Delphi: workbook serials, month-end tick clamping, automatic day, month and year units, and exact dateAx round trips
HotXLS replays untouched Excel charts byte for byte from Delphi by resolving drawings via relationships, fingerprinting after parsing and keeping anchor offsets
Compute Excel trendline equation and R-squared label text in Delphi with HotXLS XLSTrendlineEquationLabel, matching DataLabel.Text for all six trendline types
Create Excel waterfall and treemap charts from Delphi with HotXLS: cx chartSpace parts, layoutId series types, cx pt caches and the AlternateContent anchor
How to add Excel charts, images, and shapes from Delphi with HotXLS: chart sheets in XLS, embedded charts and pictures in XLSX, EMU sizing, and anchor traps
Excel column width is measured in Max Digit Width units, so a non-Calibri Normal font shifts every column boundary. How HotXLS measures MDW in Delphi
Write cell comments with authors, external URLs, and in-workbook links from Delphi using HotXLS, including the XLSX internal-link API and XLS comment quirks
HotXLS parses Compound File Binary v3 containers in pure Pascal: header signature, in-header DIFAT, FAT chains, MiniFAT and the directory tree, no ole32.dll
How HotXLS evaluates Excel conditional formatting rules in Delphi outside Excel, and the Top 10 percent, above average and duplicate cases Excel 16 tests pinned
Apply cellIs rules, data bars, icon sets, and rich text runs from Delphi with HotXLS, avoiding the dxf style and font pool index traps in XLSX files
When a Delphi constructor raises, the RTL calls Destroy on a half-built object. See how nil-safe destructors in HotXLS keep EOutOfMemory intact
HotXLS saves XLSX, ODS, and XLS in Delphi through a staged temp file and an atomic Windows rename, so an interrupted save cannot corrupt the workbook
Five compiler rejections that fire only on Delphi XE5, and why a build script exercising just the newest compiler let the HotXLS build matrix rot in silence
Copied Delphi worksheets can total the wrong sheet or turn formulas into links and values. HotXLS AddCopy rebinds formulas, charts and fonts by name and value
HotXLS evaluates formulas referencing another workbook against a live in-memory object in Delphi, falling back to the external-link cache when unregistered
Export Excel sheets to CSV, TSV, and HTML from Delphi with HotXLS. Covers RFC 4180 quoting, UTF-8 BOM, and why formulas need Calculate before export
HotXLS TXLSWorkbookViewer renders Excel workbooks as a Delphi grid: merged-cell hit testing, scroll sync, cell selection, and hyperlink and comment events
Add dropdown validation, AutoFilter criteria, and Excel tables from Delphi with HotXLS, including server-side filter preview and the 0-based column ID trap
Export TDataset results to Excel from Delphi with HotXLS: TDataToXLS grouping and paging, the VCL dependency trap, XLSX conversion, and a service-safe loop
An Excel date is just a number until you know which epoch it counts from. See how the 1900 and 1904 systems differ by 1462 days and how numFmt flags a date
HotXLS recalculates every formula in an isolated overlay and reports each cached value that disagrees, without writing to the workbook unless you ask for it
Why a 4805-formula loan template raised a false circular reference in HotXLS, and how defined-name implicit intersection and soft lookup-scan edges fixed it
Create workbook-scoped and sheet-scoped defined names with HotXLS in Delphi, write cross-sheet formulas that survive edits, and avoid _xlnm name conflicts
How HotXLS replaced quadratic edge scans in its Delphi formula dependency graph with a max-row segment tree, cutting a 100,000-formula recalc from 18 s to 0.1 s
Why HotXLS workbook created and saved dates drifted by a day or a time zone, and how FILETIME, MS-OLEPS property IDs and W3CDTF stamps map to UTC in Delphi
Read Excel dropdown list items in Delphi with HotXLS, pick entries by index or text, and check typed input against data validation rules in XLS and XLSX
Evaluate Excel 365 dynamic array spill formulas from Delphi with HotXLS: XLOOKUP, FILTER, SORT, UNIQUE and SEQUENCE behaviour anchored by SetArrayFormula
Excel's DEC2BIN, HEX2DEC and IMSUM functions hide ten-bit two's complement and string-encoded complex maths. See how HotXLS implements them in Delphi
Why HotXLS returns FALSE for chained comparisons as Excel does, how blank cells compare equal to 0 and empty text, and how SUMIF resizes a one-cell sum range
Why Excel shows the repair prompt on an XLSX other readers accept: a required phoneticPr fontId, one Override per part and unique root rIds in Delphi writers
How HotXLS compares text like Excel in Delphi: locale word sort, case-insensitive, hyphens only break ties, and why CompareText and ordinal sorts disagree
How HotXLS matches Excel wildcards in Delphi: COUNTIF reads a~b literally, MATCH treats ~ as an escape, DSUM matches prefixes and whole-cell Find backtracks
HotXLS fires TXLSFileMonitor events on the main thread while the worker waits, so stopping the monitor within OnFileChanged deadlocks without thread ownership
Evaluate Excel formulas in Delphi with HotXLS: the Calculate engine, OnUserFunction custom functions, array formulas, and why CSV export needs computed values
Excel can evaluate a formula one step at a time. See how HotXLS reproduces that step-by-step reduction for auditing and debugging spreadsheets in Delphi
How HotXLS shifts A1 formula references when you insert or delete rows and columns in Delphi: relative and absolute refs, range endpoints, and #REF! rules
Building HotXLS under Free Pascal needs DELPHIUNICODE, CORBA interfaces with explicit COM slots and a Pascal AES path in place of the Delphi OMF objects
How HotXLS writes theme-coloured chart fills into binary XLS: the GelFrame record, the OfficeArt scheme index in the red byte, and the MSOTINT payload
Size embedded XLSX images by physical dimensions in Delphi with HotXLS: EMU units explained, centimetre and point geometry, aspect-locked scaling, cm margins
HotXLS reads true pixel dimensions from GIF, BMP and JPEG headers so AddPicture writes real geometry rather than a 100x100 fallback that stretches images
HotXLS Workbook.Recalculate builds a formula dependency graph in Delphi to re-evaluate only dirty cells: volatile functions, topological order, cycle handling
HotXLS rewrites one worksheet inside an existing XLSX package from Delphi while every untouched part crosses over with its compressed bytes verbatim
Resolve intentional circular references in Delphi with HotXLS: iterative calculation via Iterate, IterateCount and IterateDelta, and how the cycle converges
Evaluate Excel LAMBDA closures and complete LET semantics in Delphi with HotXLS: named lambdas, lexical capture, shadowing rules and comma separators
Practical HotXLS performance tuning for large Excel files in Delphi: StreamingWrite saves, style pool reuse, row callbacks, and faster read-only loads
Why Excel refuses XLSX list validations longer than 255 characters, how XLSB and x14 extensions differ, and how HotXLS for Delphi handles each format
Why VLOOKUP over a column containing the formula itself is legal in Excel, and how HotXLS separates scan edges from ordering edges to stop false cycles
How HotXLS preserves custom themes, unknown extLst blocks, and calcChain when Delphi code edits one cell in an XLSX file, and where round-trip fidelity ends
How HotXLS handles merged cells in Delphi report templates: anchor-cell semantics, InsertRows shifting rules, merge audits, and HTML and RTF export behaviour
Open a large XLSX in Delphi without parsing every sheet: HotXLS MetadataOnly discovery, SelectedSheets loading, on-demand LoadSheet and raw-part saves
How HotXLS keeps ODS data pilot tables through a Delphi open and save cycle by replaying the XML subtree verbatim, and why ancestor xmlns bindings ride along
How HotXLS writes ODS files from Delphi that Excel 16 and LibreOffice both read: OpenFormula references, declared namespaces and dual conditional format markup
HotXLS opens and saves OpenDocument Spreadsheet files from Delphi: SaveAsODS export options, what the ODS import path reads back, and what survives a round trip
A million repeated ODS rows in Delphi: HotXLS keeps row heights as runs, inherited blank-cell styles as range overlays, and writes repeat counts back on save
Two encryption traps where the password is right but Excel reports corruption. See how an ECB versus CBC mix-up and an RC4 re-key drift break interop in Delphi
Build XLS and XLSX workbooks from Delphi services without installing Excel: native BIFF and OOXML writers, stream output to HTTP responses, COM-free
HotXLS verifies XLSX package signatures in Delphi without Excel: XML-DSig digests, C14N, relationship selectors, WinCrypt trust policy and safe re-signing
Why adding threads made XLSX parsing slower in Delphi, and how HotXLS cut heap allocations from 20 to 9.1 per cell to reach a 1.90x parallel speedup
HotXLS exports spreadsheets to archival PDF/A from Delphi with an embedded sRGB output intent, pdfaid metadata and the font rules an archive validator checks
The BIFF PivotCache substream frames SXDB, SXDBB and SXFDB by body layout rather than record number, and HotXLS latches the dialect from the first record
Set Excel pivot Show Values As modes from Delphi with HotXLS: rank, running total, percent of parent, the x14 pivotShowAs extension and refresh-safe files
Sort Excel pivot items by a measure in Delphi with HotXLS: how autoSortScope stores the Values field as 4294967294, tie-breaking and collapsed members
Build XLSX pivot tables in Delphi with HotXLS: AddPivotTable, calculated items and fields, showDataAs value displays, date grouping, and in-process refresh
How Excel precision as displayed rounds stored values by format section, percent signs and scaling commas, and how HotXLS matches Excel 16 in Delphi
HotXLS preserves the original ChartML of an imported Excel chart while you edit titles, series and axes in Delphi, and builds combination charts with two axes
Protect worksheets, keep input ranges editable, and control print layout in Delphi with HotXLS: Locked flags, page setup, scaling, and header codes
HotXLS unifies XLS, XLSX, ODS and CSV streaming reads behind one pull row cursor in Delphi: explicit state machine, idempotent Cancel and borrowed row views
Compile R1C1 formulas in Delphi with HotXLS: GetCompiledFormulaR1C1 resolves R2C3, R[-1]C[2] and RC per cell, so one relative formula fills a column
HotXLS evaluates Excel 365 REGEXTEST, REGEXEXTRACT and REGEXREPLACE offline in Delphi with static UTF-16 PCRE2, array broadcasting and ReDoS step budgets
How HotXLS keeps large Delphi workbooks small in memory: 256-row cell blocks, interval style overlays that never materialise empty cells, and streamed saves
Read worksheet names from XLS, XLSX, and ODS files in Delphi without loading cell data: HotXLS GetSheetNames, encrypted-file detection, intake triage
Create Excel sparklines in Delphi with HotXLS: line, column and win/loss groups, ARGB colour slots, and the x14 extLst block Excel 2010 and later render
Excel's NORM, CHISQ and BETA functions hide real numerical analysis. See how HotXLS computes them with regularised gamma and beta in Delphi, and one Log bug
A million-row XLSX need not fit in memory. See how HotXLS scans worksheet parts with a no-DOM streaming reader at near-constant memory in Delphi
Generating a giant XLSX should not grow with row count. See how HotXLS streams OOXML with inline strings and no shared-string table in Delphi
Keep large XLSX exports inside memory limits with HotXLS StreamingWrite, row-level write callbacks, style pool reuse, and per-thread batch workbook jobs
HotXLS writes ISO/IEC 29500 Strict workbooks from Delphi, translating every package part to purl vocabularies and refusing the features Strict forbids
HotXLS replaces boolean Save and Open results with structured diagnostics: stable error codes, severity levels, and sheet context for Delphi apps
Evaluate Table[Column] structured references in Delphi with HotXLS: item specifiers, column spans, verbatim round-trip and the unsupported current-row form
How HotXLS makes SUBTOTAL 109 and AGGREGATE skip hidden and filtered rows in Delphi, with a row-hidden callback gate and a central arity check in the dispatcher
A table slicer cache names its table by a bare tableId, so copied bytes break once tables renumber. HotXLS rebuilds it in Delphi and keeps rIds consistent
How HotXLS turns worksheet pictures carrying alternative text into independent PDF Figure structure elements, and why one MCID allocator per page is mandatory
Fill Excel report templates from Delphi with HotXLS: locate placeholders with FindText, clone detail rows, insert rows safely, and recalculate before saving
Write Excel 365 threaded comments from Delphi with HotXLS: AddThreadedComment reply chains, the threadedComments and person parts, and legacy note differences
HotXLS subsets embedded PDF fonts via the Windows fontsub.dll CreateFontPackage API, keeping only the glyphs a Delphi worksheet export actually used
Non-ASCII text can collapse to question marks across RTF, HTML, CSV and ZIP exports. See how HotXLS keeps Unicode intact on every export path in Delphi
HotXLS denies CALL, REGISTER.ID, WEBSERVICE, DDE and 16 other formula names before argument evaluation, so a preserved formula never runs Delphi host callbacks
How HotXLS preserves VBA projects and external links when Delphi code edits XLS and XLSX workbooks: macro-enabled saves, link targets, and round-trip limits
HotXLS lets Delphi developers rewrite VBA module source code and recompress it with the MS-OVBA algorithm, then write the macros back into XLS or XLSM files
Audit unknown Excel files from Delphi with HotXLS: count charts, formulas, macros, and protection, then convert XLS, XLSX, and ODS with known fidelity limits
HotXLS compares two workbooks from Delphi and reports sheet, cell, formula and merge differences as a structured list and a readable report, no Excel
Set and read Excel document properties from Delphi with HotXLS: title, author, company, and keywords across BIFF SummaryInformation and OOXML docProps parts
How HotXLS coordinates workbook reads and writes in Delphi using O(1) read leases, fail-fast write guards, reentrant transactions and a generation counter
HotXLS renders Excel worksheets to paginated PDF in Delphi and C++Builder with SaveAsPDF and no Office: fills, borders, fonts, embedded fonts for Unicode text
How HotXLS evaluates XLOOKUP and XMATCH in Delphi: legal match and search modes, O(log n) binary descent, duplicate key edges, and why wildcards get rejected
HotXLS saves classic XLS files cache first, writing loaded formula values instead of recalculating, and keeps the cached value of BIFF shared formula root cells
How HotXLS opens and saves Excel XLSB binary workbooks from Delphi, what the validated subset covers, and why default fonts and built-in formats matter
Why HotXLS writes XLSX numbers with 17 significant digits and corrects RTL parsing on read, so each Delphi double survives an Excel save and reopen bit for bit
Write AES-encrypted XLSX files from Delphi with HotXLS SaveAsEncrypted: ECMA-376 Standard Encryption, password handling, and the write-only decryption limit
How HotXLS saves #SPILL! and #CALC! caches Excel reads: lowercase rich value GUID, fileVersion 7, calcId 191029, the RD calc feature and t=str array text
Why hardcoding xl/worksheets/sheet1.xml breaks valid XLSX files, and how HotXLS resolves OPC relationship targets against the source part in Delphi
How HotXLS writes XLSX pivot fields that pass the ECMA-376 schema from Delphi: ST_Axis tokens, dataField flags, non-empty items, subtotal items and numFmtId
How HotXLS expands XLSX shared formula followers in Delphi: find the si master, shift relative references, and survive self-closing f elements
Set per-action XLSX sheet protection in Delphi with HotXLS: 15 AllowOption permission bits, the OOXML omit-equals-allow rule, and round-trip-safe parsing
Clone a styled XLSX worksheet in Delphi with HotXLS Duplicate and CopyFrom: what deep-copies, what stays shallow, and how to rebuild charts on the copy
How HotXLS validates the ZIP end of central directory record with four cross checks so a forged EOCD hidden in a ZIP comment cannot fool your Delphi parser
How HotXLS inflates many XLSX worksheets concurrently from one shared ZIP package stream in Delphi using a read gate that locks only the seek and read pair
HotXLS worksheet CRC32 checksums can overflow a 1 MB worker thread stack when zlib-ng selects its Chorba path; feeding data in 64 KB chunks avoids the crash