FrameProperties
Defined in: src/core/document-model/types.ts:142
§17.3.1.11 w:framePr — the paragraph is a floating TEXT FRAME: it leaves
the flow, takes the box this describes, and the body text wraps around it.
Consecutive paragraphs carrying the same frame are one frame together.
Properties
Section titled “Properties”hAnchor?
Section titled “hAnchor?”
readonlyoptionalhAnchor?:"text"|"page"|"margin"
Defined in: src/core/document-model/types.ts:154
heightPt?
Section titled “heightPt?”
readonlyoptionalheightPt?:Pt
Defined in: src/core/document-model/types.ts:146
w:h with w:hRule — exact pins the height, anything else fits the text.
heightRule?
Section titled “heightRule?”
readonlyoptionalheightRule?:"auto"|"exact"|"atLeast"
Defined in: src/core/document-model/types.ts:147
hSpacePt?
Section titled “hSpacePt?”
readonlyoptionalhSpacePt?:Pt
Defined in: src/core/document-model/types.ts:158
vAnchor?
Section titled “vAnchor?”
readonlyoptionalvAnchor?:"text"|"page"|"margin"
Defined in: src/core/document-model/types.ts:155
vSpacePt?
Section titled “vSpacePt?”
readonlyoptionalvSpacePt?:Pt
Defined in: src/core/document-model/types.ts:159
widthPt?
Section titled “widthPt?”
readonlyoptionalwidthPt?:Pt
Defined in: src/core/document-model/types.ts:144
w:w — the frame’s width. Absent ⇒ as wide as the text needs.
readonlyoptionalwrap?:"none"|"auto"|"around"|"notBeside"|"tight"|"through"
Defined in: src/core/document-model/types.ts:157
§17.18.104 ST_Wrap — how the body text runs past the frame.
xAlign?
Section titled “xAlign?”
readonlyoptionalxAlign?:"right"|"left"|"center"|"inside"|"outside"
Defined in: src/core/document-model/types.ts:152
w:xAlign/w:yAlign — an alignment instead of an offset.
readonlyoptionalxPt?:Pt
Defined in: src/core/document-model/types.ts:149
w:x/w:y — the offset from whatever hAnchor/vAnchor names.
yAlign?
Section titled “yAlign?”
readonlyoptionalyAlign?:"top"|"bottom"|"center"|"inside"|"outside"
Defined in: src/core/document-model/types.ts:153
readonlyoptionalyPt?:Pt
Defined in: src/core/document-model/types.ts:150