Excel library for RAD Studio

Read, write, style, and export Excel workbooks without Office automation

HotXLS is a native Object Pascal library for Delphi and C++Builder applications. It handles classic XLS workflows and the current XLSX facade directly, with workbook APIs, worksheet editing, rich formatting, export helpers, demos and offline documentation all included in the package

Workbook snapshot XLS + XLSX
Values
Styles
Export
Numbers
Borders
CSV
Dates
Theme colours
HTML
Formulas
Validation
RTF
Editions

Single, Small Business and Enterprise editions

The editions build upon one another and ship both as full-source installers (HotXLS-STD, HotXLS-SME, HotXLS-ENT) and as precompiled DCU binary installers (HotXLS-DCU-STD, HotXLS-DCU-SME, HotXLS-DCU-ENT); Single holds the complete core library, Small Business adds the HotXLSSB add-on package, and Enterprise carries every Small Business feature plus the HotXLSEnterprise add-on package; the binary-only HotXLS-TRIAL build includes both add-ons subject to the usual trial restrictions

Single edition (HotXLS / HotXLSLaz)

Small Business edition (HotXLSSB / HotXLSLazSB)

Enterprise edition (HotXLSEnterprise / HotXLSLazEnterprise)

RAD Studio projects add the HotXLSSB package alongside the core HotXLS package for Small Business, plus the HotXLSEnterprise package for Enterprise; Lazarus projects add Lib/FPC/HotXLSLazSB.lpk and, for Enterprise, Lib/FPC/HotXLSLazEnterprise.lpk. Statically linked C++Builder applications call XlsEnableSmallBusiness(), XlsEnableDirectStreaming(), XlsEnablePdfCompliance(), XlsEnableXlsxSigning(), or XlsEnableQueryProviders() as needed. Code calling a member of a higher edition raises EXLSSmallBusinessRequired or EXLSEnterpriseRequired; both classes are raised through their CreateFeature(AFeature, AUnit) constructors, expose the blocked feature name through Feature, and name the add-on unit that installs the feature through EnterpriseUnit (for EXLSSmallBusinessRequired it is the Small Business unit)

Current capability snapshot

The current HotXLS line combines the original XLS facade with a dedicated XLSX engine, so legacy code can carry on using the classic API whilst new projects target OOXML features directly

Native workbook I/O

Create, open, modify and save Excel workbooks directly from Delphi or C++Builder code; no Microsoft Excel installation, COM automation or external spreadsheet process is required

Save macro-free XLTX templates with SaveAs(FileName, xlsxOpenXMLTemplate) or the matching stream overload, including streaming output; the default save format is left unchanged

Classic XLS facade

