diff --git a/api/classes/bibliography.Citation.html b/api/classes/bibliography.Citation.html
index c0e385206c..1104a1697a 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 ccc1f6469a..6c0a9e22b7 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 752705c707..71d79efd58 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 78796d78c1..a3cff1febd 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 f03a748829..70b59a445f 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 e20f4acece..6505c6c180 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 c14ef409bd..40ea03d350 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 0dcb63c952..8481c12067 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 dd19a903ed..d707110e1a 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 5c0758ba7e..0ff901403a 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 033459a8e9..82b116fed3 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 90de35525c..7df19d0009 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 9a6939fb6e..1767eb878f 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 3d57b9e772..22894928ad 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 49ebbbadf4..0f8f16c9a6 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 9350f30fb0..44246dec65 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 def2ff229b..f587841027 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 ab5eba660e..51c00770d2 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 d7f09929bc..ad5e64d31f 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 908c1ebd5c..feda07765a 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 0ed5ec270b..2d75dd1e5c 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 f1ae9f20a8..ab6bc23c96 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 15ae4c0174..4f38dffe0e 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 104cbcc0e3..bbfb3fd804 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 1c8e508083..cf9e6c9083 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 04c73f96e9..6e69326dc6 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 fe6a0fc166..65f1e5d93b 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 570fc9ea56..053b60d262 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 90d557e3c5..a7a1754cef 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 b587498fc2..3e5d01a0db 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 31910821ca..26684893f5 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 2365721b8b..0daa3ea82d 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 ff8d2dc224..9e3e06870c 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 d1809a4c72..20987526fa 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 375d6096eb..df9ba9fb06 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 c3638568f4..d85a3db649 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 94c2eed638..f464038698 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 2d756c67b8..98d31504a3 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 72a6197132..a10a101de6 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 58497bcefc..100b0f3ca2 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 f74306d17a..7c6dc8cbbd 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 d63faace78..8c9655d2d0 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 f228311779..afa977f4be 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 cd86ce4bea..ca828cef3a 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 fbec0c7d47..1216e70566 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 d213ea3a75..38433d1531 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 0bf42b19dd..525496d74a 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 a64c7131b6..e10a0c238f 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 7dde36fd05..0eee4086c5 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 b53245b20b..09d3eba491 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 67cd3155c7..48c6212ae1 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 c9fc39c4b3..ea48ade4f3 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 6ffd014844..8da072d329 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 192c2ecf00..fa58e4efb9 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 2f87faef51..c91489e309 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 a829263904..c5796b77a8 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 815a7d6b44..31d8b29cb1 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 5eeb0a28e1..466fa5658e 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 cac795b9d8..bb66f262ed 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 e5a67f6bfd..d06e8aab4e 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 4d02daa032..73bcf5b0d1 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 9e8471c851..0c5f097516 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 84c1f9e66f..1b50a235fd 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 58b1d02095..ab93c093c0 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 057d00e238..62c1079e79 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 58584f349d..faff3b2a60 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 44ca73e761..3b2cc09059 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 6965c82207..3dd1aefa03 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 e87d2f1320..382330cecd 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 67d046134d..74baabe931 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 639cb67d53..b2c61e6d38 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 61cee2ba23..0bd691dd5c 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 0f2df7f8d9..f3fb24918f 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 46ddabacfc..9bc1931962 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 80dc3110f3..731e83f7e3 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 5b3892f965..8188555a93 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 3dd0a1095e..9380a6f3fc 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 847afd6ab2..c0733ebe9a 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 0cd6713485..7db09c1a28 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 3b33d27ffd..6ebc009e51 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 d1779c0fc4..c638a64405 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 5324df9e34..02ac4e2773 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 43e7305a94..469c7a51f3 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 0a3fa3c0f2..6d7f42df26 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 2831d9e49f..9025abca3c 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 b5684b8088..1318aa9b38 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 7aa5699d44..d50376ea5f 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 fa40de97ac..40906e452a 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 8e3960dda0..534ca56745 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 ba5558160f..c14cb5de55 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 dcc91d734b..3f899afe21 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 d8a0d67235..f25ccc2050 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 3495737fed..d8b1f5dbf2 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 aec404b114..44b9461af8 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 2c33206894..5280dd8dd4 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 b0ac9b5b61..25645b4685 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 eaa25d4ade..19d8850c45 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 06e84804e7..fe03c57bc9 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 2219e4d8f7..a9a7f54a17 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 b987ecfbab..8db2b31afa 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 957e44e4f9..0d9ad95958 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 a82cc68105..ad51db4c36 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 1157178500..cba1f75f11 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 9e2bc94b35..b7740972fe 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 81112ea162..f879b4354e 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 ced17658af..e75c5abb97 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 eb12b554c0..3e5ec2a9a4 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 958f26679e..806e5c3c82 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 f2a59b1110..36b23941f6 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 a2b9951b88..8cab8d50a7 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 cad9ddd393..0857436369 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 55dd771425..f12fafb322 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 cf5621ced3..9589a0ea7f 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 ea850d8317..91232890bb 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 349e5ea745..ba157d6c27 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 f0c5dfb690..6018c75302 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 1b7cb47e20..780dc5a4e7 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 f27bfcf08b..b256f6f2fe 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 a4acab0779..b9c7f764c0 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 75e1fcc6a7..bad97fde8d 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 2191b1ac31..c550adf73f 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 adc819fce9..a9d1bdd0ee 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 12741c2435..f3b2343e5d 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 1c2fd336f7..57a6065534 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 556bcf4dc6..b101fdd5cd 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 ba8b392d77..8e46e058a9 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 73863dca06..7dc7527ef1 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 5efb270314..dd80f3d1a7 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 fd68a075bd..82734dd15b 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 d80c970d13..5979b39e53 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 fa32218e12..c1a21b9af5 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 89399bbf4f..803b7761c8 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 28c4f0820e..6a2b07ba19 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 056785488d..4702b2d3d7 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 8b282046da..28951cb1aa 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 5188d0175f..a70f592d9c 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 353fb453ba..8571c07bdb 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 0fa0cf80b6..376837c369 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 8d81c2b72e..a1160472d5 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 ba4925f2af..37693e4b3d 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 6f49be9d7e..c61ea1a5c5 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 2881c4d363..6f6a85da66 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 f9eb2dc54a..93953f920a 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 e0d66b53cb..3051ec0e8f 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 0402574f83..1d45742f1c 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 c5c347ff58..9e2ce49504 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 8898f19493..8c692cd34e 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 9bd52cbecb..33515d4d76 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 2f7e68d8df..cd2be0ef4a 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 77ecb105e3..a944bbf83e 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 2f7634b238..d76ce0e498 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 7c6e0ad13e..5f94074665 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 5ae3c8280a..b64eeff531 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 449cad4362..3a6395fdb5 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 0a3916cef9..95883ac8c6 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 2fb0816def..2c30a17271 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 6c7e97d1f8..51a14d6aaf 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 6db786097c..bf168abd2c 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 15270118dc..137238d1f3 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 c141b1cd5f..efca07139f 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 a885545ca1..30e1bb2a3e 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 22b3e6bdd7..044ac5bc3e 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 a59de07b13..0b444103ef 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 17fc002ccb..1ed22a0c85 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 75f0c534b3..c58dc8cb58 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 0102efa02d..3303f4f273 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 1e4e5e0c61..2b13e89dc1 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 5d0d628f66..2ae86ce6eb 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 e36d9c414f..f5c9173f40 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 fc545f312c..a57283904f 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 9ebaff9ab5..57f23db228 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 fa83e37ef0..59310e7884 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 f68d5a4f40..114a65aa76 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 af7275e88e..681445d0f6 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 b8bf9cfd2d..75a67041f7 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 1f53fbba84..494efccf3d 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 59dd2bed13..ebe4fb5394 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 f79ece7531..98bd47c2e6 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 510480b41a..09ca83686c 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 b243f10d8d..19a01cb0fa 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 ebb43ff2d1..1fd9fa90a9 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 cb811f871e..f492fa1340 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 c207b24a5b..606316a0bf 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 421b7bb908..a7b9707be2 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 e8ae73e2b6..b4d0cdadd4 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 50eea949f8..9967fe42c8 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 4715b31f48..e28712a742 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 b11305823c..b3c52f9574 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 f27fd3850b..070b57dff8 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 42af33eb4c..596fb29d94 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 400bd590a6..2250e782f6 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 c938c01cef..6ebd99842b 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 25c1e6b151..9cb15a4252 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 0950b7e16f..b5f5117dcc 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 6c33bfae47..450acd984d 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 b23ca6018c..735efa0ba2 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 d24a427f8b..4a39e2db88 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 c6b94d077b..240aba07b4 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 b6a65f93be..deade8e7e3 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 b031a8918e..8acabc1c55 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 a56e079206..49b6e101d0 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 0e4e6706ba..27791eb732 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 ff71018662..545085ab7c 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 f535963792..1870e7022a 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 50096783ff..89a6c40234 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 893476a52f..6f691e9fdf 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 7216d681c9..8785015c1d 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 552ce1bc48..2e9d828ca3 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 4c83e86f1a..88585bb69b 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 b01ecffbc3..4757399571 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 3ff66bf036..17465c54a1 100644
--- a/api/variables/index.bookmarkUniqueNumericId.html
+++ b/api/variables/index.bookmarkUniqueNumericId.html
@@ -27,7 +27,7 @@ than a generator per instance.
Drawing IDs (wp:docPr and wps:cNvPr) must be unique within a document,
and Word reports unreadable content when two drawings share one. A drawing
is created before it belongs to a document, so all drawings draw from this
-one counter rather than a generator per instance.
+one counter rather than a generator per instance. The Packer numbers the
+drawings of each document again from 1, so the ids it writes don't depend on
+the drawings made before the document.
@@ -28,7 +30,7 @@ one counter rather than a generator per instance.
diff --git a/api/variables/index.fitTextUniqueNumericId.html b/api/variables/index.fitTextUniqueNumericId.html
index 12bb4e41d0..0713ff7520 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 04ee7dac42..ca595eec1e 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.d.ts b/live-examples/lib/index.d.ts
index 1ec62f927c..92741c1030 100644
--- a/live-examples/lib/index.d.ts
+++ b/live-examples/lib/index.d.ts
@@ -3098,6 +3098,10 @@ export declare type DocPropertiesOptions = {
readonly description?: string;
/** Title of the drawing element */
readonly title?: string;
+ /**
+ * The drawing's id. Default is the next id no other drawing has. The Packer numbers the drawings of a document again
+ * from 1, in the order they are written, so its drawing ids don't depend on the drawings made before it
+ */
readonly id?: string;
};
@@ -3107,7 +3111,9 @@ export declare type DocPropertiesOptions = {
* Drawing IDs (`wp:docPr` and `wps:cNvPr`) must be unique within a document,
* and Word reports unreadable content when two drawings share one. A drawing
* is created before it belongs to a document, so all drawings draw from this
- * one counter rather than a generator per instance.
+ * one counter rather than a generator per instance. The Packer numbers the
+ * drawings of each document again from 1, so the ids it writes don't depend on
+ * the drawings made before the document.
*
* @returns A number no earlier call has returned
*
diff --git a/live-examples/lib/index.iife.js b/live-examples/lib/index.iife.js
index 1f5ac828dc..e7902d94a3 100644
--- a/live-examples/lib/index.iife.js
+++ b/live-examples/lib/index.iife.js
@@ -3456,7 +3456,9 @@ DOT: "dot" };
* Drawing IDs (`wp:docPr` and `wps:cNvPr`) must be unique within a document,
* and Word reports unreadable content when two drawings share one. A drawing
* is created before it belongs to a document, so all drawings draw from this
- * one counter rather than a generator per instance.
+ * one counter rather than a generator per instance. The Packer numbers the
+ * drawings of each document again from 1, so the ids it writes don't depend on
+ * the drawings made before the document.
*
* @returns A number no earlier call has returned
*
@@ -25852,6 +25854,66 @@ MAX: 9026 };
else throw Error("XMLComponent did not format correctly");
}
};
+ // 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+)"/;
+ /**
+ * Creates a function that numbers the drawings in the parts of a document from 1, in the order they are written.
+ *
+ * Each drawing is given an id when it is created, from one counter for the whole process, so no two drawings share
+ * one. Written as they are, the ids of a document would depend on the drawings created before it, and the same
+ * document would be written differently each time. Word only needs the ids to be unique in the document, across all
+ * of its parts, so the parts of a document are numbered by the same function, one after the other.
+ *
+ * Every drawing, and every shape, picture and group in it, is given the next id, even when the same drawing is in the
+ * document twice, and a connector still joins the shapes it did. A picture's own `pic:cNvPr` keeps the id 0 it is
+ * written with, as Word writes it: only its drawing's id needs to be unique.
+ *
+ * @returns A function that returns a part's XML with its drawings numbered after those of the parts before it
+ */
+ var createDrawingNumbering = () => {
+ let lastId = 0;
+ return (xml) => {
+ const newIds = /* @__PURE__ */ new Map();
+ const drawings = [];
+ const ends = [];
+ for (const { 0: tag, 1: closing, 2: name, index: offset } of xml.matchAll(TAG)) {
+ var _ID$exec;
+ if (name === "wp:inline" || name === "wp:anchor") {
+ if (closing) drawings.pop();
+ else drawings.push(/* @__PURE__ */ new Map());
+ 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]);
+ if (closing || !shapes || !Number.isInteger(id) || name === "pic:cNvPr" && id === 0) continue;
+ if (name === "a:stCxn" || name === "a:endCxn") {
+ ends.push({
+ offset,
+ shapes,
+ id
+ });
+ continue;
+ }
+ lastId++;
+ newIds.set(offset, lastId);
+ if (name !== "wp:docPr" && !shapes.has(id)) shapes.set(id, lastId);
+ }
+ for (const { offset, shapes, id } of ends) {
+ 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) => {
+ const id = newIds.get(offset);
+ return id === void 0 ? tag : tag.replace(ID, `$1id="${id}"`);
+ });
+ };
+ };
// src/export/packer/placeholders.ts
/**
* Placeholder module for the `{key}` tokens docx writes before it knows an image's or a list's id.
@@ -26107,6 +26169,7 @@ MAX: 9026 };
const commentRelationshipCount = file.Comments.Relationships.RelationshipCount + 1;
const footnoteRelationshipCount = file.FootNotes.Relationships.RelationshipCount + 1;
const endnoteRelationshipCount = file.Endnotes.Relationships.RelationshipCount + 1;
+ const numberDrawings = createDrawingNumbering();
const documentMediaDatas = this.imageReplacer.getMediaData(documentXmlData, file.Media);
const commentMediaDatas = this.imageReplacer.getMediaData(commentXmlData, file.Media);
const footnoteMediaDatas = this.imageReplacer.getMediaData(footnoteXmlData, file.Media);
@@ -26132,7 +26195,7 @@ MAX: 9026 };
},
Document: {
data: (() => {
- const xmlData = this.imageReplacer.replace(documentXmlData, documentMediaDatas, documentRelationshipCount);
+ const xmlData = this.imageReplacer.replace(numberDrawings(documentXmlData), documentMediaDatas, documentRelationshipCount);
return this.numberingReplacer.replace(xmlData, file.Numbering.ConcreteNumbering);
})(),
path: "word/document.xml"
@@ -26241,7 +26304,7 @@ MAX: 9026 };
declaration: { encoding: "UTF-8" }
});
const mediaDatas = this.imageReplacer.getMediaData(tempXmlData, file.Media);
- const xmlData = this.imageReplacer.replace(tempXmlData, mediaDatas, 0);
+ const xmlData = this.imageReplacer.replace(numberDrawings(tempXmlData), mediaDatas, 0);
return {
data: this.numberingReplacer.replace(xmlData, file.Numbering.ConcreteNumbering),
path: `word/header${index + 1}.xml`
@@ -26257,7 +26320,7 @@ MAX: 9026 };
declaration: { encoding: "UTF-8" }
});
const mediaDatas = this.imageReplacer.getMediaData(tempXmlData, file.Media);
- const xmlData = this.imageReplacer.replace(tempXmlData, mediaDatas, 0);
+ const xmlData = this.imageReplacer.replace(numberDrawings(tempXmlData), mediaDatas, 0);
return {
data: this.numberingReplacer.replace(xmlData, file.Numbering.ConcreteNumbering),
path: `word/footer${index + 1}.xml`
@@ -26293,7 +26356,7 @@ MAX: 9026 };
},
FootNotes: {
data: (() => {
- const xmlData = this.imageReplacer.replace(footnoteXmlData, footnoteMediaDatas, footnoteRelationshipCount);
+ const xmlData = this.imageReplacer.replace(numberDrawings(footnoteXmlData), footnoteMediaDatas, footnoteRelationshipCount);
return this.numberingReplacer.replace(xmlData, file.Numbering.ConcreteNumbering);
})(),
path: "word/footnotes.xml"
@@ -26317,7 +26380,7 @@ MAX: 9026 };
},
Endnotes: {
data: (() => {
- const xmlData = this.imageReplacer.replace(endnoteXmlData, endnoteMediaDatas, endnoteRelationshipCount);
+ const xmlData = this.imageReplacer.replace(numberDrawings(endnoteXmlData), endnoteMediaDatas, endnoteRelationshipCount);
return this.numberingReplacer.replace(xmlData, file.Numbering.ConcreteNumbering);
})(),
path: "word/endnotes.xml"
@@ -26356,7 +26419,7 @@ MAX: 9026 };
}, file.Comments.IsEmpty ? {} : {
Comments: {
data: (() => {
- const xmlData = this.imageReplacer.replace(commentXmlData, commentMediaDatas, commentRelationshipCount);
+ const xmlData = this.imageReplacer.replace(numberDrawings(commentXmlData), commentMediaDatas, commentRelationshipCount);
return this.numberingReplacer.replace(xmlData, file.Numbering.ConcreteNumbering);
})(),
path: "word/comments.xml"
diff --git a/live-examples/lib/shapes.iife.js b/live-examples/lib/shapes.iife.js
index 5c96b95189..a5ec676f22 100644
--- a/live-examples/lib/shapes.iife.js
+++ b/live-examples/lib/shapes.iife.js
@@ -8704,7 +8704,8 @@ var docxShapes = (function(exports, docx) {
y: b * x + d * y
});
/**
- * A name for a shape, as Word gives them: what it is, then its drawing id, such as "Rounded Rectangle 4".
+ * A name for a shape, as Word gives them: what it is, then a number, such as "Rounded Rectangle 4". The number is the
+ * shape's drawing id within its drawing, which counts from 1, so the same drawing has the same names in any document.
*/
var defaultName = (kind, drawingId) => `${kind.replace(/([a-z\d])([A-Z])/g, "$1 $2").replace(/^./, (first) => first.toUpperCase())} ${drawingId}`;
var createNonVisualDrawingProperties = (drawingId, kind, { altText, link, decorative }) => {
@@ -8790,37 +8791,37 @@ var docxShapes = (function(exports, docx) {
/**
* Gives the band and header of each lane of a layout drawing ids.
*/
- var assignLaneIds = (layout) => {
+ var assignLaneIds = (nextId, layout) => {
var _layout$lanes;
- return (layout === null || layout === void 0 ? void 0 : layout.type) === "flow" ? ((_layout$lanes = layout.lanes) !== null && _layout$lanes !== void 0 ? _layout$lanes : []).map(() => [(0, docx.docPropertiesUniqueNumericId)(), (0, docx.docPropertiesUniqueNumericId)()]) : [];
+ return (layout === null || layout === void 0 ? void 0 : layout.type) === "flow" ? ((_layout$lanes = layout.lanes) !== null && _layout$lanes !== void 0 ? _layout$lanes : []).map(() => [nextId(), nextId()]) : [];
};
/**
* Gives every shape, picture, group, connector and label a drawing id, in the order they are written.
*/
- var assignIds = (children) => children.map((options) => {
+ var assignIds = (children, nextId) => children.map((options) => {
switch (options.type) {
case "connector": return {
kind: "connector",
options,
- drawingId: (0, docx.docPropertiesUniqueNumericId)(),
- labelId: options.label ? (0, docx.docPropertiesUniqueNumericId)() : void 0
+ drawingId: nextId(),
+ labelId: options.label ? nextId() : void 0
};
case "picture": return {
kind: "picture",
options,
- drawingId: (0, docx.docPropertiesUniqueNumericId)()
+ drawingId: nextId()
};
case "group": return {
kind: "group",
options,
- drawingId: (0, docx.docPropertiesUniqueNumericId)(),
- laneIds: assignLaneIds(options.layout),
- children: assignIds(options.children)
+ drawingId: nextId(),
+ laneIds: assignLaneIds(nextId, options.layout),
+ children: assignIds(options.children, nextId)
};
default: return {
kind: "shape",
options,
- drawingId: (0, docx.docPropertiesUniqueNumericId)()
+ drawingId: nextId()
};
}
});
@@ -9698,7 +9699,7 @@ var docxShapes = (function(exports, docx) {
leaves
};
};
- var toMediaData = (child, shift) => {
+ var toMediaData = (child, shift, drawingIds) => {
const x = Math.round(child.box.x + shift.x);
const y = Math.round(child.box.y + shift.y);
const width = Math.round(child.box.width);
@@ -9725,16 +9726,23 @@ var docxShapes = (function(exports, docx) {
flip: child.flip,
rotation: child.rotation ? child.rotation * 6e4 : void 0
};
+ const withDrawingId = (properties) => _objectSpread2(_objectSpread2({}, properties), {}, { id: drawingIds[properties.id - 1] });
switch (child.type) {
- case "wps": return {
- type: "wps",
- transformation,
- data: child.data
- };
+ case "wps": {
+ const { nonVisualDrawingProperties, connections } = child.data;
+ return {
+ type: "wps",
+ transformation,
+ data: _objectSpread2(_objectSpread2(_objectSpread2({}, child.data), nonVisualDrawingProperties && { nonVisualDrawingProperties: withDrawingId(nonVisualDrawingProperties) }), connections && { connections: {
+ start: connections.start && withDrawingId(connections.start),
+ end: connections.end && withDrawingId(connections.end)
+ } })
+ };
+ }
case "picture": return {
type: "picture",
transformation,
- data: child.data
+ data: _objectSpread2(_objectSpread2({}, child.data), {}, { nonVisualDrawingProperties: withDrawingId(child.data.nonVisualDrawingProperties) })
};
default: return {
type: "group",
@@ -9744,8 +9752,8 @@ var docxShapes = (function(exports, docx) {
children: child.children.map((grandchild) => toMediaData(grandchild, {
x: 0,
y: 0
- })),
- nonVisualDrawingProperties: child.nonVisualDrawingProperties
+ }, drawingIds)),
+ nonVisualDrawingProperties: withDrawingId(child.nonVisualDrawingProperties)
};
}
};
@@ -9753,15 +9761,23 @@ var docxShapes = (function(exports, docx) {
* Gives the children of a group or canvas their drawing ids. Every shape, picture, group and connector identifies
* itself with a cNvPr, which needs an id that is unique in the document.
*
+ * They are numbered from 1 within the drawing, and named after that number, so the same drawing has the same names in
+ * any document. Each is written as an id from the counter every drawing takes its id from, so no two drawings share
+ * one, and the Packer then numbers the drawings of the document from 1.
+ *
* @throws If two shapes or pictures have the same `id`
*/
var createShapeDrawingNodes = (children, layout) => {
- const laneIds = assignLaneIds(layout);
- const nodes = assignIds(children);
+ let count = 0;
+ const nextId = () => ++count;
+ const laneIds = assignLaneIds(nextId, layout);
+ const nodes = assignIds(children, nextId);
+ const drawingIds = Array.from({ length: count }, () => (0, docx.docPropertiesUniqueNumericId)());
return {
nodes,
ids: collectIds(nodes),
- laneIds
+ laneIds,
+ drawingIds
};
};
/**
@@ -9775,7 +9791,7 @@ var docxShapes = (function(exports, docx) {
* @throws If a group has no children, two shapes have the same `id`, a connector refers to an `id` no shape in its group has, or a shape to a lane the layout doesn't have
*/
var layoutShapeDrawing = (children, { keepPositive = false, layout: shapeLayout, styles = WORD_DEFAULT_STYLES } = {}) => {
- const { nodes, ids, laneIds } = "nodes" in children ? children : createShapeDrawingNodes(children, shapeLayout);
+ const { nodes, ids, laneIds, drawingIds } = "nodes" in children ? children : createShapeDrawingNodes(children, shapeLayout);
const layout = layoutGroup(nodes, ids, styles, shapeLayout, laneIds);
const shift = keepPositive ? {
x: Math.max(0, -layout.reach.left),
@@ -9791,7 +9807,7 @@ var docxShapes = (function(exports, docx) {
bottom: bottom + shift.y
});
return {
- children: layout.children.map((child) => toMediaData(child, shift)),
+ children: layout.children.map((child) => toMediaData(child, shift, drawingIds)),
bounds: move(layout.box),
reach: move(layout.reach)
};
@@ -10324,7 +10340,7 @@ var docxShapes = (function(exports, docx) {
line: (_options$line = options.line) !== null && _options$line !== void 0 ? _options$line : "none",
nonVisualDrawingProperties: {
id: backgroundId,
- name: `Canvas ${backgroundId}`,
+ name: "Canvas",
decorative: true
}
}
The unique identifier for this abstract numbering definition.