API reference: the typed public API — the Ream class, the readers and writers, and the document model on the `reamkit/document-model` subpath
# reamkit
## Modules [Section titled “Modules”](#modules) * [core/document-model](/api/core/document-model/) * [index](/api/index/)
# core/document-model
The typed document model — the OOXML-faithful node types (paragraphs, runs, tables, sections, drawings, charts, math) that the readers populate and the writers consume. Imported via the `reamkit/document-model` subpath. ## Interfaces [Section titled “Interfaces”](#interfaces) * [AbstractNumbering](/api/core/document-model/interfaces/abstractnumbering/) * [Border](/api/core/document-model/interfaces/border/) * [CellBorders](/api/core/document-model/interfaces/cellborders/) * [CellDataBar](/api/core/document-model/interfaces/celldatabar/) * [CellIcon](/api/core/document-model/interfaces/cellicon/) * [CellMargins](/api/core/document-model/interfaces/cellmargins/) * [CellNoteFlag](/api/core/document-model/interfaces/cellnoteflag/) * [CellProperties](/api/core/document-model/interfaces/cellproperties/) * [CellShading](/api/core/document-model/interfaces/cellshading/) * [CellSparkline](/api/core/document-model/interfaces/cellsparkline/) * [Chart](/api/core/document-model/interfaces/chart/) * [ChartBlock](/api/core/document-model/interfaces/chartblock/) * [ChartDataLabels](/api/core/document-model/interfaces/chartdatalabels/) * [ChartDataPoint](/api/core/document-model/interfaces/chartdatapoint/) * [ChartLineStyle](/api/core/document-model/interfaces/chartlinestyle/) * [ChartMarker](/api/core/document-model/interfaces/chartmarker/) * [ChartSeries](/api/core/document-model/interfaces/chartseries/) * [ChartSurface](/api/core/document-model/interfaces/chartsurface/) * [ChartTextStyle](/api/core/document-model/interfaces/charttextstyle/) * [ChartTextStyles](/api/core/document-model/interfaces/charttextstyles/) * [Comment](/api/core/document-model/interfaces/comment/) * [CustomGeometry](/api/core/document-model/interfaces/customgeometry/) * [DocumentModel](/api/core/document-model/interfaces/documentmodel/) * [FloatAnchor](/api/core/document-model/interfaces/floatanchor/) * [FontFamilyMap](/api/core/document-model/interfaces/fontfamilymap/) * [FrameProperties](/api/core/document-model/interfaces/frameproperties/) * [HeaderFooterReference](/api/core/document-model/interfaces/headerfooterreference/) * [ImageBlock](/api/core/document-model/interfaces/imageblock/) * [ImageCrop](/api/core/document-model/interfaces/imagecrop/) * [InlineImage](/api/core/document-model/interfaces/inlineimage/) * [LineEnd](/api/core/document-model/interfaces/lineend/) * [MathAccent](/api/core/document-model/interfaces/mathaccent/) * [MathBar](/api/core/document-model/interfaces/mathbar/) * [MathDelimiter](/api/core/document-model/interfaces/mathdelimiter/) * [MathEqArray](/api/core/document-model/interfaces/matheqarray/) * [MathFraction](/api/core/document-model/interfaces/mathfraction/) * [MathFunc](/api/core/document-model/interfaces/mathfunc/) * [MathGroupChr](/api/core/document-model/interfaces/mathgroupchr/) * [MathLimit](/api/core/document-model/interfaces/mathlimit/) * [MathMatrix](/api/core/document-model/interfaces/mathmatrix/) * [MathNary](/api/core/document-model/interfaces/mathnary/) * [MathRadical](/api/core/document-model/interfaces/mathradical/) * [MathRow](/api/core/document-model/interfaces/mathrow/) * [MathRun](/api/core/document-model/interfaces/mathrun/) * [MathScript](/api/core/document-model/interfaces/mathscript/) * [Numbering](/api/core/document-model/interfaces/numbering/) * [NumberingInstance](/api/core/document-model/interfaces/numberinginstance/) * [NumberingLevel](/api/core/document-model/interfaces/numberinglevel/) * [NumberingReference](/api/core/document-model/interfaces/numberingreference/) * [OutlineEntry](/api/core/document-model/interfaces/outlineentry/) * [PageMargins](/api/core/document-model/interfaces/pagemargins/) * [PageSize](/api/core/document-model/interfaces/pagesize/) * [Paragraph](/api/core/document-model/interfaces/paragraph/) * [ParagraphProperties](/api/core/document-model/interfaces/paragraphproperties/) * [PictureBullet](/api/core/document-model/interfaces/picturebullet/) * [PictureOutline](/api/core/document-model/interfaces/pictureoutline/) * [RelativeSize](/api/core/document-model/interfaces/relativesize/) * [RowConditionalFormat](/api/core/document-model/interfaces/rowconditionalformat/) * [RowProperties](/api/core/document-model/interfaces/rowproperties/) * [Run](/api/core/document-model/interfaces/run/) * [RunProperties](/api/core/document-model/interfaces/runproperties/) * [Section](/api/core/document-model/interfaces/section/) * [SectionColumns](/api/core/document-model/interfaces/sectioncolumns/) * [SectionProperties](/api/core/document-model/interfaces/sectionproperties/) * [ShapeBlock](/api/core/document-model/interfaces/shapeblock/) * [ShapeFill](/api/core/document-model/interfaces/shapefill/) * [ShapeGeometry](/api/core/document-model/interfaces/shapegeometry/) * [ShapeGroupChild](/api/core/document-model/interfaces/shapegroupchild/) * [ShapeLine](/api/core/document-model/interfaces/shapeline/) * [ShapeShadow](/api/core/document-model/interfaces/shapeshadow/) * [ShapeTextBody](/api/core/document-model/interfaces/shapetextbody/) * [ShapeTransform](/api/core/document-model/interfaces/shapetransform/) * [Style](/api/core/document-model/interfaces/style/) * [StyleSheet](/api/core/document-model/interfaces/stylesheet/) * [Table](/api/core/document-model/interfaces/table/) * [TableCell](/api/core/document-model/interfaces/tablecell/) * [TableLook](/api/core/document-model/interfaces/tablelook/) * [TableOverlay](/api/core/document-model/interfaces/tableoverlay/) * [TableProperties](/api/core/document-model/interfaces/tableproperties/) * [TableRow](/api/core/document-model/interfaces/tablerow/) * [TableStyleCondition](/api/core/document-model/interfaces/tablestylecondition/) * [TableStyleLayer](/api/core/document-model/interfaces/tablestylelayer/) * [TabStop](/api/core/document-model/interfaces/tabstop/) * [TextOutline](/api/core/document-model/interfaces/textoutline/) ## Type Aliases [Section titled “Type Aliases”](#type-aliases) * [Alignment](/api/core/document-model/type-aliases/alignment/) * [BodyElement](/api/core/document-model/type-aliases/bodyelement/) * [BorderStyle](/api/core/document-model/type-aliases/borderstyle/) * [CellIconShape](/api/core/document-model/type-aliases/celliconshape/) * [CellMerge](/api/core/document-model/type-aliases/cellmerge/) * [ChartLabelPosition](/api/core/document-model/type-aliases/chartlabelposition/) * [ChartMarkerSymbol](/api/core/document-model/type-aliases/chartmarkersymbol/) * [ChartType](/api/core/document-model/type-aliases/charttype/) * [CustomPathCmd](/api/core/document-model/type-aliases/custompathcmd/) * [HeaderFooterType](/api/core/document-model/type-aliases/headerfootertype/) * [Ligatures](/api/core/document-model/type-aliases/ligatures/) * [MathNode](/api/core/document-model/type-aliases/mathnode/) * [NumberingFormat](/api/core/document-model/type-aliases/numberingformat/) * [NumberingSuffix](/api/core/document-model/type-aliases/numberingsuffix/) * [ShapeDash](/api/core/document-model/type-aliases/shapedash/) * [ShapeFillKind](/api/core/document-model/type-aliases/shapefillkind/) * [StyleType](/api/core/document-model/type-aliases/styletype/) * [TableStyleConditionType](/api/core/document-model/type-aliases/tablestyleconditiontype/) * [UnderlineStyle](/api/core/document-model/type-aliases/underlinestyle/) * [VerticalAlign](/api/core/document-model/type-aliases/verticalalign/) ## References [Section titled “References”](#references) ### DocumentInfo [Section titled “DocumentInfo”](#documentinfo) Re-exports [DocumentInfo](/api/index/interfaces/documentinfo/)
# AbstractNumbering
Defined in: [src/core/document-model/types.ts:801](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L801) §17.9.1 `w:abstractNum` — a reusable list definition keyed by level. ## Properties [Section titled “Properties”](#properties) ### id [Section titled “id”](#id) > `readonly` **id**: `string` Defined in: [src/core/document-model/types.ts:802](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L802) *** ### levels [Section titled “levels”](#levels) > `readonly` **levels**: `ReadonlyMap`<`number`, [`NumberingLevel`](/api/core/document-model/interfaces/numberinglevel/)> Defined in: [src/core/document-model/types.ts:803](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L803)
# Border
Defined in: [src/core/document-model/types.ts:958](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L958) One border edge: its line style plus optional width and colour. ## Properties [Section titled “Properties”](#properties) ### colorHex? [Section titled “colorHex?”](#colorhex) > `readonly` `optional` **colorHex?**: `string` Defined in: [src/core/document-model/types.ts:961](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L961) *** ### spacePt? [Section titled “spacePt?”](#spacept) > `readonly` `optional` **spacePt?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:963](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L963) §17.3.1.24 `w:space` — how far a paragraph rule stands off its text. *** ### style [Section titled “style”](#style) > `readonly` **style**: [`BorderStyle`](/api/core/document-model/type-aliases/borderstyle/) Defined in: [src/core/document-model/types.ts:959](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L959) *** ### width? [Section titled “width?”](#width) > `readonly` `optional` **width?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:960](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L960)
# CellBorders
Defined in: [src/core/document-model/types.ts:967](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L967) §17.4.67 `w:tcBorders` — the per-edge borders of a cell (or, §17.4.39 `w:tblBorders`, a table). ## Properties [Section titled “Properties”](#properties) ### bottom? [Section titled “bottom?”](#bottom) > `readonly` `optional` **bottom?**: [`Border`](/api/core/document-model/interfaces/border/) Defined in: [src/core/document-model/types.ts:970](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L970) *** ### diagonalDown? [Section titled “diagonalDown?”](#diagonaldown) > `readonly` `optional` **diagonalDown?**: [`Border`](/api/core/document-model/interfaces/border/) Defined in: [src/core/document-model/types.ts:978](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L978) Diagonal strokes across the cell box: `diagonalDown` runs top-left → bottom-right, `diagonalUp` bottom-left → top-right (Excel diagonal borders). *** ### diagonalUp? [Section titled “diagonalUp?”](#diagonalup) > `readonly` `optional` **diagonalUp?**: [`Border`](/api/core/document-model/interfaces/border/) Defined in: [src/core/document-model/types.ts:979](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L979) *** ### insideH? [Section titled “insideH?”](#insideh) > `readonly` `optional` **insideH?**: [`Border`](/api/core/document-model/interfaces/border/) Defined in: [src/core/document-model/types.ts:972](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L972) *** ### insideV? [Section titled “insideV?”](#insidev) > `readonly` `optional` **insideV?**: [`Border`](/api/core/document-model/interfaces/border/) Defined in: [src/core/document-model/types.ts:973](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L973) *** ### left? [Section titled “left?”](#left) > `readonly` `optional` **left?**: [`Border`](/api/core/document-model/interfaces/border/) Defined in: [src/core/document-model/types.ts:971](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L971) *** ### right? [Section titled “right?”](#right) > `readonly` `optional` **right?**: [`Border`](/api/core/document-model/interfaces/border/) Defined in: [src/core/document-model/types.ts:969](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L969) *** ### top? [Section titled “top?”](#top) > `readonly` `optional` **top?**: [`Border`](/api/core/document-model/interfaces/border/) Defined in: [src/core/document-model/types.ts:968](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L968)
# CellDataBar
Defined in: [src/core/document-model/types.ts:1001](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1001) A conditional-format data bar: a horizontal bar of width `fraction` (`0..1` of the cell), painted over the shading and under the text (E-SHEET SC1c). It starts at `startFraction` from the cell’s left (default 0); a mixed-sign range puts the axis inside the cell so negative bars run left of it (tail TC4). ## Properties [Section titled “Properties”](#properties) ### colorHex [Section titled “colorHex”](#colorhex) > `readonly` **colorHex**: `string` Defined in: [src/core/document-model/types.ts:1003](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1003) *** ### fraction [Section titled “fraction”](#fraction) > `readonly` **fraction**: `number` Defined in: [src/core/document-model/types.ts:1002](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1002) *** ### negative? [Section titled “negative?”](#negative) > `readonly` `optional` **negative?**: `boolean` Defined in: [src/core/document-model/types.ts:1010](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1010) The bar runs LEFT from the axis (a negative value in a mixed-sign range), so its solid end is its right one. Excel fades a data bar away from the axis, and which way that is depends on the sign. *** ### solid? [Section titled “solid?”](#solid) > `readonly` `optional` **solid?**: `boolean` Defined in: [src/core/document-model/types.ts:1012](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1012) The bar is one solid colour, not faded from the axis (``). *** ### startFraction? [Section titled “startFraction?”](#startfraction) > `readonly` `optional` **startFraction?**: `number` Defined in: [src/core/document-model/types.ts:1004](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1004)
# CellIcon
Defined in: [src/core/document-model/types.ts:1048](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1048) One resolved conditional-format icon: its [CellIconShape](/api/core/document-model/type-aliases/celliconshape/), colour and fill level. ## Properties [Section titled “Properties”](#properties) ### colorHex [Section titled “colorHex”](#colorhex) > `readonly` **colorHex**: `string` Defined in: [src/core/document-model/types.ts:1050](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1050) *** ### fill? [Section titled “fill?”](#fill) > `readonly` `optional` **fill?**: `object` Defined in: [src/core/document-model/types.ts:1055](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1055) Meter glyphs (`bars` / `pie`): how many of `levels` units are filled with `colorHex`; the rest are drawn in a neutral grey. Absent for single glyphs. #### filled [Section titled “filled”](#filled) > `readonly` **filled**: `number` #### levels [Section titled “levels”](#levels) > `readonly` **levels**: `number` *** ### shape [Section titled “shape”](#shape) > `readonly` **shape**: [`CellIconShape`](/api/core/document-model/type-aliases/celliconshape/) Defined in: [src/core/document-model/types.ts:1049](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1049)
# CellMargins
Defined in: [src/core/document-model/types.ts:983](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L983) §17.4.42 `w:tcMar` — a cell’s inner padding per side. ## Properties [Section titled “Properties”](#properties) ### bottom? [Section titled “bottom?”](#bottom) > `readonly` `optional` **bottom?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:986](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L986) *** ### left? [Section titled “left?”](#left) > `readonly` `optional` **left?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:987](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L987) *** ### right? [Section titled “right?”](#right) > `readonly` `optional` **right?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:985](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L985) *** ### top? [Section titled “top?”](#top) > `readonly` `optional` **top?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:984](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L984)
# CellNoteFlag
Defined in: [src/core/document-model/types.ts:1020](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1020) How a window flags a cell that carries a note: red for a legacy note, purple for a threaded comment, in the top corner on the side the cell ends — the right, or the left on a sheet that reads from the right. ## Properties [Section titled “Properties”](#properties) ### atLeft? [Section titled “atLeft?”](#atleft) > `readonly` `optional` **atLeft?**: `boolean` Defined in: [src/core/document-model/types.ts:1024](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1024) *** ### kind [Section titled “kind”](#kind) > `readonly` **kind**: `"note"` | `"thread"` Defined in: [src/core/document-model/types.ts:1021](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1021) *** ### text [Section titled “text”](#text) > `readonly` **text**: `string` Defined in: [src/core/document-model/types.ts:1023](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1023) The note as one reads it on hover: author and text, a conversation line by line.
# CellProperties
Defined in: [src/core/document-model/types.ts:1084](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1084) §17.4.30 `w:tcPr` — a cell’s properties: span/merge, chrome, and CF overlays. ## Properties [Section titled “Properties”](#properties) ### borders? [Section titled “borders?”](#borders) > `readonly` `optional` **borders?**: [`CellBorders`](/api/core/document-model/interfaces/cellborders/) Defined in: [src/core/document-model/types.ts:1096](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1096) *** ### colSpan? [Section titled “colSpan?”](#colspan) > `readonly` `optional` **colSpan?**: `number` Defined in: [src/core/document-model/types.ts:1094](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1094) *** ### dataBar? [Section titled “dataBar?”](#databar) > `readonly` `optional` **dataBar?**: [`CellDataBar`](/api/core/document-model/interfaces/celldatabar/) Defined in: [src/core/document-model/types.ts:1117](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1117) *** ### dropdown? [Section titled “dropdown?”](#dropdown) > `readonly` `optional` **dropdown?**: `boolean` Defined in: [src/core/document-model/types.ts:1124](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1124) A data-validation `list` cell (E-SHEET SV1): the renderer paints an in-cell dropdown affordance at the cell’s right edge (a small button + ▾ glyph). *** ### hashOnOverflow? [Section titled “hashOnOverflow?”](#hashonoverflow) > `readonly` `optional` **hashOnOverflow?**: `boolean` Defined in: [src/core/document-model/types.ts:1150](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1150) The cell holds a NUMBER under a format of its own, so it may not be shown truncated: a date cut to “4/30/201” is not a shorter date, it is the wrong one. Excel and LibreOffice fill such a cell with `#` instead, which says “widen me” and cannot be misread. Text is exempt — a clipped word is still recognisably that word. *** ### hideMark? [Section titled “hideMark?”](#hidemark) > `readonly` `optional` **hideMark?**: `boolean` Defined in: [src/core/document-model/types.ts:1142](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1142) §17.4.20 `w:hideMark` — the cell’s end-of-cell mark is not counted when the row’s height is measured, so an EMPTY cell that says so adds nothing at all. *** ### icon? [Section titled “icon?”](#icon) > `readonly` `optional` **icon?**: [`CellIcon`](/api/core/document-model/interfaces/cellicon/) Defined in: [src/core/document-model/types.ts:1118](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1118) *** ### margins? [Section titled “margins?”](#margins) > `readonly` `optional` **margins?**: [`CellMargins`](/api/core/document-model/interfaces/cellmargins/) Defined in: [src/core/document-model/types.ts:1097](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1097) *** ### merge? [Section titled “merge?”](#merge) > `readonly` `optional` **merge?**: [`CellMerge`](/api/core/document-model/type-aliases/cellmerge/) Defined in: [src/core/document-model/types.ts:1095](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1095) *** ### noteFlag? [Section titled “noteFlag?”](#noteflag) > `readonly` `optional` **noteFlag?**: [`CellNoteFlag`](/api/core/document-model/interfaces/cellnoteflag/) Defined in: [src/core/document-model/types.ts:1130](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1130) A note or comment on the cell, as a WINDOW flags it (E-SHEET W7): a small triangle in the cell’s top corner, the note’s text shown on hover where the medium can. Set by screen projections only — paper never shows it. *** ### noWrap? [Section titled “noWrap?”](#nowrap) > `readonly` `optional` **noWrap?**: `boolean` Defined in: [src/core/document-model/types.ts:1137](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1137) The cell’s text is not allowed to wrap: it renders on one line and whatever does not fit the cell box is cut, as a spreadsheet cell without `wrapText` does. Only the paginated layout honours it — an HTML view has no page edge to clip against and lets the browser decide. *** ### paintAtEnd? [Section titled “paintAtEnd?”](#paintatend) > `readonly` `optional` **paintAtEnd?**: `boolean` Defined in: [src/core/document-model/types.ts:1115](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1115) The paint covers the LAST [paintColumns](/api/core/document-model/interfaces/cellproperties/#paintcolumns) of the span rather than the first. A sheet that reads from the right runs a cell’s text over the neighbours on its left, so the cell the paint belongs to ends the span. *** ### paintColumns? [Section titled “paintColumns?”](#paintcolumns) > `readonly` `optional` **paintColumns?**: `number` Defined in: [src/core/document-model/types.ts:1109](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1109) How many of the spanned columns the cell’s own PAINT covers, when that is fewer than `colSpan`. Text overflow is modelled as a span — a cell whose value does not fit runs across the empty neighbours to its right — but Excel runs the TEXT over an unpainted cell without painting it. With one width for both, a filled cell carried its fill along: 54436.xlsx ran its pivot header’s blue a whole column past the pivot. Absent ⇒ the paint covers the whole span, which is what a merge wants. *** ### shading? [Section titled “shading?”](#shading) > `readonly` `optional` **shading?**: [`CellShading`](/api/core/document-model/interfaces/cellshading/) Defined in: [src/core/document-model/types.ts:1116](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1116) *** ### showHashes? [Section titled “showHashes?”](#showhashes) > `readonly` `optional` **showHashes?**: `boolean` Defined in: [src/core/document-model/types.ts:1157](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1157) The cell shows a row of `#` across its box, whatever its text says: a number no section of a conditional format admits (§18.8.31), which Excel shows that way however wide the column. The text stays the number, for a medium that has no box. *** ### sparkline? [Section titled “sparkline?”](#sparkline) > `readonly` `optional` **sparkline?**: [`CellSparkline`](/api/core/document-model/interfaces/cellsparkline/) Defined in: [src/core/document-model/types.ts:1119](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1119) *** ### textDirection? [Section titled “textDirection?”](#textdirection) > `readonly` `optional` **textDirection?**: `"vert"` | `"vert270"` Defined in: [src/core/document-model/types.ts:1171](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1171) §17.4.71 `w:textDirection` / §21.1.3.17 `a:tcPr@vert` — the cell’s text is turned a quarter: `vert` reads top-to-bottom (turned clockwise), `vert270` bottom-to-top. Its lines then run along the cell’s HEIGHT and stack across its width, which is what makes a narrow header column readable. *** ### verticalAlign? [Section titled “verticalAlign?”](#verticalalign) > `readonly` `optional` **verticalAlign?**: `"top"` | `"bottom"` | `"center"` Defined in: [src/core/document-model/types.ts:1164](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1164) Where the cell’s content sits in a box taller than itself. A spreadsheet cell defaults to `'bottom'` — §18.8.1, and both Excel and LibreOffice do it — which is visible on any row taller than its text. Absent ⇒ the top, which is a word-processor table’s default. *** ### width? [Section titled “width?”](#width) > `readonly` `optional` **width?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:1085](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1085) *** ### widthFraction? [Section titled “widthFraction?”](#widthfraction) > `readonly` `optional` **widthFraction?**: `number` Defined in: [src/core/document-model/types.ts:1091](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1091) §17.4.72 `w:tcW w:type="pct"` — the cell’s preferred width as a share of the table (`w`/5000). Held apart from [width](/api/core/document-model/interfaces/cellproperties/#width) because a percentage cannot be resolved until the table’s own width is known. *** ### widthType? [Section titled “widthType?”](#widthtype) > `readonly` `optional` **widthType?**: `"auto"` | `"dxa"` | `"pct"` | `"nil"` Defined in: [src/core/document-model/types.ts:1093](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1093) §17.18.90 ST\_TblWidth — which of the two above the cell actually declared.
# CellShading
Defined in: [src/core/document-model/types.ts:991](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L991) §17.4.33 `w:shd` — a cell’s solid background fill (6-hex). ## Properties [Section titled “Properties”](#properties) ### colorHex [Section titled “colorHex”](#colorhex) > `readonly` **colorHex**: `string` Defined in: [src/core/document-model/types.ts:992](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L992)
# CellSparkline
Defined in: [src/core/document-model/types.ts:1063](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1063) A sparkline: a mini chart filling the cell, plotting `values` (E-SHEET SC2). Format-neutral — the xlsx layer resolves the data range to a value sequence; the layout renders line / column / win-loss geometry sized to the cell. ## Properties [Section titled “Properties”](#properties) ### colorHex? [Section titled “colorHex?”](#colorhex) > `readonly` `optional` **colorHex?**: `string` Defined in: [src/core/document-model/types.ts:1070](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1070) *** ### kind [Section titled “kind”](#kind) > `readonly` **kind**: `"line"` | `"column"` | `"winLoss"` Defined in: [src/core/document-model/types.ts:1064](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1064) *** ### values [Section titled “values”](#values) > `readonly` **values**: readonly (`number` | `null`)\[] Defined in: [src/core/document-model/types.ts:1069](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1069) A blank/non-numeric cell in the range is a gap (`null`) so x-positions stay aligned: a line breaks across it, a column/win-loss skips its slot.
# Chart
Defined in: [src/core/document-model/types.ts:1913](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1913) A parsed chart (§21.2): its type, title, categories, series and rendering options. ## Properties [Section titled “Properties”](#properties) ### backWall? [Section titled “backWall?”](#backwall) > `readonly` `optional` **backWall?**: [`ChartSurface`](/api/core/document-model/interfaces/chartsurface/) Defined in: [src/core/document-model/types.ts:1965](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1965) §21.2.2.11 `c:backWall` — the wall behind the bars; absent, nothing drawn. *** ### bar3D? [Section titled “bar3D?”](#bar3d) > `readonly` `optional` **bar3D?**: `object` Defined in: [src/core/document-model/types.ts:1953](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1953) §21.2.2.15 `c:bar3DChart` with §21.2.2.228 `c:view3D` — bars drawn as boxes standing in a box of walls and a floor, seen at an angle with the axes kept square: `rotX` the elevation and `rotY` the turn in degrees, `depthPercent` a bar’s depth as a percentage of its width, `gapDepth` the room before and behind it as a percentage of its depth. #### depthPercent [Section titled “depthPercent”](#depthpercent) > `readonly` **depthPercent**: `number` #### gapDepth [Section titled “gapDepth”](#gapdepth) > `readonly` **gapDepth**: `number` #### rotX [Section titled “rotX”](#rotx) > `readonly` **rotX**: `number` #### rotY [Section titled “rotY”](#roty) > `readonly` **rotY**: `number` *** ### barDir? [Section titled “barDir?”](#bardir) > `readonly` `optional` **barDir?**: `"bar"` | `"col"` Defined in: [src/core/document-model/types.ts:1937](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1937) *** ### catAxisCrosses? [Section titled “catAxisCrosses?”](#cataxiscrosses) > `readonly` `optional` **catAxisCrosses?**: `number` | `"min"` | `"max"` Defined in: [src/core/document-model/types.ts:2017](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2017) §21.2.2.33/§21.2.2.34 `c:catAx/c:crosses`, `c:crossesAt` — where along the value axis the category axis lies, and so where bars grow from: at the axis’s minimum or maximum, or at a stated value. Absent ⇒ `autoZero`, at zero (or the end of the value axis nearest it). *** ### catAxisDeleted? [Section titled “catAxisDeleted?”](#cataxisdeleted) > `readonly` `optional` **catAxisDeleted?**: `boolean` Defined in: [src/core/document-model/types.ts:2064](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2064) §21.2.2.40 `c:delete` — the author deleted the category axis (a scatter’s x axis): neither its rule nor its labels are drawn, nor room kept for them. *** ### catAxisLine? [Section titled “catAxisLine?”](#cataxisline) > `readonly` `optional` **catAxisLine?**: [`ChartLineStyle`](/api/core/document-model/interfaces/chartlinestyle/) Defined in: [src/core/document-model/types.ts:2047](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2047) §21.2.2.196 — the category axis’s own rule. *** ### catAxisReversed? [Section titled “catAxisReversed?”](#cataxisreversed) > `readonly` `optional` **catAxisReversed?**: `boolean` Defined in: [src/core/document-model/types.ts:2010](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2010) §21.2.2.134 `c:catAx/c:scaling/c:orientation` = `maxMin` — the category axis runs the other way. A ranked bar chart is written this way so its first row reads at the TOP (dataValidationTableRange.xlsx ranks 38 counties and we printed the ranking upside down). *** ### catAxisTitle? [Section titled “catAxisTitle?”](#cataxistitle) > `readonly` `optional` **catAxisTitle?**: `string` Defined in: [src/core/document-model/types.ts:2003](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2003) *** ### categories [Section titled “categories”](#categories) > `readonly` **categories**: readonly `string`\[] Defined in: [src/core/document-model/types.ts:1922](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1922) *** ### categoriesRef? [Section titled “categoriesRef?”](#categoriesref) > `readonly` `optional` **categoriesRef?**: `string` Defined in: [src/core/document-model/types.ts:1924](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1924) §21.2.2.24 `c:cat/…/c:f` — where the categories live, when uncached. *** ### categoryGroups? [Section titled “categoryGroups?”](#categorygroups) > `readonly` `optional` **categoryGroups?**: readonly readonly `object`\[]\[] Defined in: [src/core/document-model/types.ts:1931](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1931) §21.2.2.115 `c:multiLvlStrCache` — the outer levels of a category axis labelled on more than one: each level’s groups, innermost level first, each group from the category it starts at to the next group’s start. [Chart.categories](/api/core/document-model/interfaces/chart/#categories) is the innermost level, one label per category. *** ### catTickLabelPos? [Section titled “catTickLabelPos?”](#catticklabelpos) > `readonly` `optional` **catTickLabelPos?**: `"none"` | `"low"` | `"high"` Defined in: [src/core/document-model/types.ts:2024](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2024) §21.2.2.207 `c:catAx/c:tickLblPos` — where the category labels stand: at the low or high end of the value axis, or nowhere. Absent ⇒ `nextTo`, beside the category axis wherever it crosses — on the zero line of a chart with values below zero. *** ### dataLabels? [Section titled “dataLabels?”](#datalabels) > `readonly` `optional` **dataLabels?**: [`ChartDataLabels`](/api/core/document-model/interfaces/chartdatalabels/) Defined in: [src/core/document-model/types.ts:1991](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1991) §21.2.2.49 — the data labels’ switches, when the chart has a `c:dLbls` at all. Absent, it labels nothing. *** ### doughnut? [Section titled “doughnut?”](#doughnut) > `readonly` `optional` **doughnut?**: `boolean` Defined in: [src/core/document-model/types.ts:1939](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1939) *** ### firstSliceAngle? [Section titled “firstSliceAngle?”](#firstsliceangle) > `readonly` `optional` **firstSliceAngle?**: `number` Defined in: [src/core/document-model/types.ts:1969](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1969) §21.2.2.68 `c:firstSliceAng` — a flat pie’s first slice, degrees clockwise from twelve. *** ### floor? [Section titled “floor?”](#floor) > `readonly` `optional` **floor?**: [`ChartSurface`](/api/core/document-model/interfaces/chartsurface/) Defined in: [src/core/document-model/types.ts:1963](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1963) §21.2.2.69 `c:floor` — a 3-D chart’s floor, the wall its bars stand on: its fill and its rule. Absent, it is unfilled and ruled in light grey. *** ### frameFillHex? [Section titled “frameFillHex?”](#framefillhex) > `readonly` `optional` **frameFillHex?**: `string` Defined in: [src/core/document-model/types.ts:2095](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2095) §21.2.2.198 `c:chartSpace/c:spPr` — the frame around the whole chart: its background fill and its outline. Excel writes both on every chart it creates, and both references draw them. *** ### frameFillImage? [Section titled “frameFillImage?”](#framefillimage) > `readonly` `optional` **frameFillImage?**: `object` Defined in: [src/core/document-model/types.ts:2101](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2101) §20.1.8.14 `a:blipFill` — the PICTURE the frame is filled with, when it is filled with one rather than a colour. chart-texture-bg.pptx papers its whole chart with a woven cloth, and a chart on white is a different chart. #### resource [Section titled “resource”](#resource) > `readonly` **resource**: [`ResourceId`](/api/index/type-aliases/resourceid/) #### tiled? [Section titled “tiled?”](#tiled) > `readonly` `optional` **tiled?**: `boolean` *** ### frameLineDash? [Section titled “frameLineDash?”](#framelinedash) > `readonly` `optional` **frameLineDash?**: [`ShapeDash`](/api/core/document-model/type-aliases/shapedash/) Defined in: [src/core/document-model/types.ts:2105](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2105) *** ### frameLineHex? [Section titled “frameLineHex?”](#framelinehex) > `readonly` `optional` **frameLineHex?**: `string` Defined in: [src/core/document-model/types.ts:2102](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2102) *** ### frameLineWidthPt? [Section titled “frameLineWidthPt?”](#framelinewidthpt) > `readonly` `optional` **frameLineWidthPt?**: `number` Defined in: [src/core/document-model/types.ts:2104](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2104) The frame rule’s width and dash, when it states them. *** ### gapPercent? [Section titled “gapPercent?”](#gappercent) > `readonly` `optional` **gapPercent?**: `number` Defined in: [src/core/document-model/types.ts:1996](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1996) §21.2.2.75 `c:gapWidth` — the gap between category slots as a percentage of the bar width. Absent ⇒ the schema’s 150. *** ### gridLine? [Section titled “gridLine?”](#gridline) > `readonly` `optional` **gridLine?**: [`ChartLineStyle`](/api/core/document-model/interfaces/chartlinestyle/) Defined in: [src/core/document-model/types.ts:2057](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2057) §21.2.2.100 `c:majorGridlines` of the value axis (a scatter’s upright one) — its own rule (§21.2.2.197 `c:spPr/a:ln`). An axis without the element rules nothing, which reads `{ none: true }`; absent, the default rule. *** ### grouping? [Section titled “grouping?”](#grouping) > `readonly` `optional` **grouping?**: `"clustered"` | `"stacked"` | `"percentStacked"` | `"standard"` Defined in: [src/core/document-model/types.ts:1938](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1938) *** ### hasLegend [Section titled “hasLegend”](#haslegend) > `readonly` **hasLegend**: `boolean` Defined in: [src/core/document-model/types.ts:1935](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1935) *** ### legendPos? [Section titled “legendPos?”](#legendpos) > `readonly` `optional` **legendPos?**: `"r"` | `"l"` | `"t"` | `"b"` Defined in: [src/core/document-model/types.ts:1936](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1936) *** ### lineMarkers? [Section titled “lineMarkers?”](#linemarkers) > `readonly` `optional` **lineMarkers?**: `boolean` Defined in: [src/core/document-model/types.ts:2045](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2045) §21.2.2.106 `c:marker` on a `c:lineChart` — whether the group’s series mark their data points. WithChart.xlsx asks for them and we drew bare lines. *** ### numberFormat? [Section titled “numberFormat?”](#numberformat) > `readonly` `optional` **numberFormat?**: `string` Defined in: [src/core/document-model/types.ts:2118](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2118) §21.2.2.121 `c:valAx/c:numFmt@formatCode` — the number format the value axis’s tick labels and the data labels are drawn in, in the same code grammar cells use (§18.8.31). Absent ⇒ a plain numeric render. *** ### overlapPercent? [Section titled “overlapPercent?”](#overlappercent) > `readonly` `optional` **overlapPercent?**: `number` Defined in: [src/core/document-model/types.ts:2002](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2002) §21.2.2.131 `c:overlap` — how far the bars of one category’s cluster lie over each other, as a percentage of a bar’s width: −100 a bar’s width apart … 100 one on the next. Absent ⇒ 0, bars side by side. *** ### pie3D? [Section titled “pie3D?”](#pie3d) > `readonly` `optional` **pie3D?**: `object` Defined in: [src/core/document-model/types.ts:1945](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1945) §21.2.2.140 `c:pie3DChart` with §21.2.2.228 `c:view3D` — a pie drawn as a tilted disc: `rotX` the elevation in degrees (90 looks straight down), `rotY` how far its first slice is turned clockwise from twelve o’clock. #### rotX [Section titled “rotX”](#rotx-1) > `readonly` **rotX**: `number` #### rotY [Section titled “rotY”](#roty-1) > `readonly` **rotY**: `number` *** ### plotBox? [Section titled “plotBox?”](#plotbox) > `readonly` `optional` **plotBox?**: `object` Defined in: [src/core/document-model/types.ts:1975](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1975) §21.2.2.104 `c:plotArea/c:layout/c:manualLayout` in `edge` mode — the box the author sized the plot to, as fractions of the chart from its top left; a pie is fitted into it whole, keeping its shape. #### h [Section titled “h”](#h) > `readonly` **h**: `number` #### inner? [Section titled “inner?”](#inner) > `readonly` `optional` **inner?**: `boolean` `c:layoutTarget` `inner` — the box is the plot’s own rectangle, the axes’ labels outside it; else (`outer`) it holds them too. #### w [Section titled “w”](#w) > `readonly` **w**: `number` #### x [Section titled “x”](#x) > `readonly` **x**: `number` #### y [Section titled “y”](#y) > `readonly` **y**: `number` *** ### plotFillHex? [Section titled “plotFillHex?”](#plotfillhex) > `readonly` `optional` **plotFillHex?**: `string` Defined in: [src/core/document-model/types.ts:2111](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2111) §21.2.2.145 `c:plotArea/c:spPr` — the plot rectangle’s own fill and rule, which sit inside the frame. Chart\_Plot\_BorderLine\_Style.docx rules its plot in a heavy orange dash-dot. *** ### plotLine? [Section titled “plotLine?”](#plotline) > `readonly` `optional` **plotLine?**: [`ChartLineStyle`](/api/core/document-model/interfaces/chartlinestyle/) Defined in: [src/core/document-model/types.ts:2112](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2112) *** ### scatterStyle? [Section titled “scatterStyle?”](#scatterstyle) > `readonly` `optional` **scatterStyle?**: `"line"` | `"none"` | `"lineMarker"` | `"marker"` | `"smooth"` | `"smoothMarker"` Defined in: [src/core/document-model/types.ts:2040](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2040) §21.2.2.161 `c:scatterStyle` — whether a scatter’s points are joined by a line, marked, or both. The schema’s default is `marker`; Excel writes `lineMarker` for the chart most people insert. *** ### secondaryValAxisLine? [Section titled “secondaryValAxisLine?”](#secondaryvalaxisline) > `readonly` `optional` **secondaryValAxisLine?**: [`ChartLineStyle`](/api/core/document-model/interfaces/chartlinestyle/) Defined in: [src/core/document-model/types.ts:2051](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2051) §21.2.2.196 — the secondary value axis’s own rule. *** ### secondaryValAxisTitle? [Section titled “secondaryValAxisTitle?”](#secondaryvalaxistitle) > `readonly` `optional` **secondaryValAxisTitle?**: `string` Defined in: [src/core/document-model/types.ts:2034](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2034) §21.2.2.168 — the title of the secondary value axis, when one is drawn. *** ### series [Section titled “series”](#series) > `readonly` **series**: readonly [`ChartSeries`](/api/core/document-model/interfaces/chartseries/)\[] Defined in: [src/core/document-model/types.ts:1934](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1934) *** ### seriesColorCycle? [Section titled “seriesColorCycle?”](#seriescolorcycle) > `readonly` `optional` **seriesColorCycle?**: readonly `string`\[] Defined in: [src/core/document-model/types.ts:2123](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2123) MS-ODRAWXML `chartColorStyle` (`colorsN.xml`): the cycle of series colours; overrides the built-in Office accent cycle when present. *** ### showValues? [Section titled “showValues?”](#showvalues) > `readonly` `optional` **showValues?**: `boolean` Defined in: [src/core/document-model/types.ts:1986](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1986) *** ### sideWall? [Section titled “sideWall?”](#sidewall) > `readonly` `optional` **sideWall?**: [`ChartSurface`](/api/core/document-model/interfaces/chartsurface/) Defined in: [src/core/document-model/types.ts:1967](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1967) §21.2.2.191 `c:sideWall` — the wall beside them; absent, nothing drawn. *** ### text? [Section titled “text?”](#text) > `readonly` `optional` **text?**: [`ChartTextStyles`](/api/core/document-model/interfaces/charttextstyles/) Defined in: [src/core/document-model/types.ts:1921](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1921) The chart’s text, role by role, as its application sets it. Absent when the reader resolves none: the renderer then keeps its own sizes and greys in the document’s base face. *** ### title? [Section titled “title?”](#title) > `readonly` `optional` **title?**: `string` Defined in: [src/core/document-model/types.ts:1915](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1915) *** ### type [Section titled “type”](#type) > `readonly` **type**: [`ChartType`](/api/core/document-model/type-aliases/charttype/) Defined in: [src/core/document-model/types.ts:1914](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1914) *** ### valAxisCrosses? [Section titled “valAxisCrosses?”](#valaxiscrosses) > `readonly` `optional` **valAxisCrosses?**: `number` | `"min"` | `"max"` Defined in: [src/core/document-model/types.ts:2031](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2031) §21.2.2.33 `c:valAx/c:crosses` — where along the category axis the value axis lies: at the last category (`max`) or the first (absent, `autoZero`). The first is at the far end when the categories run backwards ([Chart.catAxisReversed](/api/core/document-model/interfaces/chart/#cataxisreversed)): a ranked bar chart has its values on top. *** ### valAxisDeleted? [Section titled “valAxisDeleted?”](#valaxisdeleted) > `readonly` `optional` **valAxisDeleted?**: `boolean` Defined in: [src/core/document-model/types.ts:2066](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2066) §21.2.2.40 — …or the value axis (a scatter’s upright one). *** ### valAxisLine? [Section titled “valAxisLine?”](#valaxisline) > `readonly` `optional` **valAxisLine?**: [`ChartLineStyle`](/api/core/document-model/interfaces/chartlinestyle/) Defined in: [src/core/document-model/types.ts:2049](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2049) §21.2.2.196 — the value axis’s own rule. *** ### valAxisMajorUnit? [Section titled “valAxisMajorUnit?”](#valaxismajorunit) > `readonly` `optional` **valAxisMajorUnit?**: `number` Defined in: [src/core/document-model/types.ts:2079](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2079) §21.2.2.103 `c:valAx/c:majorUnit` — the step between the value axis’s labels, when the author fixed it. Absent ⇒ the application’s own choice. *** ### valAxisMax? [Section titled “valAxisMax?”](#valaxismax) > `readonly` `optional` **valAxisMax?**: `number` Defined in: [src/core/document-model/types.ts:2074](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2074) *** ### valAxisMin? [Section titled “valAxisMin?”](#valaxismin) > `readonly` `optional` **valAxisMin?**: `number` Defined in: [src/core/document-model/types.ts:2073](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2073) §21.2.2.157 `c:valAx/c:scaling/c:min|c:max` — the value axis the AUTHOR fixed. Absent means “auto”, and only then is the range read off the data: a chart whose cells all read zero still has the axis its author pinned, and scaling it to the data drew 0…1 where every reader draws 0…300. *** ### valAxisTitle? [Section titled “valAxisTitle?”](#valaxistitle) > `readonly` `optional` **valAxisTitle?**: `string` Defined in: [src/core/document-model/types.ts:2032](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2032) *** ### xAxisMajorUnit? [Section titled “xAxisMajorUnit?”](#xaxismajorunit) > `readonly` `optional` **xAxisMajorUnit?**: `number` Defined in: [src/core/document-model/types.ts:2088](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2088) *** ### xAxisMax? [Section titled “xAxisMax?”](#xaxismax) > `readonly` `optional` **xAxisMax?**: `number` Defined in: [src/core/document-model/types.ts:2087](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2087) *** ### xAxisMin? [Section titled “xAxisMin?”](#xaxismin) > `readonly` `optional` **xAxisMin?**: `number` Defined in: [src/core/document-model/types.ts:2086](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2086) §21.2.2.226 — a scatter’s lying value axis, the x’s: the ends and step the author fixed and its number format, as [Chart.valAxisMin](/api/core/document-model/interfaces/chart/#valaxismin), [Chart.valAxisMax](/api/core/document-model/interfaces/chart/#valaxismax), [Chart.valAxisMajorUnit](/api/core/document-model/interfaces/chart/#valaxismajorunit) and [Chart.numberFormat](/api/core/document-model/interfaces/chart/#numberformat) are its upright one’s. *** ### xGridLine? [Section titled “xGridLine?”](#xgridline) > `readonly` `optional` **xGridLine?**: [`ChartLineStyle`](/api/core/document-model/interfaces/chartlinestyle/) Defined in: [src/core/document-model/types.ts:2059](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2059) The same for a scatter’s lying (x) axis. *** ### xNumberFormat? [Section titled “xNumberFormat?”](#xnumberformat) > `readonly` `optional` **xNumberFormat?**: `string` Defined in: [src/core/document-model/types.ts:2089](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2089)
# ChartBlock
Defined in: [src/core/document-model/types.ts:2127](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2127) A block-level chart reference (`c:chart`): its size and relationship id. ## Properties [Section titled “Properties”](#properties) ### altText? [Section titled “altText?”](#alttext) > `readonly` `optional` **altText?**: `string` Defined in: [src/core/document-model/types.ts:2135](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2135) `wp:docPr @descr/@title` — alternate text for the tagged-PDF Figure (`/Alt`). *** ### chartRelId [Section titled “chartRelId”](#chartrelid) > `readonly` **chartRelId**: `string` Defined in: [src/core/document-model/types.ts:2130](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2130) *** ### float? [Section titled “float?”](#float) > `readonly` `optional` **float?**: [`FloatAnchor`](/api/core/document-model/interfaces/floatanchor/) Defined in: [src/core/document-model/types.ts:2129](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2129) §20.4.2.3 — present when the drawing is anchored (floating). *** ### height [Section titled “height”](#height) > `readonly` **height**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:2132](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2132) *** ### paragraphProperties [Section titled “paragraphProperties”](#paragraphproperties) > `readonly` **paragraphProperties**: [`ParagraphProperties`](/api/core/document-model/interfaces/paragraphproperties/) Defined in: [src/core/document-model/types.ts:2133](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2133) *** ### width [Section titled “width”](#width) > `readonly` **width**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:2131](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2131)
# ChartDataLabels
Defined in: [src/core/document-model/types.ts:1897](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1897) §21.2.2.49 `c:dLbls` — what a chart’s data labels show and how their parts are joined: the chart group’s switches, the first series’ own over them. ## Properties [Section titled “Properties”](#properties) ### numberFormat? [Section titled “numberFormat?”](#numberformat) > `readonly` `optional` **numberFormat?**: `string` Defined in: [src/core/document-model/types.ts:1905](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1905) `c:dLbls/c:numFmt@formatCode`, when the labels have their own. *** ### position? [Section titled “position?”](#position) > `readonly` `optional` **position?**: [`ChartLabelPosition`](/api/core/document-model/type-aliases/chartlabelposition/) Defined in: [src/core/document-model/types.ts:1907](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1907) §21.2.2.48 `c:dLblPos` — where the labels stand. *** ### separator? [Section titled “separator?”](#separator) > `readonly` `optional` **separator?**: `string` Defined in: [src/core/document-model/types.ts:1903](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1903) §21.2.2.166 `c:separator` — between the parts; absent, Excel’s “, “. *** ### showCatName? [Section titled “showCatName?”](#showcatname) > `readonly` `optional` **showCatName?**: `boolean` Defined in: [src/core/document-model/types.ts:1899](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1899) *** ### showLeaderLines? [Section titled “showLeaderLines?”](#showleaderlines) > `readonly` `optional` **showLeaderLines?**: `boolean` Defined in: [src/core/document-model/types.ts:1909](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1909) §21.2.2.183 `c:showLeaderLines` — a label set off its slice is tied back to it. *** ### showPercent? [Section titled “showPercent?”](#showpercent) > `readonly` `optional` **showPercent?**: `boolean` Defined in: [src/core/document-model/types.ts:1901](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1901) *** ### showSerName? [Section titled “showSerName?”](#showsername) > `readonly` `optional` **showSerName?**: `boolean` Defined in: [src/core/document-model/types.ts:1900](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1900) *** ### showVal? [Section titled “showVal?”](#showval) > `readonly` `optional` **showVal?**: `boolean` Defined in: [src/core/document-model/types.ts:1898](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1898)
# ChartDataPoint
Defined in: [src/core/document-model/types.ts:1719](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1719) A per-point colour override (`c:dPt`) at series index `idx`. ## Properties [Section titled “Properties”](#properties) ### colorHex [Section titled “colorHex”](#colorhex) > `readonly` **colorHex**: `string` Defined in: [src/core/document-model/types.ts:1721](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1721) *** ### idx [Section titled “idx”](#idx) > `readonly` **idx**: `number` Defined in: [src/core/document-model/types.ts:1720](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1720)
# ChartLineStyle
Defined in: [src/core/document-model/types.ts:1830](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1830) §21.2.2.196 `c:spPr/a:ln` on an axis or its gridlines — the rule the author gave it. `none` is ``, which means the axis draws no line at all: 57362.xlsx hides its secondary value axis that way and keeps its labels. ## Properties [Section titled “Properties”](#properties) ### colorHex? [Section titled “colorHex?”](#colorhex) > `readonly` `optional` **colorHex?**: `string` Defined in: [src/core/document-model/types.ts:1832](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1832) *** ### dash? [Section titled “dash?”](#dash) > `readonly` `optional` **dash?**: [`ShapeDash`](/api/core/document-model/type-aliases/shapedash/) Defined in: [src/core/document-model/types.ts:1835](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1835) §20.1.10.49 `a:prstDash` — the rule’s dash pattern, when it names one. *** ### none? [Section titled “none?”](#none) > `readonly` `optional` **none?**: `boolean` Defined in: [src/core/document-model/types.ts:1831](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1831) *** ### widthPt? [Section titled “widthPt?”](#widthpt) > `readonly` `optional` **widthPt?**: `number` Defined in: [src/core/document-model/types.ts:1833](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1833)
# ChartMarker
Defined in: [src/core/document-model/types.ts:1820](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1820) §21.2.2.106 `c:marker` — a series’ point symbol and its size in points (§21.2.2.153 `c:size`, 2–72). chartTitle\_noTitle.xlsx asks for a 5pt circle at every point and both references draw one; we stamped a square. ## Properties [Section titled “Properties”](#properties) ### sizePt? [Section titled “sizePt?”](#sizept) > `readonly` `optional` **sizePt?**: `number` Defined in: [src/core/document-model/types.ts:1822](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1822) *** ### symbol [Section titled “symbol”](#symbol) > `readonly` **symbol**: [`ChartMarkerSymbol`](/api/core/document-model/type-aliases/chartmarkersymbol/) Defined in: [src/core/document-model/types.ts:1821](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1821)
# ChartSeries
Defined in: [src/core/document-model/types.ts:1725](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1725) One chart data series (`c:ser`): its name, values and colour overrides. ## Properties [Section titled “Properties”](#properties) ### colorHex? [Section titled “colorHex?”](#colorhex) > `readonly` `optional` **colorHex?**: `string` Defined in: [src/core/document-model/types.ts:1745](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1745) *** ### explosion? [Section titled “explosion?”](#explosion) > `readonly` `optional` **explosion?**: `number` Defined in: [src/core/document-model/types.ts:1752](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1752) §21.2.2.61 `c:explosion` — how far a pie’s slices stand out from its centre, as a percentage of its radius: the series’ own, and each point’s (`c:dPt/c:explosion`) over it. *** ### line? [Section titled “line?”](#line) > `readonly` `optional` **line?**: [`ChartLineStyle`](/api/core/document-model/interfaces/chartlinestyle/) Defined in: [src/core/document-model/types.ts:1795](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1795) §21.2.2.198 `c:ser/c:spPr/a:ln` — the series’ OWN rule. `` is how Excel writes “scatter with markers only”: the group still says `lineMarker`, and it is this line that says the points are not joined. SimpleScatterChart.xlsx is two loose dots in both references and we ran a line between them. *** ### marker? [Section titled “marker?”](#marker) > `readonly` `optional` **marker?**: [`ChartMarker`](/api/core/document-model/interfaces/chartmarker/) Defined in: [src/core/document-model/types.ts:1787](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1787) §21.2.2.106 `c:marker` — the symbol this series stamps on each of its points. Absent ⇒ the reader’s own default. *** ### name? [Section titled “name?”](#name) > `readonly` `optional` **name?**: `string` Defined in: [src/core/document-model/types.ts:1726](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1726) *** ### nameRef? [Section titled “nameRef?”](#nameref) > `readonly` `optional` **nameRef?**: `string` Defined in: [src/core/document-model/types.ts:1782](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1782) *** ### pointColors? [Section titled “pointColors?”](#pointcolors) > `readonly` `optional` **pointColors?**: readonly [`ChartDataPoint`](/api/core/document-model/interfaces/chartdatapoint/)\[] Defined in: [src/core/document-model/types.ts:1746](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1746) *** ### pointExplosions? [Section titled “pointExplosions?”](#pointexplosions) > `readonly` `optional` **pointExplosions?**: readonly `object`\[] Defined in: [src/core/document-model/types.ts:1753](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1753) *** ### pointLabelPlacements? [Section titled “pointLabelPlacements?”](#pointlabelplacements) > `readonly` `optional` **pointLabelPlacements?**: readonly `object`\[] Defined in: [src/core/document-model/types.ts:1768](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1768) §21.2.2.47 `c:dLbl` — where one point’s label stands, when the point says: its own `c:dLblPos`, and the `c:layout/c:manualLayout` it was dragged to — `x` and `y` fractions of the chart, the label’s own top-left corner where `edge`, else how far it moved from where the chart would set it. *** ### pointLabels? [Section titled “pointLabels?”](#pointlabels) > `readonly` `optional` **pointLabels?**: readonly `object`\[] Defined in: [src/core/document-model/types.ts:1761](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1761) §21.2.2.49 `c:dLbl/c:tx` — a data label the author typed rather than one the chart computes, by point index. Excel and Calc print it verbatim: it is the only place a label like “Промышленные потребители; 22,7млрд.кВтч; 67,3%” exists, and generating one from the value instead loses the whole sentence. *** ### secondaryAxis? [Section titled “secondaryAxis?”](#secondaryaxis) > `readonly` `optional` **secondaryAxis?**: `boolean` Defined in: [src/core/document-model/types.ts:1742](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1742) §21.2.2.9 `c:axId` — the series plots against the SECONDARY value axis: its group names a `c:valAx` other than the one the first group uses. 57362.xlsx puts its line on an axis of its own at `axPos="r"`, and plotting it on the primary scale puts every point at the wrong height whenever the two ranges differ. *** ### type? [Section titled “type?”](#type) > `readonly` `optional` **type?**: [`ChartType`](/api/core/document-model/type-aliases/charttype/) Defined in: [src/core/document-model/types.ts:1734](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1734) §21.2.2 — the chart group this series came from, when it is NOT the group that gave [Chart.type](/api/core/document-model/interfaces/chart/#type). A `c:plotArea` may hold several groups: a combo chart writes `c:barChart` and `c:lineChart` side by side, and reading only the first drops the other’s series off the page entirely (57362.xlsx loses its line). Absent ⇒ the series draws as the chart’s own type. *** ### values [Section titled “values”](#values) > `readonly` **values**: readonly `number`\[] Defined in: [src/core/document-model/types.ts:1743](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1743) *** ### valuesRef? [Section titled “valuesRef?”](#valuesref) > `readonly` `optional` **valuesRef?**: `string` Defined in: [src/core/document-model/types.ts:1781](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1781) §21.2.2.59 `c:val/c:numRef/c:f` and §21.2.2.215 `c:tx/c:strRef/c:f` — where the series reads its numbers and its name FROM, when the chart part carries no cache of them. A chart written without caches is not a chart without data: the reader resolves these against the workbook. *** ### xValues? [Section titled “xValues?”](#xvalues) > `readonly` `optional` **xValues?**: readonly `number`\[] Defined in: [src/core/document-model/types.ts:1744](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1744)
# ChartSurface
Defined in: [src/core/document-model/types.ts:1839](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1839) A 3-D chart’s wall or floor (§21.2.2.11, §21.2.2.69, §21.2.2.191): its fill and rule. ## Properties [Section titled “Properties”](#properties) ### fillHex? [Section titled “fillHex?”](#fillhex) > `readonly` `optional` **fillHex?**: `string` Defined in: [src/core/document-model/types.ts:1841](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1841) `c:spPr/a:solidFill` — RRGGBB; absent, unfilled. *** ### line? [Section titled “line?”](#line) > `readonly` `optional` **line?**: [`ChartLineStyle`](/api/core/document-model/interfaces/chartlinestyle/) Defined in: [src/core/document-model/types.ts:1843](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1843) `c:spPr/a:ln` — its rule, `{ none: true }` for `a:noFill`; absent, the default.
# ChartTextStyle
Defined in: [src/core/document-model/types.ts:1851](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1851) §21.2.2.216 `c:txPr`, §21.2.2.156 `c:rich` — how one kind of a chart’s text is set: the element’s own run properties over the chart’s (`c:chartSpace/ c:txPr`) over the application’s defaults, theme tokens resolved. ## Properties [Section titled “Properties”](#properties) ### bold? [Section titled “bold?”](#bold) > `readonly` `optional` **bold?**: `boolean` Defined in: [src/core/document-model/types.ts:1856](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1856) *** ### colorHex? [Section titled “colorHex?”](#colorhex) > `readonly` `optional` **colorHex?**: `string` Defined in: [src/core/document-model/types.ts:1859](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1859) `a:solidFill` — the text colour as RRGGBB. *** ### family? [Section titled “family?”](#family) > `readonly` `optional` **family?**: `string` Defined in: [src/core/document-model/types.ts:1853](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1853) `a:latin@typeface` — the family, `+mn-lt`/`+mj-lt` already resolved. *** ### italic? [Section titled “italic?”](#italic) > `readonly` `optional` **italic?**: `boolean` Defined in: [src/core/document-model/types.ts:1857](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1857) *** ### sizePt? [Section titled “sizePt?”](#sizept) > `readonly` `optional` **sizePt?**: `number` Defined in: [src/core/document-model/types.ts:1855](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1855) `@sz`, in points.
# ChartTextStyles
Defined in: [src/core/document-model/types.ts:1863](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1863) A chart’s text by role, each resolved through the cascade on its own. ## Properties [Section titled “Properties”](#properties) ### catAxis? [Section titled “catAxis?”](#cataxis) > `readonly` `optional` **catAxis?**: [`ChartTextStyle`](/api/core/document-model/interfaces/charttextstyle/) Defined in: [src/core/document-model/types.ts:1869](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1869) The category axis’s tick labels — a scatter’s horizontal value axis. *** ### catAxisTitle? [Section titled “catAxisTitle?”](#cataxistitle) > `readonly` `optional` **catAxisTitle?**: [`ChartTextStyle`](/api/core/document-model/interfaces/charttextstyle/) Defined in: [src/core/document-model/types.ts:1874](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1874) *** ### dataLabels? [Section titled “dataLabels?”](#datalabels) > `readonly` `optional` **dataLabels?**: [`ChartTextStyle`](/api/core/document-model/interfaces/charttextstyle/) Defined in: [src/core/document-model/types.ts:1878](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1878) `c:dLbls` — the values and labels printed on the data. *** ### legend? [Section titled “legend?”](#legend) > `readonly` `optional` **legend?**: [`ChartTextStyle`](/api/core/document-model/interfaces/charttextstyle/) Defined in: [src/core/document-model/types.ts:1867](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1867) `c:legend` — the entries. *** ### secondaryValAxis? [Section titled “secondaryValAxis?”](#secondaryvalaxis) > `readonly` `optional` **secondaryValAxis?**: [`ChartTextStyle`](/api/core/document-model/interfaces/charttextstyle/) Defined in: [src/core/document-model/types.ts:1873](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1873) The secondary value axis’s tick labels. *** ### secondaryValAxisTitle? [Section titled “secondaryValAxisTitle?”](#secondaryvalaxistitle) > `readonly` `optional` **secondaryValAxisTitle?**: [`ChartTextStyle`](/api/core/document-model/interfaces/charttextstyle/) Defined in: [src/core/document-model/types.ts:1876](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1876) *** ### title? [Section titled “title?”](#title) > `readonly` `optional` **title?**: [`ChartTextStyle`](/api/core/document-model/interfaces/charttextstyle/) Defined in: [src/core/document-model/types.ts:1865](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1865) `c:chart/c:title`. *** ### valAxis? [Section titled “valAxis?”](#valaxis) > `readonly` `optional` **valAxis?**: [`ChartTextStyle`](/api/core/document-model/interfaces/charttextstyle/) Defined in: [src/core/document-model/types.ts:1871](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1871) The value axis’s tick labels — a scatter’s upright one. *** ### valAxisTitle? [Section titled “valAxisTitle?”](#valaxistitle) > `readonly` `optional` **valAxisTitle?**: [`ChartTextStyle`](/api/core/document-model/interfaces/charttextstyle/) Defined in: [src/core/document-model/types.ts:1875](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1875)
# Comment
Defined in: [src/core/document-model/types.ts:696](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L696) ECMA-376 Part 1 §17.13.4.2 `w:comment` — a review comment: its block content plus the author/date attribution. Anchored from a run’s `commentRef`. ## Properties [Section titled “Properties”](#properties) ### author? [Section titled “author?”](#author) > `readonly` `optional` **author?**: `string` Defined in: [src/core/document-model/types.ts:698](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L698) *** ### authorId? [Section titled “authorId?”](#authorid) > `readonly` `optional` **authorId?**: `string` Defined in: [src/core/document-model/types.ts:707](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L707) The author’s resolved identity (usually an email) from word/people.xml (`w15:person` → `w15:presenceInfo/@w15:userId`), matched on the author name. Absent when the file ships no people part or the author is not listed. *** ### content [Section titled “content”](#content) > `readonly` **content**: readonly [`BodyElement`](/api/core/document-model/type-aliases/bodyelement/)\[] Defined in: [src/core/document-model/types.ts:697](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L697) *** ### date? [Section titled “date?”](#date) > `readonly` `optional` **date?**: `string` Defined in: [src/core/document-model/types.ts:701](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L701) Raw w:date timestamp (ISO 8601), as authored — not reformatted. *** ### done? [Section titled “done?”](#done) > `readonly` `optional` **done?**: `boolean` Defined in: [src/core/document-model/types.ts:715](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L715) w15:done — the comment thread was marked resolved. *** ### initials? [Section titled “initials?”](#initials) > `readonly` `optional` **initials?**: `string` Defined in: [src/core/document-model/types.ts:699](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L699) *** ### parentId? [Section titled “parentId?”](#parentid) > `readonly` `optional` **parentId?**: `string` Defined in: [src/core/document-model/types.ts:713](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L713) Microsoft commentsExtended (w15) — the id of the comment this one replies to, forming a thread. Set only when word/commentsExtended.xml links this comment’s paragraph to a parent (w15:paraIdParent). Top-level comments omit it.
# CustomGeometry
Defined in: [src/core/document-model/types.ts:1433](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1433) §20.1.9.11 `custGeom` — a custom geometry: its path-space extent (`pathWidth`/`pathHeight`) and the [CustomPathCmd](/api/core/document-model/type-aliases/custompathcmd/) list that draws it. ## Properties [Section titled “Properties”](#properties) ### commands [Section titled “commands”](#commands) > `readonly` **commands**: readonly [`CustomPathCmd`](/api/core/document-model/type-aliases/custompathcmd/)\[] Defined in: [src/core/document-model/types.ts:1436](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1436) *** ### pathHeight [Section titled “pathHeight”](#pathheight) > `readonly` **pathHeight**: `number` Defined in: [src/core/document-model/types.ts:1435](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1435) *** ### pathWidth [Section titled “pathWidth”](#pathwidth) > `readonly` **pathWidth**: `number` Defined in: [src/core/document-model/types.ts:1434](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1434)
# DocumentModel
Defined in: [src/core/document-model/types.ts:2384](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2384) The parsed WordprocessingML document: body, stylesheet, numbering and section setup. ## Properties [Section titled “Properties”](#properties) ### body [Section titled “body”](#body) > `readonly` **body**: readonly [`BodyElement`](/api/core/document-model/type-aliases/bodyelement/)\[] Defined in: [src/core/document-model/types.ts:2385](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2385) *** ### numbering? [Section titled “numbering?”](#numbering) > `readonly` `optional` **numbering?**: [`Numbering`](/api/core/document-model/interfaces/numbering/) Defined in: [src/core/document-model/types.ts:2387](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2387) *** ### section? [Section titled “section?”](#section) > `readonly` `optional` **section?**: [`SectionProperties`](/api/core/document-model/interfaces/sectionproperties/) Defined in: [src/core/document-model/types.ts:2388](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2388) *** ### styleSheet [Section titled “styleSheet”](#stylesheet) > `readonly` **styleSheet**: [`StyleSheet`](/api/core/document-model/interfaces/stylesheet/) Defined in: [src/core/document-model/types.ts:2386](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2386)
# FloatAnchor
Defined in: [src/core/document-model/types.ts:2260](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2260) §20.4.2.3 `wp:anchor` — a floating drawing’s placement. v1 honours out-of-flow placement for wrap `'none'` (incl. `behindDoc`); the side-wrapping modes (square/tight/through) and `topAndBottom` stay in flow as blocks. ## Properties [Section titled “Properties”](#properties) ### behind? [Section titled “behind?”](#behind) > `readonly` `optional` **behind?**: `boolean` Defined in: [src/core/document-model/types.ts:2267](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2267) *** ### inCell? [Section titled “inCell?”](#incell) > `readonly` `optional` **inCell?**: `boolean` Defined in: [src/core/document-model/types.ts:2337](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2337) §20.4.2.3 `wp:anchor @layoutInCell` (VML `o:allowincell`) — present and false when a drawing anchored inside a TABLE CELL is placed against the page rather than against the cell. Absent means the default: the cell is the frame every `relativeFrom` is measured in. *** ### posH? [Section titled “posH?”](#posh) > `readonly` `optional` **posH?**: `object` Defined in: [src/core/document-model/types.ts:2274](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2274) #### align? [Section titled “align?”](#align) > `readonly` `optional` **align?**: `"right"` | `"left"` | `"center"` | `"inside"` | `"outside"` §20.4.2.1 `wp:align` (§20.4.3.1 ST\_AlignH). `inside` is the left on an odd page and the right on an even one; `outside` the other way round. #### offsetPt? [Section titled “offsetPt?”](#offsetpt) > `readonly` `optional` **offsetPt?**: [`Pt`](/api/index/type-aliases/pt/) #### relativeFrom [Section titled “relativeFrom”](#relativefrom) > `readonly` **relativeFrom**: `"page"` | `"column"` | `"margin"` | `"leftMargin"` | `"rightMargin"` | `"character"` | `"insideMargin"` | `"outsideMargin"` §20.4.3.4 ST\_RelFromH. `leftMargin`/`rightMargin` are the margin BANDS beside the text area, which is where a marginal note is placed: tdf103573.docx centres one box in each, and read as plain `margin` they both landed in the middle of the text and printed over each other. `insideMargin`/`outsideMargin` are one band or the other by the page’s parity, and `character` is where the anchor stands in its line. *** ### posV? [Section titled “posV?”](#posv) > `readonly` `optional` **posV?**: `object` Defined in: [src/core/document-model/types.ts:2299](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2299) #### align? [Section titled “align?”](#align-1) > `readonly` `optional` **align?**: `"top"` | `"bottom"` | `"center"` | `"inside"` | `"outside"` §20.4.2.2 `wp:align` (§20.4.3.2 ST\_AlignV; VML: `mso-position-vertical`) — a KEYWORD rather than an offset, which is how Word centres a watermark in its page. `inside` is the top on an odd page and the bottom on an even one; `outside` the other way round. #### offsetPt? [Section titled “offsetPt?”](#offsetpt-1) > `readonly` `optional` **offsetPt?**: [`Pt`](/api/index/type-aliases/pt/) #### relativeFrom [Section titled “relativeFrom”](#relativefrom-1) > `readonly` **relativeFrom**: `"line"` | `"page"` | `"paragraph"` | `"margin"` | `"topMargin"` | `"bottomMargin"` | `"insideMargin"` | `"outsideMargin"` §20.4.3.5 ST\_RelFromV. `topMargin`/`bottomMargin` measure from the top edge of the margin BAND they name — page-content-bottom.docx hangs a square 312pt above the bottom margin, and read as plain `margin` it went off the top of the page. `insideMargin`/`outsideMargin` are one band or the other by the page’s parity. *** ### wrap [Section titled “wrap”](#wrap) > `readonly` **wrap**: `"none"` | `"square"` | `"notBeside"` | `"tight"` | `"through"` | `"topAndBottom"` Defined in: [src/core/document-model/types.ts:2266](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2266) §20.4.2.3 / §17.18.104 — how body text runs past the drawing. `notBeside` is the FRAME’s own mode: the drawing keeps the place its anchor names, but no text may stand beside it, so its band spans the whole column. *** ### wrapDist? [Section titled “wrapDist?”](#wrapdist) > `readonly` `optional` **wrapDist?**: `object` Defined in: [src/core/document-model/types.ts:2342](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2342) §20.4.2.3 `wp:anchor @distT/@distB/@distL/@distR` — how far the wrapped text stands off each edge of the drawing. Absent sides are 0. #### bottomPt [Section titled “bottomPt”](#bottompt) > `readonly` **bottomPt**: [`Pt`](/api/index/type-aliases/pt/) #### leftPt [Section titled “leftPt”](#leftpt) > `readonly` **leftPt**: [`Pt`](/api/index/type-aliases/pt/) #### rightPt [Section titled “rightPt”](#rightpt) > `readonly` **rightPt**: [`Pt`](/api/index/type-aliases/pt/) #### topPt [Section titled “topPt”](#toppt) > `readonly` **topPt**: [`Pt`](/api/index/type-aliases/pt/) *** ### wrapSide? [Section titled “wrapSide?”](#wrapside) > `readonly` `optional` **wrapSide?**: `"right"` | `"left"` | `"bothSides"` | `"largest"` Defined in: [src/core/document-model/types.ts:2330](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2330) §20.4.2.3 `@wrapText` on the wrap element — which side(s) of the drawing text may stand on. `bothSides` is the default and the only value that fills BOTH gaps; `left`/`right` name one, `largest` the wider. *** ### zOrder? [Section titled “zOrder?”](#zorder) > `readonly` `optional` **zOrder?**: `number` Defined in: [src/core/document-model/types.ts:2273](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2273) §20.4.2.3 `wp:anchor @relativeHeight` — the z-order among the floats on the page: the higher number is drawn over the lower, whatever their order in the document.
# FontFamilyMap
Defined in: [src/core/document-model/types.ts:60](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L60) The four script slots of `w:rFonts` (§17.3.2.26). A character picks its font from the slot its Unicode range maps to (ASCII, high-ANSI, complex-script, East-Asian). ## Properties [Section titled “Properties”](#properties) ### ascii? [Section titled “ascii?”](#ascii) > `readonly` `optional` **ascii?**: `string` Defined in: [src/core/document-model/types.ts:61](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L61) *** ### cs? [Section titled “cs?”](#cs) > `readonly` `optional` **cs?**: `string` Defined in: [src/core/document-model/types.ts:63](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L63) *** ### eastAsia? [Section titled “eastAsia?”](#eastasia) > `readonly` `optional` **eastAsia?**: `string` Defined in: [src/core/document-model/types.ts:64](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L64) *** ### hAnsi? [Section titled “hAnsi?”](#hansi) > `readonly` `optional` **hAnsi?**: `string` Defined in: [src/core/document-model/types.ts:62](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L62)
# FrameProperties
Defined in: [src/core/document-model/types.ts:202](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L202) §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”](#properties) ### hAnchor? [Section titled “hAnchor?”](#hanchor) > `readonly` `optional` **hAnchor?**: `"text"` | `"page"` | `"margin"` Defined in: [src/core/document-model/types.ts:214](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L214) *** ### heightPt? [Section titled “heightPt?”](#heightpt) > `readonly` `optional` **heightPt?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:206](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L206) `w:h` with `w:hRule` — `exact` pins the height, anything else fits the text. *** ### heightRule? [Section titled “heightRule?”](#heightrule) > `readonly` `optional` **heightRule?**: `"auto"` | `"exact"` | `"atLeast"` Defined in: [src/core/document-model/types.ts:207](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L207) *** ### hSpacePt? [Section titled “hSpacePt?”](#hspacept) > `readonly` `optional` **hSpacePt?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:218](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L218) *** ### vAnchor? [Section titled “vAnchor?”](#vanchor) > `readonly` `optional` **vAnchor?**: `"text"` | `"page"` | `"margin"` Defined in: [src/core/document-model/types.ts:215](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L215) *** ### vSpacePt? [Section titled “vSpacePt?”](#vspacept) > `readonly` `optional` **vSpacePt?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:219](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L219) *** ### widthPt? [Section titled “widthPt?”](#widthpt) > `readonly` `optional` **widthPt?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:204](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L204) `w:w` — the frame’s width. Absent ⇒ as wide as the text needs. *** ### wrap? [Section titled “wrap?”](#wrap) > `readonly` `optional` **wrap?**: `"none"` | `"auto"` | `"around"` | `"notBeside"` | `"tight"` | `"through"` Defined in: [src/core/document-model/types.ts:217](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L217) §17.18.104 ST\_Wrap — how the body text runs past the frame. *** ### xAlign? [Section titled “xAlign?”](#xalign) > `readonly` `optional` **xAlign?**: `"right"` | `"left"` | `"center"` | `"inside"` | `"outside"` Defined in: [src/core/document-model/types.ts:212](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L212) `w:xAlign`/`w:yAlign` — an alignment instead of an offset. *** ### xPt? [Section titled “xPt?”](#xpt) > `readonly` `optional` **xPt?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:209](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L209) `w:x`/`w:y` — the offset from whatever `hAnchor`/`vAnchor` names. *** ### yAlign? [Section titled “yAlign?”](#yalign) > `readonly` `optional` **yAlign?**: `"top"` | `"bottom"` | `"center"` | `"inside"` | `"outside"` Defined in: [src/core/document-model/types.ts:213](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L213) *** ### yPt? [Section titled “yPt?”](#ypt) > `readonly` `optional` **yPt?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:210](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L210)
# HeaderFooterReference
Defined in: [src/core/document-model/types.ts:2172](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2172) §17.10.5/§17.10.2 `w:headerReference`/`w:footerReference` — a typed rels pointer. ## Properties [Section titled “Properties”](#properties) ### relationshipId [Section titled “relationshipId”](#relationshipid) > `readonly` **relationshipId**: `string` Defined in: [src/core/document-model/types.ts:2174](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2174) *** ### type [Section titled “type”](#type) > `readonly` **type**: [`HeaderFooterType`](/api/core/document-model/type-aliases/headerfootertype/) Defined in: [src/core/document-model/types.ts:2173](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2173)
# ImageBlock
Defined in: [src/core/document-model/types.ts:1338](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1338) ## Properties [Section titled “Properties”](#properties) ### alpha? [Section titled “alpha?”](#alpha) > `readonly` `optional` **alpha?**: `number` Defined in: [src/core/document-model/types.ts:1362](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1362) §20.1.8.4 `a:alphaModFix` — how opaque the picture is DRAWN, `0..1`; absent is opaque. A layout that lays a photograph behind its text sets it low (ArtisticEffectSample’s cover shows one at 52%), and drawn full-strength the words on it are unreadable. *** ### altText? [Section titled “altText?”](#alttext) > `readonly` `optional` **altText?**: `string` Defined in: [src/core/document-model/types.ts:1387](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1387) `wp:docPr @descr/@title` — alternate text for the tagged-PDF Figure (`/Alt`). *** ### colorChange? [Section titled “colorChange?”](#colorchange) > `readonly` `optional` **colorChange?**: `object` Defined in: [src/core/document-model/types.ts:1367](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1367) §20.1.8.16 `a:clrChange` — one colour of the picture replaced by another, or knocked out entirely when the destination states `a:alpha` at zero. #### fromHex [Section titled “fromHex”](#fromhex) > `readonly` **fromHex**: `string` #### toHex [Section titled “toHex”](#tohex) > `readonly` **toHex**: `string` #### transparent [Section titled “transparent”](#transparent) > `readonly` **transparent**: `boolean` *** ### crop? [Section titled “crop?”](#crop) > `readonly` `optional` **crop?**: [`ImageCrop`](/api/core/document-model/interfaces/imagecrop/) Defined in: [src/core/document-model/types.ts:1375](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1375) §20.1.8.55 `a:srcRect` — the part of the source the frame shows. *** ### effectExtent? [Section titled “effectExtent?”](#effectextent) > `readonly` `optional` **effectExtent?**: `object` Defined in: [src/core/document-model/types.ts:1384](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1384) §20.4.2.6 `wp:effectExtent` — space reserved around the picture (see [InlineImage](/api/core/document-model/interfaces/inlineimage/)). #### bottomPt [Section titled “bottomPt”](#bottompt) > `readonly` **bottomPt**: [`Pt`](/api/index/type-aliases/pt/) #### leftPt [Section titled “leftPt”](#leftpt) > `readonly` **leftPt**: [`Pt`](/api/index/type-aliases/pt/) #### rightPt [Section titled “rightPt”](#rightpt) > `readonly` **rightPt**: [`Pt`](/api/index/type-aliases/pt/) #### topPt [Section titled “topPt”](#toppt) > `readonly` **topPt**: [`Pt`](/api/index/type-aliases/pt/) *** ### flipH? [Section titled “flipH?”](#fliph) > `readonly` `optional` **flipH?**: `boolean` Defined in: [src/core/document-model/types.ts:1379](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1379) §20.1.7.6 `a:xfrm @flipH/@flipV` — the picture drawn mirrored. *** ### flipV? [Section titled “flipV?”](#flipv) > `readonly` `optional` **flipV?**: `boolean` Defined in: [src/core/document-model/types.ts:1380](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1380) *** ### float? [Section titled “float?”](#float) > `readonly` `optional` **float?**: [`FloatAnchor`](/api/core/document-model/interfaces/floatanchor/) Defined in: [src/core/document-model/types.ts:1340](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1340) §20.4.2.3 — present when the drawing is anchored (floating). *** ### height [Section titled “height”](#height) > `readonly` **height**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:1373](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1373) *** ### outline? [Section titled “outline?”](#outline) > `readonly` `optional` **outline?**: [`PictureOutline`](/api/core/document-model/interfaces/pictureoutline/) Defined in: [src/core/document-model/types.ts:1343](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1343) The picture’s own frame, when it has one (see [PictureOutline](/api/core/document-model/interfaces/pictureoutline/)). *** ### paragraphProperties [Section titled “paragraphProperties”](#paragraphproperties) > `readonly` **paragraphProperties**: [`ParagraphProperties`](/api/core/document-model/interfaces/paragraphproperties/) Defined in: [src/core/document-model/types.ts:1385](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1385) *** ### relativeSize? [Section titled “relativeSize?”](#relativesize) > `readonly` `optional` **relativeSize?**: [`RelativeSize`](/api/core/document-model/interfaces/relativesize/) Defined in: [src/core/document-model/types.ts:1382](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1382) `wp14:sizeRelH/V` — a size stated as a share of the page or margins. *** ### resource? [Section titled “resource?”](#resource) > `readonly` `optional` **resource?**: [`ResourceId`](/api/index/type-aliases/resourceid/) Defined in: [src/core/document-model/types.ts:1341](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1341) *** ### rotation60k? [Section titled “rotation60k?”](#rotation60k) > `readonly` `optional` **rotation60k?**: `number` Defined in: [src/core/document-model/types.ts:1377](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1377) §20.1.7.6 `a:xfrm @rot` — the picture’s own rotation (1/60000°, clockwise). *** ### shadow? [Section titled “shadow?”](#shadow) > `readonly` `optional` **shadow?**: [`ShapeShadow`](/api/core/document-model/interfaces/shapeshadow/) Defined in: [src/core/document-model/types.ts:1349](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1349) §20.1.8.40 `a:outerShdw` — the drop shadow under the picture. Word writes one on every screenshot pasted with a style; drawn nowhere, imgshadow\.docx’s six stood flat on the page where both references lift them off it. *** ### wash? [Section titled “wash?”](#wash) > `readonly` `optional` **wash?**: `object` Defined in: [src/core/document-model/types.ts:1355](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1355) §14.1.2.10 `@gain`/`@blacklevel` — the contrast and brightness the picture is drawn through, about mid grey: `out = (in - 0.5) * gain + 0.5 + black`. Word washes a watermark out this way. #### black [Section titled “black”](#black) > `readonly` **black**: `number` #### gain [Section titled “gain”](#gain) > `readonly` **gain**: `number` *** ### width [Section titled “width”](#width) > `readonly` **width**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:1372](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1372)
# ImageCrop
Defined in: [src/core/document-model/types.ts:1331](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1331) §20.1.8.55 `a:srcRect` — how much of each edge of the source picture is cut away before it is fitted to its frame, as a fraction of the source (so 0.25 on `left` drops its left quarter). Absent edges are zero. ## Properties [Section titled “Properties”](#properties) ### bottom [Section titled “bottom”](#bottom) > `readonly` **bottom**: `number` Defined in: [src/core/document-model/types.ts:1335](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1335) *** ### left [Section titled “left”](#left) > `readonly` **left**: `number` Defined in: [src/core/document-model/types.ts:1332](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1332) *** ### right [Section titled “right”](#right) > `readonly` **right**: `number` Defined in: [src/core/document-model/types.ts:1334](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1334) *** ### top [Section titled “top”](#top) > `readonly` **top**: `number` Defined in: [src/core/document-model/types.ts:1333](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1333)
# InlineImage
Defined in: [src/core/document-model/types.ts:356](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L356) ## Properties [Section titled “Properties”](#properties) ### colorChange? [Section titled “colorChange?”](#colorchange) > `readonly` `optional` **colorChange?**: `object` Defined in: [src/core/document-model/types.ts:382](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L382) §20.1.8.16 `a:clrChange` — one colour of the picture replaced by another, or knocked out entirely when the destination states `a:alpha` at zero. A logo on a white card goes onto a dark slide that way (corpus: tdf113163, whose whole slide is a metafile with its white ground declared away). #### fromHex [Section titled “fromHex”](#fromhex) > `readonly` **fromHex**: `string` #### toHex [Section titled “toHex”](#tohex) > `readonly` **toHex**: `string` #### transparent [Section titled “transparent”](#transparent) > `readonly` **transparent**: `boolean` *** ### crop? [Section titled “crop?”](#crop) > `readonly` `optional` **crop?**: [`ImageCrop`](/api/core/document-model/interfaces/imagecrop/) Defined in: [src/core/document-model/types.ts:390](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L390) §20.1.8.55 `a:srcRect` — the part of the source the frame shows. *** ### effectExtent? [Section titled “effectExtent?”](#effectextent) > `readonly` `optional` **effectExtent?**: `object` Defined in: [src/core/document-model/types.ts:401](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L401) §20.4.2.6 `wp:effectExtent` — space the drawing needs BEYOND its extent, for what a rotation or an effect throws outside the frame. The line box reserves it; the picture itself is drawn inset by it. #### bottomPt [Section titled “bottomPt”](#bottompt) > `readonly` **bottomPt**: [`Pt`](/api/index/type-aliases/pt/) #### leftPt [Section titled “leftPt”](#leftpt) > `readonly` **leftPt**: [`Pt`](/api/index/type-aliases/pt/) #### rightPt [Section titled “rightPt”](#rightpt) > `readonly` **rightPt**: [`Pt`](/api/index/type-aliases/pt/) #### topPt [Section titled “topPt”](#toppt) > `readonly` **topPt**: [`Pt`](/api/index/type-aliases/pt/) *** ### flipH? [Section titled “flipH?”](#fliph) > `readonly` `optional` **flipH?**: `boolean` Defined in: [src/core/document-model/types.ts:394](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L394) §20.1.7.6 `a:xfrm @flipH/@flipV` — the picture drawn mirrored. *** ### flipV? [Section titled “flipV?”](#flipv) > `readonly` `optional` **flipV?**: `boolean` Defined in: [src/core/document-model/types.ts:395](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L395) *** ### height [Section titled “height”](#height) > `readonly` **height**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:388](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L388) *** ### outline? [Section titled “outline?”](#outline) > `readonly` `optional` **outline?**: [`PictureOutline`](/api/core/document-model/interfaces/pictureoutline/) Defined in: [src/core/document-model/types.ts:363](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L363) The picture’s own frame, when it has one (see [PictureOutline](/api/core/document-model/interfaces/pictureoutline/)). *** ### resource? [Section titled “resource?”](#resource) > `readonly` `optional` **resource?**: [`ResourceId`](/api/index/type-aliases/resourceid/) Defined in: [src/core/document-model/types.ts:361](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L361) Content-addressed bytes in the document’s `ResourceStore`; absent when the source relationship did not resolve (the layout box still reserves space). *** ### rotation60k? [Section titled “rotation60k?”](#rotation60k) > `readonly` `optional` **rotation60k?**: `number` Defined in: [src/core/document-model/types.ts:392](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L392) §20.1.7.6 `a:xfrm @rot` — the picture’s own rotation (1/60000°, clockwise). *** ### shadow? [Section titled “shadow?”](#shadow) > `readonly` `optional` **shadow?**: [`ShapeShadow`](/api/core/document-model/interfaces/shapeshadow/) Defined in: [src/core/document-model/types.ts:369](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L369) §20.1.8.40 `a:outerShdw` — the drop shadow under the picture. Word writes one on every screenshot pasted with a style; drawn nowhere, imgshadow\.docx’s six stood flat on the page where both references lift them off it. *** ### wash? [Section titled “wash?”](#wash) > `readonly` `optional` **wash?**: `object` Defined in: [src/core/document-model/types.ts:375](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L375) §14.1.2.10 `@gain`/`@blacklevel` — the contrast and brightness the picture is drawn through, about mid grey: `out = (in - 0.5) * gain + 0.5 + black`. Word washes a watermark out this way. #### black [Section titled “black”](#black) > `readonly` **black**: `number` #### gain [Section titled “gain”](#gain) > `readonly` **gain**: `number` *** ### width [Section titled “width”](#width) > `readonly` **width**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:387](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L387)
# LineEnd
Defined in: [src/core/document-model/types.ts:1559](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1559) §20.1.8.24 / §20.1.8.42 — an arrowhead (or other decoration) at one end of a line: its shape plus the width and length steps `ST_LineEndWidth` / `ST_LineEndLength` name. ## Properties [Section titled “Properties”](#properties) ### length? [Section titled “length?”](#length) > `readonly` `optional` **length?**: `"sm"` | `"med"` | `"lg"` Defined in: [src/core/document-model/types.ts:1562](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1562) *** ### type [Section titled “type”](#type) > `readonly` **type**: `"diamond"` | `"triangle"` | `"stealth"` | `"oval"` | `"arrow"` Defined in: [src/core/document-model/types.ts:1560](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1560) *** ### width? [Section titled “width?”](#width) > `readonly` `optional` **width?**: `"sm"` | `"med"` | `"lg"` Defined in: [src/core/document-model/types.ts:1561](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1561)
# MathAccent
Defined in: [src/core/document-model/types.ts:514](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L514) `m:acc` — accent character over a base (hat, bar, vec, dot, tilde …). ## Properties [Section titled “Properties”](#properties) ### base [Section titled “base”](#base) > `readonly` **base**: [`MathNode`](/api/core/document-model/type-aliases/mathnode/) Defined in: [src/core/document-model/types.ts:517](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L517) *** ### char [Section titled “char”](#char) > `readonly` **char**: `string` Defined in: [src/core/document-model/types.ts:516](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L516) *** ### type [Section titled “type”](#type) > `readonly` **type**: `"accent"` Defined in: [src/core/document-model/types.ts:515](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L515)
# MathBar
Defined in: [src/core/document-model/types.ts:521](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L521) `m:bar` — a bar above or below the base. ## Properties [Section titled “Properties”](#properties) ### base [Section titled “base”](#base) > `readonly` **base**: [`MathNode`](/api/core/document-model/type-aliases/mathnode/) Defined in: [src/core/document-model/types.ts:523](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L523) *** ### pos [Section titled “pos”](#pos) > `readonly` **pos**: `"top"` | `"bot"` Defined in: [src/core/document-model/types.ts:524](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L524) *** ### type [Section titled “type”](#type) > `readonly` **type**: `"bar"` Defined in: [src/core/document-model/types.ts:522](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L522)
# MathDelimiter
Defined in: [src/core/document-model/types.ts:499](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L499) `m:d` — delimiters around one or more elements. ## Properties [Section titled “Properties”](#properties) ### begChr [Section titled “begChr”](#begchr) > `readonly` **begChr**: `string` Defined in: [src/core/document-model/types.ts:501](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L501) *** ### children [Section titled “children”](#children) > `readonly` **children**: readonly [`MathNode`](/api/core/document-model/type-aliases/mathnode/)\[] Defined in: [src/core/document-model/types.ts:504](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L504) *** ### endChr [Section titled “endChr”](#endchr) > `readonly` **endChr**: `string` Defined in: [src/core/document-model/types.ts:502](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L502) *** ### sepChr? [Section titled “sepChr?”](#sepchr) > `readonly` `optional` **sepChr?**: `string` Defined in: [src/core/document-model/types.ts:503](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L503) *** ### type [Section titled “type”](#type) > `readonly` **type**: `"delimiter"` Defined in: [src/core/document-model/types.ts:500](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L500)
# MathEqArray
Defined in: [src/core/document-model/types.ts:539](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L539) `m:eqArr` — an equation array: a stack of equations, each on its own line, left-aligned, the block vertically centred on the math axis. ## Properties [Section titled “Properties”](#properties) ### rows [Section titled “rows”](#rows) > `readonly` **rows**: readonly [`MathNode`](/api/core/document-model/type-aliases/mathnode/)\[] Defined in: [src/core/document-model/types.ts:541](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L541) *** ### type [Section titled “type”](#type) > `readonly` **type**: `"eqArr"` Defined in: [src/core/document-model/types.ts:540](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L540)
# MathFraction
Defined in: [src/core/document-model/types.ts:450](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L450) `m:f` — fraction. `barless` = `m:fPr/m:type val="noBar"`. ## Properties [Section titled “Properties”](#properties) ### barless? [Section titled “barless?”](#barless) > `readonly` `optional` **barless?**: `boolean` Defined in: [src/core/document-model/types.ts:454](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L454) *** ### den [Section titled “den”](#den) > `readonly` **den**: [`MathNode`](/api/core/document-model/type-aliases/mathnode/) Defined in: [src/core/document-model/types.ts:453](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L453) *** ### num [Section titled “num”](#num) > `readonly` **num**: [`MathNode`](/api/core/document-model/type-aliases/mathnode/) Defined in: [src/core/document-model/types.ts:452](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L452) *** ### type [Section titled “type”](#type) > `readonly` **type**: `"fraction"` Defined in: [src/core/document-model/types.ts:451](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L451)
# MathFunc
Defined in: [src/core/document-model/types.ts:484](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L484) `m:func` — function application (sin x, …): a name applied to an argument. ## Properties [Section titled “Properties”](#properties) ### body [Section titled “body”](#body) > `readonly` **body**: [`MathNode`](/api/core/document-model/type-aliases/mathnode/) Defined in: [src/core/document-model/types.ts:487](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L487) *** ### name [Section titled “name”](#name) > `readonly` **name**: [`MathNode`](/api/core/document-model/type-aliases/mathnode/) Defined in: [src/core/document-model/types.ts:486](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L486) *** ### type [Section titled “type”](#type) > `readonly` **type**: `"func"` Defined in: [src/core/document-model/types.ts:485](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L485)
# MathGroupChr
Defined in: [src/core/document-model/types.ts:528](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L528) `m:groupChr` — a grouping character (brace …) above or below the base. ## Properties [Section titled “Properties”](#properties) ### base [Section titled “base”](#base) > `readonly` **base**: [`MathNode`](/api/core/document-model/type-aliases/mathnode/) Defined in: [src/core/document-model/types.ts:531](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L531) *** ### char [Section titled “char”](#char) > `readonly` **char**: `string` Defined in: [src/core/document-model/types.ts:530](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L530) *** ### pos [Section titled “pos”](#pos) > `readonly` **pos**: `"top"` | `"bot"` Defined in: [src/core/document-model/types.ts:532](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L532) *** ### type [Section titled “type”](#type) > `readonly` **type**: `"groupChr"` Defined in: [src/core/document-model/types.ts:529](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L529)
# MathLimit
Defined in: [src/core/document-model/types.ts:491](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L491) `m:limLow` / `m:limUpp` — a limit below/above the base. ## Properties [Section titled “Properties”](#properties) ### base [Section titled “base”](#base) > `readonly` **base**: [`MathNode`](/api/core/document-model/type-aliases/mathnode/) Defined in: [src/core/document-model/types.ts:493](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L493) *** ### lim [Section titled “lim”](#lim) > `readonly` **lim**: [`MathNode`](/api/core/document-model/type-aliases/mathnode/) Defined in: [src/core/document-model/types.ts:494](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L494) *** ### pos [Section titled “pos”](#pos) > `readonly` **pos**: `"low"` | `"upp"` Defined in: [src/core/document-model/types.ts:495](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L495) *** ### type [Section titled “type”](#type) > `readonly` **type**: `"limit"` Defined in: [src/core/document-model/types.ts:492](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L492)
# MathMatrix
Defined in: [src/core/document-model/types.ts:508](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L508) `m:m` — matrix of cells (rows × columns). ## Properties [Section titled “Properties”](#properties) ### rows [Section titled “rows”](#rows) > `readonly` **rows**: readonly readonly [`MathNode`](/api/core/document-model/type-aliases/mathnode/)\[]\[] Defined in: [src/core/document-model/types.ts:510](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L510) *** ### type [Section titled “type”](#type) > `readonly` **type**: `"matrix"` Defined in: [src/core/document-model/types.ts:509](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L509)
# MathNary
Defined in: [src/core/document-model/types.ts:474](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L474) `m:nary` — n-ary operator (∑ ∏ ∫ …) with optional sub/sup limits. ## Properties [Section titled “Properties”](#properties) ### body [Section titled “body”](#body) > `readonly` **body**: [`MathNode`](/api/core/document-model/type-aliases/mathnode/) Defined in: [src/core/document-model/types.ts:477](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L477) *** ### limLoc? [Section titled “limLoc?”](#limloc) > `readonly` `optional` **limLoc?**: `"undOvr"` | `"subSup"` Defined in: [src/core/document-model/types.ts:480](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L480) *** ### op [Section titled “op”](#op) > `readonly` **op**: `string` Defined in: [src/core/document-model/types.ts:476](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L476) *** ### sub? [Section titled “sub?”](#sub) > `readonly` `optional` **sub?**: [`MathNode`](/api/core/document-model/type-aliases/mathnode/) Defined in: [src/core/document-model/types.ts:478](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L478) *** ### sup? [Section titled “sup?”](#sup) > `readonly` `optional` **sup?**: [`MathNode`](/api/core/document-model/type-aliases/mathnode/) Defined in: [src/core/document-model/types.ts:479](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L479) *** ### type [Section titled “type”](#type) > `readonly` **type**: `"nary"` Defined in: [src/core/document-model/types.ts:475](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L475)
# MathRadical
Defined in: [src/core/document-model/types.ts:467](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L467) `m:rad` — radical with optional degree (`m:deg`). ## Properties [Section titled “Properties”](#properties) ### degree? [Section titled “degree?”](#degree) > `readonly` `optional` **degree?**: [`MathNode`](/api/core/document-model/type-aliases/mathnode/) Defined in: [src/core/document-model/types.ts:470](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L470) *** ### radicand [Section titled “radicand”](#radicand) > `readonly` **radicand**: [`MathNode`](/api/core/document-model/type-aliases/mathnode/) Defined in: [src/core/document-model/types.ts:469](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L469) *** ### type [Section titled “type”](#type) > `readonly` **type**: `"radical"` Defined in: [src/core/document-model/types.ts:468](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L468)
# MathRow
Defined in: [src/core/document-model/types.ts:432](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L432) A sequence of sibling nodes (`m:oMath`, `m:e`, `m:num`, `m:den`, `m:fName` …). ## Properties [Section titled “Properties”](#properties) ### children [Section titled “children”](#children) > `readonly` **children**: readonly [`MathNode`](/api/core/document-model/type-aliases/mathnode/)\[] Defined in: [src/core/document-model/types.ts:434](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L434) *** ### type [Section titled “type”](#type) > `readonly` **type**: `"row"` Defined in: [src/core/document-model/types.ts:433](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L433)
# MathRun
Defined in: [src/core/document-model/types.ts:441](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L441) `m:r` / `m:t` — literal symbols. `italic`/`bold` come from `m:rPr`/`m:sty`; `nor` (normal text) forces upright. With none set, letters auto-italicise. ## Properties [Section titled “Properties”](#properties) ### bold? [Section titled “bold?”](#bold) > `readonly` `optional` **bold?**: `boolean` Defined in: [src/core/document-model/types.ts:445](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L445) *** ### italic? [Section titled “italic?”](#italic) > `readonly` `optional` **italic?**: `boolean` Defined in: [src/core/document-model/types.ts:444](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L444) *** ### nor? [Section titled “nor?”](#nor) > `readonly` `optional` **nor?**: `boolean` Defined in: [src/core/document-model/types.ts:446](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L446) *** ### text [Section titled “text”](#text) > `readonly` **text**: `string` Defined in: [src/core/document-model/types.ts:443](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L443) *** ### type [Section titled “type”](#type) > `readonly` **type**: `"run"` Defined in: [src/core/document-model/types.ts:442](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L442)
# MathScript
Defined in: [src/core/document-model/types.ts:458](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L458) `m:sSup` / `m:sSub` / `m:sSubSup` / `m:sPre` (pre-scripts). ## Properties [Section titled “Properties”](#properties) ### base [Section titled “base”](#base) > `readonly` **base**: [`MathNode`](/api/core/document-model/type-aliases/mathnode/) Defined in: [src/core/document-model/types.ts:460](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L460) *** ### pre? [Section titled “pre?”](#pre) > `readonly` `optional` **pre?**: `boolean` Defined in: [src/core/document-model/types.ts:463](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L463) *** ### sub? [Section titled “sub?”](#sub) > `readonly` `optional` **sub?**: [`MathNode`](/api/core/document-model/type-aliases/mathnode/) Defined in: [src/core/document-model/types.ts:461](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L461) *** ### sup? [Section titled “sup?”](#sup) > `readonly` `optional` **sup?**: [`MathNode`](/api/core/document-model/type-aliases/mathnode/) Defined in: [src/core/document-model/types.ts:462](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L462) *** ### type [Section titled “type”](#type) > `readonly` **type**: `"script"` Defined in: [src/core/document-model/types.ts:459](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L459)
# Numbering
Defined in: [src/core/document-model/types.ts:825](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L825) The parsed `word/numbering.xml`: abstract definitions + their instances. ## Properties [Section titled “Properties”](#properties) ### abstractNums [Section titled “abstractNums”](#abstractnums) > `readonly` **abstractNums**: `ReadonlyMap`<`string`, [`AbstractNumbering`](/api/core/document-model/interfaces/abstractnumbering/)> Defined in: [src/core/document-model/types.ts:826](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L826) *** ### numInstances [Section titled “numInstances”](#numinstances) > `readonly` **numInstances**: `ReadonlyMap`<`string`, [`NumberingInstance`](/api/core/document-model/interfaces/numberinginstance/)> Defined in: [src/core/document-model/types.ts:827](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L827)
# NumberingInstance
Defined in: [src/core/document-model/types.ts:807](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L807) §17.9.18 `w:num` — a concrete list instance bound to an [AbstractNumbering](/api/core/document-model/interfaces/abstractnumbering/). ## Properties [Section titled “Properties”](#properties) ### abstractNumId [Section titled “abstractNumId”](#abstractnumid) > `readonly` **abstractNumId**: `string` Defined in: [src/core/document-model/types.ts:809](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L809) *** ### levelOverrides? [Section titled “levelOverrides?”](#leveloverrides) > `readonly` `optional` **levelOverrides?**: `ReadonlyMap`<`number`, [`NumberingLevel`](/api/core/document-model/interfaces/numberinglevel/)> Defined in: [src/core/document-model/types.ts:821](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L821) §17.9.27 `w:lvlOverride/w:lvl` — a level this instance REDEFINES whole, shadowing the abstract definition’s. NumberingWOverrides.docx rewrites all nine levels of one instance this way. *** ### numId [Section titled “numId”](#numid) > `readonly` **numId**: `string` Defined in: [src/core/document-model/types.ts:808](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L808) *** ### startOverrides? [Section titled “startOverrides?”](#startoverrides) > `readonly` `optional` **startOverrides?**: `ReadonlyMap`<`number`, `number`> Defined in: [src/core/document-model/types.ts:815](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L815) §17.9.27/§17.9.28 `w:lvlOverride/w:startOverride` — where THIS instance starts a level, by `w:ilvl`, whatever the abstract definition says. Absent when the instance takes the abstract starts unchanged.
# NumberingLevel
Defined in: [src/core/document-model/types.ts:761](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L761) One level of an abstract numbering definition (`w:lvl`): its format and chrome. ## Properties [Section titled “Properties”](#properties) ### format [Section titled “format”](#format) > `readonly` **format**: [`NumberingFormat`](/api/core/document-model/type-aliases/numberingformat/) Defined in: [src/core/document-model/types.ts:764](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L764) *** ### ilvl [Section titled “ilvl”](#ilvl) > `readonly` **ilvl**: `number` Defined in: [src/core/document-model/types.ts:762](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L762) *** ### isLegal? [Section titled “isLegal?”](#islegal) > `readonly` `optional` **isLegal?**: `boolean` Defined in: [src/core/document-model/types.ts:778](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L778) §17.9.10 `w:isLgl` — every level of this level’s marker is printed in DECIMAL, whatever format the level it names asks for. Word calls it legal numbering: “Sect I.01” becomes “Sect 1.01”. *** ### lvlText [Section titled “lvlText”](#lvltext) > `readonly` **lvlText**: `string` Defined in: [src/core/document-model/types.ts:766](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L766) §17.9.11 `w:lvlText` — the marker template (e.g. `"%1."`). *** ### paragraphProperties [Section titled “paragraphProperties”](#paragraphproperties) > `readonly` **paragraphProperties**: [`ParagraphProperties`](/api/core/document-model/interfaces/paragraphproperties/) Defined in: [src/core/document-model/types.ts:785](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L785) *** ### picBullet? [Section titled “picBullet?”](#picbullet) > `readonly` `optional` **picBullet?**: [`PictureBullet`](/api/core/document-model/interfaces/picturebullet/) Defined in: [src/core/document-model/types.ts:772](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L772) §17.9.9 `w:lvlPicBulletId` → §17.9.21 `w:numPicBullet` — the level’s bullet is a PICTURE, not a character, and the `w:lvlText` is only the fallback glyph Word writes beside it. *** ### runProperties [Section titled “runProperties”](#runproperties) > `readonly` **runProperties**: [`RunProperties`](/api/core/document-model/interfaces/runproperties/) Defined in: [src/core/document-model/types.ts:786](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L786) *** ### start [Section titled “start”](#start) > `readonly` **start**: `number` Defined in: [src/core/document-model/types.ts:763](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L763) *** ### suffix? [Section titled “suffix?”](#suffix) > `readonly` `optional` **suffix?**: [`NumberingSuffix`](/api/core/document-model/type-aliases/numberingsuffix/) Defined in: [src/core/document-model/types.ts:784](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L784) §17.9.29 `w:suff` — what separates the marker from the paragraph’s text: a tab (the default, and what an absent value means), one space, or nothing at all.
# NumberingReference
Defined in: [src/core/document-model/types.ts:755](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L755) A paragraph’s list reference (`w:numPr`): the numbering instance id + level. ## Properties [Section titled “Properties”](#properties) ### ilvl [Section titled “ilvl”](#ilvl) > `readonly` **ilvl**: `number` Defined in: [src/core/document-model/types.ts:757](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L757) *** ### numId [Section titled “numId”](#numid) > `readonly` **numId**: `string` Defined in: [src/core/document-model/types.ts:756](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L756)
# OutlineEntry
Defined in: [src/core/document-model/types.ts:662](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L662) An entry in a document’s navigation outline that a paragraph stands for (see [Paragraph.outlineEntries](/api/core/document-model/interfaces/paragraph/#outlineentries)). ## Properties [Section titled “Properties”](#properties) ### level [Section titled “level”](#level) > `readonly` **level**: `number` Defined in: [src/core/document-model/types.ts:666](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L666) Its level, 1–9: a deeper entry hangs under the nearest shallower one before it. *** ### open? [Section titled “open?”](#open) > `readonly` `optional` **open?**: `boolean` Defined in: [src/core/document-model/types.ts:668](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L668) Whether the entry stands open, its children shown. Absent ⇒ open. *** ### order? [Section titled “order?”](#order) > `readonly` `optional` **order?**: `number` Defined in: [src/core/document-model/types.ts:681](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L681) The entry’s place in the outline the source states, where that order is not the order of the pages: a PDF’s bookmarks are listed as its author listed them, wherever on the pages each one jumps. Absent ⇒ where the paragraph stands. *** ### title [Section titled “title”](#title) > `readonly` **title**: `string` Defined in: [src/core/document-model/types.ts:664](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L664) The text the entry shows. *** ### topPt? [Section titled “topPt?”](#toppt) > `readonly` `optional` **topPt?**: `number` Defined in: [src/core/document-model/types.ts:674](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L674) The height on its page the entry jumps to, y-up in points, where the source names one and the page stands as the source drew it (a PDF read as a page). Absent ⇒ the top of the paragraph’s first line. *** ### uri? [Section titled “uri?”](#uri) > `readonly` `optional` **uri?**: `string` Defined in: [src/core/document-model/types.ts:689](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L689) The URI the entry opens instead of a place in the document: a source PDF’s bookmark whose action is a URI action (ISO 32000-1 §12.6.4.7). Such an entry jumps to no page — the paragraph it rides gives it only its place among the others (with `order`), and `topPt` means nothing for it. Only a PDF’s outline can hold one; the other writers leave it out.
# PageMargins
Defined in: [src/core/document-model/types.ts:2154](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2154) §17.6.11 `w:pgMar` — the section’s page margins (and header/footer offsets). ## Properties [Section titled “Properties”](#properties) ### bottom [Section titled “bottom”](#bottom) > `readonly` **bottom**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:2157](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2157) *** ### footer? [Section titled “footer?”](#footer) > `readonly` `optional` **footer?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:2160](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2160) *** ### gutter? [Section titled “gutter?”](#gutter) > `readonly` `optional` **gutter?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:2165](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2165) §17.6.11 `w:gutter` — the binding space, added to the left margin (or to the top, when `w:settings/w:gutterAtTop` says so). *** ### header? [Section titled “header?”](#header) > `readonly` `optional` **header?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:2159](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2159) *** ### left [Section titled “left”](#left) > `readonly` **left**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:2158](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2158) *** ### right [Section titled “right”](#right) > `readonly` **right**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:2156](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2156) *** ### top [Section titled “top”](#top) > `readonly` **top**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:2155](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2155)
# PageSize
Defined in: [src/core/document-model/types.ts:2147](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2147) ECMA-376 Part 1 §17.6.13 `w:pgSz` — the section’s page dimensions + orientation. ## Properties [Section titled “Properties”](#properties) ### height [Section titled “height”](#height) > `readonly` **height**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:2149](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2149) *** ### orientation? [Section titled “orientation?”](#orientation) > `readonly` `optional` **orientation?**: `"portrait"` | `"landscape"` Defined in: [src/core/document-model/types.ts:2150](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2150) *** ### width [Section titled “width”](#width) > `readonly` **width**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:2148](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2148)
# Paragraph
Defined in: [src/core/document-model/types.ts:635](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L635) ECMA-376 Part 1 §17.3.1 — a paragraph: its [ParagraphProperties](/api/core/document-model/interfaces/paragraphproperties/) and runs. ## Properties [Section titled “Properties”](#properties) ### bookmarks? [Section titled “bookmarks?”](#bookmarks) > `readonly` `optional` **bookmarks?**: readonly `string`\[] Defined in: [src/core/document-model/types.ts:644](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L644) §17.13.6.2 `w:bookmarkStart` — names of bookmarks opening in (or immediately before) this paragraph. Paragraph-level v1: the destination is the paragraph’s first line. *** ### native? [Section titled “native?”](#native) > `readonly` `optional` **native?**: [`NativeBag`](/api/index/interfaces/nativebag/) Defined in: [src/core/document-model/types.ts:636](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L636) *** ### outlineEntries? [Section titled “outlineEntries?”](#outlineentries) > `readonly` `optional` **outlineEntries?**: readonly [`OutlineEntry`](/api/core/document-model/interfaces/outlineentry/)\[] Defined in: [src/core/document-model/types.ts:655](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L655) The entries this paragraph opens in the document’s navigation outline — a PDF’s bookmarks (ISO 32000-1 §12.3.3) — when the document STATES its outline rather than leaving it to its headings: the page that starts a worksheet, under the sheet’s name; the page that starts a slide, under its title; the place a source PDF’s own bookmark jumps to. A document that states any entry has those entries for its outline, and its headings open none — a PDF’s own bookmarks and the headings read out of its pages would otherwise each list the chapters once. *** ### properties [Section titled “properties”](#properties-1) > `readonly` **properties**: [`ParagraphProperties`](/api/core/document-model/interfaces/paragraphproperties/) Defined in: [src/core/document-model/types.ts:637](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L637) *** ### runs [Section titled “runs”](#runs) > `readonly` **runs**: readonly [`Run`](/api/core/document-model/interfaces/run/)\[] Defined in: [src/core/document-model/types.ts:638](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L638)
# ParagraphProperties
Defined in: [src/core/document-model/types.ts:222](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L222) ## Properties [Section titled “Properties”](#properties) ### alignment? [Section titled “alignment?”](#alignment) > `readonly` `optional` **alignment?**: [`Alignment`](/api/core/document-model/type-aliases/alignment/) Defined in: [src/core/document-model/types.ts:260](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L260) *** ### bidi? [Section titled “bidi?”](#bidi) > `readonly` `optional` **bidi?**: `boolean` Defined in: [src/core/document-model/types.ts:333](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L333) ECMA-376 §17.3.1.6 — `w:bidi`. Sets the paragraph’s base direction to RTL, so the BiDi paragraph embedding level is 1 and default alignment is right. *** ### borders? [Section titled “borders?”](#borders) > `readonly` `optional` **borders?**: [`CellBorders`](/api/core/document-model/interfaces/cellborders/) Defined in: [src/core/document-model/types.ts:278](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L278) §17.3.1.24 `w:pBdr` — rules drawn around the paragraph. `w:space` is the gap each keeps from the text, carried on the [Border](/api/core/document-model/interfaces/border/) as `spacePt`. *** ### contextualSpacing? [Section titled “contextualSpacing?”](#contextualspacing) > `readonly` `optional` **contextualSpacing?**: `boolean` Defined in: [src/core/document-model/types.ts:271](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L271) ECMA-376 Part 1 §17.3.1.9 — `w:contextualSpacing`. The space before and after is dropped where the neighbour is a paragraph of the SAME style: a list is written this way, so its items sit together while the list as a whole keeps its space from the text around it. *** ### frame? [Section titled “frame?”](#frame) > `readonly` `optional` **frame?**: [`FrameProperties`](/api/core/document-model/interfaces/frameproperties/) Defined in: [src/core/document-model/types.ts:247](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L247) §17.3.1.11 — the paragraph floats as a text frame. *** ### indentFirstLine? [Section titled “indentFirstLine?”](#indentfirstline) > `readonly` `optional` **indentFirstLine?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:283](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L283) *** ### indentLeft? [Section titled “indentLeft?”](#indentleft) > `readonly` `optional` **indentLeft?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:281](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L281) *** ### indentRight? [Section titled “indentRight?”](#indentright) > `readonly` `optional` **indentRight?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:282](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L282) *** ### inheritedRun? [Section titled “inheritedRun?”](#inheritedrun) > `readonly` `optional` **inheritedRun?**: [`RunProperties`](/api/core/document-model/interfaces/runproperties/) Defined in: [src/core/document-model/types.ts:239](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L239) §17.7.2 — a run layer that ranks BELOW the paragraph’s own style and below the character style a run names: the `w:rPr` of the table style the cell is formatted by, or the `a:fontRef` colour a gallery-drawn shape lends the text inside it (§20.1.4.2.14). Carried on the paragraph because every run of it — and its MARK — reads the same layer. *** ### keepLines? [Section titled “keepLines?”](#keeplines) > `readonly` `optional` **keepLines?**: `boolean` Defined in: [src/core/document-model/types.ts:321](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L321) ECMA-376 Part 1 §17.3.1.15 — `w:keepLines`. The paragraph’s lines stand on one page, wherever one page holds them all. *** ### keepNext? [Section titled “keepNext?”](#keepnext) > `readonly` `optional` **keepNext?**: `boolean` Defined in: [src/core/document-model/types.ts:316](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L316) ECMA-376 Part 1 §17.3.1.14 — `w:keepNext`. The paragraph stands on the same page as the start of the one after it: a heading is not left at the foot of a page with its text on the next. *** ### numbering? [Section titled “numbering?”](#numbering) > `readonly` `optional` **numbering?**: [`NumberingReference`](/api/core/document-model/interfaces/numberingreference/) Defined in: [src/core/document-model/types.ts:298](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L298) *** ### numberingLevel? [Section titled “numberingLevel?”](#numberinglevel) > `readonly` `optional` **numberingLevel?**: `number` Defined in: [src/core/document-model/types.ts:305](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L305) §17.9.4 — a `w:numPr` that names a LEVEL and no `w:numId`: the instance is whatever the style this one is based on refers to. Word’s own Heading 2 says exactly this, and dropped it numbered num-parent-style.docx’s headings 1, 2, 3, 4 where its own text says they should read 1, 1.1, 2, 2.1. *** ### outlineLevel? [Section titled “outlineLevel?”](#outlinelevel) > `readonly` `optional` **outlineLevel?**: `number` Defined in: [src/core/document-model/types.ts:338](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L338) ECMA-376 §17.3.1.20 — `w:outlineLvl`. Outline level 0–8 maps to Heading 1–9; 9 (or absent) is body text. Drives tagged-PDF heading structure (H1–H6). *** ### pageBreakBefore? [Section titled “pageBreakBefore?”](#pagebreakbefore) > `readonly` `optional` **pageBreakBefore?**: `boolean` Defined in: [src/core/document-model/types.ts:310](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L310) ECMA-376 Part 1 §17.3.1.21 — `w:pageBreakBefore`. When true, the paragraph starts on a fresh page even if there is room on the current one. *** ### runProperties? [Section titled “runProperties?”](#runproperties) > `readonly` `optional` **runProperties?**: [`RunProperties`](/api/core/document-model/interfaces/runproperties/) Defined in: [src/core/document-model/types.ts:285](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L285) The implicit default run properties for runs in this paragraph (`w:pPr/w:rPr`). *** ### sectionBreak? [Section titled “sectionBreak?”](#sectionbreak) > `readonly` `optional` **sectionBreak?**: `boolean` Defined in: [src/core/document-model/types.ts:245](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L245) §17.6.17 — the paragraph’s mark carries a `w:sectPr`: it is the last paragraph of its section, and the mark IS the section break. One with no content of its own therefore prints nothing, not an empty line. *** ### shading? [Section titled “shading?”](#shading) > `readonly` `optional` **shading?**: [`CellShading`](/api/core/document-model/interfaces/cellshading/) Defined in: [src/core/document-model/types.ts:280](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L280) §17.3.1.31 `w:pPr/w:shd` — the paragraph’s own background fill. *** ### snapToGrid? [Section titled “snapToGrid?”](#snaptogrid) > `readonly` `optional` **snapToGrid?**: `boolean` Defined in: [src/core/document-model/types.ts:259](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L259) §17.3.1.32 `w:snapToGrid` — whether the paragraph’s lines stand on the section’s document grid (§17.6.5). Absent ⇒ they do; Word’s header and footer styles are what usually says otherwise. *** ### spacingAfter? [Section titled “spacingAfter?”](#spacingafter) > `readonly` `optional` **spacingAfter?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:262](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L262) *** ### spacingAfterAuto? [Section titled “spacingAfterAuto?”](#spacingafterauto) > `readonly` `optional` **spacingAfterAuto?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:297](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L297) *** ### spacingBefore? [Section titled “spacingBefore?”](#spacingbefore) > `readonly` `optional` **spacingBefore?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:261](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L261) *** ### spacingBeforeAuto? [Section titled “spacingBeforeAuto?”](#spacingbeforeauto) > `readonly` `optional` **spacingBeforeAuto?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:296](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L296) §17.3.1.3/§17.3.1.1 — the gap `w:beforeAutospacing`/`w:afterAutospacing` asks the consumer for, already resolved to a length by the reader (it depends on the document’s compatibility mode). Present only when the autospacing flag is ON, and it beats the `w:before`/`w:after` beside it. A separate property because style inheritance is per ATTRIBUTE: a style based on one that says `beforeAutospacing` inherits the flag even when it states a `w:before` of its own — which is how tdf104354\_firstParaInSection gets its 75pt before, and taking that literally spread one page over four. *** ### spacingLine? [Section titled “spacingLine?”](#spacingline) > `readonly` `optional` **spacingLine?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:263](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L263) *** ### spacingLineRule? [Section titled “spacingLineRule?”](#spacinglinerule) > `readonly` `optional` **spacingLineRule?**: `"auto"` | `"exact"` | `"atLeast"` Defined in: [src/core/document-model/types.ts:264](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L264) *** ### styleId? [Section titled “styleId?”](#styleid) > `readonly` `optional` **styleId?**: `string` Defined in: [src/core/document-model/types.ts:223](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L223) *** ### tableStyle? [Section titled “tableStyle?”](#tablestyle) > `readonly` `optional` **tableStyle?**: `ParagraphProperties` Defined in: [src/core/document-model/types.ts:231](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L231) §17.7.2 — the `w:pPr` of the TABLE STYLE the paragraph’s cell is formatted by. It is not the paragraph’s own formatting: the cascade puts it under the paragraph’s style (docDefaults < table style < numbering < paragraph style < character style < direct), so it is carried apart from the direct properties rather than merged into them. *** ### tabs? [Section titled “tabs?”](#tabs) > `readonly` `optional` **tabs?**: readonly [`TabStop`](/api/core/document-model/interfaces/tabstop/)\[] Defined in: [src/core/document-model/types.ts:273](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L273) ECMA-376 Part 1 §17.3.1.37 — the paragraph’s own `w:tabs` stops. *** ### textDirection? [Section titled “textDirection?”](#textdirection) > `readonly` `optional` **textDirection?**: `"btLr"` | `"tbRl"` Defined in: [src/core/document-model/types.ts:253](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L253) §17.3.1.41 `w:textDirection` — which way the paragraph’s lines run. `btLr` reads bottom-to-top, `tbRl` top-to-bottom; `lrTb` is the default and is not recorded. *** ### widowControl? [Section titled “widowControl?”](#widowcontrol) > `readonly` `optional` **widowControl?**: `boolean` Defined in: [src/core/document-model/types.ts:328](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L328) ECMA-376 Part 1 §17.3.1.44 — `w:widowControl`. When on, a page or column break that would leave the paragraph’s first line alone at the foot of one page, or its last line alone at the head of the next, is moved so that neither stands alone. Word applies it wherever nothing says otherwise.
# PictureBullet
Defined in: [src/core/document-model/types.ts:793](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L793) §17.9.21 `w:numPicBullet` — the image a level uses in place of a bullet. ## Properties [Section titled “Properties”](#properties) ### heightPt [Section titled “heightPt”](#heightpt) > `readonly` **heightPt**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:797](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L797) *** ### resource [Section titled “resource”](#resource) > `readonly` **resource**: [`ResourceId`](/api/index/type-aliases/resourceid/) Defined in: [src/core/document-model/types.ts:795](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L795) Content-addressed bytes. A bullet whose picture does not resolve is not one. *** ### widthPt [Section titled “widthPt”](#widthpt) > `readonly` **widthPt**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:796](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L796)
# PictureOutline
Defined in: [src/core/document-model/types.ts:351](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L351) §20.1.2.2.24 `a:ln` on a `pic:spPr` (VML: `@stroked`/`v:stroke`) — the frame a picture is drawn with. Word’s “Picture Border”: a rule around the picture box, not part of the image itself. ## Properties [Section titled “Properties”](#properties) ### colorHex [Section titled “colorHex”](#colorhex) > `readonly` **colorHex**: `string` Defined in: [src/core/document-model/types.ts:352](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L352) *** ### widthPt [Section titled “widthPt”](#widthpt) > `readonly` **widthPt**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:353](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L353)
# RelativeSize
Defined in: [src/core/document-model/types.ts:1571](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1571) `wp14:sizeRelH` / `wp14:sizeRelV` — the drawing’s size as a PERCENTAGE of the page or the margins rather than the extent beside it. Word 2010 writes it in the `wp14` namespace, with the extent as the fallback for readers that do not know it. ## Properties [Section titled “Properties”](#properties) ### heightFrom? [Section titled “heightFrom?”](#heightfrom) > `readonly` `optional` **heightFrom?**: `"page"` | `"margin"` | `"topMargin"` | `"bottomMargin"` Defined in: [src/core/document-model/types.ts:1581](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1581) §20.4.3.7 ST\_SizeRelFromV — the vertical twin. *** ### heightPct? [Section titled “heightPct?”](#heightpct) > `readonly` `optional` **heightPct?**: `number` Defined in: [src/core/document-model/types.ts:1579](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1579) *** ### widthFrom? [Section titled “widthFrom?”](#widthfrom) > `readonly` `optional` **widthFrom?**: `"page"` | `"margin"` | `"leftMargin"` | `"rightMargin"` Defined in: [src/core/document-model/types.ts:1578](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1578) §20.4.3.6 ST\_SizeRelFromH — what the percentage is OF. `margin` is the text area; the rest are the bands around it, and a drawing sized against one is a fraction of that band alone (tdf123324 asks for 150% of the top margin). *** ### widthPct? [Section titled “widthPct?”](#widthpct) > `readonly` `optional` **widthPct?**: `number` Defined in: [src/core/document-model/types.ts:1572](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1572)
# RowConditionalFormat
Defined in: [src/core/document-model/types.ts:1206](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1206) §17.4.7 — the row-level conditional-format flags a `w:cnfStyle` declares. ## Properties [Section titled “Properties”](#properties) ### firstRow? [Section titled “firstRow?”](#firstrow) > `readonly` `optional` **firstRow?**: `boolean` Defined in: [src/core/document-model/types.ts:1207](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1207) *** ### lastRow? [Section titled “lastRow?”](#lastrow) > `readonly` `optional` **lastRow?**: `boolean` Defined in: [src/core/document-model/types.ts:1208](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1208)
# RowProperties
Defined in: [src/core/document-model/types.ts:1175](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1175) §17.4.81 `w:trPr` — a table row’s properties: height, split/header flags. ## Properties [Section titled “Properties”](#properties) ### cantSplit? [Section titled “cantSplit?”](#cantsplit) > `readonly` `optional` **cantSplit?**: `boolean` Defined in: [src/core/document-model/types.ts:1178](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1178) *** ### conditional? [Section titled “conditional?”](#conditional) > `readonly` `optional` **conditional?**: [`RowConditionalFormat`](/api/core/document-model/interfaces/rowconditionalformat/) Defined in: [src/core/document-model/types.ts:1195](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1195) §17.4.7 `w:cnfStyle` — the conditional formats of the table style this row takes, whatever its position says. Word’s calendar templates give a SECOND header row `w:firstRow="1"` so it is painted like the first. *** ### gridBefore? [Section titled “gridBefore?”](#gridbefore) > `readonly` `optional` **gridBefore?**: `number` Defined in: [src/core/document-model/types.ts:1184](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1184) §17.4.14 `w:gridBefore` — how many grid columns the row leaves empty before its first cell, which is how a row starts part-way across a table. *** ### height? [Section titled “height?”](#height) > `readonly` `optional` **height?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:1176](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1176) *** ### heightRule? [Section titled “heightRule?”](#heightrule) > `readonly` `optional` **heightRule?**: `"auto"` | `"exact"` | `"atLeast"` Defined in: [src/core/document-model/types.ts:1177](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1177) *** ### isHeader? [Section titled “isHeader?”](#isheader) > `readonly` `optional` **isHeader?**: `boolean` Defined in: [src/core/document-model/types.ts:1179](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1179) *** ### pageBreakBefore? [Section titled “pageBreakBefore?”](#pagebreakbefore) > `readonly` `optional` **pageBreakBefore?**: `boolean` Defined in: [src/core/document-model/types.ts:1189](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1189) Force this row to begin a new page (xlsx manual ``). The renderer flushes the page before the row, then repeats any leading header rows. *** ### sheetTopPt? [Section titled “sheetTopPt?”](#sheettoppt) > `readonly` `optional` **sheetTopPt?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:1202](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1202) Where a spreadsheet row’s top stands on its sheet, measured down from the sheet’s first row in the frame its table’s drawings are placed in (see [TableOverlay](/api/core/document-model/interfaces/tableoverlay/)). A row the sheet does not have — the printed column letters — carries none.
# Run
Defined in: [src/core/document-model/types.ts:549](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L549) ECMA-376 Part 1 §17.3.2 — a run: a span of `text` (or an inline image / math object) sharing one set of [RunProperties](/api/core/document-model/interfaces/runproperties/), plus the reference markers (hyperlink, note, comment, page-number field) the layout acts on. ## Properties [Section titled “Properties”](#properties) ### anchor? [Section titled “anchor?”](#anchor) > `readonly` `optional` **anchor?**: `string` Defined in: [src/core/document-model/types.ts:573](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L573) §17.16.22 `w:hyperlink @w:anchor` — internal link target: a bookmark name in this document (never a URL — bypasses the scheme allowlist). *** ### blankWidthOf? [Section titled “blankWidthOf?”](#blankwidthof) > `readonly` `optional` **blankWidthOf?**: `string` Defined in: [src/core/document-model/types.ts:611](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L611) §18.8.31 — the run is a blank a spreadsheet number format leaves: what `?` keeps for a digit it has no use for, what `_x` keeps for x, a space the format writes. It is as wide as this text in the run’s font, nothing is drawn in it, and a line keeps it at either end, where a space is dropped. `text` is what a reader of plain text takes it for, a space. *** ### columnBreak? [Section titled “columnBreak?”](#columnbreak) > `readonly` `optional` **columnBreak?**: `boolean` Defined in: [src/core/document-model/types.ts:631](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L631) §17.3.3.1 `w:br w:type="column"` — the text after this run continues in the NEXT column of the section (or, past the last, on the next page). *** ### commentRangeRefs? [Section titled “commentRangeRefs?”](#commentrangerefs) > `readonly` `optional` **commentRangeRefs?**: readonly `string`\[] Defined in: [src/core/document-model/types.ts:586](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L586) §17.13.4.3/4 `w:commentRangeStart`/`End` — the ids of the comment ranges this run falls inside (a run may be covered by several). Renderers highlight the covered span; the marker run (`commentRef`) sits at the range’s end. *** ### commentRef? [Section titled “commentRef?”](#commentref) > `readonly` `optional` **commentRef?**: `string` Defined in: [src/core/document-model/types.ts:580](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L580) §17.13.4.1 `w:commentReference` — the run anchors a review comment by id; the comment’s content/author live in `FlowDoc.comments`. *** ### endnoteRef? [Section titled “endnoteRef?”](#endnoteref) > `readonly` `optional` **endnoteRef?**: `string` Defined in: [src/core/document-model/types.ts:575](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L575) *** ### field? [Section titled “field?”](#field) > `readonly` `optional` **field?**: `"PAGE"` | `"NUMPAGES"` Defined in: [src/core/document-model/types.ts:565](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L565) §17.16.5.35 PAGE / §17.16.5.33 NUMPAGES — the run is a page-number field; `text` holds the source’s cached result. Header/footer rendering substitutes the real number per page; body rendering keeps the cache. *** ### fillChar? [Section titled “fillChar?”](#fillchar) > `readonly` `optional` **fillChar?**: `string` Defined in: [src/core/document-model/types.ts:617](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L617) §18.8.31 `*x` — the run is x repeated across whatever room its spreadsheet cell has left, which only a medium that knows the cell’s width can do. `text` is empty, so every other medium writes nothing for it. *** ### footnoteRef? [Section titled “footnoteRef?”](#footnoteref) > `readonly` `optional` **footnoteRef?**: `string` Defined in: [src/core/document-model/types.ts:574](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L574) *** ### href? [Section titled “href?”](#href) > `readonly` `optional` **href?**: `string` Defined in: [src/core/document-model/types.ts:559](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L559) ECMA-376 §17.16.22 — the run sits inside a `w:hyperlink` whose `r:id` resolved to an external target. The URL is stored as written in the rels part; writers MUST pass it through the scheme allowlist (`core/links`) before emitting anything clickable. *** ### inlineImage? [Section titled “inlineImage?”](#inlineimage) > `readonly` `optional` **inlineImage?**: [`InlineImage`](/api/core/document-model/interfaces/inlineimage/) Defined in: [src/core/document-model/types.ts:619](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L619) When set, the run renders this image inline in the line; `text` is ignored. *** ### listMarker? [Section titled “listMarker?”](#listmarker) > `readonly` `optional` **listMarker?**: `true` Defined in: [src/core/document-model/types.ts:596](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L596) The run is a list-item marker materialized by `applyNumbering` (`"1."`, `"•"`). Tagged PDF wraps its glyphs in a Lbl structure element (§14.8.4.3.3). *** ### listMarkerSpace? [Section titled “listMarkerSpace?”](#listmarkerspace) > `readonly` `optional` **listMarkerSpace?**: `true` Defined in: [src/core/document-model/types.ts:603](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L603) §17.9.29 `w:suff="space"` — the run (a `listMarker` one, its text a single space) is the space a list level puts after its marker. Word sets it at a fixed width for the marker’s size, whatever the marker’s face, and never stretches it in a justified line. *** ### math? [Section titled “math?”](#math) > `readonly` `optional` **math?**: [`MathNode`](/api/core/document-model/type-aliases/mathnode/) Defined in: [src/core/document-model/types.ts:621](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L621) When set, the run is an inline OfficeMath object; `text` is ignored. *** ### native? [Section titled “native?”](#native) > `readonly` `optional` **native?**: [`NativeBag`](/api/index/interfaces/nativebag/) Defined in: [src/core/document-model/types.ts:550](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L550) *** ### noteNumber? [Section titled “noteNumber?”](#notenumber) > `readonly` `optional` **noteNumber?**: `true` Defined in: [src/core/document-model/types.ts:591](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L591) §17.11.13 `w:footnoteRef` / §17.11.5 `w:endnoteRef` — inside note content: render the OWNING note’s number here. *** ### pageBreak? [Section titled “pageBreak?”](#pagebreak) > `readonly` `optional` **pageBreak?**: `boolean` Defined in: [src/core/document-model/types.ts:626](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L626) ECMA-376 Part 1 §17.3.3.1 — `w:br w:type="page"`. A forced page break: the paragraph’s following content starts on a new page. *** ### properties [Section titled “properties”](#properties-1) > `readonly` **properties**: [`RunProperties`](/api/core/document-model/interfaces/runproperties/) Defined in: [src/core/document-model/types.ts:552](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L552) *** ### text [Section titled “text”](#text) > `readonly` **text**: `string` Defined in: [src/core/document-model/types.ts:551](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L551)
# RunProperties
Defined in: [src/core/document-model/types.ts:74](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L74) ECMA-376 Part 1 §17.3.2 — Run Properties (`rPr`). All fields optional so the cascade can inherit them (undefined = “inherit from parent in the style chain”). Boolean toggle properties follow §17.17.4: an absent `` means “inherit”; a present `` with no val (or val=true/1/on) means true; val=false/0/off means explicit false. ## Properties [Section titled “Properties”](#properties) ### bold? [Section titled “bold?”](#bold) > `readonly` `optional` **bold?**: `boolean` Defined in: [src/core/document-model/types.ts:76](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L76) *** ### caps? [Section titled “caps?”](#caps) > `readonly` `optional` **caps?**: `boolean` Defined in: [src/core/document-model/types.ts:83](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L83) §17.3.2.5 `w:caps` — the run is DISPLAYED in capitals, whatever it stores. *** ### colorAuto? [Section titled “colorAuto?”](#colorauto) > `readonly` `optional` **colorAuto?**: `boolean` Defined in: [src/core/document-model/types.ts:97](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L97) §17.3.2.6 — the colour is the AUTOMATIC one (`w:color w:val="auto"`, with `colorHex` 000000; on a resolved run, also a run no layer gave a colour). Word draws it black, or white over a dark background (see `resolveAutoTextColors`); a stated 000000 stays black whatever is behind. *** ### colorHex? [Section titled “colorHex?”](#colorhex) > `readonly` `optional` **colorHex?**: `string` Defined in: [src/core/document-model/types.ts:90](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L90) *** ### eastAsianLang? [Section titled “eastAsianLang?”](#eastasianlang) > `readonly` `optional` **eastAsianLang?**: `string` Defined in: [src/core/document-model/types.ts:118](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L118) The language the run’s EAST ASIAN text is written in, as a language tag (`"zh-CN"`, `"ja-JP"`): §17.3.2.20 `w:lang @w:eastAsia`, DrawingML’s §21.1.2.3.9 `a:rPr @lang` (or `@altLang`) where it names one, a spreadsheet font’s §18.4.1 `charset`. Unified Han is one character in Chinese, Japanese and Korean and a different drawing in each; this says which one the run is in. *** ### fontFamily? [Section titled “fontFamily?”](#fontfamily) > `readonly` `optional` **fontFamily?**: [`FontFamilyMap`](/api/core/document-model/interfaces/fontfamilymap/) Defined in: [src/core/document-model/types.ts:98](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L98) *** ### fontSizePt? [Section titled “fontSizePt?”](#fontsizept) > `readonly` `optional` **fontSizePt?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:89](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L89) *** ### highlightColorHex? [Section titled “highlightColorHex?”](#highlightcolorhex) > `readonly` `optional` **highlightColorHex?**: `string` Defined in: [src/core/document-model/types.ts:129](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L129) §17.3.2.15 `w:highlight` — the marker pen’s colour behind the run. Where the run is shaded as well the highlight is what shows; but an automatic colour is judged by the shading alone (see `resolveAutoTextColors`). *** ### italic? [Section titled “italic?”](#italic) > `readonly` `optional` **italic?**: `boolean` Defined in: [src/core/document-model/types.ts:77](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L77) *** ### kerningMinPt? [Section titled “kerningMinPt?”](#kerningminpt) > `readonly` `optional` **kerningMinPt?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:144](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L144) §17.3.2.19 `w:kern` — the run’s glyph pairs are KERNED, at this size and above (0 turns kerning off). Word kerns nothing a run does not ask for. *** ### lang? [Section titled “lang?”](#lang) > `readonly` `optional` **lang?**: `string` Defined in: [src/core/document-model/types.ts:109](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L109) ECMA-376 §17.3.2.20 — `w:lang @w:val` (e.g. `"en-US"`, `"ru-RU"`). Used for the tagged-PDF per-element `/Lang`; does not affect visual layout. *** ### letterSpacingPt? [Section titled “letterSpacingPt?”](#letterspacingpt) > `readonly` `optional` **letterSpacingPt?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:134](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L134) §17.3.2.35 `w:rPr/w:spacing` — extra space between the run’s characters (negative tightens). Word states it in twentieths of a point. *** ### ligatures? [Section titled “ligatures?”](#ligatures) > `readonly` `optional` **ligatures?**: [`Ligatures`](/api/core/document-model/type-aliases/ligatures/) Defined in: [src/core/document-model/types.ts:149](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L149) \[MS-DOCX] `w14:ligatures` — the face’s ligatures the run is set with. Word forms none at all in a document it opens in compatibility mode. *** ### rtl? [Section titled “rtl?”](#rtl) > `readonly` `optional` **rtl?**: `boolean` Defined in: [src/core/document-model/types.ts:104](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L104) ECMA-376 §17.3.2.30 — `w:rtl`. Marks the run as right-to-left, which seeds the BiDi algorithm with an R/AL bias even for neutral characters. *** ### shadingColorHex? [Section titled “shadingColorHex?”](#shadingcolorhex) > `readonly` `optional` **shadingColorHex?**: `string` Defined in: [src/core/document-model/types.ts:123](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L123) §17.3.2.32 `w:rPr/w:shd` — the background painted behind the run’s own glyphs, already blended from the pattern, its colour and the fill. *** ### smallCaps? [Section titled “smallCaps?”](#smallcaps) > `readonly` `optional` **smallCaps?**: `boolean` Defined in: [src/core/document-model/types.ts:88](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L88) §17.3.2.33 `w:smallCaps` — displayed in capitals, with the letters that were lower case set smaller. *** ### strike? [Section titled “strike?”](#strike) > `readonly` `optional` **strike?**: `boolean` Defined in: [src/core/document-model/types.ts:81](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L81) *** ### styleId? [Section titled “styleId?”](#styleid) > `readonly` `optional` **styleId?**: `string` Defined in: [src/core/document-model/types.ts:75](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L75) *** ### textOutline? [Section titled “textOutline?”](#textoutline) > `readonly` `optional` **textOutline?**: [`TextOutline`](/api/core/document-model/interfaces/textoutline/) Defined in: [src/core/document-model/types.ts:155](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L155) §21.1.2.3.9 `a:rPr/a:ln` — a line drawn round the glyphs themselves, which DrawingML puts on a run and ISO 32000-1 §9.3.6 calls a text rendering mode that strokes as well as fills. *** ### underline? [Section titled “underline?”](#underline) > `readonly` `optional` **underline?**: [`UnderlineStyle`](/api/core/document-model/type-aliases/underlinestyle/) Defined in: [src/core/document-model/types.ts:78](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L78) *** ### underlineColorHex? [Section titled “underlineColorHex?”](#underlinecolorhex) > `readonly` `optional` **underlineColorHex?**: `string` Defined in: [src/core/document-model/types.ts:80](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L80) §17.3.2.40 `w:u @w:color` — the underline’s own colour, when it has one. *** ### verticalAlign? [Section titled “verticalAlign?”](#verticalalign) > `readonly` `optional` **verticalAlign?**: [`VerticalAlign`](/api/core/document-model/type-aliases/verticalalign/) Defined in: [src/core/document-model/types.ts:99](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L99) *** ### widthScale? [Section titled “widthScale?”](#widthscale) > `readonly` `optional` **widthScale?**: `number` Defined in: [src/core/document-model/types.ts:139](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L139) §17.3.2.43 `w:w` — each character set at this share of its own width (1 is as the face sets it), the glyph itself narrowed or widened.
# Section
Defined in: [src/core/document-model/types.ts:2370](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2370) One section descriptor for a multi-section document (ECMA-376 §17.6.17). Each section’s `sectPr` lives either inside a paragraph’s `pPr` (mid-document break) or as the final child of `w:body` (final section). Records the properties and the upper-exclusive bound in `BodyElement[]` the section covers — section i applies to `body[sections[i-1].endIndex..sections[i].endIndex)`. ## Properties [Section titled “Properties”](#properties) ### endIndex [Section titled “endIndex”](#endindex) > `readonly` **endIndex**: `number` Defined in: [src/core/document-model/types.ts:2372](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2372) *** ### properties [Section titled “properties”](#properties-1) > `readonly` **properties**: [`SectionProperties`](/api/core/document-model/interfaces/sectionproperties/) Defined in: [src/core/document-model/types.ts:2371](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2371) *** ### sheet? [Section titled “sheet?”](#sheet) > `readonly` `optional` **sheet?**: `object` Defined in: [src/core/document-model/types.ts:2380](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2380) The worksheet this section IS, where a workbook was projected for a screen rather than for paper (`ProjectSheetOptions.screen`): its tab’s name. Such a section is one surface with no pages — the grid as Excel shows it — and a float in it is placed from the surface’s top-left corner, which is the corner of the first cell. #### name [Section titled “name”](#name) > `readonly` **name**: `string`
# SectionColumns
Defined in: [src/core/document-model/types.ts:2354](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2354) §17.6.4 — column definitions: an equal-width `count` + gutter, or explicit per-column widths/gutters (`w:col` children). ## Properties [Section titled “Properties”](#properties) ### count [Section titled “count”](#count) > `readonly` **count**: `number` Defined in: [src/core/document-model/types.ts:2355](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2355) *** ### explicit? [Section titled “explicit?”](#explicit) > `readonly` `optional` **explicit?**: readonly `object`\[] Defined in: [src/core/document-model/types.ts:2357](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2357) *** ### separator? [Section titled “separator?”](#separator) > `readonly` `optional` **separator?**: `boolean` Defined in: [src/core/document-model/types.ts:2359](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2359) §17.6.4 `w:sep` — a vertical rule drawn down the middle of every gutter. *** ### spacePt [Section titled “spacePt”](#spacept) > `readonly` **spacePt**: `number` Defined in: [src/core/document-model/types.ts:2356](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2356)
# SectionProperties
Defined in: [src/core/document-model/types.ts:2178](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2178) §17.6.17 `w:sectPr` — a section’s page setup, header/footer refs and columns. ## Properties [Section titled “Properties”](#properties) ### columns? [Section titled “columns?”](#columns) > `readonly` `optional` **columns?**: [`SectionColumns`](/api/core/document-model/interfaces/sectioncolumns/) Defined in: [src/core/document-model/types.ts:2217](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2217) §17.6.4 `w:cols` — multi-column section layout. *** ### evenAndOddHeaders? [Section titled “evenAndOddHeaders?”](#evenandoddheaders) > `readonly` `optional` **evenAndOddHeaders?**: `boolean` Defined in: [src/core/document-model/types.ts:2215](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2215) ECMA-376 §17.15.1.36 — `w:evenAndOddHeaders` toggle in `word/settings.xml` (document-wide, not per-section). When true even-numbered pages use the `even` header/footer references. *** ### footers [Section titled “footers”](#footers) > `readonly` **footers**: readonly [`HeaderFooterReference`](/api/core/document-model/interfaces/headerfooterreference/)\[] Defined in: [src/core/document-model/types.ts:2182](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2182) *** ### gridLinePitchPt? [Section titled “gridLinePitchPt?”](#gridlinepitchpt) > `readonly` `optional` **gridLinePitchPt?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:2252](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2252) §17.6.5 `w:docGrid` — the line grid a `lines`/`linesAndChars` section rules its text onto, as the pitch in points. Every line of the section’s text is as tall as a whole number of these, however tall its own font makes it. Absent ⇒ no grid (`w:type="default"`, or none stated). *** ### headers [Section titled “headers”](#headers) > `readonly` **headers**: readonly [`HeaderFooterReference`](/api/core/document-model/interfaces/headerfooterreference/)\[] Defined in: [src/core/document-model/types.ts:2181](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2181) *** ### lineNumbering? [Section titled “lineNumbering?”](#linenumbering) > `readonly` `optional` **lineNumbering?**: `object` Defined in: [src/core/document-model/types.ts:2200](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2200) §17.6.8 `w:lnNumType` — line numbers printed in the margin beside the text. #### countBy [Section titled “countBy”](#countby) > `readonly` **countBy**: `number` Print every `countBy`-th line (default 1). #### distancePt? [Section titled “distancePt?”](#distancept) > `readonly` `optional` **distancePt?**: [`Pt`](/api/index/type-aliases/pt/) How far the number stands off the text (`w:distance`); absent ⇒ Word’s quarter inch. #### restart [Section titled “restart”](#restart) > `readonly` **restart**: `"newPage"` | `"newSection"` | `"continuous"` §17.18.55 — where the count restarts. #### start [Section titled “start”](#start) > `readonly` **start**: `number` The number the count starts at (default 1). *** ### margins? [Section titled “margins?”](#margins) > `readonly` `optional` **margins?**: [`PageMargins`](/api/core/document-model/interfaces/pagemargins/) Defined in: [src/core/document-model/types.ts:2180](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2180) *** ### pageBorders? [Section titled “pageBorders?”](#pageborders) > `readonly` `optional` **pageBorders?**: `object` Defined in: [src/core/document-model/types.ts:2223](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2223) §17.6.10 `w:pgBorders` — the rules drawn around the page. `offsetFrom` says what each edge’s `spacePt` is measured from: the paper’s edge, or the text margin it stands outside of. #### borders [Section titled “borders”](#borders) > `readonly` **borders**: [`CellBorders`](/api/core/document-model/interfaces/cellborders/) #### offsetFrom [Section titled “offsetFrom”](#offsetfrom) > `readonly` **offsetFrom**: `"text"` | `"page"` *** ### pageNumberFormat? [Section titled “pageNumberFormat?”](#pagenumberformat) > `readonly` `optional` **pageNumberFormat?**: [`NumberingFormat`](/api/core/document-model/type-aliases/numberingformat/) Defined in: [src/core/document-model/types.ts:2198](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2198) §17.6.12 `w:pgNumType w:fmt` — how a PAGE field prints the section’s page numbers (§17.18.59): `lowerRoman` numbers a book’s front matter i, ii, iii before its body starts again at 1. Absent ⇒ decimal. *** ### pageNumberStart? [Section titled “pageNumberStart?”](#pagenumberstart) > `readonly` `optional` **pageNumberStart?**: `number` Defined in: [src/core/document-model/types.ts:2192](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2192) §17.6.12 `w:pgNumType w:start` — the number the section’s first page is printed with. Absent ⇒ the count carries on from the section before. *** ### pageSize? [Section titled “pageSize?”](#pagesize) > `readonly` `optional` **pageSize?**: [`PageSize`](/api/core/document-model/interfaces/pagesize/) Defined in: [src/core/document-model/types.ts:2179](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2179) *** ### sectionStart? [Section titled “sectionStart?”](#sectionstart) > `readonly` `optional` **sectionStart?**: `"continuous"` | `"nextPage"` | `"oddPage"` | `"evenPage"` Defined in: [src/core/document-model/types.ts:2234](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2234) §17.6.22 `w:type` — where the section starts. `continuous` starts it on the page already in hand rather than a fresh one; `nextPage` on the next sheet; `oddPage` and `evenPage` on the next sheet of that PARITY, which means a blank one in between when the count falls wrong. (`nextColumn` is not distinguished from `nextPage`.) *** ### textDirection? [Section titled “textDirection?”](#textdirection) > `readonly` `optional` **textDirection?**: `"btLr"` | `"tbRl"` Defined in: [src/core/document-model/types.ts:2245](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2245) §17.6.20 `w:textDirection` — which way the section’s lines run. `tbRl` sets each line top to bottom and the next one to the left of it: the text turned a quarter clockwise on the sheet, which is how a viewer shows a page turned by `/Rotate 90` whose words stood upright in its box. Word lays a section out that way for `btLr` as well, so the layout reads both alike. Only the body’s text turns: the headers, the footers and every drawing anchored to the page keep the sheet’s own axes. Absent ⇒ left to right, top to bottom. *** ### titlePg? [Section titled “titlePg?”](#titlepg) > `readonly` `optional` **titlePg?**: `boolean` Defined in: [src/core/document-model/types.ts:2187](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2187) ECMA-376 §17.10.6 — `w:titlePg` toggle in `sectPr`. When true the first page of the section uses the `first` header/footer references.
# ShapeBlock
Defined in: [src/core/document-model/types.ts:1687](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1687) ## Properties [Section titled “Properties”](#properties) ### altText? [Section titled “altText?”](#alttext) > `readonly` `optional` **altText?**: `string` Defined in: [src/core/document-model/types.ts:1705](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1705) `wp:docPr @descr/@title` — alternate text for the tagged-PDF Figure (`/Alt`). *** ### children? [Section titled “children?”](#children) > `readonly` `optional` **children?**: readonly [`ShapeGroupChild`](/api/core/document-model/interfaces/shapegroupchild/)\[] Defined in: [src/core/document-model/types.ts:1693](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1693) §20.5.2.17 — the shapes a group holds, drawn inside its own box. *** ### fill [Section titled “fill”](#fill) > `readonly` **fill**: [`ShapeFill`](/api/core/document-model/interfaces/shapefill/) Defined in: [src/core/document-model/types.ts:1695](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1695) *** ### float? [Section titled “float?”](#float) > `readonly` `optional` **float?**: [`FloatAnchor`](/api/core/document-model/interfaces/floatanchor/) Defined in: [src/core/document-model/types.ts:1689](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1689) §20.4.2.3 — present when the drawing is anchored (floating). *** ### geometry [Section titled “geometry”](#geometry) > `readonly` **geometry**: [`ShapeGeometry`](/api/core/document-model/interfaces/shapegeometry/) Defined in: [src/core/document-model/types.ts:1694](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1694) *** ### height [Section titled “height”](#height) > `readonly` **height**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:1691](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1691) *** ### line? [Section titled “line?”](#line) > `readonly` `optional` **line?**: [`ShapeLine`](/api/core/document-model/interfaces/shapeline/) Defined in: [src/core/document-model/types.ts:1696](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1696) *** ### paragraphProperties [Section titled “paragraphProperties”](#paragraphproperties) > `readonly` **paragraphProperties**: [`ParagraphProperties`](/api/core/document-model/interfaces/paragraphproperties/) Defined in: [src/core/document-model/types.ts:1703](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1703) *** ### relativeSize? [Section titled “relativeSize?”](#relativesize) > `readonly` `optional` **relativeSize?**: [`RelativeSize`](/api/core/document-model/interfaces/relativesize/) Defined in: [src/core/document-model/types.ts:1699](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1699) `wp14:sizeRelH/V` — a size stated as a share of the page or margins. *** ### shadow? [Section titled “shadow?”](#shadow) > `readonly` `optional` **shadow?**: [`ShapeShadow`](/api/core/document-model/interfaces/shapeshadow/) Defined in: [src/core/document-model/types.ts:1702](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1702) §20.1.8.40 — the shape’s drop shadow, direct or from its style reference. *** ### text? [Section titled “text?”](#text) > `readonly` `optional` **text?**: [`ShapeTextBody`](/api/core/document-model/interfaces/shapetextbody/) Defined in: [src/core/document-model/types.ts:1700](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1700) *** ### transform? [Section titled “transform?”](#transform) > `readonly` `optional` **transform?**: [`ShapeTransform`](/api/core/document-model/interfaces/shapetransform/) Defined in: [src/core/document-model/types.ts:1697](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1697) *** ### width [Section titled “width”](#width) > `readonly` **width**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:1690](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1690)
# ShapeFill
Defined in: [src/core/document-model/types.ts:1451](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1451) A shape’s fill: none, a solid colour, a ShapeGradient, or a picture. ## Properties [Section titled “Properties”](#properties) ### alpha? [Section titled “alpha?”](#alpha) > `readonly` `optional` **alpha?**: `number` Defined in: [src/core/document-model/types.ts:1520](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1520) §20.1.2.3.1 `a:alpha` / §14.1.2.5 `@opacity` — how opaque the fill is, `0..1`. Absent is opaque. The colour above is the fill’s own, NOT composited over the paper: what is behind the shape shows through it. *** ### colorHex? [Section titled “colorHex?”](#colorhex) > `readonly` `optional` **colorHex?**: `string` Defined in: [src/core/document-model/types.ts:1453](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1453) *** ### duotone? [Section titled “duotone?”](#duotone) > `readonly` `optional` **duotone?**: `object` Defined in: [src/core/document-model/types.ts:1508](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1508) §20.1.8.23 `a:duotone` — the picture recoloured into two tones: its dark end becomes the first colour, its light end the second. An Office theme that ships a photograph tints it this way, so a deck whose background is a brown ridged texture is stored as a grey one (corpus: themes.pptx). #### highlightHex [Section titled “highlightHex”](#highlighthex) > `readonly` **highlightHex**: `string` #### shadowHex [Section titled “shadowHex”](#shadowhex) > `readonly` **shadowHex**: `string` *** ### gradient? [Section titled “gradient?”](#gradient) > `readonly` `optional` **gradient?**: `ShapeGradient` Defined in: [src/core/document-model/types.ts:1454](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1454) *** ### imageCrop? [Section titled “imageCrop?”](#imagecrop) > `readonly` `optional` **imageCrop?**: [`ImageCrop`](/api/core/document-model/interfaces/imagecrop/) Defined in: [src/core/document-model/types.ts:1493](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1493) §20.1.8.30 `a:stretch/a:fillRect` (or an `a:srcRect` beside it) — the part of the picture the box shows, as the fractions cut from each side. *** ### imageFillRect? [Section titled “imageFillRect?”](#imagefillrect) > `readonly` `optional` **imageFillRect?**: `object` Defined in: [src/core/document-model/types.ts:1509](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1509) #### bottom [Section titled “bottom”](#bottom) > `readonly` **bottom**: `number` #### left [Section titled “left”](#left) > `readonly` **left**: `number` #### right [Section titled “right”](#right) > `readonly` **right**: `number` #### top [Section titled “top”](#top) > `readonly` **top**: `number` *** ### imageResource? [Section titled “imageResource?”](#imageresource) > `readonly` `optional` **imageResource?**: [`ResourceId`](/api/index/type-aliases/resourceid/) Defined in: [src/core/document-model/types.ts:1488](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1488) §20.1.8.14 `a:blipFill` — the picture painted across the shape’s box. A DrawingML picture IS a shape with one of these, which is how a `pic:pic` inside a group reaches the page. *** ### kind [Section titled “kind”](#kind) > `readonly` **kind**: [`ShapeFillKind`](/api/core/document-model/type-aliases/shapefillkind/) Defined in: [src/core/document-model/types.ts:1452](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1452) *** ### tiled? [Section titled “tiled?”](#tiled) > `readonly` `optional` **tiled?**: `boolean` Defined in: [src/core/document-model/types.ts:1460](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1460) §14.1.2.5 `@type="tile"` — the picture REPEATS at its own size rather than stretching over the box. A parchment behind a page, a texture behind a text box: stretched, such a fill is a blur where it should be a pattern. *** ### tileFromCentre? [Section titled “tileFromCentre?”](#tilefromcentre) > `readonly` `optional` **tileFromCentre?**: `boolean` Defined in: [src/core/document-model/types.ts:1482](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1482) Where the grid of copies is anchored. DrawingML pins it to the shape’s top-left corner (§20.1.8.58 `a:tile @algn`, which defaults to `tl`); an MS-ODRAW texture fill (§2.3.7.13 `fillOriginX`/`fillOriginY`, both defaulting to nothing) centres it on the shape instead. It only shows when the copies do not divide the box evenly — and it shows most when ONE copy is larger than the box, where the difference is which part of the picture is visible at all. *** ### tileScale? [Section titled “tileScale?”](#tilescale) > `readonly` `optional` **tileScale?**: `object` Defined in: [src/core/document-model/types.ts:1472](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1472) §20.1.8.58 `a:tile @sx @sy` — how far the picture is scaled BEFORE it is repeated, as fractions of its own size (1 = 100 %). A texture halved tiles four times as often, and read as a plain repeat it tiles once. #### sx [Section titled “sx”](#sx) > `readonly` **sx**: `number` #### sy [Section titled “sy”](#sy) > `readonly` **sy**: `number` *** ### tileSizePt? [Section titled “tileSizePt?”](#tilesizept) > `readonly` `optional` **tileSizePt?**: `object` Defined in: [src/core/document-model/types.ts:1466](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1466) The size ONE copy of a tiled fill occupies, when the shape states it — MS-ODRAW §2.3.7.11/.12 `fillWidth` / `fillHeight`. Absent, a tile is the picture at its own resolution, which is the default both formats give. #### heightPt [Section titled “heightPt”](#heightpt) > `readonly` **heightPt**: `number` #### widthPt [Section titled “widthPt”](#widthpt) > `readonly` **widthPt**: `number`
# ShapeGeometry
Defined in: [src/core/document-model/types.ts:1440](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1440) §20.1.10.55 `prstGeom` / §20.1.9.11 `custGeom` — a shape’s geometry source. ## Properties [Section titled “Properties”](#properties) ### adjust? [Section titled “adjust?”](#adjust) > `readonly` `optional` **adjust?**: `ReadonlyMap`<`string`, `number`> Defined in: [src/core/document-model/types.ts:1443](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1443) *** ### custom? [Section titled “custom?”](#custom) > `readonly` `optional` **custom?**: [`CustomGeometry`](/api/core/document-model/interfaces/customgeometry/) Defined in: [src/core/document-model/types.ts:1444](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1444) *** ### kind [Section titled “kind”](#kind) > `readonly` **kind**: `"preset"` | `"custom"` Defined in: [src/core/document-model/types.ts:1441](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1441) *** ### preset? [Section titled “preset?”](#preset) > `readonly` `optional` **preset?**: `string` Defined in: [src/core/document-model/types.ts:1442](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1442)
# ShapeGroupChild
Defined in: [src/core/document-model/types.ts:1681](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1681) §20.5.2.17 `wpg:wgp` — one member of a drawing group, and where it sits: the offsets are from the group’s own top-left corner, already mapped out of the group’s child coordinate space. ## Properties [Section titled “Properties”](#properties) ### shape [Section titled “shape”](#shape) > `readonly` **shape**: [`ShapeBlock`](/api/core/document-model/interfaces/shapeblock/) Defined in: [src/core/document-model/types.ts:1682](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1682) *** ### xPt [Section titled “xPt”](#xpt) > `readonly` **xPt**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:1683](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1683) *** ### yPt [Section titled “yPt”](#ypt) > `readonly` **yPt**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:1684](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1684)
# ShapeLine
Defined in: [src/core/document-model/types.ts:1535](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1535) §20.1.2.2.24 `a:ln` — a shape’s outline (stroke). ## Properties [Section titled “Properties”](#properties) ### alpha? [Section titled “alpha?”](#alpha) > `readonly` `optional` **alpha?**: `number` Defined in: [src/core/document-model/types.ts:1547](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1547) §20.1.2.3.1 `a:alpha` on the line’s colour — how opaque the stroke is, `0..1`. *** ### cap? [Section titled “cap?”](#cap) > `readonly` `optional` **cap?**: `"square"` | `"flat"` | `"round"` Defined in: [src/core/document-model/types.ts:1544](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1544) *** ### colorHex? [Section titled “colorHex?”](#colorhex) > `readonly` `optional` **colorHex?**: `string` Defined in: [src/core/document-model/types.ts:1537](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1537) *** ### customDash? [Section titled “customDash?”](#customdash) > `readonly` `optional` **customDash?**: readonly `number`\[] Defined in: [src/core/document-model/types.ts:1543](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1543) §20.1.8.21 `a:custDash` — the author’s own pattern: dash/space lengths as MULTIPLES of the line width, in the order they are drawn. *** ### dash? [Section titled “dash?”](#dash) > `readonly` `optional` **dash?**: [`ShapeDash`](/api/core/document-model/type-aliases/shapedash/) Defined in: [src/core/document-model/types.ts:1538](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1538) *** ### fill? [Section titled “fill?”](#fill) > `readonly` `optional` **fill?**: `"none"` | `"solid"` Defined in: [src/core/document-model/types.ts:1545](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1545) *** ### headEnd? [Section titled “headEnd?”](#headend) > `readonly` `optional` **headEnd?**: [`LineEnd`](/api/core/document-model/interfaces/lineend/) Defined in: [src/core/document-model/types.ts:1549](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1549) §20.1.8.24 `a:headEnd` — the decoration at the line’s first point. *** ### tailEnd? [Section titled “tailEnd?”](#tailend) > `readonly` `optional` **tailEnd?**: [`LineEnd`](/api/core/document-model/interfaces/lineend/) Defined in: [src/core/document-model/types.ts:1551](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1551) §20.1.8.42 `a:tailEnd` — the decoration at the line’s last point. *** ### width? [Section titled “width?”](#width) > `readonly` `optional` **width?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:1536](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1536)
# ShapeShadow
Defined in: [src/core/document-model/types.ts:1666](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1666) §20.1.8.40 `a:outerShdw` — the drop shadow under a shape: how far it is displaced, how soft its edge is, and in what colour. `dxPt`/`dyPt` are the displacement in page coordinates (y grows DOWN), resolved from the spec’s polar `dist`/`dir`. ## Properties [Section titled “Properties”](#properties) ### alpha [Section titled “alpha”](#alpha) > `readonly` **alpha**: `number` Defined in: [src/core/document-model/types.ts:1673](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1673) 0..1, from the shadow colour’s `a:alpha` (absent ⇒ opaque). *** ### blurPt [Section titled “blurPt”](#blurpt) > `readonly` **blurPt**: `number` Defined in: [src/core/document-model/types.ts:1670](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1670) `blurRad` in points; 0 is a hard edge. *** ### colorHex [Section titled “colorHex”](#colorhex) > `readonly` **colorHex**: `string` Defined in: [src/core/document-model/types.ts:1671](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1671) *** ### dxPt [Section titled “dxPt”](#dxpt) > `readonly` **dxPt**: `number` Defined in: [src/core/document-model/types.ts:1667](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1667) *** ### dyPt [Section titled “dyPt”](#dypt) > `readonly` **dyPt**: `number` Defined in: [src/core/document-model/types.ts:1668](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1668)
# ShapeTextBody
Defined in: [src/core/document-model/types.ts:1592](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1592) `wps:txbx` (`w:txbxContent`) + `wps:bodyPr` — text inside a shape. ## Properties [Section titled “Properties”](#properties) ### anchor? [Section titled “anchor?”](#anchor) > `readonly` `optional` **anchor?**: `"t"` | `"b"` | `"ctr"` Defined in: [src/core/document-model/types.ts:1598](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1598) *** ### autoFit? [Section titled “autoFit?”](#autofit) > `readonly` `optional` **autoFit?**: `boolean` Defined in: [src/core/document-model/types.ts:1622](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1622) §20.1.10.28 `a:spAutoFit` — the SHAPE follows its text: its height is whatever the text needs, whatever the stated box says. *** ### chain? [Section titled “chain?”](#chain) > `readonly` `optional` **chain?**: `object` Defined in: [src/core/document-model/types.ts:1651](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1651) `wps:txbx @id` / `wps:linkedTxbx @id @seq` — the chain of boxes this one belongs to. Text that overruns a box continues in the next of its chain; `seq` 0 is the box that holds the words, and the rest carry none of their own. #### id [Section titled “id”](#id) > `readonly` **id**: `string` #### seq [Section titled “seq”](#seq) > `readonly` **seq**: `number` *** ### content [Section titled “content”](#content) > `readonly` **content**: readonly [`BodyElement`](/api/core/document-model/type-aliases/bodyelement/)\[] Defined in: [src/core/document-model/types.ts:1593](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1593) *** ### fitToBox? [Section titled “fitToBox?”](#fittobox) > `readonly` `optional` **fitToBox?**: `boolean` Defined in: [src/core/document-model/types.ts:1627](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1627) §14.1.2.22 `v:textpath @fitshape` — the TEXT follows the shape: legacy WordArt is set at whatever size fills the box it was drawn in. *** ### insetBottom? [Section titled “insetBottom?”](#insetbottom) > `readonly` `optional` **insetBottom?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:1597](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1597) *** ### insetLeft? [Section titled “insetLeft?”](#insetleft) > `readonly` `optional` **insetLeft?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:1594](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1594) *** ### insetRight? [Section titled “insetRight?”](#insetright) > `readonly` `optional` **insetRight?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:1596](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1596) *** ### insetTop? [Section titled “insetTop?”](#insettop) > `readonly` `optional` **insetTop?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:1595](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1595) *** ### noWrap? [Section titled “noWrap?”](#nowrap) > `readonly` `optional` **noWrap?**: `boolean` Defined in: [src/core/document-model/types.ts:1605](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1605) §20.1.2.1.1 `a:bodyPr @wrap="none"` — the lines run as far as their words do, whatever the box’s width. A label placed where a page set it is sized to the words it was measured from, and set in a face a little wider it broke inside its one word. *** ### shrinkToFit? [Section titled “shrinkToFit?”](#shrinktofit) > `readonly` `optional` **shrinkToFit?**: `boolean` Defined in: [src/core/document-model/types.ts:1644](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1644) §20.1.10.42 `a:normAutofit` — the text SHRINKS to fit the box, and only shrinks: a size that already fits is left alone. PowerPoint writes the scale it settled on into `@fontScale` and that is applied at parse; this is for the text that arrives without one, which is every box of a diagram laid out from its layout part rather than from a cached drawing. *** ### upright? [Section titled “upright?”](#upright) > `readonly` `optional` **upright?**: `boolean` Defined in: [src/core/document-model/types.ts:1617](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1617) §20.1.10.55 `a:bodyPr @upright` — the words stay level however far the shape is turned. bnc762542.xlsx turns each legend label a quarter and asks for this, and every reader draws those labels lying flat. *** ### vertical? [Section titled “vertical?”](#vertical) > `readonly` `optional` **vertical?**: `"vert"` | `"vert270"` Defined in: [src/core/document-model/types.ts:1611](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1611) §20.1.10.83 ST\_TextVerticalType (`a:bodyPr @vert`) — text set along the box’s long axis rather than across it. `vert` reads top-to-bottom (turned a quarter clockwise), `vert270` bottom-to-top. *** ### warp? [Section titled “warp?”](#warp) > `readonly` `optional` **warp?**: `object` Defined in: [src/core/document-model/types.ts:1636](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1636) §20.1.9.10 `a:prstTxWarp` — DrawingML WordArt: the preset curve the text is bent through, and the `a:avLst` `adj` guide when the file states one. The warped text does not wrap and is stretched to fill the shape’s box, so the size its runs state stops deciding how large it is drawn. `textNoShape` is not carried: it is the enumeration’s “no warp” member, and a body under it is an ordinary text box. #### adjust? [Section titled “adjust?”](#adjust) > `readonly` `optional` **adjust?**: `number` #### preset [Section titled “preset”](#preset) > `readonly` **preset**: `string`
# ShapeTransform
Defined in: [src/core/document-model/types.ts:1585](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1585) §20.1.7.6 `a:xfrm` — a shape’s rotation (1/60000°, clockwise) + flips. ## Properties [Section titled “Properties”](#properties) ### flipH? [Section titled “flipH?”](#fliph) > `readonly` `optional` **flipH?**: `boolean` Defined in: [src/core/document-model/types.ts:1587](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1587) *** ### flipV? [Section titled “flipV?”](#flipv) > `readonly` `optional` **flipV?**: `boolean` Defined in: [src/core/document-model/types.ts:1588](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1588) *** ### rotation60k? [Section titled “rotation60k?”](#rotation60k) > `readonly` `optional` **rotation60k?**: `number` Defined in: [src/core/document-model/types.ts:1586](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1586)
# Style
Defined in: [src/core/document-model/types.ts:893](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L893) ECMA-376 §17.7 — one style definition: its id, category, `basedOn` parent, and the run/paragraph properties it contributes (plus the table-style layers for `type === 'table'`). ## Properties [Section titled “Properties”](#properties) ### basedOn? [Section titled “basedOn?”](#basedon) > `readonly` `optional` **basedOn?**: `string` Defined in: [src/core/document-model/types.ts:896](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L896) *** ### builtInOutlineLevel? [Section titled “builtInOutlineLevel?”](#builtinoutlinelevel) > `readonly` `optional` **builtInOutlineLevel?**: `number` Defined in: [src/core/document-model/types.ts:912](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L912) The outline level (0–8) a built-in heading style (“heading 1” … “heading 9”) FIXES. A paragraph written in such a style takes this level whatever its own `w:outlineLvl` says (Word reads a Heading 2 paragraph with a direct body-text level 9 as level 2), and whatever the style’s own `w:outlineLvl` says (a “heading 4” that states none is level 4 all the same). *** ### colBandSize? [Section titled “colBandSize?”](#colbandsize) > `readonly` `optional` **colBandSize?**: `number` Defined in: [src/core/document-model/types.ts:923](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L923) *** ### id [Section titled “id”](#id) > `readonly` **id**: `string` Defined in: [src/core/document-model/types.ts:894](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L894) *** ### isDefault [Section titled “isDefault”](#isdefault) > `readonly` **isDefault**: `boolean` Defined in: [src/core/document-model/types.ts:897](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L897) *** ### name? [Section titled “name?”](#name) > `readonly` `optional` **name?**: `string` Defined in: [src/core/document-model/types.ts:904](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L904) §17.7.4.9 `w:name` — the style’s primary name. Word knows its built-in styles by this name, never by the id: a style named “heading 5” under the id `X5` is its Heading 5, and one named “Fancy” under the id `Heading6` is body text. *** ### paragraphProperties [Section titled “paragraphProperties”](#paragraphproperties) > `readonly` **paragraphProperties**: [`ParagraphProperties`](/api/core/document-model/interfaces/paragraphproperties/) Defined in: [src/core/document-model/types.ts:914](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L914) *** ### rowBandSize? [Section titled “rowBandSize?”](#rowbandsize) > `readonly` `optional` **rowBandSize?**: `number` Defined in: [src/core/document-model/types.ts:922](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L922) `w:tblPr/w:tblStyleRowBandSize` / `ColBandSize`: rows (columns) per band. Absent here and up the `basedOn` chain, or 0, the style bands nothing. *** ### runProperties [Section titled “runProperties”](#runproperties) > `readonly` **runProperties**: [`RunProperties`](/api/core/document-model/interfaces/runproperties/) Defined in: [src/core/document-model/types.ts:913](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L913) *** ### tableConditions? [Section titled “tableConditions?”](#tableconditions) > `readonly` `optional` **tableConditions?**: readonly [`TableStyleCondition`](/api/core/document-model/interfaces/tablestylecondition/)\[] Defined in: [src/core/document-model/types.ts:917](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L917) *** ### tableLayer? [Section titled “tableLayer?”](#tablelayer) > `readonly` `optional` **tableLayer?**: [`TableStyleLayer`](/api/core/document-model/interfaces/tablestylelayer/) Defined in: [src/core/document-model/types.ts:916](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L916) Table styles only (§17.7.6): the base layer and conditional overrides. *** ### type [Section titled “type”](#type) > `readonly` **type**: [`StyleType`](/api/core/document-model/type-aliases/styletype/) Defined in: [src/core/document-model/types.ts:895](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L895)
# StyleSheet
Defined in: [src/core/document-model/types.ts:931](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L931) The parsed `word/styles.xml`: document defaults (`docDefaults`) plus the styles map keyed by id. The cascade resolver merges these into the resolved property objects the renderer consumes. ## Properties [Section titled “Properties”](#properties) ### defaultParagraphProperties [Section titled “defaultParagraphProperties”](#defaultparagraphproperties) > `readonly` **defaultParagraphProperties**: [`ParagraphProperties`](/api/core/document-model/interfaces/paragraphproperties/) Defined in: [src/core/document-model/types.ts:933](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L933) *** ### defaultRunProperties [Section titled “defaultRunProperties”](#defaultrunproperties) > `readonly` **defaultRunProperties**: [`RunProperties`](/api/core/document-model/interfaces/runproperties/) Defined in: [src/core/document-model/types.ts:932](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L932) *** ### styles [Section titled “styles”](#styles) > `readonly` **styles**: `ReadonlyMap`<`string`, [`Style`](/api/core/document-model/interfaces/style/)> Defined in: [src/core/document-model/types.ts:934](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L934)
# Table
Defined in: [src/core/document-model/types.ts:1288](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1288) §17.4.38 `w:tbl` — a table: its [TableProperties](/api/core/document-model/interfaces/tableproperties/), the `w:tblGrid` column widths (`grid`), and its rows. ## Properties [Section titled “Properties”](#properties) ### grid [Section titled “grid”](#grid) > `readonly` **grid**: readonly [`Pt`](/api/index/type-aliases/pt/)\[] Defined in: [src/core/document-model/types.ts:1291](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1291) *** ### native? [Section titled “native?”](#native) > `readonly` `optional` **native?**: [`NativeBag`](/api/index/interfaces/nativebag/) Defined in: [src/core/document-model/types.ts:1289](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1289) *** ### overlay? [Section titled “overlay?”](#overlay) > `readonly` `optional` **overlay?**: [`TableOverlay`](/api/core/document-model/interfaces/tableoverlay/) Defined in: [src/core/document-model/types.ts:1294](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1294) The drawings that lie over a spreadsheet grid and print with it. *** ### properties [Section titled “properties”](#properties-1) > `readonly` **properties**: [`TableProperties`](/api/core/document-model/interfaces/tableproperties/) Defined in: [src/core/document-model/types.ts:1290](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1290) *** ### rows [Section titled “rows”](#rows) > `readonly` **rows**: readonly [`TableRow`](/api/core/document-model/interfaces/tablerow/)\[] Defined in: [src/core/document-model/types.ts:1292](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1292)
# TableCell
Defined in: [src/core/document-model/types.ts:1273](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1273) §17.4.66 `w:tc` — a table cell: its [CellProperties](/api/core/document-model/interfaces/cellproperties/) and block content. ## Properties [Section titled “Properties”](#properties) ### content [Section titled “content”](#content) > `readonly` **content**: readonly [`BodyElement`](/api/core/document-model/type-aliases/bodyelement/)\[] Defined in: [src/core/document-model/types.ts:1275](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1275) *** ### properties [Section titled “properties”](#properties-1) > `readonly` **properties**: [`CellProperties`](/api/core/document-model/interfaces/cellproperties/) Defined in: [src/core/document-model/types.ts:1274](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1274)
# TableLook
Defined in: [src/core/document-model/types.ts:1216](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1216) §17.4.62 `w:tblLook` — which of the table style’s conditional formats apply. Modern files carry explicit attributes; legacy files a hex bitmask (both parsed). Band flags are negative (“no band”) per the spec. ## Properties [Section titled “Properties”](#properties) ### firstColumn? [Section titled “firstColumn?”](#firstcolumn) > `readonly` `optional` **firstColumn?**: `boolean` Defined in: [src/core/document-model/types.ts:1219](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1219) *** ### firstRow? [Section titled “firstRow?”](#firstrow) > `readonly` `optional` **firstRow?**: `boolean` Defined in: [src/core/document-model/types.ts:1217](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1217) *** ### lastColumn? [Section titled “lastColumn?”](#lastcolumn) > `readonly` `optional` **lastColumn?**: `boolean` Defined in: [src/core/document-model/types.ts:1220](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1220) *** ### lastRow? [Section titled “lastRow?”](#lastrow) > `readonly` `optional` **lastRow?**: `boolean` Defined in: [src/core/document-model/types.ts:1218](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1218) *** ### noHBand? [Section titled “noHBand?”](#nohband) > `readonly` `optional` **noHBand?**: `boolean` Defined in: [src/core/document-model/types.ts:1221](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1221) *** ### noVBand? [Section titled “noVBand?”](#novband) > `readonly` `optional` **noVBand?**: `boolean` Defined in: [src/core/document-model/types.ts:1222](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1222)
# TableOverlay
Defined in: [src/core/document-model/types.ts:1305](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1305) §20.5 — a spreadsheet’s drawings over the part of the sheet one table prints. A drawing is anchored to cells, not to paper: each page the table spans shows the part of every drawing that lies over the rows and columns it prints, and cuts it off where they end — a chart across a page break is printed in two pieces, a drawing in the repeated title rows on every page, and what runs out of the print area not at all. Excel prints a sheet so. ## Properties [Section titled “Properties”](#properties) ### drawings [Section titled “drawings”](#drawings) > `readonly` **drawings**: readonly [`BodyElement`](/api/core/document-model/type-aliases/bodyelement/)\[] Defined in: [src/core/document-model/types.ts:1319](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1319) The drawings, out-of-flow floats placed in the sheet’s own frame: `posH` from the sheet’s left edge, `posV` from its top, the frame of [RowProperties.sheetTopPt](/api/core/document-model/interfaces/rowproperties/#sheettoppt). *** ### leftPt [Section titled “leftPt”](#leftpt) > `readonly` **leftPt**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:1311](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1311) Where they stand in the table, from its left edge (past a printed row-number column). *** ### mirrored? [Section titled “mirrored?”](#mirrored) > `readonly` `optional` **mirrored?**: `boolean` Defined in: [src/core/document-model/types.ts:1313](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1313) §18.3.1.87 — the sheet reads from the right: its first column stands at the right. *** ### sheetLeftPt [Section titled “sheetLeftPt”](#sheetleftpt) > `readonly` **sheetLeftPt**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:1307](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1307) Where the sheet’s columns this table prints begin, in the drawings’ frame. *** ### widthPt [Section titled “widthPt”](#widthpt) > `readonly` **widthPt**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:1309](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1309) How wide those columns run.
# TableProperties
Defined in: [src/core/document-model/types.ts:1226](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1226) §17.4.60 `w:tblPr` — a table’s properties: style ref, width/layout, chrome. ## Properties [Section titled “Properties”](#properties) ### alignment? [Section titled “alignment?”](#alignment) > `readonly` `optional` **alignment?**: `"right"` | `"left"` | `"center"` Defined in: [src/core/document-model/types.ts:1251](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1251) ECMA-376 §17.4.27 (`w:jc`) / xlsx ``. Centers or right-aligns a table narrower than the content width; absent ⇒ left. *** ### borders? [Section titled “borders?”](#borders) > `readonly` `optional` **borders?**: [`CellBorders`](/api/core/document-model/interfaces/cellborders/) Defined in: [src/core/document-model/types.ts:1238](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1238) *** ### defaultCellMargins? [Section titled “defaultCellMargins?”](#defaultcellmargins) > `readonly` `optional` **defaultCellMargins?**: [`CellMargins`](/api/core/document-model/interfaces/cellmargins/) Defined in: [src/core/document-model/types.ts:1237](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1237) *** ### float? [Section titled “float?”](#float) > `readonly` `optional` **float?**: [`FloatAnchor`](/api/core/document-model/interfaces/floatanchor/) Defined in: [src/core/document-model/types.ts:1263](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1263) §17.4.58 `w:tblpPr` — the table FLOATS: it is placed at an anchor of its own and the text runs past it, exactly as an anchored drawing does. Read into the same [FloatAnchor](/api/core/document-model/interfaces/floatanchor/) the drawings use. *** ### frozen? [Section titled “frozen?”](#frozen) > `readonly` `optional` **frozen?**: `object` Defined in: [src/core/document-model/types.ts:1269](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1269) A sticky-pane hint from a frozen worksheet view (E-SHEET SE3): the first `rows` rows / `cols` columns stay pinned while the rest scrolls. Consumed only by the HTML writer (an interactive target); PDF/SVG ignore it. #### cols [Section titled “cols”](#cols) > `readonly` **cols**: `number` #### rows [Section titled “rows”](#rows) > `readonly` **rows**: `number` *** ### gridlines? [Section titled “gridlines?”](#gridlines) > `readonly` `optional` **gridlines?**: [`Border`](/api/core/document-model/interfaces/border/) Defined in: [src/core/document-model/types.ts:1246](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1246) A worksheet’s gridlines as its WINDOW draws them (§18.3.1.87), where the sheet was projected for a screen: the line a cell’s edge takes when no border claims it — but not around a filled cell, whose fill covers them. A screen-only hint: the paginated layout draws a grid only where the sheet PRINTS one, and that comes as `borders`. *** ### indentPt? [Section titled “indentPt?”](#indentpt) > `readonly` `optional` **indentPt?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:1257](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1257) §17.4.65 `w:tblInd` — how far the table’s leading edge stands in from the text margin. Distinct from [alignment](/api/core/document-model/interfaces/tableproperties/#alignment), which shares out the slack a narrow table leaves. *** ### layout? [Section titled “layout?”](#layout) > `readonly` `optional` **layout?**: `"auto"` | `"fixed"` Defined in: [src/core/document-model/types.ts:1236](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1236) *** ### look? [Section titled “look?”](#look) > `readonly` `optional` **look?**: [`TableLook`](/api/core/document-model/interfaces/tablelook/) Defined in: [src/core/document-model/types.ts:1232](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1232) *** ### styleId? [Section titled “styleId?”](#styleid) > `readonly` `optional` **styleId?**: `string` Defined in: [src/core/document-model/types.ts:1231](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1231) §17.7.6 — raw reference to a table style (resolved by the reader’s `resolveTableStyles` transform; round-trip material afterwards). *** ### widthFraction? [Section titled “widthFraction?”](#widthfraction) > `readonly` `optional` **widthFraction?**: `number` Defined in: [src/core/document-model/types.ts:1234](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1234) *** ### widthPt? [Section titled “widthPt?”](#widthpt) > `readonly` `optional` **widthPt?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:1233](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1233) *** ### widthType? [Section titled “widthType?”](#widthtype) > `readonly` `optional` **widthType?**: `"auto"` | `"dxa"` | `"pct"` | `"nil"` Defined in: [src/core/document-model/types.ts:1235](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1235)
# TableRow
Defined in: [src/core/document-model/types.ts:1279](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1279) §17.4.79 `w:tr` — a table row: its [RowProperties](/api/core/document-model/interfaces/rowproperties/) and cells. ## Properties [Section titled “Properties”](#properties) ### cells [Section titled “cells”](#cells) > `readonly` **cells**: readonly [`TableCell`](/api/core/document-model/interfaces/tablecell/)\[] Defined in: [src/core/document-model/types.ts:1281](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1281) *** ### properties [Section titled “properties”](#properties-1) > `readonly` **properties**: [`RowProperties`](/api/core/document-model/interfaces/rowproperties/) Defined in: [src/core/document-model/types.ts:1280](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1280)
# TableStyleCondition
Defined in: [src/core/document-model/types.ts:883](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L883) A conditional table-style override: the region `type` and the layer it applies. ## Properties [Section titled “Properties”](#properties) ### layer [Section titled “layer”](#layer) > `readonly` **layer**: [`TableStyleLayer`](/api/core/document-model/interfaces/tablestylelayer/) Defined in: [src/core/document-model/types.ts:885](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L885) *** ### type [Section titled “type”](#type) > `readonly` **type**: [`TableStyleConditionType`](/api/core/document-model/type-aliases/tablestyleconditiontype/) Defined in: [src/core/document-model/types.ts:884](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L884)
# TableStyleLayer
Defined in: [src/core/document-model/types.ts:839](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L839) §17.7.6 — one table-style formatting layer: the style’s own base layer (`w:style/tblPr` + `tcPr` + `rPr` + `pPr`) or one conditional override (`w:tblStylePr`). Borders come from `tblBorders` (table layer) or `tcBorders` (region layer) — whichever the layer carries. ## Properties [Section titled “Properties”](#properties) ### borders? [Section titled “borders?”](#borders) > `readonly` `optional` **borders?**: [`CellBorders`](/api/core/document-model/interfaces/cellborders/) Defined in: [src/core/document-model/types.ts:840](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L840) *** ### cellLevelMargins? [Section titled “cellLevelMargins?”](#celllevelmargins) > `readonly` `optional` **cellLevelMargins?**: [`CellMargins`](/api/core/document-model/interfaces/cellmargins/) Defined in: [src/core/document-model/types.ts:852](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L852) §17.4.42 `w:tcPr/w:tcMar` — the layer’s CELL-level margins. They outrank every table-level margin, the table’s own `w:tblCellMar` included; only a cell’s own `w:tcMar` beats them, side by side. *** ### cellMargins? [Section titled “cellMargins?”](#cellmargins) > `readonly` `optional` **cellMargins?**: [`CellMargins`](/api/core/document-model/interfaces/cellmargins/) Defined in: [src/core/document-model/types.ts:846](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L846) §17.4.43 `w:tblPr/w:tblCellMar` — the layer’s TABLE-level cell margins. The table’s own `w:tblCellMar` outranks them side by side, a region’s included. *** ### indentPt? [Section titled “indentPt?”](#indentpt) > `readonly` `optional` **indentPt?**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:860](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L860) §17.4.65 `w:tblInd` — the table indent a whole-table layer declares. *** ### paragraphProperties? [Section titled “paragraphProperties?”](#paragraphproperties) > `readonly` `optional` **paragraphProperties?**: [`ParagraphProperties`](/api/core/document-model/interfaces/paragraphproperties/) Defined in: [src/core/document-model/types.ts:863](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L863) *** ### restatesMargins? [Section titled “restatesMargins?”](#restatesmargins) > `readonly` `optional` **restatesMargins?**: `boolean` Defined in: [src/core/document-model/types.ts:858](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L858) True when the layer carries a `w:tblPr` or `w:tcPr` of its own, margins or not. A region that does replaces the margins a `basedOn` ancestor’s region of the same type gave, instead of adding to them. *** ### runProperties? [Section titled “runProperties?”](#runproperties) > `readonly` `optional` **runProperties?**: [`RunProperties`](/api/core/document-model/interfaces/runproperties/) Defined in: [src/core/document-model/types.ts:862](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L862) *** ### shading? [Section titled “shading?”](#shading) > `readonly` `optional` **shading?**: [`CellShading`](/api/core/document-model/interfaces/cellshading/) Defined in: [src/core/document-model/types.ts:861](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L861)
# TabStop
Defined in: [src/core/document-model/types.ts:179](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L179) §17.3.1.38 `w:tab` — one stop in a paragraph’s tab list: where the text after a tab character goes, how it sits against that position, and what fills the gap on the way there. ## Properties [Section titled “Properties”](#properties) ### alignment [Section titled “alignment”](#alignment) > `readonly` **alignment**: `"right"` | `"left"` | `"center"` | `"decimal"` Defined in: [src/core/document-model/types.ts:192](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L192) §17.18.90 ST\_TabJc — how the text after the tab sits against the stop. *** ### leader? [Section titled “leader?”](#leader) > `readonly` `optional` **leader?**: `"dot"` | `"hyphen"` | `"underscore"` | `"middleDot"` Defined in: [src/core/document-model/types.ts:194](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L194) §17.18.89 ST\_TabTlc — the character drawn across the gap. *** ### positionPt [Section titled “positionPt”](#positionpt) > `readonly` **positionPt**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:185](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L185) Distance from the text margin, in points (`w:pos`, twips). Ignored when [relativeTo](/api/core/document-model/interfaces/tabstop/#relativeto) names an edge — a §17.3.3.15 `w:ptab` positions against the column itself, whose width only the layout knows. *** ### relativeTo? [Section titled “relativeTo?”](#relativeto) > `readonly` `optional` **relativeTo?**: `"right"` | `"center"` Defined in: [src/core/document-model/types.ts:190](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L190) §17.3.3.15 `w:ptab` — an ABSOLUTE position tab, which goes to the middle or the far side of the text column rather than to a stated distance.
# TextOutline
Defined in: [src/core/document-model/types.ts:159](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L159) A line drawn round a run’s glyphs: its colour and how wide the pen is. ## Properties [Section titled “Properties”](#properties) ### colorHex [Section titled “colorHex”](#colorhex) > `readonly` **colorHex**: `string` Defined in: [src/core/document-model/types.ts:160](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L160) *** ### widthPt [Section titled “widthPt”](#widthpt) > `readonly` **widthPt**: [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/document-model/types.ts:161](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L161)
# Alignment
> **Alignment** = `"left"` | `"right"` | `"center"` | `"both"` | `"distribute"` Defined in: [src/core/document-model/types.ts:15](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L15) Paragraph horizontal alignment (`w:jc`); `both` = justified.
# BodyElement
> **BodyElement** = { `kind`: `"paragraph"`; `paragraph`: [`Paragraph`](/api/core/document-model/interfaces/paragraph/); } | { `kind`: `"table"`; `table`: [`Table`](/api/core/document-model/interfaces/table/); } | { `image`: [`ImageBlock`](/api/core/document-model/interfaces/imageblock/); `kind`: `"image"`; } | { `kind`: `"shape"`; `shape`: [`ShapeBlock`](/api/core/document-model/interfaces/shapeblock/); } | { `chart`: [`ChartBlock`](/api/core/document-model/interfaces/chartblock/); `kind`: `"chart"`; } Defined in: [src/core/document-model/types.ts:2139](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2139) One top-level body item: a discriminated union over the block kinds.
# BorderStyle
> **BorderStyle** = `"none"` | `"single"` | `"double"` | `"thick"` | `"dotted"` | `"dashed"` | `"dashSmallGap"` | `"dashDot"` | `"dashDotDot"` Defined in: [src/core/document-model/types.ts:940](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L940) §17.18.2 ST\_Border — a cell-border line style (the subset Ream renders).
# CellIconShape
> **CellIconShape** = `"circle"` | `"square"` | `"diamond"` | `"triangleUp"` | `"triangleDown"` | `"triangleRight"` | `"check"` | `"cross"` | `"exclamation"` | `"bars"` | `"pie"` Defined in: [src/core/document-model/types.ts:1032](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1032) A conditional-format icon: a small glyph at the cell’s left, chosen by the value’s bucket (E-SHEET SC1c). Format-neutral — the xlsx layer maps Excel’s named icon families (3TrafficLights, 3Arrows, …) onto these shapes + colours.
# CellMerge
> **CellMerge** = `"start"` | `"middle"` | `"end"` Defined in: [src/core/document-model/types.ts:1081](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1081) Resolved position of a cell in a vertical merge group (ECMA-376 §17.4.85 `vMerge` markers are resolved by the reader): `start` opens a group that at least one cell continues, `middle` / `end` are continuations; undefined = not merged. Continuation cells stay in their rows (they hold the column slot); writers that need an HTML-style rowSpan can derive it by counting a start’s middle/end run downwards.
# ChartLabelPosition
> **ChartLabelPosition** = `"bestFit"` | `"b"` | `"ctr"` | `"inBase"` | `"inEnd"` | `"l"` | `"outEnd"` | `"r"` | `"t"` Defined in: [src/core/document-model/types.ts:1882](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1882) §21.2.2.48 ST\_DLblPos — where a data label stands against its point.
# ChartMarkerSymbol
> **ChartMarkerSymbol** = `"circle"` | `"dash"` | `"diamond"` | `"dot"` | `"none"` | `"plus"` | `"square"` | `"star"` | `"triangle"` | `"x"` Defined in: [src/core/document-model/types.ts:1803](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1803) §21.2.2.107 `c:symbol` (ST\_MarkerStyle) — the shape of a scatter/line series’ point marker. `auto` and `picture` are left to the reader, so they are not carried here.
# ChartType
> **ChartType** = `"bar"` | `"line"` | `"pie"` | `"area"` | `"scatter"` | `"unknown"` Defined in: [src/core/document-model/types.ts:1716](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1716) ECMA-376 Part 1 §21.2 — the kind of a DrawingML chart. A chart is referenced from a `w:drawing` (`a:graphicData uri=…/chart` → `c:chart r:id`) and its data lives in a separate chart part (e.g. `word/charts/chart1.xml`). The parsed [Chart](/api/core/document-model/interfaces/chart/) is keyed by that relationship id and supplied to the renderer alongside the body (mirroring image bytes), so [ChartBlock](/api/core/document-model/interfaces/chartblock/) only carries the ref.
# CustomPathCmd
> **CustomPathCmd** = { `cmd`: `"move"`; `x`: `number`; `y`: `number`; } | { `cmd`: `"line"`; `x`: `number`; `y`: `number`; } | { `cmd`: `"cubic"`; `x`: `number`; `x1`: `number`; `x2`: `number`; `y`: `number`; `y1`: `number`; `y2`: `number`; } | { `cmd`: `"quad"`; `x`: `number`; `x1`: `number`; `y`: `number`; `y1`: `number`; } | { `cmd`: `"arc"`; `hR`: `number`; `stAng`: `number`; `swAng`: `number`; `wR`: `number`; } | { `cmd`: `"close"`; } Defined in: [src/core/document-model/types.ts:1401](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1401) §20.1.10.55 prstGeom path command (custGeom ``), in path-space units (`a:path @w/@h`). `quad` is elevated to cubic at layout; `arc` uses the DrawingML angle convention (1/60000°, clockwise, y-down) and is converted to beziers by the geometry layer.
# HeaderFooterType
> **HeaderFooterType** = `"default"` | `"first"` | `"even"` Defined in: [src/core/document-model/types.ts:2169](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L2169) §17.10 — which page class a header/footer reference applies to.
# Ligatures
> **Ligatures** = `"none"` | `"standard"` | `"contextual"` | `"historical"` | `"discretional"` | `"standardContextual"` | `"standardHistorical"` | `"contextualHistorical"` | `"standardDiscretional"` | `"contextualDiscretional"` | `"historicalDiscretional"` | `"standardContextualHistorical"` | `"standardContextualDiscretional"` | `"standardHistoricalDiscretional"` | `"contextualHistoricalDiscretional"` | `"all"` Defined in: [src/core/document-model/types.ts:37](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L37) \[MS-DOCX] ST\_Ligatures — which of a face’s OpenType ligatures a run is set with (`w14:ligatures`): the standard ones (`liga`), the contextual (`clig`), the historical (`hlig`) and the discretionary (`dlig`), alone or together.
# MathNode
> **MathNode** = [`MathRow`](/api/core/document-model/interfaces/mathrow/) | [`MathRun`](/api/core/document-model/interfaces/mathrun/) | [`MathFraction`](/api/core/document-model/interfaces/mathfraction/) | [`MathScript`](/api/core/document-model/interfaces/mathscript/) | [`MathRadical`](/api/core/document-model/interfaces/mathradical/) | [`MathNary`](/api/core/document-model/interfaces/mathnary/) | [`MathFunc`](/api/core/document-model/interfaces/mathfunc/) | [`MathLimit`](/api/core/document-model/interfaces/mathlimit/) | [`MathDelimiter`](/api/core/document-model/interfaces/mathdelimiter/) | [`MathMatrix`](/api/core/document-model/interfaces/mathmatrix/) | [`MathAccent`](/api/core/document-model/interfaces/mathaccent/) | [`MathBar`](/api/core/document-model/interfaces/mathbar/) | [`MathGroupChr`](/api/core/document-model/interfaces/mathgroupchr/) | [`MathEqArray`](/api/core/document-model/interfaces/matheqarray/) Defined in: [src/core/document-model/types.ts:415](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L415) ECMA-376 Part 1 §22 — OfficeMathML (OMML). A recursive math element tree. The union grows by milestone; the layout engine renders structural elements (fraction bars, radicals, big operators, stretchy delimiters) as vector paths and ordinary symbols as font glyphs.
# NumberingFormat
> **NumberingFormat** = `"decimal"` | `"decimalZero"` | `"decimalFullWidth"` | `"ordinal"` | `"lowerLetter"` | `"upperLetter"` | `"lowerRoman"` | `"upperRoman"` | `"ideographTraditional"` | `"ideographZodiac"` | `"ideographLegalTraditional"` | `"ideographDigital"` | `"koreanDigital2"` | `"chineseCounting"` | `"chineseCountingThousand"` | `"japaneseCounting"` | `"koreanCounting"` | `"taiwaneseCounting"` | `"taiwaneseCountingThousand"` | `"hebrew1"` | `"hebrew2"` | `"decimalEnclosedCircle"` | `"chicago"` | `"bullet"` | `"none"` Defined in: [src/core/document-model/types.ts:719](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L719) ECMA-376 Part 1 §17.9 — `w:numFmt` list marker format.
# NumberingSuffix
> **NumberingSuffix** = `"tab"` | `"space"` | `"nothing"` Defined in: [src/core/document-model/types.ts:790](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L790) §17.18.53 `ST_LevelSuffix` — the character between a list marker and its text.
# ShapeDash
> **ShapeDash** = `"solid"` | `"dot"` | `"dash"` | `"dashDot"` | `"lgDash"` | `"lgDashDot"` | `"sysDash"` | `"sysDot"` Defined in: [src/core/document-model/types.ts:1524](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1524) §20.1.10.49 ST\_PresetLineDashVal — a shape outline’s preset dash pattern.
# ShapeFillKind
> **ShapeFillKind** = `"none"` | `"solid"` | `"gradient"` | `"picture"` Defined in: [src/core/document-model/types.ts:1448](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L1448) A shape’s fill mode (`a:noFill`/`a:solidFill`/`a:gradFill`/`a:blipFill`).
# StyleType
> **StyleType** = `"paragraph"` | `"character"` | `"table"` | `"numbering"` Defined in: [src/core/document-model/types.ts:831](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L831) ECMA-376 Part 1 §17.7 — `w:style @w:type` style category.
# TableStyleConditionType
> **TableStyleConditionType** = `"wholeTable"` | `"band1Vert"` | `"band2Vert"` | `"band1Horz"` | `"band2Horz"` | `"firstCol"` | `"lastCol"` | `"firstRow"` | `"lastRow"` | `"nwCell"` | `"neCell"` | `"swCell"` | `"seCell"` Defined in: [src/core/document-model/types.ts:867](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L867) §17.7.6.3 `w:tblStylePr @w:type` — the table regions a conditional layer targets.
# UnderlineStyle
> **UnderlineStyle** = `"none"` | `"single"` | `"double"` | `"thick"` | `"dotted"` | `"dottedHeavy"` | `"dash"` | `"dashHeavy"` | `"wave"` Defined in: [src/core/document-model/types.ts:18](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L18) Run underline style (ECMA-376 §17.18.99 ST\_Underline, the subset Ream renders).
# VerticalAlign
> **VerticalAlign** = `"baseline"` | `"superscript"` | `"subscript"` Defined in: [src/core/document-model/types.ts:30](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/document-model/types.ts#L30) Run vertical alignment (`w:vertAlign`): baseline or super/subscript.
# index
The public API for Ream. The package reads Word, Excel, PowerPoint and PDF — including the legacy `.doc` / `.xls` / `.ppt` — and converts any of them to PDF, SVG, HTML, DOCX or XLSX, implemented from the ECMA-376 and ISO 32000 specifications without wrapping LibreOffice, headless Office, or any commercial SDK. Typical use:
```ts
import { Ream } from 'reamkit';
const doc = Ream.parse(bytes); // format sniffed
const pdf = await doc.convert('pdf'); // one parse, any target
```
Advanced consumers can build custom pipelines from the reader/writer interfaces, drive the layout engine directly via [renderStyledPdf](/api/index/functions/renderstyledpdf/), supply a hyphenator, or import the typed document model from the `reamkit/document-model` subpath. ## Classes [Section titled “Classes”](#classes) * [ConversionLossError](/api/index/classes/conversionlosserror/) * [FontRegistry](/api/index/classes/fontregistry/) * [Ream](/api/index/classes/ream/) * [ResourceStore](/api/index/classes/resourcestore/) * [WrongPasswordError](/api/index/classes/wrongpassworderror/) ## Interfaces [Section titled “Interfaces”](#interfaces) * [BorderItem](/api/index/interfaces/borderitem/) * [Converter](/api/index/interfaces/converter/) * [ConvertOptions](/api/index/interfaces/convertoptions/) * [ConvertResult](/api/index/interfaces/convertresult/) * [CreateConverterOptions](/api/index/interfaces/createconverteroptions/) * [DocumentInfo](/api/index/interfaces/documentinfo/) * [DocumentReader](/api/index/interfaces/documentreader/) * [DocumentWriter](/api/index/interfaces/documentwriter/) * [FaceFamily](/api/index/interfaces/facefamily/) * [FaceGlyph](/api/index/interfaces/faceglyph/) * [FaceOutlines](/api/index/interfaces/faceoutlines/) * [FetchFontSetOptions](/api/index/interfaces/fetchfontsetoptions/) * [FillItem](/api/index/interfaces/fillitem/) * [FlowDoc](/api/index/interfaces/flowdoc/) * [FontBytesByVariant](/api/index/interfaces/fontbytesbyvariant/) * [FontProvider](/api/index/interfaces/fontprovider/) * [FontRequest](/api/index/interfaces/fontrequest/) * [Hyphenator](/api/index/interfaces/hyphenator/) * [HyphenatorOptions](/api/index/interfaces/hyphenatoroptions/) * [ImageItem](/api/index/interfaces/imageitem/) * [LaidOutDocument](/api/index/interfaces/laidoutdocument/) * [LaidOutPage](/api/index/interfaces/laidoutpage/) * [Loss](/api/index/interfaces/loss/) * [MarkdownWriteOptions](/api/index/interfaces/markdownwriteoptions/) * [NativeBag](/api/index/interfaces/nativebag/) * [PageItemBase](/api/index/interfaces/pageitembase/) * [ParsedTtf](/api/index/interfaces/parsedttf/) * [PdfEncryptOptions](/api/index/interfaces/pdfencryptoptions/) * [PdfOutlineOptions](/api/index/interfaces/pdfoutlineoptions/) * [PdfPermissions](/api/index/interfaces/pdfpermissions/) * [ReadOptions](/api/index/interfaces/readoptions/) * [ReadResult](/api/index/interfaces/readresult/) * [ReamConvertOptions](/api/index/interfaces/reamconvertoptions/) * [ReamParseOptions](/api/index/interfaces/reamparseoptions/) * [ShapeItem](/api/index/interfaces/shapeitem/) * [SignatureOptions](/api/index/interfaces/signatureoptions/) * [SignaturePlaceholder](/api/index/interfaces/signatureplaceholder/) * [SignerCredentials](/api/index/interfaces/signercredentials/) * [StyledRenderOptions](/api/index/interfaces/styledrenderoptions/) * [SvgWriteOptions](/api/index/interfaces/svgwriteoptions/) * [TextLineItem](/api/index/interfaces/textlineitem/) * [WriteOptions](/api/index/interfaces/writeoptions/) * [WriteResult](/api/index/interfaces/writeresult/) ## Type Aliases [Section titled “Type Aliases”](#type-aliases) * [FamilyKey](/api/index/type-aliases/familykey/) * [Feature](/api/index/type-aliases/feature/) * [FetchLike](/api/index/type-aliases/fetchlike/) * [FontAnswer](/api/index/type-aliases/fontanswer/) * [FontVariant](/api/index/type-aliases/fontvariant/) * [GlyphSeg](/api/index/type-aliases/glyphseg/) * [KnownFeature](/api/index/type-aliases/knownfeature/) * [LossReport](/api/index/type-aliases/lossreport/) * [LossSeverity](/api/index/type-aliases/lossseverity/) * [PageItem](/api/index/type-aliases/pageitem/) * [Pt](/api/index/type-aliases/pt/) * [ReamTarget](/api/index/type-aliases/reamtarget/) * [ResourceId](/api/index/type-aliases/resourceid/) * [ScriptKey](/api/index/type-aliases/scriptkey/) * [StreamFilter](/api/index/type-aliases/streamfilter/) * [StreamFilters](/api/index/type-aliases/streamfilters/) * [SupportedLanguage](/api/index/type-aliases/supportedlanguage/) ## Variables [Section titled “Variables”](#variables) * [docxReader](/api/index/variables/docxreader/) * [docxWriter](/api/index/variables/docxwriter/) * [FEATURES](/api/index/variables/features/) * [htmlWriter](/api/index/variables/htmlwriter/) * [markdownWriter](/api/index/variables/markdownwriter/) * [NO\_FONT](/api/index/variables/no_font/) * [svgWriter](/api/index/variables/svgwriter/) * [xlsxReader](/api/index/variables/xlsxreader/) ## Functions [Section titled “Functions”](#functions) * [callerFontProvider](/api/index/functions/callerfontprovider/) * [chainProviders](/api/index/functions/chainproviders/) * [createConverter](/api/index/functions/createconverter/) * [createHyphenator](/api/index/functions/createhyphenator/) * [createLanguageHyphenator](/api/index/functions/createlanguagehyphenator/) * [eighthPtToPt](/api/index/functions/eighthpttopt/) * [embeddedDocFontProvider](/api/index/functions/embeddeddocfontprovider/) * [emuToPt](/api/index/functions/emutopt/) * [fetchFontSet](/api/index/functions/fetchfontset/) * [formatLoss](/api/index/functions/formatloss/) * [getHyphenator](/api/index/functions/gethyphenator/) * [halfPtToPt](/api/index/functions/halfpttopt/) * [inchToPt](/api/index/functions/inchtopt/) * [isEmbeddingRestricted](/api/index/functions/isembeddingrestricted/) * [isEncryptedPackage](/api/index/functions/isencryptedpackage/) * [layoutStyledDocument](/api/index/functions/layoutstyleddocument/) * [localFontProvider](/api/index/functions/localfontprovider/) * [mmToPt](/api/index/functions/mmtopt/) * [parseTtf](/api/index/functions/parsettf/) * [pt](/api/index/functions/pt/) * [pxToPt](/api/index/functions/pxtopt/) * [readDocx](/api/index/functions/readdocx/) * [readOs2FsType](/api/index/functions/reados2fstype/) * [readXlsx](/api/index/functions/readxlsx/) * [remoteFontProvider](/api/index/functions/remotefontprovider/) * [renderStyledPdf](/api/index/functions/renderstyledpdf/) * [resolveFamilyKey](/api/index/functions/resolvefamilykey/) * [signPdf](/api/index/functions/signpdf/) * [splitPatternBundle](/api/index/functions/splitpatternbundle/) * [subsetTtf](/api/index/functions/subsetttf/) * [twipsToPt](/api/index/functions/twipstopt/) * [writeDocx](/api/index/functions/writedocx/) * [writeHtml](/api/index/functions/writehtml/) * [writeMarkdown](/api/index/functions/writemarkdown/) * [writeSvg](/api/index/functions/writesvg/)
# ConversionLossError
Defined in: [src/core/ir/loss.ts:46](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/ir/loss.ts#L46) Thrown by strict-mode conversions on the first recorded loss. ## Extends [Section titled “Extends”](#extends) * `Error` ## Constructors [Section titled “Constructors”](#constructors) ### Constructor [Section titled “Constructor”](#constructor) > **new ConversionLossError**(`loss`): `ConversionLossError` Defined in: [src/core/ir/loss.ts:48](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/ir/loss.ts#L48) #### Parameters [Section titled “Parameters”](#parameters) ##### loss [Section titled “loss”](#loss) [`Loss`](/api/index/interfaces/loss/) The first loss that tripped strict mode (retained on the error). #### Returns [Section titled “Returns”](#returns) `ConversionLossError` #### Overrides [Section titled “Overrides”](#overrides) `Error.constructor` ## Properties [Section titled “Properties”](#properties) ### cause? [Section titled “cause?”](#cause) > `optional` **cause?**: `unknown` Defined in: docs/node\_modules/typescript/lib/lib.es2022.error.d.ts:24 #### Inherited from [Section titled “Inherited from”](#inherited-from) `Error.cause` *** ### loss [Section titled “loss”](#loss-1) > `readonly` **loss**: [`Loss`](/api/index/interfaces/loss/) Defined in: [src/core/ir/loss.ts:48](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/ir/loss.ts#L48) The first loss that tripped strict mode (retained on the error). *** ### message [Section titled “message”](#message) > **message**: `string` Defined in: docs/node\_modules/typescript/lib/lib.es5.d.ts:1075 #### Inherited from [Section titled “Inherited from”](#inherited-from-1) `Error.message` *** ### name [Section titled “name”](#name) > **name**: `string` Defined in: docs/node\_modules/typescript/lib/lib.es5.d.ts:1074 #### Inherited from [Section titled “Inherited from”](#inherited-from-2) `Error.name` *** ### stack? [Section titled “stack?”](#stack) > `optional` **stack?**: `string` Defined in: docs/node\_modules/typescript/lib/lib.es5.d.ts:1076 #### Inherited from [Section titled “Inherited from”](#inherited-from-3) `Error.stack`
# FontRegistry
Defined in: [src/core/font/font-registry.ts:54](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/font/font-registry.ts#L54) A registry of parsed font variants. The renderer resolves a `(bold, italic)` request to the closest available face via pickVariant, degrading through `bold → italic → regular` when an exact match is missing. ## Methods [Section titled “Methods”](#methods) ### entries() [Section titled “entries()”](#entries) > **entries**(): `IterableIterator`<\[[`FontVariant`](/api/index/type-aliases/fontvariant/), [`ParsedTtf`](/api/index/interfaces/parsedttf/)]> Defined in: [src/core/font/font-registry.ts:88](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/font/font-registry.ts#L88) Iterate the `[variant, parsed font]` pairs the registry holds. #### Returns [Section titled “Returns”](#returns) `IterableIterator`<\[[`FontVariant`](/api/index/type-aliases/fontvariant/), [`ParsedTtf`](/api/index/interfaces/parsedttf/)]> *** ### hasVariant() [Section titled “hasVariant()”](#hasvariant) > **hasVariant**(`v`): `boolean` Defined in: [src/core/font/font-registry.ts:93](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/font/font-registry.ts#L93) Whether a given variant is present. #### Parameters [Section titled “Parameters”](#parameters) ##### v [Section titled “v”](#v) [`FontVariant`](/api/index/type-aliases/fontvariant/) #### Returns [Section titled “Returns”](#returns-1) `boolean` *** ### resolveByStyle() [Section titled “resolveByStyle()”](#resolvebystyle) > **resolveByStyle**(`bold`, `italic`): `object` Defined in: [src/core/font/font-registry.ts:80](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/font/font-registry.ts#L80) Resolve a style request to the closest available face. #### Parameters [Section titled “Parameters”](#parameters-1) ##### bold [Section titled “bold”](#bold) `boolean` Whether bold was requested. ##### italic [Section titled “italic”](#italic) `boolean` Whether italic was requested. #### Returns [Section titled “Returns”](#returns-2) `object` The chosen variant and its parsed font. ##### parsed [Section titled “parsed”](#parsed) > **parsed**: [`ParsedTtf`](/api/index/interfaces/parsedttf/) ##### variant [Section titled “variant”](#variant) > **variant**: [`FontVariant`](/api/index/type-aliases/fontvariant/) #### Throws [Section titled “Throws”](#throws) Error when the registry has no usable (regular) font. *** ### fromBytes() [Section titled “fromBytes()”](#frombytes) > `static` **fromBytes**(`input`): `FontRegistry` Defined in: [src/core/font/font-registry.ts:63](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/font/font-registry.ts#L63) Parse a set of font bytes into a registry. #### Parameters [Section titled “Parameters”](#parameters-2) ##### input [Section titled “input”](#input) [`FontBytesByVariant`](/api/index/interfaces/fontbytesbyvariant/) The bytes per variant (`regular` required). #### Returns [Section titled “Returns”](#returns-3) `FontRegistry` A registry holding the parsed faces.
# Ream
Defined in: [src/core/converter/ream.ts:192](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/converter/ream.ts#L192) The object face of the library: parse a document once into the format-neutral [FlowDoc](/api/index/interfaces/flowdoc/) interlayer, then convert it to any number of targets without re-reading the source.
```ts
const doc = Ream.parse(bytes); // sniff → reader → FlowDoc
const pdf = await doc.convert('pdf', { fonts });
const svg = await doc.convert('svg', { fonts });
```
It is a thin GRASP Controller: readers parse, `flowRenderOptions` projects the FlowDoc, and layout/emit plus the writers do the work. As a deliberate composition root, importing it pulls in every format module — prefer the per-format functions when bundle size matters more than convenience. The source bytes are retained only for the two source-touching features: docx substitute-font auto-detection and PDF/A-3 `embedSource`. ## Properties [Section titled “Properties”](#properties) ### flow [Section titled “flow”](#flow) > `readonly` **flow**: [`FlowDoc`](/api/index/interfaces/flowdoc/) Defined in: [src/core/converter/ream.ts:206](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/converter/ream.ts#L206) The interlayer — the parsed, format-neutral document tree. *** ### losses [Section titled “losses”](#losses) > `readonly` **losses**: readonly [`Loss`](/api/index/interfaces/loss/)\[] Defined in: [src/core/converter/ream.ts:208](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/converter/ream.ts#L208) Losses recorded while reading the source. *** ### sheet [Section titled “sheet”](#sheet) > `readonly` **sheet**: `SheetDoc` | `undefined` Defined in: [src/core/converter/ream.ts:207](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/converter/ream.ts#L207) The native SpreadsheetML tree when the source is a spreadsheet (xlsx); [Ream.flow](/api/index/classes/ream/#flow) is its projection through the print model. ## Accessors [Section titled “Accessors”](#accessors) ### format [Section titled “format”](#format) #### Get Signature [Section titled “Get Signature”](#get-signature) > **get** **format**(): `string` Defined in: [src/core/converter/ream.ts:267](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/converter/ream.ts#L267) The source format id (`'docx'`, `'xlsx'`, …). ##### Returns [Section titled “Returns”](#returns) `string` ## Methods [Section titled “Methods”](#methods) ### convert() [Section titled “convert()”](#convert) > **convert**(`to`, `options?`): `Promise`<`Uint8Array`<`ArrayBufferLike`>> Defined in: [src/core/converter/ream.ts:279](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/converter/ream.ts#L279) Convert the parsed document to `to` and return just the output bytes. A thin wrapper over [Ream.convertWithReport](/api/index/classes/ream/#convertwithreport) that drops the loss report. #### Parameters [Section titled “Parameters”](#parameters) ##### to [Section titled “to”](#to) [`ReamTarget`](/api/index/type-aliases/reamtarget/) The target format. ##### options? [Section titled “options?”](#options) [`ReamConvertOptions`](/api/index/interfaces/reamconvertoptions/) = `{}` Font resolution and target-specific options. #### Returns [Section titled “Returns”](#returns-1) `Promise`<`Uint8Array`<`ArrayBufferLike`>> The encoded output bytes. *** ### convertWithReport() [Section titled “convertWithReport()”](#convertwithreport) > **convertWithReport**(`to`, `options?`): `Promise`<[`ConvertResult`](/api/index/interfaces/convertresult/)> Defined in: [src/core/converter/ream.ts:296](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/converter/ream.ts#L296) Convert the parsed document to `to`, returning the output bytes together with the accumulated [Loss](/api/index/interfaces/loss/) report (read-time losses plus any added while writing). HTML, Markdown, DOCX and XLSX are produced straight from the interlayer — no layout, no fonts, zero I/O; SVG and PDF run the layout engine and resolve fonts first. #### Parameters [Section titled “Parameters”](#parameters-1) ##### to [Section titled “to”](#to-1) [`ReamTarget`](/api/index/type-aliases/reamtarget/) The target format. `'xlsx'` requires a spreadsheet source. ##### options? [Section titled “options?”](#options-1) [`ReamConvertOptions`](/api/index/interfaces/reamconvertoptions/) = `{}` Font resolution and target-specific options. #### Returns [Section titled “Returns”](#returns-2) `Promise`<[`ConvertResult`](/api/index/interfaces/convertresult/)> The encoded bytes and the loss report. #### Throws [Section titled “Throws”](#throws) Error when `to` is `'xlsx'` but the source has no grid. #### Throws [Section titled “Throws”](#throws-1) ConversionLossError when `options.strict` is set and any loss was recorded. *** ### parse() [Section titled “parse()”](#parse) > `static` **parse**(`bytes`, `options?`): `Ream` Defined in: [src/core/converter/ream.ts:229](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/converter/ream.ts#L229) Sniff the format and parse the bytes once into the [FlowDoc](/api/index/interfaces/flowdoc/) interlayer. #### Parameters [Section titled “Parameters”](#parameters-2) ##### bytes [Section titled “bytes”](#bytes) `Uint8Array` The raw document bytes; the format is detected by sniffing. ##### options? [Section titled “options?”](#options-2) [`ReamParseOptions`](/api/index/interfaces/reamparseoptions/) = `{}` Optional reader-registry override and/or password for an encrypted source. #### Returns [Section titled “Returns”](#returns-3) `Ream` A reusable [Ream](/api/index/classes/ream/) instance. #### Throws [Section titled “Throws”](#throws-2) Error when no registered reader recognizes the bytes. #### Throws [Section titled “Throws”](#throws-3) WrongPasswordError when the bytes are encrypted — an Office package or a PDF — and the password does not open them, or none was given where one is needed.
# ResourceStore
Defined in: [src/core/ir/resources.ts:48](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/ir/resources.ts#L48) A content-addressed store for the IR’s binary payloads (images, fonts). IR trees stay pure JSON and reference bytes by [ResourceId](/api/index/type-aliases/resourceid/); ids derive from the bytes (a synchronous 64-bit FNV-1a), so identical payloads deduplicate for free and equal documents get equal ids — which keeps IR-level diffs and the byte-identical gates meaningful. ## Constructors [Section titled “Constructors”](#constructors) ### Constructor [Section titled “Constructor”](#constructor) > **new ResourceStore**(): `ResourceStore` #### Returns [Section titled “Returns”](#returns) `ResourceStore` ## Accessors [Section titled “Accessors”](#accessors) ### size [Section titled “size”](#size) #### Get Signature [Section titled “Get Signature”](#get-signature) > **get** **size**(): `number` Defined in: [src/core/ir/resources.ts:85](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/ir/resources.ts#L85) The number of distinct resources stored. ##### Returns [Section titled “Returns”](#returns-1) `number` ## Methods [Section titled “Methods”](#methods) ### get() [Section titled “get()”](#get) > **get**(`id`): `Uint8Array`<`ArrayBufferLike`> | `undefined` Defined in: [src/core/ir/resources.ts:70](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/ir/resources.ts#L70) Look up the bytes for an id, or `undefined` when absent. #### Parameters [Section titled “Parameters”](#parameters) ##### id [Section titled “id”](#id) [`ResourceId`](/api/index/type-aliases/resourceid/) #### Returns [Section titled “Returns”](#returns-2) `Uint8Array`<`ArrayBufferLike`> | `undefined` *** ### has() [Section titled “has()”](#has) > **has**(`id`): `boolean` Defined in: [src/core/ir/resources.ts:75](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/ir/resources.ts#L75) Whether an id is present in the store. #### Parameters [Section titled “Parameters”](#parameters-1) ##### id [Section titled “id”](#id-1) [`ResourceId`](/api/index/type-aliases/resourceid/) #### Returns [Section titled “Returns”](#returns-3) `boolean` *** ### ids() [Section titled “ids()”](#ids) > **ids**(): readonly [`ResourceId`](/api/index/type-aliases/resourceid/)\[] Defined in: [src/core/ir/resources.ts:80](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/ir/resources.ts#L80) All stored ids, in insertion order. #### Returns [Section titled “Returns”](#returns-4) readonly [`ResourceId`](/api/index/type-aliases/resourceid/)\[] *** ### put() [Section titled “put()”](#put) > **put**(`bytes`): [`ResourceId`](/api/index/type-aliases/resourceid/) Defined in: [src/core/ir/resources.ts:56](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/ir/resources.ts#L56) Store bytes and return their content-addressed id. Re-putting identical bytes returns the existing id (deduplication); a hash collision with different bytes probes deterministic `~n` suffixes. #### Parameters [Section titled “Parameters”](#parameters-2) ##### bytes [Section titled “bytes”](#bytes) `Uint8Array` #### Returns [Section titled “Returns”](#returns-5) [`ResourceId`](/api/index/type-aliases/resourceid/)
# WrongPasswordError
Defined in: [src/core/crypto/password-error.ts:9](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/crypto/password-error.ts#L9) Thrown when the bytes are encrypted and the password does not open them — the wrong one, or none where one is needed. ## Extends [Section titled “Extends”](#extends) * `Error` ## Constructors [Section titled “Constructors”](#constructors) ### Constructor [Section titled “Constructor”](#constructor) > **new WrongPasswordError**(`message?`): `WrongPasswordError` Defined in: [src/core/crypto/password-error.ts:11](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/crypto/password-error.ts#L11) #### Parameters [Section titled “Parameters”](#parameters) ##### message? [Section titled “message?”](#message) `string` = `'Wrong password for this document'` The message to carry; the default states the failure. #### Returns [Section titled “Returns”](#returns) `WrongPasswordError` #### Overrides [Section titled “Overrides”](#overrides) `Error.constructor` ## Properties [Section titled “Properties”](#properties) ### cause? [Section titled “cause?”](#cause) > `optional` **cause?**: `unknown` Defined in: docs/node\_modules/typescript/lib/lib.es2022.error.d.ts:24 #### Inherited from [Section titled “Inherited from”](#inherited-from) `Error.cause` *** ### message [Section titled “message”](#message-1) > **message**: `string` Defined in: docs/node\_modules/typescript/lib/lib.es5.d.ts:1075 #### Inherited from [Section titled “Inherited from”](#inherited-from-1) `Error.message` *** ### name [Section titled “name”](#name) > **name**: `string` Defined in: docs/node\_modules/typescript/lib/lib.es5.d.ts:1074 #### Inherited from [Section titled “Inherited from”](#inherited-from-2) `Error.name` *** ### stack? [Section titled “stack?”](#stack) > `optional` **stack?**: `string` Defined in: docs/node\_modules/typescript/lib/lib.es5.d.ts:1076 #### Inherited from [Section titled “Inherited from”](#inherited-from-3) `Error.stack`
# callerFontProvider
> **callerFontProvider**(`fonts`): [`FontProvider`](/api/index/interfaces/fontprovider/) Defined in: [src/core/fonts/provider.ts:95](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/fonts/provider.ts#L95) Caller-supplied bytes — answers every request, whatever family or writing system it names (the caller chose these fonts deliberately), so no provider after it in a chain is ever asked. Falls back through bold/italic → regular like the registry. ## Parameters [Section titled “Parameters”](#parameters) ### fonts [Section titled “fonts”](#fonts) [`FontBytesByVariant`](/api/index/interfaces/fontbytesbyvariant/) ## Returns [Section titled “Returns”](#returns) [`FontProvider`](/api/index/interfaces/fontprovider/)
# chainProviders
> **chainProviders**(`providers`): [`FontProvider`](/api/index/interfaces/fontprovider/) Defined in: [src/core/fonts/provider.ts:69](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/fonts/provider.ts#L69) First byte-level answer wins; ‘none’ falls through to the next provider. ## Parameters [Section titled “Parameters”](#parameters) ### providers [Section titled “providers”](#providers) readonly [`FontProvider`](/api/index/interfaces/fontprovider/)\[] ## Returns [Section titled “Returns”](#returns) [`FontProvider`](/api/index/interfaces/fontprovider/)
# createConverter
> **createConverter**(`opts?`): [`Converter`](/api/index/interfaces/converter/) Defined in: [src/core/converter/facade.ts:157](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/converter/facade.ts#L157) Build a [Converter](/api/index/interfaces/converter/) over a reader registry. The async boundary (font fetching) lives here; readers and writers stay synchronous. ## Parameters [Section titled “Parameters”](#parameters) ### opts? [Section titled “opts?”](#opts) [`CreateConverterOptions`](/api/index/interfaces/createconverteroptions/) = `{}` Optional reader-registry override. ## Returns [Section titled “Returns”](#returns) [`Converter`](/api/index/interfaces/converter/) A converter exposing `readers`, `detect` and `convert`.
# createHyphenator
> **createHyphenator**(`patterns`, `options?`): [`Hyphenator`](/api/index/interfaces/hyphenator/) Defined in: [src/core/hyphenation/liang.ts:89](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/hyphenation/liang.ts#L89) Build a Liang pattern-based [Hyphenator](/api/index/interfaces/hyphenator/) from a pattern list. ## Parameters [Section titled “Parameters”](#parameters) ### patterns [Section titled “patterns”](#patterns) readonly `string`\[] The TeX-style hyphenation patterns (e.g. `"hy3ph"`). ### options? [Section titled “options?”](#options) [`HyphenatorOptions`](/api/index/interfaces/hyphenatoroptions/) = `{}` Left/right minimums and explicit exceptions. ## Returns [Section titled “Returns”](#returns) [`Hyphenator`](/api/index/interfaces/hyphenator/) The hyphenator.
# createLanguageHyphenator
> **createLanguageHyphenator**(`language`, `bundle`): [`Hyphenator`](/api/index/interfaces/hyphenator/) Defined in: [src/core/hyphenation/index.ts:71](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/hyphenation/index.ts#L71) Synchronous variant of [getHyphenator](/api/index/functions/gethyphenator/): build a [Hyphenator](/api/index/interfaces/hyphenator/) from already-loaded pattern strings (useful when patterns are bundled or fetched out-of-band). ## Parameters [Section titled “Parameters”](#parameters) ### language [Section titled “language”](#language) [`SupportedLanguage`](/api/index/type-aliases/supportedlanguage/) The language (selects the left/right minimums). ### bundle [Section titled “bundle”](#bundle) The pattern and optional exception strings. #### exceptions? [Section titled “exceptions?”](#exceptions) `string` #### patterns [Section titled “patterns”](#patterns) `string` ## Returns [Section titled “Returns”](#returns) [`Hyphenator`](/api/index/interfaces/hyphenator/) The hyphenator.
# eighthPtToPt
> **eighthPtToPt**(`eighthPt`): [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/ir/units.ts:45](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/ir/units.ts#L45) Eighths of a point (OOXML border widths, `w:sz` on borders): 8 = 1 pt. ## Parameters [Section titled “Parameters”](#parameters) ### eighthPt [Section titled “eighthPt”](#eighthpt) `number` ## Returns [Section titled “Returns”](#returns) [`Pt`](/api/index/type-aliases/pt/)
# embeddedDocFontProvider
> **embeddedDocFontProvider**(`embedded`): [`FontProvider`](/api/index/interfaces/fontprovider/) Defined in: [src/core/fonts/provider.ts:116](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/fonts/provider.ts#L116) Fonts embedded in the source document itself (docx fontTable), keyed by the normalized family name — an exact-name match, never a substitution. ## Parameters [Section titled “Parameters”](#parameters) ### embedded [Section titled “embedded”](#embedded) `ReadonlyMap`<`string`, [`FontRegistry`](/api/index/classes/fontregistry/)> ## Returns [Section titled “Returns”](#returns) [`FontProvider`](/api/index/interfaces/fontprovider/)
# emuToPt
> **emuToPt**(`emu`): [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/ir/units.ts:50](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/ir/units.ts#L50) English Metric Units (DrawingML): 914400 EMU = 1 inch = 72 pt → 12700 EMU = 1 pt. ## Parameters [Section titled “Parameters”](#parameters) ### emu [Section titled “emu”](#emu) `number` ## Returns [Section titled “Returns”](#returns) [`Pt`](/api/index/type-aliases/pt/)
# fetchFontSet
> **fetchFontSet**(`options?`): `Promise`<[`FontBytesByVariant`](/api/index/interfaces/fontbytesbyvariant/)> Defined in: [src/core/fonts/remote-fonts.ts:645](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/fonts/remote-fonts.ts#L645) Download a full variant set (regular required; bold/italic/bold-italic best-effort) for the open family that best matches the requested name. ## Parameters [Section titled “Parameters”](#parameters) ### options? [Section titled “options?”](#options) [`FetchFontSetOptions`](/api/index/interfaces/fetchfontsetoptions/) = `{}` The family to substitute and an optional fetch override. ## Returns [Section titled “Returns”](#returns) `Promise`<[`FontBytesByVariant`](/api/index/interfaces/fontbytesbyvariant/)> The downloaded font bytes per variant. ## Throws [Section titled “Throws”](#throws) Error when the required regular face cannot be downloaded.
# formatLoss
> **formatLoss**(`loss`): `string` Defined in: [src/core/ir/loss.ts:40](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/ir/loss.ts#L40) Format a [Loss](/api/index/interfaces/loss/) as one human-readable line, e.g. `[degraded] charts at sheet "Q3": gradient flattened`. ## Parameters [Section titled “Parameters”](#parameters) ### loss [Section titled “loss”](#loss) [`Loss`](/api/index/interfaces/loss/) The loss to format. ## Returns [Section titled “Returns”](#returns) `string` The one-line description.
# getHyphenator
> **getHyphenator**(`language`): `Promise`<[`Hyphenator`](/api/index/interfaces/hyphenator/)> Defined in: [src/core/hyphenation/index.ts:48](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/hyphenation/index.ts#L48) Lazily build (and cache) a language’s [Hyphenator](/api/index/interfaces/hyphenator/). The patterns module is dynamically imported the first time a language is requested, so callers that never hyphenate pay no cold-start cost. ## Parameters [Section titled “Parameters”](#parameters) ### language [Section titled “language”](#language) [`SupportedLanguage`](/api/index/type-aliases/supportedlanguage/) The language to load. ## Returns [Section titled “Returns”](#returns) `Promise`<[`Hyphenator`](/api/index/interfaces/hyphenator/)> The cached hyphenator.
# halfPtToPt
> **halfPtToPt**(`halfPt`): [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/ir/units.ts:40](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/ir/units.ts#L40) Half-points (OOXML font sizes, `w:sz`): 2 half-points = 1 pt. ## Parameters [Section titled “Parameters”](#parameters) ### halfPt [Section titled “halfPt”](#halfpt) `number` ## Returns [Section titled “Returns”](#returns) [`Pt`](/api/index/type-aliases/pt/)
# inchToPt
> **inchToPt**(`inches`): [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/ir/units.ts:60](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/ir/units.ts#L60) Inches: 1 inch = 72 pt. ## Parameters [Section titled “Parameters”](#parameters) ### inches [Section titled “inches”](#inches) `number` ## Returns [Section titled “Returns”](#returns) [`Pt`](/api/index/type-aliases/pt/)
# isEmbeddingRestricted
> **isEmbeddingRestricted**(`fsType`): `boolean` Defined in: [src/core/fonts/provider.ts:248](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/fonts/provider.ts#L248) True when the fsType licensing nibble forbids embedding entirely. ## Parameters [Section titled “Parameters”](#parameters) ### fsType [Section titled “fsType”](#fstype) `number` | `undefined` ## Returns [Section titled “Returns”](#returns) `boolean`
# isEncryptedPackage
> **isEncryptedPackage**(`bytes`): `boolean` Defined in: [src/core/crypto/offcrypto.ts:31](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/crypto/offcrypto.ts#L31) Whether the bytes are an OOXML package encrypted per ECMA-376 §2.3. ## Parameters [Section titled “Parameters”](#parameters) ### bytes [Section titled “bytes”](#bytes) `Uint8Array` ## Returns [Section titled “Returns”](#returns) `boolean`
# layoutStyledDocument
> **layoutStyledDocument**(`documentBody`, `documentOptions`): `LaidOutPdfDocument` Defined in: [src/layout/styled-layout.ts:1462](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/layout/styled-layout.ts#L1462) Layout phase (the FlowDoc→PageDoc transform of ir-design §7): body → positioned pages (PageItems), font/image resources, logical structure. Drives the whole pass — numbering and note numbering, per-section geometry, per-block layout, the footnote/endnote/comment tails, then pagination — and returns the LaidOutPdfDocument (the PageDoc plus its PDF companion). ## Parameters [Section titled “Parameters”](#parameters) ### documentBody [Section titled “documentBody”](#documentbody) readonly [`BodyElement`](/api/core/document-model/type-aliases/bodyelement/)\[] The document body the section model partitions. ### documentOptions [Section titled “documentOptions”](#documentoptions) [`StyledRenderOptions`](/api/index/interfaces/styledrenderoptions/) The resolved fonts, styles, section model, and PDF-output toggles. ## Returns [Section titled “Returns”](#returns) `LaidOutPdfDocument` The positioned pages plus the PDF-only PdfLayoutAux companion.
# localFontProvider
> **localFontProvider**(): [`FontProvider`](/api/index/interfaces/fontprovider/) Defined in: [src/core/fonts/provider.ts:263](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/fonts/provider.ts#L263) System fonts via the Local Font Access API (Chromium 103+, permission prompt). OPT-IN by design: never wired in implicitly. Answers only a request that names a family, with the installed face of that exact name. Returns ‘none’ when the API is unavailable (Node, Safari, Firefox), the request names no family (the document default, a writing system), the family is not installed, or the face’s OS/2 fsType marks embedding as restricted — embedding a restricted font into a PDF would violate its license, so the chain falls through to a substitute instead. ## Returns [Section titled “Returns”](#returns) [`FontProvider`](/api/index/interfaces/fontprovider/)
# mmToPt
> **mmToPt**(`mm`): [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/ir/units.ts:65](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/ir/units.ts#L65) Millimetres: 25.4 mm = 1 inch = 72 pt. ## Parameters [Section titled “Parameters”](#parameters) ### mm [Section titled “mm”](#mm) `number` ## Returns [Section titled “Returns”](#returns) [`Pt`](/api/index/type-aliases/pt/)
# parseTtf
> **parseTtf**(`raw`): [`ParsedTtf`](/api/index/interfaces/parsedttf/) Defined in: [src/core/font/ttf-parser.ts:109](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/font/ttf-parser.ts#L109) Parse TrueType / OpenType font bytes into a [ParsedTtf](/api/index/interfaces/parsedttf/). ## Parameters [Section titled “Parameters”](#parameters) ### raw [Section titled “raw”](#raw) `Uint8Array` The font bytes (sfnt: TrueType `0x00010000` or `'true'`, or OpenType-CFF `OTTO`). ## Returns [Section titled “Returns”](#returns) [`ParsedTtf`](/api/index/interfaces/parsedttf/) The parsed metrics, mappings and layout tables. ## Throws [Section titled “Throws”](#throws) Error when the bytes are not a TrueType or OpenType font.
# pt
> **pt**(`value`): [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/ir/units.ts:22](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/ir/units.ts#L22) Brand a raw number as points. The number must already BE points. ## Parameters [Section titled “Parameters”](#parameters) ### value [Section titled “value”](#value) `number` ## Returns [Section titled “Returns”](#returns) [`Pt`](/api/index/type-aliases/pt/)
# pxToPt
> **pxToPt**(`px`): [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/ir/units.ts:55](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/ir/units.ts#L55) CSS reference pixels: 96 px = 1 inch = 72 pt. ## Parameters [Section titled “Parameters”](#parameters) ### px [Section titled “px”](#px) `number` ## Returns [Section titled “Returns”](#returns) [`Pt`](/api/index/type-aliases/pt/)
# readDocx
> **readDocx**(`docx`): [`ReadResult`](/api/index/interfaces/readresult/)<[`FlowDoc`](/api/index/interfaces/flowdoc/)> Defined in: [src/word/docx-reader.ts:100](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/word/docx-reader.ts#L100) Read a `.docx` package into the [FlowDoc](/api/index/interfaces/flowdoc/) interlayer (ir-design §7): the document-derived half of what the converter used to do inline. Parses the main document, styles, numbering, notes, comments, headers/footers, charts, embedded fonts and core properties, runs the body through the stage-6 FlowDoc transforms (list markers then the style cascade), and returns the tree plus any graceful-degradation losses. Caller-supplied conversion options (fonts, PDF/A, signature) stay with the converter/facade. ## Parameters [Section titled “Parameters”](#parameters) ### docx [Section titled “docx”](#docx) `Uint8Array` The raw `.docx` (OPC ZIP) bytes. ## Returns [Section titled “Returns”](#returns) [`ReadResult`](/api/index/interfaces/readresult/)<[`FlowDoc`](/api/index/interfaces/flowdoc/)> The parsed [FlowDoc](/api/index/interfaces/flowdoc/) and the losses recorded while reading.
# readOs2FsType
> **readOs2FsType**(`bytes`): `number` | `undefined` Defined in: [src/core/fonts/provider.ts:230](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/fonts/provider.ts#L230) OS/2 fsType embedding permissions (OpenType §OS/2). Returns undefined when the table is absent/corrupt. The licensing nibble: 0 = installable, 2 = RESTRICTED (no embedding), 4 = preview & print, 8 = editable. ## Parameters [Section titled “Parameters”](#parameters) ### bytes [Section titled “bytes”](#bytes) `Uint8Array` ## Returns [Section titled “Returns”](#returns) `number` | `undefined`
# readXlsx
> **readXlsx**(`xlsx`, `options?`): [`ReadResult`](/api/index/interfaces/readresult/)<[`FlowDoc`](/api/index/interfaces/flowdoc/)> Defined in: [src/excel/xlsx-reader.ts:135](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/excel/xlsx-reader.ts#L135) Read a `.xlsx` and project it to a [FlowDoc](/api/index/interfaces/flowdoc/) in one step: readXlsxToSheetDoc then projectSheetDoc. Parsing itself is lossless — SpreadsheetML maps cleanly onto the sheet IR. The losses come from the projection: the print model’s defence-in-depth caps (grid size, per-sheet text budget, sparkline range) clip pathological sheets, and each clip is reported rather than applied in silence. ## Parameters [Section titled “Parameters”](#parameters) ### xlsx [Section titled “xlsx”](#xlsx) `Uint8Array` The `.xlsx` (OPC ZIP) bytes. ### options? [Section titled “options?”](#options) `ProjectSheetOptions` = `{}` Projection knobs (the W9 reference date). ## Returns [Section titled “Returns”](#returns) [`ReadResult`](/api/index/interfaces/readresult/)<[`FlowDoc`](/api/index/interfaces/flowdoc/)> The flow document plus whatever the projection had to clip.
# remoteFontProvider
> **remoteFontProvider**(`options?`): [`FontProvider`](/api/index/interfaces/fontprovider/) Defined in: [src/core/fonts/provider.ts:160](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/fonts/provider.ts#L160) Open CDN substitutes (Arimo / Tinos / Cousine / Carlito / Caladea — the LibreOffice metric-compatible mapping), and the Noto face of a writing system they cannot draw. Always answers a family request; the chain reports it as a substitution. A family that is a curated key itself (`'notoserif'`) is that substitute. A `script` request is answered with that writing system’s regular face, or [NO\_FONT](/api/index/variables/no_font/) when it cannot be downloaded. A family’s set is shared by every request for it, those made while the download is in flight included, and a whole set is downloaded once per provider. A set whose regular face cannot be downloaded rejects `resolve` with [fetchFontSet](/api/index/functions/fetchfontset/)’s error rather than answering [NO\_FONT](/api/index/variables/no_font/): this is the chain’s last resort, and a chain that answers none sends the conversion to the auto-download path, which records no substitution. The failed set is not kept, so the next request asks the network again. Nor is a set kept that came without a bold or italic face. The requests that waited on it fall back to the faces it has, and the next request assembles the set anew: a face the network lost is asked for again, and one the CDN answered with an HTTP error is not, since the download cache beneath [fetchFontSet](/api/index/functions/fetchfontset/) remembers it as missing. ## Parameters [Section titled “Parameters”](#parameters) ### options? [Section titled “options?”](#options) An injectable `fetch` (defaults to the global one). #### fetch? [Section titled “fetch?”](#fetch) [`FetchLike`](/api/index/type-aliases/fetchlike/) ## Returns [Section titled “Returns”](#returns) [`FontProvider`](/api/index/interfaces/fontprovider/) The `'remote'` provider.
# renderStyledPdf
> **renderStyledPdf**(`body`, `options`): `Uint8Array` Defined in: [src/pdf/styled-page-renderer.ts:19](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/pdf/styled-page-renderer.ts#L19) Render a body to a PDF: lay it out, then emit it over a fresh PdfDocument. The byte-stable synchronous path. ## Parameters [Section titled “Parameters”](#parameters) ### body [Section titled “body”](#body) readonly [`BodyElement`](/api/core/document-model/type-aliases/bodyelement/)\[] ### options [Section titled “options”](#options) [`StyledRenderOptions`](/api/index/interfaces/styledrenderoptions/) ## Returns [Section titled “Returns”](#returns) `Uint8Array` ## Throws [Section titled “Throws”](#throws) Error when `options.encrypt` is set — encryption requires the async renderStyledPdfEncrypted path (WebCrypto).
# resolveFamilyKey
> **resolveFamilyKey**(`name`): [`FamilyKey`](/api/index/type-aliases/familykey/) Defined in: [src/core/fonts/remote-fonts.ts:564](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/fonts/remote-fonts.ts#L564) The curated substitute for a family name — resolveFamilyStyle without the face it also carries. ## Parameters [Section titled “Parameters”](#parameters) ### name [Section titled “name”](#name) `string` | `undefined` The referenced family name (case-insensitive); empty ⇒ Arimo. ## Returns [Section titled “Returns”](#returns) [`FamilyKey`](/api/index/type-aliases/familykey/) The chosen [FamilyKey](/api/index/type-aliases/familykey/).
# signPdf
> **signPdf**(`pdf`, `cred`): `Promise`<`Uint8Array`<`ArrayBufferLike`>> Defined in: [src/pdf/signature.ts:179](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/pdf/signature.ts#L179) Sign a PDF that already carries a signature placeholder (from addSignaturePlaceholder). Computes the real `/ByteRange`, hashes the covered bytes (SHA-256), builds the detached PKCS#7/CMS, and writes it into the reserved `/Contents` hole — leaving every other byte untouched. ## Parameters [Section titled “Parameters”](#parameters) ### pdf [Section titled “pdf”](#pdf) `Uint8Array` The placeholder-bearing PDF bytes. ### cred [Section titled “cred”](#cred) [`SignerCredentials`](/api/index/interfaces/signercredentials/) The signer’s certificate, key and algorithm. ## Returns [Section titled “Returns”](#returns) `Promise`<`Uint8Array`<`ArrayBufferLike`>> A new byte array with the real ByteRange and signature spliced in. ## Throws [Section titled “Throws”](#throws) Error when no placeholder is found, it is malformed, WebCrypto is unavailable, or the signature exceeds the reserved `/Contents` size.
# splitPatternBundle
> **splitPatternBundle**(`bundle`): `string`\[] Defined in: [src/core/hyphenation/liang.ts:156](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/hyphenation/liang.ts#L156) Split a TeX-style pattern bundle (a whitespace-separated string) into the pattern array [createHyphenator](/api/index/functions/createhyphenator/) expects. ## Parameters [Section titled “Parameters”](#parameters) ### bundle [Section titled “bundle”](#bundle) `string` The whitespace-separated patterns. ## Returns [Section titled “Returns”](#returns) `string`\[] The pattern array (empty entries removed).
# subsetTtf
> **subsetTtf**(`parsed`, `usedGids`): `Uint8Array` Defined in: [src/core/font/ttf-subset.ts:65](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/font/ttf-subset.ts#L65) Subset a TrueType font to the glyphs in `usedGids` (plus their composite components and GID 0). All tables are kept intact so the CIDFontType2 `/CIDToGIDMap /Identity` contract holds; only `glyf`/`loca` are rebuilt, with unused glyphs zero-length. ## Parameters [Section titled “Parameters”](#parameters) ### parsed [Section titled “parsed”](#parsed) [`ParsedTtf`](/api/index/interfaces/parsedttf/) The parsed source font (must have `glyf` + `loca`). ### usedGids [Section titled “usedGids”](#usedgids) `Iterable`<`number`> The glyph ids actually used. ## Returns [Section titled “Returns”](#returns) `Uint8Array` The subset font bytes. ## Throws [Section titled “Throws”](#throws) Error when the font has no `glyf`/`loca` (e.g. a CFF/OTF font).
# twipsToPt
> **twipsToPt**(`twips`): [`Pt`](/api/index/type-aliases/pt/) Defined in: [src/core/ir/units.ts:35](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/core/ir/units.ts#L35) ## Parameters [Section titled “Parameters”](#parameters) ### twips [Section titled “twips”](#twips) `number` ## Returns [Section titled “Returns”](#returns) [`Pt`](/api/index/type-aliases/pt/)
# writeDocx
> **writeDocx**(`flow`): [`WriteResult`](/api/index/interfaces/writeresult/) Defined in: [src/word/docx-writer.ts:307](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/word/docx-writer.ts#L307) Serialize a [FlowDoc](/api/index/interfaces/flowdoc/) to a WordprocessingML package (E-DOCX) — the inverse of the docx reader. A flow medium with zero layout and zero I/O: the body’s resolved properties are written as direct (denormalized) formatting, so the round-trip is semantic, not byte-for-byte. Emits the main document plus numbering, footnotes/endnotes, comments (+ commentsExtended), per-section headers/footers, charts and media parts; anything not yet serialized is reported as a [Loss](/api/index/interfaces/loss/). ## Parameters [Section titled “Parameters”](#parameters) ### flow [Section titled “flow”](#flow) [`FlowDoc`](/api/index/interfaces/flowdoc/) The interlayer to write back. ## Returns [Section titled “Returns”](#returns) [`WriteResult`](/api/index/interfaces/writeresult/) The encoded `.docx` bytes and the loss report.
# writeHtml
> **writeHtml**(`source`): [`WriteResult`](/api/index/interfaces/writeresult/) Defined in: [src/html/html-writer.ts:117](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/html/html-writer.ts#L117) Render a [FlowDoc](/api/index/interfaces/flowdoc/) to a self-contained HTML document (ir-design §7). A flow medium: no pagination, no layout engine and no fonts to embed, so this is a pure, zero-I/O transform. `flow.body` already carries FINAL effective properties (the Stage-6 contract), so values map straight to CSS; every read still routes through the cascade resolver over the empty sheet, a memoized identity on reader output. Charts and shapes emit as inline SVG; deliberately out of scope (reported as losses): inline math and headers/footers (no fixed pages to band them onto). Page-break hints map to CSS `break-before`. ## Parameters [Section titled “Parameters”](#parameters) ### source [Section titled “source”](#source) [`FlowDoc`](/api/index/interfaces/flowdoc/) The format-neutral interlayer document tree. ## Returns [Section titled “Returns”](#returns) [`WriteResult`](/api/index/interfaces/writeresult/) The encoded HTML bytes plus the recorded [Loss](/api/index/interfaces/loss/) list.
# writeMarkdown
> **writeMarkdown**(`flow`, `options?`): [`WriteResult`](/api/index/interfaces/writeresult/) Defined in: [src/markdown/markdown-writer.ts:86](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/markdown/markdown-writer.ts#L86) Render a [FlowDoc](/api/index/interfaces/flowdoc/) to GitHub-Flavored Markdown (ir-design §7). A flow medium: no pagination, no layout engine and no fonts, so this is a pure, zero-I/O transform. Markdown says far less than the document model does — alignment, indents, colour, font metrics, tab stops and page geometry have no expression at all — so those are dropped and reported as [Loss](/api/index/interfaces/loss/) entries, deduplicated so one recurring omission reports once. ## Parameters [Section titled “Parameters”](#parameters) ### flow [Section titled “flow”](#flow) [`FlowDoc`](/api/index/interfaces/flowdoc/) The format-neutral interlayer document tree. ### options? [Section titled “options?”](#options) [`MarkdownWriteOptions`](/api/index/interfaces/markdownwriteoptions/) = `{}` Picture handling; see [MarkdownWriteOptions](/api/index/interfaces/markdownwriteoptions/). ## Returns [Section titled “Returns”](#returns) [`WriteResult`](/api/index/interfaces/writeresult/) The encoded Markdown bytes plus the recorded [Loss](/api/index/interfaces/loss/) list.
# writeSvg
> **writeSvg**(`laid`, `opts?`): [`WriteResult`](/api/index/interfaces/writeresult/) Defined in: [src/svg/svg-writer.ts:53](https://github.com/alex-krassavin/reamkit/blob/e3129870038c308ac93aac6b2f10a70eb6eec62f/src/svg/svg-writer.ts#L53) Render a [LaidOutDocument](/api/index/interfaces/laidoutdocument/) to a single SVG preview (ir-design §7 / stage 6). Written purely against the PageDoc schema; knows nothing about OOXML or the PDF writer. PageItem coordinates are already top-left/y-down — SVG’s own frame — so they are emitted verbatim. Pages stack vertically in one `