HotXLS Docs

Classic line visibility

Version 2.384.412 corrects represented Classic shape line visibility and the effective value retained by whole-worksheet and selected-group copies

Local use flags and known defaults

Shape.Line.Visible reads the local line value only when its corresponding use flag is set, otherwise it consults the admitted document default with its own use flag

When both represented owners are known to lack an effective override, the standard default is visible, so an absent local property is different from an explicit local hidden line

A parent group's own shape property does not become its child's document default, and unknown or conflicting property families do not establish known absence or receive a guessed visible default

For an imported default this library could not resolve, Visible retained its false fallback through 2.384.481; that fallback did not prove an explicit hidden line or justify a no-op setter, and a copy owner it did not support stayed refused Version 2.384.482 resolves every line Boolean default the format specification defines, so the false fallback now applies only to a default that is genuinely unresolvable, and a copy owner is refused only for a reason of its own

The raw OfficeArtOptions interface continues to expose local property presence and values rather than flattening inherited state

Edits and copy ownership

Assigning an already known effective value remains a no-op and preserves local absence, including under a read lease

An unknown effective value cannot justify that shortcut, while a real edit sets the appropriate local use and value bits without overwriting unrelated Boolean properties

Cross-workbook whole-sheet and selected-group copies retain the known source-effective value as an owned local override when the destination default could differ, without modifying the source

Property families this library does not represent, and ownership it cannot resolve, keep their existing explicit refusal boundaries instead of receiving an inferred value; since 2.384.482 the line Boolean word is no longer among the unrepresented families, while the reserved and undefined bits of that word are still refused rather than silently ignored; that version covered a shape own primary property table, and a line Boolean value in a retained alternate property table reached the same coverage only at 2.384.484

Finite native consumer evidence

The final-source focused qualification had 374 checks at that release, with 1358 independent checks retained in their recorded evidence domains

Re-executed on 2.384.481 from the archived drivers and inputs exactly as they stand, the visibility, copy and boundary domains reproduce all 276 of their checks line for line, while the guards and negative domains run 13 and 25 checks and stop there, leaving 60 of the 374 unexecuted; every check that does run equals the archived transcript, including the two stopped prefixes, so that stop is the only drift

The stop is one deliberately malformed guard fixture that a 2.384.457 reader guard now refuses at open for an inconsistent known-group alternate table extent, where this release opened it and refused later at copy time; that guard is settled as correct rather than over-tight, because the primary specification requires an alternate property table's record length to equal the number of properties multiplied by the size of one property entry plus the size of the complex property data, and requires its record version to be 3, which is exactly what the guard enforces, so a conforming table cannot trip it

That fixture was authored by overwriting its only complex property entry, whose extra data is a 1761-byte embedded package, with a simple line Boolean entry and leaving the property count and record length untouched, so the record declares 1767 body bytes against 6 reachable ones, and swapping those five entry bytes in both directions moves the refusal with it while everything else in each file stays identical

Marking that line Boolean entry complex again and giving it the embedded package's length as its value restores the equality in four bytes with no length change, so nothing downstream shifts and the package stays referenced; with that repair substituted, all five focused domains re-execute on 2.384.481 and reproduce their archived transcripts line for line at 215, 47, 37, 61 and 14, which is the full 374, so the domains covering unsupported property families and unresolved ownership are available again as a regression net for the line Boolean word

Two shorter alternatives were measured and rejected: declaring the record length to be 6 agrees trivially but orphans the embedded package and is then refused by a different guard for a drawing child exceeding its enclosing container, and reverting the entry to its original form is consistent yet yields a file byte-identical to another fixture in the same set, so it drops the content the fixture exists to carry

The four-byte repair leaves the entry complex where the archived one was simple, so under that repair alone the observable refusals are reproduced while the internal reason for that one fixture's refusal may differ and the archived drivers catch the range error without inspecting its message; measuring what a faithful repair keeping a simple entry would need, instead of assuming it, showed eleven fields to touch with no continuation split moving, because the owner drawing record is unsplit and holds 6313 bytes of headroom before the record-size cap, and no allocation table changing, because the stream's last sector has 33 spare bytes. That faithful repair has since been performed and meets the same bar, so the caveat belongs to the four-byte repair alone and not to the domain as restored, and the eleven edits do not generalise: a different aggregate would have a different container chain, a different number of sheet-start offsets past the insertion point, and possibly a stream whose last sector has no spare room, in which case the growth would need a real allocation table change

The eleven are the record's own property count and length, the six inserted bytes of the second entry, the lengths of five enclosing shape containers whose headers sit in four earlier drawing records, the owner drawing record's length, one absolute sheet-start offset lying past the insertion point, and the compound file directory's size for the workbook stream; the shared string table and its extension table both precede the insertion point, so their offsets do not move. All eleven have since been performed and every one reconciled with the offset this page lists before anything was written: the re-authored file opens, its record decodes as a consistent two-entry table whose first entry is still the simple line Boolean word byte for byte, its record chain walks to the end of the grown stream, the moved sheet-start offset lands on a real BOF record, the file length is unchanged because the growth fits the sectors already allocated to the stream and so needs no allocation table change, and the guards and negative domains reproduce their archived transcripts line for line at 37 and 61 checks

