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 in the package

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

Single, Small Business, and Enterprise editions

The editions build on each other and ship in both full-source installers (HotXLS-STD, HotXLS-SME, HotXLS-ENT) and precompiled DCU binary installers (HotXLS-DCU-STD, HotXLS-DCU-SME, HotXLS-DCU-ENT). Single contains the complete core library, Small Business adds the HotXLSSB add-on package, and Enterprise includes every Small Business feature plus the HotXLSEnterprise add-on package; the binary-only HotXLS-TRIAL build includes both add-ons under the usual trial limits

Single edition (HotXLS / HotXLSLaz)

Small Business edition (HotXLSSB / HotXLSLazSB)

Enterprise edition (HotXLSEnterprise / HotXLSLazEnterprise)

RAD Studio projects add the HotXLSSB package next to 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 that calls a member of a higher edition without its add-on 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 keep using the classic API while new projects can 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 remains unchanged

Classic XLS facade

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

  • Indexed formula-output intervals avoid repeated scans of preceding rows when rebuilding large dependency graphs, 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, while explicit Recalculate refreshes existing values
  • Scalar defined-name references intersect single-row or single-column ranges at the formula cell, while 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 keeps 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 while 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, while 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, while 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, prioritizes finalized 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 while preserving empty text, typed errors, array bounds and the original blank identity of source cells and intermediate operands; detached evaluation retains 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, while custom properties and opaque root relationships retain distinct relationship IDs
  • Classic XLS retains absent imported margin records until the corresponding margin is explicitly set, without changing default margin output for new workbooks
  • AGGREGATE handles uncached errors and nested selection independently, with separate reference and computed-array semantics for options 0 through 7
  • XLSX round trips retain unmodified chart XML and chart anchor offsets, conditional-format font names, sizes, schemes, explicit style flags and RGB colors, and an unspecified page orientation when only margins are set
  • XLSX date cells retain implicit date formatting after reopening and saving with linked named styles, while explicit date and General formats keep precedence
  • Portable cell rendering supports 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 protects the original Timeline graph
  • Header/footer pictures can use explicit source/recipient DPI and Normal-font digit/line metrics, with optional pixel quantization after document scaling and unchanged point geometry by default
  • Portable cell output supports 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 while preserving original source dates and stored selections
  • Explicit recipient header/footer image mapping also captures marker-font segment spacing, preserving default point geometry and source text while respecting paragraph, line and clipping boundaries
  • Portable capture and Cairo output support seventeen ordinary two-color 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 colors, the marker and high/low/first/last point options, group or custom axis bounds, empty-cell handling and right-to-left, while still refusing a date-axis or otherwise unresolvable sparkline
  • Packed XLSX cell reads traverse mixed styled runs without skipping or inventing cells and return typed errors consistently through snapshots, cursors, content capture and materialization
  • Sparse icon overrides retain their intended positions through XLSX saves, and validation storage-mode edits obey workbook read leases and mutation tracking
  • Ordered XLSX row and column formatting survives saving within the bounded compensation policy; the fictitious 1900 leap day retains its original numeric serial and date format
  • XLSX font-family retention keeps unspecified classifications unset and preserves explicit classifications through buffered and streaming save/reopen
  • Encoded and packed XLSX styles retain referenced pools, linked named parents and represented built-in formats through saving; range formatting keeps packed values unmaterialized, while resolved-style overloads carry built-in number formats separately for supported rendering and XLS/ODS conversion
  • Stored XLSX cell styles retain the complete default style when the style index is omitted, override row and column defaults consistently, and preserve empty cells with a named-style parent through file and stream roundtrips
  • Ordinary XLSX gradient fills preserve standard stop positions during import and saving, with compatibility for earlier generated stop attributes
  • Automatic gradient colors retain required color nodes in XLSX and Strict output; worksheet phonetic settings keep their font references valid when unused fonts are removed, and represented source theme-version metadata survives XML saving
  • Fixed numeric Pivot date filters retain calendar meaning across both Excel date systems, including supported imported operand edits, target-epoch changes and explicit native materialization
  • Portable modern cell output supports 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, retaining output-byte limits and destination failure contracts
  • Portable headers and footers support explicit recipient font metrics and detached logical advances for multiline text, mixed pictures and measured footer placement
  • Modern portable conditional capture supports bounded two/three-stop color 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, with an explicit strike-off clearing a struck base font and native Excel applying 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, preserving source state during read-only portable capture
  • Classic conditional gradient writing creates, edits and clears represented CFEX and cell-value CF12 gradients, preserving 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 with legacy solid approximations, palette planning and conditional scalar composition
  • Portable conditional gradients support 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 retain their binary representation, with represented new/changed Classic gradient writing in the profile above and further advanced contexts still in progress
  • Portable conditional patterns retain all seventeen pattern families, partial foreground/background inheritance, blank-cell display and represented Classic CFEX colors, priorities and stop behavior through capture, copy and save
  • Portable duplicate text criteria preserve wildcard equality/inequality, explicit empty strings and qualified ASCII relation ordering with bounded text populations and unchanged source values
  • Standard-deviation conditional boundaries include exact native thresholds in direct evaluation and portable appearance while retaining 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 separates verified preparation from committed publication with explicit destination recovery
  • Verified OPC editing and re-signing applies explicit create/replace/remove plans to an authorized signed original, audits direct and indirect content-type effects, repairs declared ordinary dependencies, and publishes only the final verified signature
  • Verified OPC signature replacement binds replacement to the actual old package, certificate and signature location, preserves ordinary content, and publishes only a newly signed and fully verified package through a caller-owned signer
  • Explicit OPC signature issuing creates 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 returns individual results for every signature, and applies caller-owned trust to the actual verified selection while 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, preserves old signature bytes and coverage, publishes only after final verification and ownership audits succeed, and accepts 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 in the replacement signature, preserve unselected signatures through actual staged and final verification, and audit exact authorized part bytes before publication
  • Authorized multi-signature selected replacement binds the original package, explicit signature part and original certificate to the caller-owned replacement, preserves all unselected signatures and unchanged parts, and checks actual cross-signature interference before invoking the signer
  • Explicit selected-signature trust composes actual OPC verification with caller-owned anchors, UTC time, EKU and revocation policy on Windows, returning precise authenticated coverage and certificate/package identities
  • Verified workbook load rollback retains the old owned model and signature binding on represented parser, baseline, read-callback and cancellation failures, preserving existing model references and public configuration facades until a successful replacement
  • Combined Cartesian axis roles support 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 distinct 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 global-series Auto marker shapes
  • Represented native Style 2 chart projection retains 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 supports 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 retain 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 normalized dates twice
  • Classic embedded chart frames retain 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 supports qualified public Line/Scatter declarations, multiple parent series, typed-model reconstruction and independent intercept or forecast values with display labels disabled
  • Native Classic linear trend curves attach auxiliary trendlines to their actual data series and project qualified Line/Scatter geometry from current worksheet values, with explicit plot declarations and raw-preserving save/reopen
  • Portable cached Line and Scatter trendlines render six regression and moving-average families with represented fixed intercepts, forecasts in axis units, adaptive curve geometry and plot clipping; represented stored OOXML trendlines retain types, names and regression settings through reading, editing and saving; arbitrary native appearance and rendered equation labels remain separate work
  • Shared computed trendline labels retain 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 supports ten date periods, both workbook epochs and explicit per-view reference dates with native Sunday week boundaries
  • Bounded modern conditional icons render 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 render supported standard and rich bars with signed thresholds, custom lengths, axes, direction, negative colors, borders and hidden values; typed rich-bar persistence supports guarded edits and linked Transitional output with explicit rejection of unsupported identities
  • Portable line/scatter charts render explicit Circle, Dash, Diamond, Dot, Plus, Square, Star, Triangle and X markers in plot points and legend samples, including 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, centers 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 centers follow the symbol-specific native phase, so fills, centers and outlines match Excel vector exports at the qualified sizes while circle and square scenes stay unchanged
  • Dot markers are centered 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 draw plus, X, and star markers with a filled square and foreground strokes, including keys in supported annotated legends
  • Supported annotated combined charts capture automatic overlay legends in all four directions. Automatic horizontal legends wrap and keep their marker keys aligned. At 120 DPI, top and bottom overlays with a complete manual rectangle also support wrapping and keep the last row aligned
  • Explicit dot and dash markers use device-pixel alignment in portable combination charts and appear in supported annotated legends
  • Supported imported Pivot date filters can be added, cleared or replaced, retain actual open or closed bounds, and support explicit cache refresh and native materialization
  • Qualified Strict output composes subsecond Pivot projection with explicit Timeline date-criteria conversion while retaining source dates and selection
  • Direct authored Timeline-to-Strict output preserves qualified ordinary date intersections and empty-member domains without an 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 while 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, preserving date selection, child visibility, empty intersections and existing output budgets
  • Timeline member domains and Strict intersections retain 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 through refresh and save/reopen cycles
  • Same-field Pivot date conjunctions combine supported ordinary conditions with explicit Strict Timeline conversion, retaining original condition identities and detached saved report bodies
  • Strict Pivot core reopen supports 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 render represented data labels with complete text, numeric formats, explicit or default placements and bounded read-only font measurement
  • Portable explicit calendar axes retain 1900/1904 epochs and month/year spacing; positive logarithmic Line/Scatter axes share bounded transforms across series, ticks and labels, while label metric envelopes preserve complete short and long text
  • Portable Column and Bar negative fills retain represented inversion and explicit RGB colors; automatic Bar plots measure complete category gutters, and ordinary local absolute or mixed A1 references capture without changing their cached output
  • XLSX negative fills retain inversion and inactive RGB colors independently through saving, reopening and worksheet copying. Existing standard theme-color 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 based on the actual source number format; workbook file-sharing settings are modeled 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, unrecognized 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 survive same-workbook load, ordinary edits and repeated saves, retaining 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, while unsupported cross-workbook Classic copies refuse before destination creation; the typed XLSX header and footer image API has its separate media-copy and ownership behavior
  • Copying a Classic worksheet keeps the preserved header and footer block 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 active when a workbook retains inactive fit-width and fit-height values; IsFitToPages reports the selected mode consistently with Zoom, including after reopening, and preserves 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 initializes printer-dependent fields only when their setters require it
  • Zoomed Page Layout chart geometry uses the saved worksheet scale as an owned device-pixel grid, so 125% Page Layout automatic layout passes independent native Excel comparison; 75% remains retained
  • Active zoom for every Classic view survives 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 survives 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 survives 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 writing the destination
  • 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 initiate file or network access
  • 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, while Classic XLS and ODS report the operation as unsupported without package scanning
  • Classic XLS and XLSX worksheets expose matching pane-aware selection and 1-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 while preserving active-area identity with deterministic survivor and boundary-cell fallbacks, and large area operations remain amortized 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, discovers 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, while 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 color indexes, BIFF icv values, and OOXML indexed colors; palette, automatic, system, and invalid tokens remain distinct, border index zero keeps its unspecified meaning, ARGB output is normalized, and operating-system colors 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, returns public and physical indexes with distance and exact-match metadata, rejects partial alpha, and resolves equal-distance ties to the lowest public index
  • Both workbook engines expose a deterministic, side-effect-free ScanIndexedColorUsage inventory for all 56 physical palette slots, including normalized ARGB values, definition and reference counts, consumer kinds, and preservation locks across styles, sparse cells, worksheet objects, charts, comments, and conditional formats without materializing unused cells
  • Both workbook engines expose a mutation-free BuildBiffPalettePlan preview that protects indexed consumers, aggregates direct and resolved theme colors by rendered frequency, preserves existing exact matches, maps colors deterministically through OKLab, and reports source identity, slot changes, exact coverage, weighted error, and overflow quantization without changing the workbook or save behavior
  • Both workbook engines can validate and atomically apply a current 56-slot plan through ApplyBiffPalettePlan, rejecting stale or tampered input before any mutation and rebuilding the perceptual matcher once; Classic workbooks additionally provide an explicit BiffPaletteSavePolicy whose default preserves historical output, whose optimization 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 serialized 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 while keeping screen scaling out of output-coordinate scaling
  • Default-hidden XLSX rows retain explicit visible overrides, existing row visibility when the default changes, source-free worksheet copies and structural edits; clearing hidden rows restores a visible default without discarding stored empty rows
  • Optional Windows source-owned single-line cell metrics expose 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 provide 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 stay 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 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 only selected fields or exclude sensitive fields while keeping headers, data rows, callbacks, and column widths aligned
  • Automatic XLSX dynamic arrays resize and own their spill cells, preserve user obstructions with #SPILL!, support A1# and unary @, and recover ownership after reopening; fixed CSE formulas evaluate raw range arithmetic element by element
  • Multiple-array MAP and computed-array FILTER preserve per-element errors, while 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! survive 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 appear as dropped DigitalSignatures in conversion reports for every output target; strict checked saving rejects before changing file or stream destinations, independently of unknown-part preservation, while 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, while unsupported edited profiles reject even when loss is allowed
  • Bounded OPC package signature integrity verifies the supported RSA-SHA256 signature and selected typed part References directly from supplied ZIP bytes, with strict package identity, CRC and DEFLATE completion checks; every result remains explicitly untrusted, while 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 normalized content binding, with output-local signed-edit handling; explicit existing-part package edits preserve 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 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 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 retain 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 and explicit annotation or correction-workbook operations
  • CELL reads actual referenced file identity, supported base number formats, alignment, locked state and column width across XLS and XLSX; INFO("recalc") reads workbook calculation mode, while 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 while 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 resolve 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, lock-free handler invocation, 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, 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 irrevocable 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 ignore text, blanks and logical values inside a reference and report 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 authorization, and stable failure categories, while IXLSFormulaEvaluationTemplate reuses an immutable compiled anchor across target cells under configurable formula-length, step, recursion, and array-memory budgets
  • A cell that holds 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 one 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 traversal that preserves 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 recognizes 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 authorized
  • Lossless formula-token inspection and guarded mutation for both workbook engines through 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, direct typed array writes through ForEachCell, FindText, ReplaceText, WriteCells, and the numeric, string, and variant row and column writer methods, plus whole-sheet or single-cell ConvertFormulasToValues that freezes formulas into their calculated results while 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 changing workbook state; lifetime leases invalidate readers safely after workbook destruction, shared-formula members retain 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 unmaterialized, 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, reducing 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 before 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 opens a file or network resource implicitly
  • 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 materializing 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 serialized, 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 explicit apply refreshes changed caches even when 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 while 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 for circular references; disabling full precision rounds formula and What-If data-table caches to their effective displayed numeric precision before dependants consume them
  • Advanced worksheet filter execution supports literal display-value selections, date groups, Top/Bottom-n and percentage filters, relative-date and average filters, colors and conditional icons, with explicit resource budgets, stable date evaluation, cancellation and transactional visibility updates; table-style visual colors are excluded to match native filtering, gradient fills remain distinct from solid colors and NoFill, rich-text font colors 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 colors, including newly authored XLS and XLSX notes with their respective default geometry, visibility and ordinary black shadow, without recalculation or source mutation
  • AutoFilter, list data validation, Excel tables with header-less layouts, per-table comments and custom-style names that preserve 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, color 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 materialization, 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 while 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, retains 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 materialization evaluates an isolated cache, rejects unsafe overlaps, preserves cell objects and formatting, and tracks 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, preserves 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 colors, 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 over the encrypted package, and classic write reservations (SetModifyPassword) carrying the recommend 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 while preserving hidden state and honoring per-member bounds
  • Classic copied print areas and repeating row or column titles retain 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 colors, merged cells, comments, hyperlinks, row and column layout, frozen panes, protection, page setup, tab color, 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 retain cache-member identity when displayed items use a different 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 previews; an OpenDocument export that refuses a view carrying calculated members or calculated items names that cause, beside the external and OLAP classifications; OpenDocument chart conversion also names chart element protection as dropped, rounded corners, overlay title or legend placement, the plot-visible-only switch and the blank-cell display mode as degraded
  • Transactional native Pivot worksheet output supports grouped layouts and custom row subtotals; local SUM calculated fields and cache-owned items preserve context sums, solve order, supported display calculations and filtering; MAX/MIN calculated-item measures add qualified ungrouped native aggregation, while unsupported states reject before mutation
  • Pivot Timelines and Slicer data states provide local 1900 and Date1904 date filtering, selection-preserving removal, shared-view lifecycle and explicit native no-data item refresh
  • Automatic query providers refresh supported Text, ADO, ODBC and Web queries explicitly (built-in providers in the Enterprise edition), with bounded results and registered custom providers
  • 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 retained and portable Classic chart appearance remains 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, modeled 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 described above
  • Text and statistical calculated-array arguments preserve function-specific coercion and errors, pair covariance by original positions, and honor calculation budgets
  • Defined names in aggregate calculations preserve 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 nonstandard 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, preserve stable handles 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, while 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 serialization 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 colors export as resolved colors
  • ODS and XLSX round-trip supported flat textbox shadows with black at 40% opacity and a two-point diagonal offset
  • ODS and XLSX preserve center 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 authorization because grid edits can change the rotation in native applications
  • Loss-authorized 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 materialized 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 right loader
  • Formatted display text preserves 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 switch 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 the open
  • 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 multiline 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, generation-checked zero-copy row views, PeakRowBufferedBytes, and SheetPassesStarted make long-running scans observable and safe, while TXLSForwardReader adapts the same backends to one-based sheet and cell callbacks without opening skipped worksheet parts
  • Progress and diagnostics: classic XLS and XLSX workbooks provide work callbacks plus begin/work/end callbacks with cancellation, while 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, while 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, while existing readers retain the original bytes; delete access, non-delete-sharing locks and readonly protection are checked before a single commit, with no save retry, and older or unsupported filesystems retain the legacy commit path
  • Actionable file-save diagnostics: TXLSXWorkbook.SaveAs(FileName) and its explicit-format overload preserve the native Windows error when destination replacement fails, 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 serialization; 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, while 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 materializing 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, while shared strings and auxiliary XML parts stream one entry at a time through a single reusable UTF-8 serializer
  • 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 keeps 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 retain 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, while other sheets keep their names and visibility but no cells; call LoadSheet(Index) to materialize a skipped sheet on demand from the original archive; saving, copying or converting the workbook fails while 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, while stream-backed workbooks, changed source files, modified payloads, unsupported compression methods, and compressed-size mismatches use transactional serialization fallback or rejection paths
  • Workbook extension preservation: XLSX open and save retain foreign workbook-root namespace declarations, markup-compatibility attributes, complete workbook-level <extLst> payloads, and their unknown relationships while 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 while the surrounding workbook stays fully editable; edited slicers keep the authored part envelope — namespace declarations, unknown attributes and children — through caption edits, renames, deletes and added views, and conflicting or unbound bindings are refused instead of silently dropped
  • 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 prepared unique names, rich-text runs, classic array root coordinates in cells editable protected ranges with their names, ranges, passwords and security descriptors, drawings whose shapes are grouped declare their namespaces once on the drawing root and let the children inherit them, cloned tables that leave their save-time ids unassigned unless a slicer, timeline or pivot table on the new sheet names them, the OpenDocument import-loss record with its protection key so a copy keeps reporting what the import dropped, the ranges whose errors the sheet ignores, the sheet view (grid, zero and formula switches, reading order, ruler and white-space switches, view kind and zoom levels, frozen panes, splits and scroll positions, tab colour, sheet visibility, print area and repeating titles, the AutoFilter range, and the header/footer record with its first-page and odd/even switches, and the page setup (orientation, paper size, scale or fit-to-page, the six margins and the print options)), and pivot materialization that keeps the identity of every cell handle a caller already holds, including cells read from a packed worksheet; unsupported raw packages keep refusing explicitly instead of 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 remain compatible projections of the first view
  • External defined names and refresh failures: TXLSXExternalLink parses, stores, and round-trips <definedNames> entries from linked workbooks, while 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) over 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 next to 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, retaining 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 preserve 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, and 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, and 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 while 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, and 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 — smaller files and faster generation; OnProgress and abort-capable OnProgressEx report begin, page, and end states, while Cancel stops long exports without committing a partial PDF to the destination stream
  • PDF cell text fidelity: real 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 centering, 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 synthesized bold/italic cuts of the Unicode face
  • PDF charts: worksheet charts draw 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 gets 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 colors, 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 recolor 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 follows 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 scan order, windowed FindTextIn / ReplaceTextIn that confine the search to a rectangular range, and a per-match replace callback, Excel-semantics grouping via the TXLSXWorksheet.Subtotal overloads (labeled SUBTOTAL rows, grand total, and outline levels), A1ToR1C1 and R1C1ToA1 converting formulas between A1 and R1C1 reference styles in both directions, 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 preserves 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, while 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 materialization when background data or a resource is requested; known formats retain their conversion between engines; the workbook viewer displays valid backgrounds behind unfilled cells, while 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 reuse
  • 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 complement 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 recognition, while range-level CopyToClipboard publishes both Unicode tabular text and styled HTML with formulas, merged cells, links, display formatting, and embedded-delimiter preservation
  • 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 materializing 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 retain their original bytes when saved
  • Reusable pivot layout designer: TXLSPivotDesigner exposes 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 convert 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, while 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, materializes an inherited shape default the destination does not declare, and refuses a differing destination color palette before any target publication
  • Owned Classic default columns derive 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 preserves property-like records inside unknown drawing containers without replacing the surrounding picture properties during saving and source-free picture copying
  • Materialized XLSX drawing groups expose local transforms for nested charts, images and residual shapes, preserve occurrence identity through supported splits and regrouping, and retain source-free copy graphs and copied column-grid context
  • Automatic Classic boundary and negative-only layouts retain 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 derive the narrower chart client from the saved Chart base and meet the 0.75-point native geometry comparison through copy and XLS reopening
  • Classic Page Layout view kind is reported from the owned PLV flag and stays stable 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 without changing the cached Normal view zoom
  • Classic automatic top and bottom legends use measured single-row layout and preserve source-owned direction through copy and XLS reopening in the qualified 96-DPI Column layouts
  • Classic automatic left-side legends retain 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 when the saved Column chart legend can fit its measured labels
  • Classic chart layout in Page Break Preview uses 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 derive 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 preserves represented category-label spacing through XLS reopening
  • Classic automatic Line charts without a legend derive plot and title geometry from the saved source and retain the absent legend through worksheet copying and XLS reopening in the qualified 96-DPI profile
  • Qualified native 96-DPI Classic charts retain separate worksheet placement and chart-client geometry, including 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 retain their represented background colors and separate default outline policy; constant and all-zero automatic ranges preserve actual source values, including zero data without invented visible bars, through the qualified copy and XLS-return lifecycle
  • Owned OpenDocument physical columns keep cells, drawings, viewport and clipping on one fixed source grid, preserve supported shared document defaults with actual inherited and explicit overrides through sparse same-owner ODS output and source-free copying, and retain reported fixed-run and native-device limits when that default cannot be preserved
  • Editable OpenDocument ellipses retain current materialized geometry, explicit paint and outline widths through typed reopening and source-free copying; unsupported effects, text and unproved physical-grid contexts refuse explicitly
  • Materialized 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 behavior, omitted metadata and target-only picture grouping before checked saving
  • Copied worksheet default formats retain manual row-height, default visibility and outline-level ownership through transactional copy, rollback and physical reopening
  • Loaded automatic row-height caches retain 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 resolve in the target scope without requiring a matching caller-local name, including spaced and apostrophe-containing worksheet names
  • Quoted worksheet references preserve 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 retain 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 preserves the retained group tree, geometry and represented image-frame names during checked output
  • Explicit line breaks in grouped plain-text paragraphs retain their order and represented formatting during XLSX/XLSB conversion, including breaks between runs; qualified reopened raw groups also retain 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 reserialization
  • Enterprise streaming string decoding preserves escaped characters and literal escape-looking text across shared, inline, rich and cached formula string values
  • Checked XLSB GIF and BMP picture output validates bounded container structure before destination publication and preserves 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, while 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 convert 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 color and text and the source order, where the profile previously refused a second run and failed the whole conversion, while at 2.384.489 a second paragraph, a non-rectangular preset, a run without its own color 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 color as the two of the three that remain, and 2.384.507 has since widened the run without its own color 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, colors and texts and the source order, where the profile previously refused a second paragraph and failed the whole conversion, while an empty paragraph, a paragraph carrying its own properties, a non-rectangular preset, a run without its own color 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 color, of which 2.384.507 has since widened the run without its own color in its own entry below, leaving the preset alone
  • A transparency on a grouped plain-text color in XLSB converts with its value carried as written on the box fill, its outline and any run color, where the profile previously refused a color carrying any child and failed the whole conversion, while a second transparency on one color, a transparency beside another color effect, a value outside the specified range, a theme color in place of an explicit one and a non-rectangular preset stayed refused at 2.384.491, the theme color 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, while 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 color 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, while a thickness outside the range the format allows, an end shape or compound line the format does not name, while 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, while 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 stating 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, while 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, while at 2.384.495 an anchoring beyond the three this library reads elsewhere, a rotation, a writing direction, an anchor-centering 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-centering flag and the two fitting modes the format names besides that child stayed refused, the rotation and the anchor-centering 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 stating 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, while 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-centering 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-centering 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, while 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-centering flag having since been admitted in their own entry below
  • A grouped plain-text label in XLSB stating 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, while 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 stating 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, while 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 stating 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, while 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 color and a second formatting owner in one run stay refused
  • A grouped plain-text label in XLSB whose shape carries 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, while 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 color of any run, where the profile previously read only an explicit color there and failed the whole conversion, while a slot name outside the twelve, one written with an empty value, one carrying a second attribute, one carrying any of the seven color modifiers, a transparency beside a slot name, a slot beside an explicit color in one fill and the same slot written outside the drawing vocabulary stay refused
  • A grouped plain-text label in XLSB whose paragraph closes 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, while 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, while 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 color, 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 closes 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, while 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 color owner naming either and failed the whole conversion, while 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 color 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 color and failed the whole conversion, while the color 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 colors, a value outside the bound the library states for it and a run with no color of its own all stay refused, save that 2.384.507 has since made that color optional and at most one rather than required and exactly one, and admitted a run with no color 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 color of their own converts with every run kept exactly as written and read back out of the written package still carrying no color, where the profile previously required one and failed the whole conversion, while a color, when stated, stays at most one and is still bounded as before, and two colors, 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 closes 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, while 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 retains 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 support qualified Calibri 10-point axes and legends with actual recipient text advances, source-owned formatting and automatic source-free layout
  • Imported Classic title fonts support the qualified current Calibri 12-point bold title with source-owned homogeneous formatting and actual font measurement, retaining represented Arial axis and legend fonts
  • Refreshed imported column Pivots in ODS consume qualified scalar source edits, regenerate owned cache records and retain 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 materialized output without clearing retained raw provenance
  • Measured Classic Normal font ownership derives 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 orders 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, retaining independent source occurrences and complete parent-prefix ownership
  • Variable OpenDocument column hierarchies retain one row field, budgeted ordered column levels and 1..16 SUM, COUNT, MIN, MAX or AVERAGE measures over distinct or shared source fields, including independent measure occurrences, natural single-measure layouts, represented outer and intermediate collapse, explicit refresh and current source/cache/grid ownership
  • Complete OpenDocument column field headers retain 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, while a numeric measure over text or blanks remains refused
  • Independent same-function OpenDocument measures retain 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, while numeric columns containing text or blanks remain refused
  • Copied drawing aggregates to ODS project 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 preserves 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 retains 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 retain 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 permit supported local relationship renumbering through checked saving, source-free reopening and public title edits, while retaining exact chart targets, anchor validation and ambiguous-owner refusal
  • Classic preset dash and cap defaults keep public dot styles, effective-value writes and independent copies coherent without revealing a conflicting inherited cap after editing
  • Classic document-default line width and style retain coherent public reads, effective-value assignments and independent copies while preserving explicit local overrides and unresolved property-family guards
  • 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, colors and rendering retain their existing boundaries
  • Source-owned 3D ambient intensity metadata survives represented grouped worksheet and selected-group copies, retaining valid local values and source defaults independently of destination defaults
  • Classic Boolean property inheritance merges a shape protection or picture Boolean word with a workbook default for the same word into one fully explicit property during grouped copying, using masks derived from the format specification
  • Classic primary document colors resolve admitted fill and line defaults through ordinary getters without mutating local options, while preserving unresolved raw property-family guards across save and reopen
  • Shared ODS Pivot cache groups retain real shared cache ownership and independent view results through source-free reopen, explicit shared refresh and per-view materialization, with actual native-saved caption adoption
  • Independent ODS Pivot collections retain up to 16 real local cache/view owners, complete preflight and ordinary source-edit/save/reopen behavior, with actual two-view native refresh and library readback qualification
  • Stored Classic legend directions extend ordinary finite Line and Column capture to bottom, top and left legends with owned layout validation, measured entry fit and public save/reopen lifetime checks
  • Active chart label persistence keeps represented labels available through ordinary public capture after save/reopen and source edits, with correct omitted Boolean defaults and exact preserved-chart admission
  • Multiple owned OLAP cache snapshots retain the qualified two-cache refresh, query, materialization and source-free persistence lifecycle, migrate valid older snapshots and refuse stale owners before touching ordinary OOXML output
  • XLSB standalone QueryTable metadata carries 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 retain native-saved metadata
  • ODS Slicer and Timeline summary lifecycle resolves actual typed source members, retains 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 to shared members, rejects foreign source ordinals before provider calls and retains the finite refresh, query, materialization and source-free snapshot lifecycle
  • Reusable workbook style ownership keeps checked binary stream saving valid after opening a different XML model on the same instance, while retaining new font and alignment values and read-only conversion reporting
  • Standard ODS form links and owned control copies retain represented local-cell or global-name bindings for checkboxes, radio buttons and list/combo controls, reject 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, delete, 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; a macro binding must resolve to a defined macro name and is otherwise refused by name, and copying a classic worksheet that owns controls is refused instead of producing a copy without them
  • 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-colored fills carried by the GelFrame OfficeArt theme color extension (theme color 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) and 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 alongside comments
  • Editable XLSX picture effects through TXLSXImage, including percentage crop edges, transparency, brightness, contrast, stretch or tile fill, degree-based rotation, and structural preservation of unrelated imported DrawingML
  • Classic picture cropping through TXLSPicture.CropLeft, CropTop, CropRight and CropBottom: each hides 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 reports 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 wrapped 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, true 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 within the supported ChartML extension and formatting profiles
  • 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 rematerialization 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 without pruning 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 preserve member display captions independently of source identities, including repeated display names, collapsed prefixes and parent subtotal labels
  • Surface and 3D surface chart groups preserve explicit vary-colors settings through saving and reopening; native appearance remains subject to the consumer's chart-family behavior
  • 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 untouched
  • Master-detail data export: TDataToXLS.ReadDetailTables recursively exports active linked detail datasets beneath each master record, while 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 filter records and transform field values without disturbing dataset cursors
  • Classic control caption persistence retains long checkbox, radio and button captions, rich formatting and font ownership, with represented object formulas and explicit invalid macro binding refusal
  • Classic long-comment persistence preserves supported long comment text and rich formatting through repeated save and reopen with bounded physical continuation records
  • CUBESET natural sorting supports provider-authoritative ascending and descending order for represented single-hierarchy member sets, with owned schema-bound metadata, digest-aware refresh and source-free snapshot persistence
  • CUBESET measure sorting supports represented numeric measure keys, stable ascending and descending order, validated cache identities and source-free recalculation
  • Imported raw drawing groups copy qualified nested raster/chart/text aggregates and their supported opaque dependency closures across workbooks, retain actual part identities and survive source destruction; the separate reopened raw-group TXLSXSheets.AddCopy profile also covers qualified same-workbook copies and preserves source column-width font context through style-pool compaction; represented chart-content and frame-name edits retain raw group geometry and unknown content while image replacement and arbitrary child editing remain outside the profile
  • Core package batch preparation prepares multiple foreign drawing dependency closures with one shared budget, context-aware root mapping and reversible publication; prepared drawing snapshots also detect raw-anchor text changes after row edits
  • Retained drawing dependency saving preserves supported owner-specific metadata after worksheet changes, splits shared dependencies when needed, keeps non-drawing incoming references and resolves generated relationship-ID collisions before normal file or stream output
  • Stable retained drawing owners keep reopened drawing relationships attached to their original worksheets after reordering or deleting sheets; newly created sheets do not inherit another sheet's retained relationships
  • A reopened drawing keeps 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 retain 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, while general typed materialization and conversion remain open
  • WordArt creation: TXLSXWorksheet.AddWordArt creates cell-anchored DrawingML text with a configurable preset warp, text fill color, and outline color, 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 retain 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 edits, 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 trips
  • 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 trips
  • 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 semantics
  • 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 trips
  • Complete workbook calculation policy through CalcMode, RefMode, iteration settings, recalculation flags, full-precision control, and concurrent-calculation settings, with schema defaults and independent non-default persistence, plus the opt-in RecalcLookupCache memo and the on-by-default RecalcAggregateCache memo that, with RecalcScanMemoLifetime set to xlsmlWorkbook, outlive 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 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 limits, 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 as 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/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 scans
  • Classic XLS shared-revision protection round-trips through SharedRevisionProtected and SharedRevisionPasswordHash, and reports handle encryption end to end: encrypted templates open by 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 rendered 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 consuming 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 styles, 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 control
  • 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, 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, delete, 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, like 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 moves 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, complete multivariable LINEST / LOGEST matrices, shaped TREND / GROWTH predictions, text, date, workday, engineering/base-conversion, bitwise, statistical, aggregate, and math 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 components
  • 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 uses 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, while 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 remove it after the final root is cleared
  • Calculated-array composition includes typed TRANSPOSE, computed matrix multiplication, determinants and 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 limits
  • Form-control authoring on XLSX worksheets (AddFormButton / AddFormCheckBox / AddFormRadioButton / AddFormComboBox / AddFormListBox) with VML shapes, ctrlProps parts, and verbatim round-trip of control-bearing files
  • 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 remain 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 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
  • Unrecognized 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 cloning, 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; 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; TXLSReportGenerator adds template-read events, workbook, file, stream, and encrypted-file sources plus in-place or atomic-clone modification; 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, while TXLSReportTableFactory composes top, projected, counted, minimum, aggregate, unioned, split, and hash-joined views without copying 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 while rejecting unsupported partial structures before mutation
  • Repeated range and report-band copies reuse scoped defined-name suffix searches while 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 while 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, while 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, while 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 writing
  • Central scratch-file management (registered temp files swept on finalize), 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 centralized 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 preserve stored worksheet dimensions
  • 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, color scales, directional data bars, and all built-in icon-set families
  • Duplicate and unique relational criteria beyond the deterministic Latin-1 profile reuse the platform-aware text comparison: Windows uses its user locale and native Unix uses its runtime wide-string comparison, without importing a Windows DLL into the portable unit or changing the process locale
  • Tolerant XLSX opening: namespace prefixes are normalized while 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 with the purl.oclc.org vocabularies, and strict relationship types resolve on open just like transitional ones
  • Full-workbook XLSX opening streams worksheet ZIP entries directly into worker-local inflaters and XML readers, retaining 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 while 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 produces .xlsx workbooks cell by cell, emitting 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 reports 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 colors, 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-color 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 while 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 initialization and finalization release source handles, callers retain responsibility for temporary source registrations, and the writer can be reused after initialization 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 reopen
  • Enterprise edition: 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 flat
  • Enterprise edition: explicit PDF/A-1a, 1b, 2a, 2b, 3a, and 3b output through PDFAProfile, including profile-specific identification, color management, tagging, attachment, and atomic validation rules; UsePDFA remains a compatibility switch for PDF/A-2b
  • PDF export runs 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 coexist with 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 apply 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, preserve supplementary scalars and cross-run grapheme clusters, keep 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; 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
  • TXLSCellImageExporter measures, renders, and saves any classic or XLSX cell rectangle as one compact image without pagination artifacts, with configurable resolution, scale, format, and JPEG quality, transparent PNG or colored 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 retain the compatibility fallback, while 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, while 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 remain active, and stored values, public formatted text, CSV, and ODS output retain 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 while 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 recognizable 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 by 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 origins
