Skip to content

ShapeBlock

Defined in: src/core/document-model/types.ts:810

A block-level DrawingML shape (§20.1): its size, ShapeGeometry, fill, outline, transform and optional text body. A standalone shape carries the paragraph’s properties for block spacing / alignment, mirroring ImageBlock.

readonly optional altText?: string

Defined in: src/core/document-model/types.ts:822

wp:docPr @descr/@title — alternate text for the tagged-PDF Figure (/Alt).


readonly fill: ShapeFill

Defined in: src/core/document-model/types.ts:816


readonly optional float?: FloatAnchor

Defined in: src/core/document-model/types.ts:812

§20.4.2.3 — present when the drawing is anchored (floating).


readonly geometry: ShapeGeometry

Defined in: src/core/document-model/types.ts:815


readonly height: Pt

Defined in: src/core/document-model/types.ts:814


readonly optional line?: ShapeLine

Defined in: src/core/document-model/types.ts:817


readonly paragraphProperties: ParagraphProperties

Defined in: src/core/document-model/types.ts:820


readonly optional text?: ShapeTextBody

Defined in: src/core/document-model/types.ts:819


readonly optional transform?: ShapeTransform

Defined in: src/core/document-model/types.ts:818


readonly width: Pt

Defined in: src/core/document-model/types.ts:813