@office-open/docx 0.5.1 → 0.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1479,175 +1479,24 @@ declare class SimpleMailMergeField extends SimpleField {
1479
1479
  constructor(fieldName: string);
1480
1480
  }
1481
1481
  //#endregion
1482
- //#region src/file/paragraph/run/comment-run.d.ts
1483
- interface ICommentOptions {
1484
- readonly id: number;
1485
- readonly children: readonly FileChild[];
1486
- readonly initials?: string;
1487
- readonly author?: string;
1488
- readonly date?: Date;
1489
- }
1490
- interface ICommentsOptions {
1491
- readonly children: readonly ICommentOptions[];
1492
- }
1493
- declare class CommentRangeStart extends XmlComponent {
1494
- constructor(id: number);
1495
- }
1496
- declare class CommentRangeEnd extends XmlComponent {
1497
- constructor(id: number);
1498
- }
1499
- declare class CommentReference extends XmlComponent {
1500
- constructor(id: number);
1501
- }
1502
- declare class Comment extends XmlComponent {
1503
- constructor({
1504
- id,
1505
- initials,
1506
- author,
1507
- date,
1508
- children
1509
- }: ICommentOptions);
1510
- }
1511
- declare class Comments extends XmlComponent {
1512
- private readonly relationships;
1513
- constructor({
1514
- children
1515
- }: ICommentsOptions);
1516
- get Relationships(): Relationships;
1517
- }
1518
- //#endregion
1519
- //#region src/file/paragraph/run/positional-tab.d.ts
1520
- declare const PositionalTabAlignment: {
1521
- readonly LEFT: "left";
1522
- readonly CENTER: "center";
1523
- readonly RIGHT: "right";
1524
- };
1525
- declare const PositionalTabRelativeTo: {
1526
- readonly MARGIN: "margin";
1527
- readonly INDENT: "indent";
1528
- };
1529
- declare const PositionalTabLeader: {
1530
- readonly NONE: "none";
1531
- readonly DOT: "dot";
1532
- readonly HYPHEN: "hyphen";
1533
- readonly UNDERSCORE: "underscore";
1534
- readonly MIDDLE_DOT: "middleDot";
1535
- };
1536
- interface PositionalTabOptions {
1537
- readonly alignment: (typeof PositionalTabAlignment)[keyof typeof PositionalTabAlignment];
1538
- readonly relativeTo: (typeof PositionalTabRelativeTo)[keyof typeof PositionalTabRelativeTo];
1539
- readonly leader: (typeof PositionalTabLeader)[keyof typeof PositionalTabLeader];
1540
- }
1541
- declare class PositionalTab extends XmlComponent {
1542
- constructor(options: PositionalTabOptions);
1543
- }
1544
- //#endregion
1545
- //#region src/file/paragraph/run/ruby.d.ts
1546
- declare const RubyAlign: {
1547
- readonly CENTER: "center";
1548
- readonly DISTRIBUTE_LETTER: "distributeLetter";
1549
- readonly DISTRIBUTE_SPACE: "distributeSpace";
1550
- readonly LEFT: "left";
1551
- readonly RIGHT: "right";
1552
- readonly RIGHT_VERTICAL: "rightVertical";
1553
- };
1554
- interface RubyOptions {
1555
- readonly text: string;
1556
- readonly base: string;
1557
- readonly alignment?: keyof typeof RubyAlign;
1558
- readonly fontSize?: number;
1559
- readonly raise?: number;
1560
- readonly baseFontSize?: number;
1561
- readonly languageId?: string;
1562
- readonly dirty?: boolean;
1563
- }
1564
- declare const createRuby: (options: RubyOptions) => XmlComponent;
1565
- //#endregion
1566
- //#region src/file/paragraph/run/form-field.d.ts
1567
- declare const FormFieldTextType: {
1568
- readonly REGULAR: "regular";
1569
- readonly NUMBER: "number";
1570
- readonly DATE: "date";
1571
- readonly CURRENT_TIME: "currentTime";
1572
- readonly CURRENT_DATE: "currentDate";
1573
- readonly CALCULATED: "calculated";
1574
- };
1575
- interface CheckBoxOptions {
1576
- readonly size?: number;
1577
- readonly sizeAuto?: boolean;
1578
- readonly default?: boolean;
1579
- readonly checked?: boolean;
1580
- }
1581
- interface DropDownListOptions {
1582
- readonly entries: readonly string[];
1583
- readonly result?: number;
1584
- readonly default?: number;
1585
- }
1586
- interface TextInputOptions {
1587
- readonly type?: (typeof FormFieldTextType)[keyof typeof FormFieldTextType];
1588
- readonly default?: string;
1589
- readonly maxLength?: number;
1590
- readonly format?: string;
1591
- }
1592
- interface FormFieldTextOptions {
1593
- readonly type: "text" | "autoText";
1594
- readonly value: string;
1595
- }
1596
- interface FormFieldCommonOptions {
1597
- readonly name?: string;
1598
- readonly label?: number;
1599
- readonly tabIndex?: number;
1600
- readonly enabled?: boolean;
1601
- readonly calcOnExit?: boolean;
1602
- readonly entryMacro?: string;
1603
- readonly exitMacro?: string;
1604
- readonly helpText?: FormFieldTextOptions;
1605
- readonly statusText?: FormFieldTextOptions;
1606
- }
1607
- interface FormFieldOptions extends FormFieldCommonOptions {
1608
- readonly checkBox?: CheckBoxOptions;
1609
- readonly dropDownList?: DropDownListOptions;
1610
- readonly textInput?: TextInputOptions;
1611
- }
1612
- declare const createFormFieldData: (options: FormFieldOptions) => XmlComponent;
1613
- //#endregion
1614
- //#region src/file/paragraph/run/break.d.ts
1615
- declare const createBreak: (options?: {
1616
- readonly clear?: "none" | "left" | "right" | "all";
1617
- }) => XmlComponent;
1618
- //#endregion
1619
- //#region src/file/endnotes/endnote/run/reference-run.d.ts
1620
- declare class EndnoteReferenceRunAttributes extends XmlAttributeComponent<{
1621
- readonly id: number;
1622
- }> {
1623
- protected readonly xmlKeys: {
1624
- id: string;
1625
- };
1626
- }
1627
- declare class EndnoteIdReference extends XmlComponent {
1628
- constructor(id: number);
1629
- }
1630
- declare class EndnoteReferenceRun extends Run {
1631
- constructor(id: number);
1632
- }
1633
- //#endregion
1634
1482
  //#region src/file/footnotes/footnotes.d.ts
1635
1483
  declare class FootNotes extends XmlComponent {
1636
1484
  constructor();
1637
1485
  createFootNote(id: number, paragraph: readonly Paragraph[]): void;
1638
1486
  }
1639
1487
  //#endregion
