diff --git a/api/classes/bibliography.Citation.html b/api/classes/bibliography.Citation.html
index a13b5e26f3..ecbada39f0 100644
--- a/api/classes/bibliography.Citation.html
+++ b/api/classes/bibliography.Citation.html
@@ -32,7 +32,7 @@ it again when it updates the document's fields, or when the style is changed.
diff --git a/api/classes/charts.ChartDataPatch.html b/api/classes/charts.ChartDataPatch.html
index 7fdf5aec45..f06eb4d248 100644
--- a/api/classes/charts.ChartDataPatch.html
+++ b/api/classes/charts.ChartDataPatch.html
@@ -45,7 +45,7 @@ placeholder in the document's text is left as it is.
diff --git a/api/classes/embedded-files.EmbeddedFileRun.html b/api/classes/embedded-files.EmbeddedFileRun.html
index 4748189f34..7c1e161cb7 100644
--- a/api/classes/embedded-files.EmbeddedFileRun.html
+++ b/api/classes/embedded-files.EmbeddedFileRun.html
@@ -46,7 +46,7 @@ object sits inline with text, in a paragraph, including in a table, header, foot
diff --git a/api/classes/index.AbstractNumbering.html b/api/classes/index.AbstractNumbering.html
index e033660f1f..6f865ba5ff 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 94942dfd0c..2231d2f712 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 b04781f936..9d64c3cb4b 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 805919e9a8..0d282d5fb1 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 ef8b063417..5e7eff89e7 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 750ff246fe..7114b9fe38 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 cbf405fafa..cb3f14e709 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 82e5d595da..c86370d025 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 dc91d101aa..3fea25e714 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 0434e60d39..e537c98bff 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 ae958be751..3a55fc25cb 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 e8757d6ce9..5c62d6b939 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 2f9e625e02..8947dd5f30 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 837bed8e3f..bf4294ec07 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 65148c85eb..1670fb6269 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 3262d9a5be..f5bf2f19b5 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 cfa4b44688..7ed2acc707 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 6b62e8e99e..348ce4a8e9 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 a051479df5..6c2fc67b55 100644
--- a/api/classes/index.DrawingPatch.html
+++ b/api/classes/index.DrawingPatch.html
@@ -28,7 +28,7 @@ replaces a picture's image. So is ChartDataPatch from docx/ch
diff --git a/api/classes/index.EditableRangeStart.html b/api/classes/index.EditableRangeStart.html
index c9e2ec413b..4f5dcb17ce 100644
--- a/api/classes/index.EditableRangeStart.html
+++ b/api/classes/index.EditableRangeStart.html
@@ -36,7 +36,7 @@ The id must be different from every other editable range's. The document's
diff --git a/api/classes/index.EndnoteIdReference.html b/api/classes/index.EndnoteIdReference.html
index c72962bfd4..939feefe50 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.EndnoteReferenceRun.html b/api/classes/index.EndnoteReferenceRun.html
index ac64ee7019..23ebf5529c 100644
--- a/api/classes/index.EndnoteReferenceRun.html
+++ b/api/classes/index.EndnoteReferenceRun.html
@@ -31,7 +31,7 @@ own, which is added to the document's endnotes when the run is written.
diff --git a/api/classes/index.EndnoteReferenceRunAttributes.html b/api/classes/index.EndnoteReferenceRunAttributes.html
index eeecbd33a0..e58dd4dfae 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 57b7c645d7..08be0f7309 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 3827f952e1..fe1e17d555 100644
--- a/api/classes/index.ExternalHyperlink.html
+++ b/api/classes/index.ExternalHyperlink.html
@@ -42,7 +42,7 @@ Word appends the anchor to the relationship target as described in MS-OI29500 §
diff --git a/api/classes/index.FileChild.html b/api/classes/index.FileChild.html
index 6c8ee454ee..9de0d7a6d3 100644
--- a/api/classes/index.FileChild.html
+++ b/api/classes/index.FileChild.html
@@ -29,7 +29,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 0b9ede16ff..17890671d1 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 abe65c7895..c8e7be204b 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 5470f5e1ef..b7954242a3 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.FootnoteReferenceRun.html b/api/classes/index.FootnoteReferenceRun.html
index 7e647b2bfd..b29cad8c5d 100644
--- a/api/classes/index.FootnoteReferenceRun.html
+++ b/api/classes/index.FootnoteReferenceRun.html
@@ -36,7 +36,7 @@ in, such as by a function that makes paragraphs, then brings its footnotes with
diff --git a/api/classes/index.GridSpan.html b/api/classes/index.GridSpan.html
index d109c355c3..e18a39f119 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 a116e6ee12..c5fc9fbbf2 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 49287620e7..78542cc15f 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 a477f0edaf..22b20874ff 100644
--- a/api/classes/index.IgnoreIfEmptyXmlComponent.html
+++ b/api/classes/index.IgnoreIfEmptyXmlComponent.html
@@ -40,7 +40,7 @@ to be excluded from the output.
diff --git a/api/classes/index.ImagePatch.html b/api/classes/index.ImagePatch.html
index d9ff474a33..f0cee672ae 100644
--- a/api/classes/index.ImagePatch.html
+++ b/api/classes/index.ImagePatch.html
@@ -40,7 +40,7 @@ document's text is left as it is: use an ImageRun in a PatchT
diff --git a/api/classes/index.ImageRun.html b/api/classes/index.ImageRun.html
index cdfd2c4153..7c2ba7b74e 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 b551fd1095..6ef8f16d14 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 d2dbb2db73..60496024f0 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 3004143d88..06d704463c 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 2f583b58f9..ef1977e675 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 f3cc405428..16e71c3c5b 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 3bf46305be..8d447ebca7 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 77f55bdd3e..911778f2de 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 be166df57f..57998c642f 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 f0833e4a82..ba07af8283 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 6e9ec98b61..f5c1f38098 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 3b5da1852d..4033ba307e 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 a05b26c256..20cf6aa4d4 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 78c69c2e51..fc610d4924 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 9c28a62244..d401fb4f22 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 1e14d689d1..c5ffe14382 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 72f6731f75..c9210a051a 100644
--- a/api/classes/index.Media.html
+++ b/api/classes/index.Media.html
@@ -28,7 +28,7 @@ is the name it is written with, not the key it was added under.
diff --git a/api/classes/index.NextAttributeComponent.html b/api/classes/index.NextAttributeComponent.html
index 8874cc086b..0729baf59a 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 9a52dd14b1..afbdb08bf7 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 10d75c4596..896cacd03a 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 55fa111234..2de8ed4bfe 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 f1930dc871..05f3835b51 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 eda5e94ecc..cd8552f8a4 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.ParagraphPropertiesDefaults.html b/api/classes/index.ParagraphPropertiesDefaults.html
index ff6b0a0f1b..9ba3df113a 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 34f4f7399c..084c4901b3 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 09f2dc669a..7ea06f3a31 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 7be0ec9781..d6faab2cce 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 39efd98b0b..c1dd64dd69 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 20668d3d3c..ecf7969114 100644
--- a/api/classes/index.SimpleField.html
+++ b/api/classes/index.SimpleField.html
@@ -43,7 +43,7 @@ reads them as a w:fldSimple. They have no cached value, so one give
diff --git a/api/classes/index.SimpleMailMergeField.html b/api/classes/index.SimpleMailMergeField.html
index 8629596e12..def31e7643 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 285a4e7d08..48586f9996 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 183a028d48..79f4713450 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 6356f88236..69e8f7949e 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 8fe6c07d9e..d921f59936 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 6626eef70f..c7845e0fd5 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 b96c9f2789..099df50e61 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 7045897f73..9418cec074 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.TableBorders.html b/api/classes/index.TableBorders.html
index 4ab7cd826c..db2be572f4 100644
--- a/api/classes/index.TableBorders.html
+++ b/api/classes/index.TableBorders.html
@@ -32,7 +32,7 @@ line, unless fillMissingSides is false, when it is left to the tabl
diff --git a/api/classes/index.TableCellBorders.html b/api/classes/index.TableCellBorders.html
index 3837e04a03..350c6d0fd3 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.TableOfContents.html b/api/classes/index.TableOfContents.html
index 1b8c885140..c428907d43 100644
--- a/api/classes/index.TableOfContents.html
+++ b/api/classes/index.TableOfContents.html
@@ -43,7 +43,7 @@ table of contents, with Update Table, rather than as a content control named by
diff --git a/api/classes/index.TableRow.html b/api/classes/index.TableRow.html
index a6f04fa246..c03cf4e0ca 100644
--- a/api/classes/index.TableRow.html
+++ b/api/classes/index.TableRow.html
@@ -37,7 +37,7 @@ isn't written, as Word can't open a document with one.
diff --git a/api/classes/index.TableRowProperties.html b/api/classes/index.TableRowProperties.html
index 5d3fec3ef3..c28c924281 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 d6c4ff7143..c5f4acf1ea 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.ThematicBreak.html b/api/classes/index.ThematicBreak.html
index 35490dad1f..419177a3c9 100644
--- a/api/classes/index.ThematicBreak.html
+++ b/api/classes/index.ThematicBreak.html
@@ -34,7 +34,7 @@ paragraph's other borders are written in the same element, with the line in plac
diff --git a/api/classes/index.VerticalMerge.html b/api/classes/index.VerticalMerge.html
index ac53669c8d..0301858bdc 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 f8b55ab74e..17517bd9d9 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 460590b4b8..537daea840 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 bc69a02665..18e3368ed4 100644
--- a/api/classes/index.XmlComponent.html
+++ b/api/classes/index.XmlComponent.html
@@ -127,7 +127,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 eebcede04f..0cc63c8a7b 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 be190001f9..ec47d5c12f 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 51a0efe174..40b847d785 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 fdee76b77c..9712aeee3c 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 62fc1a5bd8..ba01b78a4e 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 e60d6bb554..9d0db6974e 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 eea1df264c..74fb902851 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 46c81f3bbd..ce2efc256a 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 ce505760e0..5f5da183d4 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/html.htmlToContent.html b/api/functions/html.htmlToContent.html
index 5b157032b0..9d8c46d1c3 100644
--- a/api/functions/html.htmlToContent.html
+++ b/api/functions/html.htmlToContent.html
@@ -50,7 +50,7 @@ read as a browser reads it, and what the document can't have, such as a video, i
diff --git a/api/functions/html.htmlToRuns.html b/api/functions/html.htmlToRuns.html
index bcd630bdfd..6fd8cb3bab 100644
--- a/api/functions/html.htmlToRuns.html
+++ b/api/functions/html.htmlToRuns.html
@@ -39,7 +39,7 @@ and lists is kept, without the tables and lists, with a warning, as a paragraph
diff --git a/api/functions/index.convertToXmlComponent.html b/api/functions/index.convertToXmlComponent.html
index 13fb54ce1e..407c156953 100644
--- a/api/functions/index.convertToXmlComponent.html
+++ b/api/functions/index.convertToXmlComponent.html
@@ -35,7 +35,7 @@ ImportedXmlComponent objects that match the structure of the original XML.
diff --git a/api/functions/index.createEmphasisMark.html b/api/functions/index.createEmphasisMark.html
index 2947827571..99d953e134 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 b7a008a088..29ec2e7a11 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 468b6214a0..d21216566e 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.createMathNAryProperties.html b/api/functions/index.createMathNAryProperties.html
index ddd103fc0d..7512245107 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 60de21799a..288f7e7482 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 57af66d933..04ea1c829d 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 98b50c000a..dd7e35ead0 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 d4d18079ec..66b04d0090 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 2e531b8aa5..1611d35c44 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 a57c87b19b..0073a21a5c 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 3d681d3f45..2ef6bbd91f 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 6fb7c13cef..dd3a05c05a 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 5e842abf83..6e759e1221 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 2d90acc91c..05ce093713 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 f5fa06252a..d51ac7675a 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 d73c533ddb..2a412895e4 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.elementOf.html b/api/functions/index.elementOf.html
index b36f8355af..2d3bc7b18d 100644
--- a/api/functions/index.elementOf.html
+++ b/api/functions/index.elementOf.html
@@ -31,7 +31,7 @@ is constructed with its element as rootKey.
diff --git a/api/functions/index.fillPartPageNumbers.html b/api/functions/index.fillPartPageNumbers.html
index 89d55ab850..d501045e33 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 a7a8a31519..da5c31de3d 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 71eecf94e7..0826559909 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.isXmlComponent.html b/api/functions/index.isXmlComponent.html
index c7e57dc929..3edfa481f0 100644
--- a/api/functions/index.isXmlComponent.html
+++ b/api/functions/index.isXmlComponent.html
@@ -32,7 +32,7 @@ method that would write it.
diff --git a/api/functions/index.patchDocument.html b/api/functions/index.patchDocument.html
index 8cbbab44c9..add2069150 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.readTheme.html b/api/functions/index.readTheme.html
index 574f8975bf..e37eebab0b 100644
--- a/api/functions/index.readTheme.html
+++ b/api/functions/index.readTheme.html
@@ -48,7 +48,7 @@ theme's colors or fonts, as text or bytes
diff --git a/api/functions/index.universalMeasureToTwips.html b/api/functions/index.universalMeasureToTwips.html
index a65fc81e63..762188c119 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 0f3793579f..3158373cef 100644
--- a/api/functions/layout.estimatePageNumbersWith.html
+++ b/api/functions/layout.estimatePageNumbersWith.html
@@ -51,7 +51,7 @@ whose number it didn't work out is left out, and the entry is written without a
diff --git a/api/functions/layout.layoutDocument.html b/api/functions/layout.layoutDocument.html
index af04e145c3..10225a7c63 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 8b7778832e..d37f22f862 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/macros.createMacros.html b/api/functions/macros.createMacros.html
index 29861e7186..f878d79490 100644
--- a/api/functions/macros.createMacros.html
+++ b/api/functions/macros.createMacros.html
@@ -47,7 +47,7 @@ by ThisDocument, the project, Project, or a library it uses, VBA, Word, stdole,
diff --git a/api/functions/math.latexToMath.html b/api/functions/math.latexToMath.html
index 6270c69878..88f3141ea7 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 a20042fe3a..28a43e9e9e 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/bibliography.Source.html b/api/types/bibliography.Source.html
index 067f8ea065..5070a571ee 100644
--- a/api/types/bibliography.Source.html
+++ b/api/types/bibliography.Source.html
@@ -23,7 +23,7 @@ each field's description says which types of source Word asks for it with.
diff --git a/api/types/charts.BarChartBaseOptions.html b/api/types/charts.BarChartBaseOptions.html
index ce2554b389..fbe203a91d 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 4764000a9a..55bb6d8714 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 02248a5926..68cfd38d5e 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 2a6190d260..711644bde7 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 4abbb33fbe..d577736f26 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 88a6ff736a..3b86f880ff 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 a54fca4cbc..9b5eb2e814 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 176e7dfdec..9b65bc951f 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 b1b6cafce1..1966713d1b 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 2b7c236d29..57eca3f0c0 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 ac9f9d32b6..72633d1c8c 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 a73c4f32e9..05d765f54c 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 64478817a6..87d6dc4172 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
@@ -66,7 +66,7 @@ Excel, Word or PowerPoint, and any other file, such as a sound, a video or a PDF
for Windows opens with the application the computer opens its type with. A packaged file keeps the name
@@ -74,7 +74,7 @@ for Windows opens with the application the computer opens its type with. A packa
it until the file is opened and changed in its application, which then draws the file again
+
diff --git a/api/types/html.HtmlImage.html b/api/types/html.HtmlImage.html
index 85f9b425ae..cf4ee44e09 100644
--- a/api/types/html.HtmlImage.html
+++ b/api/types/html.HtmlImage.html
@@ -16,7 +16,7 @@
SVG given without one is shown as nothing there.
@@ -51,7 +51,7 @@ an object of each address and its image, or a function that gives the image for
has none. An address is looked for as it is written, and then resolved against baseUrl.
@@ -59,7 +59,7 @@ has none. An address is looked for as it is written, and then resolved against <
of a document with docx's default page size and margins. Wider images are scaled down.
@@ -68,14 +68,14 @@ the foot of the page each is referred to on, by default, or "endnotes
page has them. Word's own HTML says which of its notes are footnotes and which are endnotes, which they stay.
@@ -86,7 +86,7 @@ element give it different styles, the most specific selector's is used, as in CS
document, such as in its styles option or the template it patches.
+
@@ -94,7 +94,7 @@ document, such as in its styles option or the template it patches.<
editor it comes from. Rules in @media print blocks are used, and those in other @media blocks aren't.
+
@@ -103,7 +103,7 @@ of their datetime attribute, or this time, or now: an ISO 8601 date
2026-10-13T09:30:00Z. Without it, they are underlined and struck through, as a browser shows them.
+
diff --git a/api/types/index.AttributePayload.html b/api/types/index.AttributePayload.html
index 1ad2c9489b..d5c49f0a86 100644
--- a/api/types/index.AttributePayload.html
+++ b/api/types/index.AttributePayload.html
@@ -21,7 +21,7 @@ control over attribute name mapping.
diff --git a/api/types/index.DocumentMacroEvent.html b/api/types/index.DocumentMacroEvent.html
index 4c1e18477c..a7c4d99b86 100644
--- a/api/types/index.DocumentMacroEvent.html
+++ b/api/types/index.DocumentMacroEvent.html
@@ -19,7 +19,7 @@ name in VBA, after "Document_", such as "open" for Doc
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 1690ffc036..bdaed4773a 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 f7c984fd62..3a9e3caad2 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 1811fb064b..ef113bdacf 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.
@@ -72,21 +72,21 @@ For Word's Left 0 cm and Hanging 1.9 cm, give left and hangin
Word's Paragraph dialog shows a hanging paragraph's Left as where its first line starts: left minus hanging.
@@ -59,7 +59,7 @@ defaults, turns it off. Where it is on, whether the space appears depends on the
Set it to false to turn the space off in every Word.
@@ -71,70 +71,70 @@ defaults, turns it off. Where it is on, whether the space appears depends on the
Set it to false to turn the space off in every Word.
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.IParagraphPropertiesChangeOptions.html b/api/types/index.IParagraphPropertiesChangeOptions.html
index bc89eb0b90..db5d96e474 100644
--- a/api/types/index.IParagraphPropertiesChangeOptions.html
+++ b/api/types/index.IParagraphPropertiesChangeOptions.html
@@ -28,7 +28,7 @@ run properties. To keep the earlier run properties of the paragraph mark, give t
the schema doesn't allow it.
diff --git a/api/types/index.IParagraphPropertiesOptionsBase.html b/api/types/index.IParagraphPropertiesOptionsBase.html
index f60cce4db7..3c5460368b 100644
--- a/api/types/index.IParagraphPropertiesOptionsBase.html
+++ b/api/types/index.IParagraphPropertiesOptionsBase.html
@@ -83,7 +83,7 @@ paragraph keeps its style's setting, so Latin and Korean text breaks at the spac
w:wordWrap to 0.
diff --git a/api/types/index.IParagraphRunPropertiesOptions.html b/api/types/index.IParagraphRunPropertiesOptions.html
index c313c2c044..2e68c46e2c 100644
--- a/api/types/index.IParagraphRunPropertiesOptions.html
+++ b/api/types/index.IParagraphRunPropertiesOptions.html
@@ -28,7 +28,7 @@ in the mark's w:rPr, after any w:ins and before the fo
first in the mark's w:rPr
diff --git a/api/types/index.IRunOptions.html b/api/types/index.IRunOptions.html
index e8bacadd5a..8b4f605ea1 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 de2a106c48..c290f6a05d 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
@@ -159,87 +159,87 @@ other with the same group are fitted to it together.
highlights all the run's text. docx used to write it as w:highlightCs, which is in no schema.
+
@@ -248,34 +248,34 @@ as Word's style separator does. It is meant for a paragraph's mark, with v
new Paragraph({ run: { vanish: true, specVanish: true } }). Without vanish, Word doesn't hide the mark.
+
diff --git a/api/types/index.ITableCellBorders.html b/api/types/index.ITableCellBorders.html
index a91934e0d9..746d0cad7f 100644
--- a/api/types/index.ITableCellBorders.html
+++ b/api/types/index.ITableCellBorders.html
@@ -23,7 +23,7 @@ the two lines that cross the cell from corner to corner.
@@ -57,49 +57,49 @@ the two lines that cross the cell from corner to corner.
It splits a header cell into a label for its row, below the line, and one for its column, above it.
@@ -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.
+
@@ -125,7 +125,7 @@ across the column by relativeHorizontalPosition's left, center or right when the
The anchors, absolute positions, distances from the text and overlap are for a floating table, and aren't written.
+
@@ -133,7 +133,7 @@ The anchors, absolute positions, distances from the text and overlap are for a f
to the right of the table. The value is in twentieths of a point. If omitted, the value is assumed to be zero.
+
@@ -141,7 +141,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 0f73c88fba..fff11f1b3e 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.
+
@@ -79,66 +79,66 @@ 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.ITableRowOptions.html b/api/types/index.ITableRowOptions.html
index 0b9a5eb7ab..e913b48679 100644
--- a/api/types/index.ITableRowOptions.html
+++ b/api/types/index.ITableRowOptions.html
@@ -35,7 +35,7 @@ the group on one page.
diff --git a/api/types/index.IThemeColorsOptions.html b/api/types/index.IThemeColorsOptions.html
index ae8e59447d..bd37937ff0 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 db8e52e2c6..ccf29ca820 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.ImagePatchOptions.html b/api/types/index.ImagePatchOptions.html
index a89d008a30..89784bf5c4 100644
--- a/api/types/index.ImagePatchOptions.html
+++ b/api/types/index.ImagePatchOptions.html
@@ -35,7 +35,7 @@ it the template's proportions, or give a size with its own
diff --git a/api/types/index.InputDataType.html b/api/types/index.InputDataType.html
index ec51ef918e..5c588e646e 100644
--- a/api/types/index.InputDataType.html
+++ b/api/types/index.InputDataType.html
@@ -17,7 +17,7 @@
arrays, and streams, such as fs.createReadStream's or Packer.toStream's.
diff --git a/api/types/index.MathRunStyle.html b/api/types/index.MathRunStyle.html
index f307f2d9bc..87f590e76f 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.NoteContent.html b/api/types/index.NoteContent.html
index 46a3162758..acf8b3e86d 100644
--- a/api/types/index.NoteContent.html
+++ b/api/types/index.NoteContent.html
@@ -19,7 +19,7 @@ with an id none of them has, when the run is written in the document's body.
diff --git a/api/types/index.NumberingDefinition.html b/api/types/index.NumberingDefinition.html
index 6f670dfd2e..abad9a6257 100644
--- a/api/types/index.NumberingDefinition.html
+++ b/api/types/index.NumberingDefinition.html
@@ -23,7 +23,7 @@ to the document's numbering when the paragraph is written.
diff --git a/api/types/index.OleObjectRelationshipType.html b/api/types/index.OleObjectRelationshipType.html
index be8f4980b0..d8e2d9cf16 100644
--- a/api/types/index.OleObjectRelationshipType.html
+++ b/api/types/index.OleObjectRelationshipType.html
@@ -17,7 +17,7 @@ OLE package. It isn't one of the
diff --git a/api/types/index.OutputByType.html b/api/types/index.OutputByType.html
index f01cff63a2..7adb0d64a7 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.PackagePartOptions.html b/api/types/index.PackagePartOptions.html
index 63b95341d9..13e01a23fe 100644
--- a/api/types/index.PackagePartOptions.html
+++ b/api/types/index.PackagePartOptions.html
@@ -23,7 +23,7 @@
docx/embedded-files embeds, gives it, so the options of a part made without it have a RelationshipType
diff --git a/api/types/index.PageNumberEstimator.html b/api/types/index.PageNumberEstimator.html
index e25c779ae1..4dfe93104e 100644
--- a/api/types/index.PageNumberEstimator.html
+++ b/api/types/index.PageNumberEstimator.html
@@ -48,7 +48,7 @@ whose number it didn't work out is left out, and the entry is written without a
diff --git a/api/types/index.ParagraphChild.html b/api/types/index.ParagraphChild.html
index f8332c9fa1..dbc52201fd 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.
diff --git a/api/types/index.PatchDocumentProperties.html b/api/types/index.PatchDocumentProperties.html
index f8e1446342..b188fc5a7c 100644
--- a/api/types/index.PatchDocumentProperties.html
+++ b/api/types/index.PatchDocumentProperties.html
@@ -16,7 +16,7 @@
as the document's tags and description as its comments.
diff --git a/api/types/index.RelationshipType.html b/api/types/index.RelationshipType.html
index 3a583d77d9..dfea3cd46c 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 96bda27df7..9490382eab 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 4e738f20ee..ce7f27d20f 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.
diff --git a/api/types/index.XmlElement.html b/api/types/index.XmlElement.html
index e3b1bd7088..27f6157a36 100644
--- a/api/types/index.XmlElement.html
+++ b/api/types/index.XmlElement.html
@@ -26,7 +26,7 @@ and the rest in instruction.
@@ -63,7 +63,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.
+
@@ -73,7 +73,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.
+
diff --git a/api/types/layout.MeasureWidth.html b/api/types/layout.MeasureWidth.html
index f29d7ed915..b037b51bed 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 d85e184cad..1800b063cc 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 5ab0c7a157..92c0caa2f7 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 bd58aa1893..ce68253479 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 73c722054b..6432bca471 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 306c60f9e4..a2a688911f 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 9f4a796483..0abd146967 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 aaee0bb04b..1469c88098 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 d855f95d18..5387a7622d 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 fa6e10f227..287a492773 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 6c20b5f766..0b5c8616bc 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 ec4ec19835..494835bba4 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 a4e9c3bb5d..053a90fbed 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 0c56145b49..ec60a935dd 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 2351ef9eac..56853a0793 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 2cc9af59fe..eee0575b2c 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 bab1d7e1aa..d1e0b48424 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 1ad05f0a8b..2022695279 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 6d5e500ad1..3e7fc02f78 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 e451342067..e5f332997d 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 917521b925..343f3ddb64 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 f7de1642fc..3ccfafe341 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/bibliography.CitationStyle.html b/api/variables/bibliography.CitationStyle.html
index 3365611469..e02f01669a 100644
--- a/api/variables/bibliography.CitationStyle.html
+++ b/api/variables/bibliography.CitationStyle.html
@@ -70,7 +70,7 @@ citation of a book by Anna Baker from 2010 is in its description.
diff --git a/api/variables/bibliography.SourceType.html b/api/variables/bibliography.SourceType.html
index 4dab6485a3..bcec5b350e 100644
--- a/api/variables/bibliography.SourceType.html
+++ b/api/variables/bibliography.SourceType.html
@@ -90,7 +90,7 @@ source can have any field. Word's own name for each, as it writes it in the docu
diff --git a/api/variables/index.CharacterSet.html b/api/variables/index.CharacterSet.html
index 595ea73809..9f1de4eac6 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 4fc24700d1..b9bbe08255 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 8ba877c2a9..9dc1c39562 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 888588e2c8..84b2a69a4a 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 7614a60c91..72def08d23 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 3ddf18bd1c..70d558ce02 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 6a1d5142a7..c98991a233 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.RelativeVerticalPosition.html b/api/variables/index.RelativeVerticalPosition.html
index f9fffbac6b..1c77628d1d 100644
--- a/api/variables/index.RelativeVerticalPosition.html
+++ b/api/variables/index.RelativeVerticalPosition.html
@@ -33,7 +33,7 @@ paragraph after it, with text beside it, so the table is written in line with th
diff --git a/api/variables/index.ShadingType.html b/api/variables/index.ShadingType.html
index 9d0dd6d4ec..6c6502d93e 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 88f77885e6..d71bc548b5 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 cf291e330e..448e49f54d 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 1a2a813db6..f74c80589a 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 49feb58d4c..b894835236 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 36e22e8bef..f70034e96c 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 0b108c5d78..d8d2038c04 100644
--- a/api/variables/index.docPropertiesUniqueNumericId.html
+++ b/api/variables/index.docPropertiesUniqueNumericId.html
@@ -30,7 +30,7 @@ the drawings made before the document.
diff --git a/api/variables/index.fitTextUniqueNumericId.html b/api/variables/index.fitTextUniqueNumericId.html
index f6f4e06679..4f25ab8d13 100644
--- a/api/variables/index.fitTextUniqueNumericId.html
+++ b/api/variables/index.fitTextUniqueNumericId.html
@@ -27,7 +27,7 @@ don't meet the groups people give, which count up.
diff --git a/api/variables/layout.estimatePageNumbers.html b/api/variables/layout.estimatePageNumbers.html
index 3dbfde3688..105337ab99 100644
--- a/api/variables/layout.estimatePageNumbers.html
+++ b/api/variables/layout.estimatePageNumbers.html
@@ -52,7 +52,7 @@ to a tab stop past it, as Word writes it (listNumbers).
diff --git a/live-examples/lib/index.iife.js b/live-examples/lib/index.iife.js
index e7902d94a3..edce80a0a6 100644
--- a/live-examples/lib/index.iife.js
+++ b/live-examples/lib/index.iife.js
@@ -8743,20 +8743,32 @@ EXTERNAL: "External" };
if (tables.length === 0) return;
const styles = stylesOf(context);
const followBookmarks = tables.some(([, { properties }]) => Boolean(properties.entriesFromBookmark));
- const headings = paragraphDetailsOf(blocks.filter((block) => nameOf$4(block) === "w:p"), followBookmarks).map((paragraph) => ({
+ const paragraphs = paragraphDetailsOf(blocks.filter((block) => nameOf$4(block) === "w:p"), followBookmarks);
+ const takenNames = new Set(bookmarkMarksOf(body).flatMap((mark) => mark.start ? [mark.name] : []));
+ let place = 0;
+ const nextName = () => {
+ do
+ place++;
+ while (takenNames.has(`_Toc${place}`));
+ return `_Toc${place}`;
+ };
+ const headings = paragraphs.map((paragraph) => ({
paragraph,
levels: tables.map(([, { properties }]) => levelIn(properties, paragraph, styles))
- })).filter(({ levels }) => levels.some((level) => level !== void 0)).map((heading, index) => _objectSpread2(_objectSpread2({}, heading), {}, { id: bookmarkIds.get(index) }));
- for (const { paragraph, id } of headings) bookmark(paragraph.element, `_Toc${id}`, id, context);
+ })).filter(({ levels }) => levels.some((level) => level !== void 0)).map((heading, index) => _objectSpread2(_objectSpread2({}, heading), {}, {
+ id: bookmarkIds.get(index),
+ name: nextName()
+ }));
+ for (const { paragraph, id, name } of headings) bookmark(paragraph.element, name, id, context);
const listNumbers = headings.length > 0 ? listNumbersOf === null || listNumbersOf === void 0 ? void 0 : listNumbersOf(body) : void 0;
tables.forEach(([table, options], index) => {
- const entries = headings.flatMap(({ paragraph, levels, id }) => {
+ const entries = headings.flatMap(({ paragraph, levels, name }) => {
const level = levels[index];
- const listNumber = listNumbers === null || listNumbers === void 0 ? void 0 : listNumbers.get(`_Toc${id}`);
+ const listNumber = listNumbers === null || listNumbers === void 0 ? void 0 : listNumbers.get(name);
return level === void 0 ? [] : [_objectSpread2({
title: paragraph.text,
level,
- bookmark: `_Toc${id}`
+ bookmark: name
}, listNumber ? { listNumber } : {})];
});
if (entries.length === 0) return;
@@ -25854,14 +25866,53 @@ MAX: 9026 };
else throw Error("XMLComponent did not format correctly");
}
};
+ // src/export/packer/bookmark-ids.ts
+ /**
+ * Numbers the bookmarks of a document as it is packed.
+ *
+ * @module
+ */
+ var TAG$2 = /<(w:bookmarkStart|w:bookmarkEnd)(?=[\s/>])[^>]*>/g;
+ var ID$2 = /(\sw:id=")(-?\d+)(")/;
+ /**
+ * Creates a function that numbers the bookmarks in the parts of a document from 1, in the order they start.
+ *
+ * Each bookmark is given an id when it is created, from one counter for the whole process, so no two bookmarks share
+ * one. Written as they are, the ids of a document would depend on the bookmarks created before it. Word only needs the
+ * ids to be unique in the document, and a bookmark's start and end to share one, so the parts of a document are
+ * numbered by the same function, one after the other.
+ *
+ * A bookmark's end gets the id of the last start with its id that hasn't ended, so a bookmark written twice is two
+ * bookmarks. An end without such a start gets an id of its own, so it can't end another bookmark.
+ *
+ * @returns A function that returns a part's XML with its bookmarks numbered after those of the parts before it
+ */
+ var createBookmarkNumbering = () => {
+ let lastId = 0;
+ const open = /* @__PURE__ */ new Map();
+ return (xml) => xml.replace(TAG$2, (tag, name) => {
+ var _open$get;
+ const match = ID$2.exec(tag);
+ if (!match) return tag;
+ const id = Number(match[2]);
+ const started = (_open$get = open.get(id)) !== null && _open$get !== void 0 ? _open$get : [];
+ if (name === "w:bookmarkEnd" && started.length > 0) {
+ open.set(id, started.slice(0, -1));
+ return tag.replace(ID$2, `$1${started[started.length - 1]}$3`);
+ }
+ lastId++;
+ if (name === "w:bookmarkStart") open.set(id, [...started, lastId]);
+ return tag.replace(ID$2, `$1${lastId}$3`);
+ });
+ };
// src/export/packer/drawing-ids.ts
/**
* Numbers the drawings of a document as it is packed.
*
* @module
*/
- var TAG = /<(\/?)(wp:inline|wp:anchor|wp:docPr|wps:cNvPr|wpg:cNvPr|pic:cNvPr|a:stCxn|a:endCxn)(?=[\s/>])[^>]*>/g;
- var ID = /(\s)id="(\d+)"/;
+ var TAG$1 = /<(\/?)(wp:inline|wp:anchor|wp:docPr|wps:cNvPr|wpg:cNvPr|pic:cNvPr|a:stCxn|a:endCxn)(?=[\s/>])[^>]*>/g;
+ var ID$1 = /(\s)id="(\d+)"/;
/**
* Creates a function that numbers the drawings in the parts of a document from 1, in the order they are written.
*
@@ -25882,7 +25933,7 @@ MAX: 9026 };
const newIds = /* @__PURE__ */ new Map();
const drawings = [];
const ends = [];
- for (const { 0: tag, 1: closing, 2: name, index: offset } of xml.matchAll(TAG)) {
+ for (const { 0: tag, 1: closing, 2: name, index: offset } of xml.matchAll(TAG$1)) {
var _ID$exec;
if (name === "wp:inline" || name === "wp:anchor") {
if (closing) drawings.pop();
@@ -25890,7 +25941,7 @@ MAX: 9026 };
continue;
}
const shapes = drawings[drawings.length - 1];
- const id = Number((_ID$exec = ID.exec(tag)) === null || _ID$exec === void 0 ? void 0 : _ID$exec[2]);
+ const id = Number((_ID$exec = ID$1.exec(tag)) === null || _ID$exec === void 0 ? void 0 : _ID$exec[2]);
if (closing || !shapes || !Number.isInteger(id) || name === "pic:cNvPr" && id === 0) continue;
if (name === "a:stCxn" || name === "a:endCxn") {
ends.push({
@@ -25908,12 +25959,40 @@ MAX: 9026 };
const shape = shapes.get(id);
if (shape !== void 0) newIds.set(offset, shape);
}
- return newIds.size === 0 ? xml : xml.replace(TAG, (tag, _closing, _name, offset) => {
+ return newIds.size === 0 ? xml : xml.replace(TAG$1, (tag, _closing, _name, offset) => {
const id = newIds.get(offset);
- return id === void 0 ? tag : tag.replace(ID, `$1id="${id}"`);
+ return id === void 0 ? tag : tag.replace(ID$1, `$1id="${id}"`);
});
};
};
+ // src/export/packer/fit-text-ids.ts
+ /**
+ * Numbers the runs of a document that are fitted to a width on their own as it is packed.
+ *
+ * @module
+ */
+ var TAG = /])[^>]*>/g;
+ var ID = /(\sw:id=")(-\d+)(")/;
+ /**
+ * Creates a function that numbers the runs fitted to a width on their own (`w:fitText` without a group) in the parts
+ * of a document, from -1 down, in the order they are written.
+ *
+ * Each such run is given an id when it is created, from one counter for the whole process, so no two runs share one.
+ * Written as they are, the ids of a document would depend on the runs created before it. Word fits runs next to each
+ * other with the same id together, so runs that had the same id still share one, and runs that didn't still don't.
+ * The parts of a document, including its styles and lists, are numbered by the same function, one after the other.
+ *
+ * @returns A function that returns a part's XML with its runs numbered after those of the parts before it
+ */
+ var createFitTextNumbering = () => {
+ const newIds = /* @__PURE__ */ new Map();
+ return (xml) => xml.replace(TAG, (tag) => tag.replace(ID, (_match, before, id, after) => {
+ var _newIds$get;
+ const newId = (_newIds$get = newIds.get(Number(id))) !== null && _newIds$get !== void 0 ? _newIds$get : -(newIds.size + 1);
+ newIds.set(Number(id), newId);
+ return `${before}${newId}${after}`;
+ }));
+ };
// src/export/packer/placeholders.ts
/**
* Placeholder module for the `{key}` tokens docx writes before it knows an image's or a list's id.
@@ -26170,6 +26249,9 @@ MAX: 9026 };
const footnoteRelationshipCount = file.FootNotes.Relationships.RelationshipCount + 1;
const endnoteRelationshipCount = file.Endnotes.Relationships.RelationshipCount + 1;
const numberDrawings = createDrawingNumbering();
+ const numberBookmarks = createBookmarkNumbering();
+ const numberFitText = createFitTextNumbering();
+ const numberIds = (xml) => numberFitText(numberBookmarks(numberDrawings(xml)));
const documentMediaDatas = this.imageReplacer.getMediaData(documentXmlData, file.Media);
const commentMediaDatas = this.imageReplacer.getMediaData(commentXmlData, file.Media);
const footnoteMediaDatas = this.imageReplacer.getMediaData(footnoteXmlData, file.Media);
@@ -26195,7 +26277,7 @@ MAX: 9026 };
},
Document: {
data: (() => {
- const xmlData = this.imageReplacer.replace(numberDrawings(documentXmlData), documentMediaDatas, documentRelationshipCount);
+ const xmlData = this.imageReplacer.replace(numberIds(documentXmlData), documentMediaDatas, documentRelationshipCount);
return this.numberingReplacer.replace(xmlData, file.Numbering.ConcreteNumbering);
})(),
path: "word/document.xml"
@@ -26213,7 +26295,7 @@ MAX: 9026 };
encoding: "UTF-8"
}
});
- return this.numberingReplacer.replace(xmlStyles, file.Numbering.ConcreteNumbering);
+ return this.numberingReplacer.replace(numberFitText(xmlStyles), file.Numbering.ConcreteNumbering);
})(),
path: "word/styles.xml"
},
@@ -26304,7 +26386,7 @@ MAX: 9026 };
declaration: { encoding: "UTF-8" }
});
const mediaDatas = this.imageReplacer.getMediaData(tempXmlData, file.Media);
- const xmlData = this.imageReplacer.replace(numberDrawings(tempXmlData), mediaDatas, 0);
+ const xmlData = this.imageReplacer.replace(numberIds(tempXmlData), mediaDatas, 0);
return {
data: this.numberingReplacer.replace(xmlData, file.Numbering.ConcreteNumbering),
path: `word/header${index + 1}.xml`
@@ -26320,7 +26402,7 @@ MAX: 9026 };
declaration: { encoding: "UTF-8" }
});
const mediaDatas = this.imageReplacer.getMediaData(tempXmlData, file.Media);
- const xmlData = this.imageReplacer.replace(numberDrawings(tempXmlData), mediaDatas, 0);
+ const xmlData = this.imageReplacer.replace(numberIds(tempXmlData), mediaDatas, 0);
return {
data: this.numberingReplacer.replace(xmlData, file.Numbering.ConcreteNumbering),
path: `word/footer${index + 1}.xml`
@@ -26356,7 +26438,7 @@ MAX: 9026 };
},
FootNotes: {
data: (() => {
- const xmlData = this.imageReplacer.replace(numberDrawings(footnoteXmlData), footnoteMediaDatas, footnoteRelationshipCount);
+ const xmlData = this.imageReplacer.replace(numberIds(footnoteXmlData), footnoteMediaDatas, footnoteRelationshipCount);
return this.numberingReplacer.replace(xmlData, file.Numbering.ConcreteNumbering);
})(),
path: "word/footnotes.xml"
@@ -26380,7 +26462,7 @@ MAX: 9026 };
},
Endnotes: {
data: (() => {
- const xmlData = this.imageReplacer.replace(numberDrawings(endnoteXmlData), endnoteMediaDatas, endnoteRelationshipCount);
+ const xmlData = this.imageReplacer.replace(numberIds(endnoteXmlData), endnoteMediaDatas, endnoteRelationshipCount);
return this.numberingReplacer.replace(xmlData, file.Numbering.ConcreteNumbering);
})(),
path: "word/endnotes.xml"
@@ -26419,7 +26501,7 @@ MAX: 9026 };
}, file.Comments.IsEmpty ? {} : {
Comments: {
data: (() => {
- const xmlData = this.imageReplacer.replace(numberDrawings(commentXmlData), commentMediaDatas, commentRelationshipCount);
+ const xmlData = this.imageReplacer.replace(numberIds(commentXmlData), commentMediaDatas, commentRelationshipCount);
return this.numberingReplacer.replace(xmlData, file.Numbering.ConcreteNumbering);
})(),
path: "word/comments.xml"
@@ -26588,7 +26670,7 @@ MAX: 9026 };
} : {}), {}, {
PackageParts: xmlifyPackageParts(file, prettify),
Numbering: {
- data: stringifyXmlable(this.formatter.format(file.Numbering, {
+ data: numberFitText(stringifyXmlable(this.formatter.format(file.Numbering, {
viewWrapper: file.Document,
file,
stack: []
@@ -26598,7 +26680,7 @@ MAX: 9026 };
standalone: "yes",
encoding: "UTF-8"
}
- }),
+ })),
path: "word/numbering.xml"
},
ContentTypes: {
@@ -27171,24 +27253,22 @@ MAX: 9026 };
* already uses. Bookmark ids must be unique within a document, but a bookmark's id is chosen when it is created,
* without knowing which ids the template has.
*
- * A bookmark keeps its id if nothing in the document uses it yet, and otherwise gets the next unused one. An id is
- * renumbered the same way each time, so a bookmark's start and end still share one, even in separate patches.
+ * Each bookmark gets the id after the highest one the document has, in the order the bookmarks are inserted, so the
+ * ids don't depend on the bookmarks created before the patch. An id is renumbered the same way each time, so a
+ * bookmark's start and end still share one, even in separate patches.
*
* @param idsInDocument - The ids of the bookmarks already in the document
* @returns A function that returns the elements with their bookmarks renumbered
*/
var renumberBookmarksAvoiding = (idsInDocument) => {
- const usedIds = new Set(idsInDocument);
const newIds = /* @__PURE__ */ new Map();
let highestId = idsInDocument.reduce((highest, id) => Math.max(highest, id), 0);
const newIdFor = (id) => {
const knownId = newIds.get(id);
if (knownId !== void 0) return knownId;
- const newId = usedIds.has(id) ? highestId + 1 : id;
- highestId = Math.max(highestId, newId);
- usedIds.add(newId);
- newIds.set(id, newId);
- return newId;
+ highestId++;
+ newIds.set(id, highestId);
+ return highestId;
};
const renumber = (element) => {
const id = bookmarkIdOf(element);
@@ -27602,14 +27682,15 @@ MAX: 9026 };
var ID_ELEMENTS = /* @__PURE__ */ new Set([
"wp:docPr",
"wps:cNvPr",
- "wpg:cNvPr"
+ "wpg:cNvPr",
+ "pic:cNvPr"
]);
var REFERENCE_ELEMENTS = /* @__PURE__ */ new Set(["a:stCxn", "a:endCxn"]);
var idOf$1 = (element, names) => {
var _element$name, _element$attributes;
if (!names.has((_element$name = element.name) !== null && _element$name !== void 0 ? _element$name : "")) return;
const id = Number((_element$attributes = element.attributes) === null || _element$attributes === void 0 ? void 0 : _element$attributes.id);
- return Number.isInteger(id) ? id : void 0;
+ return Number.isInteger(id) && !(element.name === "pic:cNvPr" && id === 0) ? id : void 0;
};
/**
* Finds the id of every drawing in an element, at any depth, and of the shapes in them, such as in a group.
@@ -27639,23 +27720,17 @@ MAX: 9026 };
* such as a header and the body. A drawing's id is chosen when it is created, without knowing which ids the template
* has, and content inserted more than once would have the same ids each time.
*
- * A drawing keeps its ids if nothing in the document has them yet, and otherwise gets the next unused ones. The
- * connectors in a drawing then still join the shapes they did.
+ * Each drawing gets the ids after the highest one the document has, in the order the drawings are inserted, so the
+ * ids don't depend on the drawings created before the patch. The connectors in a drawing still join the shapes they
+ * did.
*
* @param idsInDocument - The ids of the drawings already in the document, and of the shapes in them
* @returns A function that returns the elements with their drawings renumbered
*/
var renumberDrawingsAvoiding = (idsInDocument) => {
- const usedIds = new Set(idsInDocument);
let highestId = idsInDocument.reduce((highest, id) => Math.max(highest, id), 0);
- const newIdFor = (id) => {
- const newId = usedIds.has(id) ? highestId + 1 : id;
- highestId = Math.max(highestId, newId);
- usedIds.add(newId);
- return newId;
- };
const renumberDrawing = (drawing) => {
- const newIds = new Map([...new Set(ownIdsOf(drawing))].map((id) => [id, newIdFor(id)]));
+ const newIds = new Map([...new Set(ownIdsOf(drawing))].map((id) => [id, ++highestId]));
const renumberIn = (element) => {
var _element$name2, _idOf;
if (element !== drawing && DRAWINGS.has((_element$name2 = element.name) !== null && _element$name2 !== void 0 ? _element$name2 : "")) return renumberDrawing(element);
@@ -27936,6 +28011,52 @@ MAX: 9026 };
contents.removeRelationships(drawing.part.path, new Set([...referenced].filter((id) => !used.has(id))));
}
};
+ // src/patcher/fit-text-ids.ts
+ var fitTextIdOf = (element) => {
+ var _element$attributes;
+ if (element.name !== "w:fitText") return;
+ const id = Number((_element$attributes = element.attributes) === null || _element$attributes === void 0 ? void 0 : _element$attributes["w:id"]);
+ return Number.isInteger(id) && id < 0 ? id : void 0;
+ };
+ /**
+ * Finds the negative id of every run fitted to a width (`w:fitText`) in an element, at any depth.
+ *
+ * @param element - The element to search, such as a part's root
+ * @returns The ids, once for each run that has one
+ */
+ var findFitTextIds = (element) => {
+ var _element$elements;
+ const id = fitTextIdOf(element);
+ return [...id === void 0 ? [] : [id], ...((_element$elements = element.elements) !== null && _element$elements !== void 0 ? _element$elements : []).flatMap(findFitTextIds)];
+ };
+ /**
+ * Creates a function that renumbers the runs fitted to a width on their own in content being inserted. Word fits
+ * runs next to each other with the same id together, but a run's id is chosen when it is created, from one counter
+ * for the whole process, without knowing which ids the template has.
+ *
+ * Each id gets the one below the lowest the document has, in the order the runs are inserted, so the ids don't
+ * depend on the runs created before the patch. An id is renumbered the same way each time, so runs that shared an id
+ * still share one.
+ *
+ * @param idsInDocument - The negative ids of the runs fitted to a width in the document
+ * @returns A function that returns the elements with their runs renumbered
+ */
+ var renumberFitTextAvoiding = (idsInDocument) => {
+ const newIds = /* @__PURE__ */ new Map();
+ let lowestId = idsInDocument.reduce((lowest, id) => Math.min(lowest, id), 0);
+ const newIdFor = (id) => {
+ const knownId = newIds.get(id);
+ if (knownId !== void 0) return knownId;
+ lowestId--;
+ newIds.set(id, lowestId);
+ return lowestId;
+ };
+ const renumber = (element) => {
+ const id = fitTextIdOf(element);
+ return _objectSpread2(_objectSpread2(_objectSpread2({}, element), id === void 0 ? {} : { attributes: _objectSpread2(_objectSpread2({}, element.attributes), {}, { "w:id": String(newIdFor(id)) }) }), element.elements === void 0 ? {} : { elements: element.elements.map(renumber) });
+ };
+ return (elements) => elements.map(renumber);
+ };
// src/patcher/load-zip.ts
var isStream = (data) => typeof data === "object" && data !== null && "on" in data && typeof data.on === "function";
var isZipArchive = (data) => typeof data === "object" && data !== null && "generateAsync" in data && typeof data.generateAsync === "function";
@@ -28053,7 +28174,7 @@ MAX: 9026 };
...elements.slice(index)
] });
};
- var patchNotesOfKind = (kind, notes, parts, { createContext, addContentTypeOverride, renumberBookmarks, renumberDrawings, renumberLists, useStyles }) => {
+ var patchNotesOfKind = (kind, notes, parts, { createContext, addContentTypeOverride, renumberBookmarks, renumberDrawings, renumberFitText, renumberLists, useStyles }) => {
const givenNotes = new Map(Object.entries(notes).map(([id, note]) => [Number(id), note]));
const carriedIds = /* @__PURE__ */ new Map();
let highestGivenId = [...givenNotes.keys()].filter(Number.isFinite).reduce((highest, id) => Math.max(highest, Math.floor(id)), 0);
@@ -28094,7 +28215,7 @@ MAX: 9026 };
const context = createContext(path);
const contentOfNote = new Map([...new Set(noteOfId.values())].map((note) => {
const mark = formatElement$1(kind.create.mark(), context);
- return [note, useStyles(renumberLists(renumberBookmarks(note.children.map((paragraph) => formatElement$1(paragraph, context)).map((paragraph, index) => index === 0 ? withMark(paragraph, mark) : paragraph))))];
+ return [note, useStyles(renumberLists(renumberFitText(renumberBookmarks(note.children.map((paragraph) => formatElement$1(paragraph, context)).map((paragraph, index) => index === 0 ? withMark(paragraph, mark) : paragraph)))))];
}));
getFirstLevelElements(parts.get(path), kind.rootName).push(...[...noteOfId].map(([id, note]) => ({
type: "element",
@@ -29702,6 +29823,7 @@ MAX: 9026 };
}
const renumberBookmarks = renumberBookmarksAvoiding([...map.values()].flatMap(findBookmarkIds));
const renumberDrawings = renumberDrawingsAvoiding([...map.values()].flatMap(findDrawingIds));
+ const renumberFitText = renumberFitTextAvoiding([...map.values()].flatMap(findFitTextIds));
const viewWrappers = /* @__PURE__ */ new Map();
const viewWrapperOf = (key) => {
const existing = viewWrappers.get(key);
@@ -29742,6 +29864,7 @@ MAX: 9026 };
addContentTypeOverride,
renumberBookmarks,
renumberDrawings,
+ renumberFitText,
renumberLists: lists.renumber,
useStyles: styles.use
});
@@ -29812,7 +29935,7 @@ MAX: 9026 };
context,
keepOriginalStyles,
recursive,
- renumberIds: (elements) => styles.use(lists.renumber(notes.renumber(renumberBookmarks(renumberDrawings(removeShapeTypes(elements))))))
+ renumberIds: (elements) => styles.use(lists.renumber(notes.renumber(renumberFitText(renumberBookmarks(renumberDrawings(removeShapeTypes(elements)))))))
});
if (didFindOccurrence) relationshipAdditions.push(...hyperlinkRelationships);
};
The unique identifier for this abstract numbering definition.