HotXLS Docs

TXLSShape.Shadow and TXLSShadowFormat

Version 2.384.450 exposes the Classic shape shadow visibility and obscured flags through 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;

Obtain the format object from an existing TXLSShape; the shape owns its lifetime, so callers do not free the returned object

Shadow.Visible controls the shadow flag independently of the shape's own Visible property

Shadow.Obscured controls whether the shadow is obscured by the shape; its visible effect depends on the shape's fill and the consuming application

Example

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

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

Source-effective flags and copying

Within the represented property profile, each flag resolves its local value/use pair, then its workbook drawing default and finally the false format default

Changing one flag preserves the other flag and ignored local bits; the shadow Boolean record's unused and inner-shadow bits are retained without acquiring additional modeled meaning

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

An unresolved inherited value is distinct from a known false value, so an equal-looking false assignment can create explicit local authority instead of being a no-op

Supported cross-workbook whole-sheet and selected-group copies materialize both effective source flags before publication, retaining them across conflicting destination defaults, source destruction and file or stream reopening

Qualification and remaining scope

The qualified path uses simple unsigned 32-bit shadow Boolean properties and the existing supported known-group drawing profile; unowned shadow colors, offsets, complex properties, alternate defaults and unsupported drawing dependencies keep their existing refusal boundaries

This increment does not qualify shadow rendering, parent/master inheritance chains, ODS or XLSB conversion, or every drawing topology

The property representation follows [MS-ODRAW] section 2.3.13.23