HotXLS Docs

Drawing ownership and textbox geometry

Imported raw groups and their drawing dependencies

The Core cross-workbook TXLSXSheets.AddCopy and TXLSXWorksheet.CopyFrom paths can prepare qualified imported OpenXML drawing groups with their actual loaded anchor, relationship scope and uniquely owned image and chart payloads

Version 2.384.537 retains actual drawing emission when TXLSXSheets.AddCopy copies a worksheet containing a qualified reopened raw group within the same workbook or to another workbook, including a foreign-owned raw-text group without typed image or chart resources

Nested raw group content retains its own local coordinates, text and metadata; the selected outer anchor receives the prepared placement translation once, and copied shape identities are reserved independently from existing destination objects

Supported opaque drawing dependencies are copied through their complete internal relationship closure, with conflicting destination parts kept distinct and child-part drawing back-edges and fragments rebound to the correct destination root; existing destination drawing and payload identities remain attached

Preparation binds typed references to their actual image or chart owners before handling opaque parts; MIME labels and directory names alone do not authorize treating an already consumed workbook, worksheet or other typed owner as an opaque dependency

The copied workbook can save to file and stream after the source workbook is destroyed, then reopen and save again; package and typed publication share the outer preparation, validation, commit, rollback and finish lifecycle

The qualified copied group keeps the source column-width font context after unused style resources are compacted, so source release and ordinary save/reopen do not leave its geometry context pointing at a removed font

See Reopened raw-group copying for the represented break-bearing text and mixed PNG/chart/raw-text profile, its source-free conversion lifecycle and the separate nested-picture source counter

Loaded group and picture metadata is matched by its actual namespace rather than a fixed source prefix; Office hyperlink references and unrelated foreign attributes keep distinct meanings even when the source uses the same prefix spelling for a foreign namespace

Copied image and chart names follow the names reserved by the destination copy graph, so reopening does not revert them to colliding source names

Copied raw aggregates retain their original group representation and restricted geometry; the represented chart-content and frame-name profile permits specific typed changes without opening general raw child editing, image replacement, regrouping or ungrouping

Ordinary grouping, ungrouping and saving of an original loaded group retain their established behavior; a real ancestor-context change invalidates its old foreign-copy proof rather than silently reusing that proof

Inherited markup-compatibility context, base-URI changes, connector or creation identities, linked text or macro references, incompatible theme/font context, ambiguous typed owners and unrepresented typed dependencies remain outside the admitted copy profile

OpenDocument conversion has its separate represented source-free aggregate profile and literal chart data representation; XLSB conversion retains the qualified closed chart, PNG and plain-text group profile from Version 2.384.462; outside those profiles, AllowLossy=True does not authorize dropping the group or touching an existing destination stream

This finite OpenXML ownership increment does not establish arbitrary DrawingML conversion, general raw-text editing, native appearance parity or complete OpenDocument object conversion

Chart content and frame names inside retained aggregates

Version 2.384.516 permits represented chart-title, series-cache and literal-series-name edits inside an owned imported or copied OpenXML aggregate, together with the chart and image frame names

The chart content retains its ordinary chart-part owner, while each edited frame name binds to the exact chart or image relationship occurrence; untouched group coordinates, raw group state, unknown markup and supported dependency ownership remain authoritative

Preparing a save or source-free copy uses a temporary output representation rather than replacing the live raw witness; the contained chart and image payloads must remain attached to the same actual worksheet and resource owners

The copied-aggregate rewrite profile retains existing preparation budgets and refuses changed image bytes, changed chart or image frame geometry, classic-chart transitions to ChartEx and unrepresented group topology; changing a name does not authorize those other changes

Original loaded raw saves retain their established edit behavior outside this rewrite profile; loaded frame-name changes use their represented save path, while direct loaded-raw OpenDocument saving has no additional qualification

Represented frame names also survive the admitted OpenDocument projection and ordinary reopening, instead of being replaced by generated chart or image names; the existing name-size and conversion limits remain in force, and invalid XML character sequences are refused before publication

Actual Excel observations cover the separately prepared clean input and its actual library-produced control, title/frame-name and literal-value outputs, retaining chart title, frame names, series values and same-role outer frame bounds; they do not establish internal plot geometry or pixel equivalence

