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.
Properties
Section titled “Properties”altText?
Section titled “altText?”
readonlyoptionalaltText?:string
Defined in: src/core/document-model/types.ts:822
wp:docPr @descr/@title — alternate text for the tagged-PDF Figure (/Alt).
readonlyfill:ShapeFill
Defined in: src/core/document-model/types.ts:816
float?
Section titled “float?”
readonlyoptionalfloat?:FloatAnchor
Defined in: src/core/document-model/types.ts:812
§20.4.2.3 — present when the drawing is anchored (floating).
geometry
Section titled “geometry”
readonlygeometry:ShapeGeometry
Defined in: src/core/document-model/types.ts:815
height
Section titled “height”
readonlyheight:Pt
Defined in: src/core/document-model/types.ts:814
readonlyoptionalline?:ShapeLine
Defined in: src/core/document-model/types.ts:817
paragraphProperties
Section titled “paragraphProperties”
readonlyparagraphProperties:ParagraphProperties
Defined in: src/core/document-model/types.ts:820
readonlyoptionaltext?:ShapeTextBody
Defined in: src/core/document-model/types.ts:819
transform?
Section titled “transform?”
readonlyoptionaltransform?:ShapeTransform
Defined in: src/core/document-model/types.ts:818
readonlywidth:Pt
Defined in: src/core/document-model/types.ts:813