The actual final-source native consumer and native-saved library readback have 443 and 17 checks respectively, with their process protocol and semantic observations kept separate in the permanent evidence

The continued-output boundary witness preserves complete drawing packets; its initially empty target worksheet adds a standard-width record on the first save after reopening, while the following two saves are byte-stable

The native consumer covers the two fixed public-copy products: an absent local source whose new copied lines must remain visible, and an explicit local-off source whose new copied lines must remain hidden

Each product contains both a whole-sheet copy and a selected-group copy, distinguished from the destination's original objects by worksheet and recursive group ownership

Native SaveAs is followed by normal close and Quit, then normal reopening in a new owned Excel process, without silently repairing the original input or discarding alternate drawing metadata

The whole specified line Boolean word

Version 2.384.482 represents every flag the format specification defines for the Classic line Boolean word, rather than only line visibility and arrowhead edit permission, so a shape that specifies whether its line is drawn inside its own outline, whether the line takes part in hit testing, how the line fill is aligned, whether an opaque line is drawn underneath, or whether a dashed line is drawn when no line exists, keeps that setting through a grouped copy

Each flag is represented together with the use bit that says whether it was specified, so a word that leaves a flag unspecified still resolves that flag against its documented default rather than against zero

A workbook default carrying any of those properties is now read instead of being rejected as a whole Before this version a default that specified a property beyond line visibility was refused outright, which discarded the line visibility that same default also specified and made every shape in the workbook report no line even where the default declared one visible; the corrected reading follows the specification, which ignores a flag whose use bit is clear and defaults line visibility to present

Bits the specification reserves or leaves undefined are still refused rather than silently ignored, so a malformed word is reported instead of being partly honoured

One boundary is retained and the other was closed by 2.384.483 At 2.384.482 a workbook default for one of the newly represented flags did not reach the copied word, because a grouped copy resolved only line visibility from the default and took the remaining flags from the shape itself; that is now inherited too, under the condition the new section states. What is retained is that for a source specifying nothing beyond line visibility and arrowhead edit permission, and a workbook default that pairs nothing new, the copied word keeps exactly the shape it always had, so a drawing the earlier version already represented still copies byte for byte

Line Boolean properties inherited from a workbook default

Version 2.384.483 carries a line Boolean property that the workbook default specifies into a grouped copy of a shape that did not specify it itself, where 2.384.482 resolved only line visibility from the default and took every other flag from the shape

Inheritance is paired: a flag reaches the copy only beside the bit that says it was specified, because the format specification requires a flag whose use bit is clear to be ignored and to take its documented default instead. A workbook default that names a property without that bit therefore contributes nothing, and a default that names six properties with none of their bits contributes nothing either

This is a deliberate asymmetry with how a shape own word is treated. What a shape specified is passed through verbatim, because that is what its author wrote, while a default the shape never asked for contributes only what is actually in effect

Because the inherited half is paired, a workbook whose default carries a property without its bit copies exactly as it did before, so this release changes no byte for such a drawing

One case is still not inherited, and it is a property of the reader rather than of the copy. A workbook default that does not specify line visibility at all resolves to the standard default before the copy ever sees it, so a property named only in such a default does not travel. That reader gate is per property rather than per family: the public line-visibility getter reads one bit of whatever the reader returns, so widening the gate would let it report visibility from a word that never represented it

The line Boolean word in a retained alternate property table

Version 2.384.484 carries a line Boolean value that a Classic drawing keeps in an alternate property table through a grouped copy, where the earlier versions recognised exactly one such value and refused every other, so copying that worksheet failed even though the same property in a shape own primary table had travelled since 2.384.482

An alternate table is preserved as written rather than interpreted, so what a copy owes it is faithful carriage and not a resolved value; every word the format specification defines for the line Boolean property is now admitted, and each one travels byte for byte and survives saving and reopening the destination

A word carrying a bit the specification reserves or leaves undefined is still refused rather than silently ignored, so the gate stays a test of the specified layout and a malformed table is reported instead of being partly honoured

The one value the earlier versions admitted lies inside that layout, so this release refuses nothing they admitted, and the other tables a shape retains are unaffected: a copy still rewrites only the one holding the modern shape cache, giving it the destination cache identity, exactly as before

One structural asymmetry is retained, and is now explained rather than merely noted. The shape and protection Boolean words in a retained table are reconciled against the values a copy prepared earlier, while the line Boolean word has no such prepared value, so its keep flag has nothing to be reconciled against and the word is carried as its author wrote it

Retained boundaries

A document-hidden derivative retaining an alternate modern shape cache can still disagree with the primary document property in Excel, and precedence for that conflict remains unqualified

The earlier packet06 live copy that materialized hidden lines from an absent visible source remains recorded as an actual regression, rather than being relabeled as a successful inheritance profile

The historical 2.384.411 release did not qualify the standard default or source-to-copy native fidelity, and its local-only interpretation is superseded by this corrected finite profile

The current evidence does not establish pixel parity, absolute geometry equivalence, arbitrary drawing-family compatibility or completion of the original F2 requirements

Packet06 is only partially released within this represented visibility increment, and the original F2 row remains partial

See document-default width and style, preset dash and cap defaults, and selected-group ownership and copy boundaries