The original malformed-PNG and vendor-cycle specimens remain separate failed or preservation controls; their raw transport does not become native qualification through this finite clean-input observation

Arbitrary raw-text editing, regrouping, image replacement, unsupported ancillary providers and complete E2 conversion remain outside this increment

Preparing multiple retained drawing closures

Version 2.384.444 adds the Core package-level TXLSXOpaqueDrawingAppendBatch API for preparing several foreign drawing dependency closures against one destination package

Each TXLSOpcDrawingAppendBinding supplies a registered loaded source drawing key, a destination drawing key and the complete generated relationship-ID reservations for that destination; the constructor also receives the complete reserved part names, total byte and work limits, and an optional shared preparation-budget callback

Existing destination drawing keys keep their actual original part URI, including nonstandard paths; new destination keys receive an owned drawing seed and provenance during preparation

Selected cross-root references use the complete prepared root map, while shared original roots retain the current binding context; references with multiple unresolved destination owners are refused

Use MapRelationshipId and MapPartName for each binding when preparing its retained XML references; the batch copies package relationships and dependencies but does not rewrite worksheet anchors or assign their node ownership

ValidateForCommit checks all prepared package states before Commit publishes the complete batch; Rollback restores the original destination and permits a retry, while Finish releases superseded preparation containers after the final state has been checked

Preparation copies caller reservations and bindings, shares one total budget across all members, and charges path copies and comparisons before they execute; successful validation, commit, rollback and finalization do not perform preparation allocations

The destination keeps its preexisting part identities, and new closure payloads belong to the destination after completion; keep both input packages alive until the batch finishes

This API prepares a package closure rather than a complete workbook: the caller must still emit its typed drawing roots, workbook roots, relationships and content types, and must bind retained fragment references using their actual origin

The imported raw-group profile now integrates supported whole aggregates and dependencies into ordinary cross-workbook copying; the standalone package batch still requires the caller to supply its own typed roots and does not establish native application acceptance

Raw anchor snapshot validation

Prepared drawing snapshots retain the raw-anchor array storage identity and independent text values, so a row insertion that rewrites raw XML is detected even when its drawing node and array index stay attached

Unchanged snapshot validation keeps its allocation-free comparison path, and typed-only copying continues to require a separate owner for retained raw anchors

Retained drawing relationships during normal saving

Version 2.384.443 prepares retained drawing dependencies for the final worksheet order before writing the output package

Saving after worksheet reordering or deletion keeps supported image and retained drawing metadata attached to the correct remaining drawing root, including child-part back-edges, shared original drawing URIs and relationship-ID collisions with generated images

Shared metadata that needs different drawing targets is copied for each output owner; metadata still referenced by a retained workbook, root or worksheet relationship keeps its original part and bytes

Retained opaque part references with fragments keep those fragments while their actual part is loaded or relocated, and empty-element namespace declarations remain local to the element that declared them

The drawing projection uses an independent output view and checks for source changes before writing retained parts; clearing the opaque package or saving a fresh workbook follows the existing path when no drawing preservation state remains

Supported loaded extended charts own their modeled part and drawing relationship, preventing historical copies from accumulating across repeated saves; unmodeled layouts and custom relationship types retain their opaque path

Retained extended-chart child relationships must agree with their actual source worksheet; conflicting targets, nonstandard worksheet relationship identities and worksheet fragments are refused when a complete typed mapping is unavailable

This release does not complete foreign AddCopy/CopyFrom ancillary ownership, arbitrary retired typed drawing closures or non-drawing references that require original drawing-root relocation; unsupported cases are refused during preparation

Chart raw metadata remains separate work: ordinary two-cell chart frames still use the generated typed representation, while the retained physical-chart transport accepts its existing restricted grammar; the image and retained metadata qualification does not establish full chart-frame metadata preservation or native application acceptance

Retained drawing ownership after worksheet changes

Version 2.384.442 keeps the input drawing relationship owner attached to the worksheet that actually loaded it, while the output drawing name follows the worksheet's current position

Reordering or deleting reopened worksheets therefore selects each remaining worksheet's own retained drawing relationships, including image-only, raw-only and group-only drawings; a newly created worksheet does not inherit relationships from an older worksheet that occupied the same output position