Internal version 2.384.872

Complete workbook, reporting, and rendering capability set

The current release expands 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
  • Multi-area selections and independent per-pane active cells for XLS and XLSX, with structural remapping and atomic invalid-range rejection
  • Caller-owned lossless formula tokens through TXLSFormulaTokenStream, ParseFormulaTokens, GetFormulaTokens, FormulaTokensToText, and SetFormulaTokens
  • Classic XLS formula freezing classifies compiled BIFF references without decompiling formula text, converts only confirmed external-workbook references in OnlyExternal mode, preserves 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 normalized only when exactly one registered target matches
  • TXLSXExternalLink exposes source relationship IDs, one-based slots, and workbook, DDE, OLE, or unresolved link kinds, while 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 while preserving 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 preservation and physical formula movement
  • Editable BIFF2 through BIFF4 fonts, number formats, XF styles, and formulas converted into the current workbook and calculation models during load
  • 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
  • Typed custom views for panes, selections, filters, page setup, and page breaks while unknown BIFF records keep their original payloads
  • Typed OLAP properties, web-table selectors, fixed-width fields, and connection parameters with preserved extension content
  • AnalyzeFormulaIssues diagnostics for missing functions, external workbook references, and exact circular dependency components
  • Thread-safe global and workbook-local UDF registries with local override, average O(1) lookup, and handler invocation outside locks
  • XLSBidiVisualOrder for mixed Arabic or Hebrew text, Latin text, digits, combining marks, and mirrored punctuation without changing logical cell text; its direction argument is a TXLSBidiDirection (xlsbdAuto, xlsbdLeftToRight, xlsbdRightToLeft)
  • Merged-cell AutoFit strategies that assign 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 behavior
  • Grouped worksheet summaries through TXLSXWorksheet.Subtotal, including inserted formulas, a configurable grand total, inherited visible formatting, and outline hierarchy
  • Non-materializing 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 one forward-reading contract shared with XLSX, CSV, and TSV
  • Dynamic arrays stream directly into scalar aggregates, repeated lookups reuse typed incremental range caches, and immutable formula tokens share stateless objects across compilations
  • Modern XLSX saves retain the represented native default font, including source face, fractional size, emphasis, color and scheme, while 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, preserving Pivot-only formats through compaction and repeated saves, and complete equal theme font collections map to the matching destination slot
  • Native local Pivot materialization supports 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
  • Recognized imported built-in number formats retain their effective codes through saving, including D-MMM-YY; date-typed elapsed display follows the workbook's serial date system while retaining calendar-date and literal-text behavior
  • Native Pivot display calculations include 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 percentages
  • ENCODEURL percent-encodes text as a URL over its UTF-8 bytes, keeping 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) drives 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) with the iteration count and the achieved input and target values; a TXLSGoalSeekOptions record (iterations, tolerance, initial step, bracket-expansion bound, defaulting to XLSDefaultGoalSeekOptions) tunes the search
  • Range clear and Unicode text paste use one 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 roundtrips
  • 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 guards 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 report 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 yields 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 accepts 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 holds 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 names 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 fills a block on a worksheet (from a one-based cell) or clips into a range, answering the rows written
  • A block of numbers loaded that way is stored 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 applies 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] turns 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 names 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 while 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 carrying 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 displays a date, and XlsXmlDateToIso and XlsXmlIsoToDate convert the ISO text the format stores
  • Text interchange formats write the fewest digits that read back as the same double through XlsShortestFloatToken, so small and large numbers survive the round trip 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 takes 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 choosing 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 carry 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 finalized member metrics, retain cutoff ties and recompute totals from the retained original dependencies
  • Bounded Classic table field output writes Feature11 fields through one fixed scratch while preserving future-record continuation headers and exact table metadata
  • Generated Classic Pivot cache output staging reduces retained output heap and releases cache temporary files at the end of each save, including cancellation and publication failure
  • Ordinary XLSB numeric conditional formatting imports and exports a typed greater-than rule with finite RGB differential font and background properties, including evaluation and source/threshold edits
  • Ordinary selected-measure cumulative Pivot ranking uses finalized member metrics for sum and percentage targets, then recomputes displayed totals from retained source records
  • Bounded Classic printer/background record output avoids complete temporary record and continuation copies while preserving known native printer bytes and the existing bitmap profile, including complete printer-setting continuation output
  • Source-backed Classic background import and copying keep 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 sequentially, preserving offsets, encryption and retained Pivot views
  • Lossless bounded Classic header/footer picture output preserves legacy continuation bytes and avoids a complete temporary serialized drawing copy
  • Bounded Classic comment-output staging removes the complete serialized comment transport from resident memory while retaining plain and RC4 output, cancellation cleanup and retry
  • Automatic Classic chart titles and right legends derive qualified Line/Column geometry and stored fonts without caller appearance declarations, including source and series-name edits
  • Selected Pivot value comparisons use the actual COUNT, AVERAGE or numeric aggregate with finite operands and retained-predicate ownership checks, instead of treating SUM as every measure
  • Standard numeric Pivot ranking aggregations add COUNTNUMS, MAX, MIN, PRODUCT and sample/population deviation and variance to ordinary TopCount/BottomCount, with source edits and native refresh
  • Selected COUNT and AVERAGE Pivot ranking executes ordinary TopCount and BottomCount with distinct measure orderings, cutoff ties, source edits and native refresh
  • Native Pivot BottomSum and BottomPercent execute ascending cumulative targets over ordinary nonnegative numeric SUM measures, including target/source edits and native refresh
  • Native Pivot TopPercent ranks ordinary numeric SUM members by a cumulative population percentage, with fractional percentages, represented source/target edits and explicit split-tie boundaries
  • Native Pivot TopSum ranks ordinary numeric SUM members by their descending cumulative total, with represented target edits, source refresh and save/reopen ownership
  • Native Pivot TopCount and BottomCount select members by an identified SUM measure, include threshold ties and support represented count edits before materialization; separate native controls qualify manual grouped row and column sorting by a second measure
  • Embedded XLSB pictures alongside Line charts retain 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 unsupported-content refusal
  • Ordinary XLSB Line charts support 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 colors, shared-domain clipping and detached snapshots
  • Portable title layout and kerning retain 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 retain 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 capture 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 while retaining existing geometry, clipping and admission boundaries
  • Combined annotation collections capture the qualified Style 2 two-Column and secondary-Line profile through the configured public view, preserving source edits, detached snapshots and native Columns/errors/Line/trend layering
  • Configured combined-chart capture accepts explicit plot and error appearance through an owner-bound read-only view, freezes declared chart state before callbacks and retains the existing undeclared-view behavior
  • 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 capture route
  • 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 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, without query execution
  • Ordinary XLSB external workbook references retain 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 retain supported formulas and caches, names, merges, hyperlinks, panes, tables and filters with explicit unsupported-feature preflight; ordinary same-workbook sheet spans execute through the existing calculator, including ordinary named-span aggregates, and Top/Bottom filters retain binary criteria and current applied worksheet thresholds
  • Delphi Linux64 compression helpers use the installed native zlib ABI with bounded transfers, strict input failures and verified lifetime handling
  • Native Pivot mathematical expressions add INT, TRUNC, SIGN, LN, LOG and EXP within 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 through 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, matching Excel
  • Collapsed Pivot members materialize 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 carry 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 compose with collapsed rendering, including caption-styled top subtotals labeled by their plain item paths
  • Column-axis collapse and compact layouts materialize with stacked measure captions and implicit Total column headers, matching Excel-authored fixtures through native refreshes
  • Measure-sorted member ordering resolves the sort measure from the autoSortScope data-axis reference and orders members ascending or descending with deterministic tie-breaking
  • Collapsed column members compose with multilevel column subtotals, spanning one range beside expanded groups' subtotal and grand-total columns
  • Unequal theme font schemes carry unchanged in cross-workbook Pivot copies and resolve against the destination theme, as native copies do
  • Opaque differential extensions carry verbatim through 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 retain serial identity for stored conditional appearance and BIFF saving, including fractional phantom-day neighbors
  • Custom Pivot style-section copies retain complete owned differentials, with native applied-formatting qualification for underline, explicit false emphasis, source-owned colors, patterns and gradients; custom number-format ownership keeps its documented native display boundary
  • Pivot theme scheme copies retain the original scheme when destination font collections differ, while equal collection mapping keeps priority
  • Extension validation bounds retain both cross-sheet formulas through XLSX saves and reopens for represented numeric, date, time and text-length rules
  • Unknown validation types retain 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 every parse path
  • Exact Pivot cache numbers extend the seventeen-significant-digit cell precision to source cache records and shared items in both directions, with an Excel-authored fixture reopened and resaved exactly
  • Edited Pivot item formulas persist through saving by patching the preserved raw cache definition in place, with the imported identity tracked separately
  • Native Pivot MOD returns the exact binary remainder with divisor-sign reconstruction, flushes subnormal results to zero and guards 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, retaining 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 materialization and digest-bound persistence, retaining ordinary Open/Save provider isolation
  • External relational Pivot refresh retains source connections and shared member identities through explicit provider fetch, cached queries, materialization and XLSX save/reopen without implicit provider I/O
  • Embedded model metadata transport opens extended loading connections and retains genuine model and OLAP definitions through file or caller-stream save/reopen, including caches without fact records; finite owned OLAP execution has a separate explicit contract
  • ODS textbox colors retain represented opaque text and solid outlines through public edits and save/reopen, keep imported implicit colors separate 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 and newline-loss reporting
  • XLSB table calculations and custom styles retain supported local arithmetic definitions, owned built-in totals and custom whole-table, header and stripe formatting through typed edits and save/reopen, including shared conditional-format resources
  • Classic XTI continuations retain 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 while retaining source ownership, checked physical framing, cache omission and retry boundaries
  • Classic native Theme persistence retains admitted unchanged custom packages, including font-only themes with default colors, 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, preserving existing destination objects and mapping image/font resources with explicit rollback boundaries
  • Classic flat connector ownership and worksheet copying preserve 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 retain 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 retain 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, while 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 colors, retaining real Windows font class compatibility and Dataset-state cleanup
  • Ordinary Delphi macOS ARM64 Classic XLS supports 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 while 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 through 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 through the recorded native build path
  • Delphi Linux64 regular-expression, parallel-job and AES components qualify native UTF-16 pattern operations, existing job scheduling and raw AES primitives; complete Workbook integration remains separate
  • Delphi Linux64 ZIP helpers qualify ordinary stored and compressed archives, UTF-8 entry names, 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 preserves the qualified theme and font identities through save and reopen; the qualified category labels use their stored vertical-center alignment, while complete native raster equivalence remains unqualified
  • Native COUNT, COUNTNUMS and PRODUCT calculated items use finalized member operands and derived contributions, preserving fractional COUNT output, report totals and qualified formula/source edits
  • Native calculated items under manual parent groups retain 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 retain 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 retain 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 retain 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 retain 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 supports 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 focused native component qualification
  • One ordinary workbook-view revision UID survives 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 another component toward full Workbook integration
  • Ordinary Note exclusion provenance survives 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 another component toward full platform integration
  • Stored names in Classic conditional appearance support bounded workbook and current-sheet definitions and preserve nested identities through save/reopen
  • Native local Pivot to ODS retains 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 current materialized SUM, COUNT, AVERAGE, MIN or MAX row views with explicit source freshness, numeric agreement and conversion boundaries
  • Ordinary native ODS Pivot return restores editable one-row-field SUM models from compact and standard tabular definitions, retains source/member identity and captions, and supports explicit source refresh with new numeric values followed by ODS and Excel output
  • Interactive validation dropdowns and input prompts resolve inline lists (including embedded double quotes), worksheet ranges and defined names across Classic XLS and XLSX, accept an array-of-items overload on both worksheet classes, render the active cell dropdown button and yellow prompt callout in TXLSWorkbookViewer on VCL and Lazarus/LCL with a popup sized to its captions, and 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 expose the same checks to code; the headless native core resolves and selects the same lists without LCL
  • Ordinary ODS row data axes retain inner and outer measures, independent row-grand captions and explicit refresh/materialization within the qualified local profile
  • Ordinary ODS row members retain 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 materialization 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 materialization within the qualified single-row column-path profile
  • Multiple-measure local ODS Pivots retain independent aggregates, native two-header layouts and custom captions through source-free conversion and a qualified actual native refresh lifecycle
  • Control and OLAP ownership reject out-of-family VML state and mismatched ODS implementations, isolate snapshot properties, enforce KPI budgets and require exact numeric KPI identifiers
  • Interactive form controls add seven public families with linked-state validation, typed XLSX/ODS conversion and actual Calc interaction
  • Classic fill and shape visibility retains represented document inheritance, independent sibling flags and source-effective settings through whole-sheet and selected-group copies
  • Classic line visibility retains known source-effective values through whole-sheet and selected-group copies; the corrected finite profile supersedes the unqualified411 default and source-copy interpretation
  • The whole specified line Boolean word is represented, 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, while a shape own properties are still copied verbatim
  • The line Boolean word in a retained alternate property table travels 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 colors 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 color 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, while a reference naming an actual shape stays refused
  • Actual custom OLAP provider qualification binds 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 preserve captioned members and sets through references and recalculation, with supported sorting, enumeration and positive KPI metadata
  • Attached-source OLAP Pivot copying retains 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 retain 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 retain 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 retain their worksheet-origin geometry through XLSX and ODS conversion and stay fixed as the grid changes
  • OpenDocument page-anchored drawing groups retain supported embedded pictures, editable textboxes, worksheet charts and a fixed worksheet position through XLSX and ODS conversion. ODS saving preserves 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 while 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 colors; body fonts include qualified Calibri 10-point axes and legends alongside Arial and title fonts include qualified Calibri 12-point bold, while imported Normal fonts use source-owned measurements within the explicit-grid and qualified geometry context, with format-defined unused position fields ignored
  • Classic chart position modes retain signed plot coordinates while ignoring unused padding and application-owned legend-size fields within the represented layout profile; supported stored numeric ranges retain independent automatic axis crossing
  • Exact Classic worksheet scale retains 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 ignores undefined AUTO-layout numeric values within its existing qualified context
  • Page-filtered OpenDocument AVERAGE uses actual selected numeric record weights, preserves missing source/cache identities and blank groups, and survives native refresh/reopening, typed return and source-free worksheet copying
  • ODS parent/child Pivot row paths retain 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 retain 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 provide 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, while follower edits write a local override that never modifies the master and detached copies still refuse the master graph
  • Populated relational Pivot caches omit records and relationships when SaveData is false without clearing live values or unrelated saved caches
  • Expanded Pivot execution and object copying add qualified provider layouts, source-free external Pivot copies, explicit scalar CUBE boundaries, safer interactive copies and stable repeated Classic saves
  • Physical chart anchors retain actual one-cell and absolute EMU geometry independently of movement behavior, with atomic editing, finite owned copies and source-free persistence; ordinary streamed markers retain bounded compatibility-metadata projection
  • Complete edge-mode manual plot rectangles use normalized right and bottom coordinates during portable capture, retaining equivalent represented content through source-free XLSX reopening
  • Expanded VBA module editing, XLSB drawings, relational Pivot copying and OLAP cellset APIs have separate format and execution limits; portable automatic chart layout remains qualified for the finite profiles described in automatic Cartesian layout, and successful GDI PDF export does not establish portable capture support for a different 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 while 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 retain their own conversion limits; native chart resave evidence does not qualify every control or conversation workflow
  • ODS SQL parsing defaults use standard absent-false metadata, with actual 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, survives assignment and semantic snapshots, and reports explicit loss when another target cannot represent it
  • ODS logical sources and independent intervals retain exact DSN identities, compatible query-owner partitions and per-range whole-minute schedules through assignment and source-free persistence, without automatic database access
  • Qualified explicit ODS database refresh uses a caller-verified local ACE source, actual 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 remain separate
  • ODS external database connections and query tables convert SQL, table and named-query bindings bidirectionally through <table:database-range> alongside worksheet AutoFilter ranges, retaining represented layout flags and native LibreOffice Calc reopen, with finite logical source and exact interval ownership and explicit boundaries for unrepresented provider settings
  • Automatic combined Cartesian chart layout resolves absolute PlotArea inside bounds for ordinary Style 2 Column, Line and multi-Area charts without 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 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 retains exact cell geometry, inline font presence, colors, independent logical/paint order and ownership through finite CopyFrom, AddCopy and Duplicate operations
  • Textbox cell geometry retains 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
  • Materialized drawing occurrences publish their represented worksheet anchor in the semantic snapshot with editAs behavior, 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 while a refusal leaves the workbook usable
  • Materialized 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 while ordinary semantic snapshots stay unaffected
  • Grouping, splitting and copying accept a mixed ordinary and materialized 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 while cameras, charts, GIF and SVG frames stay refused
  • On-demand memory-stream loading keeps deferred query routes in the materialized model, the emitted output and a retried materialization after the source file is released, matching the route inventory of a full open
  • The classic semantic snapshot carries 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 retain 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 use 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 synchronization, threadvar, random-byte and Unicode file-stat evidence through a recorded native linker bridge, while complete Workbook integration remains separate
  • Delphi Linux64 platform helpers qualify synchronization, file stamps, random bytes and locale keys as a component toward further platform integration
  • Retained known OfficeArt properties use bounded owned-source reads and writes with checked wide sizes and qualified picture-frame copying
  • Independent two-series Scatter labels preserve separate fits, fonts, anchors and equation/R-squared switches
  • Quoted Pivot source names resolve spaces, escaped apostrophes, punctuation and Unicode through refresh and save/reopen
  • Ordinary XLSB cell notes retain complete uniform fonts, authors, Unicode text, visibility and box dimensions across supported public edit/save/reopen paths
  • Authorized batch signature replacement coordinates existing ordinary-part edits and explicit re-signing while 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 while preserving imported differential bytes
  • Native standalone Classic TopN filters support represented edit/save/reopen and explicit empty styles while preserving 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 native-qualified label bounds
  • Atomic drawing-property replacement preserves existing property state when a prospective record is malformed or a complex-body read fails
  • Positive XLSB cell-rich tints retain represented color selectors through bounded binary quantization, including quarter tint, while preserving 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 color-selector ownership checks
  • Ordinary and rich XLSB font tints admit finite nonexact values, retain represented values through reopening and correct the native black endpoint while keeping the live source tint unchanged
  • XLSB cell rich text retains shared and inline runs, effective font identity, explicit resets and represented colors through public edits, cloning and save/reopen, with bounded metadata and file-backed shared-string staging
  • Ordinary XLSB data validation supports 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 retain 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, support 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 normalized first-member anchors
  • Bounded XLSB output uses row and shared-string record encoding, fixed external-sort workspaces and file-backed transactional package staging with measured 100-fold row-growth memory gates
  • Selective and lazy XLSB reading discovers metadata or selected sheets without converting skipped bodies, retains original source provenance and caller metadata, and refuses incomplete saves until retained sheets are materialized
  • Classic chart-sheet creation preserves the requested ordinary chart type, independent series marker sizes and literal chart or axis titles through Excel opening and workbook roundtrips
  • XLSX local custom text filtering supports Excel wildcards and escapes for equality and inequality, while retaining typed numeric and Boolean comparisons and preserved native filter definitions
  • LAMBDA expressions support immediate, grouped and chained invocation; inline, named and LET-bound calls retain reference identity for reference consumers
  • Table formulas with unqualified current-row references bind to the evaluating cell's worksheet, row and column across calculation, contextual evaluation and read-only views
  • XLSX iterative calculation processes circular components and affected downstream formulas with a global change threshold and preserves repeated-calculation progress
  • One-cell fixed CSE formulas retain scalar cell caches, including typed errors, while explicitly array-returning evaluation APIs retain their array results
  • Selected scalar numeric, text, date/time and type-check functions evaluate array operands element by element, including ISBLANK, with row and column broadcasting and per-element errors; array-condition IF selects matching elements while ordinary scalar references retain their shape and named-range row intersection
  • Theme and custom RGB tint conversion uses Excel-compatible HLS quantization, including grayscale and channel-boundary behavior; BIFF8 theme setters preserve 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 native Windows on ARM execution evidence
  • Native Windows ARM64 applications use Free Pascal 3.3.1 for workbook calculation, file formats and bundled UTF-16 regular expressions, with separately validated Lazarus/LCL integration 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, Linux ARM64, macOS x64, and macOS ARM64 workbook APIs load, edit, calculate and save supported XLSX, XLSB and ODS files using real platform services
  • Native Classic BIFF8 workbooks support editing, calculation, large nested compound containers, document properties and standard RC4 or 128-bit CryptoAPI output on Linux x64, Linux ARM64, macOS x64, and macOS ARM64
  • Windows wide Classic output selects a version-4 compound container from the complete prepared output, including live embedded objects and final VBA/control/cache streams, while 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, including qualified version-4 streams beyond 4 GiB; allocation metadata remains 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, retaining detached input ownership and support 64-bit stream reads, writes, sizes and independent clone cursors; native serialization borrows complete 64-bit ranges and selects version 4 for large containers
  • Bounded compound writing supports borrowed stream ranges and large version-4 containers; indexed mini-stream reads avoid loading unused root payload bytes while retaining complete chain checks and explicit metadata budgets; streamed mini output also avoids retaining the complete aggregate small-stream payload
  • Native document payload pools count actual memory capacity and temporary reallocation reserves, preserve payload state on promotion failure and retain independent 64-bit stream cursors within shared file extents
  • Compound writer queue scaling uses balanced parent/name lookup, geometric reserved capacity and staged allocation while retaining insertion identities and complete output bytes
  • Native storage node indexing accelerates parent-scoped lookup and CopyTo while retaining enumeration order, stream identities and rename/delete behavior, and rejects ambiguous duplicate input names
  • Large-container range-lock allocation reserves the mandatory sector near 2 GiB across stream and metadata chains, retaining bounded transfers and small-container output compatibility
  • File-backed native workbook commit removes complete-container memory staging on non-Windows targets while preserving file replacement, stream cursors, cancellation protection and bounded publication
  • Windows file-backed Classic and VBA-project saves replace whole-container HGLOBAL staging with 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, including qualified empty SUM intersections and native captions
  • Retained Timeline subsecond output combines supported nearest-second cache projection with independent date conditions and exact native-stable helper formulas while preserving live source dates
  • Negative OA source dates retain their calendar day and fractional time through numeric OOXML interchange in both date systems, with matching ordinary Pivot source identity
  • Shared Timeline ownership retains distinct ordinary predicates and independent date selections, retires verified helper groups for Strict output and replaces a converted selection when Timeline UI is restored
  • Timeline auxiliary Strict lifecycle retires verified helper ownership into standard date criteria and restores Timeline UI after native reopen, with calendar-correct refresh timestamps and explicit precision/mode losses
  • Explicit linear chart ticks support bounded major/minor units and ordinary zero crossings for primary Line and Scatter scenes
  • Portable chart error bars support fixed, percentage, sample deviation, standard error and asymmetric scalar custom errors with explicit paint and plot clipping
  • Per-point custom error data retains 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, including native sample-center and selected-cap behavior
  • Stored error-bar line appearance preserves independent RGB and width components, correct component clearing and opaque-shape identity, with per-direction portable styling
  • Hidden error-line restoration preserves visibility and supported RGB/cached-system-color mementos, with direct unsaved capture and early visible-stroke width checks
  • Typed VBA source ranges skip large compiled caches, retain unsigned module offsets and preserve complete prefixes during source editing without automatic whole-stream materialization
  • Stream retained semantic payloads writes VBA and supported Classic Ctls bytes through bounded ranges with unchanged snapshot bytes and SHA-256 identity, including payloads above MaxInt
  • 64-bit Classic read positions keeps 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 while preserving 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 in temporary files with fixed buffers, preserving offsets, cipher traversal, failure ownership and transactional target publication
  • Mixed Classic drawing transport retains unknown wrappers around supported flat objects with checked physical tail ownership, current typed edits and bounded source lifetimes; arbitrary opaque metadata keeps its separate native acceptance boundary
  • Large unknown worksheet drawing leaves retain owned raw data and logical parent slots through copying, public import and bounded complete output while 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 independent target reference counts
  • Bounded large embedded PNG/JPEG import stages complete global drawings and retains 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 internal identity and emit complete SXVDEx and SQL_TYPE_NULL generated cache metadata
  • Checked generated Classic Pivot metadata refuses unsupported text lengths before physical-field narrowing, retaining valid output bytes and explicit caller repair
  • Bounded Classic Pivot line preparation derives generated tuples and record-local compression on demand, preserving complete logical streams while 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 survive 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 uses checked 64 KiB IStream writes with failure cleanup and retry
  • Wide global drawing output adds checked Int64 picture/group sizes and bounded borrowed-stream BIFF serialization, preserving 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 checked container extents
  • 64-bit drawing aggregate ranges retain 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 retains 64-bit internal aggregates, validates actual BIFF wire fields and discovers names without copying the entire Workbook stream
  • Win64 storage timestamp compatibility passes native time records by reference, preserving 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 recognized 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 editable-clone isolation
  • Retained BIFF8 embedded objects preserve supported native MBD storages, object bindings and metadata through original-format saves, including large nested payloads
  • Incremental Classic encryption preserves existing cipher bytes and independent cache resets while 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 retain 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, while preserving 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 preserve the destination, 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 retain their identities, while incomplete or unsupported caches produce explicit errors
  • INDEX, SORT, and UNIQUE accept computed arrays and constants, so filtering, sorting, deduplication, and row or column extraction compose directly 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, accepts area 1 for a calculated source, and retains 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, while every built-in light, medium, and dark table style resolves into the effective format used by editing and export paths
  • A unified drawing facade exposes 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 keeps 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 casts 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 keeps 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 initialise 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 inflates 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 refills 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 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 becomes the display
  • The compiled report runner applies 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 options; 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 up front, 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 keep its staged worksheet bounded: SheetStageSpoolBudget keeps 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 materialization, 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 invalidation
  • 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 avoided bytes in storage statistics