A mature API for Excel 97-2003 (.xls) workbooks, covering the complete classic object model with high-fidelity BIFF8 round-trip, plus reading of legacy Excel 2.0/3.0/4.0 (BIFF2-4) files for their values

  • Indexed formula-output intervals spare repeated scans of preceding rows whilst large dependency graphs are rebuilt, including references to array outputs and dependencies spanning worksheets
  • Classic XLS saving preserves loaded or calculated formula caches, including shared and array formula roots; missing caches retain the calculation fallback, whilst explicit Recalculate refreshes existing values
  • Scalar defined-name references intersect single-row or single-column ranges at the formula cell, whilst aggregate and lookup range arguments retain full ranges; a replaced formula updates its dependency node in place and an added or removed one is absorbed the same way, so neither editing nor adding a formula rebuilds the graph of the whole workbook, and the ranges an edit replaces are dropped instead of being carried into every later pass — a hundred-thousand-formula sheet rebuilds its graph in about 20 ms whether one formula or all of them were rewritten, and a cell address is built in one allocation from a table of all 16,384 column labels, with a GEOMEAN that holds the digits of a single value, of equal values and of magnitudes that cancel, half/full-width text conversion through ASC and DBCS, AllowExternalDataFunctions letting a host decide whether WEBSERVICE, RTD and DDE may be attempted whilst the dangerous callback list stays closed, and a compatibility quartet other products rely on — SPLIT, COUNTUNIQUE, ARRAY_CONSTRAIN and ARRAYFORMULA — and CalcPrecision able to store calculated numbers at the application’s fifteen significant digits instead of every bit of the double, and a sheet that mixes spilled text with spilled numbers reopening intact, whilst the pass that merges repeated cell styles returns immediately when no style has been added since it last ran, and a formatted string repeated across cells is matched by a fingerprint of its runs, so its key text is built once per distinct string rather than once per cell, where rewriting four in ten used to cost two seconds, and a removed formula retires its node and leaves nothing behind, whilst asking the graph which formulas read a cell answers from the same row-ordered index with a maximum-row tree, so five thousand questions over a hundred thousand formulas cost 11 ms; recalculation avoids false range cycles, prioritises finalised lookup caches, and preserves floating-point precision in mixed integer and floating-point arithmetic
  • Calculated scalar and array cell results project blanks to numeric zero whilst preserving empty text, typed errors, array bounds and the original blank identity of source cells and intermediate operands; detached evaluation keeps blank values by default and offers explicit zero projection through ProjectBlankResults
  • XLSX round trips retain dynamic print-area formulas, qualified range unions, and the required zero-valued phonetic font index; generated and preserved parts share unique content-type declarations, whilst custom properties and opaque root relationships retain distinct relationship IDs
  • Classic XLS keeps absent imported margin records until the corresponding margin is explicitly set, without altering default margin output for new workbooks
  • AGGREGATE handles uncached errors and nested selection independently, with separate reference and computed-array semantics for options 0 to 7
  • XLSX round trips retain unmodified chart XML and chart anchor offsets, conditional-format font names, sizes, schemes, explicit style flags and RGB colours, and an unspecified page orientation when only margins are set
  • XLSX date cells keep implicit date formatting after reopening and saving with linked named styles, whilst explicit date and General formats hold their precedence
  • Portable cell rendering covers Normal-font indentation, contextual reading direction, rotated and stacked text, diagonal borders, additional border patterns, accounting underlines, strikeout and superscript/subscript using explicit geometry, and lays out number format repeat characters (*x, as in accounting formats) across the cell width the way Excel does
  • Explicit Strict OOXML Timeline conversion preserves supported whole-day selections as standard Pivot date criteria, reports UI/cache loss and keeps the original Timeline graph protected
  • Header/footer pictures can take explicit source/recipient DPI and Normal-font digit/line metrics, with optional pixel quantisation after document scaling and unchanged point geometry by default
  • Portable cell output covers bounded Fill repetition, Justify/Distributed spacing, CenterContinuous text frames, vertical Justify/Distributed and native last-line automatic indentation, with immutable alignment snapshots
  • Supported local Pivot/Timeline timestamp output uses detached native second-level projection, explicit precision-loss reporting and checked-save rejection whilst keeping the original source dates and stored selections
  • Explicit recipient header/footer image mapping also captures marker-font segment spacing, keeping default point geometry and source text whilst respecting paragraph, line and clipping boundaries
  • Portable capture and Cairo output cover seventeen ordinary two-colour cell patterns, including blank cells, bounded tiles, configurable pattern resolution and versioned snapshot persistence
  • Portable capture and Cairo output draw in-cell sparklines (line, column and win/loss) from their stored source values, respecting the series and negative colours, the marker and high/low/first/last point options, group or custom axis bounds, empty-cell handling and right-to-left, whilst still refusing a date-axis or otherwise unresolvable sparkline
  • Packed XLSX cell reads traverse mixed styled runs without skipping or inventing cells and hand back typed errors consistently across snapshots, cursors, content capture and materialisation
  • Sparse icon overrides keep their intended positions across XLSX saves, and validation storage-mode edits follow workbook read leases and mutation tracking
  • Ordered XLSX row and column formatting survives saving within the bounded compensation policy; the fictitious 1900 leap day keeps its original numeric serial and date format
  • XLSX font-family retention leaves unspecified classifications unset and keeps explicit classifications across buffered and streaming save/reopen
  • Encoded and packed XLSX styles keep referenced pools, linked named parents and represented built-in formats through saving; range formatting leaves packed values unmaterialised, whilst resolved-style overloads carry built-in number formats separately for supported rendering and XLS/ODS conversion
  • Stored XLSX cell styles keep the complete default style when the style index is omitted, override row and column defaults consistently and hold empty cells with a named-style parent across file and stream roundtrips
  • Ordinary XLSX gradient fills keep standard stop positions during import and saving, with compatibility for earlier generated stop attributes
  • Automatic gradient colours retain the required colour nodes in XLSX and Strict output; worksheet phonetic settings hold their font references valid when unused fonts are removed, and represented source theme-version metadata survives XML saving
  • Fixed numeric Pivot date filters keep calendar meaning across both Excel date systems, including supported imported operand edits, target-epoch changes and explicit native materialisation
  • Portable modern cell output covers ordinary linear and rectangular-path gradients, detached stop ownership, bounded capture and shaders, duplicate-stop discontinuities and versioned persistence
  • Native portable PDF, SVG and PNG output uses bounded temporary-file staging and16 KiB destination copies, keeping output-byte limits and destination failure contracts
  • Portable headers and footers cover explicit recipient font metrics and detached logical advances for multiline text, mixed pictures and measured footer placement
  • Modern portable conditional capture covers bounded two/three-stop colour scales, stable threshold formulas and relative-expression font overrides from stored values and valid formula caches
  • Differential conditional strikethrough decodes and authors the explicit strike presence and value through Classic and XLSX round trips, portable capture, print and PDF application, where an explicit strike-off clears a struck base font and native Excel applies both directions
  • Classic stable conditional expressions evaluate represented local-reference formulas and cell-value bounds with stored scalar caches, correct multi-area relative anchors and explicit resource limits, keeping source state intact during read-only portable capture
  • Classic conditional gradient writing creates, edits and clears represented CFEX and cell-value CF12 gradients, keeping native bridge identities, imported font/border bytes and checked source/target ownership
  • Classic gradient cell bases author, read back, edit, clear and re-export ordinary linear/path gradient fills through native XFExt FillGradient extensions alongside legacy solid approximations, palette planning and conditional scalar composition
  • Portable conditional gradients cover modern linear/path DXF authoring and exact stop/tint roundtrips, blank-cell expression rules, bounded fill priority and vector PDF output; qualified imported Classic CFEX gradients keep their binary representation, with represented new/changed Classic gradient writing in the profile above and further advanced contexts still under way
  • Portable conditional patterns keep all seventeen pattern families, partial foreground/background inheritance, blank-cell display and represented Classic CFEX colours, priorities and stop behaviour through capture, copy and save
  • Portable duplicate text criteria keep wildcard equality/inequality, explicit empty strings and qualified ASCII relation ordering with bounded text populations and unchanged source values
  • Standard-deviation conditional boundaries take in exact native thresholds for direct evaluation and portable appearance whilst keeping the ordinary average comparison rules
  • Signed OPC publication and Workbook Save writes newly signed or explicitly re-signed packages to streams and files, saves the actual mutable Workbook without replacing live objects, and draws a line between verified preparation and committed publication with explicit destination recovery
  • Verified OPC editing and re-signing applies explicit create/replace/remove plans to an authorised signed original, audits direct and indirect content-type effects, mends declared ordinary dependencies, and publishes only the final verified signature
  • Verified OPC signature replacement ties replacement to the actual old package, certificate and signature location, keeps ordinary content, and publishes only a newly signed and fully verified package through a caller-owned signer
  • Explicit OPC signature issuing builds a verified RSA-SHA256 package from a typed selection and a caller-owned signing callback, with transactional byte-array output, independent selected coverage and explicit native interoperability boundaries
  • Explicit multiple-signature OPC verification discovers an unverified bounded inventory, verifies a caller-selected attached signature or hands back individual results for every signature, and applies caller-owned trust to the actual verified selection whilst keeping the original no-selector and Workbook lifecycle profiles explicit
  • Preserve-all OPC signature append adds one caller-owned RSA-SHA256 signature to an admitted signed package, verifies every old signature before and after shared-infrastructure staging, keeps old signature bytes and coverage, publishes only once final verification and ownership audits succeed, and takes verified original signature parts as counter-signature selections with consecutive chains and mixed signature/content coverage
  • Signed ordinary-content edits with selected replacement change explicitly listed existing parts, authenticate every edit inside the replacement signature, keep unselected signatures through actual staged and final verification, and audit exact authorised part bytes before publication
  • Authorised multi-signature selected replacement binds the original package, explicit signature part and original certificate to the caller-owned replacement, keeps all unselected signatures and unchanged parts, and checks actual cross-signature interference before invoking the signer
  • Explicit selected-signature trust combines actual OPC verification with caller-owned anchors, UTC time, EKU and revocation policy on Windows, handing back precise authenticated coverage and certificate/package identities
  • Verified workbook load rollback holds the old owned model and signature binding on represented parser, baseline, read-callback and cancellation failures, keeping existing model references and public configuration facades until a successful replacement
  • Combined Cartesian axis roles cover finite primary/secondary vertical, horizontal and numeric combinations with multiple series, actual crossing baselines, reciprocal axis ownership and stable saved layering
  • Primary Column and secondary Scatter capture a finite straight-line combination with separate category and numeric X domains, independent point counts, paired numeric axes, explicit limits and stable layering
  • Portable combined charts author, edit, save and reopen represented primary/secondary Column, Line and Area groups, multiple ordinary/stacked/percentage areas and concentric Doughnut rings, with independent axis domains and Auto marker shapes shared across the global series
  • Represented native Style 2 chart projection keeps source ChartML through public edit/save/reopen and portable capture for qualified combined, multi-series Area and concentric Doughnut inputs, with typed crossings, text defaults, outline visibility and independently checked automatic circular bounds
  • Independent trendline appearance covers represented RGB, point widths, visibility and hidden-style restoration through editing, copying, saving and portable capture, with explicit reset of unsupported stored line profiles
  • Editable Classic Top/Bottom rules keep complete Word ranks, direction and percentage through save/reopen and cross-workbook copying, with dynamic population formulas, mixed cell-value formatting and represented gradients
  • Classic relative-date conditional formatting writes all ten periods with relative Boolean formulas, reads variable-size CFEX formatting and captures both date systems without shifting already normalised dates twice
  • Classic embedded chart frames keep the requested cell rectangle when a newly authored chart is saved, with actual native rendering and preserved explicit dimension edits
  • Classic native linear trendline authoring covers qualified public Line/Scatter declarations, multiple parent series, typed-model reconstruction and independent intercept or forecast values with display labels switched off
  • Native Classic linear trend curves attach auxiliary trendlines to their actual data series and project qualified Line/Scatter geometry from the current worksheet values, with explicit plot declarations and save/reopen that keeps the raw bytes
  • Portable cached Line and Scatter trendlines draw six regression and moving-average families with represented fixed intercepts, forecasts in axis units, adaptive curve geometry and plot clipping; represented stored OOXML trendlines keep types, names and regression settings through reading, editing and saving; arbitrary native appearance and rendered equation labels stay separate work
  • Shared computed trendline labels keep native-qualified category/Scatter inputs, fixed intercepts, blank-source indices, Moving Average and degenerate semantics, scientific notation and canonical semantic snapshot texts; rendered label layout remains separate
  • Portable relative-date appearance covers ten date periods, both workbook epochs and explicit per-view reference dates with native Sunday week boundaries
  • Bounded modern conditional icons draw all twenty represented families, inclusive/exclusive thresholds, reverse ordering, icon-only values and imported custom/hidden icon criteria as clipped vectors, with minimal-version snapshot compatibility
  • Bounded modern data bars draw supported standard and rich bars with signed thresholds, custom lengths, axes, direction, negative colours, borders and hidden values; typed rich-bar persistence covers guarded edits and linked Transitional output with explicit rejection of unsupported identities
  • Portable line/scatter charts draw explicit Circle, Dash, Diamond, Dot, Plus, Square, Star, Triangle and X markers in plot points and legend samples, taking in declared Classic source markers
  • Portable combined charts keep explicit circle and square plot markers on the device-pixel grid when the chart has no legend, so their fills, centres and outlines match Excel vector exports
  • Portable combined charts also render explicit diamond and triangle plot markers on the device-pixel grid. Their sizes and centres follow the symbol-specific native phase, so fills, centres and outlines match Excel vector exports at the qualified sizes whilst circle and square scenes stay unchanged
  • Dot markers are centred on their data point in portable line, scatter and combined charts, matching the other marker shapes; their size is unchanged. Explicit diamond and triangle markers are qualified against Excel vector exports at 3, 4, 7, 12 and 20 pt
  • Portable combined charts render plus, X, and star markers with a filled square and foreground strokes, including keys in supported annotated legends
  • Supported annotated combined charts take in automatic overlay legends in all four directions. Automatic horizontal legends wrap and hold their marker keys aligned. At 120 DPI, top and bottom overlays with a complete manual rectangle also support wrapping and hold the last row aligned
  • Explicit dot and dash markers apply device-pixel alignment in portable combination charts and show up in supported annotated legends
  • Supported imported Pivot date filters can be added, cleared or replaced, keep actual open or closed bounds, and support explicit cache refresh and native materialisation
  • Qualified Strict output combines subsecond Pivot projection with explicit Timeline date-criteria conversion whilst keeping source dates and selection
  • Direct authored Timeline-to-Strict output preserves qualified ordinary date intersections and empty-member domains with no intermediate save/reopen, with independent imported relationship checks and cumulative resource accounting
  • Three-level Timeline-to-Strict output preserves qualified typed and native-retained tabular SUM member domains, original date selections and full report bodies whilst explicitly removing Timeline UI and retiring its verified helpers
  • Retained Timeline multilevel domains expand real cached descendants under missing ShowAll parents in the qualified three-row tabular SUM layout, keeping date selection, child visibility, empty intersections and existing output budgets
  • Timeline member domains and Strict intersections keep qualified last-level ShowAll members and empty results, explicit Pivot item captions and exact ordinary-date/Timeline intersections through native refresh and repeated Strict output
  • Multidimensional retained Timeline intersections preserve qualified two-axis layouts with other-axis ShowAll disabled and recover verified native default column captions across refresh and save/reopen cycles
  • Same-field Pivot date conjunctions combine supported ordinary conditions with explicit Strict Timeline conversion, keeping original condition identities and detached saved report bodies
  • Strict Pivot core reopen covers qualified Strict or Transitional re-save in either date system, with literal-preserving standard namespace conversion and transactional unsupported-graph refusal
  • Portable modern cached charts draw represented data labels with complete text, numeric formats, explicit or default placements and bounded read-only font measurement
  • Portable explicit calendar axes keep 1900/1904 epochs and month/year spacing; positive logarithmic Line/Scatter axes share bounded transforms across series, ticks and labels, whilst label metric envelopes keep complete short and long text
  • Portable Column and Bar negative fills keep represented inversion and explicit RGB colours; automatic Bar plots measure complete category gutters, and ordinary local absolute or mixed A1 references capture without their cached output changing
  • XLSX negative fills keep inversion and inactive RGB colours independent through saving, reopening and worksheet copying; existing standard theme-colour extensions stay with their original series
  • Full object model: workbook, worksheet, range, formula, formatting, image, hyperlink, defined name, protection, page setup and report export, with imported numeric/date classification drawn from the actual source number format; workbook file-sharing settings are modelled too, covering the read-only recommendation, the reserving user name, and a write-reservation password stored with the SHA-512 salted derivation Excel uses, and an imported file-sharing element keeps its shared-workbook identifier, unrecognised attributes and a non-SHA-512 reservation through saving; worksheets also carry their page-layout ruler and white-space switches, tables carry their row-insertion markers, and worksheet third-party metadata and web-publish item lists are preserved verbatim in their schema position
  • Classic column metadata exposes outline collapse markers independently of hidden state and grouping level, preserving them through raw XLS round trips, column-format copies and worksheet copies
  • Existing Classic header and footer pictures come through same-workbook loading, ordinary edits and repeated saves intact, keeping their native image-resource data and physical continuation boundaries; direct Classic TXLSWorksheets.AddCopy shares retained picture sources within the workbook so copies can survive original-sheet deletion, whilst unsupported cross-workbook Classic copies refuse before the destination is created; the typed XLSX header and footer image API has its separate media-copy and ownership behaviour
  • Copying a Classic worksheet carries the preserved header and footer block along with it, so the even-page and first-page text and the scale-with-document and align-with-margins options travel to the copy instead of disappearing behind the typed odd-page fields
  • Classic percentage print scaling stays in force whenever a workbook keeps inactive fit-width and fit-height values; IsFitToPages reports the selected mode in step with Zoom, reopening included, and retains cached fit dimensions for later reuse
  • Classic page setup exposes HasSetupRecord and PrinterSettingsInitialized, preserves an untouched BIFF Setup record byte for byte, keeps an absent record absent, and initialises printer-dependent fields only when their setters require it
  • Zoomed Page Layout chart geometry treats the saved worksheet scale as an owned device-pixel grid, so 125% Page Layout automatic layout clears independent native Excel comparison; 75% stays retained
  • Active zoom for every Classic view comes through XLSX-to-XLS conversion for Page Layout, Normal and Page Break Preview, with native-matched view records at six qualified zoom and view combinations
  • Page Layout view state from OOXML comes through XLSX-to-XLS conversion with its own PLV record, worksheet scale and cached Normal zoom, reopening at the qualified 100%, 75% and 125% views
  • Classic Page Layout view zoom comes through XLS-to-XLSX conversion as separate active, Normal and Page Layout scale owners, matching native Excel sheetView attributes at 100%, 75% and 125%
  • XLS-to-XLSX and XLSX-to-XLS conversion carries typed page setup and opaque printer-driver bytes independently, keeps standard fields authoritative over duplicate private defaults, and rejects unrepresentable BIFF8 settings before the destination is written
  • Classic XLS and XLSX workbooks expose matching SaveExternalLinkValues and UpdateLinks policies; cached external-workbook values can be omitted without deleting link definitions or in-memory caches, invalid untouched source declarations remain lossless, cross-format conversion keeps legal policy values, and update preferences never start file or network access by themselves
  • XLSX workbooks expose exact Web Add-in task pane detection, counting, and atomic removal; the removal validates bounded internal relationship closures before mutation, preserves any part shared by another relationship, deletes owned relationship parts and stale content-type entries, prevents compressed source-copy resurrection, and remains idempotent, whilst Classic XLS and ODS report the operation as unsupported without package scanning
  • Classic XLS and XLSX worksheets expose matching pane-aware selection and one-based scroll methods through TXLSPanePosition; TryGetWindowScroll and ScrollWindow map the shared upper, lower, left, and right axes to each format's native two-level view state, preserve them through save, open, and worksheet copy, and reject missing panes or invalid coordinates atomically; selection snapshots remain ordered, overlapping, and caller-owned, whole-row or whole-column structural edits remap every pane whilst preserving active-area identity with deterministic survivor and boundary-cell fallbacks, and large area operations remain amortised linear; Classic XLS additionally aggregates consecutive selection records, preserves untouched or invalid record bodies, reports malformed groups through xlsDiagnosticSelectionRecordInvalid, and chunks selections larger than 1369 areas
  • The engine-neutral lxOutline unit builds row or column outline geometry from sorted sparse spans and locates summary-before or summary-after nodes in O(log n + k) time, and creates compressed idempotent plans for node collapse, display-level changes, nested-child preservation, and recursive child-state updates without scanning unused worksheet coordinates; both worksheet engines expose the same node query and control methods, whilst OpenDocument groups retain native display state and convert to XLSX summary-node markers
  • Classic XLS and XLSX workbooks expose the same side-effect-free ResolveIndexedColor contract for public colour indexes, BIFF icv values, and OOXML indexed colours; palette, automatic, system, and invalid tokens remain distinct, border index zero keeps its unspecified meaning, ARGB output is normalised, and operating-system colours are resolved only through an explicit caller callback
  • Both workbook engines expose a side-effect-free NearestIndexedColor query backed by a mutation-aware OKLab cache; it searches only the 56 physical BIFF palette entries, hands back public and physical indexes with distance and exact-match metadata, refuses partial alpha, and settles equal-distance ties on the lowest public index
  • Both workbook engines expose a deterministic, side-effect-free ScanIndexedColorUsage inventory for all 56 physical palette slots, including normalised ARGB values, definition and reference counts, consumer kinds, and preservation locks across styles, sparse cells, worksheet objects, charts, comments, and conditional formats without materialising unused cells
  • Both workbook engines expose a mutation-free BuildBiffPalettePlan preview that protects indexed consumers, aggregates direct and resolved theme colours by rendered frequency, preserves existing exact matches, maps colours deterministically through OKLab, and reports source identity, slot changes, exact coverage, weighted error, and overflow quantisation without changing the workbook or save behaviour
  • Both workbook engines can validate a current 56-slot plan and apply it atomically through ApplyBiffPalettePlan, rejecting stale or tampered input before any mutation and rebuilding the perceptual matcher once; Classic workbooks additionally expose an explicit BiffPaletteSavePolicy whose default preserves historical output, whose optimisation mode applies only to BIFF8, and whose failed or cancelled saves restore the original palette
  • Both workbook engines expose a validated TXLSRenderCalibration value with width, height, multi-line spacing, cell-margin, screen-scaling, and measurement-DPI controls; assignment is atomic, capture returns an independent operation snapshot, defaults are deterministic, and the runtime setting is never serialised or used to resize worksheet geometry by itself
  • Both workbook engines create operation-owned IXLSRenderGeometry services whose immutable calibration, workbook generation, backend, full font signature, wrap width, and text form a bounded local metric-cache identity; shared GDI measurement and pixel, point, column-width, MDW, and usable-cell-width conversions eliminate AutoFit process-global DPI and base-width caches whilst keeping screen scaling out of output-coordinate scaling
  • Default-hidden XLSX rows keep explicit visible overrides, existing row visibility when the default changes, source-free worksheet copies and structural edits; clearing hidden rows brings back a visible default without discarding stored empty rows
  • Optional Windows source-owned single-line cell metrics surface transported em/descent components and separately named producer-owned layout observations under finite locale, DPI and identity-calibration prerequisites, with forced complete source-range ownership across split shaping runs, pure per-call bounds and explicit unavailability
  • Optional Windows physical-font capabilities offer bounded nominal glyph-coverage checks and shaped single-line metric maxima with explicit locale ownership, without prescribing worksheet row heights or application fallback policy
  • Classic XLS and XLSX AutoFit capture one render-geometry snapshot per operation and apply calibrated font measurement, wrapping, line spacing and cell margins; pagination captures the same workbook-local geometry per build, so default page sizes remain stable, later calibration changes require an explicit rebuild, and page calculation never writes stored row heights or column widths
  • PDF, SVG, bitmap, print-preview and workbook-viewer pagination each identify their own render backend and retain an immutable workbook calibration for the complete operation; shared page text fitting and SVG wrapping use the operation-local bounded metric cache with complete font styles and charset identity instead of process-global measurement objects
  • TDataToXLS dataset exports can include just the selected fields or exclude sensitive ones whilst keeping headers, data rows, callbacks and column widths aligned
  • Automatic XLSX dynamic arrays resize and own their spill cells, respect user obstructions with #SPILL!, support A1# and unary @, and recover ownership when reopened; fixed CSE formulas evaluate raw range arithmetic element by element
  • Multiple-array MAP and computed-array FILTER preserve per-element errors, whilst XLSX rich-value metadata retains typed #SPILL! and #CALC! errors; every modern error literal round-trips as itself, so #FIELD!, #CONNECT!, #BLOCKED!, #UNKNOWN!, #GETTING_DATA, #BUSY!, #PYTHON!, #DATA! and #WIP! come through saving and reopening in cell values, formulas, array constants, displayed text, Pivot group members and formula-step traces, and a binary-workbook save names any of them that the binary format cannot store instead of writing a different error
  • GetConversionReport inventories known target-format losses without mutation, and opt-in SaveAsChecked can reject them before writing; explicit xlsxOpenXMLMacroEnabledTemplate output creates XLTM packages and preserves existing VBA
  • Loaded OPC package signature-origin declarations show up as dropped DigitalSignatures in conversion reports for every output target; strict checked saving rejects them before file or stream destinations change, independently of unknown-part preservation, whilst that conversion report does not itself verify signatures
  • Modern XML workbook conversion reports preserve declared VBA signatures for unchanged supported content and report their explicit removal after supported VBA edits; no-loss checked saves protect file bytes and stream position, whilst unsupported edited profiles reject even when loss is permitted
  • Bounded OPC package signature integrity verifies the supported RSA-SHA256 signature and selected typed part References straight from supplied ZIP bytes, with strict package identity, CRC and DEFLATE completion checks; every result stays explicitly untrusted, whilst an owned verified snapshot can explicitly copy its original bytes to a caller stream or transactional file destination; bounded legacy VBA verification checks Windows CMS mathematics and normalised content binding, with output-local signed-edit handling; explicit existing-part package edits keep verified signatures outside their selected coverage or invalidate them by caller policy, with transactional output failure; explicit verified-workbook loading and saving preserve qualified actual model edits, including represented Table/worksheet and shared-string dependency additions/removals, or invalidate selected changes by caller policy; explicit Stream/File publication and Workbook signed Save/re-signing use caller-owned keys, and selected-signature trust has a separate caller-owned policy; automatic save-policy integration, additional profiles and the remaining trust/platform qualification stay open
  • Caller-supplied TXLSQueryTableProvider implementations refresh fixed-schema query-table data transactionally, resizing table and filter ranges with bounded results, progress, cancellation and rollback
  • Automatic database queries bind bounded positional parameters from explicitly typed literals or stored worksheet cells, including Unicode, empty text, dates, nulls and available formula caches; Jet and ACE preserve typed dates without locale-dependent timestamp conversion, and refresh applies the results transactionally
  • Automatic Text queries refresh delimited or fixed-width files with explicit decoding, typed fields, skipped columns, configured header and starting rows, and bounded transactional updates; fixed-width positions use decoded UTF-16 code units, trim padding and keep declared columns on short records
  • Import validation checks strict scalar types, numeric and date bounds, composite uniqueness and cross-column relationships against stored values and formula caches, with structured cell-addressed violations plus explicit annotation or correction-workbook operations
  • CELL reads the actual referenced file identity, supported base number formats, alignment, locked state and column width across XLS and XLSX; INFO("recalc") reads the workbook calculation mode, whilst unavailable Excel application environment information returns an explicit error
  • Repeated report bands clone complete threaded conversations with remapped identities, and shared native pagination renders merged cell spans whilst chart caches refresh from supported local ranges after edits and recalculation; a band can also write a live formula over one copy’s own range through {{$enumrowstart}}, {{$enumrowend}}, {{$enumcolstart}} and {{$enumcolend}}, which map to that copy’s first and last row or column and are never read as data columns
  • Built-in formula calculation with process-wide and workbook-local user-function registries, local-name override semantics and lock-free handler invocation, plus OnUserFunction and OnUserFunctionEx callbacks, plus common Excel text, date, workday, engineering/base-conversion, bitwise, statistical, aggregate, math and dynamic-array functions including broadcast array operators with per-cell errors, complete multivariable LINEST / LOGEST matrices, shaped TREND / GROWTH predictions, stable row or column SORT, stable multi-key row or column SORTBY with independent directions and array keys, array-aware CEILING.MATH / FLOOR.MATH rounding with singleton broadcasting and local errors, stable array-aware COT / ACOT / COTH / ACOTH / CSC / CSCH / SEC / SECH evaluation with local errors and overflow-safe large-input branches plus overflow-checked COMBINA / PERMUTATIONA repetition calculations, memory-bounded MUNIT identity matrices, Unicode-scalar UNICHAR conversion and UNICODE code points, Thai currency text through BAHTTEXT, parenthesised currency text through USDOLLAR and YEN with 15-significant-digit decimal rounding, and euro conversion through EUROCONVERT at the irrevocably fixed rates, reference-preserving ISFORMULA inspection without target recalculation, hash-indexed row or column UNIQUE, spilled FREQUENCY results, logarithmic binary XMATCH / XLOOKUP, ISOMITTED optional-argument detection, ARRAYTOTEXT / VALUETOTEXT array conversion, validated XIRR / XNPV calculations, PDURATION / RRI investment timing and growth rates, and fractional-period VDB depreciation, pass-cached multi-condition SUMIFS / COUNTIFS / AVERAGEIFS / MAXIFS / MINIFS, range-aware AVEDEV / DEVSQ / GEOMEAN / HARMEAN / KURT / SKEW that pass over text, blanks and logical values inside a reference and surface an error cell instead of skipping it, plus complete LET bindings and LAMBDA closures callable through defined names and lexically captured inside LET
  • Engine-neutral EvaluateFormulaAt evaluates A1 or R1C1 formula text in an explicit worksheet cell context without mutating the cell model, cache, dirty state, active sheet, or dependency graph; typed results preserve formula errors, arrays, empty values, volatility, cancellation, external-reference authorisation, and stable failure categories, whilst IXLSFormulaEvaluationTemplate reuses an immutable compiled anchor across target cells under configurable formula-length, step, recursion and array-memory budgets
  • A cell carrying only a value takes 144 bytes instead of 224, so a million-value sheet opens with about 78 MB less memory, and the attachments a cell rarely has - an in-cell picture, an OOXML metadata index, a checkbox flag, a cube value, and an array or spill range - are allocated only for the cells that carry them, never for the whole grid; a value write still takes the same time; large preserved parts of an opened workbook stay in the file until something needs their bytes, so a workbook carrying a twenty-megabyte part opens without holding it in memory; retained printer settings are validated as a device mode before they are stored, including the 124-byte floor of a real public part, so a payload whose declared size or private driver area does not fit is refused instead of written; classic workbooks accept batched edits through BeginBatch and EndBatch, which fold the changed cells into a single dependency pass, and classic XLS and XLSX expose matching mutation-free ValidateFormulaEntry methods, workbook-level FormulaEntryPolicy, and parsed AuditFormulaSymbols scans across cells and defined names, with faster sparse Classic XLS scans and a single symbol pass that keeps independent function and name findings, scope, deduplication and finding order; exact empty input, formulas returning an empty string, unknown functions, unknown names, syntax failures, invalid targets, and target-format limitations remain distinct, normal formula assignment applies strict rejection or preservation atomically, preserved unknown symbols evaluate and propagate as #NAME?, UDF or defined-name changes invalidate stale dependencies, Classic BIFF stores preserved unknown calls as add-in user functions, validation recognises registered or callback user functions, lexical and defined-name lambdas, report placeholders, registered external links, and valid structured references without invoking handlers, and dangerous external or macro-style function callbacks remain blocked before argument evaluation unless explicitly authorised
  • Lossless formula-token inspection and guarded mutation across both workbook engines via TXLSFormulaTokenStream, ParseFormulaTokens, GetFormulaTokens, FormulaTokensToText, and SetFormulaTokens, with caller-owned streams, read-only token projections, raw BIFF payloads, independent reference flags, cloning, atomic reference replacement, context provenance and validation before writeback
  • One-variable row, one-variable column and two-variable What-If data tables with isolated dependency recalculation, deleted-input errors, structural edits, worksheet copies and BIFF8 round-trip support
  • Cell scanning, template find & replace, callback range filling and direct typed array writes through ForEachCell, FindText, ReplaceText, WriteCells, plus the numeric, string and variant row and column writer methods, together with whole-sheet or single-cell ConvertFormulasToValues that freezes formulas into their calculated results whilst keeping the cached value
  • Engine-neutral formula-cache inspection through IXLSFormulaCacheReader and each workbook engine's CreateFormulaCacheReader reports presence, loaded or calculated provenance, and blank, number, date-time, string, Boolean or error kind without evaluating formulas, invoking user functions, decompiling tokens or altering workbook state; lifetime leases invalidate readers safely after workbook destruction, shared-formula members keep independent caches, and XLSX and ODS preserve typed errors and explicit blank caches across reopen
  • Classic IXLSWorkbook.CreateReadOnlyView and XLSX IXLSXWorkbookOwner.CreateReadOnlyView create constant-time shared-model IXLSReadOnlyWorkbookView instances with view-local active sheets, by-value stored-cell snapshots, no writable object exposure, cached formula results by default, and opt-in formula text or isolated formula evaluation; concurrent views keep recursion state, scalar and array caches, and XLSX compiled formulas private, XLSX external evaluation reads only file-local link caches, packed cells remain unmaterialised, and every view holds a read lease that rejects model writes before mutation
  • From 2.384.51, TXLSReadOnlyCellSnapshot.SheetName is a readable and writable WideString property backed by shared UnicodeString storage, which reduces per-cell name allocation; ordinary read and assignment syntax is unchanged, but the raw field address and previous record layout are unsupported and callers must recompile
  • TXLSWorkbookWorkspace accepts revocable Classic XLS, XLSX, or ODS adapters from each engine's CreateWorkspaceWorkbook, preserves complete path or IRI identities, resolves external worksheets by name ahead of position, and evaluates external formulas through explicit live registrations, an optional caller-controlled once-per-identity loader, typed file caches and #REF!; concurrent load requests share one result, typed diagnostics expose failures and resource limits, compatibility registration methods remain available on both workbook facades, destroyed targets disconnect safely, and recalculation never implicitly opens a file or network resource
  • TXLSWorkbookWorkspace.BuildDependencyGraph extracts one cross-workbook formula graph from registered Classic XLS, XLSX, and ODS models, keeps full workbook and worksheet identities, preserves symbolic local and external defined names, resolves local names to their concrete dependencies when possible, and stores large rectangular ranges as compact intervals; row-interval trees accelerate edge construction and dependent lookup, and graph construction reads packed XLSX storage without materialising it
  • TXLSWorkbookWorkspace.Recalculate retains and incrementally dirties the shared dependency graph, schedules acyclic formula nodes in cross-workbook topological order, rejects true strongly connected formula cycles without rejecting harmless bidirectional workbook links, and shares a pass-local external-cell cache with explicit hit, miss, invalidation, and blocked-node diagnostics; same-workspace calls are serialised, removal during a pass returns a workspace-changed status through safe adapter snapshots, destruction waits for active calculation, and failed nodes remain dirty for explicit retry
  • CalculateAndVerify compares stored formula results with fresh non-volatile calculations and reports worksheet, cell, formula, expected-value and actual-value diagnostics without replacing the cache; RecalcAndVerifyEx adds the deep audit with an isolated dependency-graph result overlay, typed failure categories with bounded call stacks, progress cancellation and an opt-in atomic apply of the recomputed values
  • Deep-audit tolerances filter mismatch reports without suppressing fresh intermediate results: dependent formulas use the audited values, and an explicit apply refreshes changed caches even if no mismatch is reported; absolute and relative tolerances both apply to double-precision results
  • Classic XLS deep formula audits reserve traversal capacity and copy consecutive plain-double cached snapshots efficiently whilst preserving other Variant types and the isolated evaluation overlay
  • Classic recalculation uses a lazily built dependency graph, propagates dirty inputs only to transitive dependants, recomputes volatile formulas on every pass, evaluates acyclic formulas in dependency order, and applies strongly connected component iteration to circular references; when full precision is disabled, formula and What-If data-table caches are rounded to their effective displayed numeric precision before dependants consume them
  • Advanced worksheet filter execution covers literal display-value selections, date groups, Top/Bottom-n and percentage filters, relative-date and average filters, colours and conditional icons, with explicit resource budgets, stable date evaluation, cancellation and transactional visibility updates; table-style visual colours are left out to match native filtering, gradient fills stay distinct from solid colours and NoFill, rich-text font colours use bounded scalar snapshots and support conditional formatting with native-compatible equal-text and style decisions across row inspection, preview and application
  • Workbook print plans apply print areas, titles, page setup, breaks and fit scaling, formatted headers and footers with first/even-page variants and supported inline PNG/JPEG pictures, header/body/footer paint order, physical-page clipping, source-preserving residual-width mixed text/picture flow and calibrated Classic picture dimensions, gridlines and headings, typed print-error substitutions, monochrome/draft effects, source-font comment listings at the end of the worksheet and supported displayed comment boxes with source anchors, rich text and resolved theme/RGB tint or indexed colours, taking in newly authored XLS and XLSX notes with their respective default geometry, visibility and ordinary black shadow, and all of this without recalculation or source mutation
  • AutoFilter, list data validation, Excel tables with header-less layouts, per-table comments and custom-style names that keep literal Office escape-looking text, plus structured-reference formula evaluation (Table[Col], column spans, [#Data] / [#All] / [#Headers] / [#Totals]), conditional-format extensions (data bar with negative-value fill and border colours, colour scale, icon set) with sheet-unique priorities on save and PivotTable-scoped rules routed to the Excel 2010+ extension bucket, and chart sheets
  • Text boxes, OfficeArt drawings, relationship-driven typed pivot import, filtered and grouped multi-value materialisation, calculated fields, items and members, subtotals, grand totals, stable sorting, classic and extended ShowDataAs calculations, plus rich-text comments
  • Imported Pivot model edits save current style names, appearance flags and local named or rectangular cache sources whilst retaining cached records until explicit refresh
  • Transactional local Pivot cache refresh resolves rectangular, worksheet-scoped defined-name, and table sources at their current geometry, excludes physical table totals, keeps source identity through worksheet moves and renames, preserves existing field and member identities across source reorder, removal, and reintroduction, keeps shared-view selections stable, handles typed error values, and rejects unsupported schemas or new unmapped discrete-group members before changing the cache
  • Safe Pivot worksheet materialisation evaluates an isolated cache, rejects unsafe overlaps, preserves cell objects and formatting, and follows exact owned values across resizing, movement, and XLSX reopening
  • Typed non-OLAP Pivot Slicer selection inspects and changes imported shared-member selections, intersects connected-view filters, keeps independent restrictions on other fields, and rejects ambiguous or unsupported bindings before mutation
  • High-fidelity BIFF8 round-trip that preserves Excel-authored records, exact RGB and theme colours, custom views, and sharing / revision metadata
  • Password-protected workbooks via BIFF8 RC4 encryption, plus Agile-encrypted XLSX save and load with a verified data-integrity HMAC across the encrypted package, and classic write reservations (SetModifyPassword) carrying the recommended read-only flag, password hash, and reserving user name
  • Merged-cell AutoFit overloads can assign required row or column growth to the first member, the last member, or distribute it evenly across the merged span whilst preserving hidden state and honouring per-member bounds
  • Classic copied print areas and repeating row or column titles keep their destination worksheet binding through same-workbook and cross-workbook copies, source release and file or stream save/reopen
  • Cross-workbook worksheet copy (TXLSWorksheets.AddCopy) that clones cell values, formulas (recompiled against the destination's sheet names), formats with exact RGB / theme colours, merged cells, comments, hyperlinks, row and column layout, frozen panes, protection, page setup, tab colour, conditional formats, data validations, AutoFilter criteria, tables, embedded pictures, rich-text runs (with their fonts migrated by value), and chart sheets (with series references recompiled against the destination) into another workbook; formulas whose sheets are missing in the destination re-point at the source workbook as an external link when it has a file identity
  • Pivot Slicer copy selections keep cache-member identity when displayed items use another order, including supported same-workbook and cross-workbook copies
  • Shared-cache Pivot views, local Pivot Slicer creation and explicit selection-aware removal, fixed grouped-cache refresh and native compact layout metadata over; an OpenDocument export that refuses a view carrying calculated members or calculated items names that cause, beside the external and OLAP classificationsviews
  • Transactional native Pivot worksheet output supports grouped layouts and custom row subtotals; local SUM calculated fields and cache-owned items hold context sums, solve order, supported display calculations and filtering; MAX/MIN calculated-item measures add qualified ungrouped native aggregation, whilst unsupported states reject before mutation
  • Pivot Timelines and Slicer data states provide guarded local date filtering, shared-view lifecycle and explicit native no-data item refreshes
  • Automatic query providers refresh supported Text, ADO, ODBC and Web queries explicitly, with bounded results and registered custom provider hooks
  • Classic chart inspection decodes supported native OfficeArt fill tables, exposes marker diameters in points and validates stored text and annotation extents before applying typed state; raw chart storage is kept and portable Classic chart appearance is separately validated
  • Portable headless output captures supported Classic XLS or XLSX rectangles into immutable snapshots and renders PDF, SVG and PNG on Linux and macOS with explicit font geometry, rich text, modelled drawing objects, in-cell images, Boolean checkboxes, supported cached XLSX charts and bounded core BIFF8 cached charts with caller-declared layout and effective legend size, plus the limited automatic Classic profile covered above
  • Text and statistical calculated-array arguments preserve function-specific coercion and errors, pair covariance by original positions, and honour calculation budgets
  • Defined names in aggregate calculations keep scalar, array and reference coercion, typed errors, dependencies and resource limits

Modern XLSX facade

A dedicated OOXML engine built around TXLSXWorkbook for Excel 2007+ (.xlsx) workbooks

  • Shared strings, styles, drawings, sheet features, ZIP/XML packaging and round-trip metadata, including field-aware SpreadsheetML Xstring handling that preserves control characters and literal _xHHHH_ tokens without rewriting formula syntax
  • Worksheet page setup retains byte-exact binary printer settings through the pageSetup relationship and per-sheet printerSettingsN.bin part, accepts non-standard source part locations, writes deterministic canonical targets, retains isolated replacement and clearing across same-workbook and cross-workbook worksheet copies using a shared immutable payload source, and reports missing, mistyped, or dangling printer relationships without binding an unrelated binary part
  • Typed numeric, string and variant row and column writers grow cell capacity geometrically across repeated batches, append forward row batches directly into pre-sized sparse row vectors, clip safely at worksheet limits, keep handles stable on overlap, and avoid callback dispatch
  • OpenDocument (.ods) read and write: import existing spreadsheets through Open / OpenODS, export via SaveAsODS or SaveAs(xlsxOpenDocumentSpreadsheet), tune output with TODSExportOptions, and round-trip styles, rich text, images, charts, validations, conditional formats, page setup, print ranges, outline groups, sheet structure, and workbook metadata; conditional formatting carries icon sets, top and bottom N and percent, above and below average, duplicate and unique values, the text-matching family and error rules, both as the extension conditions and as equivalent cell-style maps for applications that read only those, whilst blank, not-blank and time-period rules are named as losses; sheet protection keys and their digest algorithm are preserved verbatim, and a password the format cannot express is named rather than silently dropped; export options retain the normal recalculation, progress cancellation, diagnostics and write protection, and file output preserves the existing destination on serialisation failure or cancellation
  • ODS cell comparison and expression rules preserve differential font styling, solid or transparent backgrounds, and supported number formats across complete whole-row, whole-column and wide targets using compact repeated blank carriers; explicit cleared attributes survive, unrelated base formatting stays on each cell, and theme or indexed colours export as resolved colours
  • ODS and XLSX carry through supported flat textbox shadows with black at 40% opacity and a two-point diagonal offset
  • ODS and XLSX preserve centre rotation for supported fixed-size rectangular textboxes with a single cell anchor. ODS drawing groups retain these textboxes and their relative placement
  • ODS preserves the initial geometry and rotation of supported standalone textboxes anchored to two cells on a fixed grid. Checked saving requires loss authorisation because grid edits can change the rotation in native applications
  • Loss-authorised ODS conversion preserves the initial rotation and relative placement of supported two-cell textboxes inside drawing groups as fixed-size children
  • Supported rotated textbox children in materialised XLSX drawing groups retain their frame geometry when converted to ODS
  • Multi-format import: OpenDocument (.ods) and CSV / TSV with separator sniffing, BOM detection and optional value type inference
  • Content-signature detection: DetectExcelContentFormat inspects a file's or stream's leading bytes to tell BIFF compound files, OOXML packages, OpenDocument packages and plain delimited text apart regardless of file extension, and both workbook engines reject mismatched containers with a clear message naming the correct loader
  • Formatted display text keeps selected empty and literal-only number-format sections, explicit fourth text sections and quoted or escaped semicolons, including hidden displays such as ;;;
  • File change monitoring: TXLSFileMonitor watches a workbook on disk and fires OnFileChanged when another process saves over it, with a configurable poll interval and main-thread or watcher-thread event delivery; handlers may stop or destroy the monitor, or change the watched file
  • Password prompting: the classic XLS engine's OnPassword event asks the application for a password when Open meets an encrypted workbook with a missing or wrong password, and retries opening it
  • Format brush: TXLSXCellFormat describes font, fill, border, alignment, number format and protection once, then stamps cells, ranges, rows, columns or whole sheets — only touched aspects apply, and pool indices are resolved once per apply for fast bulk formatting
  • Unified streaming rows: TXLSRowCursor walks .xls, .xlsx, .xlsm, .ods, CSV, or TSV sources row by row (FindFirst / FindNext) holding only the current projected row or ODS repeat template in memory, pushing row bounds and column selection before value allocation, preserving cached formula results and stored styled blanks, distinguishing formula presence from formula-text availability, optionally suppressing formula text, skipping ODF covered cells, jumping directly between selected columns in repeated ODS spans, decoding UTF-8 or UTF-16 BOMs and multi-line quoted text records, sniffing comma, semicolon, tab, or pipe delimiters, and providing constant-time ValueByCol lookup; explicit lifecycle states, idempotent cancellation, borrowed or transferred stream ownership and generation-checked zero-copy row views, PeakRowBufferedBytes, and SheetPassesStarted make long-running scans observable and safe, whilst TXLSForwardReader adapts the same backends to one-based sheet and cell callbacks without opening the skipped worksheet parts
  • Progress and diagnostics: classic XLS and XLSX workbooks provide work callbacks plus begin/work/end callbacks with cancellation, whilst IXLSWorkbookProgress and TXLSXWorkbook.Diagnostics expose stable codes, severity, operation, sheet or package context, native return values and exception details
  • Failure-safe saves: classic worksheet, chart, style-extension, VBA, control-stream, storage and output commit failures propagate to the caller, whilst XLS, XLSX and ODS disk output is staged before the destination is atomically replaced
  • Windows destination replacement tolerates metadata and reader handles that allow deletion on filesystems supporting POSIX rename, whilst existing readers keep the original bytes; delete access, non-delete-sharing locks and readonly protection are checked ahead of a single commit, with no save retry, and older or unsupported filesystems stay on the legacy commit path
  • Actionable file-save diagnostics: TXLSXWorkbook.SaveAs(FileName) and its explicit-format overload preserve the native Windows error should destination replacement fail, with diagnostic code 1005 and the original destination left intact
  • Compact cell and style storage: XLSX cells live in 256-row blocks with stable public handles and row-major cache-friendly serialisation; row entries carry no redundant payload tag, and value, formula, and rich-text changes avoid index reclassification; imported cell styles resolve through one immutable direct-index cellXf array; and automatic style-pool compaction drops unreferenced fonts, fills, borders, number formats, alignments, and protections before every save, whilst every worksheet copy — same-workbook or into another workbook, through the direct path or the owned publication stage — interns its remapped payloads so an identically formatted block keeps one shared payload per style, and reuses a destination style-pool entry equal to the one it needs, so copying the same sheet again adds no fonts, fills, borders or alignments
  • Interval style overlays: row, column, and rectangle formatting stays compact without materialising empty cell objects, resolves lazily on cell access, survives structural edits, keeps a cell that explicitly sets a part to its default ahead of the interval it sits in (writing that choice as an explicit style index), and lets a cell without a style attribute take the row or column default it sits in, and round-trips as compact column, row, and style-only cell entries
  • Row-streamed normal save: StreamingWrite (the default) writes each worksheet row directly into the package deflate stream so peak memory follows the largest single row, whilst shared strings and auxiliary XML parts stream one entry at a time through a single reusable UTF-8 serialiser
  • Metadata-only open: TXLSXWorkbook.MetadataOnly parses workbook properties, defined names, sheet names and visibility states, styles, theme, connections and external links, but skips worksheet cell XML plus shared strings, comment and person data, worksheet relationships, drawings, charts, tables, query tables, pivots and worksheet-reachable opaque payloads for fast low-memory property and name discovery from large workbooks
  • A shared-string table holds one copy of each distinct string: an open-addressed table of indices deduplicates plain and rich text without a second copy of every key, so a workbook of two hundred thousand distinct strings opens and saves with about 30 MB less peak memory and resolves each string in one probe
  • XLSX external-workbook slots follow workbook.xml declaration order and keep empty placeholders for broken relationships, keeping later [N] formula references stable across load and save
  • Selective worksheet loading: TXLSXWorkbook.SelectedSheets lets Open parse cell XML only for named sheets, whilst other sheets keep their names and visibility but no cells; call LoadSheet(Index) to materialise a skipped sheet on demand from the original archive; saving, copying or converting the workbook fails whilst a skipped sheet is not loaded, so a sheet is never written without its cells
  • Incremental compressed-part copy: TXLSXWorkbook.PreserveRawParts opens one private validated source archive per SaveAs operation and copies unchanged theme, VBA project, connection, external-link, image, chart, pivot-table, pivot-cache, and relationship-reachable opaque entries with their original compressed payloads; successful file saves become the next clean baseline, whilst stream-backed workbooks, changed source files, modified payloads, unsupported compression methods, and compressed-size mismatches use transactional serialisation fallback or rejection paths
  • Workbook extension preservation: XLSX open and save keep foreign workbook-root namespace declarations, markup-compatibility attributes, complete workbook-level <extLst> payloads, and their unknown relationships whilst typed sheets, names, views, calculation properties, and pivot caches remain editable; relationship references are remapped when generated IDs conflict
  • Slicers: Worksheet.Slicers.Add(Table, ColumnName) creates table slicers (Excel 2013+) end to end — slicer cache, reserved defined name, worksheet extension and drawing anchor included — with positioning, caption, column-count, style and row-height control; workbooks carrying Excel-authored slicers (table or pivot) round-trip them intact through open and save, replaying unmodified parts and anchors byte-for-byte whilst the surrounding workbook stays fully editable
  • Cross-workbook worksheet publication owns interactive and conversation content: ordinary notes with rich runs and box flags, threaded conversations with participant identities and collision-safe id remapping, typed form controls, styled tables with freshly prepared unique names, rich-text runs and classic array root coordinates in cells; unsupported raw packages still refuse outright rather than dropping content
  • Multiple workbook windows: TXLSXWorkbook.WorkbookViews exposes an ordered collection with add, insert, delete, move and clear operations, typed visibility and geometry state, editable unknown attributes and extensions, and worksheet workbookViewId remapping; the established single-window properties stay compatible projections of the first view
  • External defined names and refresh failures: TXLSXExternalLink parses, stores, and round-trips <definedNames> entries from linked workbooks, whilst each TXLSXExternalSheetData tracks a RefreshError flag for refresh-failure state without requiring a live data source
  • Multi-format clipboard import: XLSPasteFromClipboardRich prefers the XML Spreadsheet clipboard format (formulas, styles, merges) to plain Unicode text, with dedicated format detection, extraction, and SpreadsheetML 2003 parsing functions
  • Native Biff8 clipboard exchange: CopyToClipboard on both engines publishes Excel's own "Biff8" compound-document payload alongside text and HTML, and PasteFromClipboard consumes it first — values arrive free of locale-dependent re-parsing, relative formula references re-anchor to the paste target, and number formats, fonts, fills, borders, alignment and merged cells round-trip both between HotXLS workbooks and from Excel copies
  • XLS and XLSX PasteFromClipboard capture BIFF8 and fallback text together under one clipboard lock, keeping the existing retry policy and using readable captured text without reopening the clipboard when BIFF8 is unavailable or cannot be parsed; readable BIFF8 remains usable if its text companion cannot be retrieved, and unavailable text alone inserts no cells
  • Required text and BIFF8 clipboard publication failures keep the original Win32 GetLastError diagnostic across cleanup for immediate caller inspection
  • Rich-text markup: the TaggedText cell property converts between rich-text runs and lightweight tags (<b>, <i>, <u>, <s>, <sub>, <sup>, <color=#RRGGBB>, <font=Name>, <size=N>) in both directions
  • 64-bit-safe clipboard readers with contention retry, cached conditional-format and data-validation target matching for absolute, reversed, whole-row, whole-column and whitespace-separated areas, consistent rule lookup, deletion, conditional evaluation and validation checks, plus a binary-searched PDF hyperlink index
  • Calculation extensibility: by-name user-function registration, an unknown-function audit API, recovery-mode opens that skip damaged parts, native Biff8 clipboard exchange, plus cached data-validation range matching
  • Saved packages store PNG, JPEG and GIF parts as they are — those formats are already compressed — and deflate the parts that can still be compressed, keeping the archive the same size whilst the save skips work that cannot shrink it
  • PDF images: worksheet pictures embed as Flate RGB XObjects with JPEG passthrough and PNG stream reuse (no re-encode, alpha channel preserved through soft masks), byte-identical images are embedded once, keep-together blocks and XlsxAutoPageBreaks align pagination, whilst ZipCompressionLevel and DeterministicOutput control save output
  • PDF output pipeline: page content streams are Flate-compressed, consecutive text operations share batched text blocks with deduplicated font and colour selection, equal adjacent fills merge into single rectangles, and collinear border segments stroke as merged runs — giving smaller files and faster generation; OnProgress and abort-capable OnProgressEx report begin, page, and end states, whilst Cancel stops long exports without committing a partial PDF to the destination stream
  • PDF cell text fidelity: genuine word wrapping with vertical block alignment and justified or distributed lines, rotated and vertical stacked text, shrink-to-fit, Excel-like overflow into empty neighbouring cells with clipping, number right-alignment under general alignment, indentation, rich-text runs with per-run style, size, colour, underline, strike, super- and subscript, diagonal and double borders, and text spanning merged cells — all positioned through GDI-calibrated Helvetica advance widths
  • PDF print fidelity: styled headers and footers with Excel's font-size, colour, bold/italic/underline/strike and super/subscript codes, black-and-white print mode, printed row and column headings, horizontal and vertical print centring, comment indicators plus an at-end comment listing page through PrintCommentsAtEnd, in-document GoTo links for internal hyperlinks, a viewer PageLayout preference with XMP metadata, Excel-accurate MDW column widths, and TrueType-collection embedding with synthesised bold/italic cuts of the Unicode face
  • PDF charts: worksheet charts render as native vectors — clustered, stacked and percent-stacked column/bar, line with markers, area, pie and doughnut with percentage labels, scatter, and radar — with titled frames, auto-scaled axes and tick labels, gridlines, legends, data labels, per-series fills, and Excel's default accent palette; charts anchored beyond the last data cell extend the printed surface
  • Interactive PDF: worksheet hyperlinks become clickable link annotations and every exported sheet receives a document-outline bookmark
  • Package-level extensibility: typed custom document properties, custom XML data parts, SVG image companions, per-series chart data labels sourced from cells with indexed caches and point visibility overrides, user-defined table styles with per-section colours, and a data-validation audit API that lists every violating cell
  • Format fidelity upgrades: elapsed-time [h]:mm:ss and fraction # ??/?? number formats render everywhere, [Red] brackets recolour PDF text, cell gradient fills round-trip and render in HTML/PDF/viewer, frozen panes and pane scroll read back, DispBlanksAs/PlotVisibleOnly are chart properties, comment boxes size through WidthPt/HeightPt/AutoSizeFromText, and ValidateNumberFormat vets custom format strings
  • Negative-number display obeys Excel section rules: an explicit negative section owns the sign, a single section puts the minus sign before its literals, conditional sections choose the section and sign as Excel does, and escaped or quoted literals between digit placeholders stay between the digits
  • Excel-semantics search: FindText / ReplaceText support wildcards (*, ?, ~ escape), entire-cell matching, case sensitivity, formula-text search, backward scanning, column-major scanning order, windowed FindTextIn / ReplaceTextIn that confine the search to a rectangular range, and a per-match replacement callback, Excel-semantics grouping via the TXLSXWorksheet.Subtotal overloads (labelled SUBTOTAL rows, grand total, and outline levels), A1ToR1C1 and R1C1ToA1 converting formulas between A1 and R1C1 reference styles in either direction, plus WriteAutoValue for Excel-like text-type sniffing (ISO, US m/d/yyyy, and European d.m.yyyy dates with optional AM/PM times), GetRangeStatistics range aggregation, case-insensitive SortRange that keeps formulas with Excel reference semantics ($ parts stay, relative refs re-anchor), GetHtmlFromCell single-cell HTML fragments, and SetCellFromHtml HTML fragments as rich runs
  • Sheet backgrounds: SetBackgroundImage authors tiled pictures in both workbook engines; XLSX preserves package media ownership across worksheet copies, whilst Classic retains imported BIFF8 background payloads in shared immutable sources for source-free copies and bounded saving, with continuous payload splitting, exact raw-format preservation and explicit materialisation when background data or a resource is requested; known formats retain their conversion between engines; the workbook viewer displays valid backgrounds behind unfilled cells, whilst print, PDF, SVG, bitmap, metafile, and both HTML exporters keep backgrounds disabled by default and expose ExportSheetBackgroundImages for explicit output with cross-page phase continuity and per-session resource sharing
  • Format engine depth: conditional number-format sections ([>=100]) select by value, text sections (@) template strings, TaggedText accepts <br>, <strong>/<em>, and <font color=...> attribute forms, ConvertFormulasToValues offers an only-external mode on both facades, column keep-together blocks sit alongside row blocks, classic Spinner/ScrollBar form controls author into XLS, and row auto-fit handles merged cells
  • Clipboard exchange: PasteFromClipboard reads tab-delimited text into cells with number/date/boolean type promotion and formula detection, whilst range-level CopyToClipboard publishes both Unicode tabular text and styled HTML with formulas, merged cells, links, display formatting, and embedded-delimiter handling
  • Editable workbook viewer: TXLSWorkbookViewer binds directly to either workbook engine, loads XLS, XLSX, XLSM, XLTX, XLTM, or ODS files, renders styles and conditional formats without materialising sparse XLSX cells, and adds protected-cell-aware in-place editing, formula-bar input, automatic recalculation, rectangular selection, formula-reference events, and O(1) bounded undo and redo
  • Classic XLS PivotTable caches use independent storage streams with unique identifiers, worksheet or named source references, Unicode sheet names, and encrypted cache read/write; existing cache extensions keep their original bytes when saved
  • Reusable pivot layout designer: TXLSPivotDesigner offers available, row, column, filter, and value zones, deterministic field reordering, type-aware default aggregation, explicit aggregation changes, layout validation, and result application for either XLS or XLSX pivot models
  • Multiple independent imported column caches translate to ODS together, each proved to own one raw slot, one view and one unambiguous definition and records part, and a view deleted or renamed during a conversion refuses that attempt with the destination untouched rather than publishing a stale layout
  • Imported pivot cache relationship identifiers are carried into the saved XLSX relationship document, so a cache kept in its original imported bytes no longer emits a records reference that does not resolve, whilst conventional caches save byte for byte as before
  • Classic embedded chart whole-sheet copy carries an owned embedded chart, its record stream, rebound local formulas and migrated fonts across workbooks, materialises an inherited shape default the destination does not declare, and refuses a differing destination colour palette before any target publication
  • Owned Classic default columns build the qualified automatic chart grid from actual saved default-character widths and current Normal font design advances, including source-free reopening and independent edit revocation
  • Classic nested property isolation keeps property-like records inside unknown drawing containers without replacing the surrounding picture properties during saving and source-free picture copying
  • Materialised XLSX drawing groups surface local transforms for nested charts, images and residual shapes, keep occurrence identity through supported splits and regrouping, and hold source-free copy graphs and copied column-grid context
  • Automatic Classic boundary and negative-only layouts keep exact-threshold scale selection and source-owned upper-crossing label space, with independent native geometry and donor-free copy/XLS-return qualification
  • Automatic Classic charts in a saved 100% Page Layout view take the narrower chart client from the saved Chart base and clear the 0.75-point native geometry comparison across copy and XLS reopening
  • Classic Page Layout view kind is read out from the owned PLV flag and stays put through worksheet copying, XLS saving and reopening at the qualified 100%, 75% and 125% views
  • Saved Classic Page Layout view state keeps the exact PLV view flag and zoom through worksheet copying, XLS saving and reopening, leaving the cached Normal view zoom untouched
  • Classic automatic top and bottom legends use measured single-row layout and keep the source-owned direction through copy and XLS reopening in the qualified 96-DPI Column layouts
  • Classic automatic left-side legends hold on to source-owned placement and font roles with donor-free copy and XLS reopening in the qualified 96-DPI Column layout
  • Narrow right-side legends in zoomed Classic Page Layout use compact filled keys whenever the saved Column chart legend can fit its measured labels
  • Classic chart layout in Page Break Preview builds on the owned saved worksheet ratio and preview grid and preserves the qualified 60% layout through worksheet copying and XLS reopening
  • Exact saved Classic chart view ratios work out the internal client from the saved normal worksheet view and current source grid, including the qualified 125% Column with copy and XLS reopening
  • Classic automatic layout with larger chart fonts derives qualified Column plot, axis and title geometry from the saved fonts and keeps the represented category-label spacing through XLS reopening
  • Classic automatic Line charts without a legend take plot and title geometry from the saved source and hold the absent legend through worksheet copying and XLS reopening in the qualified 96-DPI profile
  • Qualified native 96-DPI Classic charts keep separate worksheet placement and chart-client geometry, covering ordinary untitled Line and clustered Column logical layouts, source-free copying and XLS reopening; supported between-category axes use boundary ticks and clustered columns use individual-column gap widths; numeric labels share one checked tick inventory between measurement and drawing, with bounded signed and fractional automatic domains, clamped crossings and current source-theme neutral defaults; supported inverted Column fills keep their represented background colours and separate default outline policy; constant and all-zero automatic ranges preserve actual source values, zero data included and no invented visible bars, through the qualified copy and XLS-return lifecycle
  • Owned OpenDocument physical columns keep cells, drawings, viewport and clipping on a single fixed source grid, carry supported shared document defaults with their actual inherited and explicit overrides through sparse same-owner ODS output and source-free copying, and hold on to the reported fixed-run and native-device limits whenever that default cannot be preserved
  • Editable OpenDocument ellipses keep their current materialised geometry, explicit paint and outline widths through typed reopening and source-free copying; unsupported effects, text and unproved physical-grid contexts are refused explicitly
  • Materialised drawing conversion to OpenDocument derives exact image and supported plain-text frames from current occurrence anchors and nested transforms, supports mixed retained raw groups, and reports fixed resize behaviour, omitted metadata and target-only picture grouping ahead of checked saving
  • Copied worksheet default formats keep manual row-height, default visibility and outline-level ownership through transactional copy, rollback and physical reopening
  • Loaded automatic row-height caches keep their automatic/manual distinction through XLSX saving, copying and structural row operations, with fixed-grid conversions refusing unproved cache geometry
  • Explicit worksheet-scoped defined names settle in the target scope without needing a matching caller-local name, including spaced and apostrophe-containing worksheet names
  • Quoted worksheet references keep embedded separators and escaped apostrophes, target scoped names without prefix guessing, and distinguish single-cell and rectangular sheet-pair references
  • Owned drawing groups in XLSB keep qualified nested chart, PNG, JPEG, GIF, BMP, EMF and WMF image and plain-text closures through source-free copying, checked file and stream saving and reopening, with source-bound column defaults, protected temporary chart numbering and bounded container validation for all six grouped image codecs; supported PNG/JPEG picture relocation holds the retained group tree, geometry and represented image-frame names during checked output
  • Explicit line breaks in grouped plain-text paragraphs keep their order and represented formatting during XLSX/XLSB conversion, including breaks between runs; qualified reopened raw groups also keep their drawings through same-workbook and cross-workbook worksheet copying, source release and repeated output
  • XML character preservation distinguishes physical line endings from character references during workbook reading and text reserialisation
  • Enterprise streaming string decoding keeps escaped characters and literal escape-looking text across shared, inline, rich and cached formula string values
  • Checked XLSB GIF and BMP picture output checks bounded container structure before destination publication and allows a healthy retry after malformed input
  • A scaled owned drawing group in XLSB converts with its child coordinate space carried as written, where the profile previously refused one for want of a separate transport, whilst a zero, negative or non-numeric child space stays refused and no retained package changes side
  • XLSB worksheet print setup and protection: orientation, paper size, scale and fit-to-page, black-and-white, draft, printed comments and errors, copies, first page number, horizontal and vertical resolution, centring, printed headings and gridlines, all six header and footer strings with their odd-and-even and different-first switches, margins and manual row and column breaks translate to the binary format and back, as does worksheet protection with its digest algorithm, hash, salt and iteration count, each protected range's name, area and password, and a worksheet background picture; what the binary format cannot represent is named case by case in the conversion report rather than reported as one blanket loss or raised as an error
  • Several runs in a grouped plain-text paragraph in XLSB convert with each run keeping its own colour and text and the source order, where the profile previously refused a second run and failed the whole conversion, whilst at 2.384.489 a second paragraph, a non-rectangular preset, a run without its own colour and a run formatted beyond a solid fill stayed refused, the paragraph boundary having since been widened in its own entry below and the other three unchanged, save that 2.384.506 has since widened the run formatting boundary in its own entry below, leaving the preset and the run without its own colour as the two of the three that remain, and 2.384.507 has since widened the run without its own colour in its own entry below, leaving the preset as the one of the three that remains
  • Several paragraphs in a grouped plain-text box in XLSB convert with each paragraph keeping its own runs, colours and texts and the source order, where the profile previously refused a second paragraph and failed the whole conversion, whilst an empty paragraph, a paragraph carrying its own properties, a non-rectangular preset, a run without its own colour and a run formatted beyond a solid fill stay refused and the finite text limit now bounds the whole label, of which the empty paragraph, the paragraph properties and the run formatting boundaries have since been widened in their own entries below, the last by 2.384.506, leaving the preset and the run without its own colour, of which 2.384.507 has since widened the run without its own colour in its own entry below, leaving the preset alone
  • A transparency on a grouped plain-text colour in XLSB converts with its value carried as written on the box fill, its outline and any run colour, where the profile previously refused a colour carrying any child and failed the whole conversion, whilst a second transparency on one colour, a transparency beside another colour effect, a value outside the specified range, a theme colour in place of an explicit one and a non-rectangular preset stayed refused at 2.384.491, the theme colour having since been admitted for the twelve slot names in its own entry below and the other four unchanged
  • A grouped plain-text box in XLSB with no fill or no outline of its own converts with the absence carried as written and each of the two independent of the other, where the profile previously refused a box whose paint was not a solid fill and failed the whole conversion, whilst a shape naming nothing at all for its paint, a gradient or pattern fill, an absence carrying anything inside it, an absence on a run colour and a non-rectangular preset stay refused
  • The outline of a grouped plain-text box in XLSB converts with its thickness and its end shape, compound line and alignment carried exactly as written, where the profile previously refused an outline carrying any of them and failed the whole conversion, whilst a thickness outside the range the format allows, an end shape or compound line the format does not name, whilst at 2.384.493 a dash pattern and an outline property the format does not define stayed refused, the pattern having since been admitted for three values in its own entry below and the outline property staying refused
  • A dash pattern on the outline of a grouped plain-text box in XLSB converts with the pattern carried exactly as written beside the outline thickness and paint, where the profile previously refused an outline owning anything but its paint and failed the whole conversion, whilst at 2.384.494 any other pattern the format names, a pattern with no value or carrying anything, two patterns on one outline, a pattern ahead of its paint and a line join stayed refused, the round join having since been admitted in its own entry below and the two other corner treatments the format names and an arrow head unchanged
  • An outline of a grouped plain-text box in XLSB saying that its corners are rounded converts with that statement carried exactly as written and read back out of the written package, beside the paint and beside a dash pattern where either is present, where the profile previously refused an outline naming any corner treatment and failed the whole conversion, whilst a second such statement on one outline, one carrying a value or a nested statement of its own, either of the two other corner treatments the format names, an arrow head at either end, the same statement written outside the drawing vocabulary or ahead of its paint stay refused
  • A grouped plain-text label in XLSB converts with its own vertical anchoring and its four text insets carried exactly as written, where the profile previously refused a label stating any of them and failed the whole conversion, whilst at 2.384.495 an anchoring beyond the three this library reads elsewhere, a rotation, a writing direction, an anchor-centring flag, a horizontal overflow and anything nested inside the label properties stayed refused, the writing direction and the horizontal overflow having since been admitted in their own entry below and the no-autofit child in a later one, so that at 2.384.498 an anchoring beyond the three, a rotation, an anchor-centring flag and the two fitting modes the format names besides that child stayed refused, the rotation and the anchor-centring flag having since been admitted in their own entry below and an anchoring beyond the three and the two fitting modes unchanged
  • A grouped plain-text label in XLSB saying its own clipping and writing direction converts with both carried exactly as written, where the profile previously refused a label stating either and failed the whole conversion, whilst at 2.384.496 a clipping value the format names only for the other axis, a writing direction other than horizontal, either stated with an empty value, a rotation, an anchor-centring flag and anything nested inside the label properties stayed refused, the no-autofit child having since been admitted in its own entry below and the two fitting modes the format names besides it unchanged, a rotation and an anchor-centring flag having since been admitted in their own entry below
  • A grouped plain-text label in XLSB stating that its text is not fitted converts with that statement carried exactly as written and read back out of the written package, where the profile previously refused a label carrying it and failed the whole conversion, whilst a second such statement in one label, one carrying a value or a nested statement of its own, either of the two fitting modes the format names instead of it, and the same statement written outside the drawing vocabulary stay refused, a rotation and an anchor-centring flag having since been admitted in their own entry below
  • A grouped plain-text label in XLSB saying that its text is not turned, or that it is not anchored at its own centre converts with both carried exactly as written, where the profile previously refused a label stating either and failed the whole conversion, whilst a label turned by any amount, a centre anchoring stated as true in either spelling, and either of the two stated with an empty value stay refused
  • A paragraph of a grouped plain-text label in XLSB saying its own alignment, writing direction or margins converts with all of them carried exactly as written and read back out of the written package, where the profile previously refused a paragraph stating any of them and failed the whole conversion, whilst an alignment the format names beyond the three, a direction beyond the two, a margin that is not zero, any of the five stated with an empty value, a name the product does not read, anything nested inside that owner, a second owner in one paragraph, one written after the text it precedes and a paragraph left with no text at all stay refused
  • A run of a grouped plain-text label in XLSB saying its own text size, bold, italic, underline or strikethrough converts with all of them carried exactly as written and read back out of the written package, where the profile previously refused a run stating any of them and failed the whole conversion, whilst a size of zero or one above the bound the format states, a weight or an emphasis in a spelling the format does not use, a double underline, a double strikethrough, any of the five stated with an empty value, a name the product does not read for this owner, anything nested inside it beside its one colour and a second formatting owner in one run stay refused
  • A grouped plain-text label in XLSB whose shape holds the neutral style Excel writes converts with that style carried exactly as written and read back out of the written package reference by reference, where the profile previously refused a shape carrying any style at all and failed the whole conversion, whilst a style carrying an attribute, one with other than four children, a reference out of position, an index outside the one value its position fixes, a reference colour of the other kind or of another value, a reference with other than one colour, a colour carrying anything at all and a second style on one shape stay refused
  • A grouped plain-text label in XLSB painted from the theme converts with the slot name carried exactly as written and read back out of the written package on the box fill, on its outline and on the colour of any run, where the profile previously read only an explicit colour there and failed the whole conversion, whilst a slot name outside the twelve, one written with an empty value, one carrying a second attribute, one carrying any of the seven colour modifiers, a transparency beside a slot name, a slot beside an explicit colour in one fill and the same slot written outside the drawing vocabulary stay refused
  • A grouped plain-text label in XLSB whose paragraph ends with an end-of-paragraph run properties owner converts with that owner carried exactly as written and read back out of the written package, where the profile previously refused a paragraph naming it at all and failed the whole conversion, whilst an owner carrying a second attribute, one carrying any child, one carrying text of its own, one written anywhere but last, a second one in the same paragraph, the same owner written outside the drawing vocabulary and a paragraph left with such an owner and no run stay refused, save that 2.384.508 admits six further attribute names on that owner, being an alternate language, a size, a weight, an emphasis, an underline and a strike, each bounded by the rule the library states for it, so what stays refused there is an attribute outside those seven rather than a second attribute, whilst a child, text of its own, a position other than last, a second owner in one paragraph and a paragraph left with such an owner and no run stay refused as this bullet has them, and 2.384.509 admits four kinds of child on that owner, being a colour, a typeface owner, an effect list and an underline fill, each at most one and each bounded by the rule the library states for it, so what stays refused there is a child outside those four, a second child of one kind, children written outside the order the format states, text of its own, a position other than last, a second owner in one paragraph and a paragraph left with such an owner and no run, and both the wording this bullet was published with and the qualifier added to it a release ago are kept as they were and qualified together rather than one without the other
  • A grouped plain-text label in XLSB whose paragraph ends with an end-of-paragraph run properties owner carrying formatting children of its own converts with that owner carried exactly as written and read back out of the written package, where the profile previously read no child on it at all and refused the whole conversion for any child, whilst a child outside the four kinds the library states for that owner, a second child of one kind, children written outside the order the format states, text of its own, a position other than last, a second such owner in one paragraph and a typeface or a colour outside the bound the library states for it all stay refused
  • A grouped plain-text label in XLSB whose runs state a writing language converts with both language names carried exactly as written and read back out of the written package, where the profile previously refused a run colour owner naming either and failed the whole conversion, whilst a language outside the bound the library states for it, an empty value for either name, an eighth attribute name and a size or character property outside its own set stay refused, and the same bound now applies to the language on an end-of-paragraph run properties owner, which narrows the previous release without changing any file in the retained corpus
  • A grouped plain-text label in XLSB whose runs carry a typeface, an effect list or an underline fill beside the colour converts with all four kinds of child carried exactly as written and read back out of the written package, where the profile previously refused any child beside the colour and failed the whole conversion, whilst the colour stays required and exactly one, and a fifth kind of child, more than four children, children written out of the order the format states, two colours, a value outside the bound the library states for it and a run with no colour of its own all stay refused, save that 2.384.507 has since made that colour optional and at most one rather than required and exactly one, and admitted a run with no colour of its own, in its own entry below, so those two of that list no longer stay refused and the rest of it does
  • A grouped plain-text label in XLSB whose runs state no colour of their own converts with every run kept exactly as written and read back out of the written package still carrying no colour, where the profile previously required one and failed the whole conversion, whilst a colour, when stated, stays at most one and is still bounded as before, and two colours, a fifth kind of child, more than four children, children written out of the order the format states and a value outside the bound the library states for it all stay refused
  • A grouped plain-text label in XLSB whose paragraph ends with an end-of-paragraph run properties owner carrying formatting of its own converts with that owner carried exactly as written and read back out of the written package, where the profile previously read only a writing language on it and refused the whole conversion for any other attribute, whilst an attribute outside the seven the library states for that owner, a child inside it, text of its own, a position other than last, a second such owner in one paragraph and a value outside the bound the library states for it all stay refused
  • Saved Classic row-height precision keeps imported default-row twips and represented flags through saving, no-op assignments and whole-sheet copying, and uses actual saved row heights in qualified automatic chart layouts
  • Imported Classic body fonts handle qualified Calibri 10-point axes and legends with actual recipient text advances, source-owned formatting and automatic source-free layout
  • Imported Classic title fonts handle the qualified current Calibri 12-point bold title with source-owned homogeneous formatting and actual font measurement, keeping represented Arial axis and legend fonts
  • Refreshed imported column Pivots in ODS take in qualified scalar source edits, regenerate owned cache records and keep source-free file and stream conversion, with exact numeric result ownership and compatible ordinary refresh fallback
  • Qualified raw column-cache return to ODS validates actual local OOXML cache records, original ordered row/column tuples, current source cells and materialised output without clearing retained raw provenance
  • Measured Classic Normal font ownership builds automatic chart frames from the current imported Normal style and actual recipient font metrics, including the qualified Calibri 11 Normal source with unchanged represented Arial chart fonts
  • Finite OpenDocument DATA sorting sorts represented two-through-eight-level row paths or one-through-eight-level column paths by any selected measure in the supported 1..16-measure SUM, MIN, MAX, COUNT or source-weighted AVERAGE layout, holding independent source occurrences and complete parent-prefix ownership
  • Variable OpenDocument column hierarchies keep one row field, budgeted ordered column levels and 1..16 SUM, COUNT, MIN, MAX or AVERAGE measures over distinct or shared source fields, independent measure occurrences included, alongside natural single-measure layouts, represented outer and intermediate collapse, explicit refresh and current source/cache/grid ownership
  • Complete OpenDocument column field headers keep their exact sparse ownership independently of narrow data-result bounds, protecting ordinary cells beside or below the headers through supported refresh, save, reopening and worksheet copying
  • Minimum and maximum measures in OpenDocument column hierarchies reduce each independent source field in its represented measure position, including collapsed descendant paths, whilst a numeric measure over text or blanks remains refused
  • Independent same-function OpenDocument measures keep separate source fields, occupancy, captions, refresh and persistence when several represented measures use the same SUM, COUNT, MIN, MAX or AVERAGE function
  • Independent AVERAGE measures in OpenDocument column hierarchies reduce each represented source field over its current column path and prove agreement with its own direct quotient at fifteen digits, whilst numeric columns containing text or blanks remain refused
  • Copied drawing aggregates to ODS render the qualified source-free image/chart/plain-text tree as real nested groups, with ordered payloads and fixed-frame ownership plus explicit font, resize, hyperlink and metadata loss reporting and a preserved-content entry whenever a group is projected from retained raw state
  • Classic transformed group copying keeps qualified rotations, flips and retained native caches through whole and explicitly placed selected copies under matching source theme, font and default contexts
  • XLSB three-dimensional gap depth keeps represented explicit 0..500 gap values through checked Column3D, Line3D and Area3D saving, with native-qualified Column3D view, cache-edit and source-free lifecycles
  • Native-qualified XLSB combined annotations keep the finite two-Column and secondary-Line chart through checked save, source-free file/stream reopening, explicit cache refresh and native binary save/reopen, with preserved axes, absolute frame, trend and Y errors
  • Source-owned XLSB chart relationships allow supported local relationship renumbering via checked saving, source-free reopening and public title edits, whilst exact chart targets, anchor validation and ambiguous-owner refusal are kept
  • Classic preset dash and cap defaults hold public dot styles, effective-value writes and independent copies together without exposing a conflicting inherited cap once edits are made
  • Classic document-default line width and style keep public reads coherent, along with effective-value assignments and independent copies, whilst explicit local overrides and unresolved property-family guards are preserved
  • Classic 3D Boolean metadata copying preserves complete known object and style flags through grouped worksheet and selected-group copies, independently of destination defaults; separate 3D geometry, colours and rendering retain their existing boundaries
  • Source-owned 3D ambient intensity metadata comes through represented grouped worksheet and selected-group copies, holding valid local values and source defaults independently of destination defaults
  • Classic Boolean property inheritance blends a shape protection or picture Boolean word with a workbook default for the same word into one fully explicit property during grouped copying, drawing on masks derived from the format specification
  • Classic primary document colours resolve admitted fill and line defaults by way of ordinary getters without mutating local options, whilst unresolved raw property-family guards survive save and reopen
  • Shared ODS Pivot cache groups keep genuine shared cache ownership and independent view results across source-free reopen, explicit shared refresh and per-view materialisation, with real adoption of native-saved captions
  • Independent ODS Pivot collections keep up to 16 genuine local cache/view owners, full preflight and ordinary source-edit/save/reopen behaviour, with actual two-view native refresh and library readback qualification
  • Stored Classic legend directions take ordinary finite Line and Column capture further, to bottom, top and left legends, with owned layout validation, measured entry fit and public save/reopen lifetime checks
  • Active chart label persistence leaves represented labels available to ordinary public capture after save/reopen and source edits, with correct omitted Boolean defaults and exact preserved-chart admission
  • Multiple owned OLAP cache snapshots keep the qualified two-cache refresh, query, materialisation and source-free persistence lifecycle, migrate valid older snapshots and turn stale owners away before ordinary OOXML output is touched
  • XLSB standalone QueryTable metadata transports represented Web connections and ODBC or OLE DB SQL connections with their source-owned worksheet graph, exact local destination and cached cells through XLSX/XLSB conversion; metadata transport keeps provider activation and query execution under separate explicit controls; fresh standalone destinations use visible output names without adding live model names during save, and represented empty refresh scalars hold native-saved metadata
  • ODS Slicer and Timeline summary lifecycle resolves actual typed source members, keeps malformed or unrepresentable frames as ordinary textboxes with named loss and preserves supported selections and cache ownership across source-free reopen
  • Owned OLAP item projection maps actual Pivot item order onto shared members, turns foreign source ordinals away before provider calls and keeps the finite refresh, query, materialisation and source-free snapshot lifecycle
  • Reusable workbook style ownership leaves checked binary stream saving valid once a different XML model has been opened on the same instance, whilst keeping new font and alignment values and read-only conversion reporting
  • Standard ODS form links and owned control copies keep represented local-cell or global-name bindings for checkboxes, radio buttons and list/combo controls, turn away conflicting namespace or owner metadata and copy supported controls without borrowing their source lifetime
  • Classic form controls: worksheets and shape collections can create, enumerate, edit, remove, and round-trip button, radio-button, checkbox, combo-box, and list-box controls with typed labels, check states, flat or 3D rendering, macro bindings, linked cells, source ranges, control kinds, and cell anchors
  • Classic XLS chart inspection through GetChartModel decodes chart family, 3-D state, chart and axis titles, legend, axes with their primary or secondary axis group, series names, categories, value formulas, and series data-label show flags with separators, the per-series primary or secondary chart-group binding, named or external category and value references, per-series line, fill, and marker styling with theme-coloured fills carried by the GelFrame OfficeArt theme colour extension (theme colour index plus tint), the full 3-D scene parameters from the chart stream, and pivot-chart links (source PivotTable view name plus the hide-field-captions flag through the SXViewLink / PivotChartBits records), and embedded chart objects anchored on ordinary worksheets through AddChartObject, along with per-series trendlines (regression kind, order or period, automatic or fixed intercept, equation and R-squared display, forecast and backcast, display name) plus error bars (direction side, value type, end caps, magnitude)
  • Typed XLSX header and footer images through TXLSXWorksheet.HeaderFooterImages, covering all left, centre, and right slots on odd, even, and first pages with image bytes, formats, titles, point dimensions, point margins, automatic picture field codes, worksheet copies, and relationship-safe open/save round trips together with comments
  • Editable XLSX picture effects through TXLSXImage, including percentage crop edges, transparency, brightness, contrast, stretch or tile fill, degree-based rotation, and lossless preservation of unrelated imported DrawingML
  • Classic picture cropping through TXLSPicture.CropLeft, CropTop, CropRight and CropBottom: each takes out a fraction of one edge inside the picture’s existing frame without re-encoding or resizing the stored image, values clamp to the whole edge, assigning zero removes the edge, and Cropped shows or clears all four at once; a cropped picture reopens with the same fractions and the spreadsheet application shows the same part of the image
  • Classic shape rotation and picture adjustment through TXLSShape.Rotation, TXLSPicture.Brightness and Contrast: degrees clockwise about the centre folded into 0 to 360, and the 0 to 1 figures the application’s own picture format reports with 0.5 neutral, both stored in the OfficeArt property records the application writes, a neutral value left unstored so a freshly added picture reads 0.5 and 0.5, and the application reporting the same figures for a workbook the library wrote
  • Advanced XLSX chart construction and round trips with ordered column, bar, line, pie, area, scatter, bubble, radar, stock, surface, and 3D plot groups, genuine combination charts with explicit plot-group draw order, primary and secondary axis pairs, typed date and series axes, configurable 3D views, Excel gallery styles, title, legend, axis text styles, manual plot, title, legend and axis-title layouts, sparse string or numeric series caches, sparse multi-level category caches with live two-dimensional range resolution, and editable preservation of unknown ChartML extensions and formatting
  • Extended chart families — treemap, sunburst, waterfall, funnel, box-and-whisker, histogram and Pareto — written as their own chart parts with the chart style and colour style the format requires beside them, so the application opens the workbook and reports each chart as the type it was authored as; a histogram keeps its binning rule through reopen and re-save, and a chart’s series settings (subtotals, quartile method, binning, cumulative aggregation) are written as the application writes them; a workbook the application itself saved with styled charts opens, saves and keeps every chart’s type, because a rebuilt chart part keeps the relationship part that names the style the application gave it, and an imported extended chart keeps that style and its colour style byte for byte instead of being given the library’s neutral one, and such a chart carries an embedded workbook of the ranges its formulas point at, so a reader shows the chart’s data without the source sheet being open
  • OpenDocument Pivot column hierarchies retain row-axis display captions, including safe editing and clearing in retained workbook layouts with complete sparse-header ownership, compact rematerialisation after native header compression and source refresh, and source-proved adjacent views and whole-worksheet copying within qualified mixed local layouts
  • Ordinary local OpenDocument PivotTables support page-field selection with numeric SUM or COUNT and no pruning of source records, with typed selection readback, explicit refresh, worksheet dependency copying, independent same-source view collections and complete page-control/result ownership
  • OpenDocument Pivot row paths keep member display captions apart from source identities, including repeated display names, collapsed prefixes and parent subtotal labels
  • Surface and 3D surface chart groups preserve explicit vary-colours settings through saving and reopening; native appearance remains subject to the consumer’s chart-family behaviour
  • Selective format patches: TXLSXRange.ApplyFormatPatch copies only requested font, fill, border, number-format, alignment, or protection components, tiles smaller source patterns across larger destinations, and leaves cell values alone
  • Master-detail data export: TDataToXLS.ReadDetailTables recursively exports active linked detail datasets beneath each master record, whilst IndentDetailTables adds one column of indentation per relationship level and inherited export settings keep the hierarchy visually consistent; write-ahead record and value events can sieve records and transform field values without disturbing dataset cursors
  • Classic control caption persistence keeps lengthy checkbox, radio and button captions together with rich formatting and font ownership, honours represented object formulae and explicitly refuses invalid macro bindings
  • Classic long-comment persistence keeps supported long comment text and rich formatting intact across repeated saves and reopens by means of bounded physical continuation records
  • CUBESET natural sorting handles provider-authoritative ascending and descending ordering for represented single-hierarchy member sets, with owned schema-bound metadata, digest-aware refresh and source-free snapshot persistence
  • CUBESET measure sorting handles represented numeric measure keys, offers stable ascending and descending orders, validates cache identities and recalculates without touching the source
  • Imported raw drawing groups copy qualified nested raster, chart and text aggregates together with their supported opaque dependency closures across workbooks, retain actual part identities and survive source destruction; the separate reopened raw-group TXLSXSheets.AddCopy profile also takes in qualified same-workbook copies and keeps source column-width font context through style-pool compaction; represented chart-content and frame-name edits retain raw group geometry and unknown content whilst image replacement and arbitrary child editing remain outside the profile
  • Core package batch preparation readies several foreign drawing dependency closures under a single shared budget, with context-aware root mapping and reversible publication; prepared drawing snapshots also spot raw-anchor text changes after row edits
  • Retained drawing dependency saving keeps supported owner-specific metadata in place after worksheet changes, splits shared dependencies where needed, keeps non-drawing incoming references and settles generated relationship-ID collisions ahead of normal file or stream output
  • Stable retained drawing owners keep reopened drawing relationships attached to their original worksheets after sheets are reordered or deleted; newly created sheets do not inherit another sheet's retained relationships
  • A reopened drawing leaves its retained anchors saveable: the relationship-ownership check only applies while the drawing part is preserved raw, so grouped pictures resave with every embed resolving against the rebuilt drawing relationships
  • Owned cross-workbook drawing copies keep supported reopened preset shapes and one-cell extents, nested typed image/chart/textbox groups and grouped Slicer/Timeline owners, with source-free persistence and transactional publication; qualified imported raw groups now have their separate whole-aggregate ownership profile, whilst general typed materialisation and conversion remain open
  • WordArt creation: TXLSXWorksheet.AddWordArt creates cell-anchored DrawingML text with a configurable preset warp, text fill colour, and outline colour, while subsequent open/save cycles preserve the complete shape anchor
  • Unsupported OOXML package preservation: custom parts reachable from unknown package-root, workbook, worksheet, or drawing relationships keep collision-safe relationship IDs, content types, child relationships, compression choice, and exact payload bytes across open/save round trips, with opt-out and retained-part diagnostics on TXLSXWorkbook
  • Excel-style tables with styles, filter range and criteria, sort state, stable column identifiers, totals-row labels and functions, calculated-column formulas, totals-row formulas, structure-aware row and column editing, and round-trip collection helpers
  • Typed worksheet ignored-error rules through TXLSXWorksheet.IgnoredErrors, covering every standard error category, multi-area cell references, worksheet copies, row and column edits, and open/save round-tripping
  • Typed What-If Scenario Manager authoring through TXLSXWorksheet.Scenarios, including active and shown scenarios, changing-cell ranges, locked and hidden states, user comments, input values and number formats, worksheet copies, structural edits, and repair-free open/save round-tripping
  • Typed What-If data tables through TXLSXWorksheet.AddDataTable and DataTables, covering row-input, column-input, two-variable, deleted-input, calculation-order, worksheet-copy, structural-edit, and SpreadsheetML round-trip behaviour
  • Typed external data connections through TXLSXWorkbook.Connections and worksheet query results through TXLSXWorksheet.QueryTables, including refresh policy, credentials, database, web, and text settings, exact typed parameter values, table and field bindings, structural edits, worksheet copies, and extension-safe OOXML round-tripping
  • Complete workbook calculation policy through CalcMode, RefMode, iteration settings, recalculation flags, full-precision control, and concurrent-calculation settings, with schema defaults and separate non-default persistence, plus the opt-in RecalcLookupCache memo and the on-by-default RecalcAggregateCache memo that, with RecalcScanMemoLifetime set to xlsmlWorkbook, outlast a recalculation and drop only the answers whose own range a changed cell touched, plus memos that let repeated XLOOKUP/XMATCH, VLOOKUP/HLOOKUP/MATCH, and SUMIF/COUNTIF/AVERAGEIF scans plus unconditional SUM/AVERAGE/MIN/MAX/COUNT over one plain range reuse the first result during a recalculation pass, engaging only when the dependency graph is provably reference-stable so results can never differ
  • Save-time recalculation policy through RecalcBeforeSave (manual, if-dirty, always) plus RecalcNeeded dirty-state inspection and single-cell RecalcCell value retrieval after a full recalculation
  • Report value placeholders with {{name;default}} fallbacks, dbvalue/dbcount/tonumber/ref expressions over a registered DataContext and an isolated per-run data session, bare {{=formula(...)}} cells written as live formulas, and {{#imgsize}}, {{#comment}}, {{#html}}, {{#sheetvisible}}, {{#deletesheet}} structural directives
  • Typed lazy user tables through exact {{#usertable(alias, logicalName, providerKey, name=expression)}} cells, with compile-time syntax checks, resolver-free static preflight, dynamic typed parameters, registered-provider enforcement, case-insensitive conflict diagnostics, declaration caps, and first-use loading through dbvalue or dbcount; TXLSReportGenerator.DataContext and TXLSReportTemplateChecker.DataContext carry the same registry into generation and validation
  • Report data shaping through lazy Filter, stable multi-key Sort, and Distinct combinators; FromDataSet and FromObjects adapters bind open datasets and published-property object lists into report tables; RunBidirectional bands give each master row its own child-driven columns; PreprocessAndRun lets templates self-modify against the data before the final fill
  • Clipboard paste options (values-only, insert rows or columns) on both workbook engines, and OnSkippedRecord diagnostics on the direct reader, row cursor, and forward reader exposing skipped malformed cell references and aborted BIFF sheet passes
  • Classic XLS shared-revision protection round-trips through SharedRevisionProtected and SharedRevisionPasswordHash, and reports handle encryption end to end: encrypted templates open with a password and RunToEncryptedFile emits an encrypted result in one step
  • Cross-workbook CopyRangeTo/CloneRangeTo remap cell styles by value across pools, and classic XLS CreatedDate, LastSavedDate, RevisionNumber and EditTimeMinutes round-trip through the OLE summary stream
  • Chart rendering consumes the bar plot group's GapWidth, Overlap and stacked / percent-stacked grouping, so drawn bar and column charts match the model's layout semantics
  • Charts round-trip chart-space formatting (rounded corners, background/border/plot-area colours) and the five chart protection switches, with the renderer taking the colours; series-level Smooth and marker fill/border colours round-trip and render as curved segments; axes carry the crossing mode and tick-mark fashions, and AutoTitleDeleted suppresses derived titles
  • TXLSPDFWriter builds PDFs without any spreadsheet: explicit page size, multi-page flow, rectangles/lines/ellipses, measured text, transforms, clipping and graphics-state command
  • AutoFit offers a two-phase MarkSheet/ApplyMarked flow with inspectable pending measurements, fit-region bounds, IgnoreStrings, KeepHeightAutomatic, a DefaultRowHeightVisual floor and one-call FitWorkbook
  • PDF Unicode fonts support automatic, required-subset, complete-program, and map-only embedding policies, standalone OpenType CFF programs, shared GPOS/kern positioning for measurement and drawing, and a pre-resolution OnFontEmbed callback, and a recursively cached OnGetFontDirectories family/style resolver; PDF/A output continues to require embedded font programs
  • Collection helpers to look up, remove, and reorder sheets, tables, charts, images, merged ranges, and external links by name or position
  • One-call chart creation from a data range: AddChartFromRange and the AddColumnChart / AddBarChart / AddLineChart / AddPieChart / AddAreaChart shortcuts derive series and categories from a data block automatically, in the manner of Excel's insert-chart-from-selection
  • Row and column insertion and deletion that adjusts formulas, table columns and their filter or sort metadata, invalidates deleted table-column structured references across formula consumers, partitions cell-value and expression conditional formats plus data validations when edited areas require different formula anchors, keeps aggregate conditional-format domains intact, and relocates defined names, hyperlinks, chart series including bubble sizes, and image, chart, text box, and WordArt anchors automatically
  • Formula calculation sharing the classic XLS evaluator with process-wide and workbook-local user-function registries, workbook-local override semantics, parallel-safe lock-free handler invocation, broadcast array operators and per-cell errors, full multivariable LINEST / LOGEST matrices, shaped TREND / GROWTH predictions, text, date, workday, engineering/base-conversion, bitwise, statistical, aggregate, and mathematical function coverage, reference-preserving ISFORMULA inspection without target recalculation, logarithmic binary XMATCH / XLOOKUP, ISOMITTED optional-argument detection, ARRAYTOTEXT / VALUETOTEXT array conversion, validated XIRR / XNPV calculations, PDURATION / RRI investment timing and growth rates, fractional-period VDB depreciation, and OnUserFunction custom-function callbacks; AnalyzeFormulaIssues provides a structured preflight for missing functions, external references, and exact circular dependency members
  • Structured references in current-row form (Table[@Col]) evaluate against the formula cell's own row in serial and parallel recalculation
  • Dependency analysis expands scoped and nested formula-defined names, including multi-area references, and applies cycle guards only when static dependency resolution is impossible
  • Excel-authored shared formulas open with every follower expanded to its correct cell-relative expression in full-workbook, streaming direct-reader, and row-cursor paths, whilst CSE array anchors and followers survive safe whole-array structural edits, complete-range copies, worksheet duplication, and cross-workbook sheet copies
  • Dynamic arrays can be authored with TXLSXRange.SetDynamicArrayFormula, retain formula ranges and XLDAPR metadata through open and save cycles, share one deduplicated metadata record across roots, remap that record during cross-workbook copies, and drop it after the final root is cleared
  • Calculated-array composition includes typed TRANSPOSE, computed matrix multiplication, determinants and matrix inversion, negative and vector selectors for CHOOSECOLS / CHOOSEROWS, computed lookup vectors and array requests for XLOOKUP / XMATCH / MATCH, and stack and reshape operations with evaluation-step and array-memory caps
  • Form-control authoring on XLSX worksheets (AddFormButton / AddFormCheckBox / AddFormRadioButton / AddFormComboBox / AddFormListBox) with VML shapes, ctrlProps parts, and verbatim round-trip of files that carry controls
  • Live XLSX cross-workbook evaluation through the path-preserving ExternalWorkspace and compatible RegisterExternalWorkbook facade: full relationship targets and extensions remain distinct, ambiguous aliases fail explicitly, target destruction revokes the live adapter safely, and file-local typed caches stay as the fallback without implicit file or network access
  • Workbook comparison through TXLSXWorkbookCompare reporting sheet, cell, formula, and merge differences as a structured list or a one-line-per-difference report
  • Workbook-to-code generation through TXLSCodeGen (Delphi and C++Builder dialects) and column-rule import validation through TXLSImportCheck with red-font and comment annotation plus keep-only-violations compaction
  • Unrecognised XLS worksheet records round-trip verbatim — vendor-specific or newer-spec records captured at read and replayed on save
  • Preset-geometry shapes through AddPresetShape — any OOXML ST_ShapeType token rides the drawing verbatim and round-trips
  • Template processing: ApplyTemplate substitutes {{key}} placeholders sheet-wide and FillTemplateBand clones template blocks per record with formula translation, dependent conditional formats, validations, links, comments, pictures, charts, merge duplication, and row-level #skip conditionals; CloneRangeTo exposes the same dependency-aware copy path with selectable payloads; TXLSCompiledReportTemplate compiles placeholder locations and text fragments once for repeated runs across cells, rich text, comments, hyperlinks, drawing text, headers and footers, sheet names, defined names, and document properties without rescanning the workbook, supports addressed preflight diagnostics, strict validation before mutation, and diagnostic worksheets too; TXLSCompiledReportRunner adds target-level progress, cancellation, deterministic applied counts, reusable completion or failure state, paired workbook and worksheet lifecycle events, recoverable issue snapshots, and atomic stream, file, or encrypted-file output as well; TXLSReportGenerator adds template-read events, workbook, file, stream, and encrypted-file sources plus in-place or atomic-clone modification too; IXLSReportTable, IXLSReportCursor, per-run lazy providers and resolvers, and compound-key relation indexes supply reusable virtual or in-memory data sources without forcing unreferenced tables to load, whilst TXLSReportTableFactory composes top, projected, counted, minimum, aggregate, unioned, split, and hash-joined views without duplicating complete intermediate row payloads; runnable Delphi and C++Builder galleries demonstrate the same data context, compiled runner, diagnostics worksheet, LastResult, and RunToFile path
  • Named structural report bands: TXLSCompiledReportBand resolves an exact workbook- or worksheet-scoped rectangular defined name and expands it down, right, or across both axes from one-pass bounded row and column snapshots, preserving value types, mixed-reference formulas, merges, rules, validations, hyperlinks, comments, drawings, and explicit row or column layout metadata whilst rejecting unsupported partial structures before mutation
  • Repeated range and report-band copies reuse scoped defined-name suffix searches whilst retaining first-available naming after deletion, renaming, or scope changes
  • Expandable Excel-table report bands through TXLSCompiledTableReportBand use one bounded cursor snapshot to expand a single data-template row whilst retaining headers, totals, table and AutoFilter ranges, filter and sort state, column metadata, calculated and totals formulas, styles, structured references, and dependent worksheet objects; representable empty results remove the data-template row, whilst query-backed tables and unsafe layouts are rejected before structural writes
  • Range and Excel-table report bands share ErrorMode, StrictDataAccess, RuntimeLimits, and immutable LastResult diagnostics; xremWriteAndContinue stores an explicitly recoverable row failure as literal text with its input row and actual output address, then continues the remaining targets and rows, whilst fatal structural and resource failures roll back the expansion
  • Cell and row scanning with raw-value or display-text callbacks, template find & replace, and bulk writes
  • Central scratch-file management (registered temp files swept on finalise), opt-in VerifyEncryptedSave post-write decryption check, and per-format grid-limit constants with an OnExportLimit event on the dataset exporter
  • Data-validation helpers with one-call list dropdowns from a string array, shared typed IME modes across Classic XLS and XLSX, table formulas that retain independent array attributes, conditional-format extensions, configurable HTML export with centralised CSS style classes, and AES-encrypted save and load — ECMA-376 Standard Encryption (AES-128) with AES-NI acceleration, plus reading Excel's default Agile Encryption (SHA-512 key derivation, AES-128/192/256)
  • Classic and XLSX HTML exporters use operation-owned xlsrgbHtml geometry snapshots to convert character widths through Normal-font maximum-digit-width metrics into fixed CSS lengths, reuse one bounded cache per multi-sheet operation, expose the active snapshot for diagnostics, and leave stored worksheet dimensions alone
  • Prepared XLSX conditional-format evaluation with priority and StopIfTrue layering, relative formulas, shared multi-area statistics, Top/Bottom and average rules, duplicate and unique values, relative date periods, theme-aware differential styles, colour scales, directional data bars, and all built-in icon-set families
  • Duplicate and unique relational criteria beyond the deterministic Latin-1 profile fall back on the platform-aware text comparison: Windows uses its user locale and native Unix uses its runtime wide-string comparison, without pulling a Windows DLL into the portable unit or changing the process locale
  • Tolerant XLSX opening: namespace prefixes are normalised whilst parsing, so worksheets, charts, drawings, and document properties bound to non-canonical or ISO 29500 strict namespaces load like ordinary files, and worksheets whose rows or cells omit position attributes infer each cell after its predecessor in scan order
  • Strict Open XML output through StrictOOXML: the whole XLSX package — worksheets, shared strings, styles, theme, drawings, charts, comments, document properties, and preserved parts — is saved in ISO/IEC 29500 strict conformance together with the purl.oclc.org vocabularies, and strict relationship types resolve on open exactly like transitional ones
  • Full-workbook XLSX opening streams worksheet ZIP entries directly into worker-local inflaters and XML readers, keeping no inflated worksheet XML staging copies and limiting transient worksheet input memory to the active parse workers
  • Streaming direct reader (TXLSDirectReader) that scans .xlsx / .xlsm cell by cell with per-cell and per-sheet events and a near-constant memory footprint for very large workbooks, reporting each cell's value, kind, formula text, and style index with optional date detection, early abort that propagates into ZIP input and decompression, row-range pushdown, and constant-time column projection before value decoding; opt-in layout events expose worksheet dimensions, default sizes, column spans, row metadata, frozen or split panes, and merged ranges before dependent cells; bounded parallel parsing streams worker-local worksheet inflaters that read their compressed parts at an absolute offset, so a worker does not queue behind another on the archive’s shared file handle, into independently budgeted producer-consumer queues whilst preserving callback order on the calling thread, rich-string preservation exposes formatted runs, phonetic ranges, and phonetic properties, and the bounded shared-string store keeps small tables in memory while migrating larger tables and rich payloads to indexed delete-on-close temporary storage
  • Streaming direct writer (TXLSDirectWriter) that writes .xlsx workbooks cell by cell, writing each worksheet straight into the package as rows arrive so very large files are generated with a near-constant memory footprint, and a long export can be stopped: OnProgress shows rows, cells and uncompressed bytes written and cancels at the next row boundary, Cancel stops it from anywhere, a cancelled export raises EXLSDirectWriteCancelled, and Close refuses to publish it; compression is per part, with BulkPartLevel for the worksheet and shared-string parts, StoreAlreadyCompressedParts for media that is already compressed, and PartMemLevel for zlib’s window, covering inline or deduplicated shared strings, rich strings with formatted and phonetic runs, numbers, booleans, dates, formulas, reusable package-level cell styles with cloned handles, deduplicated fonts/fills/borders/number formats, font emphasis, underline, outline and shadow, 19 fill patterns, 14 border styles across five edges, horizontal and vertical alignment, wrapping, shrinking, indentation, rotation, quote prefixes, locked/hidden protection, built-in and custom number formats, column widths, row heights, hidden rows and columns, merged ranges, worksheet and table AutoFilter ranges with value, blank, date-group, custom, dynamic, top/bottom filters and sort states, worksheet protection with fine-grained permissions, legacy or modern password metadata and editable protected ranges, workbook structure and window protection, frozen panes, sheet tab colours, right-to-left sheet views, sheet-view display toggles, page margins, header/footer text, print options, page setup, fit-to-page settings, manual page breaks, worksheet hyperlinks across multiple sheets, workbook and sheet-local defined names, generated defined ranges, print areas, print title rows or columns, data validations with prompts and error alerts, conditional formatting with eight cell-value operators, expressions, text matching, top/bottom ranking, average, duplicate/unique, blank/error predicates, data bars, two- and three-colour scales, 17 icon-set families, differential font/fill styles, priorities and stop-if-true control, Excel table parts with column names, header/totals row flags, table comments, totals-row column labels and functions, calculated-column formulas, totals-row formulas, and table style display options, plus current-sheet side channels for classic comments, streamed image sources, anchored DrawingML, typed formula-backed charts, and caller-supplied ChartML
  • Opt-in overflow continuation (AutoSplitRows) splits exports across <name>_2 sheets when a row past the worksheet limit arrives, and FillTableCalculatedColumn pushes a table column formula into every data row the way Excel's authoring does
  • In-place worksheet patching through BeginPatch: the streaming writer rewrites one worksheet of an existing package whilst every untouched part is copied across with its compressed bytes verbatim — replace a data sheet or append a new one without re-authoring the template; failed initialisation and finalisation release source handles, callers retain responsibility for temporary source registrations, and the writer can be reused after initialisation failure
  • Camera objects through AddCamera: live snapshot pictures bound to a cell range, following the documented camera-tool drawing extension; the binding round-trips through save and reopening
  • PDF attachments through AddAttachment — files ride the export as /EmbeddedFiles entries with a name tree, and IXLSPDFAttachmentSource can provide each payload lazily once per save through a bounded spool; final assembly streams objects sequentially to the destination, so attachment payloads copy in fixed chunks with an indirect length object and peak memory stays level
  • Explicit PDF/A-1a, 1b, 2a, 2b, 3a, and 3b output through PDFAProfile, including profile-specific identification, colour management, tagging, attachment, and atomic validation rules; UsePDFA remains a compatibility switch for PDF/A-2b
  • PDF export works in a classic layout or an opt-in PDF 1.5 layout with compressed object streams and a binary cross-reference stream (UseXRefStream) for smaller files
  • PDF export supports reusable begin, page, and end progress callbacks with cancellation and no partial stream commit, plus optional cell-positioned Unicode comment annotations that can sit alongside comments-at-end pages
  • PDF gradients and transparency use native axial or radial shadings with stitched multi-stop functions, per-stop alpha masks, cell fill patterns, image shadows, page-level clipping, and document-level resource caches; selected PDF/A profiles enforce their graphics restrictions before output commit
  • Style-aware PDF font fallback chains through SetFontFallbackChain, AddFontFallback, and ClearFontFallbackChains select embedded faces by source family, style tier, and glyph coverage, cache loaded faces and selections, keep supplementary scalars and cross-run grapheme clusters, hold shared-glyph Unicode sequences distinct through CID mappings, and reject PDF/A output atomically rather than using an unembedded font
  • TXLSPageImageExporter builds pagination once and exports selected XLS or XLSX pages incrementally as PNG or JPEG with configurable DPI, scale, quality, progress, cancellation, and per-page bitmap lifetime as well; ExportRange writes one tight cell rectangle and before or after paint events expose the actual page canvas through a read-only context with pixel bounds, page size, resolution, scale, page numbers, and the originating worksheet, firing exactly once per rendered frame including multipage TIFF frames as well
  • TXLSCellImageExporter measures, renders, and saves any classic or XLSX cell rectangle as one compact image without pagination artefacts, with configurable resolution, scale, format, and JPEG quality, transparent PNG or coloured backgrounds, independent object, gridline, and cell-border switches, pixel and byte budgets validated before allocation, and file saving through an atomic same-folder replacement that never damages an existing target on failure
  • ODS export translates supported scalar formulas, qualified A1 references, custom Boolean validation, formula-valued bounds, and list sources to OpenFormula; unsupported cell formula dialects keep the compatibility fallback, whilst unsupported validation definitions and references are omitted together
  • Repeated ODS row heights and blank-cell styles use compact ranges; ODS output retains row heights and repeated styled tails, whilst single-row edits, clearing, worksheet copying, row shifts, tiling, and XLSX export preserve the effective heights
  • Pull-mode row supply (OnNeedRow + RunRows) drives the streaming writer from a data pipeline one row at a time
  • Right-to-left worksheets mirror in PDF export and flip through dir="rtl" in HTML, completing the display-flag round trip
  • Worksheet zero-display mode hides actual numeric zero, including formula results, currency values, and date-base zero, across viewers and visual exports before number formatting or text measurement; formula-display mode takes precedence, conditional-format visuals and hyperlinks stay active, and stored values, public formatted text, CSV, and ODS output keep their existing contracts
  • Opt-in tracked-width streaming mode (TrackColumnWidths) stages the worksheet in memory so the finished file carries the used-range <dimension> hint and column widths sized to the longest value seen per column, approximating autofit for data that is only known whilst it streams
  • Reference-safe XLSX row and column structural edits that update formulas, defined names, rules, links, drawings, print settings, protected ranges, classic and threaded comment anchors, sparklines, typed pivot sources and views, and recognisable preserved extension references in one guarded transaction, with an ordered participant API for application-owned metadata
  • Compact random-access XML tree (TSimpleDomReader) that builds from the same pull reader in one pass for querying workbook metadata, relationships, themes, and other package parts via case-sensitive QName or local-name path
  • Step-by-step formula evaluation through TXLSFormulaTracer with exact operand-stack transitions, plus interactive diagnosis through TXLSFormulaDebugger exposing parsed nodes, operand values, evaluation order, cell and range dependencies, lazy branch choices, skipped expressions, and propagated error sources
Internal version 2.384.856

Complete workbook, reporting, and rendering capability set

The current release widens the supported workbook, reporting, and rendering APIs with bounded execution paths and explicit format-safety rules

Workbook formats and calculation

  • Editable XML Maps and single-cell schema bindings through TXLSXXmlMaps and TXLSXXmlCellBindings, including relationship round trips and pre-save validation
  • Ordered multi-window workbook state through TXLSXWorkbookViews, including active tabs, geometry, visibility, display flags, extensions, and safe sheet-index remapping too
  • Multi-area selections and independent per-pane active cells for XLS and XLSX, with structural remapping and atomic rejection of invalid ranges
  • Caller-owned lossless formula tokens through TXLSFormulaTokenStream, ParseFormulaTokens, GetFormulaTokens, FormulaTokensToText, and SetFormulaTokens
  • Classic XLS formula freezing classifies compiled BIFF references without decompiling the formula text, converts only confirmed external-workbook references in OnlyExternal mode, keeps uncertain formulas, and freezes array groups atomically with literal string results intact
  • XLSX external-workbook formulas use one grammar-aware numeric-slot lexer for strict conversion, diagnostics, recalculation, cross-workbook copying, and generated saves, with filename compatibility normalised only when exactly one registered target matches
  • TXLSXExternalLink exposes source relationship IDs, one-based slots, and workbook, DDE, OLE, or unresolved link kinds, whilst target and sheet-list changes invalidate compiled external bindings through a constant-time revision update
  • ConvertExternalDefinedNamesToRefErrors atomically replaces confirmed external-workbook definitions with native #REF! in Classic XLS and XLSX whilst keeping name identity, scope, visibility, comments, macro and built-in metadata, unknown XLSX attributes, ordinary cell formulas, and external-link parts
  • Stable row or column sorting with TXLSSortFormulaMode, horizontal keys, custom comparers, and a choice between logical-dependency retention and physical formula movement
  • Editable BIFF2 through BIFF4 fonts, number formats, XF styles, and formulas converted into the current workbook and calculation models at load time
  • One TXLSForwardReader callback facade for XLS, XLSX, CSV, and TSV with backend-level projection, row bounds, formula-presence state, optional formula-text suppression, format detection, and cancellation support
  • Typed custom views for panes, selections, filters, page setup, and page breaks whilst unknown BIFF records keep their original payloads
  • Typed OLAP properties, web-table selectors, fixed-width fields, and connection parameters with retained extension content
  • AnalyzeFormulaIssues diagnostics for missing functions, external workbook references, and exact circular dependency chains
  • Thread-safe global and workbook-local UDF registries with local override, average O(1) lookup, and handler invocation away from locks
  • XLSBidiVisualOrder for mixed Arabic or Hebrew text, Latin text, digits, combining marks, and mirrored punctuation without altering logical cell text; its direction argument is a TXLSBidiDirection (xlsbdAuto, xlsbdLeftToRight, xlsbdRightToLeft)
  • Merged-cell AutoFit strategies that give growth to the first or last member or balance it across the span for both XLS and XLSX
  • Typed Excel 4 macro-sheet preservation plus inspection-only ScanMacroCommands findings with worksheet addresses
  • Calculation support for ISOMITTED, ARRAYTOTEXT, VALUETOTEXT, PDURATION, and RRI with Excel-compatible storage and error behaviour
  • Grouped worksheet summaries through TXLSXWorksheet.Subtotal, including inserted formulas, a configurable grand total, inherited visible formatting, and outline structure
  • Non-materialising effective style inspection through GetCellVisibleFormat plus candidate-level validation and atomic commit through CheckDataValidation
  • Classic XLS metadata-only and selected-sheet opens use BOUNDSHEET offsets, bounded SST spill storage, and a single forward-reading contract shared with XLSX, CSV, and TSV
  • Dynamic arrays stream straight into scalar aggregates, repeated lookups reuse typed incremental range caches, and immutable formula tokens share stateless objects across compilations
  • Modern XLSX saves keep the represented native default font, including source face, fractional size, emphasis, colour and scheme, whilst custom font-pool indices retain their existing meaning
  • Modern PivotTable copies map represented custom number formats, Pivot styles and standard differential font, fill, border, alignment and protection across workbook-local pools, keeping Pivot-only formats through compaction and repeated saves, and complete equal theme font collections map across to the matching destination slot
  • Native local Pivot materialisation covers compact, tabular and outline grids, repeated labels, multilevel column default/custom subtotals and measure-specific captions, with complete sparse headers and blank intersections for different explicit subtotal functions
  • Recognised imported built-in number formats keep their effective codes through saving, including D-MMM-YY; date-typed elapsed display follows the workbook's serial date system whilst keeping calendar-date and literal-text behaviour
  • Native Pivot display calculations cover base-item comparisons, running totals, row and column percentages, parent percentages, cumulative percentages and dense ranks with native cached output and refresh metadata
  • REGEXTEST, REGEXEXTRACT and REGEXREPLACE use the bundled UTF-16 backend with shared formula budgets; GROUPBY and PIVOTBY support scoped callbacks, multiple measures, filters, sorting, hierarchical totals and relative-percentage calculations
  • ENCODEURL percent-encodes text as a URL over its UTF-8 bytes, holding the RFC 3986 unreserved set, and FILTERXML evaluates an XPath 1.0 subset over an XML string with a portable node-tree engine — location paths, axes, predicates, unions and the core function library — returning a scalar string-value, a vertical array for multiple matches, or #N/A when a node-set is empty; both broadcast over array operands
  • Single-variable Goal Seek (GoalSeek in lxGoalSeek) pushes a formula cell to a requested value by adjusting one input cell on either the XLS or XLSX engine, using a bounded bracket-expansion and bisection search with a secant fallback; the target must hold a formula and the changing cell a value, it commits the solution on success and restores the original input on any failure, and it returns a TXLSGoalSeekResult whose Status is a TXLSGoalSeekStatus (gssSolved, gssNotConverged, gssInvalidReference, gssNonNumericTarget, gssEvaluationError) carrying the iteration count and the achieved input and target values; a TXLSGoalSeekOptions record (iterations, tolerance, initial step, bracket-expansion bound; defaults from XLSDefaultGoalSeekOptions) tunes the search
  • Range clear and Unicode text paste use a single bounded undo or redo transaction with protection checks, sparse content snapshots and restored modern cell metadata
  • Typed local PNG/JPEG in-cell images and sparse cell, row and column Checkbox formats retain accessibility metadata, precedence, styles, content ownership and structural edits through XLSX round trips
  • Pictures placed inside cells survive a conversion to and from the binary workbook, image payload, alternative text and decorative flag included, and the workbook’s version record is written so those files open in the spreadsheet application
  • OpenDocument database ranges carry the AutoFilter’s sort as a sort definition with zero-based field numbers and per-key order, written on save and restored on open, and omitted when the keys fall outside the filtered area
  • A worksheet protected with a password also protects its OpenDocument sheet: the protection digest is derived from that password at save time and written with its digest algorithm, so the protected flag is no longer removable without the password
  • Trial builds announce every limit they enforce: dropped cell writes and refused sheet requests are counted and summarised, and an optional callback receives each hit, so a truncated file is never mistaken for a complete one
  • Worksheet cells, workbook sheets and ranges enumerate directly (for Cell in Sheet.Cells do, for Sheet in Book.Sheets do, for Cell in Sheet.Range['A1:C10'] do); each enumerator is a value type, and a range walk gives only existing cells without materialising the rectangle
  • A range reads back as a block through GetValues, GetRowValues and GetColumnValues, with never-written cells answering Null and no cell materialised by the read
  • A range also writes a block: SetValue takes a 0-based two-dimensional Variant array and rejects one whose shape does not match the range
  • Range setters have fluent twins — WithValue, WithFormula, WithNumberFormat, WithFontIndex, WithFillIndex, WithBorderIndex, WithAlignmentIndex, WithBorders, WithLocked and WithFormulaHidden — that return the range so styling calls chain without a temporary variable
  • TXlsCellRef carries a row and column as the one-based pair every cell accessor takes, parses and formats A1 text (absolute markers accepted), and reports IsValid instead of raising on bad input
  • A worksheet carrying an embedded or linked object keeps its <oleObjects> block verbatim through a save, beside the object relationship and the embedding part it references, and exposes each object through OleObjectCount / OleObject with its program identifier, drawing aspect, shape identity and relationship
  • A workbook exposes the parts the reader retained through PartExists, GetPartRawXml and SetPartRawXml, and names the keep-or-discard switch as UnsupportedPartPolicy (xluppPreserve or xluppDrop)
  • LoadFromArray pours a block onto a worksheet (from a one-based cell) or clips into a range, answering the rows written
  • A block of numbers loaded that way is held in the packed representation rather than as cell objects, which is several times faster and far smaller for a dense sheet; a cell holding text, a date or a blank lives as an object beside the packed values instead of ending the packed run, so a sheet with a text header row still packs the thousands of numbers below it
  • Opening a workbook extends the same rule to the file: a run of plain numeric cells goes straight into the packed store, so a 60,000-cell numeric sheet opens holding about 380 KB of packed values instead of 13.4 MB of cell objects and opens sooner. A cell with a format, a formula, a comment reference or value metadata, and a sheet whose cells inherit a row, column or default style, still gets its object, so only the plain run is affected
  • One cell at a time can leave that store: Cells[r,c] casts the packed value it was asked for into an object and leaves the rest packed, so reading a few cells of a large numeric sheet costs those cells rather than the sheet. A save, or any call that needs every cell, merges the packed values with the objects already present
  • The packed store can be capped: PackedMemoryBudget states how many bytes of block buffers may stay resident, the least recently used complete block is spilled to a temporary file beyond that, and a later read or walk reloads it, with SpilledBlockCount and SpillFileBytes reporting the move; the default of zero keeps every block in memory
  • TXLSRowReader walks a worksheet row by row without creating cell objects: Next answers one row, SkipRows moves past title rows, NextText reads a header into a TXLSRowNames array of text values, Eof says when the last row is behind it, and a packed sheet stays packed whilst it is read; a nil worksheet or a start row or column that is not one-based raises EXLSRowReaderError
  • SYLK text is read and written through XlsBuildSlk and XlsParseSlk, which use a TXLSSlkCell record carrying Row, Col, a Kind of type TXLSSlkValueKind (slkEmpty, slkNumber, slkText) and the number or text
  • SpreadsheetML 2003 documents are read and written through XlsBuildXmlSpreadsheet, XlsParseXmlSpreadsheet, XlsSaveXmlSpreadsheet and XlsLoadXmlSpreadsheet, with TXLSXmlCell holding the address, the kind (DataType, type TXLSXmlCellDataType), the value, the formula and the merge spans; a date cell names a date style so the spreadsheet application shows a date, and XlsXmlDateToIso and XlsXmlIsoToDate convert the ISO text the format stores
  • Text interchange formats lay down the fewest digits that read back as the same double through XlsShortestFloatToken, so small and large numbers come through the round trip unharmed and a negative zero keeps its sign
  • Saving or opening a .xml, .slk or .sylk file selects that text format, so SaveAs writes SpreadsheetML 2003 or SYLK and Open reads it back with its formulas, dates and merged areas; the one-sheet SYLK export grabs the active sheet
  • XlsLoadDataSet fills a worksheet from a dataset with its field names as a header, and XlsLoadObjects fills one row per object from its published properties, with TXlsDataImportOptions picking the first cell, the header and a row cap; both write the block in one call
  • TryOpen and TrySave report through a TXLSResult with Success, Code, Message, the live Diagnostics, Describe and RaiseOnError; a TXLSDiagnostic carries Row, Col, CellRef and a Hint, and its ToText renders one log line
  • An application can ask which edition is active through XlsFeatureAvailable, XlsActiveEdition (a TXLSEdition: xlseStandard, xlseSmallBusiness, or xlseEnterprise), XlsEditionFeatureCount and XlsEditionFeature, so it can degrade rather than catch a feature-named error
  • Engine errors share one root, EXLSError, whose Code, Operation and CellRef properties bear an optional failure code, the operation and the cell address, and whose CreateAt constructor fills all three; the class stays an EInvalidOperation for existing handlers
  • A cell value can be read and written as a typed record (TXLSCellValue) with an explicit kind, and cells take typed TDateTime, Int64, text and boolean setters so dates are no longer Variant serials
  • SaveAs(FileName) picks the format from the extension — OpenDocument, binary workbook, template or delimited text — and keeps Open XML for a name it does not recognise
  • Extended workbook document properties — manager, template, hyperlink base, scale-crop, links-up-to-date and shared-document flags, document security, and the application’s own page, word, character, line and paragraph statistics — are written in the order the file format requires, absent stays absent, and imported custom workbook views and sensitivity-label metadata survive a save
  • Native calculated-field TopCount and BottomCount select finalised member metrics, keep cutoff ties and recompute totals from the retained original dependencies
  • Bounded Classic table field output writes Feature11 fields through one fixed scratch whilst keeping future-record continuation headers and exact table metadata
  • Generated Classic Pivot cache output staging trims retained output heap and releases cache temporary files at the end of each save, cancellation and publication failure included
  • Ordinary XLSB numeric conditional formatting imports and exports a typed greater-than rule with finite RGB differential font and background properties, covering evaluation and source/threshold edits
  • Ordinary selected-measure cumulative Pivot ranking uses finalised member metrics for sum and percentage targets, then recomputes the displayed totals from retained source records
  • Bounded Classic printer/background record output avoids complete temporary record and continuation copies whilst keeping known native printer bytes and the existing bitmap profile, including complete printer-setting continuation output
  • Source-backed Classic background import and copying hold large retained backgrounds out of per-worksheet resident arrays, share immutable lifetime across workbook copies and write complete BIFF8 continuation chains with bounded transient buffers
  • Bounded Classic worksheet output lists stage header, preheader and footer records one after another, keeping offsets, encryption and retained Pivot views
  • Lossless bounded Classic header/footer picture output preserves legacy continuation bytes and avoids a complete temporary serialised drawing copy
  • Bounded Classic comment-output staging takes the complete serialised comment transport out of resident memory whilst keeping plain and RC4 output, cancellation cleanup and retry
  • Automatic Classic chart titles and right legends derive qualified Line/Column geometry and stored fonts with no caller appearance declarations, source and series-name edits included
  • Selected Pivot value comparisons use the actual COUNT, AVERAGE or numeric aggregate with finite operands and retained-predicate ownership checks rather than treating SUM as every measure
  • Standard numeric Pivot ranking aggregations add COUNTNUMS, MAX, MIN, PRODUCT and sample/population deviation and variance to the ordinary TopCount/BottomCount, with source edits and native refresh
  • Selected COUNT and AVERAGE Pivot ranking runs ordinary TopCount and BottomCount with distinct measure orderings, cutoff ties, source edits and native refresh
  • Native Pivot BottomSum and BottomPercent run ascending cumulative targets over ordinary nonnegative numeric SUM measures, target/source edits and native refresh included
  • Native Pivot TopPercent orders ordinary numeric SUM members by a cumulative population percentage, with fractional percentages, represented source/target edits and explicit split-tie boundaries
  • Native Pivot TopSum orders ordinary numeric SUM members by their descending cumulative total, with represented target edits, source refresh and save/reopen ownership
  • Native Pivot TopCount and BottomCount pick members by an identified SUM measure, take in threshold ties and support represented count edits before materialisation; separate native controls qualify manual grouped row and column sorting by a second measure
  • Embedded XLSB pictures beside Line charts keep independent PNG/JPEG occurrences, payload and alternative-text edits, source-free reopening and repeated saves, with validated source endpoints or caller-calibrated fixed-grid projection and explicit refusal of unsupported content
  • Ordinary XLSB Line charts take multiple independently owned two-cell charts and series through public authoring, native XLSX/XLSB import, explicit recalculation/cache refresh, source-free binary reopening and repeated saves; the qualified representative has four charts and eleven series across two worksheets, with bounded graph ownership and explicit refusal of shared or unknown content
  • Public clustered Bar annotations capture two primary series with independent linear trends and fixed value-direction errors, source edits and normal save/reopen, with owned colours, shared-domain clipping and detached snapshots
  • Portable title layout and kerning keep the measured text origin and complete clipping frame when the recipient applies kerning, including glyphs with negative side bearings
  • Combined chart title and legend owners keep uniform explicit title styles and complete named annotation legends, including the separate square-key Bar profile and model-validated declaration owners
  • Multiple secondary annotation owners take independent linear trends and Y error bars for each represented secondary Line series in configured combined Column/Line charts, including an unannotated preceding series
  • Combined Line and Scatter marker layering finishes each represented series stroke before its plot markers whilst retaining existing geometry, clipping and admission boundaries
  • Combined annotation collections take the qualified Style 2 two-Column and secondary-Line profile through the configured public view, holding source edits, detached snapshots and native Columns/errors/Line/trend layering
  • Configured combined-chart capture takes explicit plot and error appearance through an owner-bound read-only view, freezes declared chart state before callbacks and keeps the existing undeclared-view behaviour
  • Finite detached combined annotations record a primary Column and secondary Line with an ordinary linear fit and represented Y errors, explicit plot bounds and stable clipping; the finite configured workbook view adds an explicit public route for capture
  • Standalone XLSB ODBC SQL metadata supports public metadata edits, generated XML and binary conversion, file and source-free stream persistence, with strict actual-source and command boundaries and with no query execution
  • Standalone XLSB OLE DB metadata supports owned import, public property edits, binary/XML conversion and file or stream reopen with strict raw-source ownership and checked-save boundaries, and without query execution
  • Ordinary XLSB external workbook references keep scalar and quoted-sheet area dependencies through registered live-source calculation, source/formula edits and binary save/reopen, with genuine imported and fresh authored native comparisons
  • Expanded XLSB reads and writes keep supported formulas and caches, names, merges, hyperlinks, panes, tables and filters with explicit unsupported-feature preflight; ordinary same-workbook sheet spans run through the existing calculator, ordinary named-span aggregates included, and Top/Bottom filters keep binary criteria and current applied worksheet thresholds
  • Delphi Linux64 compression helpers use the installed native zlib ABI with bounded transfers, strict input failures and lifetime handling that is verified
  • Native Pivot mathematical expressions add INT, TRUNC, SIGN, LN, LOG and EXP inside the qualified calculated-item and calculated-field profiles, with explicit subnormal and large cached-number boundaries
  • Grouped Pivot extrema admit MAX and MIN calculated-item measures within discrete manual groups, matching the Excel-authored fixture grid across subtotals and grand totals
  • Range and date grouped MIN/MAX measures verify natively at bucket, subtotal and grand-total scopes, and the innermost row or column field renders no subtotal rows, as Excel does
  • Collapsed Pivot members materialise as single aggregate rows replacing their subtrees, with the collapse flag surviving saves and native refreshes
  • Consecutive subtotal rows in four-row-field local OpenDocument Pivot projections bear their source-owned ancestor member labels at the ancestor columns, native projections keep the unchanged ancestor prefix suppressed, and a mixed ancestor spelling returns raw content without a typed Pivot or cache
  • Manual groups and outline layouts combine with collapsed rendering, including caption-styled top subtotals labelled by their plain item paths
  • Column-axis collapse and compact layouts materialise with stacked measure captions and implicit Total column headers, matching Excel-authored fixtures through native refreshes
  • Measure-sorted member ordering takes the sort measure from the autoSortScope data-axis reference and orders members ascending or descending with deterministic tie-breaking
  • Collapsed column members combine with multilevel column subtotals, spanning one range beside the expanded groups' subtotal and grand-total columns
  • Unequal theme font schemes carry over unchanged in cross-workbook Pivot copies and resolve against the destination theme, as native copies do
  • Opaque differential extensions carry through verbatim in cross-workbook Pivot copies, surviving native refreshes and saves
  • Long validation lists load past the 255-character limit in binary workbooks, and extension validations parse into the typed model, with cross-sheet formulas surviving edits and saves
  • Imported Classic early dates keep serial identity for stored conditional appearance and BIFF saving, fractional phantom-day neighbours included
  • Custom Pivot style-section copies keep complete owned differentials, with native applied-formatting qualification for underline, explicit false emphasis, source-owned colours, patterns and gradients; custom number-format ownership keeps its documented native display boundary
  • Pivot theme scheme copies keep the original scheme when destination font collections differ, whilst equal collection mapping keeps priority
  • Extension validation bounds keep both cross-sheet formulas through XLSX saves and reopens for represented numeric, date, time and text-length rules
  • Unknown validation types are kept as untyped rules with an honest diagnostic, resaving in the native bare-element rewrite form
  • Exact chart cache numbers carry the same seventeen-significant-digit precision through chart value and category caches with exact consumption on each parse path
  • Exact Pivot cache numbers extend the seventeen-significant-digit cell precision to source cache records and shared items both ways, with an Excel-authored fixture reopened and resaved exactly
  • Edited Pivot item formulas persist through saving by patching the preserved raw cache definition where it stands, with the imported identity tracked separately
  • Native Pivot MOD returns the exact binary remainder with divisor-sign reconstruction, flushes subnormal results to zero and puts guards on quotients at the natively observed boundary
  • Numeric cell precision writes ordinary numeric cell values and formula caches with seventeen significant digits and reads large decimal tokens with bounded exact binary64 correction, keeping explicit fallback bounds and the unchanged non-cell numeric funnel
  • Owned embedded OLAP cellsets pair caller-directed model and server-result refresh with detached unique-name tuple queries, explicit native numeric materialisation and digest-bound persistence, keeping the ordinary Open/Save provider isolation
  • External relational Pivot refresh keeps source connections and shared member identities through explicit provider fetch, cached queries, materialisation and XLSX save/reopen without implicit provider I/O
  • Embedded model metadata transport opens extended loading connections and keeps genuine model and OLAP definitions through file or caller-stream save/reopen, caches without fact records included; finite owned OLAP execution has a separate explicit contract
  • ODS textbox colours keep represented opaque text and solid outlines through public edits and save/reopen, hold imported implicit colours apart from authored defaults and report unresolved appearance truthfully
  • Ordinary ODS textboxes preserve supported plain text and cell-rectangle endpoints, isolate host-cell content and export sparse standard frames with truthful appearance plus newline-loss reporting
  • XLSB table calculations and custom styles keep supported local arithmetic definitions, owned built-in totals and custom whole-table, header and stripe formatting through typed edits and save/reopen, shared conditional-format resources included
  • Classic XTI continuations keep complete typed external-sheet reference tables and 3D formulas on normal reopen, with fixed-buffer output and explicit unsigned sixteen-bit count admission
  • Bounded Classic supporting-link output removes an aggregate external-cache output copy whilst keeping source ownership, checked physical framing, cache omission and retry boundaries
  • Classic native Theme persistence keeps admitted unchanged custom packages, font-only themes with default colours included, through owned source bytes and bounded Theme-specific continuation output
  • Selected Classic group insertion copies a represented typed subtree into an existing drawing or parent group, keeping existing destination objects and mapping image/font resources with explicit rollback boundaries
  • Classic flat connector ownership and worksheet copying keep represented endpoint references through normal save/reopen and sealed same-workbook or cross-workbook drawing copies, with unknown or ambiguous references rejected before output
  • Grouped Classic worksheet copies keep supported nested hierarchy, current typed edits, image use identities and text-run font values within or across workbooks, with explicit resource preflight and rollback boundaries
  • Typed nested Classic drawing groups keep real parent/child structure, signed local coordinates and outer worksheet placement through supported import, edits and save/reopen; qualified whole-worksheet copying and selected-group insertion have separate profiles, whilst arbitrary topology remains outside their bounds
  • Portable ordinary Dataset export uses the existing XLS/XLSX adapter on qualified Delphi macOS ARM64 with persistent font descriptions and explicit RGB colours, keeping real Windows font class compatibility and Dataset-state cleanup
  • Ordinary Delphi macOS ARM64 Classic XLS covers Unicode worksheets, executable local and cross-sheet formulas, repeated file and stream persistence, and fixed-width BIFF numeric fields through the recorded native bridge
  • Recorded Delphi macOS ARM64 query-provider execution verifies explicit UTF-8 CSV and borrowed providers, persisted query metadata, bounded results and cancellation/error recovery whilst keeping database and Web backend refusals explicit
  • Ordinary Delphi macOS ARM64 Workbook execution qualifies Unicode worksheets, dependent formulas, parallel recalculation and parsing, XLSX memory output and XLSX/XLSB file commits by way of the recorded native compiler/linker bridge
  • Ordinary Delphi Linux64 Workbook execution qualifies two-sheet Unicode and formula workflows, parallel recalculation and XLSX parsing, memory output and checked XLSX/XLSB file commits along the recorded native build path
  • Delphi Linux64 regular-expression, parallel-job and AES components qualify native UTF-16 pattern operations, the existing job scheduling and raw AES primitives; complete Workbook integration stays separate
  • Delphi Linux64 ZIP helpers qualify ordinary stored and compressed archives, UTF-8 entry names, plus copy and failure handling with fixed-width wire fields
  • Limited automatic Classic chart geometry derives validated Line and Column object and plot bounds from stored records, binds current custom-theme paint and keeps the qualified theme and font identities through save and reopen; the qualified category labels use their stored vertical-centre alignment, whilst complete native raster equivalence remains unqualified
  • Native COUNT, COUNTNUMS and PRODUCT calculated items use finalised member operands and derived contributions, keeping fractional COUNT output, report totals and qualified formula/source edits
  • Native calculated items under manual parent groups keep SUM member and ancestor identities through source and formula edits, cache refresh and save/reopen, with a corrected single-measure column-only header
  • Local XLSB UDF references keep explicitly declared ordinary VBA function calls through existing callback calculation, input/formula edits and binary save/reopen; public XML export refuses this finite profile before writing
  • Existing unsigned XLSB module source edits keep qualified standard, Class, UserForm code-behind, Workbook and ordinary worksheet document source through repeated binary saving and the XML bridge, with original declarations, document identities, exact encoding and independently decompressed native-saved text
  • Stable unsigned XLSB VBA projects keep opaque project bytes and bound workbook/worksheet CodeNames through supported save and reopen paths, with explicit refusal of signatures, unrepresented project edits and unsupported identities
  • Multiple explicit fonts in ordinary XLSB Notes keep supported run text and font properties through import, editing and XLSB/XLSX save and reopen, with UTF-16 boundary validation and bounded XML expansion
  • Ordinary Note drawing lifecycle covers source-qualified deletion, clearing and same-cell replacement with consistent package cleanup and explicit unknown-source boundaries
  • Delphi Linux64 time conversion and OLE consumers preserve explicit daylight-saving policies, fixed-width counts, Blob data and summary metadata in the focused native component qualification
  • One ordinary workbook-view revision UID comes through qualified XLSB saves, reopening and geometry edits with strict namespace and record ownership checks
  • Delphi Linux64 native compound storage supports explicit lifetimes, Unicode streams and independent deep copies as one more component towards full Workbook integration
  • Ordinary Note exclusion provenance comes through HotXLS OOXML save/reopen with truthful loss reporting and bounded per-Note state
  • Delphi Linux64 temporary-file helpers provide native owned creation, sibling commits and cleanup as one more component towards full platform integration
  • Stored names in Classic conditional appearance cover bounded workbook and current-sheet definitions and keep nested identities through save/reopen
  • Native local Pivot to ODS keeps a neutral data-only default subtotal through explicit local refresh and native result adoption, with typed ODS reopen, caller-visible caption/General decisions and truthful workbook loss reports
  • Ordinary local ODS Pivot aggregates import editable models, including the native hidden single-measure layout field, and export one current materialised SUM, COUNT, AVERAGE, MIN or MAX row view with explicit source freshness, numeric agreement and conversion boundaries
  • Ordinary native ODS Pivot return rebuilds editable one-row-field SUM models from compact and standard tabular definitions, keeps source/member identity and captions, and supports explicit source refresh with new numeric values
  • Interactive validation dropdowns and input prompts resolve inline lists (embedded double quotes included), worksheet ranges and defined names across Classic XLS and XLSX, take an array-of-items overload on both worksheet classes, draw the active cell dropdown button and yellow prompt callout in TXLSWorkbookViewer on VCL and Lazarus/LCL with a popup sized to its captions, open XLSB workbooks through the same XLSX engine, and commit selected items through edit history and formula recalculation; typed edits are checked against the cell's rule with Excel-style Stop, Warning and Information alerts, invalid stored values can be circled, and ValidateCellInput / ValidateCellValue hand the same checks to code; the headless native core resolves and selects the same lists without LCL
  • Ordinary ODS row data axes keep inner and outer measures, independent row-grand captions and explicit refresh/materialisation within the qualified local profile
  • Ordinary ODS row members keep NAME sorting, visibility, new-member defaults and independent captions through explicit refresh and qualified native consumption; the finite DATA-sorted multiple-measure profile adds actual aggregate-measure identity and explicit OpenDocument materialisation with consumer-specific result ownership
  • OpenDocument column member captions edit or clear represented column labels without changing source/cache member identity, retain distinct members with equal captions and source-name sorting, and follow explicit cache refresh and OpenDocument materialisation within the qualified single-row column-path profile
  • Multiple-measure local ODS Pivots keep independent aggregates, native two-header layouts and custom captions across source-free conversion and a qualified actual native refresh lifecycle
  • Control and OLAP ownership turn away out-of-family VML state and mismatched ODS implementations, isolate snapshot properties, uphold KPI budgets and insist on exact numeric KPI identifiers
  • Interactive form controls bring seven public families with linked-state validation, typed XLSX/ODS conversion and real Calc interaction
  • Classic fill and shape visibility keeps represented document inheritance, independent sibling flags and source-effective settings across whole-sheet and selected-group copies
  • Classic line visibility keeps known source-effective values across whole-sheet and selected-group copies; the corrected finite profile takes the place of the unqualified411 default and source-copy interpretation
  • The whole specified line Boolean word is covered, so a workbook default that specifies a line property beyond visibility and arrowhead edit permission is read rather than rejected, and a grouped copy carries every specified flag through with its use bit
  • Line Boolean properties inherited from a workbook default reach a grouped copy of a shape that did not specify them, paired with the bit that says they were specified, whilst a shape's own properties are still copied verbatim
  • The line Boolean word in a retained alternate property table rides through a grouped copy for every value the format specification defines, where the copy previously recognised exactly one such value and refused the rest, and it is carried as written rather than resolved
  • Fill and line foreground and background colours inherit from retained alternate and tertiary property tables as plain 24-bit RGB values with shape-before-workbook-before-built-in precedence, copies resolve the colour into the copied shape own ordinary table without depending on source workbook defaults, and non-RGB or ambiguous values stay retained uninterpreted or are reported unresolved rather than guessed
  • A master reference that names no master travels through a grouped Classic copy instead of failing it, closing an inconsistency in which the copy refused on presence a property the owner-graph preparation had already admitted at zero, whilst a reference naming an actual shape stays refused
  • Actual custom OLAP provider qualification ties same-generation native schema, tuple values, member order and model bytes through explicit Core refresh and source-free evaluation; separate public range checks cover eight hierarchies and sixteen measures
  • CUBE semantic identities keep captioned members and sets intact across references and recalculation, with supported sorting, enumeration and positive KPI metadata
  • Attached-source OLAP Pivot copying keeps represented known view extensions in their actual namespace context and independently owned native-order metadata through source release and file or stream reopening
  • Classic shape shadow flags expose independent visibility and obscured values and keep supported source-effective values through whole-sheet and selected-group copying, and the protection and picture Boolean words inherit a workbook default beside a shape local value through the same strict use-bit resolution
  • Typed ODS drawing groups keep supported nested image, chart and plain-textbox trees with explicit grid geometry, checked style admission and source-free reopen/save
  • OpenDocument page-anchored pictures, charts and textboxes keep their worksheet-origin geometry through XLSX and ODS conversion and stay fixed as the grid changes
  • OpenDocument page-anchored drawing groups keep supported embedded pictures, editable textboxes, worksheet charts and a fixed worksheet position through XLSX and ODS conversion. ODS saving holds supported named opacity gradients on solid textbox fills, and Open XML conversion retains the supported linear, axial, radial, and unrotated rectangular profiles
  • Literal chart data in ODS uses real hidden parent worksheet ranges for represented values, categories, bubble sizes and series labels whilst existing local ranges remain live; reopening exposes the actual hidden worksheets and range-based chart model
  • Automatic Classic series collections capture represented Line and Column series with source-owned formatting and collection-aware theme colours; body fonts include qualified Calibri 10-point axes and legends alongside Arial and title fonts include qualified Calibri 12-point bold, whilst imported Normal fonts draw on source-owned measurements within the explicit-grid and qualified geometry context, with format-defined unused position fields ignored
  • Classic chart position modes keep signed plot coordinates whilst ignoring unused padding and application-owned legend-size fields within the represented layout profile; supported stored numeric ranges hold an independent automatic axis crossing
  • Exact Classic worksheet scale keeps valid imported zoom fractions and explicit ratio-of-one presence through saving and whole-sheet copying; automatic chart capture binds the actual worksheet frame and pays no attention to undefined AUTO-layout numeric values within its existing qualified context
  • Page-filtered OpenDocument AVERAGE draws on actual selected numeric record weights, preserves missing source/cache identities and blank groups, and comes through native refresh/reopening, typed return and source-free worksheet copying
  • ODS parent/child Pivot row paths keep two through eight real row fields and 1..16 independent SUM, MIN, MAX, numeric-domain COUNT or source-weighted AVERAGE measure occurrences, including selected-measure DATA ordering, repeated source fields and captions, matching homogeneous subtotals or mixed functions without subtotals, explicit two-header data captions, source-owned subtotal captions across application locales, independently owned stream/reopen lifecycles and guarded metadata or whole-worksheet copying
  • Collapsed OpenDocument Pivot row details keep nonterminal member flags and source-derived prefix aggregates alongside expanded branches, including weighted averages, existing DATA measure occurrences and independently owned typed saving and reopening
  • Classic custom line dash arrays offer detached typed editing and supported source-effective whole-sheet or selected-group copying with preset, compound-style, line-width and cap context; native preservation, custom appearance and cross-format or portable rendering remain outside this increment
  • Classic custom dash arrays inherit from a master shape when the shape master flag agrees with a single follower-free same-drawing shape reference, reported together with the inherited preset, line width, end cap and compound style, whilst follower edits write a local override that never modifies the master and detached copies still refuse the master graph
  • Populated relational Pivot caches leave out records and relationships when SaveData is false, without clearing live values or unrelated saved caches
  • Expanded Pivot execution and object copying bring qualified provider layouts, source-free external Pivot copies, explicit scalar CUBE boundaries, safer interactive copies and stable repeated Classic saves
  • Physical chart anchors keep actual one-cell and absolute EMU geometry regardless of movement behaviour, with atomic editing, finite owned copies and source-free persistence; ordinary streamed markers keep bounded compatibility-metadata projection
  • Complete edge-mode manual plot rectangles work with normalised right and bottom coordinates during portable capture, whilst equivalent represented content survives source-free XLSX reopening
  • Expanded VBA module editing, XLSB drawings, relational Pivot copying and OLAP cellset APIs carry separate format and execution limits; portable automatic chart layout stays qualified for the finite profiles set out in automatic Cartesian layout, and a successful GDI PDF export does not establish portable capture support for another chart profile
  • Bidirectional XLSB PivotCache, PivotTable, Slicer and Timeline package objects translate xl/pivotCache/pivotCacheDefinitionN.bin, xl/pivotCache/pivotCacheRecordsN.bin, xl/pivotTables/pivotTableN.bin, xl/slicerCaches/slicerCacheN.bin, xl/slicers/slicerN.bin, xl/timelineCaches/timelineCacheN.xml and xl/timelines/timelineN.xml across standard and streaming XLSB read/write paths whilst coexisting with charts, tables, connections and VBA projects
  • ODS interactive objects and richer charts have separate representations: form widgets use ODF controls, Slicers and Timelines use degraded visible summaries with library-specific round-trip text, and threaded comments and richer charts keep their own conversion limits; native chart resave evidence does not qualify every control or conversation workflow
  • ODS SQL parsing defaults work with standard absent-false metadata, with real native save/reopen qualification for that default and explicit boundaries for true-mode storage and live database execution
  • ODS SQL parsing mode belongs to each query range, comes through assignment and semantic snapshots, and reports explicit loss when another target cannot represent it
  • ODS logical sources and independent intervals keep exact DSN identities, compatible query-owner partitions and per-range whole-minute schedules across assignment and source-free persistence, with no automatic database access
  • Qualified explicit ODS database refresh draws on a caller-verified local ACE source, actually fetched rows, native Calc refresh/save/reopen and offline typed readback, including a same-source two-query execution qualification with private provider binding and independent schedules; general SQL mode and automatic refresh stay separate
  • ODS external database connections and query tables convert SQL, table and named-query bindings both ways through <table:database-range> alongside worksheet AutoFilter ranges, keeping refresh intervals, layout flags and native LibreOffice Calc reopen whilst reporting preserved, degraded or dropped conversion fidelity truthfully
  • Automatic combined Cartesian chart layout resolves absolute PlotArea inside bounds for ordinary Style 2 Column, Line and multi-Area charts with no caller plot declarations, using pre-getter view preparation, 16x subpixel font measurement, measured line-height label gaps, endpoint category overhang and internal zero-crossing label placement
  • Strict OOXML textbox import automatically admits qualified flat one-cell and two-cell DrawingML textboxes on a normal XLSX open with paint, inset, clip/overflow, uniform Latin font-matching and language metadata, owner-bound inactive source envelopes and positive drawing ID gap allocation at MaxInt
  • Typed textbox geometry copying keeps exact cell geometry, inline font presence, colours, independent logical/paint order and ownership through finite CopyFrom, AddCopy and Duplicate operations
  • Textbox cell geometry keeps fixed one-cell extents and exact two-cell EMU offsets through typed ODS editing, OOXML output, semantic snapshots and portable geometry, with explicit conversion and native default-grid limits
  • Materialised drawing occurrences publish their represented worksheet anchor in the semantic snapshot with editAs behaviour, namespace-validated unique direct markers and worksheet grid bounds, the occurrence transform stays a mode-discriminated local displacement, and unrepresentable anchors refuse with their own messages whilst a refusal leaves the workbook usable
  • Materialised pictures in the portable render snapshot capture as scene objects with their final point rectangle, image kind, transparency, clipping and complete bytes from PNG or JPEG payloads, refusing scaled groups, rotation, flips and incomplete or unresolvable frames before capture whilst ordinary semantic snapshots stay unaffected
  • Grouping, splitting and copying accept a mixed ordinary and materialised drawing selection as one coherent projection, preserving represented geometry and repeated resource identity through same-workbook and cross-workbook copies, source-free save and reopen, with publication faults rolling the selection back in order whilst cameras, charts, GIF and SVG frames stay refused
  • On-demand memory-stream loading keeps deferred query routes in the materialised model, the emitted output and a retried materialisation after the source file is released, matching the route inventory of a full open
  • The classic semantic snapshot holds the decoded chart 3D scene, so workbooks that differ only in rotation, elevation, distance, height, depth, gap or the perspective, cluster, autoscale, scaling and wall flags no longer compare equal
  • Uniform textbox fonts keep owned Latin font family, exact hundredth-point size, bold and italic overrides through ODS editing, OOXML output, semantic snapshots and portable capture, with independent presence and explicit mixed-format boundaries
  • RAD Studio 13.2 ARM64EC runtime packages take the complete HotXLS package and matching RTL/VCL dependencies, with native package identity, formula and PCRE2 execution, XLSX file/stream persistence and complete unload/reload qualification through command-line builds and actual native execution
  • Existing Delphi macOS ARM64 platform helpers have actual synchronisation, threadvar, random-byte and Unicode file-stat evidence by way of a recorded native linker bridge, whilst complete Workbook integration remains separate
  • Delphi Linux64 platform helpers qualify synchronisation, file stamps, random bytes and locale keys as a component towards further platform integration
  • Retained known OfficeArt properties use bounded owned-source reads and writes with checked wide sizes and picture-frame copying that is qualified
  • Independent two-series Scatter labels keep separate fits, fonts, anchors and equation/R-squared switches apart
  • Quoted Pivot source names resolve spaces, escaped apostrophes, punctuation and Unicode across refresh and save/reopen
  • Ordinary XLSB cell notes keep complete uniform fonts, authors, Unicode text, visibility and box dimensions across the supported public edit/save/reopen paths
  • Authorised batch signature replacement coordinates existing ordinary-part edits and explicit re-signing whilst verifying all unselected signatures and publishing one audited output
  • Classic TopN metadata ownership guards rank, percent and bottom edits with the owning workbook lease and generation whilst keeping imported differential bytes
  • Native standalone Classic TopN filters cover represented edit/save/reopen and explicit empty styles whilst keeping untouched differential bytes and the existing gradient bridge
  • Rendered trendline equation labels add explicit linear Scatter equation/R-squared text, owned appearance and guarded persistence with label bounds that are native-qualified
  • Atomic drawing-property replacement keeps existing property state when a prospective record is malformed or a complex-body read fails
  • Positive XLSB cell-rich tints keep represented colour selectors through bounded binary quantisation, quarter tint included, whilst keeping live run values and repeated-save font stability
  • Active XLSB solid foreground and outer-border theme tints admit finite nonexact values and the native black endpoint, with explicit source namespace and colour-selector ownership checks
  • Ordinary and rich XLSB font tints admit finite nonexact values, keep represented values through reopening and correct the native black endpoint whilst leaving the live source tint unchanged
  • XLSB cell rich text keeps shared and inline runs, effective font identity, explicit resets and represented colours through public edits, cloning and save/reopen, with bounded metadata and file-backed shared-string staging
  • Ordinary XLSB data validation covers represented rule types, relative and absolute bounds, ordinary named lists and rule UI settings through public checking, editing and save/reopen, with owner-sheet evaluation and bounded conversion
  • Executable XLSB dynamic arrays keep mutable spill ownership, typed modern errors and represented future-function dependencies through calculation, edits and save/reopen, with bounded metadata and explicit producer/calculation provenance
  • XLSB fixed CSE arrays preserve array ownership and typed caches, cover whole-array edits and calculation, and encode typed constants with bounded ownership events and lazy disk-backed shared-string cache lookup
  • XLSB shared formulas recover mixed relative and absolute references with typed caches through public calculation, editing and save/reopen; the package bridge also writes explicit shared groups with bounded metadata and normalised first-member anchors
  • Bounded XLSB output uses row and shared-string record encoding, fixed external-sort workspaces and file-backed transactional package staging with memory gates measured at 100-fold row growth
  • Selective and lazy XLSB reading discovers metadata or selected sheets without converting skipped bodies, keeps original source provenance and caller metadata, and refuses incomplete saves until retained sheets are materialised
  • Classic chart-sheet creation keeps the requested ordinary chart type, independent series marker sizes and literal chart or axis titles intact through Excel opening and workbook round trips
  • XLSX local custom text filtering handles Excel wildcards and escapes for equality and inequality, whilst typed numeric and Boolean comparisons and preserved native filter definitions carry on as before
  • LAMBDA expressions take immediate, grouped and chained invocation; inline, named and LET-bound calls keep their reference identity for reference consumers
  • Table formulas with unqualified current-row references bind to the worksheet, row and column of the evaluating cell across calculation, contextual evaluation and read-only views
  • XLSX iterative calculation walks circular components and the downstream formulas they affect against a global change threshold, and keeps progress across repeated calculation
  • One-cell fixed CSE formulas keep scalar cell caches, typed errors included, whilst evaluation APIs that return arrays explicitly keep their array results
  • A chosen set of scalar numeric, text, date/time and type-check functions evaluates array operands element by element, ISBLANK among them, with row and column broadcasting and per-element errors; an array-condition IF picks out the matching elements, whilst ordinary scalar references keep their shape and named-range row intersection
  • Theme and custom RGB tint conversion uses Excel-compatible HLS quantization, greyscale and channel-boundary behaviour included; BIFF8 theme setters retain supported theme-slot and quantized tint metadata alongside palette fallbacks
  • Delphi ARM64EC static applications use an explicit build entry with pinned ARM64EC compression, cryptography and UTF-16 regular-expression dependencies, payload validation and execution evidence on native Windows on ARM
  • Native Windows ARM64 applications run Free Pascal 3.3.1 for workbook calculation, file formats and the bundled UTF-16 regular expressions, with Lazarus/LCL integration validated separately and architecture-specific toolchain selection
  • Native Linux x64, Linux ARM64, macOS x64 and macOS ARM64 applications write Standard and Agile encrypted OOXML files, with complete encryption containers and atomic destination replacement
  • Native Linux x64 and macOS ARM64 workbook APIs load, edit, calculate and save supported XLSX, XLSB and ODS files using genuine platform services
  • Native Classic BIFF8 workbooks offer editing, calculation, large nested compound containers, document properties and standard RC4 or 128-bit CryptoAPI output on Linux x64 and macOS ARM64
  • Windows wide Classic output explicitly selects a version-4 compound container for a prepared Workbook stream beyond 2 GiB whilst retaining ordinary version-3 output and transactional publication
  • Bounded compound-stream extraction: copy complete CFB entries or selected 64-bit ranges in at most 64 KiB payload chunks, qualified version-4 streams beyond 4 GiB included; allocation metadata stays loaded under explicit budgets
  • Native structured-storage payloads: non-Windows storage interfaces enforce an 8 MiB resident payload capacity budget per document and share one registered spool across promoted entries, keeping detached input ownership, and support 64-bit stream reads, writes, sizes and independent clone cursors; native serialisation borrows complete 64-bit ranges and picks version 4 for large containers
  • Bounded compound writing covers borrowed stream ranges and large version-4 containers; indexed mini-stream reads avoid loading unused root payload bytes whilst keeping complete chain checks and explicit metadata budgets; streamed mini output also avoids holding the complete aggregate small-stream payload
  • Native document payload pools count actual memory capacity and temporary reallocation reserves, keep payload state on promotion failure and hold independent 64-bit stream cursors within shared file extents
  • Compound writer queue scaling uses balanced parent/name lookup, geometric reserved capacity and staged allocation whilst keeping insertion identities and complete output bytes
  • Native storage node indexing speeds up parent-scoped lookup and CopyTo whilst keeping enumeration order, stream identities and rename/delete behaviour, and refuses ambiguous duplicate input names
  • Large-container range-lock allocation sets aside the mandatory sector near 2 GiB across stream and metadata chains, keeping bounded transfers and small-container output compatibility
  • File-backed native workbook commit removes complete-container memory staging on non-Windows targets whilst preserving file replacement, stream cursors, cancellation protection and bounded publication
  • Windows file-backed Classic and VBA-project saves swap whole-container HGLOBAL staging for native version-4 storage, retained child lifetimes and bounded transactional publication
  • Retained Timeline conjunctions preserve independent ordinary date criteria through native refresh, source edits and supported record growth/removal, qualified empty SUM intersections and native captions included
  • Retained Timeline subsecond output combines supported nearest-second cache projection with independent date conditions and exact native-stable helper formulas whilst keeping live source dates
  • Negative OA source dates keep their calendar day and fractional time through numeric OOXML interchange in both date systems, with matching ordinary Pivot source identity
  • Shared Timeline ownership keeps distinct ordinary predicates and independent date selections, retires verified helper groups for Strict output and swaps a converted selection when Timeline UI is restored
  • Timeline auxiliary Strict lifecycle retires verified helper ownership into standard date criteria and brings Timeline UI back after native reopen, with calendar-correct refresh timestamps and explicit precision/mode losses
  • Explicit linear chart ticks cover bounded major/minor units and ordinary zero crossings for primary Line and Scatter scenes
  • Portable chart error bars cover fixed, percentage, sample deviation, standard error and asymmetric scalar custom errors with explicit paint and plot clipping
  • Per-point custom error data keeps independent positive/negative local references and literal caches, with single-value broadcasting, guarded ownership and bounded portable preparation
  • Single-sided chart errors preserve plus/minus identities and applicable custom data through editing and bounded portable rendering, native sample-centre and selected-cap behaviour included
  • Stored error-bar line appearance keeps independent RGB and width components, correct component clearing and opaque-shape identity, with per-direction portable styling
  • Hidden error-line restoration keeps visibility and supported RGB/cached-system-colour mementos, with direct unsaved capture and early visible-stroke width checks
  • Typed VBA source ranges skip large compiled caches, keep unsigned module offsets and preserve complete prefixes during source editing without automatic whole-stream materialisation
  • Stream retained semantic payloads writes VBA and supported Classic Ctls bytes through bounded ranges with unchanged snapshot bytes and SHA-256 identity, payloads above MaxInt included
  • 64-bit Classic read positions keep physical record and decrypter cursors across 4 GiB with checked seeks, partial-read accounting and explicit algorithm/wire-field boundaries
  • Bounded Classic shared-string input staging moves growing SST/CONTINUE wire groups into a registered temporary file whilst keeping physical string boundaries, rich and phonetic tails, encryption, and normal model ownership
  • Bounded ordinary Classic output stages main Workbook globals, encoded shared strings and worksheet body records into temporary files with fixed buffers, keeping offsets, cipher traversal, failure ownership and transactional target publication
  • Mixed Classic drawing transport keeps unknown wrappers around supported flat objects with checked physical tail ownership, current typed edits and bounded source lifetimes; arbitrary opaque metadata hangs on to its separate native acceptance boundary
  • Large unknown worksheet drawing leaves keep owned raw data and logical parent slots through copying, public import and bounded complete output whilst preserving mixed-object record order and wide offsets
  • Retained EMF/WMF identity and large source ranges preserve native BSE/UID/geometry bytes through save and copy, with bounded payload storage and reference counts that stay independent per target
  • Bounded large embedded PNG/JPEG import stages complete global drawings and keeps independent image sources through copy, input-stream closure and whole Workbook resave, with failure-safe per-picture replacement
  • Classic Pivot page-field records and source ownership map cache-item indices to six-byte SXPI view-item ordinals with legacy ten-byte read compatibility, isolate multi-view raw spans by their internal identity and emit complete SXVDEx and SQL_TYPE_NULL generated cache metadata
  • Checked generated Classic Pivot metadata refuses unsupported text lengths ahead of physical-field narrowing, keeping valid output bytes and explicit caller repair
  • Bounded Classic Pivot line preparation derives generated tuples and record-local compression on demand, keeping complete logical streams whilst removing expanded output arrays and refusing wrapped combination counts
  • Large file-authored PNG/JPEG retention adds actual 64-bit raw sizes, bounded raw export and shared immutable source copies that come through original Workbook destruction and support complete large Workbook saves
  • Bounded complete Workbook drawing staging removes the second full drawing copy, preserves encryption and wide sheet offsets, and writes through checked 64 KiB IStream calls with failure cleanup and retry
  • Wide global drawing output adds checked Int64 picture/group sizes and bounded borrowed-stream BIFF serialisation, keeping named picture bytes across parsing, copying and both output paths
  • Global drawing read ranges keep full positions through Classic picture-store, FBSE, drawing-ID and complex-property parsing, with container extents that are checked
  • 64-bit drawing aggregate ranges keep Classic sheet drawing parser positions and node progress beyond 2 GiB, with checked legacy widths and cross-4-GiB header access
  • Checked Classic writer positions and bounded sheet names keeps 64-bit internal aggregates, validates the actual BIFF wire fields and discovers names without copying the whole Workbook stream
  • Win64 storage timestamp compatibility passes native time records by reference, keeping source call syntax and correct retained-interface metadata updates
  • Shared immutable printer settings reduce complete payload duplication in represented Classic and XLSX worksheet copies, retain detached public byte access, enforce ordinary Classic input limits before full chain aggregation, and convert recognised Windows bodies with the correct Classic prefix within the unchanged 1 MiB limit
  • Stream-backed Classic payloads detach nested storage data into shared registered files, with Int64 size queries, bounded copying and isolation for editable clones
  • Retained BIFF8 embedded objects preserve supported native MBD storages, object bindings and metadata through original-format saves, large nested payloads included
  • Incremental Classic encryption preserves existing cipher bytes and independent cache resets whilst processing generated record blobs without an extra whole-stream buffer
  • Native Pivot output supports numeric, date and manual grouping and eleven custom subtotal functions; imported Pivot ISO timestamps keep their time-of-day before the OLE date epoch across supported report layouts
  • Workbook comparison retains strict value types and exact large integers, finite numeric tolerances, optional formula caches, effective styles, geometry, rich text and bounded supported feature definitions, including local Pivot, Slicer and Timeline state, whilst keeping sparse storage and previous results on failure
  • ODS preserves ordinary note text and authors, representable value and custom filters and equivalent passwordless protection, with precise conversion loss reports; cancelled stream saves leave the destination untouched, and nonzero-position saves retain valid ZIP offsets
  • FORMULATEXT reads stored expressions without evaluating their target, and GETPIVOTDATA queries supported visible aggregates from bounded detached local caches across XLS, XLSX and isolated evaluators; native XLS inline cache values and report-filter references keep their identities, whilst incomplete or unsupported caches yield explicit errors
  • INDEX, SORT, and UNIQUE accept computed arrays and constants, so filtering, sorting, deduplication, and row or column extraction compose naturally with automatic XLSX spill resizing and fixed-range CSE calculation; INDEX accepts row, column and area selector arrays with orientation-aware broadcasting and per-cell typed errors, takes area 1 for a calculated source, and keeps supported scalar multi-area reference identity through defined names, LET and scalar CHOOSE; see INDEX area selection for examples and boundaries
  • Named styles retain linked format parts and local overrides, whilst every built-in light, medium, and dark table style resolves into the effective format used by editing and export paths
  • A unified drawing facade surfaces mixed image, chart, textbox, preserved-anchor and nested-group order, with group and ungroup operations for represented child layouts; retained metadata and foreign copying follow the qualified owner profiles
  • Connectors through TXLSXWorksheet.AddConnector and TXLSXConnector.ConnectTo: a line anchored to a cell rectangle whose two ends attach to shapes at a chosen connection site, written as the connector element the format defines so the application holds the line glued to both shapes, with an unset end written as no connection; authored drawing objects are numbered from 2, leaving 1 to the drawing root as the application does, and a connector read back from a workbook is the same editable object rather than a preserved blob; a shape or connector turns about its centre through Rotation in degrees, stored in the transform and read back, with a turned connector keeping both ends attached, and throws the ordinary outer shadow through Shadow, which reads back from a workbook that already carries one
  • TXLSFormatSnapshot captures a complete classic format independently of its source workbook and IXLSRange.ApplyFormat applies it to cells, rows, or columns
  • A ZIP package can be written straight to a sink that cannot seek — an HTTP response, a pipe, a download builder — through TZipArchive.StreamMode: each entry defers its CRC and sizes to a trailing data descriptor, the writer holds its own byte counter instead of patching the local header, entries may pass four gigabytes, and the central directory carries the true 64-bit values for readers
  • Formula evaluation is refused for the data-fetching callbacks (WEBSERVICE, RTD, DDE) unless a host switches them on, and the refusal now holds on every build: the default evaluation options set both switches explicitly
  • Classic and XLSX worksheets can be read and written through one pair of role interfaces — IXLSCellReader and IXLSCellWriter, implemented by TXLSClassicCellRoles and TXLSXCellRoles — so a shared routine is written once instead of twice
  • Read-only workloads can open a workbook through TXLSMappedFileStream, a memory-mapped view of the file: the package blows up out of the mapping with no system call per read and no read lock, and the same workbook answers identically either way
  • A worksheet reads into typed objects a row at a time through TXlsObjectCursor: Next answers one object per row with only that object alive, NextInto recharges a caller-owned one, and the header, start cell and row limit come from the same import options the bulk writers use
  • A template can switch an authored chart between columns and rows with {{#swapseries Title}}: one series per data row, the header row serving as categories, the row label as the series name
  • Report templates place hyperlinks with {{#hyperlink}}, either on the directive cell with a visible label or on a named cell whose own text serves as the display
  • The compiled report runner runs structural directives with the same pass as a template run: {{#if}} blocks keep only the chosen branch, {{#merge}}, {{#delete}} and {{#format}} shape the sheet before autofit and save, and ApplyStructuralDirectives lets a host that drives targets itself run the same pass
  • Classic and XLSX workbooks expose the same streaming SaveSemanticSnapshot and incremental SHA-256 ComputeSemanticHash APIs, with Content and SecurityComplete profiles plus explicit viewer-state, volatile-metadata, and formula-cache switches; a sheet that states no style of its own records none, so equivalent content built by either engine compares and hashes equal instead of carrying the typeface each engine resolves for an unstated cell
  • A streaming export that knows its grid can skip the staged worksheet entirely: DeclareDimension(Cols,Rows) before AddSheet writes the dimension hint ahead of time, so the sheet streams straight into the package and the resulting worksheet part is byte-identical to the staged path’s
  • The streaming writer’s tracked-column-width mode can hold its staged worksheet bounded: SheetStageSpoolBudget holds the first bytes in memory and rolls the rest to a temp file that is read back transparently, with SheetStageSpoolFileBytes and SheetStagePeakMemoryBytes reporting the move; the default still stages entirely in memory
  • New XLSX sheets keep compatible row-major typed bulk writes in packed RLE storage, answer existence and storage-statistics queries without materialisation, and expand once into stable cell objects only when object-level access requires them
  • Classic and XLSX cell stores and worksheet collections expose independent structural generations so long-running readers can detect topology changes without treating value, formula, format, rename, or activation edits as structural invalidations
  • Cell handles keep default style state allocation-free, and identical style-only blank cells share a reference-counted payload with copy-on-write isolation for later local edits and measurable saved bytes in storage statistics

Compiled reporting and data composition

  • TXLSCompiledReportTemplate compiles placeholders once across cells, rich text, comments, threaded comments, hyperlinks, drawings, charts, headers, footers, sheet names, defined names, and workbook document properties
  • TXLSCompiledReportBand expands defined-name row, column, and cross-tab bands from bounded one-pass data snapshots whilst preserving formulas, dependent objects, and explicit axis metadata; an {{#image Key}} directive settles its picture through the image provider and clears its cell, and the band reports completion, cancellation, applied count and runtime issues through LastResult
  • TXLSCompiledTableReportBand expands one-row Excel table templates whilst retaining headers, totals, filters, sorting, formulas, styles, structured references, and safe true-zero-row results
  • IXLSReportTable, IXLSReportCursor, IXLSReportRandomAccessTable, and TXLSReportMemoryTable provide one contract for virtual and in-memory sources
  • TXLSReportRelationIndex builds exact typed compound-key buckets once for average O(1) master-detail lookup without duplicating row payloads
  • IXLSReportTableProvider and TXLSReportDataContext register explicit and lazy tables, whilst BeginRun creates an isolated IXLSReportDataSession with case-insensitive hash lookup, negative caching, deterministic provider-error caching, and immediate same-alias recursion spotting; compiled templates, runners, range bands, and Excel-table bands automatically use one session per logical run, both PreprocessAndRun passes share the same snapshot, concurrent runs stay isolated, and every success, cancellation, or failure path releases its snapshot before returning
  • TXLSReportDataRequest and IXLSReportDataResolver add named or user requests with ordered typed parameters, source metadata, read-only run control, and explicit unhandled, resolved, not-found, or data-error results; resolvers register by case-insensitive provider key for O(1) dispatch, legacy providers stay compatible through an adapter, explicit tables remain authoritative, and a run rejects conflicting fingerprints for the same alias before a second resolver call
  • TXLSReportDataLimits bounds cached aliases, named and legacy providers, table schemas, names, parameters, strings, and error messages; malformed source coordinates, control characters, duplicate parameter names, unsupported Variant containers, invalid result combinations, recursion, and mid-resolution cancellation fail before target commit, whilst cancellation removes the unfinished cache entry for a clean retry
  • TXLSReportTableFactory supplies lazy top, projection, union, and split cursors plus row count, minimum, aggregate, and duplicate-keeping hash joins
  • TXLSReportQueryProvider exposes only registered read-only query definitions to templates and passes typed parameters plus bounded timeouts to a host-side executor
  • TXLSCompiledSheetReportBand and TXLSCompiledOverflowReportBand create dependency-aware per-record sheets and bounded continuation sheets from a forward-only cursor
  • TXLSReportIncludeLibrary resolves recursive named includes, reports cycles deterministically, and freezes into an immutable reusable collection
  • Compiled report conditions, lookup, regular expressions, and dynamic formulas re-use parsed expression nodes and resolved column indexes
  • TXLSReportDynamicFormat and TXLSReportFormatEvent apply record-aware number formats, row heights, and column widths at compiled-target fineness
  • IXLSReportImageDataProviderV2 and TXLSReportImageBinder resolve typed image targets from bounded bytes or owned streams with stable worksheet, band, table, logical-row, cursor-row, read-only current-row, anchor, transform, cancellation, and size-limit context; runners, generators, range bands, and Excel-table bands bind each target directly without scanning the generated worksheet cells
  • V2 report images derive physical size and DPI from bounded PNG, JPEG, GIF, BMP, EMF, or WMF headers, support Natural, centred Contain, cropped Cover, and Stretch fitting, reject unsafe raster geometry before mutation, and preserve anchor-relative offsets through XLSX and ODS round-tripping
  • IXLSXImageBlob and TXLSXImageBlob let repeated images share one immutable raster and SVG payload with a one-time SHA-256 digest and optional cache key; XLSX and ODS reuse distinct media payloads across sheets and reinstate shared payloads on reopen
  • Dependency-aware chart rebinding translates series, formulas, names, and anchors whenever range and sheet bands expand
  • TXLSCompiledReportRunner reports begin, target, saving, and end phases, supports cancellation, stream and atomic file output, exact applied counts, and reusable execution across isolated data sessions too; ErrorMode selects compatible stop behaviour or continued handling of explicitly typed data, provider, division-by-zero, and invalid-regular-expression failures, StrictDataAccess exposes missing data instead of legacy blanks or sentinel counts, and immutable LastResult snapshots retain ordered runtime issues and terminal state across runner reuse
  • Report stream, file, and encrypted-file output uses one staged transaction; fatal, cancelled, serialisation, partial stream-write, and file-replacement failures preserve the complete prior destination, whilst successful unencrypted output keeps the source workbook format and large stream rollback snapshots spill to managed temporary storage
  • Report output skips backup snapshots for empty destination streams whilst keeping rollback of the destination contents and position if output fails
  • Compiled targets evaluate before dynamic formatting, then atomically commit content, number formats, row heights, and column widths with exact rollback; recoverable cell diagnostics clear formulas, retain the remaining base style, and share pooled red-font and yellow-fill derivatives across equal base fonts, whilst safe non-cell targets preserve their original value and structural targets remain fail-fast
  • TXLSReportRuntimeLimits bounds retained issue count, sanitised message length, and issue memory before target mutation; messages are single-line and redact common credentials, and RuntimeDiagnosticsSheetName optionally writes one structured diagnostics worksheet that round-trips alongside the generated workbook
  • TXLSReportGenerator owns the full read and generation lifecycle for workbook, file, stream, and encrypted-file templates, with paired events, stable worksheet context, safe cancellation, atomic-clone output isolation, and the same recoverable-error and immutable-result contract as the compiled runner has
  • CloneRangeTo clones selected cells and identity-bearing dependencies with mixed-reference translation, overlap preflight, and fixed-source linear repeated tiling; whole-axis conditional and validation targets follow structural edits and clones that fully contain each target, whilst whole-row, whole-column and whole-sheet cell copies keep sparse storage and safe overlapping source snapshots; intersecting virtual style overlays also copy and remap without expanding blank coordinates, and destination overlay formatting outside the copied rectangle stays intact
  • TXLSReportPaginationPlanner provides fixed footers, keep-together groups, row splitting, merge-similar spans, and evenly balanced report columns
  • Compiled report analysis, strict execution, and WriteDiagnostics report malformed placeholders and missing values with target kinds and precise addresses
  • TXLSReportTemplateChecker and TXLSReportTemplateMigrator reuse compiler semantics to validate templates and convert supported legacy placeholder forms too

Accessible, vector, image, and web output

  • TXLSPDFTagMode and DocumentLanguage generate automatic PDF structure trees with tables, rows, semantic header and data cells, informative XLSX picture Figures with Unicode alternative text, dense per-page marked-content identifiers, merged-cell spans, exact parent trees, and artefact isolation for decorative pictures and other non-semantic drawing
  • TXLSPDFSignature supports visible or invisible signature fields, contained, covered, or stretched PNG appearances, host-supplied CMS data, digest callbacks, patched byte ranges, and explicit DocMDP certification policies for no changes, form filling and signing, or form filling, signing, and annotations without ever storing private keys
  • TXLSPDFAProfile selects PDF/A-1a, 1b, 2a, 2b, 3a, or 3b with profile validation before output commit; PDF/A-3 associated files carry a Unicode name, MIME type, description, byte size, modification time, and Source, Data, Alternative, Supplement, or Unspecified relationship by way of the detailed AddAttachment overload
  • Reusable PDF begin, page, and end progress plus cancellation rule out partial destination streams
  • Style-aware PDF font fallback chains cache glyph coverage and embedded faces whilst keeping supplementary characters, grapheme clusters, and extraction mappings
  • Contextual complex-text shaping applies ligatures, combining-mark positioning, Arabic joining, and source-cluster mappings ahead of glyph output
  • Native axial and radial multi-stop PDF gradients, per-stop alpha masks, cell fill patterns, clipping, and image shadows reuse cached graphics resources too
  • Cell comments can become positioned Unicode PDF text annotations whilst comments-at-end output stays available
  • TXLSSvgExport renders ranges, worksheets, workbooks, pages, and named objects with vector text, opt-in safe links, charts, shapes, and pictures; page callbacks return one complete SVG at a time, deterministic ID prefixes isolate embedded documents, and the shared page renderer paints Excel cell fills, collapsed borders, per-cell fonts and alignment, shrink-to-fit, and neighbouring overflow
  • TXLSPageImageExporter reuses one pagination session whilst incrementally producing selected PNG or JPEG pages, or writes selected pages atomically as one LZW-compressed multipage TIFF
  • TXLSGraphicsBackend and shared pagination geometry align preview, print, PDF, SVG, image, HTML, and object placement while serialisers retain format-specific encoding
  • The bounded EMF and WMF decoder validates record envelopes and turns away escape records before replaying its safe subset through shared Canvas and SVG geometry: DC state stacks, window, viewport, and world transforms, pen, brush, and extended-pen object tables with stock objects, rectangles, ellipses, line chains, polygons, Bézier curves, path brackets with fill, stroke, and combined passes, rounded rectangles, arcs, chords, pies, and angle arcs, region fills and frames, bounded text runs with fonts and alignment, and stretch-DIB images re-encoded as PNG; clipping and private records stay outside the whitelist and fail closed into the bounded raster fallback
  • Classic and XLSX HTML exporters provide an explicit spreadsheet view with semantic row and column headings and typed pure-CSS hot tracking; external links share one URI sanitiser that rejects script, data, blob, file, UNC, and control-character targets
  • XLSX date-axis charts use workbook serials as continuous coordinates, preserve the 1900 leap-day compatibility slot, honour the 1904 date system, and advance ticks by real calendar days, months, or years across shared pagination, SVG, PDF, image, preview, print, viewer, and HTML rendering; omitted units are inferred once across all visible series, automatic density uses the visible span, axis width, measured label font, number format, and rotation, and configured major and minor gridlines reuse the same bounded tick collections
  • XLSX date-axis models preserve independent presence for base, major, and minor calendar units plus the date-axis automatic-category flag, so omitted ChartML elements stay omitted whilst explicit day units and false Boolean values round-trip; typed Classic date-axis extension fields retain every raw value and flag while active values can be mapped onto the XLSX axis model
  • Multi-level category axes preserve leaf-first sparse caches and live two-dimensional ranges, inherit omitted labels while treating explicit empty labels as boundaries, merge equal labels only inside their parent span, honour reversed and right-to-left order plus hidden categories, and expose NoMultiLevelLabels for single-level output
  • Cell-sourced chart data labels preserve independent formulas and indexed caches per series, refresh local worksheet display text once per workbook generation, retain external caches without implicit access, translate formulas through worksheet copies and report expansion, and honour shared plus per-point visibility across pagination, SVG, PDF, image, preview, print, viewer, and HTML rendering; Chart data references are written without a leading equals sign, so a saved chart resolves its series the way spreadsheet applications expect and the binary workbook target accepts authored charts; a plot group can vary its point colours explicitly and keeps that choice through a model rewrite, cell-sourced data label switches and ranges assigned by the caller are saved with the chart, clearing a range switches it off, and data label number formats and placements, a label text style (font name, size, colour and weight) written as the label text properties and read back from them, a per-entry legend text style written into that entry and read back from it, per-point fills written as point overrides and read back from them, data-label leader lines with their own colour written and read back, bubble plots written with their size scale, size meaning and per-series depth flag, 3-D bar risers written as cone, pyramid or cylinder in both the Open XML and the binary format, up/down bars plus drop and high-low lines with their own colours, a chart title and any axis title linked to a cell reference, a chart title composed from runs with their own colour, size and weight, and sparkline groups with a date axis, hidden-data plotting, right-to-left order and pinned vertical bounds, gallery style numbers validated against the set the format defines, dependency-graph queries for the ranges a formula reads and the formulas that read a cell, deterministic scan-memo hit and miss counters per recalculation with the gate decision that produced them, and a lookup memo that engages for single-value dynamic-array formulas instead of being switched off by them, per-point custom data-label text, two-stop linear gradient fills for a series, the chart area and the plot area, and preset pattern fills for a series, the chart area and the plot area, as well as a series solid fill assigned by the caller are saved with the chart, cleared when the assignment is cleared, and never resurrected by a later save whilst an unchanged chart still round-trips its preserved part, OpenDocument conversion names the loss of cell-sourced labels, which fall back to the category and value text, and a manual layout set on the labels of a series is kept verbatim through saving and reopening instead of being applied to the plot area, survives copying a worksheet within or across workbooks, including a copy that outlives its source workbook, and remains outside the portable projection profile
  • Classic XLS and XLSX workbooks share a lossless three-state object display policy; hidden objects are excluded before range expansion and media work, the viewer renders lightweight named placeholders, and PDF, SVG, bitmap, print and HTML exporters can opt into placeholder output whilst full-object output stays the de; the automatic legend band and the axis label gutters follow their own text sizes whilst keeping the calibrated 11 point figuresfault
  • Manual chart layouts preserve independent field presence and invalid source tokens, resolve factor and edge modes with bounded size-preserving placement, tell inner and outer plot targets apart, share title, legend, plot-area and axis-title geometry across pagination, SVG, PDF, image, preview, print, viewer and HTML output, and convert supported ODF positions through absolute chart distances
  • XLSX date axes preserve label number formats and source-link state, apply axis text styling and clockwise rotation, honour reversed direction, and retain continuous spacing for duplicate and sparse dates across pagination, SVG, PDF, image, preview, print, viewer, and HTML rendering
  • Formula-display mode resolves the same protected-cell-aware final text, alignment, and bounded twofold effective layout width across the workbook viewer, preview, print, image, EMF, SVG, PDF, Classic HTML, and XLSX HTML paths without touching stored values, formula caches, or column widths
  • Flatness-driven adaptive cubic Bezier arcs share one precision contract across PDF, SVG, and image output, allocating extra segments only when scale or eccentricity calls for them
  • PDF outlines support nested Unicode bookmarks, colours, bold or italic text, and expanded or collapsed descendants, with page callbacks for backgrounds and overlays
  • Resolved named and built-in table styles flow through shared HTML, PDF, image, preview, and viewer formatting without materialising blank cells
  • TXLSSvgExport.SaveObjectAsSVG renders one named chart, image, or shape at its exact object bounds without cropping a whole page
  • HTML export emits charts and shapes as inline SVG and preserves SVG pictures, drawing anchors, links, and supported effects without whole-sheet rasterisation
  • TXLSXHtmlExportSession scans shared styles once and then exports worksheets incrementally with progress, cancellation, and a reset hook
  • TXLSImageRenderEffects applies crop, brightness, contrast, gamma, rotation, opacity, and shadow the same way across graphics backends
  • Preset shapes, adjustments, callouts, flowcharts, text boxes, and WordArt use shared vector geometry whatever the output format
  • Advanced chart rendering covers error bars, trendlines, date axes, numeric spacing, cell-sourced labels with custom-first component ordering, and financial high-low and up-down bars too
  • Dense and pie chart labels receive deterministic collision adjustment and leader-line routing ahead of final vector output
  • AMORDEGRC and AMORLINC round depreciation in 64 bits, so a cost above two thousand million holds every digit of its first and later period amounts
  • MOD floors its quotient in 64 bits, so a dividend above two thousand million holds its remainder, and it answers #NUM! where the application refuses a quotient outside its 40-bit range
  • The rounding family keeps 64-bit precision: EVEN and ODD answer values above two thousand million exactly, and ISO.CEILING/CEILING.PRECISE/FLOOR.PRECISE follow the application’s direction rules for negative arguments
  • NUMBERSTRING spells a number as a Chinese worksheet spells it — everyday, financial and digit by digit — with the ten-thousand and hundred-million group labels, one marker for a run of skipped places and the leading one before a tens place
  • DATESTRING answers the application’s short date text — two-digit year, month and day with their character suffixes, including the fictional 1900-01-00 and 1900-02-29 the calendar cannot hold, and #VALUE! for a text date the application would not parse
  • Identical styles on empty formatted cells are recognised by a 64-bit fingerprint of the style rather than a rebuilt key string, so a hundred thousand blanks fold in a fifth of the time and opening such a workbook is faster, whilst a cell never takes on another cell’s look
  • A write out of order in a dense numeric sheet holds the sheet packed: the cells written become objects that shadow their stored slots, and the collection counts a shadowed slot once, so the sheet stays at a few bytes per value instead of one object per cell and still saves, reopens and reports the right cell count
  • Bond pricing for a long first coupon period agrees with the spreadsheet application to every digit it prints: ODDFPRICE and ODDFYIELD step through the quasi-coupon dates inside that period by the first coupon’s day of the month, measure each part against its own length, count the quasi periods still ahead of settlement, and discount the actual/360 and actual/365 bases by the actual days to the next quasi date

XLSX features ready for application code

The XLSX API now covers practical workbook generation, report output, and workbook mutation scenarios rather than only simple cell writing

  • Worksheet structure Cells, formula calculation, whole-range and merge-across ranges with direct merged-range lookup/removal, row and column sizing with bounded AutoFit, outlines, hidden rows and columns, frozen panes, active sheet state, hidden and very hidden sheets
  • Styles and presentation Fonts, fills, borders, number formats, alignment, rich text, theme colours, indexed colours, tint and shade, diagonal borders, and reusable style pools
  • Excel objects Hyperlinks and comments with cell lookup plus range deletion helpers, images and standalone drawing text boxes with anchor lookup and range deletion helpers, conditional formats and data validations with range-aware lookup and deletion helpers, Excel-style tables with by-name lookup and deletion helpers, AutoFilter criteria with direct column lookup and deletion helpers, chart objects with title lookup and deletion helpers, chart sheets, defined names with scoped lookup and deletion helpers, VBA project keeping with HasVbaProject / VbaProjectDefined queries plus existing-module source inspection and editing, and external workbook links with target lookup and removal helpers
  • Page and metadata support Worksheet view modes, print areas, title rows and columns, gridline and heading print options, manual page breaks with index lookup and range removal helpers, Date1904 workbooks, document properties, application metadata, and stream-based saving and opening

Output formats from the same workbook data

HotXLS is not limited to binary workbook files. The current APIs expose direct export paths for common integration and reporting jobs

XLS Classic Excel 97-2003 workbook read, write, modify, constant-state loaded-cell cursor with owned snapshots, optional independently styled blanks, and fail-fast topology validation, quick sheet-name discovery from files or streams, by-name sheet lookup, pane helpers, workbook active-tab, saved-by metadata, VBA payload load/save/clear helpers plus existing-module source inspection and editing, and window geometry/state controls, tab, scrollbar, AutoFilter date-grouping controls, worksheet view, gridline colour, and frozen-pane Window2 flag fidelity, outline style controls, worksheet protection permissions, page setup flags with bounded byte-exact BIFF printer-driver payload preservation, copy-isolated public payload access, and typed-field-priority conversion to XLSX, multi-key range sorting, built-in cell styles, document properties, and export workflows
XLSX OOXML workbook generation, formula calculation with expanded function coverage and A1 references across the full 1,048,576 × 16,384 sheet grid as well as OnUserFunction/OnUserFunctionEx, constant-state loaded-cell cursor over materialised sparse blocks or packed storage with owned snapshots, optional independently styled blanks, and fail-fast lifetime validation, loaded-cell scanning and callback writing, bounded AutoFit limits for report column widths and row heights, deterministic sparse XLSX-to-BIFF8 conversion through SaveXLSXWorkbookAsXLS with locked indexed-colour preservation, weighted OKLab palette quantisation, and preflighted typed printer settings, byte-exact worksheet printer-settings part preservation with copy-isolated public payload access, exact clear semantics, and dangling-relationship diagnostics, Excel-compatible AES-encrypted save and load (ECMA-376 Standard Encryption) with AES-NI acceleration and software fallback, VBA project preservation with HasVbaProject / VbaProjectDefined queries plus existing-module source inspection and editing, template text find/replace, configurable workbook/range HTML export, direct AutoFilter criteria lookup/removal and preview evaluation, direct embedded-image anchor lookup/removal, range-aware conditional-format and data-validation lookup/removal, and round-tripping through the dedicated lxHandleX facade
XLSB Validated values and basic styles through the XLSX facade, including typed numbers, Boolean values, Unicode text, ordinary errors, styled blanks, worksheet visibility, ordinary views, row and column dimensions, page margins, ZIP compression and deterministic timestamps; complete package staging and mandatory feature checks turn away unsupported formulas, names, feature objects and nondefault calculation settings before destination commit
ODS OpenDocument Spreadsheet import with styles.xml data, row/column dimensions, inherited cell styles, basic formula conversion, sheet protection, named ranges, untyped cached scalar values, fractional date seconds, and negative time durations. Full export runs via SaveAsODS writing typed cell values, formulas, rich text, merged ranges, hyperlinks, images, charts, conditional formats, data validations, freeze panes, print ranges, outline groups, and optional extras TODSExportOptions control into a valid ODF package
CSV / TSV Delimited-text import via OpenCSV with automatic separator sniffing, BOM encoding detection, RFC 4180 quoting, optional value-type inference, per-column import directives, and fixed-width slicing, plus workbook, worksheet, and range export helpers with stream and file overloads and space-padded fixed-width output
HTML / RTF / PDF Table-oriented exports for reports, previews, email bodies, and document handoff, including selected range fragments, configurable HTML titles, table layout attributes, hyperlink anchors, comment tooltips, vertical alignment styles, rich-text run styles, conditional differential styles and number formats, colour scales, directional data bars, icon-family glyphs, and minimal table output. TXLSHTMLImport imports one selected top-level table or every table at a one-based target cell with an explicit decimal separator, whilst preserving the original all-table overloads. SaveWorkbookAsHTML publishes every visible XLSX worksheet in one navigable document with stable per-sheet anchors and escaped sheet names. RTF also imports back by way of OpenRTF, mapping table cells or paragraph lists to A1 by default or to an explicit one-based target row and column through the extended overloads. The workbook SaveAsPDF combines all visible worksheets into one document, renders solid and conditional fills, colour scales, data bars, conditional icons, font colours, sizes, bold, italic, and underline emphasis, alignment, explicit borders, and optional gridlines, and follows print areas, paper size or custom point-precise paper dimensions, orientation, margins, zoom, fit-to-width settings, column widths, row heights, manual page breaks, repeated title rows and columns, and left, centre, or right headers and footers — including the &F file-name and &Z path field codes and optional header or footer band suppression — whilst paginating wide and tall ranges across both axes; CalculatePageCount reports the complete logical page count without building PDF objects, and a one-based FirstPage and LastPage select an output range whilst preserving total-page fields. TXLSPaginationModel exposes those decisions as reusable XLS and XLSX logical pages for VCL print preview, PDF export, custom canvases, and EMF output, including repeated titles, over-then-down or down-then-over ordering, 10% to 400% fit scaling, and drawing placements
Portable PDF / SVG / PNG Native portable rendering hands over detached scalar and scene snapshots, preserves drawing order and clipping, and uses bounded Cairo rendering with explicit font files; workbook print plans apply print areas, titles, page setup, breaks and fit scaling without recalculation or source alteration

Why use it

HotXLS keeps spreadsheet generation inside your Delphi or C++Builder process. That makes it suitable for desktop utilities, batch tools, services, and installers where Office automation is brittle or simply unavailable

RAD Studio coverage

The package targets Delphi and C++Builder from XE5 through RAD Studio 13.1 Florence, with versioned package projects and per-version output directories

Free Pascal 3.2.2 with Lazarus/LCL is also supported on Windows Win32 and Win64 by way of the runtime package Lib/FPC/HotXLSLaz.lpk, including XLS/XLSX workbook APIs, direct streaming (Enterprise edition, by way of Lib/FPC/HotXLSLazEnterprise.lpk), formulas, and the TDataToXLS and TGridToXLS export components for LCL datasets and TDBGrid

Run build-FPC-Lib.cmd Win64 or build-FPC-Lib.cmd Win32 to compile the package, then Tests/Lazarus/Run-HotXLSLazarusSmoke.cmd Win64 or its Win32 counterpart to verify workbook and compression round trips; set LAZARUS_DIR for a custom installation

Windows LCL applications must include the LCL Interfaces unit before HotXLS units and add Lib and Lib/FPC to their unit search paths, plus Lib to the include search path; VCL demo forms, the VCL workbook viewer and the DevExpress grid adapter stay Delphi/C++Builder components

Native Linux x64 and macOS ARM64 applications load, edit, calculate and save the supported Classic XLS, XLSX, XLSB and ODS models; Classic BIFF5 text uses explicit declared code pages, whilst BIFF8 compressed Unicode retains exact UTF-16 code units and native calculation and search keep Unicode case matching

Supported legacy chart text is transcoded when its code page changes, and unrepresentable or unsupported byte-text migration refuses before changing the caller output; repeated ZIP reads release their prior header metadata, and named-style lookup includes the first stored entry

See Free Pascal and Lazarus support for application setup, legacy-encoding contracts and regex compatibility details

The portable output subsystem draws native PDF, SVG and PNG on Linux and macOS with FPC, Cairo, FreeType, HarfBuzz and FriBidi; it consumes immutable snapshots from the supported native workbook core, with explicit font geometry and resource budgets

Distribution-friendly

Source, packages, build scripts, demos, local HTML documentation, and installer integration are included so teams can build, test, and ship without leaning on a web service

Start points

Use these local files first when assessing the library or wiring it into a project