HotXLS Docs

TXLSShape.Shadow and TXLSShadowFormat

Version 2.384.450 exposes Classic shape shadow visibility and the obscured flags by way of the Shadow property in lxDraw

Syntax and lifetime

property Shadow: TXLSShadowFormat read GetShadow;

property Visible: Boolean read GetVisible write SetVisible;
property Obscured: Boolean read GetObscured write SetObscured;

The format object is obtained from an existing TXLSShape; the shape owns its lifetime, so callers never free the returned object

Shadow.Visible governs the shadow flag separately from the shape's own Visible property

Shadow.Obscured controls whether the shape obscures its shadow; the visible effect depends upon the shape's fill and the consuming application

Example

For an existing Classic Shape: TXLSShape, edit the two independent flags prior to normal XLS output

Shape.Shadow.Visible := True;
Shape.Shadow.Obscured := False;

Source-effective flags and copying

Inside the represented property profile, every flag resolves its local value/use pair, then the drawing default of the workbook and finally the format's false default

Changing one flag preserves the other flag and ignored local bits; the unused and inner-shadow bits of the shadow Boolean record are retained without taking on extra modelled meaning

A known equal assignment leaves document generation untouched and can be made whilst a read lease is held; a real change requires the normal write guard

An unresolved inherited value differs from a known false value, so an equal-looking false assignment can create explicit local authority rather than being a no-op

Supported cross-workbook whole-sheet and selected-group copies materialise both effective source flags before publication, keeping them intact across destination defaults that conflict, source destruction and file or stream reopening

Qualification and remaining scope

The qualified path relies on simple unsigned 32-bit shadow Boolean properties plus the existing supported known-group drawing profile; shadow colours without an owner, offsets, complex properties, alternate defaults and unsupported drawing dependencies keep their established refusal boundaries

This increment leaves shadow rendering, parent/master inheritance chains, ODS and XLSB conversion, and every drawing topology outside its scope

The property representation follows [MS-ODRAW] section 2.3.13.23