An independent worksheet copy starts with its own drawing binding, and CopyFrom retains the existing destination worksheet's input binding for its retained objects; prepared publication checks changes to that identity on empty and populated sheets, and rollback restores the original destination binding

This ownership correction does not add copying of raw Source groups or unowned ancillary parts, rewrite every child relationship back-edge during ordinary saving, or establish native application acceptance; those conversion and dependency requirements remain separate work

Current cross-workbook drawing ownership

Version 2.384.441 extends the owned cross-workbook TXLSXSheets.AddCopy and TXLSXWorksheet.CopyFrom path beyond the older flat-textbox profile described below

Supported saved and reopened preset shapes retain their nonempty preset token and empty adjustment list, uniform text properties and represented paint metadata; one-cell shapes retain their physical extent and absence of a second cell marker

AddCopy retains source coordinates; the cross-workbook CopyFrom path translates copied anchors with the prepared source-root placement, retaining existing destination drawing and payload identities and resolving copied shape names independently

Supported creation metadata is cloned with a fresh creation identity, while effects, neutral styles, inactive line metadata and end-paragraph properties keep their represented ownership; the source can be released before editing, saving and reopening the destination

Authored typed groups can contain nested images, charts, textboxes, Slicers and Timelines; copying retains parent-child relationships, sibling paint order and the actual shared cache and worksheet dependency owners

Preparation validates the complete tree and allocates its payloads before publication; commit and reverse operations preserve existing destination identities, and supported saved output retains compatibility branches and inherited drawing namespaces without duplicating nested objects on repeated saves

The later imported raw-group profile owns qualified whole anchors and dependencies, with specific chart-content and frame-name edits; general raw drawing payloads, arbitrary child editing, nonempty adjustment geometry, richer nonuniform text, unprepared ancillary owners and broader native application conversion acceptance remain open

Unsupported relationships are checked in both office relationship namespaces before publication; this guard does not add hyperlink or arbitrary package-part ownership to drawing copies

The historical Version 2.384.370 and 2.384.378 profiles below retain their original same-workbook, import and format limits; they do not narrow the current qualified cross-workbook owner path

Supported worksheet operations

Version 2.384.370 copies ordinary and enhanced owned textboxes through TXLSXWorksheet.CopyFrom, same-workbook or cross-workbook TXLSXSheets.AddCopy, and Duplicate

The source drawing collection must consist entirely of uniquely owned, top-level typed textbox nodes and their matching payloads; when appending a nonempty block, existing target drawings must also be flat typed textboxes

Groups, raw anchors, mixed images or charts, Slicer, Timeline, detached sheets and nonprimary sheet containers remain outside this new profile and refuse before target content or sheet creation changes

The existing zero-typed-source path keeps its prior behavior, including the legacy raw-only drawing path; see strict OOXML textbox import for the Version 2.384.378 flat DrawingML profile admitted automatically on normal XLSX open

Geometry, appearance and identities

Each copied box retains its exact active and inactive geometry tuple, fixed extent or cell endpoints, signed EMU values, text, name, preset and WordArt values, text and outline ARGB, implicit-color provenance and inline uniform font presence

Internal version 2.385.90 also retains textbox rotation through worksheet copying. Editing or clearing the angle of a typed imported textbox updates its saved XLSX drawing transform

Explicit false bold or italic remains distinct from an absent override, and font values are copied without borrowing another workbook's font-pool index

CopyFrom appends one copied textbox block after existing target drawings, with deterministic case-insensitive collision suffixes and generated names for empty source names

The logical textbox collection order and the drawing-list paint order remain separate identities; bringing a source shape forward does not associate its geometry or text with a different logical textbox

AddCopy and Duplicate publish one block on their new sheet; every cloned payload and drawing node receives the actual destination owner

After a successful copy, the source can be released and the destination boxes edited independently

Existing worksheet copy semantics

The geometry tuple is copied exactly without anchor translation or point-to-EMU reconstruction; existing worksheet dimension and used-range copying retains its previous placement behavior

Existing destination drawings remain subject to that preexisting dimension-copy behavior, so appending shapes does not promise that the old target grid metrics stay unchanged

Source ODS loss flags propagate and preexisting target loss flags remain present when appending a block; copying does not clear raw sources or losses to establish qualification

