altText? | string | Author’s alt text (wp:docPr/@descr), verbatim. |
chartHits? | LayoutShapeGeom[] | Closed chart outlines tagged with part for hit-testing (chartPartAt); never painted. |
clip? | string | pic:spPr custom / non-rect preset geometry as SVG d in the unrotated ink box (hmm, y-down from the paint bbox). Painters clip the bitmap to it even-odd. Absent = the image fills its rectangle. |
drawHHmm? | number | |
drawWHmm? | number | Ink size of a ROTATED drawing, in hmm, before the rotation is applied. wHmm/hHmm then hold the slot the flow reserved (an anchor’s rotated bounding box; an inline picture’s extent, swapped past 45°), and painters draw the image into this size CENTRED in the bbox before rotating about that centre. Absent = the ink fills the bbox. |
effects? | { glow?: { alpha: number; color: string; radiusHmm: number }; reflection?: { distHmm: number; endAlpha: number; size: number; startAlpha: number }; softEdgeHmm?: number } | pic:spPr/a:effectLst glow, reflection and soft edges, painted against white paper as shadow is: a glow is stacked translucent rings behind the picture, a reflection a mirrored copy under a white fade, soft edges a white fade over each side. |
flip? | ImageFlip | a:xfrm@flipH/@flipV (own or inherited from a group): painters mirror the ink about the bbox centre BEFORE rotating it. Absent = no mirror. |
hHmm | number | |
id | string | Key into LayoutDocument.images. Two sentinels never resolve there: "shape" (vector shapes ride on the ref) and "rule" (an o:hr slot whose stroke paints as chrome; the ref only reserves the line). |
layers? | LayoutImageRef[] | Pictures composing one inline DrawingML group, in declared paint order. Their offsets and sizes are relative to this ref’s flow slot. |
mime | ”png” | “jpeg” | “gif” | “tiff” | “svg” | “other” | |
offsetXHmm? | number | Offset of the painted child inside an inline drawing’s flow slot. |
offsetYHmm? | number | |
outline? | { color: string; split?: LayoutBorderSide[“split”]; widthPt: number } | pic:spPr/a:ln — the picture’s own frame (Word’s “Picture Border”), stroked wholly outside the placed bbox as Word does. Absent = no frame. split is a compound line (a:ln@cmpd), its bands outer → inner on every side. |
rotDeg? | number | a:xfrm@rot in degrees, CLOCKWISE (OOXML). Painters rotate about the placed bbox centre; absent = upright. |
shadow? | { alpha?: number; blurPt?: number; color: string; dxHmm: number; dyHmm: number; rgb?: string } | pic:spPr/a:effectLst/a:outerShdw flattened to one opaque offset copy of the bbox, painted under the picture. dxHmm/dyHmm are the shadow’s displacement (dist resolved along dir); color is the shadow colour already composited against white for its alpha, because neither painter has an alpha channel — and no corpus shadow falls on anything but paper. The blur radius is dropped: a hard edge at the right offset is much closer to Word’s ink than no shadow at all. rgb, alpha and blurPt keep the authored values for writers. |
shapeId? | number | wp:docPr/@id of the inline drawing. Pure metadata for geometry queries (two drawings sharing one flow slot are otherwise indistinguishable); painters never read it. |
shapes? | LayoutShapeGeom[] | Set instead of a bitmap payload when the drawing is DrawingML shape geometry. A shape has no image part, so id is the sentinel "shape" and mime is "other": there is deliberately no LayoutDocument.images entry to look up, and painters must test this field BEFORE reaching for one (see paintDrawing in paint/scene.ts). |
slotHHmm? | number | Height of the flow slot when the painted child is inset in it (effect extent). |
vectorKind? | ”chart” | “diagram” | What the vector shapes ARE, when the parser knows: a chart plot or a SmartArt diagram. Pure metadata for sketches/tools; painters never read it. Absent = plain drawn geometry. |
wHmm | number | Placed size in hmm (already scaled to fit the column). |