Compiled reporting and data composition (Small Business and Enterprise editions)

  • TXLSCompiledReportTemplate compiles placeholders once across cells, rich text, comments, threaded comments, hyperlinks, drawings, charts, headers, footers, sheet names, defined names, and document properties
  • TXLSCompiledReportBand expands defined-name row, column, and cross-tab bands from bounded one-pass data snapshots while preserving formulas, dependent objects, and explicit axis metadata; an {{#image Key}} directive resolves 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 while 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 copying row payloads
  • IXLSReportTableProvider and TXLSReportDataContext register explicit and lazy tables, while BeginRun creates an isolated IXLSReportDataSession with case-insensitive hash lookup, negative caching, deterministic provider-error caching, and immediate same-alias recursion detection; 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 remain 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 remain compatible through an adapter, explicit tables stay 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, while 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-preserving hash joins
  • TXLSReportQueryProvider exposes only registered read-only query definitions to templates and passes typed parameters plus bounded timeouts to a host executor
  • TXLSCompiledSheetReportBand and TXLSCompiledOverflowReportBand create dependency-aware per-record sheets and bounded continuation sheets from a forward cursor
  • TXLSReportIncludeLibrary resolves recursive named includes, reports cycles deterministically, and freezes into an immutable reusable library
  • Compiled report conditions, lookup, regular expressions, and dynamic formulas reuse parsed expression nodes and resolved column indexes
  • TXLSReportDynamicFormat and TXLSReportFormatEvent apply record-aware number formats, row heights, and column widths at compiled-target granularity
  • 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 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 trips
  • 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 restore shared payloads on reopen
  • Dependency-aware chart rebinding translates series, formulas, names, and anchors when 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; ErrorMode selects compatible stop behavior 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, canceled, serialization, partial stream-write, and file-replacement failures preserve the complete prior destination, while 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 while preserving 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, while safe non-cell targets preserve their original value and structural targets remain fail-fast
  • TXLSReportRuntimeLimits bounds retained issue count, sanitized 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 with 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
  • 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, while whole-row, whole-column and whole-sheet cell copies retain 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 balanced report columns
  • Compiled report analysis, strict execution, and WriteDiagnostics report malformed placeholders and missing values with target kinds and exact addresses
  • TXLSReportTemplateChecker and TXLSReportTemplateMigrator reuse compiler semantics to validate templates and convert supported legacy placeholder forms

Accessible, vector, image, and web output

  • Enterprise edition: 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 artifact isolation for decorative pictures and other non-semantic drawing
  • Enterprise edition: 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 storing private keys
  • Enterprise edition: 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 through the detailed AddAttachment overload
  • Reusable PDF begin, page, and end progress plus cancellation prevent partial destination streams
  • Style-aware PDF font fallback chains cache glyph coverage and embedded faces while preserving supplementary characters, grapheme clusters, and extraction mappings
  • Contextual complex-text shaping applies ligatures, combining-mark positioning, Arabic joining, and source-cluster mappings before 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
  • Cell comments can become positioned Unicode PDF text annotations while 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 neighbour overflow
  • TXLSPageImageExporter reuses one pagination session while 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 serializers retain format-specific encoding
  • The bounded EMF and WMF decoder validates record envelopes and rejects 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 sanitizer 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, honor 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 while 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 into 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, honor 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 honor 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 while 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 while retaining full-object output by default
  • Manual chart layouts preserve independent field presence and invalid source tokens, resolve factor and edge modes with bounded size-preserving placement, distinguish inner and outer plot targets, 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; the automatic legend band and the axis label gutters follow their own text sizes while keeping the calibrated 11 point figures
  • XLSX date axes preserve label number formats and source-link state, apply axis text styling and clockwise rotation, honor 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 changing 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 requires them
  • PDF outlines support nested Unicode bookmarks, colors, 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 materializing blank cells
  • TXLSSvgExport.SaveObjectAsSVG renders one named chart, image, or shape at its exact object bounds without cropping a full page
  • HTML export emits charts and shapes as inline SVG and preserves SVG pictures, drawing anchors, links, and supported effects without whole-sheet rasterization
  • TXLSXHtmlExportSession scans shared styles once and then exports worksheets incrementally with progress, cancellation, and reset
  • TXLSImageRenderEffects applies crop, brightness, contrast, gamma, rotation, opacity, and shadow consistently across graphics backends
  • Preset shapes, adjustments, callouts, flowcharts, text boxes, and WordArt use shared vector geometry across output formats
  • 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
  • Dense and pie chart labels receive deterministic collision adjustment and leader-line routing before final vector output
  • AMORDEGRC and AMORLINC round depreciation in 64 bits, so a cost above two thousand million keeps every digit of its first and later period amounts
  • MOD floors its quotient in 64 bits, so a dividend above two thousand million keeps 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, while a cell never takes on another cell’s look
  • A write out of order in a dense numeric sheet keeps 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 matches the spreadsheet application to every digit it prints: ODDFPRICE and ODDFYIELD walk 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 instead of only simple cell writing

  • Worksheet structure Cells, formula calculation, whole-range and merge-across ranges with direct merged-range lookup/removal, row and column sizes 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 colors, indexed colors, 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 preservation with HasVbaProject / VbaProjectDefined queries plus existing-module source inspection and editing, and external workbook links with target lookup and deletion 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 save/open

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 targets

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 color, 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 and OnUserFunction/OnUserFunctionEx, constant-state loaded-cell cursor over materialized 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-color preservation, weighted OKLab palette quantization, 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-trip through the dedicated lxHandleX facade
XLSB Validated values, formulas and basic styles through the XLSX facade, including ordinary/shared/fixed CSE formulas, 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; selective source reading with explicit later materialization, bounded row/part output with file-backed transactional staging and mandatory feature checks reject unsupported formulas, names, feature objects and unrepresented 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 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 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, color 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, while 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 through 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. Workbook SaveAsPDF combines all visible worksheets into one document, renders solid and conditional fills, color scales, data bars, conditional icons, font colors, 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, center, or right headers and footers — including the &F file-name and &Z path field codes and optional header or footer band suppression — while paginating wide and tall ranges across both axes; CalculatePageCount reports the complete logical page count without building PDF objects, and one-based FirstPage and LastPage select an output range while 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% through 400% fit scaling, and drawing placements
Portable PDF / SVG / PNG Native portable rendering transfers 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 mutation

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 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 folders

Free Pascal 3.2.2 with Lazarus/LCL is also supported on Windows Win32 and Win64 through the runtime package Lib/FPC/HotXLSLaz.lpk, including XLS/XLSX workbook APIs, formulas, direct streaming (Enterprise edition, through Lib/FPC/HotXLSLazEnterprise.lpk), 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 remain Delphi/C++Builder components

Native Linux x64, Linux ARM64, macOS 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, while BIFF8 compressed Unicode retains exact UTF-16 code units and native calculation and search preserve Unicode case matching

Supported legacy chart text is transcoded when its code page changes, and unrepresentable or unsupported byte-text migration rejects 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 renders 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 depending on a web service

Start points

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