1640
- //#region src/file/document-wrapper.d.ts
1641
- interface IViewWrapper {
1642
- readonly View: Document | Footer$1 | Header$1 | FootNotes | Endnotes | XmlComponent;
1643
- readonly Relationships: Relationships;
1488
+ //#region src/file/alt-chunk/alt-chunk.d.ts
1489
+ interface IAltChunkOptions {
1490
+ readonly data: Uint8Array | string;
1491
+ readonly contentType: "text/html" | "application/rtf" | "text/plain";
1492
+ readonly extension: "html" | "rtf" | "txt";
1493
+ readonly matchSrc?: boolean;
1644
1494
  }
1645
- declare class DocumentWrapper implements IViewWrapper {
1646
- private readonly document;
1647
- private readonly relationships;
1648
- constructor(options: IDocumentOptions);
1649
- get View(): Document;
1650
- get Relationships(): Relationships;
1495
+ declare class AltChunk extends XmlComponent implements FileChild {
1496
+ readonly fileChild: symbol;
1497
+ private readonly options;
1498
+ constructor(options: IAltChunkOptions);
1499
+ prepForXml(context: IContext): IXmlableObject;
1651
1500
  }
1652
1501
  //#endregion
1653
1502
  //#region src/file/alt-chunk/alt-chunk-collection.d.ts
@@ -1665,447 +1514,124 @@ declare class AltChunkCollection {
1665
1514
  get Array(): readonly IAltChunkData[];
1666
1515
  }
1667
1516
  //#endregion
1668
- //#region src/file/bibliography/bibliography.d.ts
1669
- interface SourceTypeOptions {
1670
- readonly type?: string;
1671
- readonly title?: string;
1672
- readonly author?: string;
1673
- readonly year?: string;
1674
- readonly month?: string;
1675
- readonly day?: string;
1676
- readonly bookTitle?: string;
1677
- readonly journal?: string;
1678
- readonly volume?: string;
1679
- readonly issue?: string;
1680
- readonly pages?: string;
1681
- readonly publisher?: string;
1682
- readonly city?: string;
1683
- readonly url?: string;
1684
- readonly edition?: string;
1685
- readonly institution?: string;
1517
+ //#region src/file/checkbox/checkbox-util.d.ts
1518
+ interface ICheckboxSymbolProperties {
1519
+ readonly value?: string;
1520
+ readonly font?: string;
1686
1521
  }
1687
- interface IBibliographyOptions {
1688
- readonly sources: readonly SourceTypeOptions[];
1689
- readonly styleName?: string;
1522
+ interface ICheckboxSymbolOptions {
1523
+ readonly alias?: string;
1524
+ readonly checked?: boolean;
1525
+ readonly checkedState?: ICheckboxSymbolProperties;
1526
+ readonly uncheckedState?: ICheckboxSymbolProperties;
1690
1527
  }
1691
- declare class Bibliography extends XmlComponent {
1692
- private readonly relationships;
1693
- constructor(options: IBibliographyOptions);
1694
- get Relationships(): Relationships;
1528
+ declare class CheckBoxUtil extends XmlComponent {
1529
+ private readonly DEFAULT_UNCHECKED_SYMBOL;
1530
+ private readonly DEFAULT_CHECKED_SYMBOL;
1531
+ private readonly DEFAULT_FONT;
1532
+ constructor(options?: ICheckboxSymbolOptions);
1695
1533
  }
1696
1534
  //#endregion
1697
- //#region src/file/content-types/content-types.d.ts
1698
- declare class ContentTypes extends XmlComponent {
1699
- constructor();
1700
- addBibliography(): void;
1701
- addFooter(index: number): void;
1702
- addHeader(index: number): void;
1703
- addChart(index: number): void;
1704
- addDiagramData(index: number): void;
1705
- addDiagramLayout(index: number): void;
1706
- addDiagramStyle(index: number): void;
1707
- addDiagramColors(index: number): void;
1708
- addDiagramDrawing(index: number): void;
1709
- addAltChunk(path: string, contentType: string, _extension: string): void;
1710
- addSubDoc(path: string): void;
1535
+ //#region src/file/checkbox/checkbox-symbol.d.ts
1536
+ declare class CheckBoxSymbolElement extends XmlComponent {
1537
+ constructor(name: string, val: string, font?: string);
1711
1538
  }
1712
1539
  //#endregion
1713
- //#region src/file/settings/compatibility.d.ts
1714
- interface ICompatibilityOptions {
1715
- readonly version?: number;
1716
- readonly useSingleBorderforContiguousCells?: boolean;
1717
- readonly wordPerfectJustification?: boolean;
1718
- readonly noTabStopForHangingIndent?: boolean;
1719
- readonly noLeading?: boolean;
1720
- readonly spaceForUnderline?: boolean;
1721
- readonly noColumnBalance?: boolean;
1722
- readonly balanceSingleByteDoubleByteWidth?: boolean;
1723
- readonly noExtraLineSpacing?: boolean;
1724
- readonly doNotLeaveBackslashAlone?: boolean;
1725
- readonly underlineTrailingSpaces?: boolean;
1726
- readonly doNotExpandShiftReturn?: boolean;
1727
- readonly spacingInWholePoints?: boolean;
1728
- readonly lineWrapLikeWord6?: boolean;
1729
- readonly printBodyTextBeforeHeader?: boolean;
1730
- readonly printColorsBlack?: boolean;
1731
- readonly spaceWidth?: boolean;
1732
- readonly showBreaksInFrames?: boolean;
1733
- readonly subFontBySize?: boolean;
1734
- readonly suppressBottomSpacing?: boolean;
1735
- readonly suppressTopSpacing?: boolean;
1736
- readonly suppressSpacingAtTopOfPage?: boolean;
1737
- readonly suppressTopSpacingWP?: boolean;
1738
- readonly suppressSpBfAfterPgBrk?: boolean;
1739
- readonly swapBordersFacingPages?: boolean;
1740
- readonly convertMailMergeEsc?: boolean;
1741
- readonly truncateFontHeightsLikeWP6?: boolean;
1742
- readonly macWordSmallCaps?: boolean;
1743
- readonly usePrinterMetrics?: boolean;
1744
- readonly doNotSuppressParagraphBorders?: boolean;
1745
- readonly wrapTrailSpaces?: boolean;
1746
- readonly footnoteLayoutLikeWW8?: boolean;
1747
- readonly shapeLayoutLikeWW8?: boolean;
1748
- readonly alignTablesRowByRow?: boolean;
1749
- readonly forgetLastTabAlignment?: boolean;
1750
- readonly adjustLineHeightInTable?: boolean;
1751
- readonly autoSpaceLikeWord95?: boolean;
1752
- readonly noSpaceRaiseLower?: boolean;
1753
- readonly doNotUseHTMLParagraphAutoSpacing?: boolean;
1754
- readonly layoutRawTableWidth?: boolean;
1755
- readonly layoutTableRowsApart?: boolean;
1756
- readonly useWord97LineBreakRules?: boolean;
1757
- readonly doNotBreakWrappedTables?: boolean;
1758
- readonly doNotSnapToGridInCell?: boolean;
1759
- readonly selectFieldWithFirstOrLastCharacter?: boolean;
1760
- readonly applyBreakingRules?: boolean;
1761
- readonly doNotWrapTextWithPunctuation?: boolean;
1762
- readonly doNotUseEastAsianBreakRules?: boolean;
1763
- readonly useWord2002TableStyleRules?: boolean;
1764
- readonly growAutofit?: boolean;
1765
- readonly useFELayout?: boolean;
1766
- readonly useNormalStyleForList?: boolean;
1767
- readonly doNotUseIndentAsNumberingTabStop?: boolean;
1768
- readonly useAlternateEastAsianLineBreakRules?: boolean;
1769
- readonly allowSpaceOfSameStyleInTable?: boolean;
1770
- readonly doNotSuppressIndentation?: boolean;
1771
- readonly doNotAutofitConstrainedTables?: boolean;
1772
- readonly autofitToFirstFixedWidthCell?: boolean;
1773
- readonly underlineTabInNumberingList?: boolean;
1774
- readonly displayHangulFixedWidth?: boolean;
1775
- readonly splitPgBreakAndParaMark?: boolean;
1776
- readonly doNotVerticallyAlignCellWithSp?: boolean;
1777
- readonly doNotBreakConstrainedForcedTable?: boolean;
1778
- readonly ignoreVerticalAlignmentInTextboxes?: boolean;
1779
- readonly useAnsiKerningPairs?: boolean;
1780
- readonly cachedColumnBalance?: boolean;
1781
- readonly overrideTableStyleFontSizeAndJustification?: boolean;
1782
- readonly enableOpenTypeFeatures?: boolean;
1783
- readonly doNotFlipMirrorIndents?: boolean;
1540
+ //#region src/file/checkbox/checkbox.d.ts
1541
+ declare class CheckBox extends XmlComponent {
1542
+ private readonly DEFAULT_UNCHECKED_SYMBOL;
1543
+ private readonly DEFAULT_CHECKED_SYMBOL;
1544
+ private readonly DEFAULT_FONT;
1545
+ constructor(options?: ICheckboxSymbolOptions);
1784
1546
  }
1785
1547
  //#endregion
1786
- //#region src/file/settings/settings.d.ts
1787
- interface ISettingsOptions {
1788
- readonly compatibilityModeVersion?: number;
1789
- readonly evenAndOddHeaders?: boolean;
1790
- readonly trackRevisions?: boolean;
1791
- readonly updateFields?: boolean;
1792
- readonly compatibility?: ICompatibilityOptions;
1793
- readonly defaultTabStop?: number;
1794
- readonly hyphenation?: IHyphenationOptions;
1795
- readonly characterSpacingControl?: "compressPunctuation" | "doNotCompress";
1796
- readonly documentProtection?: IDocumentProtectionOptions;
1797
- readonly view?: "none" | "print" | "outline" | "masterPages" | "normal" | "web";
1798
- readonly zoom?: {
1799
- readonly percent?: number;
1800
- readonly val?: "none" | "fullPage" | "bestFit" | "textFit";
1801
- };
1802
- readonly writeProtection?: IWriteProtectionOptions;
1803
- readonly displayBackgroundShape?: boolean;
1804
- readonly embedTrueTypeFonts?: boolean;
1805
- readonly embedSystemFonts?: boolean;
1806
- readonly saveSubsetFonts?: boolean;
1807
- readonly docVars?: readonly {
1808
- readonly name: string;
1809
- readonly val: string;
1810
- }[];
1811
- readonly colorSchemeMapping?: {
1812
- readonly bg1?: string;
1813
- readonly t1?: string;
1814
- readonly bg2?: string;
1815
- readonly t2?: string;
1816
- readonly accent1?: string;
1817
- readonly accent2?: string;
1818
- readonly accent3?: string;
1819
- readonly accent4?: string;
1820
- readonly accent5?: string;
1821
- readonly accent6?: string;
1822
- readonly hyperlink?: string;
1823
- readonly followedHyperlink?: string;
1824
- };
1548
+ //#region src/file/permissions/perm-start.d.ts
1549
+ declare const EditGroupType: {
1550
+ readonly NONE: "none";
1551
+ readonly EVERYONE: "everyone";
1552
+ readonly ADMINISTRATORS: "administrators";
1553
+ readonly CONTRIBUTORS: "contributors";
1554
+ readonly EDITORS: "editors";
1555
+ readonly OWNERS: "owners";
1556
+ readonly CURRENT: "current";
1557
+ };
1558
+ type EditGroup = (typeof EditGroupType)[keyof typeof EditGroupType];
1559
+ interface IPermStartOptions {
1560
+ readonly id: string | number;
1561
+ readonly edGroup?: EditGroup;
1562
+ readonly ed?: string;
1563
+ readonly colFirst?: number;
1564
+ readonly colLast?: number;
1825
1565
  }
1826
- interface IDocumentProtectionOptions {
1827
- readonly edit?: "none" | "readOnly" | "comments" | "trackedChanges" | "forms";
1828
- readonly formatting?: boolean;
1829
- readonly hashValue?: string;
1830
- readonly saltValue?: string;
1831
- readonly spinCount?: number;
1832
- readonly algorithmName?: string;
1566
+ declare class PermStart extends XmlComponent {
1567
+ constructor(options: IPermStartOptions);
1833
1568
  }
1834
- interface IWriteProtectionOptions {
1835
- readonly hashValue?: string;
1836
- readonly saltValue?: string;
1837
- readonly spinCount?: number;
1838
- readonly algorithmName?: string;
1839
- readonly recommended?: boolean;
1569
+ declare class PermEnd extends XmlComponent {
1570
+ constructor(id: string | number);
1840
1571
  }
1841
- interface IHyphenationOptions {
1842
- readonly autoHyphenation?: boolean;
1843
- readonly hyphenationZone?: number;
1844
- readonly consecutiveHyphenLimit?: number;
1845
- readonly doNotHyphenateCaps?: boolean;
1572
+ //#endregion
1573
+ //#region src/file/table-of-contents/table-of-contents.d.ts
1574
+ interface ToCEntry {
1575
+ readonly title: string;
1576
+ readonly level: number;
1577
+ readonly page?: number;
1578
+ readonly href?: string;
1846
1579
  }
1847
- declare class Settings extends XmlComponent {
1848
- constructor(options: ISettingsOptions);
1580
+ declare class TableOfContents extends XmlComponent implements FileChild {
1581
+ readonly fileChild: symbol;
1582
+ constructor(alias?: string, {
1583
+ contentChildren,
1584
+ cachedEntries,
1585
+ beginDirty,
1586
+ ...properties
1587
+ }?: ITableOfContentsOptions & {
1588
+ readonly contentChildren?: readonly (BaseXmlComponent | string)[];
1589
+ readonly cachedEntries?: readonly ToCEntry[];
1590
+ readonly beginDirty?: boolean;
1591
+ });
1592
+ private getTabStopsForLevel;
1593
+ private buildCachedContentRun;
1594
+ private buildCachedContentParagraphChild;
1849
1595
  }
1850
1596
  //#endregion
1851
- //#region src/file/fonts/font.d.ts
1852
- declare const CharacterSet: {
1853
- readonly ANSI: "00";
1854
- readonly ARABIC: "B2";
1855
- readonly BALTIC: "BA";
1856
- readonly CHINESEBIG5: "88";
1857
- readonly DEFAULT: "01";
1858
- readonly EASTEUROPE: "EE";
1859
- readonly GB_2312: "86";
1860
- readonly GREEK: "A1";
1861
- readonly HANGUL: "81";
1862
- readonly HEBREW: "B1";
1863
- readonly JIS: "80";
1864
- readonly JOHAB: "82";
1865
- readonly MAC: "4D";
1866
- readonly OEM: "FF";
1867
- readonly RUSSIAN: "CC";
1868
- readonly SYMBOL: "02";
1869
- readonly THAI: "DE";
1870
- readonly TURKISH: "A2";
1871
- readonly VIETNAMESE: "A3";
1872
- };
1873
- //#endregion
1874
- //#region src/file/fonts/font-wrapper.d.ts
1875
- type FontOptionsWithKey = FontOptions & {
1876
- readonly fontKey: string;
1597
+ //#region src/file/table-of-contents/sdt-properties.d.ts
1598
+ declare const SdtLock: {
1599
+ readonly SDT_LOCKED: "sdtLocked";
1600
+ readonly CONTENT_LOCKED: "contentLocked";
1601
+ readonly UNLOCKED: "unlocked";
1602
+ readonly SDT_CONTENT_LOCKED: "sdtContentLocked";
1877
1603
  };
1878
- declare class FontWrapper implements IViewWrapper {
1879
- readonly options: readonly FontOptions[];
1880
- private readonly fontTable;
1881
- private readonly relationships;
1882
- readonly fontOptionsWithKey: readonly FontOptionsWithKey[];
1883
- constructor(options: readonly FontOptions[]);
1884
- get View(): XmlComponent;
1885
- get Relationships(): Relationships;
1886
- }
1887
- //#endregion
1888
- //#region src/file/fonts/font-table.d.ts
1889
- interface FontOptions {
1890
- readonly name: string;
1891
- readonly data: Buffer;
1892
- readonly characterSet?: (typeof CharacterSet)[keyof typeof CharacterSet];
1604
+ interface SdtListItem {
1605
+ readonly displayText?: string;
1606
+ readonly value?: string;
1893
1607
  }
1894
- //#endregion
1895
- //#region src/file/custom-properties/custom-property.d.ts
1896
- interface ICustomPropertyOptions {
1897
- readonly name: string;
1898
- readonly value: string;
1608
+ interface SdtComboBoxOptions {
1609
+ readonly items?: readonly SdtListItem[];
1610
+ readonly lastValue?: string;
1899
1611
  }
1900
- //#endregion
1901
- //#region src/file/custom-properties/custom-properties.d.ts
1902
- declare class CustomProperties extends XmlComponent {
1903
- private nextId;
1904
- private readonly properties;
1905
- constructor(properties: readonly ICustomPropertyOptions[]);
1906
- prepForXml(context: IContext): IXmlableObject | undefined;
1907
- addCustomProperty(property: ICustomPropertyOptions): void;
1612
+ interface SdtDropDownListOptions {
1613
+ readonly items?: readonly SdtListItem[];
1614
+ readonly lastValue?: string;
1908
1615
  }
1909
- //#endregion
1910
- //#region src/file/paragraph/formatting/border.d.ts
1911
- interface IBordersOptions {
1912
- readonly top?: IBorderOptions;
1913
- readonly bottom?: IBorderOptions;
1914
- readonly left?: IBorderOptions;
1915
- readonly right?: IBorderOptions;
1916
- readonly between?: IBorderOptions;
1616
+ declare const SdtDateMappingType: {
1617
+ readonly TEXT: "text";
1618
+ readonly DATE: "date";
1619
+ readonly DATE_TIME: "dateTime";
1620
+ };
1621
+ interface SdtDateOptions {
1622
+ readonly dateFormat?: string;
1623
+ readonly languageId?: string;
1624
+ readonly storeMappedDataAs?: (typeof SdtDateMappingType)[keyof typeof SdtDateMappingType];
1625
+ readonly calendar?: string;
1626
+ readonly fullDate?: string;
1917
1627
  }
1918
- declare class Border extends IgnoreIfEmptyXmlComponent {
1919
- constructor(options: IBordersOptions);
1628
+ interface SdtTextOptions {
1629
+ readonly multiLine?: boolean;
1920
1630
  }
1921
- declare class ThematicBreak extends XmlComponent {
1922
- constructor();
1923
- }
1924
- //#endregion
1925
- //#region src/file/paragraph/formatting/cnf-style.d.ts
1926
- interface ICnfStyleOptions {
1927
- readonly firstRow?: boolean;
1928
- readonly lastRow?: boolean;
1929
- readonly firstColumn?: boolean;
1930
- readonly lastColumn?: boolean;
1931
- readonly oddVBand?: boolean;
1932
- readonly evenVBand?: boolean;
1933
- readonly oddHBand?: boolean;
1934
- readonly evenHBand?: boolean;
1935
- readonly firstRowFirstColumn?: boolean;
1936
- readonly firstRowLastColumn?: boolean;
1937
- readonly lastRowFirstColumn?: boolean;
1938
- readonly lastRowLastColumn?: boolean;
1939
- }
1940
- declare const createCnfStyle: (options: ICnfStyleOptions) => XmlComponent;
1941
- //#endregion
1942
- //#region src/file/paragraph/formatting/indent.d.ts
1943
- interface IIndentAttributesProperties {
1944
- readonly start?: number | values_d_exports.UniversalMeasure;
1945
- readonly startChars?: number;
1946
- readonly end?: number | values_d_exports.UniversalMeasure;
1947
- readonly endChars?: number;
1948
- readonly left?: number | values_d_exports.UniversalMeasure;
1949
- readonly leftChars?: number;
1950
- readonly right?: number | values_d_exports.UniversalMeasure;
1951
- readonly rightChars?: number;
1952
- readonly hanging?: number | values_d_exports.PositiveUniversalMeasure;
1953
- readonly hangingChars?: number;
1954
- readonly firstLine?: number | values_d_exports.PositiveUniversalMeasure;
1955
- readonly firstLineChars?: number;
1956
- }
1957
- declare const createIndent: ({
1958
- start,
1959
- startChars,
1960
- end,
1961
- endChars,
1962
- left,
1963
- leftChars,
1964
- right,
1965
- rightChars,
1966
- hanging,
1967
- hangingChars,
1968
- firstLine,
1969
- firstLineChars
1970
- }: IIndentAttributesProperties) => XmlComponent;
1971
- //#endregion
1972
- //#region src/file/paragraph/formatting/spacing.d.ts
1973
- declare const LineRuleType: {
1974
- readonly AT_LEAST: "atLeast";
1975
- readonly EXACTLY: "exactly";
1976
- readonly EXACT: "exact";
1977
- readonly AUTO: "auto";
1978
- };
1979
- interface ISpacingProperties {
1980
- readonly after?: number;
1981
- readonly before?: number;
1982
- readonly line?: number;
1983
- readonly lineRule?: (typeof LineRuleType)[keyof typeof LineRuleType];
1984
- readonly beforeAutoSpacing?: boolean;
1985
- readonly afterAutoSpacing?: boolean;
1986
- readonly beforeLines?: number;
1987
- readonly afterLines?: number;
1988
- }
1989
- declare const createSpacing: ({
1990
- after,
1991
- before,
1992
- line,
1993
- lineRule,
1994
- beforeAutoSpacing,
1995
- afterAutoSpacing,
1996
- beforeLines,
1997
- afterLines
1998
- }: ISpacingProperties) => XmlComponent;
1999
- //#endregion
2000
- //#region src/file/paragraph/formatting/style.d.ts
2001
- declare const HeadingLevel: {
2002
- readonly HEADING_1: "Heading1";
2003
- readonly HEADING_2: "Heading2";
2004
- readonly HEADING_3: "Heading3";
2005
- readonly HEADING_4: "Heading4";
2006
- readonly HEADING_5: "Heading5";
2007
- readonly HEADING_6: "Heading6";
2008
- readonly TITLE: "Title";
2009
- };
2010
- declare const createParagraphStyle: (styleId: string) => XmlComponent;
2011
- //#endregion
2012
- //#region src/file/paragraph/formatting/tab-stop.d.ts
2013
- interface TabStopDefinition {
2014
- readonly type: (typeof TabStopType)[keyof typeof TabStopType];
2015
- readonly position: number | (typeof TabStopPosition)[keyof typeof TabStopPosition];
2016
- readonly leader?: (typeof LeaderType)[keyof typeof LeaderType];
2017
- }
2018
- declare const TabStopType: {
2019
- readonly LEFT: "left";
2020
- readonly RIGHT: "right";
2021
- readonly CENTER: "center";
2022
- readonly BAR: "bar";
2023
- readonly CLEAR: "clear";
2024
- readonly DECIMAL: "decimal";
2025
- readonly END: "end";
2026
- readonly NUM: "num";
2027
- readonly START: "start";
2028
- };
2029
- declare const LeaderType: {
2030
- readonly DOT: "dot";
2031
- readonly HEAVY: "heavy";
2032
- readonly HYPHEN: "hyphen";
2033
- readonly MIDDLE_DOT: "middleDot";
2034
- readonly NONE: "none";
2035
- readonly UNDERSCORE: "underscore";
2036
- };
2037
- declare const TabStopPosition: {
2038
- readonly MAX: 9026;
2039
- };
2040
- declare const createTabStopItem: ({
2041
- type,
2042
- position,
2043
- leader
2044
- }: TabStopDefinition) => XmlComponent;
2045
- declare const createTabStop: (tabDefinitions: readonly TabStopDefinition[]) => XmlComponent;
2046
- //#endregion
2047
- //#region src/file/table-of-contents/table-of-contents.d.ts
2048
- interface ToCEntry {
2049
- readonly title: string;
2050
- readonly level: number;
2051
- readonly page?: number;
2052
- readonly href?: string;
2053
- }
2054
- declare class TableOfContents extends XmlComponent implements FileChild {
2055
- readonly fileChild: symbol;
2056
- constructor(alias?: string, {
2057
- contentChildren,
2058
- cachedEntries,
2059
- beginDirty,
2060
- ...properties
2061
- }?: ITableOfContentsOptions & {
2062
- readonly contentChildren?: readonly (BaseXmlComponent | string)[];
2063
- readonly cachedEntries?: readonly ToCEntry[];
2064
- readonly beginDirty?: boolean;
2065
- });
2066
- private getTabStopsForLevel;
2067
- private buildCachedContentRun;
2068
- private buildCachedContentParagraphChild;
2069
- }
2070
- //#endregion
2071
- //#region src/file/table-of-contents/sdt-properties.d.ts
2072
- declare const SdtLock: {
2073
- readonly SDT_LOCKED: "sdtLocked";
2074
- readonly CONTENT_LOCKED: "contentLocked";
2075
- readonly UNLOCKED: "unlocked";
2076
- readonly SDT_CONTENT_LOCKED: "sdtContentLocked";
2077
- };
2078
- interface SdtListItem {
2079
- readonly displayText?: string;
2080
- readonly value?: string;
2081
- }
2082
- interface SdtComboBoxOptions {
2083
- readonly items?: readonly SdtListItem[];
2084
- readonly lastValue?: string;
2085
- }
2086
- interface SdtDropDownListOptions {
2087
- readonly items?: readonly SdtListItem[];
2088
- readonly lastValue?: string;
2089
- }
2090
- declare const SdtDateMappingType: {
2091
- readonly TEXT: "text";
2092
- readonly DATE: "date";
2093
- readonly DATE_TIME: "dateTime";
2094
- };
2095
- interface SdtDateOptions {
2096
- readonly dateFormat?: string;
2097
- readonly languageId?: string;
2098
- readonly storeMappedDataAs?: (typeof SdtDateMappingType)[keyof typeof SdtDateMappingType];
2099
- readonly calendar?: string;
2100
- readonly fullDate?: string;
2101
- }
2102
- interface SdtTextOptions {
2103
- readonly multiLine?: boolean;
2104
- }
2105
- interface SdtDataBindingOptions {
2106
- readonly prefixMappings?: string;
2107
- readonly xpath: string;
2108
- readonly storeItemID: string;
1631
+ interface SdtDataBindingOptions {
1632
+ readonly prefixMappings?: string;
1633
+ readonly xpath: string;
1634
+ readonly storeItemID: string;
2109
1635
  }
2110
1636
  interface SdtPropertiesOptions {
2111
1637
  readonly alias?: string;
@@ -2166,84 +1692,180 @@ declare class StructuredDocumentTagBlock extends XmlComponent implements FileChi
2166
1692
  constructor(options: ISdtBlockOptions);
2167
1693
  }
2168
1694
  //#endregion
2169
- //#region src/file/sdt/sdt-cell.d.ts
2170
- interface ISdtCellOptions {
2171
- readonly properties: SdtPropertiesOptions;
2172
- readonly children?: readonly TableCell[];
2173
- }
2174
- declare class StructuredDocumentTagCell extends XmlComponent {
2175
- readonly options: ITableCellOptions;
2176
- constructor(sdtOptions: ISdtCellOptions);
1695
+ //#region src/file/table/grid.d.ts
1696
+ interface ITableGridChangeOptions {
1697
+ readonly id: number;
1698
+ readonly columnWidths: readonly number[] | readonly values_d_exports.PositiveUniversalMeasure[];
2177
1699
  }
2178
1700
  //#endregion
2179
- //#region src/file/alt-chunk/alt-chunk.d.ts
2180
- interface IAltChunkOptions {
2181
- readonly data: Uint8Array | string;
2182
- readonly contentType: "text/html" | "application/rtf" | "text/plain";
2183
- readonly extension: "html" | "rtf" | "txt";
2184
- readonly matchSrc?: boolean;
2185
- }
2186
- declare class AltChunk extends XmlComponent implements FileChild {
2187
- readonly fileChild: symbol;
2188
- private readonly options;
2189
- constructor(options: IAltChunkOptions);
2190
- prepForXml(context: IContext): IXmlableObject;
1701
+ //#region src/file/table/table-cell-spacing.d.ts
1702
+ declare const CellSpacingType: {
1703
+ readonly DXA: "dxa";
1704
+ readonly NIL: "nil";
1705
+ };
1706
+ interface ITableCellSpacingProperties {
1707
+ readonly value: number | values_d_exports.Percentage | values_d_exports.UniversalMeasure;
1708
+ readonly type?: (typeof CellSpacingType)[keyof typeof CellSpacingType];
2191
1709
  }
2192
1710
  //#endregion
2193
- //#region src/file/checkbox/checkbox-util.d.ts
2194
- interface ICheckboxSymbolProperties {
2195
- readonly value?: string;
2196
- readonly font?: string;
2197
- }
2198
- interface ICheckboxSymbolOptions {
2199
- readonly alias?: string;
2200
- readonly checked?: boolean;
2201
- readonly checkedState?: ICheckboxSymbolProperties;
2202
- readonly uncheckedState?: ICheckboxSymbolProperties;
2203
- }
2204
- declare class CheckBoxUtil extends XmlComponent {
2205
- private readonly DEFAULT_UNCHECKED_SYMBOL;
2206
- private readonly DEFAULT_CHECKED_SYMBOL;
2207
- private readonly DEFAULT_FONT;
2208
- constructor(options?: ICheckboxSymbolOptions);
1711
+ //#region src/file/table/table-width.d.ts
1712
+ declare const WidthType: {
1713
+ readonly AUTO: "auto";
1714
+ readonly DXA: "dxa";
1715
+ readonly NIL: "nil";
1716
+ readonly PERCENTAGE: "pct";
1717
+ };
1718
+ interface ITableWidthProperties {
1719
+ readonly size: number | values_d_exports.Percentage | values_d_exports.UniversalMeasure;
1720
+ readonly type?: (typeof WidthType)[keyof typeof WidthType];
2209
1721
  }
1722
+ declare const createTableWidthElement: (name: string, {
1723
+ type,
1724
+ size
1725
+ }: ITableWidthProperties) => XmlComponent;
2210
1726
  //#endregion
2211
- //#region src/file/checkbox/checkbox-symbol.d.ts
2212
- declare class CheckBoxSymbolElement extends XmlComponent {
2213
- constructor(name: string, val: string, font?: string);
1727
+ //#region src/file/table/table-properties/table-borders.d.ts
1728
+ interface ITableBordersOptions {
1729
+ readonly top?: IBorderOptions;
1730
+ readonly bottom?: IBorderOptions;
1731
+ readonly left?: IBorderOptions;
1732
+ readonly right?: IBorderOptions;
1733
+ readonly insideHorizontal?: IBorderOptions;
1734
+ readonly insideVertical?: IBorderOptions;
1735
+ }
1736
+ declare class TableBorders extends XmlComponent {
1737
+ static readonly NONE: ITableBordersOptions;
1738
+ constructor(options: ITableBordersOptions);
2214
1739
  }
2215
1740
  //#endregion
2216
- //#region src/file/checkbox/checkbox.d.ts
2217
- declare class CheckBox extends XmlComponent {
2218
- private readonly DEFAULT_UNCHECKED_SYMBOL;
2219
- private readonly DEFAULT_CHECKED_SYMBOL;
2220
- private readonly DEFAULT_FONT;
2221
- constructor(options?: ICheckboxSymbolOptions);
1741
+ //#region src/file/table/table-properties/table-cell-margin.d.ts
1742
+ interface ITableCellMarginOptions {
1743
+ readonly marginUnitType?: (typeof WidthType)[keyof typeof WidthType];
1744
+ readonly top?: number;
1745
+ readonly bottom?: number;
1746
+ readonly left?: number;
1747
+ readonly right?: number;
2222
1748
  }
2223
1749
  //#endregion
2224
- //#region src/file/permissions/perm-start.d.ts
2225
- declare const EditGroupType: {
2226
- readonly NONE: "none";
2227
- readonly EVERYONE: "everyone";
2228
- readonly ADMINISTRATORS: "administrators";
2229
- readonly CONTRIBUTORS: "contributors";
2230
- readonly EDITORS: "editors";
2231
- readonly OWNERS: "owners";
2232
- readonly CURRENT: "current";
1750
+ //#region src/file/table/table-properties/table-float-properties.d.ts
1751
+ declare const TableAnchorType: {
1752
+ readonly MARGIN: "margin";
1753
+ readonly PAGE: "page";
1754
+ readonly TEXT: "text";
2233
1755
  };
2234
- type EditGroup = (typeof EditGroupType)[keyof typeof EditGroupType];
2235
- interface IPermStartOptions {
2236
- readonly id: string | number;
2237
- readonly edGroup?: EditGroup;
2238
- readonly ed?: string;
2239
- readonly colFirst?: number;
2240
- readonly colLast?: number;
1756
+ declare const RelativeHorizontalPosition: {
1757
+ readonly CENTER: "center";
1758
+ readonly INSIDE: "inside";
1759
+ readonly LEFT: "left";
1760
+ readonly OUTSIDE: "outside";
1761
+ readonly RIGHT: "right";
1762
+ };
1763
+ declare const RelativeVerticalPosition: {
1764
+ readonly BOTTOM: "bottom";
1765
+ readonly CENTER: "center";
1766
+ readonly INLINE: "inline";
1767
+ readonly INSIDE: "inside";
1768
+ readonly OUTSIDE: "outside";
1769
+ readonly TOP: "top";
1770
+ };
1771
+ declare const OverlapType: {
1772
+ readonly NEVER: "never";
1773
+ readonly OVERLAP: "overlap";
1774
+ };
1775
+ interface ITableFloatOptions {
1776
+ readonly horizontalAnchor?: (typeof TableAnchorType)[keyof typeof TableAnchorType];
1777
+ readonly absoluteHorizontalPosition?: number | values_d_exports.UniversalMeasure;
1778
+ readonly relativeHorizontalPosition?: (typeof RelativeHorizontalPosition)[keyof typeof RelativeHorizontalPosition];
1779
+ readonly verticalAnchor?: (typeof TableAnchorType)[keyof typeof TableAnchorType];
1780
+ readonly absoluteVerticalPosition?: number | values_d_exports.UniversalMeasure;
1781
+ readonly relativeVerticalPosition?: (typeof RelativeVerticalPosition)[keyof typeof RelativeVerticalPosition];
1782
+ readonly bottomFromText?: number | values_d_exports.PositiveUniversalMeasure;
1783
+ readonly topFromText?: number | values_d_exports.PositiveUniversalMeasure;
1784
+ readonly leftFromText?: number | values_d_exports.PositiveUniversalMeasure;
1785
+ readonly rightFromText?: number | values_d_exports.PositiveUniversalMeasure;
1786
+ readonly overlap?: (typeof OverlapType)[keyof typeof OverlapType];
2241
1787
  }
2242
- declare class PermStart extends XmlComponent {
2243
- constructor(options: IPermStartOptions);
1788
+ declare const createTableFloatProperties: ({
1789
+ horizontalAnchor,
1790
+ verticalAnchor,
1791
+ absoluteHorizontalPosition,
1792
+ relativeHorizontalPosition,
1793
+ absoluteVerticalPosition,
1794
+ relativeVerticalPosition,
1795
+ bottomFromText,
1796
+ topFromText,
1797
+ leftFromText,
1798
+ rightFromText
1799
+ }: ITableFloatOptions) => XmlComponent;
1800
+ declare const createTableOverlap: (overlap: (typeof OverlapType)[keyof typeof OverlapType]) => XmlComponent;
1801
+ //#endregion
1802
+ //#region src/file/table/table-properties/table-layout.d.ts
1803
+ declare const TableLayoutType: {
1804
+ readonly AUTOFIT: "autofit";
1805
+ readonly FIXED: "fixed";
1806
+ };
1807
+ declare const createTableLayout: (type: (typeof TableLayoutType)[keyof typeof TableLayoutType]) => XmlComponent;
1808
+ //#endregion
1809
+ //#region src/file/table/table-properties/table-look.d.ts
1810
+ interface ITableLookOptions {
1811
+ readonly firstRow?: boolean;
1812
+ readonly lastRow?: boolean;
1813
+ readonly firstColumn?: boolean;
1814
+ readonly lastColumn?: boolean;
1815
+ readonly noHBand?: boolean;
1816
+ readonly noVBand?: boolean;
2244
1817
  }
2245
- declare class PermEnd extends XmlComponent {
2246
- constructor(id: string | number);
1818
+ declare const createTableLook: ({
1819
+ firstRow,
1820
+ lastRow,
1821
+ firstColumn,
1822
+ lastColumn,
1823
+ noHBand,
1824
+ noVBand
1825
+ }: ITableLookOptions) => XmlComponent;
1826
+ //#endregion
1827
+ //#region src/file/table/table-properties/table-properties.d.ts
1828
+ interface ITablePropertiesOptionsBase {
1829
+ readonly width?: ITableWidthProperties;
1830
+ readonly indent?: ITableWidthProperties;
1831
+ readonly layout?: (typeof TableLayoutType)[keyof typeof TableLayoutType];
1832
+ readonly borders?: ITableBordersOptions;
1833
+ readonly float?: ITableFloatOptions;
1834
+ readonly shading?: IShadingAttributesProperties;
1835
+ readonly style?: string;
1836
+ readonly alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
1837
+ readonly cellMargin?: ITableCellMarginOptions;
1838
+ readonly visuallyRightToLeft?: boolean;
1839
+ readonly tableLook?: ITableLookOptions;
1840
+ readonly cellSpacing?: ITableCellSpacingProperties;
1841
+ readonly styleRowBandSize?: number;
1842
+ readonly styleColBandSize?: number;
1843
+ readonly caption?: string;
1844
+ readonly description?: string;
1845
+ }
1846
+ type ITablePropertiesChangeOptions = ITablePropertiesOptions & IChangedAttributesProperties;
1847
+ type ITablePropertiesOptions = {
1848
+ readonly revision?: ITablePropertiesChangeOptions;
1849
+ readonly includeIfEmpty?: boolean;
1850
+ } & ITablePropertiesOptionsBase;
1851
+ declare class TableProperties extends IgnoreIfEmptyXmlComponent {
1852
+ constructor(options: ITablePropertiesOptions);
1853
+ }
1854
+ //#endregion
1855
+ //#region src/file/table/table-properties/table-property-exceptions.d.ts
1856
+ interface ITablePropertyExOptions {
1857
+ readonly width?: ITableWidthProperties;
1858
+ readonly indent?: ITableWidthProperties;
1859
+ readonly layout?: (typeof TableLayoutType)[keyof typeof TableLayoutType];
1860
+ readonly borders?: ITableBordersOptions;
1861
+ readonly shading?: IShadingAttributesProperties;
1862
+ readonly alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
1863
+ readonly cellMargin?: ITableCellMarginOptions;
1864
+ readonly tableLook?: ITableLookOptions;
1865
+ readonly cellSpacing?: ITableCellSpacingProperties;
1866
+ }
1867
+ declare class TablePropertyExceptions extends IgnoreIfEmptyXmlComponent {
1868
+ constructor(options: ITablePropertyExOptions);
2247
1869
  }
2248
1870
  //#endregion
2249
1871
  //#region src/file/sub-doc/sub-doc.d.ts
@@ -2257,18 +1879,61 @@ declare class SubDoc extends XmlComponent implements FileChild {
2257
1879
  prepForXml(context: IContext): IXmlableObject;
2258
1880
  }
2259
1881
  //#endregion
2260
- //#region src/file/sub-doc/sub-doc-collection.d.ts
2261
- interface ISubDocData {
2262
- readonly data: Uint8Array;
2263
- readonly path: string;
2264
- }
2265
- declare class SubDocCollection {
2266
- private readonly map;
2267
- constructor();
2268
- addSubDoc(key: string, data: ISubDocData): void;
2269
- get Array(): readonly ISubDocData[];
1882
+ //#region src/file/textbox/types.d.ts
1883
+ type LengthUnit = "auto" | number | values_d_exports.Percentage | values_d_exports.UniversalMeasure | values_d_exports.RelativeMeasure;
1884
+ //#endregion
1885
+ //#region src/file/textbox/shape/shape.d.ts
1886
+ interface VmlShapeStyle {
1887
+ readonly flip?: "x" | "y" | "xy" | "yx";
1888
+ readonly height?: LengthUnit;
1889
+ readonly left?: LengthUnit;
1890
+ readonly marginBottom?: LengthUnit;
1891
+ readonly marginLeft?: LengthUnit;
1892
+ readonly marginRight?: LengthUnit;
1893
+ readonly marginTop?: LengthUnit;
1894
+ readonly positionHorizontal?: "absolute" | "left" | "center" | "right" | "inside" | "outside";
1895
+ readonly positionHorizontalRelative?: "margin" | "page" | "text" | "char";
1896
+ readonly positionVertical?: "absolute" | "left" | "center" | "right" | "inside" | "outside";
1897
+ readonly positionVerticalRelative?: "margin" | "page" | "text" | "char";
1898
+ readonly wrapDistanceBottom?: number;
1899
+ readonly wrapDistanceLeft?: number;
1900
+ readonly wrapDistanceRight?: number;
1901
+ readonly wrapDistanceTop?: number;
1902
+ readonly wrapEdited?: boolean;
1903
+ readonly wrapStyle?: "square" | "none";
1904
+ readonly position?: "static" | "absolute" | "relative";
1905
+ readonly rotation?: number;
1906
+ readonly top?: LengthUnit;
1907
+ readonly visibility?: "hidden" | "inherit";
1908
+ readonly width: LengthUnit;
1909
+ readonly zIndex?: "auto" | number;
2270
1910
  }
2271
1911
  //#endregion
1912
+ //#region src/file/section-child.d.ts
1913
+ type SectionChild = BaseXmlComponent | {
1914
+ paragraph: string | IParagraphOptions;
1915
+ } | {
1916
+ table: ITableOptions;
1917
+ } | {
1918
+ toc: ITableOfContentsOptions & {
1919
+ readonly alias?: string;
1920
+ };
1921
+ } | {
1922
+ textbox: Omit<IParagraphOptions, "style" | "children"> & {
1923
+ readonly style?: VmlShapeStyle;
1924
+ readonly children?: readonly SectionChild[];
1925
+ };
1926
+ } | {
1927
+ sdt: {
1928
+ readonly properties: SdtPropertiesOptions;
1929
+ readonly children?: readonly SectionChild[];
1930
+ };
1931
+ } | {
1932
+ altChunk: IAltChunkOptions;
1933
+ } | {
1934
+ subDoc: ISubDocOptions;
1935
+ };
1936
+ //#endregion
2272
1937
  //#region src/file/track-revision/track-revision-components/inserted-text-run.d.ts
2273
1938
  type IInsertedRunOptions = IChangedAttributesProperties & IRunOptions;
2274
1939
  declare class InsertedTextRun extends XmlComponent {
@@ -2336,15 +2001,212 @@ declare class CellMerge extends XmlComponent {
2336
2001
  constructor(options: ICellMergeAttributes);
2337
2002
  }
2338
2003
  //#endregion
2339
- //#region src/file/paragraph/formatting/break.d.ts
2340
- declare class PageBreak extends Run {
2341
- constructor();
2004
+ //#region src/file/table/table-row/table-row-height.d.ts
2005
+ declare const HeightRule: {
2006
+ readonly AUTO: "auto";
2007
+ readonly ATLEAST: "atLeast";
2008
+ readonly EXACT: "exact";
2009
+ };
2010
+ declare const createTableRowHeight: (value: number | values_d_exports.PositiveUniversalMeasure, rule: (typeof HeightRule)[keyof typeof HeightRule]) => XmlComponent;
2011
+ //#endregion
2012
+ //#region src/file/table/table-row/table-row-properties.d.ts
2013
+ interface CnfStyleOptions {
2014
+ readonly val: string;
2015
+ readonly changed?: boolean;
2342
2016
  }
2343
- declare class ColumnBreak extends Run {
2344
- constructor();
2017
+ interface ITableRowPropertiesOptionsBase {
2018
+ readonly cnfStyle?: CnfStyleOptions;
2019
+ readonly cantSplit?: boolean;
2020
+ readonly tableHeader?: boolean;
2021
+ readonly height?: {
2022
+ readonly value: number | values_d_exports.PositiveUniversalMeasure;
2023
+ readonly rule: (typeof HeightRule)[keyof typeof HeightRule];
2024
+ };
2025
+ readonly cellSpacing?: ITableCellSpacingProperties;
2026
+ readonly divId?: number;
2027
+ readonly gridBefore?: number;
2028
+ readonly gridAfter?: number;
2029
+ readonly widthBefore?: ITableWidthProperties;
2030
+ readonly widthAfter?: ITableWidthProperties;
2031
+ readonly rowAlignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
2032
+ readonly hidden?: boolean;
2345
2033
  }
2346
- declare class PageBreakBefore extends XmlComponent {
2347
- constructor();
2034
+ type ITableRowPropertiesOptions = ITableRowPropertiesOptionsBase & {
2035
+ readonly insertion?: IChangedAttributesProperties;
2036
+ readonly deletion?: IChangedAttributesProperties;
2037
+ readonly revision?: ITableRowPropertiesChangeOptions;
2038
+ readonly includeIfEmpty?: boolean;
2039
+ };
2040
+ type ITableRowPropertiesChangeOptions = ITableRowPropertiesOptionsBase & IChangedAttributesProperties;
2041
+ declare class TableRowProperties extends IgnoreIfEmptyXmlComponent {
2042
+ constructor(options: ITableRowPropertiesOptions);
2043
+ }
2044
+ declare class TableRowPropertiesChange extends XmlComponent {
2045
+ constructor(options: ITableRowPropertiesChangeOptions);
2046
+ }
2047
+ //#endregion
2048
+ //#region src/file/table/table-cell/table-cell-components.d.ts
2049
+ interface ITableCellBorders {
2050
+ readonly top?: IBorderOptions;
2051
+ readonly start?: IBorderOptions;
2052
+ readonly left?: IBorderOptions;
2053
+ readonly bottom?: IBorderOptions;
2054
+ readonly end?: IBorderOptions;
2055
+ readonly right?: IBorderOptions;
2056
+ }
2057
+ declare class TableCellBorders extends IgnoreIfEmptyXmlComponent {
2058
+ constructor(options: ITableCellBorders);
2059
+ }
2060
+ declare class GridSpan extends XmlComponent {
2061
+ constructor(value: number);
2062
+ }
2063
+ declare const VerticalMergeType: {
2064
+ readonly CONTINUE: "continue";
2065
+ readonly RESTART: "restart";
2066
+ };
2067
+ declare class VerticalMerge extends XmlComponent {
2068
+ constructor(value: (typeof VerticalMergeType)[keyof typeof VerticalMergeType]);
2069
+ }
2070
+ declare const TextDirection: {
2071
+ readonly BOTTOM_TO_TOP_LEFT_TO_RIGHT: "btLr";
2072
+ readonly LEFT_TO_RIGHT_TOP_TO_BOTTOM: "lrTb";
2073
+ readonly TOP_TO_BOTTOM_RIGHT_TO_LEFT: "tbRl";
2074
+ };
2075
+ declare class TDirection extends XmlComponent {
2076
+ constructor(value: (typeof TextDirection)[keyof typeof TextDirection]);
2077
+ }
2078
+ //#endregion
2079
+ //#region src/file/table/table-cell/table-cell-properties.d.ts
2080
+ interface ITableCellPropertiesOptionsBase {
2081
+ readonly cnfStyle?: CnfStyleOptions;
2082
+ readonly shading?: IShadingAttributesProperties;
2083
+ readonly margins?: ITableCellMarginOptions;
2084
+ readonly verticalAlign?: TableVerticalAlign;
2085
+ readonly textDirection?: (typeof TextDirection)[keyof typeof TextDirection];
2086
+ readonly verticalMerge?: (typeof VerticalMergeType)[keyof typeof VerticalMergeType];
2087
+ readonly width?: ITableWidthProperties;
2088
+ readonly columnSpan?: number;
2089
+ readonly rowSpan?: number;
2090
+ readonly borders?: ITableCellBorders;
2091
+ readonly horizontalMerge?: "continue" | "restart";
2092
+ readonly noWrap?: boolean;
2093
+ readonly fitText?: boolean;
2094
+ readonly hideMark?: boolean;
2095
+ readonly headers?: string[];
2096
+ readonly insertion?: IChangedAttributesProperties;
2097
+ readonly deletion?: IChangedAttributesProperties;
2098
+ readonly cellMerge?: ICellMergeAttributes;
2099
+ }
2100
+ type ITableCellPropertiesOptions = {
2101
+ readonly revision?: ITableCellPropertiesChangeOptions;
2102
+ readonly includeIfEmpty?: boolean;
2103
+ } & ITableCellPropertiesOptionsBase;
2104
+ type ITableCellPropertiesChangeOptions = ITableCellPropertiesOptionsBase & IChangedAttributesProperties;
2105
+ //#endregion
2106
+ //#region src/file/table/table-cell/table-cell.d.ts
2107
+ type ITableCellOptions = {
2108
+ readonly children: readonly (SectionChild | StructuredDocumentTagCell)[];
2109
+ } & ITableCellPropertiesOptions;
2110
+ declare class TableCell extends BaseXmlComponent {
2111
+ readonly options: ITableCellOptions;
2112
+ constructor(options: ITableCellOptions);
2113
+ prepForXml(context: IContext): IXmlableObject | undefined;
2114
+ }
2115
+ //#endregion
2116
+ //#region src/file/table/table-row/table-row.d.ts
2117
+ type ITableRowOptions = {
2118
+ readonly children: readonly (TableCell | StructuredDocumentTagCell | StructuredDocumentTagRow | ITableCellOptions)[];
2119
+ readonly propertyExceptions?: ITablePropertyExOptions;
2120
+ } & ITableRowPropertiesOptions;
2121
+ declare class TableRow extends BaseXmlComponent {
2122
+ private readonly options;
2123
+ private extraCells;
2124
+ private readonly coercedChildren;
2125
+ constructor(options: ITableRowOptions);
2126
+ get CellCount(): number;
2127
+ get cells(): readonly TableCell[];
2128
+ addCellToColumnIndex(cell: TableCell, columnIndex: number): void;
2129
+ rootIndexToColumnIndex(rootIndex: number): number;
2130
+ columnIndexToRootIndex(columnIndex: number, allowEndNewCell?: boolean): number;
2131
+ prepForXml(context: IContext): IXmlableObject | undefined;
2132
+ private findInsertIndex;
2133
+ }
2134
+ //#endregion
2135
+ //#region src/file/table/table.d.ts
2136
+ interface ITableOptions {
2137
+ readonly rows: readonly (TableRow | StructuredDocumentTagRow | ITableRowOptions)[];
2138
+ readonly width?: ITableWidthProperties;
2139
+ readonly columnWidths?: readonly number[];
2140
+ readonly columnWidthsRevision?: ITableGridChangeOptions;
2141
+ readonly margins?: ITableCellMarginOptions;
2142
+ readonly indent?: ITableWidthProperties;
2143
+ readonly float?: ITableFloatOptions;
2144
+ readonly layout?: (typeof TableLayoutType)[keyof typeof TableLayoutType];
2145
+ readonly style?: string;
2146
+ readonly borders?: ITableBordersOptions;
2147
+ readonly alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
2148
+ readonly visuallyRightToLeft?: boolean;
2149
+ readonly tableLook?: ITableLookOptions;
2150
+ readonly cellSpacing?: ITableCellSpacingProperties;
2151
+ readonly styleRowBandSize?: number;
2152
+ readonly styleColBandSize?: number;
2153
+ readonly caption?: string;
2154
+ readonly description?: string;
2155
+ readonly revision?: ITablePropertiesChangeOptions;
2156
+ }
2157
+ declare class Table extends BaseXmlComponent implements FileChild {
2158
+ readonly fileChild: symbol;
2159
+ private readonly options;
2160
+ private readonly columnWidths;
2161
+ private readonly rows;
2162
+ constructor(options: ITableOptions);
2163
+ prepForXml(context: IContext): IXmlableObject | undefined;
2164
+ }
2165
+ //#endregion
2166
+ //#region src/file/sdt/sdt-cell.d.ts
2167
+ interface ISdtCellOptions {
2168
+ readonly properties: SdtPropertiesOptions;
2169
+ readonly children?: readonly TableCell[];
2170
+ }
2171
+ declare class StructuredDocumentTagCell extends XmlComponent {
2172
+ readonly options: ITableCellOptions;
2173
+ constructor(sdtOptions: ISdtCellOptions);
2174
+ }
2175
+ //#endregion
2176
+ //#region src/file/sdt/sdt-row.d.ts
2177
+ interface ISdtRowOptions {
2178
+ readonly properties: SdtPropertiesOptions;
2179
+ readonly children?: readonly TableRow[];
2180
+ }
2181
+ declare class StructuredDocumentTagRow extends XmlComponent {
2182
+ private readonly rows;
2183
+ constructor(options: ISdtRowOptions);
2184
+ get CellCount(): number;
2185
+ get cells(): readonly TableCell[];
2186
+ addCellToColumnIndex(cell: TableCell, columnIndex: number): void;
2187
+ }
2188
+ //#endregion
2189
+ //#region src/file/sub-doc/sub-doc-collection.d.ts
2190
+ interface ISubDocData {
2191
+ readonly data: Uint8Array;
2192
+ readonly path: string;
2193
+ }
2194
+ declare class SubDocCollection {
2195
+ private readonly map;
2196
+ constructor();
2197
+ addSubDoc(key: string, data: ISubDocData): void;
2198
+ get Array(): readonly ISubDocData[];
2199
+ }
2200
+ //#endregion
2201
+ //#region src/file/paragraph/formatting/break.d.ts
2202
+ declare class PageBreak extends Run {
2203
+ constructor();
2204
+ }
2205
+ declare class ColumnBreak extends Run {
2206
+ constructor();
2207
+ }
2208
+ declare class PageBreakBefore extends XmlComponent {
2209
+ constructor();
2348
2210
  }
2349
2211
  //#endregion
2350
2212
  //#region src/file/paragraph/links/hyperlink.d.ts
@@ -2903,6 +2765,126 @@ declare const createMathBarProperties: ({
2903
2765
  readonly type: string;
2904
2766
  }) => XmlComponent;
2905
2767
  //#endregion
2768
+ //#region src/file/paragraph/math/math-coerce.d.ts
2769
+ type MathJson = MathComponent | string | {
2770
+ readonly text: string;
2771
+ readonly properties?: MathRunPropertiesOptions;
2772
+ } | {
2773
+ readonly fraction: {
2774
+ readonly numerator: readonly MathJson[];
2775
+ readonly denominator: readonly MathJson[];
2776
+ readonly fractionType?: keyof typeof FractionType;
2777
+ };
2778
+ } | {
2779
+ readonly superScript: {
2780
+ readonly children: readonly MathJson[];
2781
+ readonly superScript: readonly MathJson[];
2782
+ };
2783
+ } | {
2784
+ readonly subScript: {
2785
+ readonly children: readonly MathJson[];
2786
+ readonly subScript: readonly MathJson[];
2787
+ };
2788
+ } | {
2789
+ readonly subSuperScript: {
2790
+ readonly children: readonly MathJson[];
2791
+ readonly subScript: readonly MathJson[];
2792
+ readonly superScript: readonly MathJson[];
2793
+ };
2794
+ } | {
2795
+ readonly radical: {
2796
+ readonly children: readonly MathJson[];
2797
+ readonly degree?: readonly MathJson[];
2798
+ };
2799
+ } | {
2800
+ readonly sum: {
2801
+ readonly children: readonly MathJson[];
2802
+ readonly subScript?: readonly MathJson[];
2803
+ readonly superScript?: readonly MathJson[];
2804
+ };
2805
+ } | {
2806
+ readonly integral: {
2807
+ readonly children: readonly MathJson[];
2808
+ readonly subScript?: readonly MathJson[];
2809
+ readonly superScript?: readonly MathJson[];
2810
+ };
2811
+ } | {
2812
+ readonly limitLower: {
2813
+ readonly children: readonly MathJson[];
2814
+ readonly limit: readonly MathJson[];
2815
+ readonly properties?: MathLimitLowPropertiesOptions;
2816
+ };
2817
+ } | {
2818
+ readonly limitUpper: {
2819
+ readonly children: readonly MathJson[];
2820
+ readonly limit: readonly MathJson[];
2821
+ readonly properties?: MathLimitUpperPropertiesOptions;
2822
+ };
2823
+ } | {
2824
+ readonly function: {
2825
+ readonly children: readonly MathJson[];
2826
+ readonly name: readonly MathJson[];
2827
+ readonly properties?: MathFunctionPropertiesOptions;
2828
+ };
2829
+ } | {
2830
+ readonly matrix: {
2831
+ readonly rows: readonly (readonly MathJson[])[];
2832
+ readonly properties?: MathMatrixPropertiesOptions;
2833
+ };
2834
+ } | {
2835
+ readonly roundBrackets: readonly MathJson[] | {
2836
+ readonly children: readonly MathJson[];
2837
+ };
2838
+ } | {
2839
+ readonly curlyBrackets: readonly MathJson[] | {
2840
+ readonly children: readonly MathJson[];
2841
+ };
2842
+ } | {
2843
+ readonly angledBrackets: readonly MathJson[] | {
2844
+ readonly children: readonly MathJson[];
2845
+ };
2846
+ } | {
2847
+ readonly squareBrackets: readonly MathJson[] | {
2848
+ readonly children: readonly MathJson[];
2849
+ };
2850
+ } | {
2851
+ readonly borderBox: {
2852
+ readonly children: readonly MathJson[];
2853
+ readonly properties?: MathBorderBoxPropertiesOptions;
2854
+ };
2855
+ } | {
2856
+ readonly box: {
2857
+ readonly children: readonly MathJson[];
2858
+ readonly properties?: MathBoxPropertiesOptions;
2859
+ };
2860
+ } | {
2861
+ readonly groupChr: {
2862
+ readonly children: readonly MathJson[];
2863
+ readonly properties?: MathGroupChrPropertiesOptions;
2864
+ };
2865
+ } | {
2866
+ readonly phant: {
2867
+ readonly children: readonly MathJson[];
2868
+ readonly properties?: MathPhantPropertiesOptions;
2869
+ };
2870
+ } | {
2871
+ readonly eqArr: {
2872
+ readonly rows: readonly (readonly MathJson[])[];
2873
+ readonly properties?: MathEqArrPropertiesOptions;
2874
+ };
2875
+ } | {
2876
+ readonly accent: {
2877
+ readonly children: readonly MathJson[];
2878
+ readonly accentCharacter?: string;
2879
+ };
2880
+ } | {
2881
+ readonly bar: {
2882
+ readonly children: readonly MathJson[];
2883
+ readonly type: "top" | "bot";
2884
+ };
2885
+ };
2886
+ declare function coerceMathJson(value: MathJson): XmlComponent;
2887
+ //#endregion
2906
2888
  //#region src/file/paragraph/math/math.d.ts
2907
2889
  interface IMathOptions {
2908
2890
  readonly children: readonly MathComponent[];
@@ -2911,6 +2893,9 @@ declare class Math extends XmlComponent {
2911
2893
  constructor(options: IMathOptions);
2912
2894
  }
2913
2895
  //#endregion
2896
+ //#region src/file/paragraph/math/math-parse.d.ts
2897
+ declare function parseMathChildren(el: Element): MathJson[];
2898
+ //#endregion
2914
2899
  //#region src/file/paragraph/math/math-para.d.ts
2915
2900
  type MathJustification = "left" | "right" | "center" | "centerGroup";
2916
2901
  interface IMathParagraphOptions {
@@ -2945,437 +2930,142 @@ interface MathPropertiesOptions {
2945
2930
  }
2946
2931
  declare const createMathProperties: (options: MathPropertiesOptions) => XmlComponent;
2947
2932
  //#endregion
2948
- //#region src/file/paragraph/paragraph.d.ts
2949
- type ParagraphChild = TextRun | ImageRun | SymbolRun | Bookmark | PageBreak | ColumnBreak | SequentialIdentifier | FootnoteReferenceRun | InternalHyperlink | ExternalHyperlink | InsertedTextRun | DeletedTextRun | Math | SimpleField | SimpleMailMergeField | ChartRun | SmartArtRun | Comments | Comment | CommentRangeStart | CommentRangeEnd | CommentReference | CheckBox | StructuredDocumentTagRun | MoveFromRangeStart | MoveFromRangeEnd | MoveToRangeStart | MoveToRangeEnd | MovedFromTextRun | MovedToTextRun | PermStart | PermEnd | Dir | Bdo | AltChunk | SubDoc;
2950
- interface IChartChild {
2951
- readonly chart: IChartOptions;
2952
- }
2953
- interface ISmartArtChild {
2954
- readonly smartArt: ISmartArtOptions;
2933
+ //#region src/file/paragraph/formatting/border.d.ts
2934
+ interface IBordersOptions {
2935
+ readonly top?: IBorderOptions;
2936
+ readonly bottom?: IBorderOptions;
2937
+ readonly left?: IBorderOptions;
2938
+ readonly right?: IBorderOptions;
2939
+ readonly between?: IBorderOptions;
2955
2940
  }
2956
- interface IImageChild {
2957
- readonly image: IImageOptions;
2941
+ declare class Border extends IgnoreIfEmptyXmlComponent {
2942
+ constructor(options: IBordersOptions);
2958
2943
  }
2959
- type IParagraphOptions = {
2960
- readonly text?: string;
2961
- readonly children?: readonly (ParagraphChild | IRunOptions | IChartChild | ISmartArtChild | IImageChild | string)[];
2962
- } & IParagraphPropertiesOptions;
2963
- declare class Paragraph extends BaseXmlComponent implements FileChild {
2964
- readonly fileChild: symbol;
2965
- private readonly options;
2966
- private frontRuns;
2967
- private sectionProperties?;
2968
- constructor(options: string | IParagraphOptions);
2969
- prepForXml(context: IContext): IXmlableObject | undefined;
2970
- addRunToFront(run: Run): Paragraph;
2971
- setSectionProperties(section: SectionProperties): void;
2944
+ declare class ThematicBreak extends XmlComponent {
2945
+ constructor();
2972
2946
  }
2973
2947
  //#endregion
2974
- //#region src/file/textbox/types.d.ts
2975
- type LengthUnit = "auto" | number | values_d_exports.Percentage | values_d_exports.UniversalMeasure | values_d_exports.RelativeMeasure;
2976
- //#endregion
2977
- //#region src/file/textbox/shape/shape.d.ts
2978
- interface VmlShapeStyle {
2979
- readonly flip?: "x" | "y" | "xy" | "yx";
2980
- readonly height?: LengthUnit;
2981
- readonly left?: LengthUnit;
2982
- readonly marginBottom?: LengthUnit;
2983
- readonly marginLeft?: LengthUnit;
2984
- readonly marginRight?: LengthUnit;
2985
- readonly marginTop?: LengthUnit;
2986
- readonly positionHorizontal?: "absolute" | "left" | "center" | "right" | "inside" | "outside";
2987
- readonly positionHorizontalRelative?: "margin" | "page" | "text" | "char";
2988
- readonly positionVertical?: "absolute" | "left" | "center" | "right" | "inside" | "outside";
2989
- readonly positionVerticalRelative?: "margin" | "page" | "text" | "char";
2990
- readonly wrapDistanceBottom?: number;
2991
- readonly wrapDistanceLeft?: number;
2992
- readonly wrapDistanceRight?: number;
2993
- readonly wrapDistanceTop?: number;
2994
- readonly wrapEdited?: boolean;
2995
- readonly wrapStyle?: "square" | "none";
2996
- readonly position?: "static" | "absolute" | "relative";
2997
- readonly rotation?: number;
2998
- readonly top?: LengthUnit;
2999
- readonly visibility?: "hidden" | "inherit";
3000
- readonly width: LengthUnit;
3001
- readonly zIndex?: "auto" | number;
3002
- }
3003
- //#endregion
3004
- //#region src/file/section-child.d.ts
3005
- type SectionChild = BaseXmlComponent | {
3006
- paragraph: string | IParagraphOptions;
3007
- } | {
3008
- table: ITableOptions;
3009
- } | {
3010
- toc: ITableOfContentsOptions & {
3011
- readonly alias?: string;
3012
- };
3013
- } | {
3014
- textbox: Omit<IParagraphOptions, "style" | "children"> & {
3015
- readonly style?: VmlShapeStyle;
3016
- readonly children?: readonly SectionChild[];
3017
- };
3018
- } | {
3019
- sdt: {
3020
- readonly properties: SdtPropertiesOptions;
3021
- readonly children?: readonly SectionChild[];
3022
- };
3023
- } | {
3024
- altChunk: IAltChunkOptions;
3025
- } | {
3026
- subDoc: ISubDocOptions;
3027
- };
3028
- //#endregion
3029
- //#region src/file/table/table-properties/table-cell-margin.d.ts
3030
- interface ITableCellMarginOptions {
3031
- readonly marginUnitType?: (typeof WidthType)[keyof typeof WidthType];
3032
- readonly top?: number;
3033
- readonly bottom?: number;
3034
- readonly left?: number;
3035
- readonly right?: number;
2948
+ //#region src/file/paragraph/formatting/cnf-style.d.ts
2949
+ interface ICnfStyleOptions {
2950
+ readonly firstRow?: boolean;
2951
+ readonly lastRow?: boolean;
2952
+ readonly firstColumn?: boolean;
2953
+ readonly lastColumn?: boolean;
2954
+ readonly oddVBand?: boolean;
2955
+ readonly evenVBand?: boolean;
2956
+ readonly oddHBand?: boolean;
2957
+ readonly evenHBand?: boolean;
2958
+ readonly firstRowFirstColumn?: boolean;
2959
+ readonly firstRowLastColumn?: boolean;
2960
+ readonly lastRowFirstColumn?: boolean;
2961
+ readonly lastRowLastColumn?: boolean;
3036
2962
  }
2963
+ declare const createCnfStyle: (options: ICnfStyleOptions) => XmlComponent;
3037
2964
  //#endregion
3038
- //#region src/file/table/table-cell-spacing.d.ts
3039
- declare const CellSpacingType: {
3040
- readonly DXA: "dxa";
3041
- readonly NIL: "nil";
3042
- };
3043
- interface ITableCellSpacingProperties {
3044
- readonly value: number | values_d_exports.Percentage | values_d_exports.UniversalMeasure;
3045
- readonly type?: (typeof CellSpacingType)[keyof typeof CellSpacingType];
2965
+ //#region src/file/paragraph/formatting/indent.d.ts
2966
+ interface IIndentAttributesProperties {
2967
+ readonly start?: number | values_d_exports.UniversalMeasure;
2968
+ readonly startChars?: number;
2969
+ readonly end?: number | values_d_exports.UniversalMeasure;
2970
+ readonly endChars?: number;
2971
+ readonly left?: number | values_d_exports.UniversalMeasure;
2972
+ readonly leftChars?: number;
2973
+ readonly right?: number | values_d_exports.UniversalMeasure;
2974
+ readonly rightChars?: number;
2975
+ readonly hanging?: number | values_d_exports.PositiveUniversalMeasure;
2976
+ readonly hangingChars?: number;
2977
+ readonly firstLine?: number | values_d_exports.PositiveUniversalMeasure;
2978
+ readonly firstLineChars?: number;
3046
2979
  }
2980
+ declare const createIndent: ({
2981
+ start,
2982
+ startChars,
2983
+ end,
2984
+ endChars,
2985
+ left,
2986
+ leftChars,
2987
+ right,
2988
+ rightChars,
2989
+ hanging,
2990
+ hangingChars,
2991
+ firstLine,
2992
+ firstLineChars
2993
+ }: IIndentAttributesProperties) => XmlComponent;
3047
2994
  //#endregion
3048
- //#region src/file/table/table-width.d.ts
3049
- declare const WidthType: {
2995
+ //#region src/file/paragraph/formatting/spacing.d.ts
2996
+ declare const LineRuleType: {
2997
+ readonly AT_LEAST: "atLeast";
2998
+ readonly EXACTLY: "exactly";
2999
+ readonly EXACT: "exact";
3050
3000
  readonly AUTO: "auto";
3051
- readonly DXA: "dxa";
3052
- readonly NIL: "nil";
3053
- readonly PERCENTAGE: "pct";
3054
3001
  };
3055
- interface ITableWidthProperties {
3056
- readonly size: number | values_d_exports.Percentage | values_d_exports.UniversalMeasure;
3057
- readonly type?: (typeof WidthType)[keyof typeof WidthType];
3002
+ interface ISpacingProperties {
3003
+ readonly after?: number;
3004
+ readonly before?: number;
3005
+ readonly line?: number;
3006
+ readonly lineRule?: (typeof LineRuleType)[keyof typeof LineRuleType];
3007
+ readonly beforeAutoSpacing?: boolean;
3008
+ readonly afterAutoSpacing?: boolean;
3009
+ readonly beforeLines?: number;
3010
+ readonly afterLines?: number;
3058
3011
  }
3059
- declare const createTableWidthElement: (name: string, {
3060
- type,
3061
- size
3062
- }: ITableWidthProperties) => XmlComponent;
3012
+ declare const createSpacing: ({
3013
+ after,
3014
+ before,
3015
+ line,
3016
+ lineRule,
3017
+ beforeAutoSpacing,
3018
+ afterAutoSpacing,
3019
+ beforeLines,
3020
+ afterLines
3021
+ }: ISpacingProperties) => XmlComponent;
3063
3022
  //#endregion
3064
- //#region src/file/table/table-row/table-row-height.d.ts
3065
- declare const HeightRule: {
3066
- readonly AUTO: "auto";
3067
- readonly ATLEAST: "atLeast";
3068
- readonly EXACT: "exact";
3023
+ //#region src/file/paragraph/formatting/style.d.ts
3024
+ declare const HeadingLevel: {
3025
+ readonly HEADING_1: "Heading1";
3026
+ readonly HEADING_2: "Heading2";
3027
+ readonly HEADING_3: "Heading3";
3028
+ readonly HEADING_4: "Heading4";
3029
+ readonly HEADING_5: "Heading5";
3030
+ readonly HEADING_6: "Heading6";
3031
+ readonly TITLE: "Title";
3069
3032
  };
3070
- declare const createTableRowHeight: (value: number | values_d_exports.PositiveUniversalMeasure, rule: (typeof HeightRule)[keyof typeof HeightRule]) => XmlComponent;
3033
+ declare const createParagraphStyle: (styleId: string) => XmlComponent;
3071
3034
  //#endregion
3072
- //#region src/file/table/table-row/table-row-properties.d.ts
3073
- interface CnfStyleOptions {
3074
- readonly val: string;
3075
- readonly changed?: boolean;
3076
- }
3077
- interface ITableRowPropertiesOptionsBase {
3078
- readonly cnfStyle?: CnfStyleOptions;
3079
- readonly cantSplit?: boolean;
3080
- readonly tableHeader?: boolean;
3081
- readonly height?: {
3082
- readonly value: number | values_d_exports.PositiveUniversalMeasure;
3083
- readonly rule: (typeof HeightRule)[keyof typeof HeightRule];
3084
- };
3085
- readonly cellSpacing?: ITableCellSpacingProperties;
3086
- readonly divId?: number;
3087
- readonly gridBefore?: number;
3088
- readonly gridAfter?: number;
3089
- readonly widthBefore?: ITableWidthProperties;
3090
- readonly widthAfter?: ITableWidthProperties;
3091
- readonly rowAlignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
3092
- readonly hidden?: boolean;
3035
+ //#region src/file/paragraph/formatting/tab-stop.d.ts
3036
+ interface TabStopDefinition {
3037
+ readonly type: (typeof TabStopType)[keyof typeof TabStopType];
3038
+ readonly position: number | (typeof TabStopPosition)[keyof typeof TabStopPosition];
3039
+ readonly leader?: (typeof LeaderType)[keyof typeof LeaderType];
3093
3040
  }
3094
- type ITableRowPropertiesOptions = ITableRowPropertiesOptionsBase & {
3095
- readonly insertion?: IChangedAttributesProperties;
3096
- readonly deletion?: IChangedAttributesProperties;
3097
- readonly revision?: ITableRowPropertiesChangeOptions;
3098
- readonly includeIfEmpty?: boolean;
3041
+ declare const TabStopType: {
3042
+ readonly LEFT: "left";
3043
+ readonly RIGHT: "right";
3044
+ readonly CENTER: "center";
3045
+ readonly BAR: "bar";
3046
+ readonly CLEAR: "clear";
3047
+ readonly DECIMAL: "decimal";
3048
+ readonly END: "end";
3049
+ readonly NUM: "num";
3050
+ readonly START: "start";
3099
3051
  };
3100
- type ITableRowPropertiesChangeOptions = ITableRowPropertiesOptionsBase & IChangedAttributesProperties;
3101
- declare class TableRowProperties extends IgnoreIfEmptyXmlComponent {
3102
- constructor(options: ITableRowPropertiesOptions);
3103
- }
3104
- declare class TableRowPropertiesChange extends XmlComponent {
3105
- constructor(options: ITableRowPropertiesChangeOptions);
3106
- }
3107
- //#endregion
3108
- //#region src/file/table/table-cell/table-cell-components.d.ts
3109
- interface ITableCellBorders {
3110
- readonly top?: IBorderOptions;
3111
- readonly start?: IBorderOptions;
3112
- readonly left?: IBorderOptions;
3113
- readonly bottom?: IBorderOptions;
3114
- readonly end?: IBorderOptions;
3115
- readonly right?: IBorderOptions;
3116
- }
3117
- declare class TableCellBorders extends IgnoreIfEmptyXmlComponent {
3118
- constructor(options: ITableCellBorders);
3119
- }
3120
- declare class GridSpan extends XmlComponent {
3121
- constructor(value: number);
3122
- }
3123
- declare const VerticalMergeType: {
3124
- readonly CONTINUE: "continue";
3125
- readonly RESTART: "restart";
3052
+ declare const LeaderType: {
3053
+ readonly DOT: "dot";
3054
+ readonly HEAVY: "heavy";
3055
+ readonly HYPHEN: "hyphen";
3056
+ readonly MIDDLE_DOT: "middleDot";
3057
+ readonly NONE: "none";
3058
+ readonly UNDERSCORE: "underscore";
3126
3059
  };
3127
- declare class VerticalMerge extends XmlComponent {
3128
- constructor(value: (typeof VerticalMergeType)[keyof typeof VerticalMergeType]);
3129
- }
3130
- declare const TextDirection: {
3131
- readonly BOTTOM_TO_TOP_LEFT_TO_RIGHT: "btLr";
3132
- readonly LEFT_TO_RIGHT_TOP_TO_BOTTOM: "lrTb";
3133
- readonly TOP_TO_BOTTOM_RIGHT_TO_LEFT: "tbRl";
3060
+ declare const TabStopPosition: {
3061
+ readonly MAX: 9026;
3134
3062
  };
3135
- declare class TDirection extends XmlComponent {
3136
- constructor(value: (typeof TextDirection)[keyof typeof TextDirection]);
3137
- }
3138
- //#endregion
3139
- //#region src/file/table/table-cell/table-cell-properties.d.ts
3140
- interface ITableCellPropertiesOptionsBase {
3141
- readonly cnfStyle?: CnfStyleOptions;
3142
- readonly shading?: IShadingAttributesProperties;
3143
- readonly margins?: ITableCellMarginOptions;
3144
- readonly verticalAlign?: TableVerticalAlign;
3145
- readonly textDirection?: (typeof TextDirection)[keyof typeof TextDirection];
3146
- readonly verticalMerge?: (typeof VerticalMergeType)[keyof typeof VerticalMergeType];
3147
- readonly width?: ITableWidthProperties;
3148
- readonly columnSpan?: number;
3149
- readonly rowSpan?: number;
3150
- readonly borders?: ITableCellBorders;
3151
- readonly horizontalMerge?: "continue" | "restart";
3152
- readonly noWrap?: boolean;
3153
- readonly fitText?: boolean;
3154
- readonly hideMark?: boolean;
3155
- readonly headers?: string[];
3156
- readonly insertion?: IChangedAttributesProperties;
3157
- readonly deletion?: IChangedAttributesProperties;
3158
- readonly cellMerge?: ICellMergeAttributes;
3159
- }
3160
- type ITableCellPropertiesOptions = {
3161
- readonly revision?: ITableCellPropertiesChangeOptions;
3162
- readonly includeIfEmpty?: boolean;
3163
- } & ITableCellPropertiesOptionsBase;
3164
- type ITableCellPropertiesChangeOptions = ITableCellPropertiesOptionsBase & IChangedAttributesProperties;
3165
- //#endregion
3166
- //#region src/file/table/table-cell/table-cell.d.ts
3167
- type ITableCellOptions = {
3168
- readonly children: readonly (SectionChild | StructuredDocumentTagCell)[];
3169
- } & ITableCellPropertiesOptions;
3170
- declare class TableCell extends BaseXmlComponent {
3171
- readonly options: ITableCellOptions;
3172
- constructor(options: ITableCellOptions);
3173
- prepForXml(context: IContext): IXmlableObject | undefined;
3174
- }
3175
- //#endregion
3176
- //#region src/file/sdt/sdt-row.d.ts
3177
- interface ISdtRowOptions {
3178
- readonly properties: SdtPropertiesOptions;
3179
- readonly children?: readonly TableRow[];
3180
- }
3181
- declare class StructuredDocumentTagRow extends XmlComponent {
3182
- private readonly rows;
3183
- constructor(options: ISdtRowOptions);
3184
- get CellCount(): number;
3185
- get cells(): readonly TableCell[];
3186
- addCellToColumnIndex(cell: TableCell, columnIndex: number): void;
3187
- }
3188
- //#endregion
3189
- //#region src/file/table/grid.d.ts
3190
- interface ITableGridChangeOptions {
3191
- readonly id: number;
3192
- readonly columnWidths: readonly number[] | readonly values_d_exports.PositiveUniversalMeasure[];
3193
- }
3194
- //#endregion
3195
- //#region src/file/table/table-properties/table-borders.d.ts
3196
- interface ITableBordersOptions {
3197
- readonly top?: IBorderOptions;
3198
- readonly bottom?: IBorderOptions;
3199
- readonly left?: IBorderOptions;
3200
- readonly right?: IBorderOptions;
3201
- readonly insideHorizontal?: IBorderOptions;
3202
- readonly insideVertical?: IBorderOptions;
3203
- }
3204
- declare class TableBorders extends XmlComponent {
3205
- static readonly NONE: ITableBordersOptions;
3206
- constructor(options: ITableBordersOptions);
3207
- }
3208
- //#endregion
3209
- //#region src/file/table/table-properties/table-float-properties.d.ts
3210
- declare const TableAnchorType: {
3211
- readonly MARGIN: "margin";
3212
- readonly PAGE: "page";
3213
- readonly TEXT: "text";
3214
- };
3215
- declare const RelativeHorizontalPosition: {
3216
- readonly CENTER: "center";
3217
- readonly INSIDE: "inside";
3218
- readonly LEFT: "left";
3219
- readonly OUTSIDE: "outside";
3220
- readonly RIGHT: "right";
3221
- };
3222
- declare const RelativeVerticalPosition: {
3223
- readonly BOTTOM: "bottom";
3224
- readonly CENTER: "center";
3225
- readonly INLINE: "inline";
3226
- readonly INSIDE: "inside";
3227
- readonly OUTSIDE: "outside";
3228
- readonly TOP: "top";
3229
- };
3230
- declare const OverlapType: {
3231
- readonly NEVER: "never";
3232
- readonly OVERLAP: "overlap";
3233
- };
3234
- interface ITableFloatOptions {
3235
- readonly horizontalAnchor?: (typeof TableAnchorType)[keyof typeof TableAnchorType];
3236
- readonly absoluteHorizontalPosition?: number | values_d_exports.UniversalMeasure;
3237
- readonly relativeHorizontalPosition?: (typeof RelativeHorizontalPosition)[keyof typeof RelativeHorizontalPosition];
3238
- readonly verticalAnchor?: (typeof TableAnchorType)[keyof typeof TableAnchorType];
3239
- readonly absoluteVerticalPosition?: number | values_d_exports.UniversalMeasure;
3240
- readonly relativeVerticalPosition?: (typeof RelativeVerticalPosition)[keyof typeof RelativeVerticalPosition];
3241
- readonly bottomFromText?: number | values_d_exports.PositiveUniversalMeasure;
3242
- readonly topFromText?: number | values_d_exports.PositiveUniversalMeasure;
3243
- readonly leftFromText?: number | values_d_exports.PositiveUniversalMeasure;
3244
- readonly rightFromText?: number | values_d_exports.PositiveUniversalMeasure;
3245
- readonly overlap?: (typeof OverlapType)[keyof typeof OverlapType];
3246
- }
3247
- declare const createTableFloatProperties: ({
3248
- horizontalAnchor,
3249
- verticalAnchor,
3250
- absoluteHorizontalPosition,
3251
- relativeHorizontalPosition,
3252
- absoluteVerticalPosition,
3253
- relativeVerticalPosition,
3254
- bottomFromText,
3255
- topFromText,
3256
- leftFromText,
3257
- rightFromText
3258
- }: ITableFloatOptions) => XmlComponent;
3259
- declare const createTableOverlap: (overlap: (typeof OverlapType)[keyof typeof OverlapType]) => XmlComponent;
3260
- //#endregion
3261
- //#region src/file/table/table-properties/table-layout.d.ts
3262
- declare const TableLayoutType: {
3263
- readonly AUTOFIT: "autofit";
3264
- readonly FIXED: "fixed";
3265
- };
3266
- declare const createTableLayout: (type: (typeof TableLayoutType)[keyof typeof TableLayoutType]) => XmlComponent;
3267
- //#endregion
3268
- //#region src/file/table/table-properties/table-look.d.ts
3269
- interface ITableLookOptions {
3270
- readonly firstRow?: boolean;
3271
- readonly lastRow?: boolean;
3272
- readonly firstColumn?: boolean;
3273
- readonly lastColumn?: boolean;
3274
- readonly noHBand?: boolean;
3275
- readonly noVBand?: boolean;
3276
- }
3277
- declare const createTableLook: ({
3278
- firstRow,
3279
- lastRow,
3280
- firstColumn,
3281
- lastColumn,
3282
- noHBand,
3283
- noVBand
3284
- }: ITableLookOptions) => XmlComponent;
3285
- //#endregion
3286
- //#region src/file/table/table-properties/table-properties.d.ts
3287
- interface ITablePropertiesOptionsBase {
3288
- readonly width?: ITableWidthProperties;
3289
- readonly indent?: ITableWidthProperties;
3290
- readonly layout?: (typeof TableLayoutType)[keyof typeof TableLayoutType];
3291
- readonly borders?: ITableBordersOptions;
3292
- readonly float?: ITableFloatOptions;
3293
- readonly shading?: IShadingAttributesProperties;
3294
- readonly style?: string;
3295
- readonly alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
3296
- readonly cellMargin?: ITableCellMarginOptions;
3297
- readonly visuallyRightToLeft?: boolean;
3298
- readonly tableLook?: ITableLookOptions;
3299
- readonly cellSpacing?: ITableCellSpacingProperties;
3300
- readonly styleRowBandSize?: number;
3301
- readonly styleColBandSize?: number;
3302
- readonly caption?: string;
3303
- readonly description?: string;
3304
- }
3305
- type ITablePropertiesChangeOptions = ITablePropertiesOptions & IChangedAttributesProperties;
3306
- type ITablePropertiesOptions = {
3307
- readonly revision?: ITablePropertiesChangeOptions;
3308
- readonly includeIfEmpty?: boolean;
3309
- } & ITablePropertiesOptionsBase;
3310
- declare class TableProperties extends IgnoreIfEmptyXmlComponent {
3311
- constructor(options: ITablePropertiesOptions);
3312
- }
3313
- //#endregion
3314
- //#region src/file/table/table-properties/table-property-exceptions.d.ts
3315
- interface ITablePropertyExOptions {
3316
- readonly width?: ITableWidthProperties;
3317
- readonly indent?: ITableWidthProperties;
3318
- readonly layout?: (typeof TableLayoutType)[keyof typeof TableLayoutType];
3319
- readonly borders?: ITableBordersOptions;
3320
- readonly shading?: IShadingAttributesProperties;
3321
- readonly alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
3322
- readonly cellMargin?: ITableCellMarginOptions;
3323
- readonly tableLook?: ITableLookOptions;
3324
- readonly cellSpacing?: ITableCellSpacingProperties;
3325
- }
3326
- declare class TablePropertyExceptions extends IgnoreIfEmptyXmlComponent {
3327
- constructor(options: ITablePropertyExOptions);
3328
- }
3329
- //#endregion
3330
- //#region src/file/table/table-row/table-row.d.ts
3331
- type ITableRowOptions = {
3332
- readonly children: readonly (TableCell | StructuredDocumentTagCell | StructuredDocumentTagRow | ITableCellOptions)[];
3333
- readonly propertyExceptions?: ITablePropertyExOptions;
3334
- } & ITableRowPropertiesOptions;
3335
- declare class TableRow extends BaseXmlComponent {
3336
- private readonly options;
3337
- private extraCells;
3338
- private readonly coercedChildren;
3339
- constructor(options: ITableRowOptions);
3340
- get CellCount(): number;
3341
- get cells(): readonly TableCell[];
3342
- addCellToColumnIndex(cell: TableCell, columnIndex: number): void;
3343
- rootIndexToColumnIndex(rootIndex: number): number;
3344
- columnIndexToRootIndex(columnIndex: number, allowEndNewCell?: boolean): number;
3345
- prepForXml(context: IContext): IXmlableObject | undefined;
3346
- private findInsertIndex;
3347
- }
3348
- //#endregion
3349
- //#region src/file/table/table.d.ts
3350
- interface ITableOptions {
3351
- readonly rows: readonly (TableRow | StructuredDocumentTagRow | ITableRowOptions)[];
3352
- readonly width?: ITableWidthProperties;
3353
- readonly columnWidths?: readonly number[];
3354
- readonly columnWidthsRevision?: ITableGridChangeOptions;
3355
- readonly margins?: ITableCellMarginOptions;
3356
- readonly indent?: ITableWidthProperties;
3357
- readonly float?: ITableFloatOptions;
3358
- readonly layout?: (typeof TableLayoutType)[keyof typeof TableLayoutType];
3359
- readonly style?: string;
3360
- readonly borders?: ITableBordersOptions;
3361
- readonly alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
3362
- readonly visuallyRightToLeft?: boolean;
3363
- readonly tableLook?: ITableLookOptions;
3364
- readonly cellSpacing?: ITableCellSpacingProperties;
3365
- readonly styleRowBandSize?: number;
3366
- readonly styleColBandSize?: number;
3367
- readonly caption?: string;
3368
- readonly description?: string;
3369
- readonly revision?: ITablePropertiesChangeOptions;
3370
- }
3371
- declare class Table extends BaseXmlComponent implements FileChild {
3372
- readonly fileChild: symbol;
3373
- private readonly options;
3374
- private readonly columnWidths;
3375
- private readonly rows;
3376
- constructor(options: ITableOptions);
3377
- prepForXml(context: IContext): IXmlableObject | undefined;
3378
- }
3063
+ declare const createTabStopItem: ({
3064
+ type,
3065
+ position,
3066
+ leader
3067
+ }: TabStopDefinition) => XmlComponent;
3068
+ declare const createTabStop: (tabDefinitions: readonly TabStopDefinition[]) => XmlComponent;
3379
3069
  //#endregion
3380
3070
  //#region src/file/paragraph/frame/frame-properties.d.ts
3381
3071
  declare const DropCapType: {
@@ -3512,6 +3202,466 @@ declare class ParagraphPropertiesChange extends XmlComponent {
3512
3202
  constructor(options: IParagraphPropertiesChangeOptions);
3513
3203
  }
3514
3204
  //#endregion
3205
+ //#region src/file/paragraph/paragraph.d.ts
3206
+ type Math$1 = InstanceType<typeof Math>;
3207
+ type ParagraphChild = TextRun | ImageRun | SymbolRun | Bookmark | PageBreak | ColumnBreak | SequentialIdentifier | FootnoteReferenceRun | InternalHyperlink | ExternalHyperlink | InsertedTextRun | DeletedTextRun | Math$1 | SimpleField | SimpleMailMergeField | ChartRun | SmartArtRun | Comments | Comment | CommentRangeStart | CommentRangeEnd | CommentReference | CheckBox | StructuredDocumentTagRun | MoveFromRangeStart | MoveFromRangeEnd | MoveToRangeStart | MoveToRangeEnd | MovedFromTextRun | MovedToTextRun | PermStart | PermEnd | Dir | Bdo | AltChunk | SubDoc;
3208
+ interface IChartChild {
3209
+ readonly chart: IChartOptions;
3210
+ }
3211
+ interface ISmartArtChild {
3212
+ readonly smartArt: ISmartArtOptions;
3213
+ }
3214
+ interface IImageChild {
3215
+ readonly image: IImageOptions;
3216
+ }
3217
+ interface IMathChild {
3218
+ readonly math: Omit<IMathOptions, "children"> & {
3219
+ readonly children?: readonly MathJson[];
3220
+ };
3221
+ }
3222
+ type IParagraphJsonChild = IChartChild | ISmartArtChild | IImageChild | IMathChild | {
3223
+ readonly symbolRun: ISymbolRunOptions;
3224
+ } | {
3225
+ readonly footnoteReference: number;
3226
+ } | {
3227
+ readonly endnoteReference: number;
3228
+ } | {
3229
+ readonly pageBreak: true;
3230
+ } | {
3231
+ readonly columnBreak: true;
3232
+ } | {
3233
+ readonly commentRangeStart: number;
3234
+ } | {
3235
+ readonly commentRangeEnd: number;
3236
+ } | {
3237
+ readonly commentReference: number;
3238
+ } | {
3239
+ readonly insertion: IRunOptions & IChangedAttributesProperties;
3240
+ } | {
3241
+ readonly deletion: IRunOptions & IChangedAttributesProperties;
3242
+ };
3243
+ type IParagraphOptions = {
3244
+ readonly text?: string;
3245
+ readonly children?: readonly (ParagraphChild | IRunOptions | IParagraphJsonChild | string)[];
3246
+ } & IParagraphPropertiesOptions;
3247
+ declare class Paragraph extends BaseXmlComponent implements FileChild {
3248
+ readonly fileChild: symbol;
3249
+ private readonly options;
3250
+ private frontRuns;
3251
+ private sectionProperties?;
3252
+ constructor(options: string | IParagraphOptions);
3253
+ prepForXml(context: IContext): IXmlableObject | undefined;
3254
+ addRunToFront(run: Run): Paragraph;
3255
+ setSectionProperties(section: SectionProperties): void;
3256
+ }
3257
+ //#endregion
3258
+ //#region src/file/paragraph/run/comment-run.d.ts
3259
+ interface ICommentOptions {
3260
+ readonly id: number;
3261
+ readonly children: readonly (FileChild | IParagraphOptions | string)[];
3262
+ readonly initials?: string;
3263
+ readonly author?: string;
3264
+ readonly date?: Date | string;
3265
+ }
3266
+ interface ICommentsOptions {
3267
+ readonly children: readonly ICommentOptions[];
3268
+ }
3269
+ declare class CommentRangeStart extends XmlComponent {
3270
+ constructor(id: number);
3271
+ }
3272
+ declare class CommentRangeEnd extends XmlComponent {
3273
+ constructor(id: number);
3274
+ }
3275
+ declare class CommentReference extends XmlComponent {
3276
+ constructor(id: number);
3277
+ }
3278
+ declare class Comment extends XmlComponent {
3279
+ constructor({
3280
+ id,
3281
+ initials,
3282
+ author,
3283
+ date,
3284
+ children
3285
+ }: ICommentOptions);
3286
+ }
3287
+ declare class Comments extends XmlComponent {
3288
+ private readonly relationships;
3289
+ constructor({
3290
+ children
3291
+ }: ICommentsOptions);
3292
+ get Relationships(): Relationships;
3293
+ }
3294
+ //#endregion
3295
+ //#region src/file/paragraph/run/positional-tab.d.ts
3296
+ declare const PositionalTabAlignment: {
3297
+ readonly LEFT: "left";
3298
+ readonly CENTER: "center";
3299
+ readonly RIGHT: "right";
3300
+ };
3301
+ declare const PositionalTabRelativeTo: {
3302
+ readonly MARGIN: "margin";
3303
+ readonly INDENT: "indent";
3304
+ };
3305
+ declare const PositionalTabLeader: {
3306
+ readonly NONE: "none";
3307
+ readonly DOT: "dot";
3308
+ readonly HYPHEN: "hyphen";
3309
+ readonly UNDERSCORE: "underscore";
3310
+ readonly MIDDLE_DOT: "middleDot";
3311
+ };
3312
+ interface PositionalTabOptions {
3313
+ readonly alignment: (typeof PositionalTabAlignment)[keyof typeof PositionalTabAlignment];
3314
+ readonly relativeTo: (typeof PositionalTabRelativeTo)[keyof typeof PositionalTabRelativeTo];
3315
+ readonly leader: (typeof PositionalTabLeader)[keyof typeof PositionalTabLeader];
3316
+ }
3317
+ declare class PositionalTab extends XmlComponent {
3318
+ constructor(options: PositionalTabOptions);
3319
+ }
3320
+ //#endregion
3321
+ //#region src/file/paragraph/run/ruby.d.ts
3322
+ declare const RubyAlign: {
3323
+ readonly CENTER: "center";
3324
+ readonly DISTRIBUTE_LETTER: "distributeLetter";
3325
+ readonly DISTRIBUTE_SPACE: "distributeSpace";
3326
+ readonly LEFT: "left";
3327
+ readonly RIGHT: "right";
3328
+ readonly RIGHT_VERTICAL: "rightVertical";
3329
+ };
3330
+ interface RubyOptions {
3331
+ readonly text: string;
3332
+ readonly base: string;
3333
+ readonly alignment?: keyof typeof RubyAlign;
3334
+ readonly fontSize?: number;
3335
+ readonly raise?: number;
3336
+ readonly baseFontSize?: number;
3337
+ readonly languageId?: string;
3338
+ readonly dirty?: boolean;
3339
+ }
3340
+ declare const createRuby: (options: RubyOptions) => XmlComponent;
3341
+ //#endregion
3342
+ //#region src/file/paragraph/run/form-field.d.ts
3343
+ declare const FormFieldTextType: {
3344
+ readonly REGULAR: "regular";
3345
+ readonly NUMBER: "number";
3346
+ readonly DATE: "date";
3347
+ readonly CURRENT_TIME: "currentTime";
3348
+ readonly CURRENT_DATE: "currentDate";
3349
+ readonly CALCULATED: "calculated";
3350
+ };
3351
+ interface CheckBoxOptions {
3352
+ readonly size?: number;
3353
+ readonly sizeAuto?: boolean;
3354
+ readonly default?: boolean;
3355
+ readonly checked?: boolean;
3356
+ }
3357
+ interface DropDownListOptions {
3358
+ readonly entries: readonly string[];
3359
+ readonly result?: number;
3360
+ readonly default?: number;
3361
+ }
3362
+ interface TextInputOptions {
3363
+ readonly type?: (typeof FormFieldTextType)[keyof typeof FormFieldTextType];
3364
+ readonly default?: string;
3365
+ readonly maxLength?: number;
3366
+ readonly format?: string;
3367
+ }
3368
+ interface FormFieldTextOptions {
3369
+ readonly type: "text" | "autoText";
3370
+ readonly value: string;
3371
+ }
3372
+ interface FormFieldCommonOptions {
3373
+ readonly name?: string;
3374
+ readonly label?: number;
3375
+ readonly tabIndex?: number;
3376
+ readonly enabled?: boolean;
3377
+ readonly calcOnExit?: boolean;
3378
+ readonly entryMacro?: string;
3379
+ readonly exitMacro?: string;
3380
+ readonly helpText?: FormFieldTextOptions;
3381
+ readonly statusText?: FormFieldTextOptions;
3382
+ }
3383
+ interface FormFieldOptions extends FormFieldCommonOptions {
3384
+ readonly checkBox?: CheckBoxOptions;
3385
+ readonly dropDownList?: DropDownListOptions;
3386
+ readonly textInput?: TextInputOptions;
3387
+ }
3388
+ declare const createFormFieldData: (options: FormFieldOptions) => XmlComponent;
3389
+ //#endregion
3390
+ //#region src/file/paragraph/run/break.d.ts
3391
+ declare const createBreak: (options?: {
3392
+ readonly clear?: "none" | "left" | "right" | "all";
3393
+ }) => XmlComponent;
3394
+ //#endregion
3395
+ //#region src/file/endnotes/endnote/run/reference-run.d.ts
3396
+ declare class EndnoteReferenceRunAttributes extends XmlAttributeComponent<{
3397
+ readonly id: number;
3398
+ }> {
3399
+ protected readonly xmlKeys: {
3400
+ id: string;
3401
+ };
3402
+ }
3403
+ declare class EndnoteIdReference extends XmlComponent {
3404
+ constructor(id: number);
3405
+ }
3406
+ declare class EndnoteReferenceRun extends Run {
3407
+ constructor(id: number);
3408
+ }
3409
+ //#endregion
3410
+ //#region src/file/document-wrapper.d.ts
3411
+ interface IViewWrapper {
3412
+ readonly View: Document | Footer$1 | Header$1 | FootNotes | Endnotes | XmlComponent;
3413
+ readonly Relationships: Relationships;
3414
+ }
3415
+ declare class DocumentWrapper implements IViewWrapper {
3416
+ private readonly document;
3417
+ private readonly relationships;
3418
+ constructor(options: IDocumentOptions);
3419
+ get View(): Document;
3420
+ get Relationships(): Relationships;
3421
+ }
3422
+ //#endregion
3423
+ //#region src/file/bibliography/bibliography.d.ts
3424
+ interface SourceTypeOptions {
3425
+ readonly type?: string;
3426
+ readonly title?: string;
3427
+ readonly author?: string;
3428
+ readonly year?: string;
3429
+ readonly month?: string;
3430
+ readonly day?: string;
3431
+ readonly bookTitle?: string;
3432
+ readonly journal?: string;
3433
+ readonly volume?: string;
3434
+ readonly issue?: string;
3435
+ readonly pages?: string;
3436
+ readonly publisher?: string;
3437
+ readonly city?: string;
3438
+ readonly url?: string;
3439
+ readonly edition?: string;
3440
+ readonly institution?: string;
3441
+ }
3442
+ interface IBibliographyOptions {
3443
+ readonly sources: readonly SourceTypeOptions[];
3444
+ readonly styleName?: string;
3445
+ }
3446
+ declare class Bibliography extends XmlComponent {
3447
+ private readonly relationships;
3448
+ constructor(options: IBibliographyOptions);
3449
+ get Relationships(): Relationships;
3450
+ }
3451
+ //#endregion
3452
+ //#region src/file/content-types/content-types.d.ts
3453
+ declare class ContentTypes extends XmlComponent {
3454
+ constructor();
3455
+ addBibliography(): void;
3456
+ addFooter(index: number): void;
3457
+ addHeader(index: number): void;
3458
+ addChart(index: number): void;
3459
+ addDiagramData(index: number): void;
3460
+ addDiagramLayout(index: number): void;
3461
+ addDiagramStyle(index: number): void;
3462
+ addDiagramColors(index: number): void;
3463
+ addDiagramDrawing(index: number): void;
3464
+ addAltChunk(path: string, contentType: string, _extension: string): void;
3465
+ addSubDoc(path: string): void;
3466
+ }
3467
+ //#endregion
3468
+ //#region src/file/settings/compatibility.d.ts
3469
+ interface ICompatibilityOptions {
3470
+ readonly version?: number;
3471
+ readonly useSingleBorderforContiguousCells?: boolean;
3472
+ readonly wordPerfectJustification?: boolean;
3473
+ readonly noTabStopForHangingIndent?: boolean;
3474
+ readonly noLeading?: boolean;
3475
+ readonly spaceForUnderline?: boolean;
3476
+ readonly noColumnBalance?: boolean;
3477
+ readonly balanceSingleByteDoubleByteWidth?: boolean;
3478
+ readonly noExtraLineSpacing?: boolean;
3479
+ readonly doNotLeaveBackslashAlone?: boolean;
3480
+ readonly underlineTrailingSpaces?: boolean;
3481
+ readonly doNotExpandShiftReturn?: boolean;
3482
+ readonly spacingInWholePoints?: boolean;
3483
+ readonly lineWrapLikeWord6?: boolean;
3484
+ readonly printBodyTextBeforeHeader?: boolean;
3485
+ readonly printColorsBlack?: boolean;
3486
+ readonly spaceWidth?: boolean;
3487
+ readonly showBreaksInFrames?: boolean;
3488
+ readonly subFontBySize?: boolean;
3489
+ readonly suppressBottomSpacing?: boolean;
3490
+ readonly suppressTopSpacing?: boolean;
3491
+ readonly suppressSpacingAtTopOfPage?: boolean;
3492
+ readonly suppressTopSpacingWP?: boolean;
3493
+ readonly suppressSpBfAfterPgBrk?: boolean;
3494
+ readonly swapBordersFacingPages?: boolean;
3495
+ readonly convertMailMergeEsc?: boolean;
3496
+ readonly truncateFontHeightsLikeWP6?: boolean;
3497
+ readonly macWordSmallCaps?: boolean;
3498
+ readonly usePrinterMetrics?: boolean;
3499
+ readonly doNotSuppressParagraphBorders?: boolean;
3500
+ readonly wrapTrailSpaces?: boolean;
3501
+ readonly footnoteLayoutLikeWW8?: boolean;
3502
+ readonly shapeLayoutLikeWW8?: boolean;
3503
+ readonly alignTablesRowByRow?: boolean;
3504
+ readonly forgetLastTabAlignment?: boolean;
3505
+ readonly adjustLineHeightInTable?: boolean;
3506
+ readonly autoSpaceLikeWord95?: boolean;
3507
+ readonly noSpaceRaiseLower?: boolean;
3508
+ readonly doNotUseHTMLParagraphAutoSpacing?: boolean;
3509
+ readonly layoutRawTableWidth?: boolean;
3510
+ readonly layoutTableRowsApart?: boolean;
3511
+ readonly useWord97LineBreakRules?: boolean;
3512
+ readonly doNotBreakWrappedTables?: boolean;
3513
+ readonly doNotSnapToGridInCell?: boolean;
3514
+ readonly selectFieldWithFirstOrLastCharacter?: boolean;
3515
+ readonly applyBreakingRules?: boolean;
3516
+ readonly doNotWrapTextWithPunctuation?: boolean;
3517
+ readonly doNotUseEastAsianBreakRules?: boolean;
3518
+ readonly useWord2002TableStyleRules?: boolean;
3519
+ readonly growAutofit?: boolean;
3520
+ readonly useFELayout?: boolean;
3521
+ readonly useNormalStyleForList?: boolean;
3522
+ readonly doNotUseIndentAsNumberingTabStop?: boolean;
3523
+ readonly useAlternateEastAsianLineBreakRules?: boolean;
3524
+ readonly allowSpaceOfSameStyleInTable?: boolean;
3525
+ readonly doNotSuppressIndentation?: boolean;
3526
+ readonly doNotAutofitConstrainedTables?: boolean;
3527
+ readonly autofitToFirstFixedWidthCell?: boolean;
3528
+ readonly underlineTabInNumberingList?: boolean;
3529
+ readonly displayHangulFixedWidth?: boolean;
3530
+ readonly splitPgBreakAndParaMark?: boolean;
3531
+ readonly doNotVerticallyAlignCellWithSp?: boolean;
3532
+ readonly doNotBreakConstrainedForcedTable?: boolean;
3533
+ readonly ignoreVerticalAlignmentInTextboxes?: boolean;
3534
+ readonly useAnsiKerningPairs?: boolean;
3535
+ readonly cachedColumnBalance?: boolean;
3536
+ readonly overrideTableStyleFontSizeAndJustification?: boolean;
3537
+ readonly enableOpenTypeFeatures?: boolean;
3538
+ readonly doNotFlipMirrorIndents?: boolean;
3539
+ }
3540
+ //#endregion
3541
+ //#region src/file/settings/settings.d.ts
3542
+ interface ISettingsOptions {
3543
+ readonly compatibilityModeVersion?: number;
3544
+ readonly evenAndOddHeaders?: boolean;
3545
+ readonly trackRevisions?: boolean;
3546
+ readonly updateFields?: boolean;
3547
+ readonly compatibility?: ICompatibilityOptions;
3548
+ readonly defaultTabStop?: number;
3549
+ readonly hyphenation?: IHyphenationOptions;
3550
+ readonly characterSpacingControl?: "compressPunctuation" | "doNotCompress";
3551
+ readonly documentProtection?: IDocumentProtectionOptions;
3552
+ readonly view?: "none" | "print" | "outline" | "masterPages" | "normal" | "web";
3553
+ readonly zoom?: {
3554
+ readonly percent?: number;
3555
+ readonly val?: "none" | "fullPage" | "bestFit" | "textFit";
3556
+ };
3557
+ readonly writeProtection?: IWriteProtectionOptions;
3558
+ readonly displayBackgroundShape?: boolean;
3559
+ readonly embedTrueTypeFonts?: boolean;
3560
+ readonly embedSystemFonts?: boolean;
3561
+ readonly saveSubsetFonts?: boolean;
3562
+ readonly docVars?: readonly {
3563
+ readonly name: string;
3564
+ readonly val: string;
3565
+ }[];
3566
+ readonly colorSchemeMapping?: {
3567
+ readonly bg1?: string;
3568
+ readonly t1?: string;
3569
+ readonly bg2?: string;
3570
+ readonly t2?: string;
3571
+ readonly accent1?: string;
3572
+ readonly accent2?: string;
3573
+ readonly accent3?: string;
3574
+ readonly accent4?: string;
3575
+ readonly accent5?: string;
3576
+ readonly accent6?: string;
3577
+ readonly hyperlink?: string;
3578
+ readonly followedHyperlink?: string;
3579
+ };
3580
+ }
3581
+ interface IDocumentProtectionOptions {
3582
+ readonly edit?: "none" | "readOnly" | "comments" | "trackedChanges" | "forms";
3583
+ readonly formatting?: boolean;
3584
+ readonly hashValue?: string;
3585
+ readonly saltValue?: string;
3586
+ readonly spinCount?: number;
3587
+ readonly algorithmName?: string;
3588
+ }
3589
+ interface IWriteProtectionOptions {
3590
+ readonly hashValue?: string;
3591
+ readonly saltValue?: string;
3592
+ readonly spinCount?: number;
3593
+ readonly algorithmName?: string;
3594
+ readonly recommended?: boolean;
3595
+ }
3596
+ interface IHyphenationOptions {
3597
+ readonly autoHyphenation?: boolean;
3598
+ readonly hyphenationZone?: number;
3599
+ readonly consecutiveHyphenLimit?: number;
3600
+ readonly doNotHyphenateCaps?: boolean;
3601
+ }
3602
+ declare class Settings extends XmlComponent {
3603
+ constructor(options: ISettingsOptions);
3604
+ }
3605
+ //#endregion
3606
+ //#region src/file/fonts/font.d.ts
3607
+ declare const CharacterSet: {
3608
+ readonly ANSI: "00";
3609
+ readonly ARABIC: "B2";
3610
+ readonly BALTIC: "BA";
3611
+ readonly CHINESEBIG5: "88";
3612
+ readonly DEFAULT: "01";
3613
+ readonly EASTEUROPE: "EE";
3614
+ readonly GB_2312: "86";
3615
+ readonly GREEK: "A1";
3616
+ readonly HANGUL: "81";
3617
+ readonly HEBREW: "B1";
3618
+ readonly JIS: "80";
3619
+ readonly JOHAB: "82";
3620
+ readonly MAC: "4D";
3621
+ readonly OEM: "FF";
3622
+ readonly RUSSIAN: "CC";
3623
+ readonly SYMBOL: "02";
3624
+ readonly THAI: "DE";
3625
+ readonly TURKISH: "A2";
3626
+ readonly VIETNAMESE: "A3";
3627
+ };
3628
+ //#endregion
3629
+ //#region src/file/fonts/font-wrapper.d.ts
3630
+ type FontOptionsWithKey = FontOptions & {
3631
+ readonly fontKey: string;
3632
+ };
3633
+ declare class FontWrapper implements IViewWrapper {
3634
+ readonly options: readonly FontOptions[];
3635
+ private readonly fontTable;
3636
+ private readonly relationships;
3637
+ readonly fontOptionsWithKey: readonly FontOptionsWithKey[];
3638
+ constructor(options: readonly FontOptions[]);
3639
+ get View(): XmlComponent;
3640
+ get Relationships(): Relationships;
3641
+ }
3642
+ //#endregion
3643
+ //#region src/file/fonts/font-table.d.ts
3644
+ interface FontOptions {
3645
+ readonly name: string;
3646
+ readonly data: Buffer;
3647
+ readonly characterSet?: (typeof CharacterSet)[keyof typeof CharacterSet];
3648
+ }
3649
+ //#endregion
3650
+ //#region src/file/custom-properties/custom-property.d.ts
3651
+ interface ICustomPropertyOptions {
3652
+ readonly name: string;
3653
+ readonly value: string;
3654
+ }
3655
+ //#endregion
3656
+ //#region src/file/custom-properties/custom-properties.d.ts
3657
+ declare class CustomProperties extends XmlComponent {
3658
+ private nextId;
3659
+ private readonly properties;
3660
+ constructor(properties: readonly ICustomPropertyOptions[]);
3661
+ prepForXml(context: IContext): IXmlableObject | undefined;
3662
+ addCustomProperty(property: ICustomPropertyOptions): void;
3663
+ }
3664
+ //#endregion
3515
3665
  //#region src/file/numbering/level.d.ts
3516
3666
  declare const LevelFormat: {
3517
3667
  readonly DECIMAL: "decimal";
@@ -3804,10 +3954,10 @@ interface IPropertiesOptions {
3804
3954
  readonly comments?: ICommentsOptions;
3805
3955
  readonly bibliography?: IBibliographyOptions;
3806
3956
  readonly footnotes?: Readonly<Record<string, {
3807
- readonly children: readonly Paragraph[];
3957
+ readonly children: readonly (Paragraph | IParagraphOptions | string)[];
3808
3958
  }>>;
3809
3959
  readonly endnotes?: Readonly<Record<string, {
3810
- readonly children: readonly Paragraph[];
3960
+ readonly children: readonly (Paragraph | IParagraphOptions | string)[];
3811
3961
  }>>;
3812
3962
  readonly background?: IDocumentBackgroundOptions;
3813
3963
  readonly features?: {
@@ -4053,7 +4203,7 @@ declare namespace index_d_exports$3 {
4053
4203
  export { COLOR_CATEGORIES, DEFAULT_DRAWING_XML, ISmartArtData, ITreeNode, LAYOUT_CATEGORIES, STYLE_CATEGORIES, SmartArtCollection, createDataModel, getColorXml, getLayoutXml, getStyleXml };
4054
4204
  }
4055
4205
  declare namespace index_d_exports$2 {
4056
- export { AbstractNumbering, AlignmentType, AltChunk, AltChunkCollection, AnnotationReference, AttributeData, AttributeMap, AttributePayload, Attributes, BaseXmlComponent, Bdo, Bibliography, Body, Bookmark, BookmarkEnd, BookmarkStart, Border, BorderStyle, BuilderElement, COLOR_CATEGORIES, CarriageReturn, CellMerge, CellMergeAttributes, CharacterSet, ChartCollection, ChartMediaData, ChartRun, ChartSpace, CheckBox, CheckBoxOptions, CheckBoxSymbolElement, CheckBoxUtil, CnfStyleOptions, Column, ColumnBreak, Comment, CommentRangeEnd, CommentRangeStart, CommentReference, Comments, ConcreteHyperlink, ConcreteNumbering, ContinuationSeparator, DEFAULT_DRAWING_XML, DayLong, DayShort, DeletedTableCell, DeletedTableRow, DeletedTextRun, Dir, Document, DocumentAttributeNamespace, DocumentAttributeNamespaces, DocumentBackground, DocumentBackgroundAttributes, DocumentDefaults, DocumentGridType, Drawing, DropCapType, DropDownListOptions, EMPTY_OBJECT, EditGroup, EditGroupType, EmphasisMarkType, EmptyElement, EndnoteIdReference, EndnoteReference, EndnoteReferenceRun, EndnoteReferenceRunAttributes, Endnotes, ExternalHyperlink, File, FileChild, FlatTextOptions, FootNoteReferenceRunAttributes, FootNotes, Footer, FooterWrapper, FootnoteReference, FootnoteReferenceElement, FootnoteReferenceRun, FormFieldCommonOptions, FormFieldOptions, FormFieldTextOptions, FormFieldTextType, FractionType, FrameAnchorType, FrameWrap, GridSpan, Header, HeaderFooterReferenceType, HeaderFooterType, HeaderWrapper, HeadingLevel, HeightRule, HighlightColor, HorizontalPositionAlign, HorizontalPositionRelativeFrom, HpsMeasureElement, HyperlinkType, IAlignmentFrameOptions, IAltChunkData, IAltChunkOptions, IBackgroundImageOptions, IBaseCharacterStyleOptions, IBaseParagraphStyleOptions, IBibliographyOptions, IBodyPropertiesOptions, IBookmarkOptions, IBorderOptions, IBordersOptions, ICellMergeAttributes, ICharacterStyleOptions, IChartChild, IChartData, IChartOptions, IChartSeriesData, IChartSpaceOptions, ICheckboxSymbolOptions, ICheckboxSymbolProperties, ICnfStyleOptions, IColumnAttributes, IColumnsAttributes, ICommentOptions, ICommentsOptions, IConcreteNumberingOptions, IContext, IDirOptions, IDistance, IDocGridAttributesProperties, IDocumentBackgroundOptions, IDocumentDefaultsOptions, IDocumentFooter, IDocumentHeader, IDocumentOptions, IDrawingOptions, IExtendedMediaData, IExternalHyperlinkOptions, IFloating, IFontAttributesProperties, IFrameOptions, IGroupChildMediaData, IHeaderFooterGroup, IHeaderFooterOptions, IHeaderOptions, IHorizontalPositionOptions, IImageChild, IImageOptions, IIndentAttributesProperties, IInternalHyperlinkOptions, ILevelsOptions, ILineNumberAttributes, IMargins, IMathBorderBoxOptions, IMathBoxOptions, IMathEqArrOptions, IMathFractionOptions, IMathFunctionOptions, IMathGroupChrOptions, IMathIntegralOptions, IMathLimitLowerOptions, IMathLimitUpperOptions, IMathMatrixOptions, IMathOptions, IMathParagraphOptions, IMathPhantOptions, IMathPreSubSuperScriptOptions, IMathRadicalOptions, IMathSubScriptOptions, IMathSubSuperScriptOptions, IMathSumOptions, IMathSuperScriptOptions, IMediaData, IMediaDataTransformation, IMediaTransformation, INumberedItemReferenceOptions, INumberingOptions, IPageBordersOptions, IPageMarginAttributes, IPageNumberTypeAttributes, IPageReferenceOptions, IPageSizeAttributes, IParagraphOptions, IParagraphPropertiesChangeOptions, IParagraphPropertiesOptions, IParagraphPropertiesOptionsBase, IParagraphRunOptions, IParagraphRunPropertiesOptions, IParagraphStyleOptions, IParagraphStylePropertiesOptions, IPermStartOptions, IPropertiesOptions, IRunOptions, IRunPropertiesChangeOptions, IRunPropertiesOptions, ISdtBlockOptions, ISdtCellOptions, ISdtRowOptions, ISdtRunOptions, ISectionOptions, ISectionPropertiesChangeOptions, ISectionPropertiesOptions, ISectionPropertiesOptionsBase, IShadingAttributesProperties, ISmartArtChild, ISmartArtData, ISmartArtNode, ISmartArtOptions, ISpacingProperties, IStylesOptions, ISubDocData, ISubDocOptions, ISymbolRunOptions, ITableBordersOptions, ITableCellBorders, ITableCellOptions, ITableFloatOptions, ITableLookOptions, ITableOfContentsOptions, ITableOptions, ITablePropertiesChangeOptions, ITablePropertiesOptions, ITablePropertiesOptionsBase, ITablePropertyExOptions, ITableRowOptions, ITableRowPropertiesChangeOptions, ITableRowPropertiesOptions, ITableRowPropertiesOptionsBase, ITableWidthProperties, ITextWrapping, ITextboxOptions, ITreeNode, IVerticalPositionOptions, IWpgGroupOptions, IWpsShapeOptions, IXYFrameOptions, IXmlableObject, IgnoreIfEmptyXmlComponent, ImageRun, ImportedRootElementAttributes, ImportedXmlComponent, InitializableXmlComponent, InsertedTableCell, InsertedTableRow, InsertedTextRun, InternalHyperlink, LAYOUT_CATEGORIES, LastRenderedPageBreak, LeaderType, Level, LevelBase, LevelForOverride, LevelFormat, LevelOverride, LevelParagraphStylePropertiesOptions, LevelSuffix, LineNumberRestartFormat, LineRuleType, Math, MathAccentOptions, MathAccentPropertiesOptions, MathAngledBrackets, MathBaseOptions, MathBorderBox, MathBorderBoxPropertiesOptions, MathBox, MathBoxPropertiesOptions, MathBreakBin, MathBreakBinSub, MathComponent, MathControlPropertiesOptions, MathCurlyBrackets, MathDegree, MathDenominator, MathEqArr, MathEqArrPropertiesOptions, MathFraction, MathFractionPropertiesOptions, MathFunction, MathFunctionName, MathFunctionPropertiesOptions, MathGroupChr, MathGroupChrPropertiesOptions, MathIntegral, MathJustification, MathLimit, MathLimitLowPropertiesOptions, MathLimitLower, MathLimitUpper, MathLimitUpperPropertiesOptions, MathMatrix, MathMatrixPropertiesOptions, MathNAryPropertiesOptions, MathNumerator, MathParagraph, MathPhant, MathPhantPropertiesOptions, MathPreSubSuperScript, MathPropertiesJustification, MathPropertiesOptions, MathRadical, MathRadicalProperties, MathRoundBrackets, MathRun, MathRunOptions, MathRunPropertiesOptions, MathScriptType, MathSquareBrackets, MathStyleType, MathSubScript, MathSubSuperScript, MathSubSuperScriptPropertiesOptions, MathSum, MathSuperScript, Media, MonthLong, MonthShort, MoveFromRangeEnd, MoveFromRangeStart, MoveToRangeEnd, MoveToRangeStart, MovedFromTextRun, MovedToTextRun, NextAttributeComponent, NoBreakHyphen, NormalAutofitOptions, NumberFormat, NumberProperties, NumberValueElement, NumberedItemReference, NumberedItemReferenceFormat, Numbering, OnOffElement, OverlapType, PageBorderDisplay, PageBorderOffsetFrom, PageBorderZOrder, PageBorders, PageBreak, PageBreakBefore, PageNumber, PageNumberElement, PageNumberSeparator, PageOrientation, PageReference, PageTextDirection, PageTextDirectionType, Paragraph, ParagraphChild, ParagraphProperties, ParagraphPropertiesChange, ParagraphPropertiesDefaults, ParagraphRunProperties, PermEnd, PermStart, PositionalTab, PositionalTabAlignment, PositionalTabLeader, PositionalTabOptions, PositionalTabRelativeTo, PresetTextShapeOptions, RelativeHorizontalPosition, RelativeVerticalPosition, RubyAlign, RubyOptions, Run, RunProperties, RunPropertiesChange, RunPropertiesDefaults, RunStylePropertiesOptions, STYLE_CATEGORIES, SdtComboBoxOptions, SdtDataBindingOptions, SdtDateMappingType, SdtDateOptions, SdtDropDownListOptions, SdtListItem, SdtLock, SdtPropertiesOptions, SdtTextOptions, SectionChild, SectionProperties, SectionPropertiesChange, SectionType, SectionVerticalAlign, Separator, SequentialIdentifier, ShadingType, SimpleField, SimpleMailMergeField, SmartArtCollection, SmartArtMediaData, SmartArtRun, SoftHyphen, SourceTypeOptions, SpaceType, StringContainer, StringEnumValueElement, StringValueElement, StructuredDocumentTagBlock, StructuredDocumentTagCell, StructuredDocumentTagContent, StructuredDocumentTagProperties, StructuredDocumentTagRow, StructuredDocumentTagRun, StyleForCharacter, StyleForParagraph, StyleLevel, Styles, SubDoc, SubDocCollection, SymbolRun, TDirection, Tab, TabStopDefinition, TabStopPosition, TabStopType, Table, TableAnchorType, TableBorders, TableCell, TableCellBorders, TableLayoutType, TableOfContents, TableProperties, TablePropertyExceptions, TableRow, TableRowProperties, TableRowPropertiesChange, TableVerticalAlign, TextAlignmentType, TextBodyWrappingType, TextDirection, TextEffect, TextHorzOverflowType, TextInputOptions, TextRun, TextVertOverflowType, TextVerticalType, TextWrappingSide, TextWrappingType, Textbox, TextboxTightWrapType, ThematicBreak, UnderlineType, VerticalAlign, VerticalAlignSection, VerticalAlignTable, VerticalAnchor, VerticalMerge, VerticalMergeRevisionType, VerticalMergeType, VerticalPositionAlign, VerticalPositionRelativeFrom, WORKAROUND2, WORKAROUND4, WidthType, WpgCommonMediaData, WpgGroupRun, WpgMediaData, WpsMediaData, WpsShapeRun, XmlAttributeComponent, XmlComponent, YearLong, YearShort, buildDocumentAttributes, buildRunProperties, chartAttr, coerceSectionChild, convertToXmlComponent, createAlignment, createBodyProperties, createBorderElement, createBreak, createCnfStyle, createColumns, createDataModel, createDivId, createDocumentGrid, createDotEmphasisMark, createEmphasisMark, createFormFieldData, createFrameProperties, createHeaderFooterReference, createHorizontalPosition, createIndent, createLineNumberType, createMathAccent, createMathAccentCharacter, createMathAccentProperties, createMathBar, createMathBarProperties, createMathBase, createMathBorderBoxProperties, createMathBoxProperties, createMathControlProperties, createMathEqArrProperties, createMathFractionProperties, createMathFunctionProperties, createMathGroupChrProperties, createMathLimitLocation, createMathLimitLowProperties, createMathLimitUpperProperties, createMathMatrixProperties, createMathNAryProperties, createMathPhantProperties, createMathPreSubSuperScriptProperties, createMathProperties, createMathRunProperties, createMathSubScriptElement, createMathSubScriptProperties, createMathSubSuperScriptProperties, createMathSuperScriptElement, createMathSuperScriptProperties, createOutlineLevel, createPageMargin, createPageNumberType, createPageSize, createParagraphStyle, createRuby, createRunFonts, createSectionType, createShading, createSimplePos, createSpacing, createStringElement, createTabStop, createTabStopItem, createTableFloatProperties, createTableLayout, createTableLook, createTableOverlap, createTableRowHeight, createTableWidthElement, createTransformation, createUnderline, createVerticalAlign, createVerticalPosition, createWrapNone, createWrapSquare, createWrapThrough, createWrapTight, createWrapTopAndBottom, getColorXml, getLayoutXml, getStyleXml, sectionMarginDefaults, sectionPageSizeDefaults, wrapEl };
4206
+ export { AbstractNumbering, AlignmentType, AltChunk, AltChunkCollection, AnnotationReference, AttributeData, AttributeMap, AttributePayload, Attributes, BaseXmlComponent, Bdo, Bibliography, Body, Bookmark, BookmarkEnd, BookmarkStart, Border, BorderStyle, BuilderElement, COLOR_CATEGORIES, CarriageReturn, CellMerge, CellMergeAttributes, CharacterSet, ChartCollection, ChartMediaData, ChartRun, ChartSpace, CheckBox, CheckBoxOptions, CheckBoxSymbolElement, CheckBoxUtil, CnfStyleOptions, Column, ColumnBreak, Comment, CommentRangeEnd, CommentRangeStart, CommentReference, Comments, ConcreteHyperlink, ConcreteNumbering, ContinuationSeparator, DEFAULT_DRAWING_XML, DayLong, DayShort, DeletedTableCell, DeletedTableRow, DeletedTextRun, Dir, Document, DocumentAttributeNamespace, DocumentAttributeNamespaces, DocumentBackground, DocumentBackgroundAttributes, DocumentDefaults, DocumentGridType, Drawing, DropCapType, DropDownListOptions, EMPTY_OBJECT, EditGroup, EditGroupType, EmphasisMarkType, EmptyElement, EndnoteIdReference, EndnoteReference, EndnoteReferenceRun, EndnoteReferenceRunAttributes, Endnotes, ExternalHyperlink, File, FileChild, FlatTextOptions, FootNoteReferenceRunAttributes, FootNotes, Footer, FooterWrapper, FootnoteReference, FootnoteReferenceElement, FootnoteReferenceRun, FormFieldCommonOptions, FormFieldOptions, FormFieldTextOptions, FormFieldTextType, FractionType, FrameAnchorType, FrameWrap, GridSpan, Header, HeaderFooterReferenceType, HeaderFooterType, HeaderWrapper, HeadingLevel, HeightRule, HighlightColor, HorizontalPositionAlign, HorizontalPositionRelativeFrom, HpsMeasureElement, HyperlinkType, IAlignmentFrameOptions, IAltChunkData, IAltChunkOptions, IBackgroundImageOptions, IBaseCharacterStyleOptions, IBaseParagraphStyleOptions, IBibliographyOptions, IBodyPropertiesOptions, IBookmarkOptions, IBorderOptions, IBordersOptions, ICellMergeAttributes, ICharacterStyleOptions, IChartChild, IChartData, IChartOptions, IChartSeriesData, IChartSpaceOptions, ICheckboxSymbolOptions, ICheckboxSymbolProperties, ICnfStyleOptions, IColumnAttributes, IColumnsAttributes, ICommentOptions, ICommentsOptions, IConcreteNumberingOptions, IContext, IDirOptions, IDistance, IDocGridAttributesProperties, IDocumentBackgroundOptions, IDocumentDefaultsOptions, IDocumentFooter, IDocumentHeader, IDocumentOptions, IDrawingOptions, IExtendedMediaData, IExternalHyperlinkOptions, IFloating, IFontAttributesProperties, IFrameOptions, IGroupChildMediaData, IHeaderFooterGroup, IHeaderFooterOptions, IHeaderOptions, IHorizontalPositionOptions, IImageChild, IImageOptions, IIndentAttributesProperties, IInternalHyperlinkOptions, ILevelsOptions, ILineNumberAttributes, IMargins, IMathBorderBoxOptions, IMathBoxOptions, IMathChild, IMathEqArrOptions, IMathFractionOptions, IMathFunctionOptions, IMathGroupChrOptions, IMathIntegralOptions, IMathLimitLowerOptions, IMathLimitUpperOptions, IMathMatrixOptions, IMathOptions, IMathParagraphOptions, IMathPhantOptions, IMathPreSubSuperScriptOptions, IMathRadicalOptions, IMathSubScriptOptions, IMathSubSuperScriptOptions, IMathSumOptions, IMathSuperScriptOptions, IMediaData, IMediaDataTransformation, IMediaTransformation, INumberedItemReferenceOptions, INumberingOptions, IPageBordersOptions, IPageMarginAttributes, IPageNumberTypeAttributes, IPageReferenceOptions, IPageSizeAttributes, IParagraphJsonChild, IParagraphOptions, IParagraphPropertiesChangeOptions, IParagraphPropertiesOptions, IParagraphPropertiesOptionsBase, IParagraphRunOptions, IParagraphRunPropertiesOptions, IParagraphStyleOptions, IParagraphStylePropertiesOptions, IPermStartOptions, IPropertiesOptions, IRunOptions, IRunPropertiesChangeOptions, IRunPropertiesOptions, ISdtBlockOptions, ISdtCellOptions, ISdtRowOptions, ISdtRunOptions, ISectionOptions, ISectionPropertiesChangeOptions, ISectionPropertiesOptions, ISectionPropertiesOptionsBase, IShadingAttributesProperties, ISmartArtChild, ISmartArtData, ISmartArtNode, ISmartArtOptions, ISpacingProperties, IStylesOptions, ISubDocData, ISubDocOptions, ISymbolRunOptions, ITableBordersOptions, ITableCellBorders, ITableCellOptions, ITableFloatOptions, ITableLookOptions, ITableOfContentsOptions, ITableOptions, ITablePropertiesChangeOptions, ITablePropertiesOptions, ITablePropertiesOptionsBase, ITablePropertyExOptions, ITableRowOptions, ITableRowPropertiesChangeOptions, ITableRowPropertiesOptions, ITableRowPropertiesOptionsBase, ITableWidthProperties, ITextWrapping, ITextboxOptions, ITreeNode, IVerticalPositionOptions, IWpgGroupOptions, IWpsShapeOptions, IXYFrameOptions, IXmlableObject, IgnoreIfEmptyXmlComponent, ImageRun, ImportedRootElementAttributes, ImportedXmlComponent, InitializableXmlComponent, InsertedTableCell, InsertedTableRow, InsertedTextRun, InternalHyperlink, LAYOUT_CATEGORIES, LastRenderedPageBreak, LeaderType, Level, LevelBase, LevelForOverride, LevelFormat, LevelOverride, LevelParagraphStylePropertiesOptions, LevelSuffix, LineNumberRestartFormat, LineRuleType, Math, MathAccentOptions, MathAccentPropertiesOptions, MathAngledBrackets, MathBaseOptions, MathBorderBox, MathBorderBoxPropertiesOptions, MathBox, MathBoxPropertiesOptions, MathBreakBin, MathBreakBinSub, MathComponent, MathControlPropertiesOptions, MathCurlyBrackets, MathDegree, MathDenominator, MathEqArr, MathEqArrPropertiesOptions, MathFraction, MathFractionPropertiesOptions, MathFunction, MathFunctionName, MathFunctionPropertiesOptions, MathGroupChr, MathGroupChrPropertiesOptions, MathIntegral, MathJson, MathJustification, MathLimit, MathLimitLowPropertiesOptions, MathLimitLower, MathLimitUpper, MathLimitUpperPropertiesOptions, MathMatrix, MathMatrixPropertiesOptions, MathNAryPropertiesOptions, MathNumerator, MathParagraph, MathPhant, MathPhantPropertiesOptions, MathPreSubSuperScript, MathPropertiesJustification, MathPropertiesOptions, MathRadical, MathRadicalProperties, MathRoundBrackets, MathRun, MathRunOptions, MathRunPropertiesOptions, MathScriptType, MathSquareBrackets, MathStyleType, MathSubScript, MathSubSuperScript, MathSubSuperScriptPropertiesOptions, MathSum, MathSuperScript, Media, MonthLong, MonthShort, MoveFromRangeEnd, MoveFromRangeStart, MoveToRangeEnd, MoveToRangeStart, MovedFromTextRun, MovedToTextRun, NextAttributeComponent, NoBreakHyphen, NormalAutofitOptions, NumberFormat, NumberProperties, NumberValueElement, NumberedItemReference, NumberedItemReferenceFormat, Numbering, OnOffElement, OverlapType, PageBorderDisplay, PageBorderOffsetFrom, PageBorderZOrder, PageBorders, PageBreak, PageBreakBefore, PageNumber, PageNumberElement, PageNumberSeparator, PageOrientation, PageReference, PageTextDirection, PageTextDirectionType, Paragraph, ParagraphChild, ParagraphProperties, ParagraphPropertiesChange, ParagraphPropertiesDefaults, ParagraphRunProperties, PermEnd, PermStart, PositionalTab, PositionalTabAlignment, PositionalTabLeader, PositionalTabOptions, PositionalTabRelativeTo, PresetTextShapeOptions, RelativeHorizontalPosition, RelativeVerticalPosition, RubyAlign, RubyOptions, Run, RunProperties, RunPropertiesChange, RunPropertiesDefaults, RunStylePropertiesOptions, STYLE_CATEGORIES, SdtComboBoxOptions, SdtDataBindingOptions, SdtDateMappingType, SdtDateOptions, SdtDropDownListOptions, SdtListItem, SdtLock, SdtPropertiesOptions, SdtTextOptions, SectionChild, SectionProperties, SectionPropertiesChange, SectionType, SectionVerticalAlign, Separator, SequentialIdentifier, ShadingType, SimpleField, SimpleMailMergeField, SmartArtCollection, SmartArtMediaData, SmartArtRun, SoftHyphen, SourceTypeOptions, SpaceType, StringContainer, StringEnumValueElement, StringValueElement, StructuredDocumentTagBlock, StructuredDocumentTagCell, StructuredDocumentTagContent, StructuredDocumentTagProperties, StructuredDocumentTagRow, StructuredDocumentTagRun, StyleForCharacter, StyleForParagraph, StyleLevel, Styles, SubDoc, SubDocCollection, SymbolRun, TDirection, Tab, TabStopDefinition, TabStopPosition, TabStopType, Table, TableAnchorType, TableBorders, TableCell, TableCellBorders, TableLayoutType, TableOfContents, TableProperties, TablePropertyExceptions, TableRow, TableRowProperties, TableRowPropertiesChange, TableVerticalAlign, TextAlignmentType, TextBodyWrappingType, TextDirection, TextEffect, TextHorzOverflowType, TextInputOptions, TextRun, TextVertOverflowType, TextVerticalType, TextWrappingSide, TextWrappingType, Textbox, TextboxTightWrapType, ThematicBreak, UnderlineType, VerticalAlign, VerticalAlignSection, VerticalAlignTable, VerticalAnchor, VerticalMerge, VerticalMergeRevisionType, VerticalMergeType, VerticalPositionAlign, VerticalPositionRelativeFrom, WORKAROUND2, WORKAROUND4, WidthType, WpgCommonMediaData, WpgGroupRun, WpgMediaData, WpsMediaData, WpsShapeRun, XmlAttributeComponent, XmlComponent, YearLong, YearShort, buildDocumentAttributes, buildRunProperties, chartAttr, coerceMathJson, coerceSectionChild, convertToXmlComponent, createAlignment, createBodyProperties, createBorderElement, createBreak, createCnfStyle, createColumns, createDataModel, createDivId, createDocumentGrid, createDotEmphasisMark, createEmphasisMark, createFormFieldData, createFrameProperties, createHeaderFooterReference, createHorizontalPosition, createIndent, createLineNumberType, createMathAccent, createMathAccentCharacter, createMathAccentProperties, createMathBar, createMathBarProperties, createMathBase, createMathBorderBoxProperties, createMathBoxProperties, createMathControlProperties, createMathEqArrProperties, createMathFractionProperties, createMathFunctionProperties, createMathGroupChrProperties, createMathLimitLocation, createMathLimitLowProperties, createMathLimitUpperProperties, createMathMatrixProperties, createMathNAryProperties, createMathPhantProperties, createMathPreSubSuperScriptProperties, createMathProperties, createMathRunProperties, createMathSubScriptElement, createMathSubScriptProperties, createMathSubSuperScriptProperties, createMathSuperScriptElement, createMathSuperScriptProperties, createOutlineLevel, createPageMargin, createPageNumberType, createPageSize, createParagraphStyle, createRuby, createRunFonts, createSectionType, createShading, createSimplePos, createSpacing, createStringElement, createTabStop, createTabStopItem, createTableFloatProperties, createTableLayout, createTableLook, createTableOverlap, createTableRowHeight, createTableWidthElement, createTransformation, createUnderline, createVerticalAlign, createVerticalPosition, createWrapNone, createWrapSquare, createWrapThrough, createWrapTight, createWrapTopAndBottom, getColorXml, getLayoutXml, getStyleXml, parseMathChildren, sectionMarginDefaults, sectionPageSizeDefaults, wrapEl };
4057
4207
  }
4058
4208
  //#endregion
4059
4209
  //#region src/export/packer/packer.d.ts
@@ -4150,8 +4300,8 @@ interface DocxDocument {
4150
4300
  declare function parseDocument(data: Uint8Array): ISectionOptions[];
4151
4301
  declare function parseDocx(data: Uint8Array): DocxDocument;
4152
4302
  declare namespace index_d_exports {
4153
- export { AbstractNumbering, AlignmentType, AltChunk, AltChunkCollection, AnnotationReference, AttributeData, AttributeMap, AttributePayload, Attributes, BaseXmlComponent, Bdo, Bibliography, Body, Bookmark, BookmarkEnd, BookmarkStart, Border, BorderStyle, BuilderElement, COLOR_CATEGORIES, CarriageReturn, CellMerge, CellMergeAttributes, CharacterSet, ChartCollection, ChartMediaData, ChartRun, ChartSpace, CheckBox, CheckBoxOptions, CheckBoxSymbolElement, CheckBoxUtil, CnfStyleOptions, Column, ColumnBreak, Comment, CommentRangeEnd, CommentRangeStart, CommentReference, Comments, ConcreteHyperlink, ConcreteNumbering, ContinuationSeparator, DEFAULT_DRAWING_XML, DayLong, DayShort, DeletedTableCell, DeletedTableRow, DeletedTextRun, Dir, File as Document, DocumentAttributeNamespace, DocumentAttributeNamespaces, DocumentBackground, DocumentBackgroundAttributes, DocumentDefaults, DocumentGridType, DocxDocument, DocxPartRefs, Drawing, DropCapType, DropDownListOptions, EMPTY_OBJECT, EditGroup, EditGroupType, EmphasisMarkType, EmptyElement, EndnoteIdReference, EndnoteReference, EndnoteReferenceRun, EndnoteReferenceRunAttributes, Endnotes, ExternalHyperlink, File, FileChild, FlatTextOptions, FootNoteReferenceRunAttributes, FootNotes, Footer, FooterWrapper, FootnoteReference, FootnoteReferenceElement, FootnoteReferenceRun, FormFieldCommonOptions, FormFieldOptions, FormFieldTextOptions, FormFieldTextType, FractionType, FrameAnchorType, FrameWrap, GridSpan, Header, HeaderFooterReferenceType, HeaderFooterType, HeaderWrapper, HeadingLevel, HeightRule, HighlightColor, HorizontalPositionAlign, HorizontalPositionRelativeFrom, HpsMeasureElement, HyperlinkType, IAlignmentFrameOptions, IAltChunkData, IAltChunkOptions, IBackgroundImageOptions, IBaseCharacterStyleOptions, IBaseParagraphStyleOptions, IBibliographyOptions, IBodyPropertiesOptions, IBookmarkOptions, IBorderOptions, IBordersOptions, ICellMergeAttributes, ICharacterStyleOptions, IChartChild, IChartData, IChartOptions, IChartSeriesData, IChartSpaceOptions, ICheckboxSymbolOptions, ICheckboxSymbolProperties, ICnfStyleOptions, IColumnAttributes, IColumnsAttributes, ICommentOptions, ICommentsOptions, IConcreteNumberingOptions, IContext, IDirOptions, IDistance, IDocGridAttributesProperties, IDocumentBackgroundOptions, IDocumentDefaultsOptions, IDocumentFooter, IDocumentHeader, IDocumentOptions, IDrawingOptions, IExtendedMediaData, IExternalHyperlinkOptions, IFloating, IFontAttributesProperties, IFrameOptions, IGroupChildMediaData, IHeaderFooterGroup, IHeaderFooterOptions, IHeaderOptions, IHorizontalPositionOptions, IImageChild, IImageOptions, IIndentAttributesProperties, IInternalHyperlinkOptions, ILevelsOptions, ILineNumberAttributes, IMargins, IMathBorderBoxOptions, IMathBoxOptions, IMathEqArrOptions, IMathFractionOptions, IMathFunctionOptions, IMathGroupChrOptions, IMathIntegralOptions, IMathLimitLowerOptions, IMathLimitUpperOptions, IMathMatrixOptions, IMathOptions, IMathParagraphOptions, IMathPhantOptions, IMathPreSubSuperScriptOptions, IMathRadicalOptions, IMathSubScriptOptions, IMathSubSuperScriptOptions, IMathSumOptions, IMathSuperScriptOptions, IMediaData, IMediaDataTransformation, IMediaTransformation, INumberedItemReferenceOptions, INumberingOptions, IPageBordersOptions, IPageMarginAttributes, IPageNumberTypeAttributes, IPageReferenceOptions, IPageSizeAttributes, IParagraphOptions, IParagraphPropertiesChangeOptions, IParagraphPropertiesOptions, IParagraphPropertiesOptionsBase, IParagraphRunOptions, IParagraphRunPropertiesOptions, IParagraphStyleOptions, IParagraphStylePropertiesOptions, IPatch, IPermStartOptions, IPropertiesOptions, IRunOptions, IRunPropertiesChangeOptions, IRunPropertiesOptions, ISdtBlockOptions, ISdtCellOptions, ISdtRowOptions, ISdtRunOptions, ISectionOptions, ISectionPropertiesChangeOptions, ISectionPropertiesOptions, ISectionPropertiesOptionsBase, IShadingAttributesProperties, ISmartArtChild, ISmartArtData, ISmartArtNode, ISmartArtOptions, ISpacingProperties, IStylesOptions, ISubDocData, ISubDocOptions, ISymbolRunOptions, ITableBordersOptions, ITableCellBorders, ITableCellOptions, ITableFloatOptions, ITableLookOptions, ITableOfContentsOptions, ITableOptions, ITablePropertiesChangeOptions, ITablePropertiesOptions, ITablePropertiesOptionsBase, ITablePropertyExOptions, ITableRowOptions, ITableRowPropertiesChangeOptions, ITableRowPropertiesOptions, ITableRowPropertiesOptionsBase, ITableWidthProperties, ITextWrapping, ITextboxOptions, ITreeNode, IVerticalPositionOptions, IWpgGroupOptions, IWpsShapeOptions, IXYFrameOptions, IXmlableObject, IgnoreIfEmptyXmlComponent, ImageRun, ImportedRootElementAttributes, ImportedXmlComponent, InitializableXmlComponent, InputDataType, InsertedTableCell, InsertedTableRow, InsertedTextRun, InternalHyperlink, LAYOUT_CATEGORIES, LastRenderedPageBreak, LeaderType, Level, LevelBase, LevelForOverride, LevelFormat, LevelOverride, LevelParagraphStylePropertiesOptions, LevelSuffix, LineNumberRestartFormat, LineRuleType, Math, MathAccentOptions, MathAccentPropertiesOptions, MathAngledBrackets, MathBaseOptions, MathBorderBox, MathBorderBoxPropertiesOptions, MathBox, MathBoxPropertiesOptions, MathBreakBin, MathBreakBinSub, MathComponent, MathControlPropertiesOptions, MathCurlyBrackets, MathDegree, MathDenominator, MathEqArr, MathEqArrPropertiesOptions, MathFraction, MathFractionPropertiesOptions, MathFunction, MathFunctionName, MathFunctionPropertiesOptions, MathGroupChr, MathGroupChrPropertiesOptions, MathIntegral, MathJustification, MathLimit, MathLimitLowPropertiesOptions, MathLimitLower, MathLimitUpper, MathLimitUpperPropertiesOptions, MathMatrix, MathMatrixPropertiesOptions, MathNAryPropertiesOptions, MathNumerator, MathParagraph, MathPhant, MathPhantPropertiesOptions, MathPreSubSuperScript, MathPropertiesJustification, MathPropertiesOptions, MathRadical, MathRadicalProperties, MathRoundBrackets, MathRun, MathRunOptions, MathRunPropertiesOptions, MathScriptType, MathSquareBrackets, MathStyleType, MathSubScript, MathSubSuperScript, MathSubSuperScriptPropertiesOptions, MathSum, MathSuperScript, Media, MonthLong, MonthShort, MoveFromRangeEnd, MoveFromRangeStart, MoveToRangeEnd, MoveToRangeStart, MovedFromTextRun, MovedToTextRun, NextAttributeComponent, NoBreakHyphen, NormalAutofitOptions, NumberFormat, NumberProperties, NumberValueElement, NumberedItemReference, NumberedItemReferenceFormat, Numbering, OnOffElement, OutputByType, OutputType, OverlapType, Packer, PageBorderDisplay, PageBorderOffsetFrom, PageBorderZOrder, PageBorders, PageBreak, PageBreakBefore, PageNumber, PageNumberElement, PageNumberSeparator, PageOrientation, PageReference, PageTextDirection, PageTextDirectionType, Paragraph, ParagraphChild, ParagraphProperties, ParagraphPropertiesChange, ParagraphPropertiesDefaults, ParagraphRunProperties, PatchDocumentOptions, PatchDocumentOutputType, PatchType, PermEnd, PermStart, PositionalTab, PositionalTabAlignment, PositionalTabLeader, PositionalTabOptions, PositionalTabRelativeTo, PresetTextShapeOptions, PrettifyType, RelativeHorizontalPosition, RelativeVerticalPosition, RubyAlign, RubyOptions, Run, RunProperties, RunPropertiesChange, RunPropertiesDefaults, RunStylePropertiesOptions, STYLE_CATEGORIES, SdtComboBoxOptions, SdtDataBindingOptions, SdtDateMappingType, SdtDateOptions, SdtDropDownListOptions, SdtListItem, SdtLock, SdtPropertiesOptions, SdtTextOptions, SectionChild, SectionProperties, SectionPropertiesChange, SectionType, SectionVerticalAlign, Separator, SequentialIdentifier, ShadingType, SimpleField, SimpleMailMergeField, SmartArtCollection, SmartArtMediaData, SmartArtRun, SoftHyphen, SourceTypeOptions, SpaceType, StringContainer, StringEnumValueElement, StringValueElement, StructuredDocumentTagBlock, StructuredDocumentTagCell, StructuredDocumentTagContent, StructuredDocumentTagProperties, StructuredDocumentTagRow, StructuredDocumentTagRun, StyleForCharacter, StyleForParagraph, StyleLevel, Styles, SubDoc, SubDocCollection, SymbolRun, TDirection, Tab, TabStopDefinition, TabStopPosition, TabStopType, Table, TableAnchorType, TableBorders, TableCell, TableCellBorders, TableLayoutType, TableOfContents, TableProperties, TablePropertyExceptions, TableRow, TableRowProperties, TableRowPropertiesChange, TableVerticalAlign, TextAlignmentType, TextBodyWrappingType, TextDirection, TextEffect, TextHorzOverflowType, TextInputOptions, TextRun, TextVertOverflowType, TextVerticalType, TextWrappingSide, TextWrappingType, Textbox, TextboxTightWrapType, ThematicBreak, UnderlineType, UniqueNumericIdCreator, VerticalAlign, VerticalAlignSection, VerticalAlignTable, VerticalAnchor, VerticalMerge, VerticalMergeRevisionType, VerticalMergeType, VerticalPositionAlign, VerticalPositionRelativeFrom, WORKAROUND2, WORKAROUND4, WidthType, WpgCommonMediaData, WpgGroupRun, WpgMediaData, WpsMediaData, WpsShapeRun, XmlAttributeComponent, XmlComponent, YearLong, YearShort, abstractNumUniqueNumericIdGen, bookmarkUniqueNumericIdGen, buildDocumentAttributes, buildRunProperties, chartAttr, coerceSectionChild, concreteNumUniqueNumericIdGen, convertInchesToTwip, convertMillimetersToTwip, convertToXmlComponent, createAlignment, createBodyProperties, createBorderElement, createBreak, createCnfStyle, createColumns, createDataModel, createDivId, createDocumentGrid, createDotEmphasisMark, createEmphasisMark, createFormFieldData, createFrameProperties, createHeaderFooterReference, createHorizontalPosition, createIndent, createLineNumberType, createMathAccent, createMathAccentCharacter, createMathAccentProperties, createMathBar, createMathBarProperties, createMathBase, createMathBorderBoxProperties, createMathBoxProperties, createMathControlProperties, createMathEqArrProperties, createMathFractionProperties, createMathFunctionProperties, createMathGroupChrProperties, createMathLimitLocation, createMathLimitLowProperties, createMathLimitUpperProperties, createMathMatrixProperties, createMathNAryProperties, createMathPhantProperties, createMathPreSubSuperScriptProperties, createMathProperties, createMathRunProperties, createMathSubScriptElement, createMathSubScriptProperties, createMathSubSuperScriptProperties, createMathSuperScriptElement, createMathSuperScriptProperties, createOutlineLevel, createPageMargin, createPageNumberType, createPageSize, createParagraphStyle, createRuby, createRunFonts, createSectionType, createShading, createSimplePos, createSpacing, createStringElement, createTabStop, createTabStopItem, createTableFloatProperties, createTableLayout, createTableLook, createTableOverlap, createTableRowHeight, createTableWidthElement, createTransformation, createUnderline, createVerticalAlign, createVerticalPosition, createWrapNone, createWrapSquare, createWrapThrough, createWrapTight, createWrapTopAndBottom, docPropertiesUniqueNumericIdGen, getColorXml, getLayoutXml, getStyleXml, hashedId, parseArchive, parseDocument, parseDocx, patchDetector, patchDocument, sectionMarginDefaults, sectionPageSizeDefaults, uniqueId, uniqueNumericIdCreator, uniqueUuid, wrapEl };
4303
+ export { AbstractNumbering, AlignmentType, AltChunk, AltChunkCollection, AnnotationReference, AttributeData, AttributeMap, AttributePayload, Attributes, BaseXmlComponent, Bdo, Bibliography, Body, Bookmark, BookmarkEnd, BookmarkStart, Border, BorderStyle, BuilderElement, COLOR_CATEGORIES, CarriageReturn, CellMerge, CellMergeAttributes, CharacterSet, ChartCollection, ChartMediaData, ChartRun, ChartSpace, CheckBox, CheckBoxOptions, CheckBoxSymbolElement, CheckBoxUtil, CnfStyleOptions, Column, ColumnBreak, Comment, CommentRangeEnd, CommentRangeStart, CommentReference, Comments, ConcreteHyperlink, ConcreteNumbering, ContinuationSeparator, DEFAULT_DRAWING_XML, DayLong, DayShort, DeletedTableCell, DeletedTableRow, DeletedTextRun, Dir, File as Document, DocumentAttributeNamespace, DocumentAttributeNamespaces, DocumentBackground, DocumentBackgroundAttributes, DocumentDefaults, DocumentGridType, DocxDocument, DocxPartRefs, Drawing, DropCapType, DropDownListOptions, EMPTY_OBJECT, EditGroup, EditGroupType, EmphasisMarkType, EmptyElement, EndnoteIdReference, EndnoteReference, EndnoteReferenceRun, EndnoteReferenceRunAttributes, Endnotes, ExternalHyperlink, File, FileChild, FlatTextOptions, FootNoteReferenceRunAttributes, FootNotes, Footer, FooterWrapper, FootnoteReference, FootnoteReferenceElement, FootnoteReferenceRun, FormFieldCommonOptions, FormFieldOptions, FormFieldTextOptions, FormFieldTextType, FractionType, FrameAnchorType, FrameWrap, GridSpan, Header, HeaderFooterReferenceType, HeaderFooterType, HeaderWrapper, HeadingLevel, HeightRule, HighlightColor, HorizontalPositionAlign, HorizontalPositionRelativeFrom, HpsMeasureElement, HyperlinkType, IAlignmentFrameOptions, IAltChunkData, IAltChunkOptions, IBackgroundImageOptions, IBaseCharacterStyleOptions, IBaseParagraphStyleOptions, IBibliographyOptions, IBodyPropertiesOptions, IBookmarkOptions, IBorderOptions, IBordersOptions, ICellMergeAttributes, ICharacterStyleOptions, IChartChild, IChartData, IChartOptions, IChartSeriesData, IChartSpaceOptions, ICheckboxSymbolOptions, ICheckboxSymbolProperties, ICnfStyleOptions, IColumnAttributes, IColumnsAttributes, ICommentOptions, ICommentsOptions, IConcreteNumberingOptions, IContext, IDirOptions, IDistance, IDocGridAttributesProperties, IDocumentBackgroundOptions, IDocumentDefaultsOptions, IDocumentFooter, IDocumentHeader, IDocumentOptions, IDrawingOptions, IExtendedMediaData, IExternalHyperlinkOptions, IFloating, IFontAttributesProperties, IFrameOptions, IGroupChildMediaData, IHeaderFooterGroup, IHeaderFooterOptions, IHeaderOptions, IHorizontalPositionOptions, IImageChild, IImageOptions, IIndentAttributesProperties, IInternalHyperlinkOptions, ILevelsOptions, ILineNumberAttributes, IMargins, IMathBorderBoxOptions, IMathBoxOptions, IMathChild, IMathEqArrOptions, IMathFractionOptions, IMathFunctionOptions, IMathGroupChrOptions, IMathIntegralOptions, IMathLimitLowerOptions, IMathLimitUpperOptions, IMathMatrixOptions, IMathOptions, IMathParagraphOptions, IMathPhantOptions, IMathPreSubSuperScriptOptions, IMathRadicalOptions, IMathSubScriptOptions, IMathSubSuperScriptOptions, IMathSumOptions, IMathSuperScriptOptions, IMediaData, IMediaDataTransformation, IMediaTransformation, INumberedItemReferenceOptions, INumberingOptions, IPageBordersOptions, IPageMarginAttributes, IPageNumberTypeAttributes, IPageReferenceOptions, IPageSizeAttributes, IParagraphJsonChild, IParagraphOptions, IParagraphPropertiesChangeOptions, IParagraphPropertiesOptions, IParagraphPropertiesOptionsBase, IParagraphRunOptions, IParagraphRunPropertiesOptions, IParagraphStyleOptions, IParagraphStylePropertiesOptions, IPatch, IPermStartOptions, IPropertiesOptions, IRunOptions, IRunPropertiesChangeOptions, IRunPropertiesOptions, ISdtBlockOptions, ISdtCellOptions, ISdtRowOptions, ISdtRunOptions, ISectionOptions, ISectionPropertiesChangeOptions, ISectionPropertiesOptions, ISectionPropertiesOptionsBase, IShadingAttributesProperties, ISmartArtChild, ISmartArtData, ISmartArtNode, ISmartArtOptions, ISpacingProperties, IStylesOptions, ISubDocData, ISubDocOptions, ISymbolRunOptions, ITableBordersOptions, ITableCellBorders, ITableCellOptions, ITableFloatOptions, ITableLookOptions, ITableOfContentsOptions, ITableOptions, ITablePropertiesChangeOptions, ITablePropertiesOptions, ITablePropertiesOptionsBase, ITablePropertyExOptions, ITableRowOptions, ITableRowPropertiesChangeOptions, ITableRowPropertiesOptions, ITableRowPropertiesOptionsBase, ITableWidthProperties, ITextWrapping, ITextboxOptions, ITreeNode, IVerticalPositionOptions, IWpgGroupOptions, IWpsShapeOptions, IXYFrameOptions, IXmlableObject, IgnoreIfEmptyXmlComponent, ImageRun, ImportedRootElementAttributes, ImportedXmlComponent, InitializableXmlComponent, InputDataType, InsertedTableCell, InsertedTableRow, InsertedTextRun, InternalHyperlink, LAYOUT_CATEGORIES, LastRenderedPageBreak, LeaderType, Level, LevelBase, LevelForOverride, LevelFormat, LevelOverride, LevelParagraphStylePropertiesOptions, LevelSuffix, LineNumberRestartFormat, LineRuleType, Math, MathAccentOptions, MathAccentPropertiesOptions, MathAngledBrackets, MathBaseOptions, MathBorderBox, MathBorderBoxPropertiesOptions, MathBox, MathBoxPropertiesOptions, MathBreakBin, MathBreakBinSub, MathComponent, MathControlPropertiesOptions, MathCurlyBrackets, MathDegree, MathDenominator, MathEqArr, MathEqArrPropertiesOptions, MathFraction, MathFractionPropertiesOptions, MathFunction, MathFunctionName, MathFunctionPropertiesOptions, MathGroupChr, MathGroupChrPropertiesOptions, MathIntegral, MathJson, MathJustification, MathLimit, MathLimitLowPropertiesOptions, MathLimitLower, MathLimitUpper, MathLimitUpperPropertiesOptions, MathMatrix, MathMatrixPropertiesOptions, MathNAryPropertiesOptions, MathNumerator, MathParagraph, MathPhant, MathPhantPropertiesOptions, MathPreSubSuperScript, MathPropertiesJustification, MathPropertiesOptions, MathRadical, MathRadicalProperties, MathRoundBrackets, MathRun, MathRunOptions, MathRunPropertiesOptions, MathScriptType, MathSquareBrackets, MathStyleType, MathSubScript, MathSubSuperScript, MathSubSuperScriptPropertiesOptions, MathSum, MathSuperScript, Media, MonthLong, MonthShort, MoveFromRangeEnd, MoveFromRangeStart, MoveToRangeEnd, MoveToRangeStart, MovedFromTextRun, MovedToTextRun, NextAttributeComponent, NoBreakHyphen, NormalAutofitOptions, NumberFormat, NumberProperties, NumberValueElement, NumberedItemReference, NumberedItemReferenceFormat, Numbering, OnOffElement, OutputByType, OutputType, OverlapType, Packer, PageBorderDisplay, PageBorderOffsetFrom, PageBorderZOrder, PageBorders, PageBreak, PageBreakBefore, PageNumber, PageNumberElement, PageNumberSeparator, PageOrientation, PageReference, PageTextDirection, PageTextDirectionType, Paragraph, ParagraphChild, ParagraphProperties, ParagraphPropertiesChange, ParagraphPropertiesDefaults, ParagraphRunProperties, PatchDocumentOptions, PatchDocumentOutputType, PatchType, PermEnd, PermStart, PositionalTab, PositionalTabAlignment, PositionalTabLeader, PositionalTabOptions, PositionalTabRelativeTo, PresetTextShapeOptions, PrettifyType, RelativeHorizontalPosition, RelativeVerticalPosition, RubyAlign, RubyOptions, Run, RunProperties, RunPropertiesChange, RunPropertiesDefaults, RunStylePropertiesOptions, STYLE_CATEGORIES, SdtComboBoxOptions, SdtDataBindingOptions, SdtDateMappingType, SdtDateOptions, SdtDropDownListOptions, SdtListItem, SdtLock, SdtPropertiesOptions, SdtTextOptions, SectionChild, SectionProperties, SectionPropertiesChange, SectionType, SectionVerticalAlign, Separator, SequentialIdentifier, ShadingType, SimpleField, SimpleMailMergeField, SmartArtCollection, SmartArtMediaData, SmartArtRun, SoftHyphen, SourceTypeOptions, SpaceType, StringContainer, StringEnumValueElement, StringValueElement, StructuredDocumentTagBlock, StructuredDocumentTagCell, StructuredDocumentTagContent, StructuredDocumentTagProperties, StructuredDocumentTagRow, StructuredDocumentTagRun, StyleForCharacter, StyleForParagraph, StyleLevel, Styles, SubDoc, SubDocCollection, SymbolRun, TDirection, Tab, TabStopDefinition, TabStopPosition, TabStopType, Table, TableAnchorType, TableBorders, TableCell, TableCellBorders, TableLayoutType, TableOfContents, TableProperties, TablePropertyExceptions, TableRow, TableRowProperties, TableRowPropertiesChange, TableVerticalAlign, TextAlignmentType, TextBodyWrappingType, TextDirection, TextEffect, TextHorzOverflowType, TextInputOptions, TextRun, TextVertOverflowType, TextVerticalType, TextWrappingSide, TextWrappingType, Textbox, TextboxTightWrapType, ThematicBreak, UnderlineType, UniqueNumericIdCreator, VerticalAlign, VerticalAlignSection, VerticalAlignTable, VerticalAnchor, VerticalMerge, VerticalMergeRevisionType, VerticalMergeType, VerticalPositionAlign, VerticalPositionRelativeFrom, WORKAROUND2, WORKAROUND4, WidthType, WpgCommonMediaData, WpgGroupRun, WpgMediaData, WpsMediaData, WpsShapeRun, XmlAttributeComponent, XmlComponent, YearLong, YearShort, abstractNumUniqueNumericIdGen, bookmarkUniqueNumericIdGen, buildDocumentAttributes, buildRunProperties, chartAttr, coerceMathJson, coerceSectionChild, concreteNumUniqueNumericIdGen, convertInchesToTwip, convertMillimetersToTwip, convertToXmlComponent, createAlignment, createBodyProperties, createBorderElement, createBreak, createCnfStyle, createColumns, createDataModel, createDivId, createDocumentGrid, createDotEmphasisMark, createEmphasisMark, createFormFieldData, createFrameProperties, createHeaderFooterReference, createHorizontalPosition, createIndent, createLineNumberType, createMathAccent, createMathAccentCharacter, createMathAccentProperties, createMathBar, createMathBarProperties, createMathBase, createMathBorderBoxProperties, createMathBoxProperties, createMathControlProperties, createMathEqArrProperties, createMathFractionProperties, createMathFunctionProperties, createMathGroupChrProperties, createMathLimitLocation, createMathLimitLowProperties, createMathLimitUpperProperties, createMathMatrixProperties, createMathNAryProperties, createMathPhantProperties, createMathPreSubSuperScriptProperties, createMathProperties, createMathRunProperties, createMathSubScriptElement, createMathSubScriptProperties, createMathSubSuperScriptProperties, createMathSuperScriptElement, createMathSuperScriptProperties, createOutlineLevel, createPageMargin, createPageNumberType, createPageSize, createParagraphStyle, createRuby, createRunFonts, createSectionType, createShading, createSimplePos, createSpacing, createStringElement, createTabStop, createTabStopItem, createTableFloatProperties, createTableLayout, createTableLook, createTableOverlap, createTableRowHeight, createTableWidthElement, createTransformation, createUnderline, createVerticalAlign, createVerticalPosition, createWrapNone, createWrapSquare, createWrapThrough, createWrapTight, createWrapTopAndBottom, docPropertiesUniqueNumericIdGen, getColorXml, getLayoutXml, getStyleXml, hashedId, parseArchive, parseDocument, parseDocx, parseMathChildren, patchDetector, patchDocument, sectionMarginDefaults, sectionPageSizeDefaults, uniqueId, uniqueNumericIdCreator, uniqueUuid, wrapEl };
4154
4304
  }
4155
4305
  //#endregion
4156
- export { AbstractNumbering, AlignmentType, AltChunk, AltChunkCollection, AnnotationReference, type AttributeData, type AttributeMap, type AttributePayload, Attributes, BaseXmlComponent, Bdo, Bibliography, Body, Bookmark, BookmarkEnd, BookmarkStart, Border, BorderStyle, BuilderElement, COLOR_CATEGORIES, CarriageReturn, CellMerge, CellMergeAttributes, CharacterSet, ChartCollection, ChartMediaData, ChartRun, ChartSpace, CheckBox, CheckBoxOptions, CheckBoxSymbolElement, CheckBoxUtil, CnfStyleOptions, Column, ColumnBreak, Comment, CommentRangeEnd, CommentRangeStart, CommentReference, Comments, ConcreteHyperlink, ConcreteNumbering, ContinuationSeparator, DEFAULT_DRAWING_XML, DayLong, DayShort, DeletedTableCell, DeletedTableRow, DeletedTextRun, Dir, File as Document, File, DocumentAttributeNamespace, DocumentAttributeNamespaces, DocumentBackground, DocumentBackgroundAttributes, DocumentDefaults, DocumentGridType, DocxDocument, DocxPartRefs, Drawing, DropCapType, DropDownListOptions, EMPTY_OBJECT, EditGroup, EditGroupType, EmphasisMarkType, EmptyElement, EndnoteIdReference, EndnoteReference, EndnoteReferenceRun, EndnoteReferenceRunAttributes, Endnotes, ExternalHyperlink, FileChild, FlatTextOptions, FootNoteReferenceRunAttributes, FootNotes, Footer, FooterWrapper, FootnoteReference, FootnoteReferenceElement, FootnoteReferenceRun, FormFieldCommonOptions, FormFieldOptions, FormFieldTextOptions, FormFieldTextType, FractionType, FrameAnchorType, FrameWrap, GridSpan, Header, HeaderFooterReferenceType, HeaderFooterType, HeaderWrapper, HeadingLevel, HeightRule, HighlightColor, HorizontalPositionAlign, HorizontalPositionRelativeFrom, HpsMeasureElement, HyperlinkType, IAlignmentFrameOptions, IAltChunkData, IAltChunkOptions, IBackgroundImageOptions, IBaseCharacterStyleOptions, IBaseParagraphStyleOptions, IBibliographyOptions, IBodyPropertiesOptions, IBookmarkOptions, IBorderOptions, IBordersOptions, ICellMergeAttributes, ICharacterStyleOptions, IChartChild, type IChartData, IChartOptions, type IChartSeriesData, type IChartSpaceOptions, ICheckboxSymbolOptions, ICheckboxSymbolProperties, ICnfStyleOptions, IColumnAttributes, IColumnsAttributes, ICommentOptions, ICommentsOptions, IConcreteNumberingOptions, type IContext, IDirOptions, IDistance, IDocGridAttributesProperties, IDocumentBackgroundOptions, IDocumentDefaultsOptions, IDocumentFooter, IDocumentHeader, IDocumentOptions, IDrawingOptions, IExtendedMediaData, IExternalHyperlinkOptions, IFloating, IFontAttributesProperties, IFrameOptions, IGroupChildMediaData, IHeaderFooterGroup, IHeaderFooterOptions, IHeaderOptions, IHorizontalPositionOptions, IImageChild, IImageOptions, IIndentAttributesProperties, IInternalHyperlinkOptions, ILevelsOptions, ILineNumberAttributes, IMargins, IMathBorderBoxOptions, IMathBoxOptions, IMathEqArrOptions, IMathFractionOptions, IMathFunctionOptions, IMathGroupChrOptions, IMathIntegralOptions, IMathLimitLowerOptions, IMathLimitUpperOptions, IMathMatrixOptions, IMathOptions, IMathParagraphOptions, IMathPhantOptions, IMathPreSubSuperScriptOptions, IMathRadicalOptions, IMathSubScriptOptions, IMathSubSuperScriptOptions, IMathSumOptions, IMathSuperScriptOptions, IMediaData, IMediaDataTransformation, IMediaTransformation, INumberedItemReferenceOptions, INumberingOptions, IPageBordersOptions, IPageMarginAttributes, IPageNumberTypeAttributes, IPageReferenceOptions, IPageSizeAttributes, IParagraphOptions, IParagraphPropertiesChangeOptions, IParagraphPropertiesOptions, IParagraphPropertiesOptionsBase, IParagraphRunOptions, IParagraphRunPropertiesOptions, IParagraphStyleOptions, IParagraphStylePropertiesOptions, IPatch, IPermStartOptions, type IPropertiesOptions, IRunOptions, IRunPropertiesChangeOptions, IRunPropertiesOptions, ISdtBlockOptions, ISdtCellOptions, ISdtRowOptions, ISdtRunOptions, ISectionOptions, ISectionPropertiesChangeOptions, ISectionPropertiesOptions, ISectionPropertiesOptionsBase, IShadingAttributesProperties, ISmartArtChild, type ISmartArtData, ISmartArtNode, ISmartArtOptions, ISpacingProperties, IStylesOptions, ISubDocData, ISubDocOptions, ISymbolRunOptions, ITableBordersOptions, ITableCellBorders, ITableCellOptions, ITableFloatOptions, ITableLookOptions, ITableOfContentsOptions, ITableOptions, ITablePropertiesChangeOptions, ITablePropertiesOptions, ITablePropertiesOptionsBase, ITablePropertyExOptions, ITableRowOptions, ITableRowPropertiesChangeOptions, ITableRowPropertiesOptions, ITableRowPropertiesOptionsBase, ITableWidthProperties, ITextWrapping, ITextboxOptions, type ITreeNode, IVerticalPositionOptions, IWpgGroupOptions, IWpsShapeOptions, IXYFrameOptions, type IXmlableObject, IgnoreIfEmptyXmlComponent, ImageRun, ImportedRootElementAttributes, ImportedXmlComponent, InitializableXmlComponent, InputDataType, InsertedTableCell, InsertedTableRow, InsertedTextRun, InternalHyperlink, LAYOUT_CATEGORIES, LastRenderedPageBreak, LeaderType, Level, LevelBase, LevelForOverride, LevelFormat, LevelOverride, LevelParagraphStylePropertiesOptions, LevelSuffix, LineNumberRestartFormat, LineRuleType, Math, MathAccentOptions, MathAccentPropertiesOptions, MathAngledBrackets, MathBaseOptions, MathBorderBox, MathBorderBoxPropertiesOptions, MathBox, MathBoxPropertiesOptions, MathBreakBin, MathBreakBinSub, MathComponent, MathControlPropertiesOptions, MathCurlyBrackets, MathDegree, MathDenominator, MathEqArr, MathEqArrPropertiesOptions, MathFraction, MathFractionPropertiesOptions, MathFunction, MathFunctionName, MathFunctionPropertiesOptions, MathGroupChr, MathGroupChrPropertiesOptions, MathIntegral, MathJustification, MathLimit, MathLimitLowPropertiesOptions, MathLimitLower, MathLimitUpper, MathLimitUpperPropertiesOptions, MathMatrix, MathMatrixPropertiesOptions, MathNAryPropertiesOptions, MathNumerator, MathParagraph, MathPhant, MathPhantPropertiesOptions, MathPreSubSuperScript, MathPropertiesJustification, MathPropertiesOptions, MathRadical, MathRadicalProperties, MathRoundBrackets, MathRun, MathRunOptions, MathRunPropertiesOptions, MathScriptType, MathSquareBrackets, MathStyleType, MathSubScript, MathSubSuperScript, MathSubSuperScriptPropertiesOptions, MathSum, MathSuperScript, Media, MonthLong, MonthShort, MoveFromRangeEnd, MoveFromRangeStart, MoveToRangeEnd, MoveToRangeStart, MovedFromTextRun, MovedToTextRun, NextAttributeComponent, NoBreakHyphen, NormalAutofitOptions, NumberFormat, NumberProperties, NumberValueElement, NumberedItemReference, NumberedItemReferenceFormat, Numbering, OnOffElement, type OutputByType, type OutputType, OverlapType, Packer, PageBorderDisplay, PageBorderOffsetFrom, PageBorderZOrder, PageBorders, PageBreak, PageBreakBefore, PageNumber, PageNumberElement, PageNumberSeparator, PageOrientation, PageReference, PageTextDirection, PageTextDirectionType, Paragraph, ParagraphChild, ParagraphProperties, ParagraphPropertiesChange, ParagraphPropertiesDefaults, ParagraphRunProperties, PatchDocumentOptions, PatchDocumentOutputType, PatchType, PermEnd, PermStart, PositionalTab, PositionalTabAlignment, PositionalTabLeader, PositionalTabOptions, PositionalTabRelativeTo, PresetTextShapeOptions, PrettifyType, RelativeHorizontalPosition, RelativeVerticalPosition, RubyAlign, RubyOptions, Run, RunProperties, RunPropertiesChange, RunPropertiesDefaults, RunStylePropertiesOptions, STYLE_CATEGORIES, SdtComboBoxOptions, SdtDataBindingOptions, SdtDateMappingType, SdtDateOptions, SdtDropDownListOptions, SdtListItem, SdtLock, SdtPropertiesOptions, SdtTextOptions, SectionChild, SectionProperties, SectionPropertiesChange, SectionType, SectionVerticalAlign, Separator, SequentialIdentifier, ShadingType, SimpleField, SimpleMailMergeField, SmartArtCollection, SmartArtMediaData, SmartArtRun, SoftHyphen, SourceTypeOptions, SpaceType, StringContainer, StringEnumValueElement, StringValueElement, StructuredDocumentTagBlock, StructuredDocumentTagCell, StructuredDocumentTagContent, StructuredDocumentTagProperties, StructuredDocumentTagRow, StructuredDocumentTagRun, StyleForCharacter, StyleForParagraph, StyleLevel, Styles, SubDoc, SubDocCollection, SymbolRun, TDirection, Tab, TabStopDefinition, TabStopPosition, TabStopType, Table, TableAnchorType, TableBorders, TableCell, TableCellBorders, TableLayoutType, TableOfContents, TableProperties, TablePropertyExceptions, TableRow, TableRowProperties, TableRowPropertiesChange, TableVerticalAlign, TextAlignmentType, TextBodyWrappingType, TextDirection, TextEffect, TextHorzOverflowType, TextInputOptions, TextRun, TextVertOverflowType, TextVerticalType, TextWrappingSide, TextWrappingType, Textbox, TextboxTightWrapType, ThematicBreak, UnderlineType, type UniqueNumericIdCreator, VerticalAlign, VerticalAlignSection, VerticalAlignTable, VerticalAnchor, VerticalMerge, VerticalMergeRevisionType, VerticalMergeType, VerticalPositionAlign, VerticalPositionRelativeFrom, WORKAROUND2, WORKAROUND4, WidthType, WpgCommonMediaData, WpgGroupRun, WpgMediaData, WpsMediaData, WpsShapeRun, XmlAttributeComponent, XmlComponent, YearLong, YearShort, abstractNumUniqueNumericIdGen, bookmarkUniqueNumericIdGen, buildDocumentAttributes, buildRunProperties, chartAttr, coerceSectionChild, concreteNumUniqueNumericIdGen, convertInchesToTwip, convertMillimetersToTwip, convertToXmlComponent, createAlignment, createBodyProperties, createBorderElement, createBreak, createCnfStyle, createColumns, createDataModel, createDivId, createDocumentGrid, createDotEmphasisMark, createEmphasisMark, createFormFieldData, createFrameProperties, createHeaderFooterReference, createHorizontalPosition, createIndent, createLineNumberType, createMathAccent, createMathAccentCharacter, createMathAccentProperties, createMathBar, createMathBarProperties, createMathBase, createMathBorderBoxProperties, createMathBoxProperties, createMathControlProperties, createMathEqArrProperties, createMathFractionProperties, createMathFunctionProperties, createMathGroupChrProperties, createMathLimitLocation, createMathLimitLowProperties, createMathLimitUpperProperties, createMathMatrixProperties, createMathNAryProperties, createMathPhantProperties, createMathPreSubSuperScriptProperties, createMathProperties, createMathRunProperties, createMathSubScriptElement, createMathSubScriptProperties, createMathSubSuperScriptProperties, createMathSuperScriptElement, createMathSuperScriptProperties, createOutlineLevel, createPageMargin, createPageNumberType, createPageSize, createParagraphStyle, createRuby, createRunFonts, createSectionType, createShading, createSimplePos, createSpacing, createStringElement, createTabStop, createTabStopItem, createTableFloatProperties, createTableLayout, createTableLook, createTableOverlap, createTableRowHeight, createTableWidthElement, createTransformation, createUnderline, createVerticalAlign, createVerticalPosition, createWrapNone, createWrapSquare, createWrapThrough, createWrapTight, createWrapTopAndBottom, docPropertiesUniqueNumericIdGen, getColorXml, getLayoutXml, getStyleXml, hashedId, parseArchive, parseDocument, parseDocx, patchDetector, patchDocument, sectionMarginDefaults, sectionPageSizeDefaults, uniqueId, uniqueNumericIdCreator, uniqueUuid, wrapEl };
4306
+ export { AbstractNumbering, AlignmentType, AltChunk, AltChunkCollection, AnnotationReference, type AttributeData, type AttributeMap, type AttributePayload, Attributes, BaseXmlComponent, Bdo, Bibliography, Body, Bookmark, BookmarkEnd, BookmarkStart, Border, BorderStyle, BuilderElement, COLOR_CATEGORIES, CarriageReturn, CellMerge, CellMergeAttributes, CharacterSet, ChartCollection, ChartMediaData, ChartRun, ChartSpace, CheckBox, CheckBoxOptions, CheckBoxSymbolElement, CheckBoxUtil, CnfStyleOptions, Column, ColumnBreak, Comment, CommentRangeEnd, CommentRangeStart, CommentReference, Comments, ConcreteHyperlink, ConcreteNumbering, ContinuationSeparator, DEFAULT_DRAWING_XML, DayLong, DayShort, DeletedTableCell, DeletedTableRow, DeletedTextRun, Dir, File as Document, File, DocumentAttributeNamespace, DocumentAttributeNamespaces, DocumentBackground, DocumentBackgroundAttributes, DocumentDefaults, DocumentGridType, DocxDocument, DocxPartRefs, Drawing, DropCapType, DropDownListOptions, EMPTY_OBJECT, EditGroup, EditGroupType, EmphasisMarkType, EmptyElement, EndnoteIdReference, EndnoteReference, EndnoteReferenceRun, EndnoteReferenceRunAttributes, Endnotes, ExternalHyperlink, FileChild, FlatTextOptions, FootNoteReferenceRunAttributes, FootNotes, Footer, FooterWrapper, FootnoteReference, FootnoteReferenceElement, FootnoteReferenceRun, FormFieldCommonOptions, FormFieldOptions, FormFieldTextOptions, FormFieldTextType, FractionType, FrameAnchorType, FrameWrap, GridSpan, Header, HeaderFooterReferenceType, HeaderFooterType, HeaderWrapper, HeadingLevel, HeightRule, HighlightColor, HorizontalPositionAlign, HorizontalPositionRelativeFrom, HpsMeasureElement, HyperlinkType, IAlignmentFrameOptions, IAltChunkData, IAltChunkOptions, IBackgroundImageOptions, IBaseCharacterStyleOptions, IBaseParagraphStyleOptions, IBibliographyOptions, IBodyPropertiesOptions, IBookmarkOptions, IBorderOptions, IBordersOptions, ICellMergeAttributes, ICharacterStyleOptions, IChartChild, type IChartData, IChartOptions, type IChartSeriesData, type IChartSpaceOptions, ICheckboxSymbolOptions, ICheckboxSymbolProperties, ICnfStyleOptions, IColumnAttributes, IColumnsAttributes, ICommentOptions, ICommentsOptions, IConcreteNumberingOptions, type IContext, IDirOptions, IDistance, IDocGridAttributesProperties, IDocumentBackgroundOptions, IDocumentDefaultsOptions, IDocumentFooter, IDocumentHeader, IDocumentOptions, IDrawingOptions, IExtendedMediaData, IExternalHyperlinkOptions, IFloating, IFontAttributesProperties, IFrameOptions, IGroupChildMediaData, IHeaderFooterGroup, IHeaderFooterOptions, IHeaderOptions, IHorizontalPositionOptions, IImageChild, IImageOptions, IIndentAttributesProperties, IInternalHyperlinkOptions, ILevelsOptions, ILineNumberAttributes, IMargins, IMathBorderBoxOptions, IMathBoxOptions, IMathChild, IMathEqArrOptions, IMathFractionOptions, IMathFunctionOptions, IMathGroupChrOptions, IMathIntegralOptions, IMathLimitLowerOptions, IMathLimitUpperOptions, IMathMatrixOptions, IMathOptions, IMathParagraphOptions, IMathPhantOptions, IMathPreSubSuperScriptOptions, IMathRadicalOptions, IMathSubScriptOptions, IMathSubSuperScriptOptions, IMathSumOptions, IMathSuperScriptOptions, IMediaData, IMediaDataTransformation, IMediaTransformation, INumberedItemReferenceOptions, INumberingOptions, IPageBordersOptions, IPageMarginAttributes, IPageNumberTypeAttributes, IPageReferenceOptions, IPageSizeAttributes, IParagraphJsonChild, IParagraphOptions, IParagraphPropertiesChangeOptions, IParagraphPropertiesOptions, IParagraphPropertiesOptionsBase, IParagraphRunOptions, IParagraphRunPropertiesOptions, IParagraphStyleOptions, IParagraphStylePropertiesOptions, IPatch, IPermStartOptions, type IPropertiesOptions, IRunOptions, IRunPropertiesChangeOptions, IRunPropertiesOptions, ISdtBlockOptions, ISdtCellOptions, ISdtRowOptions, ISdtRunOptions, ISectionOptions, ISectionPropertiesChangeOptions, ISectionPropertiesOptions, ISectionPropertiesOptionsBase, IShadingAttributesProperties, ISmartArtChild, type ISmartArtData, ISmartArtNode, ISmartArtOptions, ISpacingProperties, IStylesOptions, ISubDocData, ISubDocOptions, ISymbolRunOptions, ITableBordersOptions, ITableCellBorders, ITableCellOptions, ITableFloatOptions, ITableLookOptions, ITableOfContentsOptions, ITableOptions, ITablePropertiesChangeOptions, ITablePropertiesOptions, ITablePropertiesOptionsBase, ITablePropertyExOptions, ITableRowOptions, ITableRowPropertiesChangeOptions, ITableRowPropertiesOptions, ITableRowPropertiesOptionsBase, ITableWidthProperties, ITextWrapping, ITextboxOptions, type ITreeNode, IVerticalPositionOptions, IWpgGroupOptions, IWpsShapeOptions, IXYFrameOptions, type IXmlableObject, IgnoreIfEmptyXmlComponent, ImageRun, ImportedRootElementAttributes, ImportedXmlComponent, InitializableXmlComponent, InputDataType, InsertedTableCell, InsertedTableRow, InsertedTextRun, InternalHyperlink, LAYOUT_CATEGORIES, LastRenderedPageBreak, LeaderType, Level, LevelBase, LevelForOverride, LevelFormat, LevelOverride, LevelParagraphStylePropertiesOptions, LevelSuffix, LineNumberRestartFormat, LineRuleType, Math, MathAccentOptions, MathAccentPropertiesOptions, MathAngledBrackets, MathBaseOptions, MathBorderBox, MathBorderBoxPropertiesOptions, MathBox, MathBoxPropertiesOptions, MathBreakBin, MathBreakBinSub, MathComponent, MathControlPropertiesOptions, MathCurlyBrackets, MathDegree, MathDenominator, MathEqArr, MathEqArrPropertiesOptions, MathFraction, MathFractionPropertiesOptions, MathFunction, MathFunctionName, MathFunctionPropertiesOptions, MathGroupChr, MathGroupChrPropertiesOptions, MathIntegral, MathJson, MathJustification, MathLimit, MathLimitLowPropertiesOptions, MathLimitLower, MathLimitUpper, MathLimitUpperPropertiesOptions, MathMatrix, MathMatrixPropertiesOptions, MathNAryPropertiesOptions, MathNumerator, MathParagraph, MathPhant, MathPhantPropertiesOptions, MathPreSubSuperScript, MathPropertiesJustification, MathPropertiesOptions, MathRadical, MathRadicalProperties, MathRoundBrackets, MathRun, MathRunOptions, MathRunPropertiesOptions, MathScriptType, MathSquareBrackets, MathStyleType, MathSubScript, MathSubSuperScript, MathSubSuperScriptPropertiesOptions, MathSum, MathSuperScript, Media, MonthLong, MonthShort, MoveFromRangeEnd, MoveFromRangeStart, MoveToRangeEnd, MoveToRangeStart, MovedFromTextRun, MovedToTextRun, NextAttributeComponent, NoBreakHyphen, NormalAutofitOptions, NumberFormat, NumberProperties, NumberValueElement, NumberedItemReference, NumberedItemReferenceFormat, Numbering, OnOffElement, type OutputByType, type OutputType, OverlapType, Packer, PageBorderDisplay, PageBorderOffsetFrom, PageBorderZOrder, PageBorders, PageBreak, PageBreakBefore, PageNumber, PageNumberElement, PageNumberSeparator, PageOrientation, PageReference, PageTextDirection, PageTextDirectionType, Paragraph, ParagraphChild, ParagraphProperties, ParagraphPropertiesChange, ParagraphPropertiesDefaults, ParagraphRunProperties, PatchDocumentOptions, PatchDocumentOutputType, PatchType, PermEnd, PermStart, PositionalTab, PositionalTabAlignment, PositionalTabLeader, PositionalTabOptions, PositionalTabRelativeTo, PresetTextShapeOptions, PrettifyType, RelativeHorizontalPosition, RelativeVerticalPosition, RubyAlign, RubyOptions, Run, RunProperties, RunPropertiesChange, RunPropertiesDefaults, RunStylePropertiesOptions, STYLE_CATEGORIES, SdtComboBoxOptions, SdtDataBindingOptions, SdtDateMappingType, SdtDateOptions, SdtDropDownListOptions, SdtListItem, SdtLock, SdtPropertiesOptions, SdtTextOptions, SectionChild, SectionProperties, SectionPropertiesChange, SectionType, SectionVerticalAlign, Separator, SequentialIdentifier, ShadingType, SimpleField, SimpleMailMergeField, SmartArtCollection, SmartArtMediaData, SmartArtRun, SoftHyphen, SourceTypeOptions, SpaceType, StringContainer, StringEnumValueElement, StringValueElement, StructuredDocumentTagBlock, StructuredDocumentTagCell, StructuredDocumentTagContent, StructuredDocumentTagProperties, StructuredDocumentTagRow, StructuredDocumentTagRun, StyleForCharacter, StyleForParagraph, StyleLevel, Styles, SubDoc, SubDocCollection, SymbolRun, TDirection, Tab, TabStopDefinition, TabStopPosition, TabStopType, Table, TableAnchorType, TableBorders, TableCell, TableCellBorders, TableLayoutType, TableOfContents, TableProperties, TablePropertyExceptions, TableRow, TableRowProperties, TableRowPropertiesChange, TableVerticalAlign, TextAlignmentType, TextBodyWrappingType, TextDirection, TextEffect, TextHorzOverflowType, TextInputOptions, TextRun, TextVertOverflowType, TextVerticalType, TextWrappingSide, TextWrappingType, Textbox, TextboxTightWrapType, ThematicBreak, UnderlineType, type UniqueNumericIdCreator, VerticalAlign, VerticalAlignSection, VerticalAlignTable, VerticalAnchor, VerticalMerge, VerticalMergeRevisionType, VerticalMergeType, VerticalPositionAlign, VerticalPositionRelativeFrom, WORKAROUND2, WORKAROUND4, WidthType, WpgCommonMediaData, WpgGroupRun, WpgMediaData, WpsMediaData, WpsShapeRun, XmlAttributeComponent, XmlComponent, YearLong, YearShort, abstractNumUniqueNumericIdGen, bookmarkUniqueNumericIdGen, buildDocumentAttributes, buildRunProperties, chartAttr, coerceMathJson, coerceSectionChild, concreteNumUniqueNumericIdGen, convertInchesToTwip, convertMillimetersToTwip, convertToXmlComponent, createAlignment, createBodyProperties, createBorderElement, createBreak, createCnfStyle, createColumns, createDataModel, createDivId, createDocumentGrid, createDotEmphasisMark, createEmphasisMark, createFormFieldData, createFrameProperties, createHeaderFooterReference, createHorizontalPosition, createIndent, createLineNumberType, createMathAccent, createMathAccentCharacter, createMathAccentProperties, createMathBar, createMathBarProperties, createMathBase, createMathBorderBoxProperties, createMathBoxProperties, createMathControlProperties, createMathEqArrProperties, createMathFractionProperties, createMathFunctionProperties, createMathGroupChrProperties, createMathLimitLocation, createMathLimitLowProperties, createMathLimitUpperProperties, createMathMatrixProperties, createMathNAryProperties, createMathPhantProperties, createMathPreSubSuperScriptProperties, createMathProperties, createMathRunProperties, createMathSubScriptElement, createMathSubScriptProperties, createMathSubSuperScriptProperties, createMathSuperScriptElement, createMathSuperScriptProperties, createOutlineLevel, createPageMargin, createPageNumberType, createPageSize, createParagraphStyle, createRuby, createRunFonts, createSectionType, createShading, createSimplePos, createSpacing, createStringElement, createTabStop, createTabStopItem, createTableFloatProperties, createTableLayout, createTableLook, createTableOverlap, createTableRowHeight, createTableWidthElement, createTransformation, createUnderline, createVerticalAlign, createVerticalPosition, createWrapNone, createWrapSquare, createWrapThrough, createWrapTight, createWrapTopAndBottom, docPropertiesUniqueNumericIdGen, getColorXml, getLayoutXml, getStyleXml, hashedId, parseArchive, parseDocument, parseDocx, parseMathChildren, patchDetector, patchDocument, sectionMarginDefaults, sectionPageSizeDefaults, uniqueId, uniqueNumericIdCreator, uniqueUuid, wrapEl };
4157
4307
  //# sourceMappingURL=index.d.mts.map