HotXLS Docs

Typed textbox geometry copying

Imported raw groups and their drawing dependencies

The Core cross-workbook TXLSXSheets.AddCopy and TXLSXWorksheet.CopyFrom paths can prepare qualified imported OpenXML drawing groups together 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 that contains a qualified reopened raw group inside the same workbook or into another one, foreign-owned raw-text groups without typed image or chart resources included

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

Supported opaque drawing dependencies are copied across their complete internal relationship closure, with conflicting destination parts held apart 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 opaque parts are handled; MIME labels and directory names on their own do not permit treating an already consumed workbook, worksheet or other typed owner as an opaque dependency

The copied workbook can save to file and stream once the source workbook has been destroyed, then reopen and save again; package and typed publication share the outer prepare, validate, commit, rollback and finish lifecycle

The qualified copied group hangs on to the source column-width font context once unused style resources are compacted, so source release and ordinary save/reopen never 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, that profile's 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 separate meanings even where the source spells a foreign namespace with the same prefix

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

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

Ordinary grouping, ungrouping and saving of an original loaded group keep their established behaviour; a genuine ancestor-context change invalidates the old foreign-copy proof instead of quietly reusing it

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 stay 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 authorise dropping the group or touching an existing destination stream

This finite OpenXML ownership increment does not deliver 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 allows represented chart-title, series-cache and literal-series-name edits inside an owned imported or copied OpenXML aggregate, the chart and image frame names included

The chart content keeps its ordinary chart-part owner, whilst 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 stay authoritative

Preparing a save or source-free copy builds a temporary output representation instead of replacing the live raw witness; the contained chart and image payloads must stay 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 authorise those other changes

Original loaded raw saves keep their established edit behaviour outside this rewrite profile; loaded frame-name changes go through their represented save path, whilst direct loaded-raw OpenDocument saving gains no extra qualification

Represented frame names also come through the admitted OpenDocument projection and ordinary reopening rather than being swapped for generated chart or image names; the existing name-size and conversion limits stay in force, and invalid XML character sequences are turned away before publication

Actual Excel observations cover the separately prepared clean input and the library's own control, title/frame-name and literal-value outputs, holding on to chart title, frame names, series values and same-role outer frame bounds; they establish neither internal plot geometry nor pixel equivalence

The original malformed-PNG and vendor-cycle specimens stay separate failed or preservation controls; their raw transport gains no native qualification from this finite clean-input observation

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

Preparing multiple retained drawing closures

Version 2.384.444 brings the Core package-level TXLSXOpaqueDrawingAppendBatch API for preparing several foreign drawing dependency closures against a single destination package

Each TXLSOpcDrawingAppendBinding carries a registered loaded source drawing key, a destination drawing key and the complete generated relationship-ID reservations for that destination; the constructor also takes the full set of reserved part names, overall byte and work limits, and an optional shared preparation-budget callback

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

Chosen cross-root references use the complete prepared root map, whilst shared original roots keep the current binding context; references with several unresolved destination owners are refused

Call MapRelationshipId and MapPartName for each binding when preparing its retained XML references; the batch copies package relationships and dependencies but neither rewrites worksheet anchors nor assigns node ownership

ValidateForCommit checks every prepared package state before Commit publishes the complete batch; Rollback restores the original destination and allows a retry, whilst Finish releases superseded preparation containers once the final state has been checked

Preparation copies the caller's reservations and bindings, shares one overall budget across all members and charges path copies and comparisons before they run; successful validation, commit, rollback and finalisation perform no preparation allocations

The destination keeps its pre-existing part identities, and new closure payloads belong to the destination once complete; keep both input packages alive until the batch finishes

This API prepares a package closure rather than a complete workbook: the caller must still write out 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 folds supported whole aggregates and dependencies into ordinary cross-workbook copying; the standalone package batch still expects the caller to supply its own typed roots and does not establish native application acceptance

Raw anchor snapshot validation

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

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

Retained drawing relationships during ordinary saving

Version 2.384.443 gets retained drawing dependencies ready for the final worksheet order ahead of writing the output package

Saving following worksheet reordering or removal keeps supported image and retained drawing metadata fastened to the correct remaining drawing root, covering child-part back-edges, shared original drawing URIs and relationship-ID collisions with generated images

Shared metadata needing 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 carrying fragments keep those fragments whilst their actual part is loaded or moved, and empty-element namespace declarations stay local to the element that declared them

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

Supported loaded extended charts own their modeled part and drawing relationship, stopping historical copies from piling up across repeated saves; unmodeled layouts and custom relationship types keep their opaque path

Retained extended-chart child relationships must match their actual source worksheet; clashing targets, nonstandard worksheet relationship identities and worksheet fragments are turned away when a complete typed mapping is unavailable

This release leaves unfinished the ancillary ownership of foreign AddCopy/CopyFrom, arbitrary retired typed drawing closures and non-drawing references that need the original drawing root moving; unsupported cases are turned away during preparation

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

Retained drawing ownership after worksheet changes

Version 2.384.442 keeps the owner of the input drawing relationship attached to the worksheet that actually loaded it, whilst the output drawing name tracks the worksheet's present position

Reordering or deleting reopened worksheets therefore selects the retained drawing relationships belonging to each remaining worksheet itself, including image-only, raw-only and group-only drawings; a newly created worksheet inherits no relationships from an older worksheet that occupied the same output position

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

This ownership correction adds no copying of raw Source groups or unowned ancillary parts, rewrites no child relationship back-edge during ordinary saving, and establishes no native application acceptance; those conversion and dependency requirements stay 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 set out below

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

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

Supported creation metadata is cloned with a fresh creation identity, whilst effects, neutral styles, inactive line metadata and end-paragraph properties retain their represented ownership; the source may be released ahead of editing, saving and reopening the destination

Authored typed groups can hold 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 whole tree and allocates its payloads ahead of publication; commit and reverse operations preserve the existing destination identities, and supported saved output keeps compatibility branches and inherited drawing namespaces without duplicating nested objects across 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 wider native application conversion acceptance stay open

Unsupported relationships are checked in both office relationship namespaces ahead of publication; this guard adds no hyperlink or arbitrary package-part ownership to drawing copies

The historical Version 2.384.370 and 2.384.378 profiles below keep 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 be made up 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 ahead of target content or sheet creation changes

The existing zero-typed-source path keeps its prior behaviour, including the legacy raw-only drawing path; see strict OOXML textbox import for the Version 2.384.378 flat DrawingML profile admitted automatically on a 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-colour provenance and inline uniform font presence

Internal version 2.385.90 also keeps 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 stays 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 blank source names

The logical textbox collection order and the drawing-list paint order stay 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 real destination owner

After a successful copy, the source may 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 behaviour

Existing destination drawings remain subject to that preexisting dimension-copy behaviour, 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 demonstrate qualification

Staging, refusal and limits

The complete block is detached ahead of 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 staging metadata charges that are checked

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

The copied block is prepared before publication, but the existing whole CopyFrom operation is not promised as 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 behaviour

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

Semantic files are produced by the qualified copy cases, but their existence is not advertised as an extra 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 stay 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) whilst leaving existing DOM callers and legacy textbox defaults unchanged

Two-cell anchors with editAs="oneCell" demand 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 stay 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 keep 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 emit TextBoxFontMatching or TextBoxOverflow when font matching, language or overflow policies are present; Portable rendering and structural row or column edits explicitly turn away unsupported move-only or fixed textbox profiles

Final complete-source Win64 Delphi 37 qualification passes 49 focused assertions over 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 logs 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