diff --git a/api/classes/index.AbstractNumbering.html b/api/classes/index.AbstractNumbering.html
index b8c9965b10..28ec5dd87d 100644
--- a/api/classes/index.AbstractNumbering.html
+++ b/api/classes/index.AbstractNumbering.html
@@ -35,7 +35,7 @@ Each abstract definition can contain up to 9 levels.
diff --git a/api/classes/index.Body.html b/api/classes/index.Body.html
index 3c9f2d59db..818ddb490a 100644
--- a/api/classes/index.Body.html
+++ b/api/classes/index.Body.html
@@ -37,7 +37,7 @@ section. The last section's properties are stored as a direct child of the body
diff --git a/api/classes/index.Bookmark.html b/api/classes/index.Bookmark.html
index e6b5db82be..fde3060e49 100644
--- a/api/classes/index.Bookmark.html
+++ b/api/classes/index.Bookmark.html
@@ -31,7 +31,7 @@ of a start marker, content, and an end marker.
diff --git a/api/classes/index.BookmarkEnd.html b/api/classes/index.BookmarkEnd.html
index d7aff8f58a..5b57fbe4b2 100644
--- a/api/classes/index.BookmarkEnd.html
+++ b/api/classes/index.BookmarkEnd.html
@@ -35,7 +35,7 @@ taken from bookmarkUniqueNumericId (see BookmarkStart)
diff --git a/api/classes/index.BookmarkStart.html b/api/classes/index.BookmarkStart.html
index 7ca3ab2c4d..aa9c7364b1 100644
--- a/api/classes/index.BookmarkStart.html
+++ b/api/classes/index.BookmarkStart.html
@@ -37,7 +37,7 @@ same as a Bookmark's.
diff --git a/api/classes/index.CellMerge.html b/api/classes/index.CellMerge.html
index 2c80cf9a2a..49a0afc304 100644
--- a/api/classes/index.CellMerge.html
+++ b/api/classes/index.CellMerge.html
@@ -31,7 +31,7 @@ the intermediate object format used by the xml serialization library.
diff --git a/api/classes/index.CellMergeAttributes.html b/api/classes/index.CellMergeAttributes.html
index 173a76a81a..a5d18706a2 100644
--- a/api/classes/index.CellMergeAttributes.html
+++ b/api/classes/index.CellMergeAttributes.html
@@ -30,7 +30,7 @@ can define an xmlKeys map to specify the transformation.
diff --git a/api/classes/index.CheckBoxSymbolElement.html b/api/classes/index.CheckBoxSymbolElement.html
index 1792d0fc0e..d9e4e648aa 100644
--- a/api/classes/index.CheckBoxSymbolElement.html
+++ b/api/classes/index.CheckBoxSymbolElement.html
@@ -33,7 +33,7 @@ specifying the Unicode character and font to render.
diff --git a/api/classes/index.CheckBoxUtil.html b/api/classes/index.CheckBoxUtil.html
index 56b558a64f..19d287acf8 100644
--- a/api/classes/index.CheckBoxUtil.html
+++ b/api/classes/index.CheckBoxUtil.html
@@ -33,7 +33,7 @@ including its checked state and the symbols used for checked and unchecked state
diff --git a/api/classes/index.CommentRangeEnd.html b/api/classes/index.CommentRangeEnd.html
index 79ffc55c0f..d5679e4282 100644
--- a/api/classes/index.CommentRangeEnd.html
+++ b/api/classes/index.CommentRangeEnd.html
@@ -36,7 +36,7 @@ Must be paired with a CommentRangeStart with the same ID.
diff --git a/api/classes/index.CommentRangeStart.html b/api/classes/index.CommentRangeStart.html
index 233319a44a..4d93b65785 100644
--- a/api/classes/index.CommentRangeStart.html
+++ b/api/classes/index.CommentRangeStart.html
@@ -36,7 +36,7 @@ Must be paired with a CommentRangeEnd with the same ID.
diff --git a/api/classes/index.CommentReference.html b/api/classes/index.CommentReference.html
index 77d6fb58a6..300dc86766 100644
--- a/api/classes/index.CommentReference.html
+++ b/api/classes/index.CommentReference.html
@@ -36,7 +36,7 @@ It should be placed after the CommentRangeEnd element.
diff --git a/api/classes/index.Comments.html b/api/classes/index.Comments.html
index 4e072587be..4391c379a8 100644
--- a/api/classes/index.Comments.html
+++ b/api/classes/index.Comments.html
@@ -35,7 +35,7 @@ threading is activated and thread data is generated for commentsExtended.xml.
diff --git a/api/classes/index.CommentsIds.html b/api/classes/index.CommentsIds.html
index 9232190c06..204f466845 100644
--- a/api/classes/index.CommentsIds.html
+++ b/api/classes/index.CommentsIds.html
@@ -27,7 +27,7 @@ to a stable w16cid:durableId preserved by Word across edits.
diff --git a/api/classes/index.ConcreteHyperlink.html b/api/classes/index.ConcreteHyperlink.html
index 7970438a79..90eb73c5bf 100644
--- a/api/classes/index.ConcreteHyperlink.html
+++ b/api/classes/index.ConcreteHyperlink.html
@@ -30,7 +30,7 @@ Use InternalHyperlink or ExternalHyperlink for creating hyperlinks in documents.
diff --git a/api/classes/index.DeletedTableCell.html b/api/classes/index.DeletedTableCell.html
index c589f2d53a..4533613210 100644
--- a/api/classes/index.DeletedTableCell.html
+++ b/api/classes/index.DeletedTableCell.html
@@ -31,7 +31,7 @@ the intermediate object format used by the xml serialization library.
diff --git a/api/classes/index.DeletedTableRow.html b/api/classes/index.DeletedTableRow.html
index 233b6d4e49..a0599c6653 100644
--- a/api/classes/index.DeletedTableRow.html
+++ b/api/classes/index.DeletedTableRow.html
@@ -31,7 +31,7 @@ the intermediate object format used by the xml serialization library.
diff --git a/api/classes/index.DocumentDefaults.html b/api/classes/index.DocumentDefaults.html
index 2d70841f81..481c35c8f5 100644
--- a/api/classes/index.DocumentDefaults.html
+++ b/api/classes/index.DocumentDefaults.html
@@ -34,7 +34,7 @@ paragraphs and runs in a document unless overridden by a style or direct formatt
diff --git a/api/classes/index.DrawingPatch.html b/api/classes/index.DrawingPatch.html
index e71f892c51..4ea66038fa 100644
--- a/api/classes/index.DrawingPatch.html
+++ b/api/classes/index.DrawingPatch.html
@@ -27,7 +27,7 @@ is one: it replaces the data of a chart made in Word.
diff --git a/api/classes/index.EndnoteIdReference.html b/api/classes/index.EndnoteIdReference.html
index 0b1a8feff8..d7ed66b608 100644
--- a/api/classes/index.EndnoteIdReference.html
+++ b/api/classes/index.EndnoteIdReference.html
@@ -31,7 +31,7 @@ the intermediate object format used by the xml serialization library.
diff --git a/api/classes/index.EndnoteReferenceRunAttributes.html b/api/classes/index.EndnoteReferenceRunAttributes.html
index 329b0a8335..ce3165711d 100644
--- a/api/classes/index.EndnoteReferenceRunAttributes.html
+++ b/api/classes/index.EndnoteReferenceRunAttributes.html
@@ -30,7 +30,7 @@ can define an xmlKeys map to specify the transformation.
diff --git a/api/classes/index.Endnotes.html b/api/classes/index.Endnotes.html
index d8d1d87095..8fbc294e8e 100644
--- a/api/classes/index.Endnotes.html
+++ b/api/classes/index.Endnotes.html
@@ -31,7 +31,7 @@ the intermediate object format used by the xml serialization library.
diff --git a/api/classes/index.ExternalHyperlink.html b/api/classes/index.ExternalHyperlink.html
index 0ceb6a2c80..c28d142297 100644
--- a/api/classes/index.ExternalHyperlink.html
+++ b/api/classes/index.ExternalHyperlink.html
@@ -37,7 +37,7 @@ is converted to a ConcreteHyperlink with the relationship ID.
diff --git a/api/classes/index.FileChild.html b/api/classes/index.FileChild.html
index 18d8901cc7..db632210a2 100644
--- a/api/classes/index.FileChild.html
+++ b/api/classes/index.FileChild.html
@@ -28,7 +28,7 @@ to the document body. Examples include Paragraph and Table.
diff --git a/api/classes/index.FootNotes.html b/api/classes/index.FootNotes.html
index a1be444aab..4b6f0f9270 100644
--- a/api/classes/index.FootNotes.html
+++ b/api/classes/index.FootNotes.html
@@ -36,7 +36,7 @@ line used when footnotes continue across pages.
diff --git a/api/classes/index.FooterWrapper.html b/api/classes/index.FooterWrapper.html
index 5f07c3b526..1264c8a60b 100644
--- a/api/classes/index.FooterWrapper.html
+++ b/api/classes/index.FooterWrapper.html
@@ -29,7 +29,7 @@ Each section can have multiple footers for different page types.
diff --git a/api/classes/index.FootnoteReference.html b/api/classes/index.FootnoteReference.html
index e819a577ce..ef8a5bee08 100644
--- a/api/classes/index.FootnoteReference.html
+++ b/api/classes/index.FootnoteReference.html
@@ -27,7 +27,7 @@ and the footnote content by using a unique identifier.
diff --git a/api/classes/index.GridSpan.html b/api/classes/index.GridSpan.html
index 982e0e629b..44f3ffb975 100644
--- a/api/classes/index.GridSpan.html
+++ b/api/classes/index.GridSpan.html
@@ -34,7 +34,7 @@ in the table grid. This is used to merge cells horizontally (column span).
diff --git a/api/classes/index.HeaderWrapper.html b/api/classes/index.HeaderWrapper.html
index 46b9aea47e..239c9aa8cb 100644
--- a/api/classes/index.HeaderWrapper.html
+++ b/api/classes/index.HeaderWrapper.html
@@ -29,7 +29,7 @@ Each section can have multiple headers for different page types.
diff --git a/api/classes/index.HpsMeasureElement.html b/api/classes/index.HpsMeasureElement.html
index acb90f77dd..52ecd723e7 100644
--- a/api/classes/index.HpsMeasureElement.html
+++ b/api/classes/index.HpsMeasureElement.html
@@ -33,7 +33,7 @@ Values can be specified as numbers (interpreted as half-points) or with explicit
diff --git a/api/classes/index.IgnoreIfEmptyXmlComponent.html b/api/classes/index.IgnoreIfEmptyXmlComponent.html
index 24ef030c45..3701c8d531 100644
--- a/api/classes/index.IgnoreIfEmptyXmlComponent.html
+++ b/api/classes/index.IgnoreIfEmptyXmlComponent.html
@@ -39,7 +39,7 @@ to be excluded from the output.
diff --git a/api/classes/index.ImageRun.html b/api/classes/index.ImageRun.html
index e551580694..970025c4a1 100644
--- a/api/classes/index.ImageRun.html
+++ b/api/classes/index.ImageRun.html
@@ -33,7 +33,7 @@ including JPG, PNG, GIF, BMP, and SVG. Optionally wraps the run in
diff --git a/api/classes/index.ImportedXmlComponent.html b/api/classes/index.ImportedXmlComponent.html
index 07dabb727c..77259ba1f5 100644
--- a/api/classes/index.ImportedXmlComponent.html
+++ b/api/classes/index.ImportedXmlComponent.html
@@ -30,7 +30,7 @@ templates or when you need to include pre-existing XML fragments.
diff --git a/api/classes/index.InitializableXmlComponent.html b/api/classes/index.InitializableXmlComponent.html
index 8ff76133bd..6b23d00f3e 100644
--- a/api/classes/index.InitializableXmlComponent.html
+++ b/api/classes/index.InitializableXmlComponent.html
@@ -30,7 +30,7 @@ create a new component that shares or extends the children of an existing compon
diff --git a/api/classes/index.InsertedTableCell.html b/api/classes/index.InsertedTableCell.html
index 90e1e5fd1f..f7537cf592 100644
--- a/api/classes/index.InsertedTableCell.html
+++ b/api/classes/index.InsertedTableCell.html
@@ -31,7 +31,7 @@ the intermediate object format used by the xml serialization library.
diff --git a/api/classes/index.InsertedTableRow.html b/api/classes/index.InsertedTableRow.html
index e1f21c7cc5..3d81cb5114 100644
--- a/api/classes/index.InsertedTableRow.html
+++ b/api/classes/index.InsertedTableRow.html
@@ -31,7 +31,7 @@ the intermediate object format used by the xml serialization library.
diff --git a/api/classes/index.InsertedTextRun.html b/api/classes/index.InsertedTextRun.html
index 4eec3f2d8b..ce00f570ea 100644
--- a/api/classes/index.InsertedTextRun.html
+++ b/api/classes/index.InsertedTextRun.html
@@ -37,7 +37,7 @@ made the insertion and when.
diff --git a/api/classes/index.InternalHyperlink.html b/api/classes/index.InternalHyperlink.html
index 69ec59aa54..8b7d33513d 100644
--- a/api/classes/index.InternalHyperlink.html
+++ b/api/classes/index.InternalHyperlink.html
@@ -36,7 +36,7 @@ The bookmark must exist in the document for the hyperlink to function.
diff --git a/api/classes/index.LastRenderedPageBreak.html b/api/classes/index.LastRenderedPageBreak.html
index 33c34f01f9..3c2e388c08 100644
--- a/api/classes/index.LastRenderedPageBreak.html
+++ b/api/classes/index.LastRenderedPageBreak.html
@@ -23,7 +23,7 @@ This is typically generated by Word and not created manually.
diff --git a/api/classes/index.MathDegree.html b/api/classes/index.MathDegree.html
index 098de39aff..d9871ea095 100644
--- a/api/classes/index.MathDegree.html
+++ b/api/classes/index.MathDegree.html
@@ -28,7 +28,7 @@ For square roots, this element is typically hidden.
diff --git a/api/classes/index.MathFunctionName.html b/api/classes/index.MathFunctionName.html
index 6775946a2a..ec9a7cf40e 100644
--- a/api/classes/index.MathFunctionName.html
+++ b/api/classes/index.MathFunctionName.html
@@ -28,7 +28,7 @@ that appears before the function argument.
diff --git a/api/classes/index.MathFunctionProperties.html b/api/classes/index.MathFunctionProperties.html
index ae1bdc5dd1..0054f3ac6b 100644
--- a/api/classes/index.MathFunctionProperties.html
+++ b/api/classes/index.MathFunctionProperties.html
@@ -28,7 +28,7 @@ such as function name alignment and spacing.
diff --git a/api/classes/index.MathLimitUpper.html b/api/classes/index.MathLimitUpper.html
index 3eb3f8575b..c2bb5b463b 100644
--- a/api/classes/index.MathLimitUpper.html
+++ b/api/classes/index.MathLimitUpper.html
@@ -36,7 +36,7 @@ commonly used for mathematical notation like lim with conditions above.
diff --git a/api/classes/index.MathPreSubSuperScript.html b/api/classes/index.MathPreSubSuperScript.html
index d32e395ef9..d2a79d82f5 100644
--- a/api/classes/index.MathPreSubSuperScript.html
+++ b/api/classes/index.MathPreSubSuperScript.html
@@ -36,7 +36,7 @@ positioned before (to the left of) the base, commonly used in tensor notation.
diff --git a/api/classes/index.MathRadicalProperties.html b/api/classes/index.MathRadicalProperties.html
index 6f953161d1..55c63c08cf 100644
--- a/api/classes/index.MathRadicalProperties.html
+++ b/api/classes/index.MathRadicalProperties.html
@@ -28,7 +28,7 @@ such as whether to hide the degree (for square roots).
diff --git a/api/classes/index.MathRun.html b/api/classes/index.MathRun.html
index 6143f83e19..6ed253af29 100644
--- a/api/classes/index.MathRun.html
+++ b/api/classes/index.MathRun.html
@@ -36,7 +36,7 @@ similar to how Run contains text in regular paragraphs.
diff --git a/api/classes/index.MathSubSuperScript.html b/api/classes/index.MathSubSuperScript.html
index 349da95818..87504cdec4 100644
--- a/api/classes/index.MathSubSuperScript.html
+++ b/api/classes/index.MathSubSuperScript.html
@@ -36,7 +36,7 @@ commonly used for tensor notation or indexed variables with exponents.
diff --git a/api/classes/index.Media.html b/api/classes/index.Media.html
index bff8a9a2b4..5b2b5ee3e1 100644
--- a/api/classes/index.Media.html
+++ b/api/classes/index.Media.html
@@ -24,7 +24,7 @@ is stored with a unique key for retrieval.
diff --git a/api/classes/index.NextAttributeComponent.html b/api/classes/index.NextAttributeComponent.html
index 3b2d166c77..fe581faef8 100644
--- a/api/classes/index.NextAttributeComponent.html
+++ b/api/classes/index.NextAttributeComponent.html
@@ -34,7 +34,7 @@ This gives more control but is more verbose than XmlAttributeComponent.
diff --git a/api/classes/index.OnOffElement.html b/api/classes/index.OnOffElement.html
index a09bdc9dd5..8176dd49a7 100644
--- a/api/classes/index.OnOffElement.html
+++ b/api/classes/index.OnOffElement.html
@@ -34,7 +34,7 @@ it is explicitly disabled. When the value is true, the attribute is often omitte
diff --git a/api/classes/index.Packer.html b/api/classes/index.Packer.html
index 7581e9724b..b46779347c 100644
--- a/api/classes/index.Packer.html
+++ b/api/classes/index.Packer.html
@@ -26,7 +26,7 @@ of the document structure into OOXML format and compression into a .docx ZIP arc
diff --git a/api/classes/index.PageBorders.html b/api/classes/index.PageBorders.html
index 9396770aab..2803f8bd0e 100644
--- a/api/classes/index.PageBorders.html
+++ b/api/classes/index.PageBorders.html
@@ -34,7 +34,7 @@ including which pages display the borders and how they are positioned.
diff --git a/api/classes/index.PageTextDirection.html b/api/classes/index.PageTextDirection.html
index 6e091ecb73..83091a9090 100644
--- a/api/classes/index.PageTextDirection.html
+++ b/api/classes/index.PageTextDirection.html
@@ -30,7 +30,7 @@ for all pages in a section.
diff --git a/api/classes/index.Paragraph.html b/api/classes/index.Paragraph.html
index 8e212137cd..cc75d27770 100644
--- a/api/classes/index.Paragraph.html
+++ b/api/classes/index.Paragraph.html
@@ -36,7 +36,7 @@ various inline elements such as text runs, images, hyperlinks, and bookmarks.
diff --git a/api/classes/index.ParagraphPropertiesChange.html b/api/classes/index.ParagraphPropertiesChange.html
index c6bb1392de..c861e85686 100644
--- a/api/classes/index.ParagraphPropertiesChange.html
+++ b/api/classes/index.ParagraphPropertiesChange.html
@@ -31,7 +31,7 @@ the intermediate object format used by the xml serialization library.
diff --git a/api/classes/index.ParagraphPropertiesDefaults.html b/api/classes/index.ParagraphPropertiesDefaults.html
index f9be4097fb..a6a5965d7c 100644
--- a/api/classes/index.ParagraphPropertiesDefaults.html
+++ b/api/classes/index.ParagraphPropertiesDefaults.html
@@ -34,7 +34,7 @@ to all paragraphs in the document unless overridden.
diff --git a/api/classes/index.PositionalTab.html b/api/classes/index.PositionalTab.html
index 27b4a12184..badc7aa47f 100644
--- a/api/classes/index.PositionalTab.html
+++ b/api/classes/index.PositionalTab.html
@@ -37,7 +37,7 @@ an exact alignment and position within the paragraph.
diff --git a/api/classes/index.RunPropertiesDefaults.html b/api/classes/index.RunPropertiesDefaults.html
index 876cc1b3ec..664b95d72a 100644
--- a/api/classes/index.RunPropertiesDefaults.html
+++ b/api/classes/index.RunPropertiesDefaults.html
@@ -34,7 +34,7 @@ to all text runs in the document unless overridden by styles or direct formattin
diff --git a/api/classes/index.SectionProperties.html b/api/classes/index.SectionProperties.html
index d595f343c0..bfd4ce5e4d 100644
--- a/api/classes/index.SectionProperties.html
+++ b/api/classes/index.SectionProperties.html
@@ -35,7 +35,7 @@ A document can contain multiple sections with different properties.
diff --git a/api/classes/index.SectionPropertiesChange.html b/api/classes/index.SectionPropertiesChange.html
index 549825bc60..fcf780c3db 100644
--- a/api/classes/index.SectionPropertiesChange.html
+++ b/api/classes/index.SectionPropertiesChange.html
@@ -31,7 +31,7 @@ the intermediate object format used by the xml serialization library.
diff --git a/api/classes/index.SimpleField.html b/api/classes/index.SimpleField.html
index 6f2ca5ad01..ce0847f25a 100644
--- a/api/classes/index.SimpleField.html
+++ b/api/classes/index.SimpleField.html
@@ -40,7 +40,7 @@ Simple fields are typically used for fields that don't require complex nesting.<
diff --git a/api/classes/index.SimpleMailMergeField.html b/api/classes/index.SimpleMailMergeField.html
index f104910e05..6883295059 100644
--- a/api/classes/index.SimpleMailMergeField.html
+++ b/api/classes/index.SimpleMailMergeField.html
@@ -30,7 +30,7 @@ It creates a MERGEFIELD that will be populated with data during mail merge.
diff --git a/api/classes/index.StringContainer.html b/api/classes/index.StringContainer.html
index dbe0131863..9a2487b4ef 100644
--- a/api/classes/index.StringContainer.html
+++ b/api/classes/index.StringContainer.html
@@ -30,7 +30,7 @@ rather than an attribute.
diff --git a/api/classes/index.StringEnumValueElement.html b/api/classes/index.StringEnumValueElement.html
index 0b89a8751d..026f67b48f 100644
--- a/api/classes/index.StringEnumValueElement.html
+++ b/api/classes/index.StringEnumValueElement.html
@@ -33,7 +33,7 @@ type parameter to enforce type safety for enum values.
diff --git a/api/classes/index.StyleForParagraph.html b/api/classes/index.StyleForParagraph.html
index fd58e6cf9d..38835135d6 100644
--- a/api/classes/index.StyleForParagraph.html
+++ b/api/classes/index.StyleForParagraph.html
@@ -35,7 +35,7 @@ run-level properties (font, size, color) for text within the paragraph.
diff --git a/api/classes/index.StyleLevel.html b/api/classes/index.StyleLevel.html
index eea22e45cc..3faa4b07de 100644
--- a/api/classes/index.StyleLevel.html
+++ b/api/classes/index.StyleLevel.html
@@ -20,7 +20,7 @@ custom styles to be included in the table of contents at specific levels.
diff --git a/api/classes/index.Styles.html b/api/classes/index.Styles.html
index bc0bb36aa6..c63bdf9b1e 100644
--- a/api/classes/index.Styles.html
+++ b/api/classes/index.Styles.html
@@ -35,7 +35,7 @@ a way to define consistent formatting across a document.
diff --git a/api/classes/index.TDirection.html b/api/classes/index.TDirection.html
index e9396a23fd..c425113af6 100644
--- a/api/classes/index.TDirection.html
+++ b/api/classes/index.TDirection.html
@@ -34,7 +34,7 @@ useful for creating rotated text or supporting different writing systems.
diff --git a/api/classes/index.Table.html b/api/classes/index.Table.html
index 93d515bb0e..f64b654a0c 100644
--- a/api/classes/index.Table.html
+++ b/api/classes/index.Table.html
@@ -36,7 +36,7 @@ Tables are used to organize content into a grid structure.
diff --git a/api/classes/index.TableCellBorders.html b/api/classes/index.TableCellBorders.html
index 9a52d639ed..9e5d901bae 100644
--- a/api/classes/index.TableCellBorders.html
+++ b/api/classes/index.TableCellBorders.html
@@ -34,7 +34,7 @@ can be configured independently with different styles, colors, and widths.
diff --git a/api/classes/index.TableRow.html b/api/classes/index.TableRow.html
index 6c99066fd6..bdbfa21d38 100644
--- a/api/classes/index.TableRow.html
+++ b/api/classes/index.TableRow.html
@@ -36,7 +36,7 @@ one or more table cells that hold the actual content.
diff --git a/api/classes/index.TableRowProperties.html b/api/classes/index.TableRowProperties.html
index 11c337fdb0..56666f9962 100644
--- a/api/classes/index.TableRowProperties.html
+++ b/api/classes/index.TableRowProperties.html
@@ -30,7 +30,7 @@ whether it can split across pages, and whether it's a header row.
diff --git a/api/classes/index.TableRowPropertiesChange.html b/api/classes/index.TableRowPropertiesChange.html
index 1b7992bf61..6721e3c890 100644
--- a/api/classes/index.TableRowPropertiesChange.html
+++ b/api/classes/index.TableRowPropertiesChange.html
@@ -31,7 +31,7 @@ the intermediate object format used by the xml serialization library.
diff --git a/api/classes/index.VerticalMerge.html b/api/classes/index.VerticalMerge.html
index f5c41a22f1..ce245fd91a 100644
--- a/api/classes/index.VerticalMerge.html
+++ b/api/classes/index.VerticalMerge.html
@@ -35,7 +35,7 @@ This is used to create row spans in tables.
diff --git a/api/classes/index.WpsShapeRun.html b/api/classes/index.WpsShapeRun.html
index 951103cfa7..d4c647e41f 100644
--- a/api/classes/index.WpsShapeRun.html
+++ b/api/classes/index.WpsShapeRun.html
@@ -28,7 +28,7 @@ options for fills, lines, effects and text layout, and can be any of the preset
diff --git a/api/classes/index.XmlAttributeComponent.html b/api/classes/index.XmlAttributeComponent.html
index 3c7e98b3af..d511cdfe84 100644
--- a/api/classes/index.XmlAttributeComponent.html
+++ b/api/classes/index.XmlAttributeComponent.html
@@ -41,7 +41,7 @@ can define an xmlKeys map to specify the transformation.
diff --git a/api/classes/index.XmlComponent.html b/api/classes/index.XmlComponent.html
index 5401e872f9..d17387a74b 100644
--- a/api/classes/index.XmlComponent.html
+++ b/api/classes/index.XmlComponent.html
@@ -129,7 +129,7 @@ the intermediate object format used by the xml serialization library.
diff --git a/api/classes/math.MathBrackets.html b/api/classes/math.MathBrackets.html
index 1bec0457a2..bdd462a914 100644
--- a/api/classes/math.MathBrackets.html
+++ b/api/classes/math.MathBrackets.html
@@ -29,7 +29,7 @@ with what they hold.
diff --git a/api/classes/math.MathLargeOperator.html b/api/classes/math.MathLargeOperator.html
index 7ab992b754..4483981539 100644
--- a/api/classes/math.MathLargeOperator.html
+++ b/api/classes/math.MathLargeOperator.html
@@ -28,7 +28,7 @@ it applies to. MathSum and MathIntegral are two of the
diff --git a/api/classes/math.MathMatrix.html b/api/classes/math.MathMatrix.html
index 12358dea91..019449398a 100644
--- a/api/classes/math.MathMatrix.html
+++ b/api/classes/math.MathMatrix.html
@@ -30,7 +30,7 @@ and Pages centre every column.
diff --git a/api/classes/math.MathPhantom.html b/api/classes/math.MathPhantom.html
index ad53ef2a6a..1c725c6515 100644
--- a/api/classes/math.MathPhantom.html
+++ b/api/classes/math.MathPhantom.html
@@ -28,7 +28,7 @@ line things up with it. Or math that is seen but takes up no room, or less, as <
diff --git a/api/classes/shapes.ShapeCanvasRun.html b/api/classes/shapes.ShapeCanvasRun.html
index 0b960fc14f..2001817f16 100644
--- a/api/classes/shapes.ShapeCanvasRun.html
+++ b/api/classes/shapes.ShapeCanvasRun.html
@@ -35,7 +35,7 @@ written in mc:AlternateContent, with the group as its fallback, unl
diff --git a/api/classes/shapes.ShapeGroupRun.html b/api/classes/shapes.ShapeGroupRun.html
index fe9bca9313..154501841d 100644
--- a/api/classes/shapes.ShapeGroupRun.html
+++ b/api/classes/shapes.ShapeGroupRun.html
@@ -35,7 +35,7 @@ when shapes are moved on a
diff --git a/api/classes/shapes.ShapeRun.html b/api/classes/shapes.ShapeRun.html
index 9f1f8ed379..929e68cfcc 100644
--- a/api/classes/shapes.ShapeRun.html
+++ b/api/classes/shapes.ShapeRun.html
@@ -33,7 +33,7 @@ and arrowheads, and text inside it. It sits inline with text unless floati
diff --git a/api/classes/watermarks.ImageWatermark.html b/api/classes/watermarks.ImageWatermark.html
index 612cb221c5..ddd4b920b6 100644
--- a/api/classes/watermarks.ImageWatermark.html
+++ b/api/classes/watermarks.ImageWatermark.html
@@ -46,7 +46,7 @@ way as an ImageRun.
diff --git a/api/classes/watermarks.TextWatermark.html b/api/classes/watermarks.TextWatermark.html
index 6997edb884..f2969c9332 100644
--- a/api/classes/watermarks.TextWatermark.html
+++ b/api/classes/watermarks.TextWatermark.html
@@ -44,7 +44,7 @@ recognizes it and can remove or replace it through that command.
\n option - causes the field result to be the paragraph number without trailing periods. No information about prior numbered levels is displayed unless it is included as part of the current level.
diff --git a/api/functions/index.convertToXmlComponent.html b/api/functions/index.convertToXmlComponent.html
index 13c865b527..9a3c94f177 100644
--- a/api/functions/index.convertToXmlComponent.html
+++ b/api/functions/index.convertToXmlComponent.html
@@ -36,7 +36,7 @@ of the original XML.
diff --git a/api/functions/index.createEmphasisMark.html b/api/functions/index.createEmphasisMark.html
index beb183e2e9..e1e29fbdee 100644
--- a/api/functions/index.createEmphasisMark.html
+++ b/api/functions/index.createEmphasisMark.html
@@ -37,7 +37,7 @@ text to emphasize it. This is commonly used in East Asian typography.
diff --git a/api/functions/index.createFrameProperties.html b/api/functions/index.createFrameProperties.html
index 6f364f9cf0..9744b1e5c3 100644
--- a/api/functions/index.createFrameProperties.html
+++ b/api/functions/index.createFrameProperties.html
@@ -41,7 +41,7 @@ drop cap effects and various text wrapping options.
diff --git a/api/functions/index.createHorizontalPosition.html b/api/functions/index.createHorizontalPosition.html
index 96369b7b83..d50c823bda 100644
--- a/api/functions/index.createHorizontalPosition.html
+++ b/api/functions/index.createHorizontalPosition.html
@@ -40,7 +40,7 @@ object relative to a base element (page, margin, column, etc.).
diff --git a/api/functions/index.createMathAccentCharacter.html b/api/functions/index.createMathAccentCharacter.html
index 8eb61d117f..29fc2b6ddd 100644
--- a/api/functions/index.createMathAccentCharacter.html
+++ b/api/functions/index.createMathAccentCharacter.html
@@ -31,7 +31,7 @@ such as summation (∑), integral (∫), or product (∏) symbols.
diff --git a/api/functions/index.createMathNAryProperties.html b/api/functions/index.createMathNAryProperties.html
index ef5dc1529b..a48f2376b4 100644
--- a/api/functions/index.createMathNAryProperties.html
+++ b/api/functions/index.createMathNAryProperties.html
@@ -31,7 +31,7 @@ and integrals, including the operator character and limit positioning.
diff --git a/api/functions/index.createMathSubScriptElement.html b/api/functions/index.createMathSubScriptElement.html
index 9a3eeacc11..98076a31b5 100644
--- a/api/functions/index.createMathSubScriptElement.html
+++ b/api/functions/index.createMathSubScriptElement.html
@@ -31,7 +31,7 @@ script objects, and other structures that support subscripts.
diff --git a/api/functions/index.createMathSuperScriptElement.html b/api/functions/index.createMathSuperScriptElement.html
index f53372237d..e468cf2f5e 100644
--- a/api/functions/index.createMathSuperScriptElement.html
+++ b/api/functions/index.createMathSuperScriptElement.html
@@ -31,7 +31,7 @@ script objects, and other structures that support superscripts.
diff --git a/api/functions/index.createPageNumberType.html b/api/functions/index.createPageNumberType.html
index b34a13bd0b..3542a2ade7 100644
--- a/api/functions/index.createPageNumberType.html
+++ b/api/functions/index.createPageNumberType.html
@@ -37,7 +37,7 @@ for all pages in a section.
diff --git a/api/functions/index.createSectionType.html b/api/functions/index.createSectionType.html
index 3b80965889..f6eee75812 100644
--- a/api/functions/index.createSectionType.html
+++ b/api/functions/index.createSectionType.html
@@ -37,7 +37,7 @@ where the new section begins relative to the previous section.
diff --git a/api/functions/index.createTableFloatProperties.html b/api/functions/index.createTableFloatProperties.html
index 5a06e322a3..db0d59b814 100644
--- a/api/functions/index.createTableFloatProperties.html
+++ b/api/functions/index.createTableFloatProperties.html
@@ -38,7 +38,7 @@ The overlap option isn't part of it: the table properties write it as w:tblOverl
diff --git a/api/functions/index.createTableLook.html b/api/functions/index.createTableLook.html
index 795e0a7041..2f8471928b 100644
--- a/api/functions/index.createTableLook.html
+++ b/api/functions/index.createTableLook.html
@@ -34,7 +34,7 @@ styles to apply special formatting to specific regions of the table.
diff --git a/api/functions/index.createTableRowHeight.html b/api/functions/index.createTableRowHeight.html
index 9ca9be8702..0d7d574da5 100644
--- a/api/functions/index.createTableRowHeight.html
+++ b/api/functions/index.createTableRowHeight.html
@@ -38,7 +38,7 @@ determining how the height should be applied.
diff --git a/api/functions/index.createWrapNone.html b/api/functions/index.createWrapNone.html
index 527135939d..1ccc79b109 100644
--- a/api/functions/index.createWrapNone.html
+++ b/api/functions/index.createWrapNone.html
@@ -23,7 +23,7 @@ without wrapping around it.
diff --git a/api/functions/index.createWrapSquare.html b/api/functions/index.createWrapSquare.html
index 66af0b4a12..c60d65ec3a 100644
--- a/api/functions/index.createWrapSquare.html
+++ b/api/functions/index.createWrapSquare.html
@@ -32,7 +32,7 @@ of the drawing on the specified side(s).
diff --git a/api/functions/index.createWrapThrough.html b/api/functions/index.createWrapThrough.html
index 9126597480..b87aa5991e 100644
--- a/api/functions/index.createWrapThrough.html
+++ b/api/functions/index.createWrapThrough.html
@@ -36,7 +36,7 @@ fills any open space inside the drawing, such as the middle of a ring.
diff --git a/api/functions/index.createWrapTight.html b/api/functions/index.createWrapTight.html
index a6c56b6543..3748812bb8 100644
--- a/api/functions/index.createWrapTight.html
+++ b/api/functions/index.createWrapTight.html
@@ -36,7 +36,7 @@ of the drawing rather than its rectangular bounding box.
diff --git a/api/functions/index.dateTimeValue.html b/api/functions/index.dateTimeValue.html
index cf42fcb2fc..14659fefed 100644
--- a/api/functions/index.dateTimeValue.html
+++ b/api/functions/index.dateTimeValue.html
@@ -36,7 +36,7 @@ This matches the xsd:dateTime format required by OOXML.
diff --git a/api/functions/index.fillPartPageNumbers.html b/api/functions/index.fillPartPageNumbers.html
index d18260d01f..608464900b 100644
--- a/api/functions/index.fillPartPageNumbers.html
+++ b/api/functions/index.fillPartPageNumbers.html
@@ -35,7 +35,7 @@ are left as they are
diff --git a/api/functions/index.fillSequenceNumbers.html b/api/functions/index.fillSequenceNumbers.html
index 63e7120e19..b8a2af63ae 100644
--- a/api/functions/index.fillSequenceNumbers.html
+++ b/api/functions/index.fillSequenceNumbers.html
@@ -27,7 +27,7 @@ tables of contents are filled in from its headings, as Word leaves a heading's S
diff --git a/api/functions/index.hpsMeasureValue.html b/api/functions/index.hpsMeasureValue.html
index 0a73895e83..4f2210f197 100644
--- a/api/functions/index.hpsMeasureValue.html
+++ b/api/functions/index.hpsMeasureValue.html
@@ -36,7 +36,7 @@ HPS (half-points) are commonly used for font sizes.
diff --git a/api/functions/index.patchDocument.html b/api/functions/index.patchDocument.html
index 192bfe61d4..75743f5d6a 100644
--- a/api/functions/index.patchDocument.html
+++ b/api/functions/index.patchDocument.html
@@ -42,7 +42,7 @@ the original document structure and optionally the original formatting.
diff --git a/api/functions/index.universalMeasureToTwips.html b/api/functions/index.universalMeasureToTwips.html
index f47f4c57ef..f7a0806e55 100644
--- a/api/functions/index.universalMeasureToTwips.html
+++ b/api/functions/index.universalMeasureToTwips.html
@@ -35,7 +35,7 @@ Strings are converted according to their unit suffix.
diff --git a/api/functions/layout.estimatePageNumbersWith.html b/api/functions/layout.estimatePageNumbersWith.html
index cceb5aed39..ffd310d7ab 100644
--- a/api/functions/layout.estimatePageNumbersWith.html
+++ b/api/functions/layout.estimatePageNumbersWith.html
@@ -32,7 +32,7 @@ options say. Give what it returns to a document as its pageNumbers,
diff --git a/api/functions/layout.layoutDocument.html b/api/functions/layout.layoutDocument.html
index 8c8aef37e0..afc0cb9909 100644
--- a/api/functions/layout.layoutDocument.html
+++ b/api/functions/layout.layoutDocument.html
@@ -40,7 +40,7 @@ text box, it stops, and gives the pages up to there, with why in stoppedAt
diff --git a/api/functions/layout.measureWithPretext.html b/api/functions/layout.measureWithPretext.html
index d27b551140..5ae47bb449 100644
--- a/api/functions/layout.measureWithPretext.html
+++ b/api/functions/layout.measureWithPretext.html
@@ -40,7 +40,7 @@ measures text in another, and Pretext keeps the widths it measured.
diff --git a/api/functions/math.latexToMath.html b/api/functions/math.latexToMath.html
index 0ebec2dba1..a07d6a21af 100644
--- a/api/functions/math.latexToMath.html
+++ b/api/functions/math.latexToMath.html
@@ -44,7 +44,7 @@ cases and aligned equations, with \tag for their numbers. The math
diff --git a/api/interfaces/index.IXmlableObject.html b/api/interfaces/index.IXmlableObject.html
index ed32877471..7efa9bd2d9 100644
--- a/api/interfaces/index.IXmlableObject.html
+++ b/api/interfaces/index.IXmlableObject.html
@@ -31,7 +31,7 @@ to generate the final XML output. Objects typically have a structure like:
diff --git a/api/types/charts.BarChartBaseOptions.html b/api/types/charts.BarChartBaseOptions.html
index 42ce10fe3d..30d93b87e3 100644
--- a/api/types/charts.BarChartBaseOptions.html
+++ b/api/types/charts.BarChartBaseOptions.html
@@ -31,7 +31,7 @@ Default is Office's: -27 for column charts and 0 for bar charts. Stacked bars al
@@ -49,14 +49,14 @@ bar, line or area chart spaces them by date
Sales. 2025: Jan 10, Feb 20.", and none for a decorative chart. An empty description removes it
+
diff --git a/api/types/charts.CategoryChartOptions.html b/api/types/charts.CategoryChartOptions.html
index fd93842fe4..84f7bca02a 100644
--- a/api/types/charts.CategoryChartOptions.html
+++ b/api/types/charts.CategoryChartOptions.html
@@ -59,7 +59,7 @@ in years, are labelled in rows, the groups below their categories
diff --git a/api/types/charts.ChartAxisCrossing.html b/api/types/charts.ChartAxisCrossing.html
index 238f032db0..99e779bce7 100644
--- a/api/types/charts.ChartAxisCrossing.html
+++ b/api/types/charts.ChartAxisCrossing.html
@@ -20,7 +20,7 @@ the value is the category's number, from 1, or when the categories are dates, a
diff --git a/api/types/charts.ChartAxisGroup.html b/api/types/charts.ChartAxisGroup.html
index d54287e5b4..ac318c6261 100644
--- a/api/types/charts.ChartAxisGroup.html
+++ b/api/types/charts.ChartAxisGroup.html
@@ -19,7 +19,7 @@ chart's are along the bottom and the top.
diff --git a/api/types/charts.ChartCategoryGroup.html b/api/types/charts.ChartCategoryGroup.html
index b47a5496a1..1ebfb50375 100644
--- a/api/types/charts.ChartCategoryGroup.html
+++ b/api/types/charts.ChartCategoryGroup.html
@@ -20,7 +20,7 @@ categories, or groups of its own, such as the months of each quarter of each yea
@@ -67,21 +67,21 @@ a point, and where they fit best on a pie. A chart's position is for the series
another way keep Office's, unless their own labels give one
diff --git a/api/types/charts.ChartDataPatchOptions.html b/api/types/charts.ChartDataPatchOptions.html
index 24daa9c9d8..9864fd2596 100644
--- a/api/types/charts.ChartDataPatchOptions.html
+++ b/api/types/charts.ChartDataPatchOptions.html
@@ -19,7 +19,7 @@ series' points, or for a stock chart its prices.
diff --git a/api/types/charts.ChartErrorBarsAmount.html b/api/types/charts.ChartErrorBarsAmount.html
index 12b88f2515..a52a944b00 100644
--- a/api/types/charts.ChartErrorBarsAmount.html
+++ b/api/types/charts.ChartErrorBarsAmount.html
@@ -64,7 +64,7 @@ deviations, or the standard error.
diff --git a/api/types/charts.ChartLineDash.html b/api/types/charts.ChartLineDash.html
index 095d54116b..53b529aec0 100644
--- a/api/types/charts.ChartLineDash.html
+++ b/api/types/charts.ChartLineDash.html
@@ -19,7 +19,7 @@ and so on.
diff --git a/api/types/charts.ChartPointLabel.html b/api/types/charts.ChartPointLabel.html
index 45db40e29f..57298e6615 100644
--- a/api/types/charts.ChartPointLabel.html
+++ b/api/types/charts.ChartPointLabel.html
@@ -19,7 +19,7 @@ format and its font. Anything left out is as the series' labels have it.
diff --git a/api/types/charts.ChartTrendline.html b/api/types/charts.ChartTrendline.html
index 2857f2df23..82865f196c 100644
--- a/api/types/charts.ChartTrendline.html
+++ b/api/types/charts.ChartTrendline.html
@@ -20,7 +20,7 @@ forecast. It is drawn as a dotted line in the series' colour, and has an entry i
@@ -57,7 +57,7 @@ forecast. It is drawn as a dotted line in the series' colour, and has an entry i
along the x axis. Default is 0. Not for moving averages
@@ -73,35 +73,35 @@ the x axis. Default is 0. Not for moving averages
linear, exponential and polynomial trendlines, and above 0 for exponential ones
+
diff --git a/api/types/charts.ChartValueAxis.html b/api/types/charts.ChartValueAxis.html
index 0992fb9121..3727582ff0 100644
--- a/api/types/charts.ChartValueAxis.html
+++ b/api/types/charts.ChartValueAxis.html
@@ -43,7 +43,7 @@ of 0 or less can't be shown. Default is a linear scale
diff --git a/api/types/charts.ComboChartSeriesType.html b/api/types/charts.ComboChartSeriesType.html
index f9a3aefdcb..21231591dd 100644
--- a/api/types/charts.ComboChartSeriesType.html
+++ b/api/types/charts.ComboChartSeriesType.html
@@ -19,7 +19,7 @@ or an area. A chart with series of more than one type is Word's "Combo"
@@ -59,14 +59,14 @@ with undefined, takes the next of the theme's accent colours
one for each slice in the order of the categories, where undefined leaves a slice in. Default is 0
+
diff --git a/api/types/charts.SplitPieChartBaseOptions.html b/api/types/charts.SplitPieChartBaseOptions.html
index 81a60da752..05ea7a0643 100644
--- a/api/types/charts.SplitPieChartBaseOptions.html
+++ b/api/types/charts.SplitPieChartBaseOptions.html
@@ -42,7 +42,7 @@ second pie or a stacked bar, joined to the slice of the pie that stands for them
diff --git a/api/types/index.AttributePayload.html b/api/types/index.AttributePayload.html
index b90d8364d3..c69ee1116c 100644
--- a/api/types/index.AttributePayload.html
+++ b/api/types/index.AttributePayload.html
@@ -21,7 +21,7 @@ control over attribute name mapping.
Specifies the additional length, in EMUs, which shall be added to the bottom edge of the DrawingML object to determine its actual bottom edge including effects.
Specifies the additional length, in EMUs, which shall be added to the left edge of the DrawingML object to determine its actual left edge including effects.
Specifies the additional length, in EMUs, which shall be added to the right edge of the DrawingML object to determine its actual right edge including effects.
Specifies the additional length, in EMUs, which shall be added to the top edge of the DrawingML object to determine its actual top edge including effects.
@@ -63,14 +63,14 @@ name. The page references to a bookmark that isn't in it are left blank.
the first of them on may not be Word's. Nothing of them is written into the document.
+
@@ -88,7 +88,7 @@ those in headers, footers and notes.
in headers and footers only on its pages, show. Those of a section whose number is undefined are left blank.
+
diff --git a/api/types/index.GraphicMediaData.html b/api/types/index.GraphicMediaData.html
index 945d5fe79c..2a8256641b 100644
--- a/api/types/index.GraphicMediaData.html
+++ b/api/types/index.GraphicMediaData.html
@@ -25,7 +25,7 @@ graphic it is. This is how docx/shapes writes its shapes.
diff --git a/api/types/index.IContext.html b/api/types/index.IContext.html
index a894895a49..e1ea4371cf 100644
--- a/api/types/index.IContext.html
+++ b/api/types/index.IContext.html
@@ -18,7 +18,7 @@ during the conversion of components to XML.
diff --git a/api/types/index.ICropOptions.html b/api/types/index.ICropOptions.html
index b6bb7c2078..611b6e08e6 100644
--- a/api/types/index.ICropOptions.html
+++ b/api/types/index.ICropOptions.html
@@ -19,7 +19,7 @@ side of the image.
The grid can define a grid which snaps all East Asian characters to grid positions, but leaves Latin text with its default spacing; a grid which adds the specified character pitch to each character on each row; or a grid which affects only the line pitch for the current section.
Specifies that the paragraph (or at least part of it) should be rendered on the same page as the next paragraph when possible. If multiple paragraphs are to be kept together but they exceed a page, then the set of paragraphs begin on a new page and page breaks are used thereafter as needed.
diff --git a/api/types/index.IRunOptions.html b/api/types/index.IRunOptions.html
index 6f5ad9e544..9d78b79842 100644
--- a/api/types/index.IRunOptions.html
+++ b/api/types/index.IRunOptions.html
@@ -21,7 +21,7 @@ The children property can contain various inline content elements.
diff --git a/api/types/index.IRunStylePropertiesOptions.html b/api/types/index.IRunStylePropertiesOptions.html
index df8ab073bd..bef21ace33 100644
--- a/api/types/index.IRunStylePropertiesOptions.html
+++ b/api/types/index.IRunStylePropertiesOptions.html
@@ -19,7 +19,7 @@ including font, size, bold, italic, underline, color, and other character format
@@ -140,117 +140,117 @@ including font, size, bold, italic, underline, color, and other character format
highlights all the run's text. docx used to write it as w:highlightCs, which is in no schema.
diff --git a/api/types/index.ITableCellBorders.html b/api/types/index.ITableCellBorders.html
index 0eb0e513a8..66557a4273 100644
--- a/api/types/index.ITableCellBorders.html
+++ b/api/types/index.ITableCellBorders.html
@@ -22,7 +22,7 @@ can be specified for top, bottom, left, right, start, and end edges.
@@ -46,7 +46,7 @@ If relativeHorizontalPosition is also specified, then the absoluteHorizontalPosi
If the attribute is omitted, the value is assumed to be zero.
@@ -57,7 +57,7 @@ If relativeVerticalPosition is also specified, then the absoluteVerticalPosition
If the attribute is omitted, the value is assumed to be zero.
@@ -65,7 +65,7 @@ If the attribute is omitted, the value is assumed to be zero.
below the table. The value is in twentieths of a point. If omitted, the value is assumed to be zero.
+
@@ -85,7 +85,7 @@ If omitted, the value is assumed to be page.
to the left of the table. The value is in twentieths of a point. If omitted, the value is assumed to be zero.
+
@@ -121,7 +121,7 @@ inline - the table should be vertically aligned in line with the surrounding tex
top - the table should be vertically aligned to the top edge of the anchor
+
@@ -129,7 +129,7 @@ top - the table should be vertically aligned to the top edge of the anchor
to the right of the table. The value is in twentieths of a point. If omitted, the value is assumed to be zero.
+
@@ -137,7 +137,7 @@ to the right of the table. The value is in twentieths of a point. If omitted, th
above the table. The value is in twentieths of a point. If omitted, the value is assumed to be zero.
+
@@ -88,7 +88,7 @@ When true, horizontal banding (alternating row colors) is disabled.
When false or undefined, horizontal banding is enabled if defined in the table style.
+
@@ -97,7 +97,7 @@ When true, vertical banding (alternating column colors) is disabled.
When false or undefined, vertical banding is enabled if defined in the table style.
+
diff --git a/api/types/index.ITableOfContentsOptions.html b/api/types/index.ITableOfContentsOptions.html
index 52472a6832..905743f9b6 100644
--- a/api/types/index.ITableOfContentsOptions.html
+++ b/api/types/index.ITableOfContentsOptions.html
@@ -23,7 +23,7 @@ Options correspond to field switches in the TOC field code.
@@ -59,7 +59,7 @@ The identifier designated by text in this switch's field-argument corresponds to
Use captionLabelIncludingNumbers (\c) to build a table of captions with labels and numbers.
@@ -85,7 +85,7 @@ the bookmark named by text in this switch's field-argument.
that separate an entry and its page number. The default is a tab with leader dots.
+
@@ -96,21 +96,21 @@ to the style with a style ID of HeadingX (e.g. 1 corresponds to Heading1).
If no heading range is specified, all heading levels used in the document are listed.
+
@@ -119,21 +119,21 @@ Page numbers are omitted from all levels unless a range of entry levels is speci
text in this switch's field-argument. A range is specified as for \l.
+
@@ -168,7 +168,7 @@ with each doublet being a comma-separated set of style name and table of content
text in this switch's field-argument (which is typically a letter).
+
@@ -178,14 +178,14 @@ where startLevel and endLevel are integers, and startLevel has a value equal-to
TC fields that assign entries to lower levels are skipped.
+
@@ -76,64 +76,64 @@ parent cell) when the document is packed, so the table renders the same in every
consumer. Supply explicit values to take full control of the grid.
diff --git a/api/types/index.IThemeColorsOptions.html b/api/types/index.IThemeColorsOptions.html
index 017849eb0a..63f9555879 100644
--- a/api/types/index.IThemeColorsOptions.html
+++ b/api/types/index.IThemeColorsOptions.html
@@ -21,7 +21,7 @@ when the theme's colors change. The colors not given are Office's.
diff --git a/api/types/index.IXmlAttribute.html b/api/types/index.IXmlAttribute.html
index 310b3f8b22..cb59e635de 100644
--- a/api/types/index.IXmlAttribute.html
+++ b/api/types/index.IXmlAttribute.html
@@ -17,7 +17,7 @@
numbers, or booleans, which will be converted to strings in the final XML.
diff --git a/api/types/index.MathRunStyle.html b/api/types/index.MathRunStyle.html
index 64e6aed4b5..4ebe9b30a7 100644
--- a/api/types/index.MathRunStyle.html
+++ b/api/types/index.MathRunStyle.html
@@ -23,7 +23,7 @@
alphabet other than roman is plain unless given a style, as LaTeX draws its alphabets upright.
diff --git a/api/types/index.OutputByType.html b/api/types/index.OutputByType.html
index 539a4d630b..2afc61431f 100644
--- a/api/types/index.OutputByType.html
+++ b/api/types/index.OutputByType.html
@@ -24,7 +24,7 @@ format determines the return type. Based on JSZip's output types.
diff --git a/api/types/index.PageNumberEstimator.html b/api/types/index.PageNumberEstimator.html
index de3fb060c9..b85d4b29b3 100644
--- a/api/types/index.PageNumberEstimator.html
+++ b/api/types/index.PageNumberEstimator.html
@@ -38,7 +38,7 @@ page counts can be written with it.
diff --git a/api/types/index.ParagraphChild.html b/api/types/index.ParagraphChild.html
index ece183537d..a40748db0d 100644
--- a/api/types/index.ParagraphChild.html
+++ b/api/types/index.ParagraphChild.html
@@ -17,7 +17,7 @@ This union type represents all valid inline content elements that can appear
within a paragraph in WordprocessingML.
@@ -57,7 +57,7 @@ when it opens it, unzipped and read as the template is, by its path in the templ
(captureSpacesBetweenElements), as the spaces in a text element are its text
diff --git a/api/types/index.RelationshipType.html b/api/types/index.RelationshipType.html
index 3fbfda0416..ec0ad01dc2 100644
--- a/api/types/index.RelationshipType.html
+++ b/api/types/index.RelationshipType.html
@@ -17,7 +17,7 @@
Each type corresponds to a specific kind of document component or resource.
diff --git a/api/types/index.TableRowsPatch.html b/api/types/index.TableRowsPatch.html
index 47212aded9..f945eb15c0 100644
--- a/api/types/index.TableRowsPatch.html
+++ b/api/types/index.TableRowsPatch.html
@@ -32,7 +32,7 @@ none. The other patches are applied after the rows are repeated, so a placeholde
@@ -55,14 +55,14 @@ A field's patch can repeat rows of a table in the copy in turn, whose fields are
repeated for each part, with its item's fields, and an item without parts has no row
diff --git a/api/types/index.TemplatePageNumberEstimator.html b/api/types/index.TemplatePageNumberEstimator.html
index c1636b9c47..c7f746e613 100644
--- a/api/types/index.TemplatePageNumberEstimator.html
+++ b/api/types/index.TemplatePageNumberEstimator.html
@@ -33,7 +33,7 @@ pages, are written with it.
Specifies the height of the containing block of the shape. Default is 0. It is specified in CSS units or, for elements in a group, in the coordinate system of the parent element.
Specifies the position of the left of the containing block of the shape relative to the element left of it in the flow of the page. Default is 0. It is specified in CSS units or, for elements in a group, in the coordinate system of the parent element. This property shall not be used for shapes anchored inline.
Specifies the position of the bottom of the containing block of the shape relative to the shape anchor. Default is 0. It is specified in CSS units or, for elements in a group, in the coordinate system of the parent element.
Specifies the position of the left of the containing block of the shape relative to the shape anchor. Default is 0. It is specified in CSS units or, for elements in a group, in the coordinate system of the parent element.
Specifies the position of the right of the containing block of the shape relative to the shape anchor. Default is 0. It is specified in CSS units or, for elements in a group, in the coordinate system of the parent element.
Specifies the position of the top of the containing block of the shape relative to the shape anchor. Default is 0. It is specified in CSS units or, for elements in a group, in the coordinate system of the parent element.
Specifies the type of positioning used to place an element. Default is static. When the element is contained inside a group, this property must be absolute.
Specifies relative horizontal position data for objects in WordprocessingML documents. This modifies the mso-position-horizontal property. Default is text.
Specifies relative vertical position data for objects in WordprocessingML documents. This modifies the mso-position-vertical property. Default is text.
Specifies the position of the top of the containing block of the shape relative to the element above it in the flow of the page. Default is 0. It is specified in CSS units or, for elements in a group, in the coordinate system of the parent element. This property shall not be used for shapes anchored inline.
Specifies the width of the containing block of the shape. Default is 0. It is specified in CSS units or, for elements in a group, in the coordinate system of the parent element.
Specifies the distance from the bottom of the shape to the text that wraps around it. Default is 0 pt. Note that this property is different from the CSS margin property, which changes the origin of the shape to include the margin areas. This property does not change the origin.
Specifies the distance from the left side of the shape to the text that wraps around it. Default is 0 pt. Note that this property is different from the CSS margin property, which changes the origin of the shape to include the margin areas. This property does not change the origin.
Specifies the distance from the right side of the shape to the text that wraps around it. Default is 0 pt. Note that this property is different from the CSS margin property, which changes the origin of the shape to include the margin areas. This property does not change the origin.
Specifies the distance from the top of the shape to the text that wraps around it. Default is 0 pt. Note that this property is different from the CSS margin property, which changes the origin of the shape to include the margin areas. This property does not change the origin.
Specifies whether the wrap coordinates were customized by the user. If the wrap coordinates are generated by an editor, this property is true; otherwise they were customized by a user. Default is false.
@@ -45,7 +45,7 @@ file is measured with the upright one. The layout stops at a character a font's
it in another font. A font the document embeds is measured from the document's own file
@@ -60,7 +60,7 @@ nearest to Word's lays it out. It still stops where it has no guess, such as at
is off, so the numbers written are Word's, as near as the layout knows, or blank.
+
@@ -70,7 +70,7 @@ break, and tabs move to their stops, as Word lays them out, and lines are as tal
width tables, so the layout stops at text in a font that isn't in them and isn't given as a file or embedded.
+
How wide the room for the line is: its column, or the page's text, less the paragraph's indents, or the room beside a
-drawing that text flows around. Its text is lined up in it as the paragraph's alignment says. A line with text on both
-sides of a drawing is two lines with the same y, the left first
+drawing that text flows around. Its text is lined up in it as the paragraph's alignment says, but for an equation alone
+in its paragraph, which Word lines up as the equation's own justification says (m:jc, or the document's
+m:defJc), centred unless that says otherwise. A line with text on both sides of a drawing is two lines with the same
+y, the left first
diff --git a/api/types/layout.MeasureWidth.html b/api/types/layout.MeasureWidth.html
index 8c642f59fc..0e00a2cb38 100644
--- a/api/types/layout.MeasureWidth.html
+++ b/api/types/layout.MeasureWidth.html
@@ -33,7 +33,7 @@ between characters and the width of scaled text, which the document's formatting
diff --git a/api/types/shapes.ConnectorEnd.html b/api/types/shapes.ConnectorEnd.html
index 4bf56a1c51..52678681f9 100644
--- a/api/types/shapes.ConnectorEnd.html
+++ b/api/types/shapes.ConnectorEnd.html
@@ -38,7 +38,7 @@ bottom-left corner. On a shape without connection points, the connector ends at
diff --git a/api/types/shapes.CustomShapeGeometry.html b/api/types/shapes.CustomShapeGeometry.html
index bfc21dd7b7..29928578df 100644
--- a/api/types/shapes.CustomShapeGeometry.html
+++ b/api/types/shapes.CustomShapeGeometry.html
@@ -50,7 +50,7 @@ fill the shape. Later paths are drawn over earlier ones
diff --git a/api/types/shapes.CustomShapePath.html b/api/types/shapes.CustomShapePath.html
index e669a53ad6..a6c8a898a9 100644
--- a/api/types/shapes.CustomShapePath.html
+++ b/api/types/shapes.CustomShapePath.html
@@ -20,7 +20,7 @@ own, so paths can overlap without cutting holes in each other.
diff --git a/api/types/shapes.CustomShapePathFill.html b/api/types/shapes.CustomShapePathFill.html
index c1c54f040e..ae2ed112b7 100644
--- a/api/types/shapes.CustomShapePathFill.html
+++ b/api/types/shapes.CustomShapePathFill.html
@@ -19,7 +19,7 @@ fill made lighter or darker, as Word's preset shapes shade the top of a cube or
diff --git a/api/types/shapes.IShapeCanvasOptions.html b/api/types/shapes.IShapeCanvasOptions.html
index c2c0354d11..f0bf9bcdac 100644
--- a/api/types/shapes.IShapeCanvasOptions.html
+++ b/api/types/shapes.IShapeCanvasOptions.html
@@ -64,7 +64,7 @@ The shapes are not scaled.
diff --git a/api/types/shapes.IShapeConnectorOptions.html b/api/types/shapes.IShapeConnectorOptions.html
index 98be3c9516..2c8146b34f 100644
--- a/api/types/shapes.IShapeConnectorOptions.html
+++ b/api/types/shapes.IShapeConnectorOptions.html
@@ -23,7 +23,7 @@ or several connectors join the same two shapes, their ends are spread out along
@@ -64,21 +64,21 @@ or several connectors join the same two shapes, their ends are spread out along
shape, so Word doesn't move it when the connector moves
diff --git a/api/types/shapes.IShapeGroupChildOptions.html b/api/types/shapes.IShapeGroupChildOptions.html
index 19e10fe789..6e1f5ffa7c 100644
--- a/api/types/shapes.IShapeGroupChildOptions.html
+++ b/api/types/shapes.IShapeGroupChildOptions.html
@@ -20,7 +20,7 @@ in pixels, unless a layout places it, and id names it
diff --git a/api/types/shapes.IShapeGroupOptions.html b/api/types/shapes.IShapeGroupOptions.html
index ee2ebc7466..7fb5f690ff 100644
--- a/api/types/shapes.IShapeGroupOptions.html
+++ b/api/types/shapes.IShapeGroupOptions.html
@@ -50,7 +50,7 @@ the box around the children. A different size scales every shape in the group.
diff --git a/api/types/shapes.IShapeNestedGroupOptions.html b/api/types/shapes.IShapeNestedGroupOptions.html
index 2f040da0be..58e80fdd79 100644
--- a/api/types/shapes.IShapeNestedGroupOptions.html
+++ b/api/types/shapes.IShapeNestedGroupOptions.html
@@ -47,7 +47,7 @@ box around the children, and a different size scales every child
diff --git a/api/types/shapes.IShapeOptions.html b/api/types/shapes.IShapeOptions.html
index 9f086bbc6b..9b61a0ba88 100644
--- a/api/types/shapes.IShapeOptions.html
+++ b/api/types/shapes.IShapeOptions.html
@@ -23,7 +23,7 @@ or startAngle and endAngle for a "pie"
diff --git a/api/types/shapes.PresetShapeAdjustments.html b/api/types/shapes.PresetShapeAdjustments.html
index 2e8e96bb3c..ab83b63e8b 100644
--- a/api/types/shapes.PresetShapeAdjustments.html
+++ b/api/types/shapes.PresetShapeAdjustments.html
@@ -21,7 +21,7 @@ allows, so a value that is too large acts like the largest allowed value.
diff --git a/api/types/shapes.ShapeAdjustments.html b/api/types/shapes.ShapeAdjustments.html
index 71a3cd5c2e..828a353d92 100644
--- a/api/types/shapes.ShapeAdjustments.html
+++ b/api/types/shapes.ShapeAdjustments.html
@@ -23,7 +23,7 @@ It is never for shapes without handles, which take no adjustments.<
diff --git a/api/types/shapes.ShapeFlowLayout.html b/api/types/shapes.ShapeFlowLayout.html
index dbf67aaa02..2ac6f8534c 100644
--- a/api/types/shapes.ShapeFlowLayout.html
+++ b/api/types/shapes.ShapeFlowLayout.html
@@ -20,7 +20,7 @@ that connect to it, and the shapes on each level are ordered so connectors cross
@@ -52,26 +52,26 @@ with a lane goes in the band of that name, and shapes without one g
across the direction the flow runs in, each with a header at the start of the flow
diff --git a/api/types/shapes.ShapeHorizontalPosition.html b/api/types/shapes.ShapeHorizontalPosition.html
index 080902a821..d4c4e368a6 100644
--- a/api/types/shapes.ShapeHorizontalPosition.html
+++ b/api/types/shapes.ShapeHorizontalPosition.html
@@ -26,7 +26,7 @@ a base of the page, the space between its margins, or one of its margins
diff --git a/api/types/shapes.ShapeLayout.html b/api/types/shapes.ShapeLayout.html
index 3735e65eb2..708ec0e6eb 100644
--- a/api/types/shapes.ShapeLayout.html
+++ b/api/types/shapes.ShapeLayout.html
@@ -20,7 +20,7 @@ layout, which is placed around them. Connectors are routed after the shapes are
diff --git a/api/types/shapes.ShapeSize.html b/api/types/shapes.ShapeSize.html
index 60685d568f..1a5bab5d6b 100644
--- a/api/types/shapes.ShapeSize.html
+++ b/api/types/shapes.ShapeSize.html
@@ -19,7 +19,7 @@ percentage of the space between the page's margins, or of what floating.si
diff --git a/api/types/shapes.ShapeTextWarp.html b/api/types/shapes.ShapeTextWarp.html
index eb19a8467c..70fc86a980 100644
--- a/api/types/shapes.ShapeTextWarp.html
+++ b/api/types/shapes.ShapeTextWarp.html
@@ -19,7 +19,7 @@ The ...Filled arches, circle and button spread the text over the wh
diff --git a/api/types/shapes.ShapeThemeColor.html b/api/types/shapes.ShapeThemeColor.html
index 7300c3a81e..84db685dc7 100644
--- a/api/types/shapes.ShapeThemeColor.html
+++ b/api/types/shapes.ShapeThemeColor.html
@@ -20,7 +20,7 @@ same as docx's ThemeColor, which text, borders and sha
diff --git a/api/types/shapes.ShapeTransformation.html b/api/types/shapes.ShapeTransformation.html
index f43d9a0ca0..614e59d9a1 100644
--- a/api/types/shapes.ShapeTransformation.html
+++ b/api/types/shapes.ShapeTransformation.html
@@ -30,7 +30,7 @@ between the margins for a floating shape, such as "100%"<
diff --git a/api/types/shapes.ShapeTreeLayout.html b/api/types/shapes.ShapeTreeLayout.html
index 5b28da4872..56ab9f9e42 100644
--- a/api/types/shapes.ShapeTreeLayout.html
+++ b/api/types/shapes.ShapeTreeLayout.html
@@ -20,7 +20,7 @@ children are placed side by side below their parent, which is centred over them.
diff --git a/api/types/shapes.ShapeVerticalPosition.html b/api/types/shapes.ShapeVerticalPosition.html
index 46da02cb03..7489888425 100644
--- a/api/types/shapes.ShapeVerticalPosition.html
+++ b/api/types/shapes.ShapeVerticalPosition.html
@@ -26,7 +26,7 @@ a base of the page, the space between its margins, or one of its margins
diff --git a/api/variables/index.CharacterSet.html b/api/variables/index.CharacterSet.html
index 0c549c19aa..13169d3112 100644
--- a/api/variables/index.CharacterSet.html
+++ b/api/variables/index.CharacterSet.html
@@ -60,7 +60,7 @@ Maps character set names to their hexadecimal identifiers.
diff --git a/api/variables/index.DocumentAttributeNamespaces.html b/api/variables/index.DocumentAttributeNamespaces.html
index f8c790ba22..59d995f4e9 100644
--- a/api/variables/index.DocumentAttributeNamespaces.html
+++ b/api/variables/index.DocumentAttributeNamespaces.html
@@ -94,7 +94,7 @@ in a document, including WordprocessingML, DrawingML, VML, and others.
When this value is set, the input specified via the user interface may be restricted to the number of lines per page and characters per line, with the consumer or producer translating this information based on the current font data to get the resulting line and character pitch values
diff --git a/api/variables/index.DropCapType.html b/api/variables/index.DropCapType.html
index a0da50dabe..d4200a73bd 100644
--- a/api/variables/index.DropCapType.html
+++ b/api/variables/index.DropCapType.html
@@ -32,7 +32,7 @@ beginning of a paragraph. This enum defines how the drop cap should be positione
diff --git a/api/variables/index.EMPTY_OBJECT.html b/api/variables/index.EMPTY_OBJECT.html
index b42322bf4c..25f220d8d3 100644
--- a/api/variables/index.EMPTY_OBJECT.html
+++ b/api/variables/index.EMPTY_OBJECT.html
@@ -20,7 +20,7 @@ has no children or attributes.
diff --git a/api/variables/index.EmphasisMarkType.html b/api/variables/index.EmphasisMarkType.html
index fcb2ce6bce..736165496f 100644
--- a/api/variables/index.EmphasisMarkType.html
+++ b/api/variables/index.EmphasisMarkType.html
@@ -31,7 +31,7 @@ Emphasis marks are commonly used in East Asian typography.
Specifies that this header or footer shall appear on the first page in this section. The appearance of this header or footer is contingent on the setting of the titlePg element (§2.10.6).
diff --git a/api/variables/index.LevelFormat.html b/api/variables/index.LevelFormat.html
index dba73e60e5..f0e6b6e1a4 100644
--- a/api/variables/index.LevelFormat.html
+++ b/api/variables/index.LevelFormat.html
@@ -281,7 +281,7 @@ decimal, roman numerals, letters, and various international formats.
diff --git a/api/variables/index.PageTextDirectionType.html b/api/variables/index.PageTextDirectionType.html
index 2e11659ac7..132d726e17 100644
--- a/api/variables/index.PageTextDirectionType.html
+++ b/api/variables/index.PageTextDirectionType.html
@@ -28,7 +28,7 @@ vertically (top-to-bottom), commonly used for East Asian languages.
Top-to-bottom, right-to-left (vertical East Asian text flow)
diff --git a/api/variables/index.ShadingType.html b/api/variables/index.ShadingType.html
index b95ad9f8a4..b5a4bd2b27 100644
--- a/api/variables/index.ShadingType.html
+++ b/api/variables/index.ShadingType.html
@@ -103,7 +103,7 @@ color and the pattern color.
diff --git a/api/variables/index.TextEffect.html b/api/variables/index.TextEffect.html
index aca4aca8d0..f8ab82d714 100644
--- a/api/variables/index.TextEffect.html
+++ b/api/variables/index.TextEffect.html
@@ -56,7 +56,7 @@ these effects are deprecated and may not be supported by all applications.
diff --git a/api/variables/index.VerticalAlign.html b/api/variables/index.VerticalAlign.html
index cdeec5375a..face0e8f7d 100644
--- a/api/variables/index.VerticalAlign.html
+++ b/api/variables/index.VerticalAlign.html
@@ -32,7 +32,7 @@ backward-compatibility and will be removed in the next major release.
diff --git a/api/variables/index.VerticalAlignTable.html b/api/variables/index.VerticalAlignTable.html
index 3391cb346c..a48a49e4d8 100644
--- a/api/variables/index.VerticalAlignTable.html
+++ b/api/variables/index.VerticalAlignTable.html
@@ -28,7 +28,7 @@ are valid according to ECMA-376 (§17.18.87 ST_VerticalJc within <w:tcP
diff --git a/api/variables/index.VerticalMergeType.html b/api/variables/index.VerticalMergeType.html
index d88b6eddb3..6241e0bf28 100644
--- a/api/variables/index.VerticalMergeType.html
+++ b/api/variables/index.VerticalMergeType.html
@@ -29,7 +29,7 @@ This cell continues a vertical merge started by a cell above it.
This cell begins a new vertical merge region.
diff --git a/api/variables/index.bookmarkUniqueNumericId.html b/api/variables/index.bookmarkUniqueNumericId.html
index 78148f39d6..233e8f7617 100644
--- a/api/variables/index.bookmarkUniqueNumericId.html
+++ b/api/variables/index.bookmarkUniqueNumericId.html
@@ -27,7 +27,7 @@ than a generator per instance.
diff --git a/api/variables/index.docPropertiesUniqueNumericId.html b/api/variables/index.docPropertiesUniqueNumericId.html
index 0190e92d01..1f042af282 100644
--- a/api/variables/index.docPropertiesUniqueNumericId.html
+++ b/api/variables/index.docPropertiesUniqueNumericId.html
@@ -28,7 +28,7 @@ one counter rather than a generator per instance.
diff --git a/api/variables/layout.estimatePageNumbers.html b/api/variables/layout.estimatePageNumbers.html
index 7ac2a4e71c..94ced5620d 100644
--- a/api/variables/layout.estimatePageNumbers.html
+++ b/api/variables/layout.estimatePageNumbers.html
@@ -50,7 +50,7 @@ written, and the numbers left blank stay blank, without asking to update the fie
diff --git a/live-examples/lib/layout.d.ts b/live-examples/lib/layout.d.ts
index d889531bf5..bdc7f6392f 100644
--- a/live-examples/lib/layout.d.ts
+++ b/live-examples/lib/layout.d.ts
@@ -213,8 +213,10 @@ export declare type LineLayout = {
readonly y: number;
/**
* How wide the room for the line is: its column, or the page's text, less the paragraph's indents, or the room beside a
- * drawing that text flows around. Its text is lined up in it as the paragraph's alignment says. A line with text on both
- * sides of a drawing is two lines with the same `y`, the left first
+ * drawing that text flows around. Its text is lined up in it as the paragraph's alignment says, but for an equation alone
+ * in its paragraph, which Word lines up as the equation's own justification says (`m:jc`, or the document's
+ * `m:defJc`), centred unless that says otherwise. A line with text on both sides of a drawing is two lines with the same
+ * `y`, the left first
*/
readonly width: number;
/** How tall the line is, with the paragraph's line spacing */
diff --git a/live-examples/lib/layout.iife.js b/live-examples/lib/layout.iife.js
index 884d68bad3..2b21a3aa8d 100644
--- a/live-examples/lib/layout.iife.js
+++ b/live-examples/lib/layout.iife.js
@@ -2782,7 +2782,7 @@ var docxLayout = (function(exports) {
return faces === void 0 ? void 0 : decodeFace(faces[italic ? bold ? "boldItalic" : "italic" : bold ? "bold" : "regular"]);
};
/** A glyph's kerning classes: a ligature's own, or a character's */
- var classesOf = (shaping, glyph) => {
+ var classesOf$1 = (shaping, glyph) => {
var _shaping$classes$get;
return glyph.width === void 0 ? (_shaping$classes$get = shaping.classes.get(glyph.text)) !== null && _shaping$classes$get !== void 0 ? _shaping$classes$get : {} : glyph;
};
@@ -2793,8 +2793,8 @@ var docxLayout = (function(exports) {
var kerningBetween = (shaping, before, after) => {
var _shaping$pairs$get;
if (shaping.pairs.size === 0) return 0;
- const { first } = classesOf(shaping, before);
- const { second } = classesOf(shaping, after);
+ const { first } = classesOf$1(shaping, before);
+ const { second } = classesOf$1(shaping, after);
return first === void 0 || second === void 0 ? NaN : (_shaping$pairs$get = shaping.pairs.get(first * 4096 + second)) !== null && _shaping$pairs$get !== void 0 ? _shaping$pairs$get : 0;
};
//#endregion
@@ -4066,13 +4066,13 @@ var docxLayout = (function(exports) {
*/
var dictionaryOf = (pieces, { capitalsWhole }) => {
const hyphenated = pieces.filter(({ hyphenation }) => hyphenation !== "none");
- const letters = [...textOf(pieces)].filter((character) => new RegExp("\\p{L}", "u").test(character));
+ const letters = [...textOf$1(pieces)].filter((character) => new RegExp("\\p{L}", "u").test(character));
const dictionary = hyphenated.some(({ hyphenation }) => hyphenation === "unknown") ? ANY_DICTIONARY : ENGLISH_DICTIONARY;
const capitals = capitalsWhole === true && letters.every((letter) => new RegExp("\\p{Lu}", "u").test(letter)) && pieces.every(({ font }) => font.lineSize === void 0);
return hyphenated.length === 0 || letters.length < dictionary.letters || capitals ? void 0 : dictionary;
};
var SPACE_TO_LETTER = 7.2;
- var SPACES = /* @__PURE__ */ new Set([
+ var SPACES$1 = /* @__PURE__ */ new Set([
" ",
" ",
" ",
@@ -4104,7 +4104,7 @@ var docxLayout = (function(exports) {
const { text, font, hyphenation } = item;
const own = hyphenation === void 0 ? {} : { hyphenation };
for (const character of text) {
- const type = SPACES.has(character) ? "space" : "word";
+ const type = SPACES$1.has(character) ? "space" : "word";
const last = tokens[tokens.length - 1];
if ((last === null || last === void 0 ? void 0 : last.type) !== type || type === "word" && breaks.has(index)) tokens.push({
type,
@@ -4305,7 +4305,7 @@ var docxLayout = (function(exports) {
return before === void 0 || !isKerned(after.font) || !sameFont(before.font, after.font) ? 0 : measurer.measureWidth(before.text + after.text, after.font) - measurer.measureWidth(before.text, before.font) - measurer.measureWidth(after.text, after.font);
});
};
- var textOf = (pieces) => pieces.length === 1 ? pieces[0].text : pieces.map(({ text }) => text).join("");
+ var textOf$1 = (pieces) => pieces.length === 1 ? pieces[0].text : pieces.map(({ text }) => text).join("");
var NOTHING = {
ascent: 0,
descent: 0,
@@ -4501,7 +4501,7 @@ var docxLayout = (function(exports) {
*/
var widthBeforeDecimal = (tokens, measurer) => {
const text = textAfterTab(tokens).filter((token) => token.type !== "marker");
- const written = text.map((token) => token.type === "word" || token.type === "space" ? textOf(token.pieces) : "").join("").trimEnd();
+ const written = text.map((token) => token.type === "word" || token.type === "space" ? textOf$1(token.pieces) : "").join("").trimEnd();
const point = decimalPointOf(written);
if (point === void 0 || [...written].slice(0, point).includes("")) return;
let count = 0;
@@ -4778,9 +4778,13 @@ var docxLayout = (function(exports) {
const withToken = (heights, token) => {
if (token.type === "box") {
const tallest = token.font ? Math.max(heights.tallest, measurer.measureLineHeight(token.font)) : heights.tallest;
- return _objectSpread2(_objectSpread2({}, heights), {}, {
+ return token.descent === void 0 ? _objectSpread2(_objectSpread2({}, heights), {}, {
picture: Math.max(heights.picture, token.height),
tallest
+ }) : _objectSpread2(_objectSpread2({}, heights), {}, {
+ ascent: Math.max(heights.ascent, token.height),
+ descent: Math.max(heights.descent, token.descent),
+ tallest: Math.max(tallest, token.height + token.descent)
});
}
return token.type === "tab" ? withFont(heights, token.font, measurer) : token.pieces.reduce((all, { font }) => withFont(all, font, measurer), heights);
@@ -4992,6 +4996,10 @@ var docxLayout = (function(exports) {
line = _objectSpread2(_objectSpread2({}, line), {}, { unsupported: (_line$unsupported5 = line.unsupported) !== null && _line$unsupported5 !== void 0 ? _line$unsupported5 : "a word whose part before a soft hyphen is longer than its line" });
}
const overflows = line.started && line.position + needs > endOf(line) + TOLERANCE$1;
+ if (token.type === "box" && token.unbroken !== void 0 && line.position + needs > endOf(line) + TOLERANCE$1) {
+ var _line$unsupported6;
+ line = _objectSpread2(_objectSpread2({}, line), {}, { unsupported: (_line$unsupported6 = line.unsupported) !== null && _line$unsupported6 !== void 0 ? _line$unsupported6 : token.unbroken });
+ }
if (overflows && unsure(line, needs)) line = _objectSpread2(_objectSpread2({}, line), {}, { unknown: true });
const squeezable = overflows && !line.unknown && squeezesIn(line, needs);
if (squeezable && cell !== void 0) line = _objectSpread2(_objectSpread2({}, line), {}, { unsupported: "a justified line on a grid that snaps to characters that only fits squeezed" });
@@ -4999,8 +5007,8 @@ var docxLayout = (function(exports) {
if (squeezable && boxed) line = _objectSpread2(_objectSpread2({}, line), {}, { unsupported: "a justified line with text in a border that only fits squeezed" });
const squeezed = squeezable && !boxed && cell === void 0;
if (overflows && (!squeezed || alignment !== "justified") && token.type === "word" && mayHyphenate(line, token, leadOf(line))) {
- var _line$unsupported6;
- line = _objectSpread2(_objectSpread2({}, line), {}, { unsupported: (_line$unsupported6 = line.unsupported) !== null && _line$unsupported6 !== void 0 ? _line$unsupported6 : MAY_HYPHENATE });
+ var _line$unsupported7;
+ line = _objectSpread2(_objectSpread2({}, line), {}, { unsupported: (_line$unsupported7 = line.unsupported) !== null && _line$unsupported7 !== void 0 ? _line$unsupported7 : MAY_HYPHENATE });
}
if (overflows && !squeezed) {
line = wrap(line);
@@ -5013,12 +5021,12 @@ var docxLayout = (function(exports) {
let placed = false;
if (token.pieces.some(({ font }) => font.border !== void 0)) line = _objectSpread2(_objectSpread2({}, line), {}, { unsupported: "a word longer than its line with a border" });
if (mayHyphenate(line, token, 0)) {
- var _line$unsupported7;
- line = _objectSpread2(_objectSpread2({}, line), {}, { unsupported: (_line$unsupported7 = line.unsupported) !== null && _line$unsupported7 !== void 0 ? _line$unsupported7 : MAY_HYPHENATE });
+ var _line$unsupported8;
+ line = _objectSpread2(_objectSpread2({}, line), {}, { unsupported: (_line$unsupported8 = line.unsupported) !== null && _line$unsupported8 !== void 0 ? _line$unsupported8 : MAY_HYPHENATE });
}
if (token.pieces.some(({ font }) => shaped(font))) {
- var _line$unsupported8;
- line = _objectSpread2(_objectSpread2({}, line), {}, { unsupported: (_line$unsupported8 = line.unsupported) !== null && _line$unsupported8 !== void 0 ? _line$unsupported8 : "a word longer than its line, kerned or with ligatures" });
+ var _line$unsupported9;
+ line = _objectSpread2(_objectSpread2({}, line), {}, { unsupported: (_line$unsupported9 = line.unsupported) !== null && _line$unsupported9 !== void 0 ? _line$unsupported9 : "a word longer than its line, kerned or with ligatures" });
}
for (const character of charactersOf(token.pieces)) {
const characterWidth = widthOf(character, measurer);
@@ -5029,13 +5037,13 @@ var docxLayout = (function(exports) {
line = _objectSpread2(_objectSpread2({}, line), {}, {
position: line.position + characterWidth,
end: line.position + characterWidth,
- text: line.text + textOf(character),
+ text: line.text + textOf$1(character),
letters: line.letters + lengthOf(character)
});
placed = true;
}
} else {
- const text = token.type === "word" ? textOf(token.pieces) : "";
+ const text = token.type === "word" ? textOf$1(token.pieces) : "";
line = _objectSpread2(_objectSpread2(_objectSpread2({}, line), cell !== void 0 && token.type === "word" ? { latin: snapped(line, token.pieces).latin } : {}), {}, {
position: line.position + tokenWidth,
end: line.position + tokenWidth,
@@ -5070,7 +5078,7 @@ var docxLayout = (function(exports) {
line = wrap(_objectSpread2(_objectSpread2({}, placed), {}, {
position: withHyphen,
end: withHyphen,
- text: placed.text + textOf(before),
+ text: placed.text + textOf$1(before),
letters: placed.letters + lengthOf(before),
between: placed.spaceCount,
heights: withFont(withToken(placed.heights, {
@@ -5086,8 +5094,8 @@ var docxLayout = (function(exports) {
};
}
if (room > NO_HYPHEN_ROOM) {
- var _line$unsupported9;
- line = _objectSpread2(_objectSpread2({}, line), {}, { unsupported: (_line$unsupported9 = line.unsupported) !== null && _line$unsupported9 !== void 0 ? _line$unsupported9 : "a soft hyphen whose hyphen ends this close to the end of the line" });
+ var _line$unsupported10;
+ line = _objectSpread2(_objectSpread2({}, line), {}, { unsupported: (_line$unsupported10 = line.unsupported) !== null && _line$unsupported10 !== void 0 ? _line$unsupported10 : "a soft hyphen whose hyphen ends this close to the end of the line" });
}
}
};
@@ -5101,7 +5109,7 @@ var docxLayout = (function(exports) {
if (token.type === "space") {
const spaces = widthOf(token.pieces, measurer);
line = _objectSpread2(_objectSpread2(_objectSpread2({}, line), cell === void 0 ? { position: line.position + roomBetween(line.border, firstBorder(token.pieces)) + kerning[index] + spaces } : snapped(line, token.pieces)), {}, {
- text: line.text + textOf(token.pieces),
+ text: line.text + textOf$1(token.pieces),
spaces: line.started ? line.spaces + spaces : 0,
spaceCount: line.started ? line.spaceCount + lengthOf(token.pieces) : 0,
otherSpaces: line.started ? line.otherSpaces + widthOf(othersOf(token.pieces), measurer) : 0,
@@ -5119,7 +5127,7 @@ var docxLayout = (function(exports) {
unsupported: "a tab or picture on a grid that snaps to characters"
});
if (token.type === "tab") {
- var _nextStop, _line$unsupported11;
+ var _nextStop, _line$unsupported12;
const numbered = numberTab ? numberTabStop(line.position, firstLineStops, format, defaultTabStop, limitOf()) : void 0;
numberTab = false;
if ((numbered === null || numbered === void 0 ? void 0 : numbered.unsupported) !== void 0) line = _objectSpread2(_objectSpread2({}, line), {}, { unsupported: numbered.unsupported });
@@ -5131,8 +5139,8 @@ var docxLayout = (function(exports) {
const pastEnd = own && next.position > Math.max(limitOf(), marginOf()) + TOLERANCE$1 ? next : void 0;
const unknown = pastIndent && (next.alignment === "center" || next.alignment === "decimal" || squeezes) ? "a centred or decimal tab stop past the paragraph's right indent, or one in a justified line" : pastIndent && next.alignment === "left" && next.position + widthAfterTab(rest, measurer) > marginOf() + TOLERANCE$1 ? "text after a tab stop past the paragraph's right indent that goes past the margin" : pastEnd === void 0 ? void 0 : pastEndUnknown(pastEnd, line.started);
if (unknown !== void 0) {
- var _line$unsupported10;
- line = _objectSpread2(_objectSpread2({}, line), {}, { unsupported: (_line$unsupported10 = line.unsupported) !== null && _line$unsupported10 !== void 0 ? _line$unsupported10 : unknown });
+ var _line$unsupported11;
+ line = _objectSpread2(_objectSpread2({}, line), {}, { unsupported: (_line$unsupported11 = line.unsupported) !== null && _line$unsupported11 !== void 0 ? _line$unsupported11 : unknown });
}
if ((pastEnd === null || pastEnd === void 0 ? void 0 : pastEnd.alignment) === "left" && unknown === void 0) {
const tab = _objectSpread2(_objectSpread2({}, line), {}, {
@@ -5174,7 +5182,7 @@ var docxLayout = (function(exports) {
letters: 0,
otherSpaces: 0,
started: true
- }, misaligned === void 0 ? {} : { unsupported: (_line$unsupported11 = line.unsupported) !== null && _line$unsupported11 !== void 0 ? _line$unsupported11 : misaligned });
+ }, misaligned === void 0 ? {} : { unsupported: (_line$unsupported12 = line.unsupported) !== null && _line$unsupported12 !== void 0 ? _line$unsupported12 : misaligned });
continue;
}
placeWord(token, kerning[index]);
@@ -6653,6 +6661,436 @@ var docxLayout = (function(exports) {
}
};
//#endregion
+ //#region src/layout/equation-widths.ts
+ /**
+ * How wide each character of an equation of text is in Cambria Math, and the italic correction Word adds after each
+ * italic letter, in thousandths of an em, as Word's PDFs of scripts/layout-probes/word-equations.ts and word-equations2.ts
+ * show them.
+ *
+ * Generated by scripts/generate-equation-widths.ts. Do not edit by hand.
+ *
+ * @module
+ */
+ var EQUATION_WIDTHS = /* @__PURE__ */ new Map([
+ [" ", [220.22, 0]],
+ ["!", [285.64, 0]],
+ ["(", [415.04, 0]],
+ [")", [415.04, 0]],
+ ["+", [747.06, 0]],
+ [",", [205.07, 0]],
+ [".", [205.08, 0]],
+ ["/", [490.23, 0]],
+ ["0", [554, 0]],
+ ["1", [554, 0]],
+ ["2", [553.71, 0]],
+ ["3", [554, 0]],
+ ["4", [554, 0]],
+ ["5", [554, 0]],
+ ["6", [554, 0]],
+ ["7", [554, 0]],
+ ["8", [554, 0]],
+ ["9", [554, 0]],
+ [":", [263.66, 0]],
+ [";", [263.66, 0]],
+ ["<", [749.03, 0]],
+ ["=", [747.08, 0]],
+ [">", [749.03, 0]],
+ ["?", [422.36, 0]],
+ ["A", [623, 0]],
+ ["B", [611, 0]],
+ ["C", [563, 0]],
+ ["D", [662, 0]],
+ ["E", [575, 0]],
+ ["F", [537, 0]],
+ ["G", [611, 0]],
+ ["H", [687, 0]],
+ ["I", [324, 0]],
+ ["J", [307, 0]],
+ ["K", [629, 0]],
+ ["L", [537, 0]],
+ ["M", [815, 0]],
+ ["N", [681, 0]],
+ ["O", [653, 0]],
+ ["P", [568, 0]],
+ ["Q", [653, 0]],
+ ["R", [621, 0]],
+ ["S", [496, 0]],
+ ["T", [593, 0]],
+ ["U", [648, 0]],
+ ["V", [604, 0]],
+ ["W", [921, 0]],
+ ["X", [571, 0]],
+ ["Y", [570, 0]],
+ ["Z", [538, 0]],
+ ["[", [350.1, 0]],
+ ["]", [350.1, 0]],
+ ["a", [488.28, 0]],
+ ["b", [547, 0]],
+ ["c", [441, 0]],
+ ["d", [555, 0]],
+ ["e", [488, 0]],
+ ["f", [303, 0]],
+ ["g", [494, 0]],
+ ["h", [552, 0]],
+ ["i", [278, 0]],
+ ["j", [266, 0]],
+ ["k", [524, 0]],
+ ["l", [271, 0]],
+ ["m", [832, 0]],
+ ["n", [558, 0]],
+ ["o", [531, 0]],
+ ["p", [556, 0]],
+ ["q", [547, 0]],
+ ["r", [414, 0]],
+ ["s", [430, 0]],
+ ["t", [338, 0]],
+ ["u", [552, 0]],
+ ["v", [504, 0]],
+ ["w", [774, 0]],
+ ["x", [483, 0]],
+ ["y", [504, 0]],
+ ["z", [455, 0]],
+ ["{", [387.21, 0]],
+ ["|", [316.41, 0]],
+ ["}", [387.21, 0]],
+ ["±", [747.06, 0]],
+ ["×", [714.35, 0]],
+ ["÷", [747.06, 0]],
+ ["′", [258.3, 0]],
+ ["ℎ", [554.69, 17.08]],
+ ["←", [837.89, 0]],
+ ["→", [837.89, 0]],
+ ["−", [747.06, 0]],
+ ["∓", [747.07, 0]],
+ ["∗", [482.9, 0]],
+ ["∘", [443.36, 0]],
+ ["∞", [851, 0]],
+ ["∼", [712.4, 0]],
+ ["≈", [735.85, 0]],
+ ["≠", [747.09, 0]],
+ ["≡", [747.09, 0]],
+ ["≤", [749.03, 0]],
+ ["≥", [749.03, 0]],
+ ["⋅", [282.21, 0]],
+ ["𝐴", [633, 10.06]],
+ ["𝐵", [656, 27.09]],
+ ["𝐶", [597, 43.61]],
+ ["𝐷", [692, 29.67]],
+ ["𝐸", [625, 38.57]],
+ ["𝐹", [611, 38.89]],
+ ["𝐺", [630, 43.82]],
+ ["𝐻", [728, 29.32]],
+ ["𝐼", [379, 31.63]],
+ ["𝐽", [382, 19.36]],
+ ["𝐾", [698, 30.51]],
+ ["𝐿", [532, 20.24]],
+ ["𝑀", [851, 24.48]],
+ ["𝑁", [732, 24.83]],
+ ["𝑂", [676, 24.67]],
+ ["𝑃", [620, 24.52]],
+ ["𝑄", [676, 29.56]],
+ ["𝑅", [637, 29.49]],
+ ["𝑆", [529, 19.82]],
+ ["𝑇", [595, 22.18]],
+ ["𝑈", [689, 19.49]],
+ ["𝑉", [625, 32.22]],
+ ["𝑊", [950, 38.76]],
+ ["𝑋", [645, 24.42]],
+ ["𝑌", [603, 23.95]],
+ ["𝑍", [592, 24.69]],
+ ["𝑎", [557.13, 24.41]],
+ ["𝑏", [539, 22.02]],
+ ["𝑐", [460, 31.69]],
+ ["𝑑", [580, 31.32]],
+ ["𝑒", [496.09, 21.96]],
+ ["𝑓", [549.81, 29.28]],
+ ["𝑔", [612, 16.9]],
+ ["𝑖", [317, 31.62]],
+ ["𝑗", [359, 17.46]],
+ ["𝑘", [552, 29.04]],
+ ["𝑙", [316, 31.65]],
+ ["𝑚", [838, 17.46]],
+ ["𝑛", [574, 16.81]],
+ ["𝑜", [533, 21.68]],
+ ["𝑝", [558, 11.81]],
+ ["𝑞", [539, 29.84]],
+ ["𝑟", [476, 21.55]],
+ ["𝑠", [462, 20.41]],
+ ["𝑡", [395, 23.94]],
+ ["𝑢", [574, 25.11]],
+ ["𝑣", [544, 29.23]],
+ ["𝑤", [739, 29.06]],
+ ["𝑥", [532.23, 30.26]],
+ ["𝑦", [560, 16.65]],
+ ["𝑧", [483, 17.48]],
+ ["𝛢", [633, 10.06]],
+ ["𝛣", [656, 27.09]],
+ ["𝛤", [608, 29.2]],
+ ["𝛥", [613, 9.55]],
+ ["𝛦", [625, 38.56]],
+ ["𝛧", [592, 24.69]],
+ ["𝛨", [728, 29.31]],
+ ["𝛩", [680, 24.58]],
+ ["𝛪", [379, 31.63]],
+ ["𝛫", [698, 30.51]],
+ ["𝛬", [625, 20.01]],
+ ["𝛭", [851, 24.48]],
+ ["𝛮", [732, 24.83]],
+ ["𝛯", [603, 28.83]],
+ ["𝛰", [676, 24.67]],
+ ["𝛱", [716, 25.2]],
+ ["𝛲", [620, 24.52]],
+ ["𝛴", [607, 30.2]],
+ ["𝛵", [595, 22.18]],
+ ["𝛶", [623, 25.43]],
+ ["𝛷", [731, 30.22]],
+ ["𝛸", [645, 24.42]],
+ ["𝛹", [762, 30.47]],
+ ["𝛺", [679, 26.56]],
+ ["𝛻", [613, 0]],
+ ["𝛼", [600, 29.87]],
+ ["𝛽", [606, 30.22]],
+ ["𝛾", [525, 27.24]],
+ ["𝛿", [538, 38.65]],
+ ["𝜀", [455, 31.81]],
+ ["𝜁", [475, 38.66]],
+ ["𝜂", [524, 29.7]],
+ ["𝜃", [563, 28.79]],
+ ["𝜄", [260, 16.84]],
+ ["𝜅", [541, 26.86]],
+ ["𝜆", [518, 16.66]],
+ ["𝜇", [548, 27.18]],
+ ["𝜈", [509, 29.08]],
+ ["𝜉", [482, 38.99]],
+ ["𝜊", [533, 21.68]],
+ ["𝜋", [593, 21.25]],
+ ["𝜌", [564, 12.65]],
+ ["𝜍", [432, 26.97]],
+ ["𝜎", [585, 24.36]],
+ ["𝜏", [458, 21.97]],
+ ["𝜐", [506, 16.94]],
+ ["𝜑", [677, 21.72]],
+ ["𝜒", [581, 9.81]],
+ ["𝜓", [704, 14.25]],
+ ["𝜔", [726, 21.55]],
+ ["𝜕", [556, 0]]
+ ]);
+ //#endregion
+ //#region src/layout/equations.ts
+ /**
+ * Lays out equations (`m:oMath`) of text, as Word lays them out in Cambria Math: letters in italic, digits and operators
+ * upright, each as wide as Cambria Math draws it, with Word's italic correction after an italic letter and the spaces
+ * TeX puts between atoms, as scripts/layout-probes/word-equations.ts and word-equations2.ts showed. An equation of more
+ * than text, such as one with a fraction, a script or a root, which Word builds up, stops the layout.
+ *
+ * @module
+ */
+ var ASCENT = 1946 / 2048;
+ var DESCENT = 455 / 2048;
+ var CLASSES = new Map([
+ ...[..."+−±∓×÷⋅∗∘"].map((character) => [character, "binary"]),
+ ...[..."=<>≤≥≠≈≡∼→←"].map((character) => [character, "relation"]),
+ ...[..."([{"].map((character) => [character, "open"]),
+ ...[...")]}"].map((character) => [character, "close"]),
+ ...[...",;:!?"].map((character) => [character, "punctuation"]),
+ ...[..."|/"].map((character) => [character, "fence"])
+ ]);
+ /**
+ * The space between two atoms, in eighteenths of an em, as TeX puts it and Word's PDFs showed: 4 either side of a binary
+ * operator, 5 either side of a relation, 3 after punctuation, and none between ordinary atoms, two relations, or beside a
+ * bracket, a bar or a slash (`word-equations.docx` EQ1, `word-equations2.docx` EQ7, EQ8). Pairs not here, such as a
+ * bracket after an operator, Word hasn't been seen to space
+ */
+ var SPACES = /* @__PURE__ */ new Map([
+ ["ordinary ordinary", 0],
+ ["ordinary binary", 4],
+ ["binary ordinary", 4],
+ ["ordinary relation", 5],
+ ["relation ordinary", 5],
+ ["close relation", 5],
+ ["relation relation", 0],
+ ["ordinary punctuation", 0],
+ ["punctuation ordinary", 3],
+ ["ordinary open", 0],
+ ["open ordinary", 0],
+ ["ordinary close", 0],
+ ["close open", 0],
+ ["ordinary fence", 0],
+ ["fence ordinary", 0],
+ ["close fence", 0]
+ ]);
+ var ITALIC_CAPITAL = 119860;
+ var ITALIC_SMALL = 119886;
+ var ITALIC_GREEK_CAPITAL = 120546;
+ var ITALIC_GREEK_SMALL = 120572;
+ var PLANCK = 8462;
+ var DRAWN_AS = /* @__PURE__ */ new Map([
+ ["'", "′"],
+ ["∂", "𝜕"],
+ ["∇", "𝛻"]
+ ]);
+ var ITALIC_SIGNS = /* @__PURE__ */ new Set(["∂", "∇"]);
+ /** The character Word draws for one of an equation's text, and whether it is an italic letter, in italic unless plain */
+ var drawnAs = (character, plain) => {
+ var _DRAWN_AS$get;
+ const code = character.codePointAt(0);
+ const letter = (first, offset) => plain ? {
+ drawn: character,
+ italic: false
+ } : {
+ drawn: String.fromCodePoint(first + offset),
+ italic: true
+ };
+ if (character === "h") return letter(PLANCK, 0);
+ if (/^[a-z]$/.test(character)) return letter(ITALIC_SMALL, code - 97);
+ if (/^[A-Z]$/.test(character)) return letter(ITALIC_CAPITAL, code - 65);
+ if (code >= 945 && code <= 969) return letter(ITALIC_GREEK_SMALL, code - 945);
+ return code >= 913 && code <= 937 ? letter(ITALIC_GREEK_CAPITAL, code - 913) : {
+ drawn: (_DRAWN_AS$get = DRAWN_AS.get(character)) !== null && _DRAWN_AS$get !== void 0 ? _DRAWN_AS$get : character,
+ italic: false
+ };
+ };
+ /** The text in an element, such as `m:t`'s */
+ var textOf = (element) => (Array.isArray(element) ? element : [element]).filter((part) => typeof part === "string").join("");
+ var RUN_SIZES = /* @__PURE__ */ new Set(["w:sz", "w:szCs"]);
+ /** The atoms of a run of an equation (`m:r`), or why it can't be laid out */
+ var atomsOfRun = (run) => {
+ const children = childrenOf(run);
+ const properties = childrenOf(find(children, "m:rPr"));
+ const style = attributesOf(find(properties, "m:sty"))["m:val"];
+ const formatting = childrenOf(find(children, "w:rPr"));
+ if (formatting.some((child) => !RUN_SIZES.has(Object.keys(child)[0]))) return "an equation whose text has formatting of its own";
+ if (find(properties, "m:nor") !== void 0 || find(properties, "m:scr") !== void 0 || style !== void 0 && style !== "p" && style !== "i") return "an equation in normal text, another alphabet or bold";
+ const drawn = [...children.filter((child) => "m:t" in child).map((child) => textOf(child["m:t"])).join("")].map((character) => _objectSpread2({ character }, drawnAs(character, style === "p")));
+ if (drawn.some(({ drawn: shown }) => !EQUATION_WIDTHS.has(shown))) return "a character in an equation whose width isn't known";
+ const size = pointsOf(attributesOf(find(formatting, "w:sz"))["w:val"], 2);
+ return drawn.map(({ character, drawn: shown, italic }) => {
+ var _CLASSES$get;
+ const [width, italicCorrection] = EQUATION_WIDTHS.get(shown);
+ return _objectSpread2(_objectSpread2(_objectSpread2({
+ character,
+ width: width / 1e3,
+ italicCorrection: italicCorrection / 1e3,
+ italic,
+ kind: (_CLASSES$get = CLASSES.get(character)) !== null && _CLASSES$get !== void 0 ? _CLASSES$get : "ordinary"
+ }, character === " " ? { space: true } : {}), ITALIC_SIGNS.has(character) ? { unknownCorrection: true } : {}), size === void 0 ? {} : { size });
+ });
+ };
+ var THIN_SPACE = 3;
+ var IGNORED = /* @__PURE__ */ new Set([
+ "m:oMathPr",
+ "m:ctrlPr",
+ "m:funcPr",
+ "w:bookmarkStart",
+ "w:bookmarkEnd",
+ "w:proofErr",
+ "_attr"
+ ]);
+ var BUILT_UP = "an equation with a fraction, a script, a root or another part Word builds up";
+ /**
+ * The atoms of the parts of an equation in turn: its runs, and a function (`m:func`), as its name, a space of 3
+ * eighteenths, and its argument, as Word puts them (`word-equations.docx` EQ1z, `word-equations2.docx` EQ8e), when it is
+ * all of the equation. Why it can't be laid out, for anything else, such as a fraction or a script, which Word builds up
+ * in ways not yet followed
+ */
+ var atomsOf = (parts, alone) => parts.reduce((atoms, part) => {
+ const [name] = Object.keys(part);
+ if (typeof atoms === "string" || IGNORED.has(name)) return atoms;
+ if (name === "m:r") {
+ const run = atomsOfRun(part[name]);
+ return typeof run === "string" ? run : [...atoms, ...run];
+ }
+ if (name !== "m:func" || !alone) return BUILT_UP;
+ const children = childrenOf(part[name]);
+ const functionName = atomsOf(childrenOf(find(children, "m:fName")), false);
+ const argument = atomsOf(childrenOf(find(children, "m:e")), false);
+ if (typeof functionName === "string" || typeof argument === "string") return typeof functionName === "string" ? functionName : argument;
+ return [
+ ...atoms,
+ ...functionName,
+ THIN_SPACE,
+ ...argument
+ ];
+ }, []);
+ var OPERATORS_TOGETHER = "an equation with operators next to each other, which Word spaces in a way not yet followed";
+ /**
+ * The classes of an equation's atoms, past its spaces, as Word spaces them: a binary operator at the start, or after
+ * another operator, a relation, an opening bracket or punctuation, is an ordinary atom, as in TeX (`word-equations.docx`
+ * EQ1n, `word-equations2.docx` EQ8c), and a full stop between digits is a decimal point (EQ1i). Or why Word's spacing
+ * isn't known: an operator before a relation, a bracket, punctuation or the end, which Word spaces unlike TeX
+ * (`word-equations.docx` EQ1x), and a full stop elsewhere
+ */
+ var classesOf = (atoms) => atoms.reduce((classes, atom, index) => {
+ var _atoms;
+ if (typeof classes === "string") return classes;
+ const digit = (other) => {
+ var _other$character;
+ return /^\d$/.test((_other$character = other === null || other === void 0 ? void 0 : other.character) !== null && _other$character !== void 0 ? _other$character : "");
+ };
+ if (atom.character === "." && (!digit(atoms[index - 1]) || !digit(atoms[index + 1]))) return "a full stop in an equation other than a decimal point";
+ const previous = classes[index - 1];
+ const unary = atom.kind === "binary" && (previous === void 0 || ![
+ "ordinary",
+ "close",
+ "fence"
+ ].includes(previous));
+ const next = (_atoms = atoms[index + 1]) === null || _atoms === void 0 ? void 0 : _atoms.kind;
+ if (atom.kind === "binary" && (next === void 0 || next !== "ordinary" && (unary || next !== "binary"))) return OPERATORS_TOGETHER;
+ return [...classes, unary ? "ordinary" : atom.kind];
+ }, []);
+ /**
+ * Lays out an equation (`m:oMath`) of text at a size, in points, or the size its runs give: how wide it is, and how far it
+ * goes above and below its baseline, as a line of Cambria Math (`word-equations.docx` EQ2, `word-equations2.docx` EQ9). It
+ * is as wide as its characters, the spaces between its atoms, and each italic letter's italic correction, which Word adds
+ * unless an ordinary atom, such as a letter, a digit or a prime, follows it (EQ1d, EQ1t, EQ7g, EQ8a, EQ8b), as before an
+ * operator, a bracket, punctuation, a bar, a slash, a space and its end (EQ1, EQ7). Or why it can't be laid out: atoms
+ * Word hasn't been seen to space, runs of different sizes, and an italic sign whose italic correction Word hasn't shown
+ */
+ var layOutEquation = (equation, size) => {
+ const parts = childrenOf(equation).filter(isObject);
+ const all = atomsOf(parts, parts.filter((part) => !IGNORED.has(Object.keys(part)[0])).length === 1);
+ if (typeof all === "string") return all;
+ const atoms = all.filter((atom) => typeof atom !== "number" && !atom.space);
+ if (atoms.length === 0) return "an empty equation";
+ const sizes = new Set(all.flatMap((atom) => {
+ var _atom$size;
+ return typeof atom === "number" ? [] : [(_atom$size = atom.size) !== null && _atom$size !== void 0 ? _atom$size : size];
+ }));
+ if (sizes.size > 1) return "an equation whose runs are of different sizes";
+ const classes = classesOf(atoms);
+ if (typeof classes === "string") return classes;
+ let width = 0;
+ let previous;
+ let between = 0;
+ for (const [position, atom] of all.entries()) {
+ if (typeof atom === "number" || atom.space) {
+ between += typeof atom === "number" ? atom : 0;
+ width += typeof atom === "number" ? 0 : atom.width;
+ continue;
+ }
+ const index = atoms.indexOf(atom);
+ const kind = classes[index];
+ if (previous !== void 0) {
+ const space = SPACES.get(`${previous} ${kind}`);
+ if (space === void 0) return OPERATORS_TOGETHER;
+ width += (space + between) / 18;
+ }
+ between = 0;
+ width += atom.width;
+ const following = all[position + 1];
+ const beforeOrdinary = typeof following === "object" && !following.space && classes[index + 1] === "ordinary";
+ if (atom.unknownCorrection && !beforeOrdinary) return "an italic sign in an equation before what isn't ordinary, such as a letter or digit";
+ width += atom.italic && !beforeOrdinary ? atom.italicCorrection : 0;
+ previous = kind;
+ }
+ const [drawnSize] = sizes;
+ return {
+ width: width * drawnSize,
+ ascent: ASCENT * drawnSize,
+ descent: DESCENT * drawnSize
+ };
+ };
+ //#endregion
//#region src/layout/table-formats.ts
/**
* Reads the formatting of a table that changes how its rows and cells are laid out, beyond their widths: its borders and
@@ -8031,6 +8469,56 @@ var docxLayout = (function(exports) {
if (name === "w:sdt") return readRemoved(childrenOf(find(childrenOf(element[name]), "w:sdtContent")), kind, reader);
return RUN_CONTAINERS.has(name) || REMOVALS.has(name) || name === "w:fldSimple" ? readRemoved(contentOf$3(element), kind, reader) : [];
}), reader);
+ var EQUATION_BROKEN = "an equation that doesn't fit on its line";
+ /**
+ * Reads an equation (`m:oMath`), or a paragraph of one (`m:oMathPara`), as Word lays out one of text: a box as wide as it
+ * is, which takes room above and below the baseline as a line of Cambria Math does, in the size of its paragraph's text,
+ * with its bookmarks before it. Word shows one alone in its paragraph on a line of its own, centred, which is as tall
+ * (`word-equations.docx` EQ2c, EQ2d). Or why it can't be laid out: one of more than text (see {@link layOutEquation}), a
+ * paragraph of more than one equation, and one in a document whose maths settings aren't followed (see
+ * {@link readMathsSettings})
+ */
+ var readEquation = (element, paragraphRun, reader) => {
+ var _fontOf$size;
+ if (reader.maths !== void 0) return reader.maths;
+ const name = nameOf$1(element);
+ const equations = name === "m:oMath" ? [element] : childrenOf(element[name]).filter((child) => "m:oMath" in child);
+ if (equations.length !== 1) return equations.length === 0 ? [] : "a paragraph of more than one equation";
+ const [equation] = equations;
+ const box = layOutEquation(equation["m:oMath"], (_fontOf$size = fontOf(paragraphRun).size) !== null && _fontOf$size !== void 0 ? _fontOf$size : 10);
+ if (typeof box === "string") return box;
+ return [...elementsIn$1(contentOf$3(equation), (inner) => inner === "w:bookmarkStart").flatMap((bookmark) => markerOf(bookmark)), {
+ type: "box",
+ width: box.width,
+ height: box.ascent,
+ descent: box.descent,
+ unbroken: EQUATION_BROKEN
+ }];
+ };
+ /**
+ * Whether a paragraph's content has an equation displayed (`m:oMathPara`) that the reader reads: one among it, or in what
+ * its text is in, such as a hyperlink, but not one in its runs' text boxes, nor one deleted or moved elsewhere in a tracked
+ * change, unless deleted text is read as text (see {@link readInline})
+ */
+ var isDisplayedIn = (elements, reader) => elements.filter(isObject).some((element) => {
+ const name = nameOf$1(element);
+ const read = name !== "w:r" && name !== "_attr" && (reader.showDeleted === true || !REMOVALS.has(name));
+ return name === "m:oMathPara" || read && isDisplayedIn(contentOf$3(element), reader);
+ });
+ /**
+ * A paragraph's content, as read, or why it can't be laid out for the equations in it. Word shows an equation in a line of
+ * text in the line, and one alone in its paragraph displayed, on a line of its own (`word-equations.docx` EQ2). One in
+ * `m:oMathPara`, which is displayed, beside text in its paragraph, more than one alone in a paragraph, and one alone after
+ * its list's number haven't been seen.
+ */
+ var withEquations = (elements, read, numbered, reader) => {
+ if (typeof read === "string") return read;
+ const shown = read.filter((item) => item.type !== "marker");
+ const equations = shown.filter((item) => item.type === "box" && item.unbroken === EQUATION_BROKEN).length;
+ if (equations === 0) return read;
+ const reason = shown.length > equations && isDisplayedIn(elements, reader) ? "an equation displayed (`m:oMathPara`) beside text in its paragraph" : shown.length === equations && (equations > 1 || numbered) ? "an equation alone in its paragraph beside another, or after its list's number" : void 0;
+ return reason === void 0 ? read : guessedOr(reader, reason, () => read);
+ };
/**
* Reads the content of a paragraph, or of an element in it, such as a hyperlink, and when it is deleted (`removed`), as
* Word sizes a table's columns by it.
@@ -8053,7 +8541,7 @@ var docxLayout = (function(exports) {
if (name === "w:bookmarkStart") return markerOf(element);
if (name === "w:subDoc") return "a subdocument";
if (name === STOP) return String(element[name]);
- return name === "m:oMath" || name === "m:oMathPara" ? "an equation" : [];
+ return name === "m:oMath" || name === "m:oMathPara" ? readEquation(element, paragraphRun, reader) : [];
}), reader);
/**
* The number of a paragraph in a list, and what follows it, as its list's level writes it, and its number as a chapter
@@ -8325,7 +8813,7 @@ var docxLayout = (function(exports) {
...list.level ? [list.level.paragraph] : [],
readParagraphFormat(properties)
];
- const read = readInline(children, paragraphRun, reader);
+ const read = withEquations(children, readInline(children, paragraphRun, reader), list.items.length > 0, reader);
const guessed = typeof read === "string" ? void 0 : read.map(guessOf).find((reason) => reason !== void 0);
const items = typeof read === "string" ? read : read.filter((item) => guessOf(item) === void 0);
const combined = combine(formats);
@@ -9678,6 +10166,27 @@ var docxLayout = (function(exports) {
*/
var readHyphenation = (settings) => onOff(settings, "w:doNotHyphenateCaps") === true ? { capitalsWhole: true } : {};
/**
+ * Why a document's equations can't be laid out as Word does for its maths settings (`m:mathPr`), when they say what isn't
+ * followed: a maths font other than Cambria Math, whose widths aren't known, and margins or space around equations shown
+ * on lines of their own, which haven't been seen. Word writes Cambria Math and margins of 0. Its other maths settings are
+ * of what the layout stops at anyway, such as how an equation is broken or built up, or line an equation up on its line.
+ */
+ var readMathsSettings = (settings) => {
+ var _valueIn;
+ const maths = childrenOf(find(settings, "m:mathPr"));
+ const valueIn = (name) => stringOf(attributesOf(find(maths, name))["m:val"]);
+ if (((_valueIn = valueIn("m:mathFont")) !== null && _valueIn !== void 0 ? _valueIn : "Cambria Math") !== "Cambria Math") return "an equation in a maths font other than Cambria Math";
+ return [
+ "m:lMargin",
+ "m:rMargin",
+ "m:preSp",
+ "m:postSp"
+ ].some((name) => {
+ var _numberOf11;
+ return ((_numberOf11 = numberOf(valueIn(name))) !== null && _numberOf11 !== void 0 ? _numberOf11 : 0) !== 0;
+ }) ? "an equation in a document whose maths settings give equations on lines of their own margins or space around them" : void 0;
+ };
+ /**
* Reads the parts of the document's settings (`w:settings`) that change how it is laid out.
*/
var readSettings = (xml) => {
@@ -9791,7 +10300,7 @@ var docxLayout = (function(exports) {
* Reads a document's body (`w:body`), with the other parts of the document.
*/
var readContent = (body, parts, { guess = false } = {}) => {
- var _parts$otherListIds, _parts$otherListIds2, _parts$settings, _fontOf$size, _ref24, _ref25, _ref26, _ref27, _ref28, _ref29, _documentContent$unsu;
+ var _parts$otherListIds, _parts$otherListIds2, _parts$settings, _fontOf$size2, _ref24, _ref25, _ref26, _ref27, _ref28, _ref29, _documentContent$unsu;
const { styles } = parts;
const { lists: numbering, unsupported: inNumbering } = readNumbering(parts.numbering, styles, (_parts$otherListIds = parts.otherListIds) !== null && _parts$otherListIds !== void 0 ? _parts$otherListIds : /* @__PURE__ */ new Map());
const listIds = (_parts$otherListIds2 = parts.otherListIds) !== null && _parts$otherListIds2 !== void 0 ? _parts$otherListIds2 : /* @__PURE__ */ new Map();
@@ -9801,7 +10310,8 @@ var docxLayout = (function(exports) {
};
const settings = childrenOf((_parts$settings = parts.settings) === null || _parts$settings === void 0 ? void 0 : _parts$settings["w:settings"]);
const decimalSymbol = valueOf(settings, "w:decimalSymbol");
- const readerOf = (inHeader) => _objectSpread2(_objectSpread2({
+ const maths = readMathsSettings(settings);
+ const readerOf = (inHeader) => _objectSpread2(_objectSpread2(_objectSpread2({
styles,
numbering,
listIds,
@@ -9809,7 +10319,7 @@ var docxLayout = (function(exports) {
markers,
fields: [],
counters: /* @__PURE__ */ new Map()
- }, decimalSymbol === void 0 ? {} : { decimalSymbol }), guess ? { guess } : {});
+ }, decimalSymbol === void 0 ? {} : { decimalSymbol }), maths === void 0 ? {} : { maths }), guess ? { guess } : {});
const elements = unwrap(joinRemovedMarks(contentOf$3(body), styles, {
nested: false,
sized: false,
@@ -9836,7 +10346,7 @@ var docxLayout = (function(exports) {
footnote: noteElements("footnote"),
endnote: noteElements("endnote")
};
- const normalSize = (_fontOf$size = fontOf(combine([styles.run, ...styleChain(styles, styles.defaultParagraphStyle, "paragraph").map(({ run }) => run)])).size) !== null && _fontOf$size !== void 0 ? _fontOf$size : 10;
+ const normalSize = (_fontOf$size2 = fontOf(combine([styles.run, ...styleChain(styles, styles.defaultParagraphStyle, "paragraph").map(({ run }) => run)])).size) !== null && _fontOf$size2 !== void 0 ? _fontOf$size2 : 10;
const pageSettings = {
gutterAtTop: onOff(settings, "w:gutterAtTop") === true,
mirrorMargins: onOff(settings, "w:mirrorMargins") === true
diff --git a/usage/layout.md b/usage/layout.md
index 696ffa5fb2..3a61df992d 100644
--- a/usage/layout.md
+++ b/usage/layout.md
@@ -212,6 +212,7 @@ The pages are laid out with the widths and heights of the characters of the font
- tables that text wraps around (a table's `float`), as Word lays the text out around them: the text after the table goes beside it, as beside a picture with square wrapping, kept from it by its distances from the text (`leftFromText`, `rightFromText`, `topFromText` and `bottomFromText`). A table is placed across against the page, its margins or the column (`horizontalAnchor`), and down against the page, its margins or the top of the paragraph after it (`verticalAnchor`), at a distance (`absoluteHorizontalPosition`, `absoluteVerticalPosition`) or lined up with them (`relativeHorizontalPosition`, `relativeVerticalPosition`). Its room is as wide as its rows with the halves of its borders left and right, or 0.75 points wider than its rows without borders there, and as tall as its rows, and its indent doesn't move it. It is below the space after the paragraph before, and the paragraph after it has all of its space before below that, as after a table. Tables one after the other before a paragraph each go round it, and the paragraphs after it go round it too while they are beside it
- text frames (a paragraph's `frame`) and drop caps, as Word lays them out: the paragraph is taken out of the text and put in a box of its own, which the paragraph after it is anchored in, and the text goes round the box as it goes round a picture with square wrapping. The box is placed against the page, its margins, the column, or the paragraph after it, at the place or lined up as `position` or `alignment` says, and its `space` keeps the text from it, `horizontal` left and right and `vertical` above and below. It is as wide as `width`, or its text when it has none, and as tall as `height` exactly with the rule `HeightRule.EXACT`, its text with `HeightRule.AUTO`, and at least `height` otherwise, as Word takes a height with no rule. Paragraphs next to each other with the same frame are in one box, with the space before the first and after the last in it. With `wrap` none, the box is in front of the text and takes no room, and with not beside, the text goes above and below it; around, tight, through and auto are all around it. A drop cap is a frame like any other, as wide as its letter, and the lines of the next paragraph beside it are those its box is beside, as Word lays it out. The bookmarks and fields in a frame are on its anchor's page. The text in frames isn't among the lines of `layoutDocument`'s pages
- VML drawings (`w:pict`), as Word lays them out. A text box (`Textbox`) in the line is sized to its text, as Word sizes it whatever `height` it has: its paragraphs, broken in its `width` less 0.2 inches for the room between its edges and its text, with 0.1 inches above and below them and 0.72 points more, and its outline, which takes 0.72 points across and down, or none when it is hidden. It stands on the baseline, as a picture does. A text box placed on the page (`position: "absolute"`) takes no room, as Word puts it in front of the text, as do docx's watermarks. In [templates](#templates), a shape in the line without an outline is a box of its size, and one placed on the page with square or top and bottom wrapping (`w10:wrap`) is laid out as a picture with that wrapping, with VML's distances from the text, 9 points left and right, where it gives none
+- equations of text (`Math` with `MathRun`s, and a `MathFunction` alone), as Word lays them out in Cambria Math: letters in italic, unless a run is plain (`style: "plain"`), digits, operators and brackets upright, each as wide as Word draws it, with the spaces TeX puts between them, as Word puts them: 4 eighteenths of an em either side of a binary operator such as + or ×, 5 either side of a relation such as = or ≤, 3 after punctuation such as a comma and after a function's name, and none beside brackets, bars and slashes. A plus or minus sign at the start, or after an operator, a relation, an opening bracket or punctuation, is unary, with no space. Word's italic correction is added after an italic letter, unless a letter, a digit or another ordinary character follows it. An equation is in its paragraph's style's size, or its run's own, and takes room in its line as text in Cambria Math does, so a line of it beside text is as tall as the tallest ascent and the deepest descent of both. One alone in its paragraph is on a line of its own, centred, as tall as a line of Cambria Math
- tracked changes, as Word lays them out with its markup in balloons beside the page, or in Simple Markup. Deleted text (`DeletedTextRun`), and deleted pictures, tabs and breaks, take no room, nor does text moved elsewhere, and inserted text (`InsertedTextRun`) does. A paragraph whose mark is deleted (`run: { deletion }`) is joined to the next, all in the next one's formatting, style and list, and a section whose break is deleted goes on into the next, on its pages. A paragraph with no paragraph after it to join, before a table or at the end of a table cell or of the document, stays as it is. A footnote whose reference is deleted isn't laid out, but Word still counts it, so the footnotes after it keep their numbers. A deleted table row (`TableRow`'s `deletion`) takes no room, nor does the space between cells around it, and the rows around it have one border between them, which is the deleted row's own when it has borders of its own. Nor does a table all of whose rows are deleted take room. A table style's formatting for the first and last rows and for bands of rows goes by each row's place among all the rows, the deleted ones too, so with the first row deleted the second isn't formatted as the first. Word still sizes the columns of a table to their text, or widens them for long words, by its deleted rows and deleted text. Deleted and inserted cells, comments and changes of formatting don't move the lines. A document that asks Word to hide its insertions and deletions, or its markup (`w:revisionView`), is laid out the same, as Word for Mac opens it in its own view
- tables, with their columns' widths (`columnWidths`, or their cells' widths), their rows' heights, cell margins and borders. The columns of a table given no widths are sized to their text, as Word sizes them: each as wide as its longest line, or narrower when they don't all fit, but never narrower than its longest word, and a column whose cells give it a width keeps it. A cell merged across columns (`columnSpan`) widens them where its longest line needs more room, each in proportion to how wide it is, and a table in a cell counts as wide as its columns. In a table whose cells all have widths, a column with a word longer than its cells give it is widened to fit the word, and the other columns are narrowed to make room, as Word does, unless the table's layout is fixed. A table with a width of its own in twips is fitted to it, as Word fits it: when its columns are narrower, they are widened in proportion, and when they are wider, they are narrowed toward their longest words, or, when its layout is fixed, whatever is in them, each by the same share of the room for its text. When a word is longer than the table, its column is as wide as the word, and the table goes past the margin. Where the rows of a table give a column different widths, each column is as wide as the widest a row gives it, and a cell merged across columns that is wider than they are widens the last of them, before they are fitted to the table's width, or, without one, narrowed to the room, unless its layout is fixed. A word in a cell merged across columns that is longer than they are wide is shared among them in proportion to each column's longest word and its longest line, or its width, added together, as Word shares it, and those columns keep its width when the others are narrowed. Rows break across pages between the lines of their cells, as Word breaks them, keeping to widow and orphan control and lines kept together, and with room on the page for the space after a cell's paragraph that ends there. They move to the next page whole when a cell would have none of its lines on the page, when they are kept whole (`cantSplit`), and when the page hasn't room for the height they are set to. A row kept whole, or whose paragraph is kept together, that is taller than a page moves to a new page and breaks there as other rows do, and a row set to a height taller than a page takes a page of its own, cut off at its bottom, as Word lays them out. Where a table breaks across pages, Word draws its bottom border below the last of it on the page, which takes room there too, or its cells' own bottom borders. Header rows are repeated at the top of each page and column a table is on. The text of a cell merged down rows (`verticalMerge`) goes down from the top of its first row across the others, and makes the last of them taller when it needs the room. Where one of its rows breaks across pages, its text breaks with the row, as far down the page as its lines go, keeping to widow control, as Word breaks it, and the rest of it goes on from the top of its rows on the next page. A table in a cell breaks with its row, between its own rows and in them between the lines of their cells, as Word breaks it: as a table in the text breaks, keeping to widow control, with its bottom border below the last of it on the page and its cells' margins around their lines on each page, and with its rows kept whole, or of a set height, moving to the next page whole. On the next page, Word draws its top border above the rest of it
- table formatting, as Word lays it out. Borders come from the table's style and the table (`borders`), side by side, from its cells (`TableCell`'s `borders`), and from the parts of its style for some of its cells. Where two cells meet, Word draws the wider of their borders, and each row is as much taller as the widest border above its cells. Double, triple and the other styles of border take the room Word gives them, such as three times their width for a double border, and a border's `space` adds to it. A cell's text is as far in from a border beside it as its margin, or half the border when that is more. A row is as tall as its tallest cell's text, with the largest margins above and below of its cells, which needn't be the same cell's. Space between cells (`cellSpacing`) goes around each cell and inside the table's edges, and the table keeps its width, its columns narrowed for the space as Word narrows them. A row whose first cell's first paragraph is kept with the next (`keepNext`) is kept on the page with the next row, or, for the last row, with the paragraph after the table, and rows kept together that don't fit on a page of their own start a new page and break where it ends. Text that runs up or down a cell (`textDirection`) makes its row only as tall as a line of its paragraph mark, as Word breaks it into lines as long as the row is tall. A table sized to its text that is indented (`indent`) is sized in the room the indent leaves. The parts of a table style for some cells, such as its first row, its last column or its bands of rows, apply where the table turns them on (`tableLook`), and where it doesn't say, as Word turns them on: its first row and column and its bands of rows. A header of several rows (`tableHeader`) is the table's first row, all of it, and the bands of rows start below it, as Word applies them. In [templates](#templates), an empty last paragraph of a cell whose mark is hidden (`w:hideMark`) takes no room
@@ -227,7 +228,7 @@ It stops at the first thing it can't lay out yet, and the page numbers of the he
- a text frame where Word's way with it hasn't been seen: one with borders, which take room beside it that their width doesn't explain, one in a header, footer, table cell, footnote, endnote or text box, one with no paragraph after it in its section, such as one before a table, one with a footnote or endnote in it, one whose paragraph and style give it different frames, and one placed against something other than the page, the margins, the column and the paragraph, or lined up in line with the text
- a VML drawing where Word's way with it hasn't been seen: a text box whose line would break differently in 0.72 points more or less room, one not sized to its text, with insets or an outline of its own, with a footnote, a list or a drawing in it, in a header or footer, or placed on the page with wrapping; a picture (`v:imagedata`), which Word draws at a size other than its own, a shape in the line with an outline, one placed on the page with tight or through wrapping, an outline, or in a header or footer, which the body's text goes round, a shape sized in pixels, ems or a share, one turned, and an embedded object (`w:object`)
- a picture, shape or chart that text wraps around where Word's way with it hasn't been seen: drawings that may not overlap (`allowOverlap: false`) and do, which Word moves out of the way, one in a table cell, a footnote or an endnote, one beside a table sized to its text, or beside an indented table it would move to the right, one beside paragraphs kept with the next that have drawings of their own or are kept with a table, one in columns evened out after being laid out again for a drawing beside text before it, and one beside the footnotes at the bottom of a page. So does one placed against where its anchor is along its line (`HorizontalPositionRelativeFrom.CHARACTER`), or by its simple position, one that would go above the page's text with a distance from the text above it, and one that would go past the bottom of the page's text at the top of a page or a column, above footnotes, or only by its distance from the text below it. So does one whose anchor's page changes as the text goes round it, and a page whose text going round a drawing moves the drawing's paragraph to the next page, or that has to be laid out again for its drawings more than 5 times
-- an equation
+- an equation Word builds up, such as one with a fraction, a superscript or subscript, a root, a sum or brackets that grow, or with normal text, another alphabet or bold; one with operators next to each other, or a bracket, bar or slash after an operator, which Word spaces in a way not yet followed; one that doesn't fit on its line, which Word breaks after an operator; a full stop other than a decimal point, a character whose width in Cambria Math isn't known, such as a hyphen, runs of different sizes, formatting other than a size of its own, an empty equation, two equations in one paragraph of equations, a paragraph of equations (`m:oMathPara`) beside text, more than one equation alone in a paragraph, one alone after its list's number, an equation outside a paragraph, and equations in a maths font other than Cambria Math, or with margins or space around them, in the document's maths settings
- a footnote that continues on the next page where it would break in a table row whose lines could go on both pages, which Word breaks as the text's, or in paragraphs kept with the next from the start of its part on a page; one that continues from a paragraph kept with a paragraph that starts a new page; one that starts on the page after its reference's, before a continuous section that starts on that page; a footnote line, or a line and the start of its footnote, taller than a page; and footnotes after one that starts on the page after its reference's that don't fit below its end
- a paragraph kept together that is taller than some of 3 or more columns of different widths but not others, and a paragraph kept with the next before one taller than some of the columns but not others
- endnotes in a section of columns that go on into the next column or page, where Word may put the continuation separator in a way not yet followed, and in [templates](#templates), an endnote separator with text in it, or of more than a paragraph
The unique identifier for this abstract numbering definition.