Staging, refusal and limits

The complete block is detached before destination changes, with source and target owner checks, names, geometry, count and text-budget validation before publication

The new profile admits at most 1024 total destination textboxes and 1048576 total UTF-16 text units, with checked staging metadata charges

A distinct source read lease protects detached staging and is released before the old cell-copy phase, while destination read leases retain their existing mutation refusal

The copied block is prepared before publication, but the existing whole CopyFrom operation is not promised transactional for arbitrary later cell-copy or allocation failures

Unsupported typed-copy owners are checked before Duplicate creates a new sheet, closing the former empty-sheet side effect after refusal

Persistence and remaining drawing work

Typed ODS save and reopen retain the represented copied geometry and uniform font properties; OOXML output retains exact geometry and its existing raw graph save/reopen behavior

ODS global overlapping paint order across different host cells is not newly qualified; the owned-cell geometry and OOXML drawing order have separate contracts

Semantic files are produced by the qualified copy cases, but their existence is not advertised as an additional full semantic decoder qualification

See strict OOXML textbox import and identity gaps for the finite Version 2.384.378 reverse-import profile; general raw graph copying, Classic shape conversion, broader drawing mixtures and pixel-parity guarantees remain separate

See textbox cell geometry and uniform textbox fonts for their separate exact conversion limits

Strict OOXML textbox import and identity gaps

Version 2.384.378 admits strictly qualified flat one-cell (xdr:oneCellAnchor) and two-cell (xdr:twoCellAnchor) DrawingML textboxes into typed TXLSXTextBox instances during ordinary TXLSXWorkbook.Open

Strict admission verifies original namespace bindings, attribute sets, signed Int64 marker coordinates, unique positive cNvPr IDs within 1..2147483647 and opt-in whitespace-preserving DOM parsing (TSimpleDomReader.PreserveWhitespaceText) while leaving existing DOM callers and legacy textbox defaults unchanged

Two-cell anchors with editAs="oneCell" require explicit row heights and column widths across the spanned range before admitting EditBehavior = xlsxTextBoxMoveOnly; editAs="absolute", groups, unknown active attributes, relationships and mixed rich runs remain on the raw drawing path

Paint, body insets, overflow and font matching

TXLSXTextBox adds FillMode and StrokeMode (TXLSXTextBoxPaint: xlsxTextBoxPaintAuto, xlsxTextBoxPaintNone, xlsxTextBoxPaintSolid), 32-bit ARGB FillColor, TextBody (TXLSXTextBoxBody: xlsxTextBoxBodyLegacy, xlsxTextBoxBodyFixedTop, xlsxTextBoxBodyOverflow), LeftInsetEMU, TopInsetEMU, RightInsetEMU, BottomInsetEMU, SetTextInsets, ClearTextInsets, VerticalOverflow, HorizontalOverflow and EditBehavior (TXLSXTextBoxBehavior)

Uniform Latin font matching and language attributes import into HasFontMatching, TextFontPanose, TextFontPitchFamily, TextFontCharset, TextLanguage, TextAlternateLanguage and ClearFontMatching

Owner-bound source envelopes retain qualified inactive creation, neutral-style, hidden-paint, no-fill-line and end-paragraph XML on the original worksheet without granting copied objects the source owner or source cNvPr identifier

Document-local drawing ID allocation keeps ordinary max + 1 numbering below MaxInt and scans for the lowest unused positive integer gap when 2147483647 is already occupied

Consumer boundaries and qualification

ODS export and GetConversionReport(xlsConversionOpenDocument) support the represented no-matching clip profile with exact EMU insets and report TextBoxFontMatching or TextBoxOverflow when font matching, language or overflow policies are present; Portable rendering and structural row or column edits explicitly refuse unsupported move-only or fixed textbox profiles

Final complete-source Win64 Delphi 37 qualification passes 49 focused assertions across one cold build and two guarded reuses, 1206 independent review checks, 7 complete package bridges (141 named ZIP parts) and 2 exact semantic-snapshot bridges

Separate historical native Excel evidence records 56 passed producer checks, 47 completed edited-file checks inside an overall failed 49-attempt consumer run before identity-domain separation, and 45 passed copy-supplement checks bound through exact R14-to-R15 named-part bridges without launching a new Excel session