@office-open/docx 0.5.1 → 0.5.2

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,580 +1479,526 @@ 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[];
1482
+ //#region src/file/paragraph/math/border-box/math-border-box-properties.d.ts
1483
+ interface MathBorderBoxPropertiesOptions {
1484
+ readonly hideTop?: boolean;
1485
+ readonly hideBottom?: boolean;
1486
+ readonly hideLeft?: boolean;
1487
+ readonly hideRight?: boolean;
1488
+ readonly strikeHorizontal?: boolean;
1489
+ readonly strikeVertical?: boolean;
1490
+ readonly strikeDiagonalUp?: boolean;
1491
+ readonly strikeDiagonalDown?: boolean;
1492
1492
  }
1493
- declare class CommentRangeStart extends XmlComponent {
1494
- constructor(id: number);
1493
+ declare const createMathBorderBoxProperties: (options: MathBorderBoxPropertiesOptions) => XmlComponent;
1494
+ //#endregion
1495
+ //#region src/file/paragraph/math/border-box/math-border-box.d.ts
1496
+ interface IMathBorderBoxOptions {
1497
+ readonly properties?: MathBorderBoxPropertiesOptions;
1498
+ readonly children: readonly MathComponent[];
1495
1499
  }
1496
- declare class CommentRangeEnd extends XmlComponent {
1497
- constructor(id: number);
1500
+ declare class MathBorderBox extends XmlComponent {
1501
+ constructor(options: IMathBorderBoxOptions);
1498
1502
  }
1499
- declare class CommentReference extends XmlComponent {
1500
- constructor(id: number);
1503
+ //#endregion
1504
+ //#region src/file/paragraph/math/box/math-box-properties.d.ts
1505
+ interface MathBoxPropertiesOptions {
1506
+ readonly opEmu?: boolean;
1507
+ readonly noBreak?: boolean;
1508
+ readonly diff?: boolean;
1509
+ readonly aln?: boolean;
1501
1510
  }
1502
- declare class Comment extends XmlComponent {
1503
- constructor({
1504
- id,
1505
- initials,
1506
- author,
1507
- date,
1508
- children
1509
- }: ICommentOptions);
1511
+ declare const createMathBoxProperties: (options: MathBoxPropertiesOptions) => XmlComponent;
1512
+ //#endregion
1513
+ //#region src/file/paragraph/math/box/math-box.d.ts
1514
+ interface IMathBoxOptions {
1515
+ readonly properties?: MathBoxPropertiesOptions;
1516
+ readonly children: readonly MathComponent[];
1510
1517
  }
1511
- declare class Comments extends XmlComponent {
1512
- private readonly relationships;
1513
- constructor({
1514
- children
1515
- }: ICommentsOptions);
1516
- get Relationships(): Relationships;
1518
+ declare class MathBox extends XmlComponent {
1519
+ constructor(options: IMathBoxOptions);
1517
1520
  }
1518
1521
  //#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];
1522
+ //#region src/file/paragraph/math/brackets/math-round-brackets.d.ts
1523
+ declare class MathRoundBrackets extends XmlComponent {
1524
+ constructor(options: {
1525
+ readonly children: readonly MathComponent[];
1526
+ });
1540
1527
  }
1541
- declare class PositionalTab extends XmlComponent {
1542
- constructor(options: PositionalTabOptions);
1528
+ //#endregion
1529
+ //#region src/file/paragraph/math/brackets/math-square-brackets.d.ts
1530
+ declare class MathSquareBrackets extends XmlComponent {
1531
+ constructor(options: {
1532
+ readonly children: readonly MathComponent[];
1533
+ });
1543
1534
  }
1544
1535
  //#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;
1536
+ //#region src/file/paragraph/math/brackets/math-curly-brackets.d.ts
1537
+ declare class MathCurlyBrackets extends XmlComponent {
1538
+ constructor(options: {
1539
+ readonly children: readonly MathComponent[];
1540
+ });
1563
1541
  }
1564
- declare const createRuby: (options: RubyOptions) => XmlComponent;
1565
1542
  //#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;
1543
+ //#region src/file/paragraph/math/brackets/math-angled-brackets.d.ts
1544
+ interface MathAngledBracketsOptions {
1545
+ readonly children: readonly MathComponent[];
1580
1546
  }
1581
- interface DropDownListOptions {
1582
- readonly entries: readonly string[];
1583
- readonly result?: number;
1584
- readonly default?: number;
1547
+ declare class MathAngledBrackets extends XmlComponent {
1548
+ constructor(options: MathAngledBracketsOptions);
1585
1549
  }
1586
- interface TextInputOptions {
1587
- readonly type?: (typeof FormFieldTextType)[keyof typeof FormFieldTextType];
1588
- readonly default?: string;
1589
- readonly maxLength?: number;
1590
- readonly format?: string;
1550
+ //#endregion
1551
+ //#region src/file/paragraph/math/eq-arr/math-eq-arr-properties.d.ts
1552
+ interface MathEqArrPropertiesOptions {
1553
+ readonly baseJc?: "top" | "bot" | "center";
1554
+ readonly maxDist?: boolean;
1555
+ readonly objDist?: boolean;
1556
+ readonly rSpRule?: "single" | "1.5" | "double" | "exactly" | "multiple";
1557
+ readonly rSp?: number;
1591
1558
  }
1592
- interface FormFieldTextOptions {
1593
- readonly type: "text" | "autoText";
1594
- readonly value: string;
1559
+ declare const createMathEqArrProperties: (options: MathEqArrPropertiesOptions) => XmlComponent;
1560
+ //#endregion
1561
+ //#region src/file/paragraph/math/eq-arr/math-eq-arr.d.ts
1562
+ interface IMathEqArrOptions {
1563
+ readonly properties?: MathEqArrPropertiesOptions;
1564
+ readonly rows: readonly (readonly MathComponent[])[];
1595
1565
  }
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;
1566
+ declare class MathEqArr extends XmlComponent {
1567
+ constructor(options: IMathEqArrOptions);
1606
1568
  }
1607
- interface FormFieldOptions extends FormFieldCommonOptions {
1608
- readonly checkBox?: CheckBoxOptions;
1609
- readonly dropDownList?: DropDownListOptions;
1610
- readonly textInput?: TextInputOptions;
1569
+ //#endregion
1570
+ //#region src/file/paragraph/math/fraction/math-fraction-properties.d.ts
1571
+ declare const FractionType: {
1572
+ readonly BAR: "bar";
1573
+ readonly SKEWED: "skw";
1574
+ readonly LINEAR: "lin";
1575
+ readonly NO_BAR: "noBar";
1576
+ };
1577
+ interface MathFractionPropertiesOptions {
1578
+ readonly fractionType?: keyof typeof FractionType;
1611
1579
  }
1612
- declare const createFormFieldData: (options: FormFieldOptions) => XmlComponent;
1580
+ declare const createMathFractionProperties: (options: MathFractionPropertiesOptions) => XmlComponent;
1613
1581
  //#endregion
1614
- //#region src/file/paragraph/run/break.d.ts
1615
- declare const createBreak: (options?: {
1616
- readonly clear?: "none" | "left" | "right" | "all";
1617
- }) => XmlComponent;
1582
+ //#region src/file/paragraph/math/fraction/math-fraction.d.ts
1583
+ interface IMathFractionOptions {
1584
+ readonly numerator: readonly MathComponent[];
1585
+ readonly denominator: readonly MathComponent[];
1586
+ readonly fractionType?: MathFractionPropertiesOptions["fractionType"];
1587
+ }
1588
+ declare class MathFraction extends XmlComponent {
1589
+ constructor(options: IMathFractionOptions);
1590
+ }
1618
1591
  //#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
- };
1592
+ //#region src/file/paragraph/math/fraction/math-denominator.d.ts
1593
+ declare class MathDenominator extends XmlComponent {
1594
+ constructor(children: readonly MathComponent[]);
1626
1595
  }
1627
- declare class EndnoteIdReference extends XmlComponent {
1628
- constructor(id: number);
1596
+ //#endregion
1597
+ //#region src/file/paragraph/math/fraction/math-numerator.d.ts
1598
+ declare class MathNumerator extends XmlComponent {
1599
+ constructor(children: readonly MathComponent[]);
1629
1600
  }
1630
- declare class EndnoteReferenceRun extends Run {
1631
- constructor(id: number);
1601
+ //#endregion
1602
+ //#region src/file/paragraph/math/math-control-properties.d.ts
1603
+ interface MathControlPropertiesOptions {
1604
+ readonly insertionReference?: string;
1605
+ readonly deletionReference?: string;
1632
1606
  }
1607
+ declare const createMathControlProperties: (options?: MathControlPropertiesOptions) => XmlComponent;
1633
1608
  //#endregion
1634
- //#region src/file/footnotes/footnotes.d.ts
1635
- declare class FootNotes extends XmlComponent {
1636
- constructor();
1637
- createFootNote(id: number, paragraph: readonly Paragraph[]): void;
1609
+ //#region src/file/paragraph/math/function/math-function-properties.d.ts
1610
+ interface MathFunctionPropertiesOptions {
1611
+ readonly controlProperties?: MathControlPropertiesOptions;
1638
1612
  }
1613
+ declare const createMathFunctionProperties: (options?: MathFunctionPropertiesOptions) => XmlComponent;
1639
1614
  //#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;
1615
+ //#region src/file/paragraph/math/function/math-function.d.ts
1616
+ interface IMathFunctionOptions {
1617
+ readonly properties?: MathFunctionPropertiesOptions;
1618
+ readonly children: readonly MathComponent[];
1619
+ readonly name: readonly MathComponent[];
1644
1620
  }
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;
1621
+ declare class MathFunction extends XmlComponent {
1622
+ constructor(options: IMathFunctionOptions);
1651
1623
  }
1652
1624
  //#endregion
1653
- //#region src/file/alt-chunk/alt-chunk-collection.d.ts
1654
- interface IAltChunkData {
1655
- readonly key: string;
1656
- readonly data: Uint8Array;
1657
- readonly path: string;
1658
- readonly extension: string;
1659
- readonly contentType: string;
1625
+ //#region src/file/paragraph/math/function/math-function-name.d.ts
1626
+ declare class MathFunctionName extends XmlComponent {
1627
+ constructor(children: readonly MathComponent[]);
1660
1628
  }
1661
- declare class AltChunkCollection {
1662
- private readonly map;
1663
- constructor();
1664
- addAltChunk(key: string, data: IAltChunkData): void;
1665
- get Array(): readonly IAltChunkData[];
1629
+ //#endregion
1630
+ //#region src/file/paragraph/math/group-chr/math-group-chr-properties.d.ts
1631
+ interface MathGroupChrPropertiesOptions {
1632
+ readonly chr?: string;
1633
+ readonly pos?: "top" | "bot";
1634
+ readonly vertJc?: "top" | "bot";
1666
1635
  }
1636
+ declare const createMathGroupChrProperties: (options: MathGroupChrPropertiesOptions) => XmlComponent;
1667
1637
  //#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;
1638
+ //#region src/file/paragraph/math/group-chr/math-group-chr.d.ts
1639
+ interface IMathGroupChrOptions {
1640
+ readonly properties?: MathGroupChrPropertiesOptions;
1641
+ readonly children: readonly MathComponent[];
1686
1642
  }
1687
- interface IBibliographyOptions {
1688
- readonly sources: readonly SourceTypeOptions[];
1689
- readonly styleName?: string;
1643
+ declare class MathGroupChr extends XmlComponent {
1644
+ constructor(options: IMathGroupChrOptions);
1690
1645
  }
1691
- declare class Bibliography extends XmlComponent {
1692
- private readonly relationships;
1693
- constructor(options: IBibliographyOptions);
1694
- get Relationships(): Relationships;
1646
+ //#endregion
1647
+ //#region src/file/paragraph/math/math-run-properties.d.ts
1648
+ type MathScriptType = "roman" | "script" | "fraktur" | "double-struck" | "sans-serif" | "monospace";
1649
+ type MathStyleType = "p" | "b" | "i" | "bi";
1650
+ interface MathRunPropertiesOptions {
1651
+ readonly lit?: boolean;
1652
+ readonly normal?: boolean;
1653
+ readonly script?: MathScriptType;
1654
+ readonly style?: MathStyleType;
1655
+ readonly breakAlignment?: number;
1656
+ readonly align?: boolean;
1695
1657
  }
1658
+ declare const createMathRunProperties: (options: MathRunPropertiesOptions) => XmlComponent;
1696
1659
  //#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;
1660
+ //#region src/file/paragraph/math/math-run.d.ts
1661
+ interface MathRunOptions {
1662
+ readonly text: string;
1663
+ readonly properties?: MathRunPropertiesOptions;
1664
+ }
1665
+ declare class MathRun extends XmlComponent {
1666
+ constructor(textOrOptions: string | MathRunOptions);
1711
1667
  }
1712
1668
  //#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;
1669
+ //#region src/file/paragraph/math/matrix/math-matrix-properties.d.ts
1670
+ interface MathMatrixPropertiesOptions {
1671
+ readonly baseJc?: "top" | "bot" | "center";
1672
+ readonly plcHide?: boolean;
1673
+ readonly rSpRule?: "single" | "1.5" | "double" | "exactly" | "multiple";
1674
+ readonly cGpRule?: "single" | "1.5" | "double" | "exactly" | "multiple";
1675
+ readonly rSp?: number;
1676
+ readonly cSp?: number;
1677
+ readonly cGp?: number;
1784
1678
  }
1679
+ declare const createMathMatrixProperties: (options: MathMatrixPropertiesOptions) => XmlComponent;
1785
1680
  //#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
- };
1681
+ //#region src/file/paragraph/math/matrix/math-matrix.d.ts
1682
+ interface IMathMatrixOptions {
1683
+ readonly properties?: MathMatrixPropertiesOptions;
1684
+ readonly rows: readonly (readonly MathComponent[])[];
1825
1685
  }
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;
1686
+ declare class MathMatrix extends XmlComponent {
1687
+ constructor(options: IMathMatrixOptions);
1833
1688
  }
1834
- interface IWriteProtectionOptions {
1835
- readonly hashValue?: string;
1836
- readonly saltValue?: string;
1837
- readonly spinCount?: number;
1838
- readonly algorithmName?: string;
1839
- readonly recommended?: boolean;
1689
+ //#endregion
1690
+ //#region src/file/paragraph/math/n-ary/math-accent-character.d.ts
1691
+ interface MathAccentCharacterOptions {
1692
+ readonly accent: string;
1840
1693
  }
1841
- interface IHyphenationOptions {
1842
- readonly autoHyphenation?: boolean;
1843
- readonly hyphenationZone?: number;
1844
- readonly consecutiveHyphenLimit?: number;
1845
- readonly doNotHyphenateCaps?: boolean;
1694
+ declare const createMathAccentCharacter: ({
1695
+ accent
1696
+ }: MathAccentCharacterOptions) => XmlComponent;
1697
+ //#endregion
1698
+ //#region src/file/paragraph/math/n-ary/math-base.d.ts
1699
+ interface MathBaseOptions {
1700
+ readonly children: readonly MathComponent[];
1846
1701
  }
1847
- declare class Settings extends XmlComponent {
1848
- constructor(options: ISettingsOptions);
1702
+ declare const createMathBase: ({
1703
+ children
1704
+ }: MathBaseOptions) => XmlComponent;
1705
+ //#endregion
1706
+ //#region src/file/paragraph/math/n-ary/math-limit-location.d.ts
1707
+ interface MathLimitLocationOptions {
1708
+ readonly value?: string;
1849
1709
  }
1710
+ declare const createMathLimitLocation: ({
1711
+ value
1712
+ }: MathLimitLocationOptions) => XmlComponent;
1850
1713
  //#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;
1877
- };
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;
1714
+ //#region src/file/paragraph/math/n-ary/math-n-ary-properties.d.ts
1715
+ interface MathNAryPropertiesOptions {
1716
+ readonly accent: string;
1717
+ readonly hasSuperScript: boolean;
1718
+ readonly hasSubScript: boolean;
1719
+ readonly limitLocationVal?: string;
1720
+ readonly grow?: boolean;
1886
1721
  }
1722
+ declare const createMathNAryProperties: ({
1723
+ accent,
1724
+ hasSuperScript,
1725
+ hasSubScript,
1726
+ limitLocationVal,
1727
+ grow
1728
+ }: MathNAryPropertiesOptions) => XmlComponent;
1887
1729
  //#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];
1730
+ //#region src/file/paragraph/math/n-ary/math-sub-script.d.ts
1731
+ interface MathSubScriptElementOptions {
1732
+ readonly children: readonly MathComponent[];
1893
1733
  }
1734
+ declare const createMathSubScriptElement: ({
1735
+ children
1736
+ }: MathSubScriptElementOptions) => XmlComponent;
1894
1737
  //#endregion
1895
- //#region src/file/custom-properties/custom-property.d.ts
1896
- interface ICustomPropertyOptions {
1897
- readonly name: string;
1898
- readonly value: string;
1738
+ //#region src/file/paragraph/math/n-ary/math-sum.d.ts
1739
+ interface IMathSumOptions {
1740
+ readonly children: readonly MathComponent[];
1741
+ readonly subScript?: readonly MathComponent[];
1742
+ readonly superScript?: readonly MathComponent[];
1899
1743
  }
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;
1744
+ declare class MathSum extends XmlComponent {
1745
+ constructor(options: IMathSumOptions);
1908
1746
  }
1909
1747
  //#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;
1748
+ //#region src/file/paragraph/math/n-ary/math-integral.d.ts
1749
+ interface IMathIntegralOptions {
1750
+ readonly children: readonly MathComponent[];
1751
+ readonly subScript?: readonly MathComponent[];
1752
+ readonly superScript?: readonly MathComponent[];
1917
1753
  }
1918
- declare class Border extends IgnoreIfEmptyXmlComponent {
1919
- constructor(options: IBordersOptions);
1754
+ declare class MathIntegral extends XmlComponent {
1755
+ constructor(options: IMathIntegralOptions);
1920
1756
  }
1921
- declare class ThematicBreak extends XmlComponent {
1922
- constructor();
1757
+ //#endregion
1758
+ //#region src/file/paragraph/math/n-ary/math-super-script.d.ts
1759
+ interface MathSuperScriptElementOptions {
1760
+ readonly children: readonly MathComponent[];
1923
1761
  }
1762
+ declare const createMathSuperScriptElement: ({
1763
+ children
1764
+ }: MathSuperScriptElementOptions) => XmlComponent;
1924
1765
  //#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;
1766
+ //#region src/file/paragraph/math/n-ary/math-limit.d.ts
1767
+ declare class MathLimit extends XmlComponent {
1768
+ constructor(children: readonly MathComponent[]);
1939
1769
  }
1940
- declare const createCnfStyle: (options: ICnfStyleOptions) => XmlComponent;
1941
1770
  //#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;
1771
+ //#region src/file/paragraph/math/n-ary/math-limit-upper-properties.d.ts
1772
+ interface MathLimitUpperPropertiesOptions {
1773
+ readonly controlProperties?: MathControlPropertiesOptions;
1956
1774
  }
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;
1775
+ declare const createMathLimitUpperProperties: (options?: MathLimitUpperPropertiesOptions) => XmlComponent;
1971
1776
  //#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;
1777
+ //#region src/file/paragraph/math/n-ary/math-limit-upper.d.ts
1778
+ interface IMathLimitUpperOptions {
1779
+ readonly properties?: MathLimitUpperPropertiesOptions;
1780
+ readonly children: readonly MathComponent[];
1781
+ readonly limit: readonly MathComponent[];
1782
+ }
1783
+ declare class MathLimitUpper extends XmlComponent {
1784
+ constructor(options: IMathLimitUpperOptions);
1988
1785
  }
1989
- declare const createSpacing: ({
1990
- after,
1991
- before,
1992
- line,
1993
- lineRule,
1994
- beforeAutoSpacing,
1995
- afterAutoSpacing,
1996
- beforeLines,
1997
- afterLines
1998
- }: ISpacingProperties) => XmlComponent;
1999
1786
  //#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;
1787
+ //#region src/file/paragraph/math/n-ary/math-limit-low-properties.d.ts
1788
+ interface MathLimitLowPropertiesOptions {
1789
+ readonly controlProperties?: MathControlPropertiesOptions;
1790
+ }
1791
+ declare const createMathLimitLowProperties: (options?: MathLimitLowPropertiesOptions) => XmlComponent;
2011
1792
  //#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];
1793
+ //#region src/file/paragraph/math/n-ary/math-limit-lower.d.ts
1794
+ interface IMathLimitLowerOptions {
1795
+ readonly properties?: MathLimitLowPropertiesOptions;
1796
+ readonly children: readonly MathComponent[];
1797
+ readonly limit: readonly MathComponent[];
1798
+ }
1799
+ declare class MathLimitLower extends XmlComponent {
1800
+ constructor(options: IMathLimitLowerOptions);
2017
1801
  }
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
1802
  //#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;
1803
+ //#region src/file/paragraph/math/phant/math-phant-properties.d.ts
1804
+ interface MathPhantPropertiesOptions {
1805
+ readonly show?: boolean;
1806
+ readonly zeroWid?: boolean;
1807
+ readonly zeroAsc?: boolean;
1808
+ readonly zeroDesc?: boolean;
1809
+ readonly transp?: boolean;
2053
1810
  }
2054
- declare class TableOfContents extends XmlComponent implements FileChild {
2055
- readonly fileChild: symbol;
1811
+ declare const createMathPhantProperties: (options: MathPhantPropertiesOptions) => XmlComponent;
1812
+ //#endregion
1813
+ //#region src/file/paragraph/math/phant/math-phant.d.ts
1814
+ interface IMathPhantOptions {
1815
+ readonly properties?: MathPhantPropertiesOptions;
1816
+ readonly children: readonly MathComponent[];
1817
+ }
1818
+ declare class MathPhant extends XmlComponent {
1819
+ constructor(options: IMathPhantOptions);
1820
+ }
1821
+ //#endregion
1822
+ //#region src/file/paragraph/math/radical/math-degree.d.ts
1823
+ declare class MathDegree extends XmlComponent {
1824
+ constructor(children?: readonly MathComponent[]);
1825
+ }
1826
+ //#endregion
1827
+ //#region src/file/paragraph/math/radical/math-radical.d.ts
1828
+ interface IMathRadicalOptions {
1829
+ readonly children: readonly MathComponent[];
1830
+ readonly degree?: readonly MathComponent[];
1831
+ }
1832
+ declare class MathRadical extends XmlComponent {
1833
+ constructor(options: IMathRadicalOptions);
1834
+ }
1835
+ //#endregion
1836
+ //#region src/file/paragraph/math/radical/math-radical-properties.d.ts
1837
+ declare class MathRadicalProperties extends XmlComponent {
1838
+ constructor(hasDegree: boolean);
1839
+ }
1840
+ //#endregion
1841
+ //#region src/file/paragraph/math/script/super-script/math-super-script-function.d.ts
1842
+ interface IMathSuperScriptOptions {
1843
+ readonly children: readonly MathComponent[];
1844
+ readonly superScript: readonly MathComponent[];
1845
+ }
1846
+ declare class MathSuperScript extends XmlComponent {
1847
+ constructor(options: IMathSuperScriptOptions);
1848
+ }
1849
+ //#endregion
1850
+ //#region src/file/paragraph/math/script/super-script/math-super-script-function-properties.d.ts
1851
+ declare const createMathSuperScriptProperties: () => XmlComponent;
1852
+ //#endregion
1853
+ //#region src/file/paragraph/math/script/sub-script/math-sub-script-function.d.ts
1854
+ interface IMathSubScriptOptions {
1855
+ readonly children: readonly MathComponent[];
1856
+ readonly subScript: readonly MathComponent[];
1857
+ }
1858
+ declare class MathSubScript extends XmlComponent {
1859
+ constructor(options: IMathSubScriptOptions);
1860
+ }
1861
+ //#endregion
1862
+ //#region src/file/paragraph/math/script/sub-script/math-sub-script-function-properties.d.ts
1863
+ declare const createMathSubScriptProperties: () => XmlComponent;
1864
+ //#endregion
1865
+ //#region src/file/paragraph/math/script/sub-super-script/math-sub-super-script-function.d.ts
1866
+ interface IMathSubSuperScriptOptions {
1867
+ readonly children: readonly MathComponent[];
1868
+ readonly subScript: readonly MathComponent[];
1869
+ readonly superScript: readonly MathComponent[];
1870
+ }
1871
+ declare class MathSubSuperScript extends XmlComponent {
1872
+ constructor(options: IMathSubSuperScriptOptions);
1873
+ }
1874
+ //#endregion
1875
+ //#region src/file/paragraph/math/script/sub-super-script/math-sub-super-script-function-properties.d.ts
1876
+ interface MathSubSuperScriptPropertiesOptions {
1877
+ readonly alignScripts?: boolean;
1878
+ }
1879
+ declare const createMathSubSuperScriptProperties: (options?: MathSubSuperScriptPropertiesOptions) => XmlComponent;
1880
+ //#endregion
1881
+ //#region src/file/paragraph/math/script/pre-sub-super-script/math-pre-sub-super-script-function.d.ts
1882
+ interface IMathPreSubSuperScriptOptions {
1883
+ readonly children: readonly MathComponent[];
1884
+ readonly subScript: readonly MathComponent[];
1885
+ readonly superScript: readonly MathComponent[];
1886
+ }
1887
+ declare class MathPreSubSuperScript extends BuilderElement {
1888
+ constructor({
1889
+ children,
1890
+ subScript,
1891
+ superScript
1892
+ }: IMathPreSubSuperScriptOptions);
1893
+ }
1894
+ //#endregion
1895
+ //#region src/file/paragraph/math/script/pre-sub-super-script/math-pre-sub-super-script-function-properties.d.ts
1896
+ declare const createMathPreSubSuperScriptProperties: () => XmlComponent;
1897
+ //#endregion
1898
+ //#region src/file/paragraph/math/math-component.d.ts
1899
+ type MathComponent = MathRun | MathFraction | MathSum | MathIntegral | MathSuperScript | MathSubScript | MathSubSuperScript | MathRadical | MathFunction | MathRoundBrackets | MathCurlyBrackets | MathAngledBrackets | MathSquareBrackets | MathBox | MathBorderBox | MathEqArr | MathGroupChr | MathLimitLower | MathLimitUpper | MathMatrix | MathPhant;
1900
+ declare const WORKAROUND4 = "";
1901
+ //#endregion
1902
+ //#region src/file/footnotes/footnotes.d.ts
1903
+ declare class FootNotes extends XmlComponent {
1904
+ constructor();
1905
+ createFootNote(id: number, paragraph: readonly Paragraph[]): void;
1906
+ }
1907
+ //#endregion
1908
+ //#region src/file/alt-chunk/alt-chunk.d.ts
1909
+ interface IAltChunkOptions {
1910
+ readonly data: Uint8Array | string;
1911
+ readonly contentType: "text/html" | "application/rtf" | "text/plain";
1912
+ readonly extension: "html" | "rtf" | "txt";
1913
+ readonly matchSrc?: boolean;
1914
+ }
1915
+ declare class AltChunk extends XmlComponent implements FileChild {
1916
+ readonly fileChild: symbol;
1917
+ private readonly options;
1918
+ constructor(options: IAltChunkOptions);
1919
+ prepForXml(context: IContext): IXmlableObject;
1920
+ }
1921
+ //#endregion
1922
+ //#region src/file/alt-chunk/alt-chunk-collection.d.ts
1923
+ interface IAltChunkData {
1924
+ readonly key: string;
1925
+ readonly data: Uint8Array;
1926
+ readonly path: string;
1927
+ readonly extension: string;
1928
+ readonly contentType: string;
1929
+ }
1930
+ declare class AltChunkCollection {
1931
+ private readonly map;
1932
+ constructor();
1933
+ addAltChunk(key: string, data: IAltChunkData): void;
1934
+ get Array(): readonly IAltChunkData[];
1935
+ }
1936
+ //#endregion
1937
+ //#region src/file/checkbox/checkbox-util.d.ts
1938
+ interface ICheckboxSymbolProperties {
1939
+ readonly value?: string;
1940
+ readonly font?: string;
1941
+ }
1942
+ interface ICheckboxSymbolOptions {
1943
+ readonly alias?: string;
1944
+ readonly checked?: boolean;
1945
+ readonly checkedState?: ICheckboxSymbolProperties;
1946
+ readonly uncheckedState?: ICheckboxSymbolProperties;
1947
+ }
1948
+ declare class CheckBoxUtil extends XmlComponent {
1949
+ private readonly DEFAULT_UNCHECKED_SYMBOL;
1950
+ private readonly DEFAULT_CHECKED_SYMBOL;
1951
+ private readonly DEFAULT_FONT;
1952
+ constructor(options?: ICheckboxSymbolOptions);
1953
+ }
1954
+ //#endregion
1955
+ //#region src/file/checkbox/checkbox-symbol.d.ts
1956
+ declare class CheckBoxSymbolElement extends XmlComponent {
1957
+ constructor(name: string, val: string, font?: string);
1958
+ }
1959
+ //#endregion
1960
+ //#region src/file/checkbox/checkbox.d.ts
1961
+ declare class CheckBox extends XmlComponent {
1962
+ private readonly DEFAULT_UNCHECKED_SYMBOL;
1963
+ private readonly DEFAULT_CHECKED_SYMBOL;
1964
+ private readonly DEFAULT_FONT;
1965
+ constructor(options?: ICheckboxSymbolOptions);
1966
+ }
1967
+ //#endregion
1968
+ //#region src/file/permissions/perm-start.d.ts
1969
+ declare const EditGroupType: {
1970
+ readonly NONE: "none";
1971
+ readonly EVERYONE: "everyone";
1972
+ readonly ADMINISTRATORS: "administrators";
1973
+ readonly CONTRIBUTORS: "contributors";
1974
+ readonly EDITORS: "editors";
1975
+ readonly OWNERS: "owners";
1976
+ readonly CURRENT: "current";
1977
+ };
1978
+ type EditGroup = (typeof EditGroupType)[keyof typeof EditGroupType];
1979
+ interface IPermStartOptions {
1980
+ readonly id: string | number;
1981
+ readonly edGroup?: EditGroup;
1982
+ readonly ed?: string;
1983
+ readonly colFirst?: number;
1984
+ readonly colLast?: number;
1985
+ }
1986
+ declare class PermStart extends XmlComponent {
1987
+ constructor(options: IPermStartOptions);
1988
+ }
1989
+ declare class PermEnd extends XmlComponent {
1990
+ constructor(id: string | number);
1991
+ }
1992
+ //#endregion
1993
+ //#region src/file/table-of-contents/table-of-contents.d.ts
1994
+ interface ToCEntry {
1995
+ readonly title: string;
1996
+ readonly level: number;
1997
+ readonly page?: number;
1998
+ readonly href?: string;
1999
+ }
2000
+ declare class TableOfContents extends XmlComponent implements FileChild {
2001
+ readonly fileChild: symbol;
2056
2002
  constructor(alias?: string, {
2057
2003
  contentChildren,
2058
2004
  cachedEntries,
@@ -2166,84 +2112,180 @@ declare class StructuredDocumentTagBlock extends XmlComponent implements FileChi
2166
2112
  constructor(options: ISdtBlockOptions);
2167
2113
  }
2168
2114
  //#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);
2115
+ //#region src/file/table/grid.d.ts
2116
+ interface ITableGridChangeOptions {
2117
+ readonly id: number;
2118
+ readonly columnWidths: readonly number[] | readonly values_d_exports.PositiveUniversalMeasure[];
2177
2119
  }
2178
2120
  //#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;
2121
+ //#region src/file/table/table-cell-spacing.d.ts
2122
+ declare const CellSpacingType: {
2123
+ readonly DXA: "dxa";
2124
+ readonly NIL: "nil";
2125
+ };
2126
+ interface ITableCellSpacingProperties {
2127
+ readonly value: number | values_d_exports.Percentage | values_d_exports.UniversalMeasure;
2128
+ readonly type?: (typeof CellSpacingType)[keyof typeof CellSpacingType];
2191
2129
  }
2192
2130
  //#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);
2131
+ //#region src/file/table/table-width.d.ts
2132
+ declare const WidthType: {
2133
+ readonly AUTO: "auto";
2134
+ readonly DXA: "dxa";
2135
+ readonly NIL: "nil";
2136
+ readonly PERCENTAGE: "pct";
2137
+ };
2138
+ interface ITableWidthProperties {
2139
+ readonly size: number | values_d_exports.Percentage | values_d_exports.UniversalMeasure;
2140
+ readonly type?: (typeof WidthType)[keyof typeof WidthType];
2209
2141
  }
2142
+ declare const createTableWidthElement: (name: string, {
2143
+ type,
2144
+ size
2145
+ }: ITableWidthProperties) => XmlComponent;
2210
2146
  //#endregion
2211
- //#region src/file/checkbox/checkbox-symbol.d.ts
2212
- declare class CheckBoxSymbolElement extends XmlComponent {
2213
- constructor(name: string, val: string, font?: string);
2147
+ //#region src/file/table/table-properties/table-borders.d.ts
2148
+ interface ITableBordersOptions {
2149
+ readonly top?: IBorderOptions;
2150
+ readonly bottom?: IBorderOptions;
2151
+ readonly left?: IBorderOptions;
2152
+ readonly right?: IBorderOptions;
2153
+ readonly insideHorizontal?: IBorderOptions;
2154
+ readonly insideVertical?: IBorderOptions;
2155
+ }
2156
+ declare class TableBorders extends XmlComponent {
2157
+ static readonly NONE: ITableBordersOptions;
2158
+ constructor(options: ITableBordersOptions);
2214
2159
  }
2215
2160
  //#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);
2161
+ //#region src/file/table/table-properties/table-cell-margin.d.ts
2162
+ interface ITableCellMarginOptions {
2163
+ readonly marginUnitType?: (typeof WidthType)[keyof typeof WidthType];
2164
+ readonly top?: number;
2165
+ readonly bottom?: number;
2166
+ readonly left?: number;
2167
+ readonly right?: number;
2222
2168
  }
2223
2169
  //#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";
2170
+ //#region src/file/table/table-properties/table-float-properties.d.ts
2171
+ declare const TableAnchorType: {
2172
+ readonly MARGIN: "margin";
2173
+ readonly PAGE: "page";
2174
+ readonly TEXT: "text";
2233
2175
  };
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;
2176
+ declare const RelativeHorizontalPosition: {
2177
+ readonly CENTER: "center";
2178
+ readonly INSIDE: "inside";
2179
+ readonly LEFT: "left";
2180
+ readonly OUTSIDE: "outside";
2181
+ readonly RIGHT: "right";
2182
+ };
2183
+ declare const RelativeVerticalPosition: {
2184
+ readonly BOTTOM: "bottom";
2185
+ readonly CENTER: "center";
2186
+ readonly INLINE: "inline";
2187
+ readonly INSIDE: "inside";
2188
+ readonly OUTSIDE: "outside";
2189
+ readonly TOP: "top";
2190
+ };
2191
+ declare const OverlapType: {
2192
+ readonly NEVER: "never";
2193
+ readonly OVERLAP: "overlap";
2194
+ };
2195
+ interface ITableFloatOptions {
2196
+ readonly horizontalAnchor?: (typeof TableAnchorType)[keyof typeof TableAnchorType];
2197
+ readonly absoluteHorizontalPosition?: number | values_d_exports.UniversalMeasure;
2198
+ readonly relativeHorizontalPosition?: (typeof RelativeHorizontalPosition)[keyof typeof RelativeHorizontalPosition];
2199
+ readonly verticalAnchor?: (typeof TableAnchorType)[keyof typeof TableAnchorType];
2200
+ readonly absoluteVerticalPosition?: number | values_d_exports.UniversalMeasure;
2201
+ readonly relativeVerticalPosition?: (typeof RelativeVerticalPosition)[keyof typeof RelativeVerticalPosition];
2202
+ readonly bottomFromText?: number | values_d_exports.PositiveUniversalMeasure;
2203
+ readonly topFromText?: number | values_d_exports.PositiveUniversalMeasure;
2204
+ readonly leftFromText?: number | values_d_exports.PositiveUniversalMeasure;
2205
+ readonly rightFromText?: number | values_d_exports.PositiveUniversalMeasure;
2206
+ readonly overlap?: (typeof OverlapType)[keyof typeof OverlapType];
2241
2207
  }
2242
- declare class PermStart extends XmlComponent {
2243
- constructor(options: IPermStartOptions);
2208
+ declare const createTableFloatProperties: ({
2209
+ horizontalAnchor,
2210
+ verticalAnchor,
2211
+ absoluteHorizontalPosition,
2212
+ relativeHorizontalPosition,
2213
+ absoluteVerticalPosition,
2214
+ relativeVerticalPosition,
2215
+ bottomFromText,
2216
+ topFromText,
2217
+ leftFromText,
2218
+ rightFromText
2219
+ }: ITableFloatOptions) => XmlComponent;
2220
+ declare const createTableOverlap: (overlap: (typeof OverlapType)[keyof typeof OverlapType]) => XmlComponent;
2221
+ //#endregion
2222
+ //#region src/file/table/table-properties/table-layout.d.ts
2223
+ declare const TableLayoutType: {
2224
+ readonly AUTOFIT: "autofit";
2225
+ readonly FIXED: "fixed";
2226
+ };
2227
+ declare const createTableLayout: (type: (typeof TableLayoutType)[keyof typeof TableLayoutType]) => XmlComponent;
2228
+ //#endregion
2229
+ //#region src/file/table/table-properties/table-look.d.ts
2230
+ interface ITableLookOptions {
2231
+ readonly firstRow?: boolean;
2232
+ readonly lastRow?: boolean;
2233
+ readonly firstColumn?: boolean;
2234
+ readonly lastColumn?: boolean;
2235
+ readonly noHBand?: boolean;
2236
+ readonly noVBand?: boolean;
2244
2237
  }
2245
- declare class PermEnd extends XmlComponent {
2246
- constructor(id: string | number);
2238
+ declare const createTableLook: ({
2239
+ firstRow,
2240
+ lastRow,
2241
+ firstColumn,
2242
+ lastColumn,
2243
+ noHBand,
2244
+ noVBand
2245
+ }: ITableLookOptions) => XmlComponent;
2246
+ //#endregion
2247
+ //#region src/file/table/table-properties/table-properties.d.ts
2248
+ interface ITablePropertiesOptionsBase {
2249
+ readonly width?: ITableWidthProperties;
2250
+ readonly indent?: ITableWidthProperties;
2251
+ readonly layout?: (typeof TableLayoutType)[keyof typeof TableLayoutType];
2252
+ readonly borders?: ITableBordersOptions;
2253
+ readonly float?: ITableFloatOptions;
2254
+ readonly shading?: IShadingAttributesProperties;
2255
+ readonly style?: string;
2256
+ readonly alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
2257
+ readonly cellMargin?: ITableCellMarginOptions;
2258
+ readonly visuallyRightToLeft?: boolean;
2259
+ readonly tableLook?: ITableLookOptions;
2260
+ readonly cellSpacing?: ITableCellSpacingProperties;
2261
+ readonly styleRowBandSize?: number;
2262
+ readonly styleColBandSize?: number;
2263
+ readonly caption?: string;
2264
+ readonly description?: string;
2265
+ }
2266
+ type ITablePropertiesChangeOptions = ITablePropertiesOptions & IChangedAttributesProperties;
2267
+ type ITablePropertiesOptions = {
2268
+ readonly revision?: ITablePropertiesChangeOptions;
2269
+ readonly includeIfEmpty?: boolean;
2270
+ } & ITablePropertiesOptionsBase;
2271
+ declare class TableProperties extends IgnoreIfEmptyXmlComponent {
2272
+ constructor(options: ITablePropertiesOptions);
2273
+ }
2274
+ //#endregion
2275
+ //#region src/file/table/table-properties/table-property-exceptions.d.ts
2276
+ interface ITablePropertyExOptions {
2277
+ readonly width?: ITableWidthProperties;
2278
+ readonly indent?: ITableWidthProperties;
2279
+ readonly layout?: (typeof TableLayoutType)[keyof typeof TableLayoutType];
2280
+ readonly borders?: ITableBordersOptions;
2281
+ readonly shading?: IShadingAttributesProperties;
2282
+ readonly alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
2283
+ readonly cellMargin?: ITableCellMarginOptions;
2284
+ readonly tableLook?: ITableLookOptions;
2285
+ readonly cellSpacing?: ITableCellSpacingProperties;
2286
+ }
2287
+ declare class TablePropertyExceptions extends IgnoreIfEmptyXmlComponent {
2288
+ constructor(options: ITablePropertyExOptions);
2247
2289
  }
2248
2290
  //#endregion
2249
2291
  //#region src/file/sub-doc/sub-doc.d.ts
@@ -2257,18 +2299,61 @@ declare class SubDoc extends XmlComponent implements FileChild {
2257
2299
  prepForXml(context: IContext): IXmlableObject;
2258
2300
  }
2259
2301
  //#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[];
2302
+ //#region src/file/textbox/types.d.ts
2303
+ type LengthUnit = "auto" | number | values_d_exports.Percentage | values_d_exports.UniversalMeasure | values_d_exports.RelativeMeasure;
2304
+ //#endregion
2305
+ //#region src/file/textbox/shape/shape.d.ts
2306
+ interface VmlShapeStyle {
2307
+ readonly flip?: "x" | "y" | "xy" | "yx";
2308
+ readonly height?: LengthUnit;
2309
+ readonly left?: LengthUnit;
2310
+ readonly marginBottom?: LengthUnit;
2311
+ readonly marginLeft?: LengthUnit;
2312
+ readonly marginRight?: LengthUnit;
2313
+ readonly marginTop?: LengthUnit;
2314
+ readonly positionHorizontal?: "absolute" | "left" | "center" | "right" | "inside" | "outside";
2315
+ readonly positionHorizontalRelative?: "margin" | "page" | "text" | "char";
2316
+ readonly positionVertical?: "absolute" | "left" | "center" | "right" | "inside" | "outside";
2317
+ readonly positionVerticalRelative?: "margin" | "page" | "text" | "char";
2318
+ readonly wrapDistanceBottom?: number;
2319
+ readonly wrapDistanceLeft?: number;
2320
+ readonly wrapDistanceRight?: number;
2321
+ readonly wrapDistanceTop?: number;
2322
+ readonly wrapEdited?: boolean;
2323
+ readonly wrapStyle?: "square" | "none";
2324
+ readonly position?: "static" | "absolute" | "relative";
2325
+ readonly rotation?: number;
2326
+ readonly top?: LengthUnit;
2327
+ readonly visibility?: "hidden" | "inherit";
2328
+ readonly width: LengthUnit;
2329
+ readonly zIndex?: "auto" | number;
2270
2330
  }
2271
2331
  //#endregion
2332
+ //#region src/file/section-child.d.ts
2333
+ type SectionChild = BaseXmlComponent | {
2334
+ paragraph: string | IParagraphOptions;
2335
+ } | {
2336
+ table: ITableOptions;
2337
+ } | {
2338
+ toc: ITableOfContentsOptions & {
2339
+ readonly alias?: string;
2340
+ };
2341
+ } | {
2342
+ textbox: Omit<IParagraphOptions, "style" | "children"> & {
2343
+ readonly style?: VmlShapeStyle;
2344
+ readonly children?: readonly SectionChild[];
2345
+ };
2346
+ } | {
2347
+ sdt: {
2348
+ readonly properties: SdtPropertiesOptions;
2349
+ readonly children?: readonly SectionChild[];
2350
+ };
2351
+ } | {
2352
+ altChunk: IAltChunkOptions;
2353
+ } | {
2354
+ subDoc: ISubDocOptions;
2355
+ };
2356
+ //#endregion
2272
2357
  //#region src/file/track-revision/track-revision-components/inserted-text-run.d.ts
2273
2358
  type IInsertedRunOptions = IChangedAttributesProperties & IRunOptions;
2274
2359
  declare class InsertedTextRun extends XmlComponent {
@@ -2336,29 +2421,226 @@ declare class CellMerge extends XmlComponent {
2336
2421
  constructor(options: ICellMergeAttributes);
2337
2422
  }
2338
2423
  //#endregion
2339
- //#region src/file/paragraph/formatting/break.d.ts
2340
- declare class PageBreak extends Run {
2341
- constructor();
2342
- }
2343
- declare class ColumnBreak extends Run {
2344
- constructor();
2345
- }
2346
- declare class PageBreakBefore extends XmlComponent {
2347
- constructor();
2348
- }
2349
- //#endregion
2350
- //#region src/file/paragraph/links/hyperlink.d.ts
2351
- declare const HyperlinkType: {
2352
- readonly INTERNAL: "INTERNAL";
2353
- readonly EXTERNAL: "EXTERNAL";
2424
+ //#region src/file/table/table-row/table-row-height.d.ts
2425
+ declare const HeightRule: {
2426
+ readonly AUTO: "auto";
2427
+ readonly ATLEAST: "atLeast";
2428
+ readonly EXACT: "exact";
2354
2429
  };
2355
- interface IInternalHyperlinkOptions {
2356
- readonly children: readonly ParagraphChild[];
2357
- readonly anchor: string;
2358
- readonly tooltip?: string;
2430
+ declare const createTableRowHeight: (value: number | values_d_exports.PositiveUniversalMeasure, rule: (typeof HeightRule)[keyof typeof HeightRule]) => XmlComponent;
2431
+ //#endregion
2432
+ //#region src/file/table/table-row/table-row-properties.d.ts
2433
+ interface CnfStyleOptions {
2434
+ readonly val: string;
2435
+ readonly changed?: boolean;
2359
2436
  }
2360
- interface IExternalHyperlinkOptions {
2361
- readonly children: readonly ParagraphChild[];
2437
+ interface ITableRowPropertiesOptionsBase {
2438
+ readonly cnfStyle?: CnfStyleOptions;
2439
+ readonly cantSplit?: boolean;
2440
+ readonly tableHeader?: boolean;
2441
+ readonly height?: {
2442
+ readonly value: number | values_d_exports.PositiveUniversalMeasure;
2443
+ readonly rule: (typeof HeightRule)[keyof typeof HeightRule];
2444
+ };
2445
+ readonly cellSpacing?: ITableCellSpacingProperties;
2446
+ readonly divId?: number;
2447
+ readonly gridBefore?: number;
2448
+ readonly gridAfter?: number;
2449
+ readonly widthBefore?: ITableWidthProperties;
2450
+ readonly widthAfter?: ITableWidthProperties;
2451
+ readonly rowAlignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
2452
+ readonly hidden?: boolean;
2453
+ }
2454
+ type ITableRowPropertiesOptions = ITableRowPropertiesOptionsBase & {
2455
+ readonly insertion?: IChangedAttributesProperties;
2456
+ readonly deletion?: IChangedAttributesProperties;
2457
+ readonly revision?: ITableRowPropertiesChangeOptions;
2458
+ readonly includeIfEmpty?: boolean;
2459
+ };
2460
+ type ITableRowPropertiesChangeOptions = ITableRowPropertiesOptionsBase & IChangedAttributesProperties;
2461
+ declare class TableRowProperties extends IgnoreIfEmptyXmlComponent {
2462
+ constructor(options: ITableRowPropertiesOptions);
2463
+ }
2464
+ declare class TableRowPropertiesChange extends XmlComponent {
2465
+ constructor(options: ITableRowPropertiesChangeOptions);
2466
+ }
2467
+ //#endregion
2468
+ //#region src/file/table/table-cell/table-cell-components.d.ts
2469
+ interface ITableCellBorders {
2470
+ readonly top?: IBorderOptions;
2471
+ readonly start?: IBorderOptions;
2472
+ readonly left?: IBorderOptions;
2473
+ readonly bottom?: IBorderOptions;
2474
+ readonly end?: IBorderOptions;
2475
+ readonly right?: IBorderOptions;
2476
+ }
2477
+ declare class TableCellBorders extends IgnoreIfEmptyXmlComponent {
2478
+ constructor(options: ITableCellBorders);
2479
+ }
2480
+ declare class GridSpan extends XmlComponent {
2481
+ constructor(value: number);
2482
+ }
2483
+ declare const VerticalMergeType: {
2484
+ readonly CONTINUE: "continue";
2485
+ readonly RESTART: "restart";
2486
+ };
2487
+ declare class VerticalMerge extends XmlComponent {
2488
+ constructor(value: (typeof VerticalMergeType)[keyof typeof VerticalMergeType]);
2489
+ }
2490
+ declare const TextDirection: {
2491
+ readonly BOTTOM_TO_TOP_LEFT_TO_RIGHT: "btLr";
2492
+ readonly LEFT_TO_RIGHT_TOP_TO_BOTTOM: "lrTb";
2493
+ readonly TOP_TO_BOTTOM_RIGHT_TO_LEFT: "tbRl";
2494
+ };
2495
+ declare class TDirection extends XmlComponent {
2496
+ constructor(value: (typeof TextDirection)[keyof typeof TextDirection]);
2497
+ }
2498
+ //#endregion
2499
+ //#region src/file/table/table-cell/table-cell-properties.d.ts
2500
+ interface ITableCellPropertiesOptionsBase {
2501
+ readonly cnfStyle?: CnfStyleOptions;
2502
+ readonly shading?: IShadingAttributesProperties;
2503
+ readonly margins?: ITableCellMarginOptions;
2504
+ readonly verticalAlign?: TableVerticalAlign;
2505
+ readonly textDirection?: (typeof TextDirection)[keyof typeof TextDirection];
2506
+ readonly verticalMerge?: (typeof VerticalMergeType)[keyof typeof VerticalMergeType];
2507
+ readonly width?: ITableWidthProperties;
2508
+ readonly columnSpan?: number;
2509
+ readonly rowSpan?: number;
2510
+ readonly borders?: ITableCellBorders;
2511
+ readonly horizontalMerge?: "continue" | "restart";
2512
+ readonly noWrap?: boolean;
2513
+ readonly fitText?: boolean;
2514
+ readonly hideMark?: boolean;
2515
+ readonly headers?: string[];
2516
+ readonly insertion?: IChangedAttributesProperties;
2517
+ readonly deletion?: IChangedAttributesProperties;
2518
+ readonly cellMerge?: ICellMergeAttributes;
2519
+ }
2520
+ type ITableCellPropertiesOptions = {
2521
+ readonly revision?: ITableCellPropertiesChangeOptions;
2522
+ readonly includeIfEmpty?: boolean;
2523
+ } & ITableCellPropertiesOptionsBase;
2524
+ type ITableCellPropertiesChangeOptions = ITableCellPropertiesOptionsBase & IChangedAttributesProperties;
2525
+ //#endregion
2526
+ //#region src/file/table/table-cell/table-cell.d.ts
2527
+ type ITableCellOptions = {
2528
+ readonly children: readonly (SectionChild | StructuredDocumentTagCell)[];
2529
+ } & ITableCellPropertiesOptions;
2530
+ declare class TableCell extends BaseXmlComponent {
2531
+ readonly options: ITableCellOptions;
2532
+ constructor(options: ITableCellOptions);
2533
+ prepForXml(context: IContext): IXmlableObject | undefined;
2534
+ }
2535
+ //#endregion
2536
+ //#region src/file/table/table-row/table-row.d.ts
2537
+ type ITableRowOptions = {
2538
+ readonly children: readonly (TableCell | StructuredDocumentTagCell | StructuredDocumentTagRow | ITableCellOptions)[];
2539
+ readonly propertyExceptions?: ITablePropertyExOptions;
2540
+ } & ITableRowPropertiesOptions;
2541
+ declare class TableRow extends BaseXmlComponent {
2542
+ private readonly options;
2543
+ private extraCells;
2544
+ private readonly coercedChildren;
2545
+ constructor(options: ITableRowOptions);
2546
+ get CellCount(): number;
2547
+ get cells(): readonly TableCell[];
2548
+ addCellToColumnIndex(cell: TableCell, columnIndex: number): void;
2549
+ rootIndexToColumnIndex(rootIndex: number): number;
2550
+ columnIndexToRootIndex(columnIndex: number, allowEndNewCell?: boolean): number;
2551
+ prepForXml(context: IContext): IXmlableObject | undefined;
2552
+ private findInsertIndex;
2553
+ }
2554
+ //#endregion
2555
+ //#region src/file/table/table.d.ts
2556
+ interface ITableOptions {
2557
+ readonly rows: readonly (TableRow | StructuredDocumentTagRow | ITableRowOptions)[];
2558
+ readonly width?: ITableWidthProperties;
2559
+ readonly columnWidths?: readonly number[];
2560
+ readonly columnWidthsRevision?: ITableGridChangeOptions;
2561
+ readonly margins?: ITableCellMarginOptions;
2562
+ readonly indent?: ITableWidthProperties;
2563
+ readonly float?: ITableFloatOptions;
2564
+ readonly layout?: (typeof TableLayoutType)[keyof typeof TableLayoutType];
2565
+ readonly style?: string;
2566
+ readonly borders?: ITableBordersOptions;
2567
+ readonly alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
2568
+ readonly visuallyRightToLeft?: boolean;
2569
+ readonly tableLook?: ITableLookOptions;
2570
+ readonly cellSpacing?: ITableCellSpacingProperties;
2571
+ readonly styleRowBandSize?: number;
2572
+ readonly styleColBandSize?: number;
2573
+ readonly caption?: string;
2574
+ readonly description?: string;
2575
+ readonly revision?: ITablePropertiesChangeOptions;
2576
+ }
2577
+ declare class Table extends BaseXmlComponent implements FileChild {
2578
+ readonly fileChild: symbol;
2579
+ private readonly options;
2580
+ private readonly columnWidths;
2581
+ private readonly rows;
2582
+ constructor(options: ITableOptions);
2583
+ prepForXml(context: IContext): IXmlableObject | undefined;
2584
+ }
2585
+ //#endregion
2586
+ //#region src/file/sdt/sdt-cell.d.ts
2587
+ interface ISdtCellOptions {
2588
+ readonly properties: SdtPropertiesOptions;
2589
+ readonly children?: readonly TableCell[];
2590
+ }
2591
+ declare class StructuredDocumentTagCell extends XmlComponent {
2592
+ readonly options: ITableCellOptions;
2593
+ constructor(sdtOptions: ISdtCellOptions);
2594
+ }
2595
+ //#endregion
2596
+ //#region src/file/sdt/sdt-row.d.ts
2597
+ interface ISdtRowOptions {
2598
+ readonly properties: SdtPropertiesOptions;
2599
+ readonly children?: readonly TableRow[];
2600
+ }
2601
+ declare class StructuredDocumentTagRow extends XmlComponent {
2602
+ private readonly rows;
2603
+ constructor(options: ISdtRowOptions);
2604
+ get CellCount(): number;
2605
+ get cells(): readonly TableCell[];
2606
+ addCellToColumnIndex(cell: TableCell, columnIndex: number): void;
2607
+ }
2608
+ //#endregion
2609
+ //#region src/file/sub-doc/sub-doc-collection.d.ts
2610
+ interface ISubDocData {
2611
+ readonly data: Uint8Array;
2612
+ readonly path: string;
2613
+ }
2614
+ declare class SubDocCollection {
2615
+ private readonly map;
2616
+ constructor();
2617
+ addSubDoc(key: string, data: ISubDocData): void;
2618
+ get Array(): readonly ISubDocData[];
2619
+ }
2620
+ //#endregion
2621
+ //#region src/file/paragraph/formatting/break.d.ts
2622
+ declare class PageBreak extends Run {
2623
+ constructor();
2624
+ }
2625
+ declare class ColumnBreak extends Run {
2626
+ constructor();
2627
+ }
2628
+ declare class PageBreakBefore extends XmlComponent {
2629
+ constructor();
2630
+ }
2631
+ //#endregion
2632
+ //#region src/file/paragraph/links/hyperlink.d.ts
2633
+ declare const HyperlinkType: {
2634
+ readonly INTERNAL: "INTERNAL";
2635
+ readonly EXTERNAL: "EXTERNAL";
2636
+ };
2637
+ interface IInternalHyperlinkOptions {
2638
+ readonly children: readonly ParagraphChild[];
2639
+ readonly anchor: string;
2640
+ readonly tooltip?: string;
2641
+ }
2642
+ interface IExternalHyperlinkOptions {
2643
+ readonly children: readonly ParagraphChild[];
2362
2644
  readonly link: string;
2363
2645
  readonly tooltip?: string;
2364
2646
  readonly tgtFrame?: string;
@@ -2450,1066 +2732,813 @@ declare class Bdo extends XmlComponent {
2450
2732
  constructor(options: IDirOptions);
2451
2733
  }
2452
2734
  //#endregion
2453
- //#region src/file/paragraph/math/border-box/math-border-box-properties.d.ts
2454
- interface MathBorderBoxPropertiesOptions {
2455
- readonly hideTop?: boolean;
2456
- readonly hideBottom?: boolean;
2457
- readonly hideLeft?: boolean;
2458
- readonly hideRight?: boolean;
2459
- readonly strikeHorizontal?: boolean;
2460
- readonly strikeVertical?: boolean;
2461
- readonly strikeDiagonalUp?: boolean;
2462
- readonly strikeDiagonalDown?: boolean;
2463
- }
2464
- declare const createMathBorderBoxProperties: (options: MathBorderBoxPropertiesOptions) => XmlComponent;
2465
- //#endregion
2466
- //#region src/file/paragraph/math/border-box/math-border-box.d.ts
2467
- interface IMathBorderBoxOptions {
2468
- readonly properties?: MathBorderBoxPropertiesOptions;
2735
+ //#region src/file/paragraph/math/accent/math-accent.d.ts
2736
+ interface MathAccentOptions {
2737
+ readonly accentCharacter?: string;
2469
2738
  readonly children: readonly MathComponent[];
2470
2739
  }
2471
- declare class MathBorderBox extends XmlComponent {
2472
- constructor(options: IMathBorderBoxOptions);
2473
- }
2740
+ declare const createMathAccent: ({
2741
+ accentCharacter,
2742
+ children
2743
+ }: MathAccentOptions) => XmlComponent;
2474
2744
  //#endregion
2475
- //#region src/file/paragraph/math/box/math-box-properties.d.ts
2476
- interface MathBoxPropertiesOptions {
2477
- readonly opEmu?: boolean;
2478
- readonly noBreak?: boolean;
2479
- readonly diff?: boolean;
2480
- readonly aln?: boolean;
2745
+ //#region src/file/paragraph/math/accent/math-accent-properties.d.ts
2746
+ interface MathAccentPropertiesOptions {
2747
+ readonly accentCharacter: string;
2481
2748
  }
2482
- declare const createMathBoxProperties: (options: MathBoxPropertiesOptions) => XmlComponent;
2749
+ declare const createMathAccentProperties: (options: MathAccentPropertiesOptions) => XmlComponent;
2483
2750
  //#endregion
2484
- //#region src/file/paragraph/math/box/math-box.d.ts
2485
- interface IMathBoxOptions {
2486
- readonly properties?: MathBoxPropertiesOptions;
2751
+ //#region src/file/paragraph/math/bar/math-bar.d.ts
2752
+ interface MathBarOptions {
2753
+ readonly type: "top" | "bot";
2487
2754
  readonly children: readonly MathComponent[];
2488
2755
  }
2489
- declare class MathBox extends XmlComponent {
2490
- constructor(options: IMathBoxOptions);
2491
- }
2492
- //#endregion
2493
- //#region src/file/paragraph/math/brackets/math-round-brackets.d.ts
2494
- declare class MathRoundBrackets extends XmlComponent {
2495
- constructor(options: {
2496
- readonly children: readonly MathComponent[];
2497
- });
2498
- }
2499
- //#endregion
2500
- //#region src/file/paragraph/math/brackets/math-square-brackets.d.ts
2501
- declare class MathSquareBrackets extends XmlComponent {
2502
- constructor(options: {
2503
- readonly children: readonly MathComponent[];
2504
- });
2505
- }
2756
+ declare const createMathBar: ({
2757
+ type,
2758
+ children
2759
+ }: MathBarOptions) => XmlComponent;
2506
2760
  //#endregion
2507
- //#region src/file/paragraph/math/brackets/math-curly-brackets.d.ts
2508
- declare class MathCurlyBrackets extends XmlComponent {
2509
- constructor(options: {
2510
- readonly children: readonly MathComponent[];
2511
- });
2512
- }
2761
+ //#region src/file/paragraph/math/bar/math-bar-properties.d.ts
2762
+ declare const createMathBarProperties: ({
2763
+ type
2764
+ }: {
2765
+ readonly type: string;
2766
+ }) => XmlComponent;
2513
2767
  //#endregion
2514
- //#region src/file/paragraph/math/brackets/math-angled-brackets.d.ts
2515
- interface MathAngledBracketsOptions {
2768
+ //#region src/file/paragraph/math/math.d.ts
2769
+ interface IMathOptions {
2516
2770
  readonly children: readonly MathComponent[];
2517
2771
  }
2518
- declare class MathAngledBrackets extends XmlComponent {
2519
- constructor(options: MathAngledBracketsOptions);
2520
- }
2521
- //#endregion
2522
- //#region src/file/paragraph/math/eq-arr/math-eq-arr-properties.d.ts
2523
- interface MathEqArrPropertiesOptions {
2524
- readonly baseJc?: "top" | "bot" | "center";
2525
- readonly maxDist?: boolean;
2526
- readonly objDist?: boolean;
2527
- readonly rSpRule?: "single" | "1.5" | "double" | "exactly" | "multiple";
2528
- readonly rSp?: number;
2772
+ declare class Math extends XmlComponent {
2773
+ constructor(options: IMathOptions);
2529
2774
  }
2530
- declare const createMathEqArrProperties: (options: MathEqArrPropertiesOptions) => XmlComponent;
2531
2775
  //#endregion
2532
- //#region src/file/paragraph/math/eq-arr/math-eq-arr.d.ts
2533
- interface IMathEqArrOptions {
2534
- readonly properties?: MathEqArrPropertiesOptions;
2535
- readonly rows: readonly (readonly MathComponent[])[];
2776
+ //#region src/file/paragraph/math/math-para.d.ts
2777
+ type MathJustification = "left" | "right" | "center" | "centerGroup";
2778
+ interface IMathParagraphOptions {
2779
+ readonly justification?: MathJustification;
2780
+ readonly children: readonly IMathOptions[];
2536
2781
  }
2537
- declare class MathEqArr extends XmlComponent {
2538
- constructor(options: IMathEqArrOptions);
2782
+ declare class MathParagraph extends XmlComponent {
2783
+ constructor(options: IMathParagraphOptions);
2539
2784
  }
2540
2785
  //#endregion
2541
- //#region src/file/paragraph/math/fraction/math-fraction-properties.d.ts
2542
- declare const FractionType: {
2543
- readonly BAR: "bar";
2544
- readonly SKEWED: "skw";
2545
- readonly LINEAR: "lin";
2546
- readonly NO_BAR: "noBar";
2547
- };
2548
- interface MathFractionPropertiesOptions {
2549
- readonly fractionType?: keyof typeof FractionType;
2786
+ //#region src/file/paragraph/math/math-pr.d.ts
2787
+ type MathBreakBin = "before" | "after" | "repeat";
2788
+ type MathBreakBinSub = "--" | "-+" | "+-";
2789
+ type MathPropertiesJustification = "left" | "right" | "center" | "centerGroup";
2790
+ interface MathPropertiesOptions {
2791
+ readonly mathFont?: string;
2792
+ readonly breakBin?: MathBreakBin;
2793
+ readonly breakBinSub?: MathBreakBinSub;
2794
+ readonly smallFrac?: boolean;
2795
+ readonly displayDefault?: boolean;
2796
+ readonly leftMargin?: number;
2797
+ readonly rightMargin?: number;
2798
+ readonly defaultJustification?: MathPropertiesJustification;
2799
+ readonly preSpacing?: number;
2800
+ readonly postSpacing?: number;
2801
+ readonly interSpacing?: number;
2802
+ readonly intraSpacing?: number;
2803
+ readonly wrapIndent?: number;
2804
+ readonly wrapRight?: boolean;
2805
+ readonly integralLimitLocation?: string;
2806
+ readonly naryLimitLocation?: string;
2550
2807
  }
2551
- declare const createMathFractionProperties: (options: MathFractionPropertiesOptions) => XmlComponent;
2808
+ declare const createMathProperties: (options: MathPropertiesOptions) => XmlComponent;
2552
2809
  //#endregion
2553
- //#region src/file/paragraph/math/fraction/math-fraction.d.ts
2554
- interface IMathFractionOptions {
2555
- readonly numerator: readonly MathComponent[];
2556
- readonly denominator: readonly MathComponent[];
2557
- readonly fractionType?: MathFractionPropertiesOptions["fractionType"];
2810
+ //#region src/file/paragraph/formatting/border.d.ts
2811
+ interface IBordersOptions {
2812
+ readonly top?: IBorderOptions;
2813
+ readonly bottom?: IBorderOptions;
2814
+ readonly left?: IBorderOptions;
2815
+ readonly right?: IBorderOptions;
2816
+ readonly between?: IBorderOptions;
2558
2817
  }
2559
- declare class MathFraction extends XmlComponent {
2560
- constructor(options: IMathFractionOptions);
2818
+ declare class Border extends IgnoreIfEmptyXmlComponent {
2819
+ constructor(options: IBordersOptions);
2561
2820
  }
2562
- //#endregion
2563
- //#region src/file/paragraph/math/fraction/math-denominator.d.ts
2564
- declare class MathDenominator extends XmlComponent {
2565
- constructor(children: readonly MathComponent[]);
2821
+ declare class ThematicBreak extends XmlComponent {
2822
+ constructor();
2566
2823
  }
2567
2824
  //#endregion
2568
- //#region src/file/paragraph/math/fraction/math-numerator.d.ts
2569
- declare class MathNumerator extends XmlComponent {
2570
- constructor(children: readonly MathComponent[]);
2825
+ //#region src/file/paragraph/formatting/cnf-style.d.ts
2826
+ interface ICnfStyleOptions {
2827
+ readonly firstRow?: boolean;
2828
+ readonly lastRow?: boolean;
2829
+ readonly firstColumn?: boolean;
2830
+ readonly lastColumn?: boolean;
2831
+ readonly oddVBand?: boolean;
2832
+ readonly evenVBand?: boolean;
2833
+ readonly oddHBand?: boolean;
2834
+ readonly evenHBand?: boolean;
2835
+ readonly firstRowFirstColumn?: boolean;
2836
+ readonly firstRowLastColumn?: boolean;
2837
+ readonly lastRowFirstColumn?: boolean;
2838
+ readonly lastRowLastColumn?: boolean;
2571
2839
  }
2840
+ declare const createCnfStyle: (options: ICnfStyleOptions) => XmlComponent;
2572
2841
  //#endregion
2573
- //#region src/file/paragraph/math/math-control-properties.d.ts
2574
- interface MathControlPropertiesOptions {
2575
- readonly insertionReference?: string;
2576
- readonly deletionReference?: string;
2842
+ //#region src/file/paragraph/formatting/indent.d.ts
2843
+ interface IIndentAttributesProperties {
2844
+ readonly start?: number | values_d_exports.UniversalMeasure;
2845
+ readonly startChars?: number;
2846
+ readonly end?: number | values_d_exports.UniversalMeasure;
2847
+ readonly endChars?: number;
2848
+ readonly left?: number | values_d_exports.UniversalMeasure;
2849
+ readonly leftChars?: number;
2850
+ readonly right?: number | values_d_exports.UniversalMeasure;
2851
+ readonly rightChars?: number;
2852
+ readonly hanging?: number | values_d_exports.PositiveUniversalMeasure;
2853
+ readonly hangingChars?: number;
2854
+ readonly firstLine?: number | values_d_exports.PositiveUniversalMeasure;
2855
+ readonly firstLineChars?: number;
2577
2856
  }
2578
- declare const createMathControlProperties: (options?: MathControlPropertiesOptions) => XmlComponent;
2857
+ declare const createIndent: ({
2858
+ start,
2859
+ startChars,
2860
+ end,
2861
+ endChars,
2862
+ left,
2863
+ leftChars,
2864
+ right,
2865
+ rightChars,
2866
+ hanging,
2867
+ hangingChars,
2868
+ firstLine,
2869
+ firstLineChars
2870
+ }: IIndentAttributesProperties) => XmlComponent;
2579
2871
  //#endregion
2580
- //#region src/file/paragraph/math/function/math-function-properties.d.ts
2581
- interface MathFunctionPropertiesOptions {
2582
- readonly controlProperties?: MathControlPropertiesOptions;
2872
+ //#region src/file/paragraph/formatting/spacing.d.ts
2873
+ declare const LineRuleType: {
2874
+ readonly AT_LEAST: "atLeast";
2875
+ readonly EXACTLY: "exactly";
2876
+ readonly EXACT: "exact";
2877
+ readonly AUTO: "auto";
2878
+ };
2879
+ interface ISpacingProperties {
2880
+ readonly after?: number;
2881
+ readonly before?: number;
2882
+ readonly line?: number;
2883
+ readonly lineRule?: (typeof LineRuleType)[keyof typeof LineRuleType];
2884
+ readonly beforeAutoSpacing?: boolean;
2885
+ readonly afterAutoSpacing?: boolean;
2886
+ readonly beforeLines?: number;
2887
+ readonly afterLines?: number;
2583
2888
  }
2584
- declare const createMathFunctionProperties: (options?: MathFunctionPropertiesOptions) => XmlComponent;
2889
+ declare const createSpacing: ({
2890
+ after,
2891
+ before,
2892
+ line,
2893
+ lineRule,
2894
+ beforeAutoSpacing,
2895
+ afterAutoSpacing,
2896
+ beforeLines,
2897
+ afterLines
2898
+ }: ISpacingProperties) => XmlComponent;
2585
2899
  //#endregion
2586
- //#region src/file/paragraph/math/function/math-function.d.ts
2587
- interface IMathFunctionOptions {
2588
- readonly properties?: MathFunctionPropertiesOptions;
2589
- readonly children: readonly MathComponent[];
2590
- readonly name: readonly MathComponent[];
2591
- }
2592
- declare class MathFunction extends XmlComponent {
2593
- constructor(options: IMathFunctionOptions);
2594
- }
2900
+ //#region src/file/paragraph/formatting/style.d.ts
2901
+ declare const HeadingLevel: {
2902
+ readonly HEADING_1: "Heading1";
2903
+ readonly HEADING_2: "Heading2";
2904
+ readonly HEADING_3: "Heading3";
2905
+ readonly HEADING_4: "Heading4";
2906
+ readonly HEADING_5: "Heading5";
2907
+ readonly HEADING_6: "Heading6";
2908
+ readonly TITLE: "Title";
2909
+ };
2910
+ declare const createParagraphStyle: (styleId: string) => XmlComponent;
2595
2911
  //#endregion
2596
- //#region src/file/paragraph/math/function/math-function-name.d.ts
2597
- declare class MathFunctionName extends XmlComponent {
2598
- constructor(children: readonly MathComponent[]);
2912
+ //#region src/file/paragraph/formatting/tab-stop.d.ts
2913
+ interface TabStopDefinition {
2914
+ readonly type: (typeof TabStopType)[keyof typeof TabStopType];
2915
+ readonly position: number | (typeof TabStopPosition)[keyof typeof TabStopPosition];
2916
+ readonly leader?: (typeof LeaderType)[keyof typeof LeaderType];
2599
2917
  }
2918
+ declare const TabStopType: {
2919
+ readonly LEFT: "left";
2920
+ readonly RIGHT: "right";
2921
+ readonly CENTER: "center";
2922
+ readonly BAR: "bar";
2923
+ readonly CLEAR: "clear";
2924
+ readonly DECIMAL: "decimal";
2925
+ readonly END: "end";
2926
+ readonly NUM: "num";
2927
+ readonly START: "start";
2928
+ };
2929
+ declare const LeaderType: {
2930
+ readonly DOT: "dot";
2931
+ readonly HEAVY: "heavy";
2932
+ readonly HYPHEN: "hyphen";
2933
+ readonly MIDDLE_DOT: "middleDot";
2934
+ readonly NONE: "none";
2935
+ readonly UNDERSCORE: "underscore";
2936
+ };
2937
+ declare const TabStopPosition: {
2938
+ readonly MAX: 9026;
2939
+ };
2940
+ declare const createTabStopItem: ({
2941
+ type,
2942
+ position,
2943
+ leader
2944
+ }: TabStopDefinition) => XmlComponent;
2945
+ declare const createTabStop: (tabDefinitions: readonly TabStopDefinition[]) => XmlComponent;
2600
2946
  //#endregion
2601
- //#region src/file/paragraph/math/group-chr/math-group-chr-properties.d.ts
2602
- interface MathGroupChrPropertiesOptions {
2603
- readonly chr?: string;
2604
- readonly pos?: "top" | "bot";
2605
- readonly vertJc?: "top" | "bot";
2606
- }
2607
- declare const createMathGroupChrProperties: (options: MathGroupChrPropertiesOptions) => XmlComponent;
2947
+ //#region src/file/paragraph/frame/frame-properties.d.ts
2948
+ declare const DropCapType: {
2949
+ readonly NONE: "none";
2950
+ readonly DROP: "drop";
2951
+ readonly MARGIN: "margin";
2952
+ };
2953
+ declare const FrameAnchorType: {
2954
+ readonly MARGIN: "margin";
2955
+ readonly PAGE: "page";
2956
+ readonly TEXT: "text";
2957
+ };
2958
+ declare const FrameWrap: {
2959
+ readonly AROUND: "around";
2960
+ readonly AUTO: "auto";
2961
+ readonly NONE: "none";
2962
+ readonly NOT_BESIDE: "notBeside";
2963
+ readonly THROUGH: "through";
2964
+ readonly TIGHT: "tight";
2965
+ };
2966
+ interface IBaseFrameOptions {
2967
+ readonly anchorLock?: boolean;
2968
+ readonly dropCap?: (typeof DropCapType)[keyof typeof DropCapType];
2969
+ readonly width: number;
2970
+ readonly height: number;
2971
+ readonly wrap?: (typeof FrameWrap)[keyof typeof FrameWrap];
2972
+ readonly lines?: number;
2973
+ readonly anchor: {
2974
+ readonly horizontal: (typeof FrameAnchorType)[keyof typeof FrameAnchorType];
2975
+ readonly vertical: (typeof FrameAnchorType)[keyof typeof FrameAnchorType];
2976
+ };
2977
+ readonly space?: {
2978
+ readonly horizontal: number;
2979
+ readonly vertical: number;
2980
+ };
2981
+ readonly rule?: (typeof HeightRule)[keyof typeof HeightRule];
2982
+ }
2983
+ type IXYFrameOptions = {
2984
+ readonly type: "absolute";
2985
+ readonly position: {
2986
+ readonly x: number;
2987
+ readonly y: number;
2988
+ };
2989
+ } & IBaseFrameOptions;
2990
+ type IAlignmentFrameOptions = {
2991
+ readonly type: "alignment";
2992
+ readonly alignment: {
2993
+ readonly x: (typeof HorizontalPositionAlign)[keyof typeof HorizontalPositionAlign];
2994
+ readonly y: (typeof VerticalPositionAlign)[keyof typeof VerticalPositionAlign];
2995
+ };
2996
+ } & IBaseFrameOptions;
2997
+ type IFrameOptions = IXYFrameOptions | IAlignmentFrameOptions;
2998
+ declare const createFrameProperties: (options: IFrameOptions) => XmlComponent;
2608
2999
  //#endregion
2609
- //#region src/file/paragraph/math/group-chr/math-group-chr.d.ts
2610
- interface IMathGroupChrOptions {
2611
- readonly properties?: MathGroupChrPropertiesOptions;
2612
- readonly children: readonly MathComponent[];
3000
+ //#region src/file/paragraph/properties.d.ts
3001
+ declare const TextAlignmentType: {
3002
+ readonly TOP: "top";
3003
+ readonly CENTER: "center";
3004
+ readonly BASELINE: "baseline";
3005
+ readonly BOTTOM: "bottom";
3006
+ readonly AUTO: "auto";
3007
+ };
3008
+ declare const TextboxTightWrapType: {
3009
+ readonly NONE: "none";
3010
+ readonly ALL_LINES: "allLines";
3011
+ readonly FIRST_AND_LAST_LINE: "firstAndLastLine";
3012
+ readonly FIRST_LINE_ONLY: "firstLineOnly";
3013
+ readonly LAST_LINE_ONLY: "lastLineOnly";
3014
+ };
3015
+ interface LevelParagraphStylePropertiesOptions {
3016
+ readonly alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
3017
+ readonly bidirectional?: boolean;
3018
+ readonly pageBreakBefore?: boolean;
3019
+ readonly tabStops?: readonly TabStopDefinition[];
3020
+ readonly thematicBreak?: boolean;
3021
+ readonly widowControl?: boolean;
3022
+ readonly contextualSpacing?: boolean;
3023
+ readonly rightTabStop?: number;
3024
+ readonly leftTabStop?: number;
3025
+ readonly indent?: IIndentAttributesProperties;
3026
+ readonly spacing?: ISpacingProperties;
3027
+ readonly keepNext?: boolean;
3028
+ readonly keepLines?: boolean;
3029
+ readonly frame?: IFrameOptions;
3030
+ readonly suppressLineNumbers?: boolean;
3031
+ readonly wordWrap?: boolean;
3032
+ readonly overflowPunctuation?: boolean;
3033
+ readonly autoSpaceEastAsianText?: boolean;
3034
+ readonly suppressOverlap?: boolean;
3035
+ readonly suppressAutoHyphens?: boolean;
3036
+ readonly adjustRightInd?: boolean;
3037
+ readonly snapToGrid?: boolean;
3038
+ readonly mirrorIndents?: boolean;
3039
+ readonly kinsoku?: boolean;
3040
+ readonly topLinePunct?: boolean;
3041
+ readonly autoSpaceDE?: boolean;
3042
+ readonly textAlignment?: (typeof TextAlignmentType)[keyof typeof TextAlignmentType];
3043
+ readonly textboxTightWrap?: (typeof TextboxTightWrapType)[keyof typeof TextboxTightWrapType];
3044
+ readonly textDirection?: "lr" | "rl" | "tb" | "tbV" | "rlV" | "lrV";
3045
+ readonly outlineLevel?: number;
3046
+ readonly divId?: number;
3047
+ readonly cnfStyle?: ICnfStyleOptions;
2613
3048
  }
2614
- declare class MathGroupChr extends XmlComponent {
2615
- constructor(options: IMathGroupChrOptions);
3049
+ type IParagraphStylePropertiesOptions = {
3050
+ readonly border?: IBordersOptions;
3051
+ readonly shading?: IShadingAttributesProperties;
3052
+ readonly numbering?: {
3053
+ readonly reference: string;
3054
+ readonly level: number;
3055
+ readonly instance?: number;
3056
+ readonly custom?: boolean;
3057
+ } | false;
3058
+ } & LevelParagraphStylePropertiesOptions;
3059
+ type IParagraphPropertiesOptionsBase = {
3060
+ readonly heading?: (typeof HeadingLevel)[keyof typeof HeadingLevel];
3061
+ readonly style?: string;
3062
+ readonly bullet?: {
3063
+ readonly level: number;
3064
+ };
3065
+ readonly run?: IParagraphRunOptions;
3066
+ } & IParagraphStylePropertiesOptions;
3067
+ type IParagraphPropertiesChangeOptions = IChangedAttributesProperties & IParagraphPropertiesOptionsBase;
3068
+ type IParagraphPropertiesOptions = {
3069
+ readonly revision?: IParagraphPropertiesChangeOptions;
3070
+ readonly includeIfEmpty?: boolean;
3071
+ } & IParagraphPropertiesOptionsBase;
3072
+ declare class ParagraphProperties extends IgnoreIfEmptyXmlComponent {
3073
+ private readonly numberingReferences;
3074
+ constructor(options?: IParagraphPropertiesOptions);
3075
+ push(item: XmlComponent): void;
3076
+ prepForXml(context: IContext): IXmlableObject | undefined;
2616
3077
  }
2617
- //#endregion
2618
- //#region src/file/paragraph/math/math-run-properties.d.ts
2619
- type MathScriptType = "roman" | "script" | "fraktur" | "double-struck" | "sans-serif" | "monospace";
2620
- type MathStyleType = "p" | "b" | "i" | "bi";
2621
- interface MathRunPropertiesOptions {
2622
- readonly lit?: boolean;
2623
- readonly normal?: boolean;
2624
- readonly script?: MathScriptType;
2625
- readonly style?: MathStyleType;
2626
- readonly breakAlignment?: number;
2627
- readonly align?: boolean;
3078
+ declare class ParagraphPropertiesChange extends XmlComponent {
3079
+ constructor(options: IParagraphPropertiesChangeOptions);
2628
3080
  }
2629
- declare const createMathRunProperties: (options: MathRunPropertiesOptions) => XmlComponent;
2630
3081
  //#endregion
2631
- //#region src/file/paragraph/math/math-run.d.ts
2632
- interface MathRunOptions {
2633
- readonly text: string;
2634
- readonly properties?: MathRunPropertiesOptions;
3082
+ //#region src/file/paragraph/paragraph.d.ts
3083
+ type Math$1 = InstanceType<typeof Math>;
3084
+ 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;
3085
+ interface IChartChild {
3086
+ readonly chart: IChartOptions;
2635
3087
  }
2636
- declare class MathRun extends XmlComponent {
2637
- constructor(textOrOptions: string | MathRunOptions);
3088
+ interface ISmartArtChild {
3089
+ readonly smartArt: ISmartArtOptions;
2638
3090
  }
2639
- //#endregion
2640
- //#region src/file/paragraph/math/matrix/math-matrix-properties.d.ts
2641
- interface MathMatrixPropertiesOptions {
2642
- readonly baseJc?: "top" | "bot" | "center";
2643
- readonly plcHide?: boolean;
2644
- readonly rSpRule?: "single" | "1.5" | "double" | "exactly" | "multiple";
2645
- readonly cGpRule?: "single" | "1.5" | "double" | "exactly" | "multiple";
2646
- readonly rSp?: number;
2647
- readonly cSp?: number;
2648
- readonly cGp?: number;
3091
+ interface IImageChild {
3092
+ readonly image: IImageOptions;
2649
3093
  }
2650
- declare const createMathMatrixProperties: (options: MathMatrixPropertiesOptions) => XmlComponent;
2651
- //#endregion
2652
- //#region src/file/paragraph/math/matrix/math-matrix.d.ts
2653
- interface IMathMatrixOptions {
2654
- readonly properties?: MathMatrixPropertiesOptions;
2655
- readonly rows: readonly (readonly MathComponent[])[];
3094
+ interface IMathChild {
3095
+ readonly math: Omit<IMathOptions, "children"> & {
3096
+ readonly children?: readonly (MathComponent | {
3097
+ readonly text: string;
3098
+ } | string)[];
3099
+ };
2656
3100
  }
2657
- declare class MathMatrix extends XmlComponent {
2658
- constructor(options: IMathMatrixOptions);
3101
+ type IParagraphJsonChild = IChartChild | ISmartArtChild | IImageChild | IMathChild | {
3102
+ readonly symbolRun: ISymbolRunOptions;
3103
+ } | {
3104
+ readonly footnoteReference: number;
3105
+ } | {
3106
+ readonly endnoteReference: number;
3107
+ } | {
3108
+ readonly pageBreak: true;
3109
+ } | {
3110
+ readonly columnBreak: true;
3111
+ } | {
3112
+ readonly commentRangeStart: number;
3113
+ } | {
3114
+ readonly commentRangeEnd: number;
3115
+ } | {
3116
+ readonly commentReference: number;
3117
+ } | {
3118
+ readonly insertion: IRunOptions & IChangedAttributesProperties;
3119
+ } | {
3120
+ readonly deletion: IRunOptions & IChangedAttributesProperties;
3121
+ };
3122
+ type IParagraphOptions = {
3123
+ readonly text?: string;
3124
+ readonly children?: readonly (ParagraphChild | IRunOptions | IParagraphJsonChild | string)[];
3125
+ } & IParagraphPropertiesOptions;
3126
+ declare class Paragraph extends BaseXmlComponent implements FileChild {
3127
+ readonly fileChild: symbol;
3128
+ private readonly options;
3129
+ private frontRuns;
3130
+ private sectionProperties?;
3131
+ constructor(options: string | IParagraphOptions);
3132
+ prepForXml(context: IContext): IXmlableObject | undefined;
3133
+ addRunToFront(run: Run): Paragraph;
3134
+ setSectionProperties(section: SectionProperties): void;
2659
3135
  }
2660
3136
  //#endregion
2661
- //#region src/file/paragraph/math/n-ary/math-accent-character.d.ts
2662
- interface MathAccentCharacterOptions {
2663
- readonly accent: string;
3137
+ //#region src/file/paragraph/run/comment-run.d.ts
3138
+ interface ICommentOptions {
3139
+ readonly id: number;
3140
+ readonly children: readonly (FileChild | IParagraphOptions | string)[];
3141
+ readonly initials?: string;
3142
+ readonly author?: string;
3143
+ readonly date?: Date | string;
2664
3144
  }
2665
- declare const createMathAccentCharacter: ({
2666
- accent
2667
- }: MathAccentCharacterOptions) => XmlComponent;
2668
- //#endregion
2669
- //#region src/file/paragraph/math/n-ary/math-base.d.ts
2670
- interface MathBaseOptions {
2671
- readonly children: readonly MathComponent[];
3145
+ interface ICommentsOptions {
3146
+ readonly children: readonly ICommentOptions[];
2672
3147
  }
2673
- declare const createMathBase: ({
2674
- children
2675
- }: MathBaseOptions) => XmlComponent;
2676
- //#endregion
2677
- //#region src/file/paragraph/math/n-ary/math-limit-location.d.ts
2678
- interface MathLimitLocationOptions {
2679
- readonly value?: string;
3148
+ declare class CommentRangeStart extends XmlComponent {
3149
+ constructor(id: number);
2680
3150
  }
2681
- declare const createMathLimitLocation: ({
2682
- value
2683
- }: MathLimitLocationOptions) => XmlComponent;
2684
- //#endregion
2685
- //#region src/file/paragraph/math/n-ary/math-n-ary-properties.d.ts
2686
- interface MathNAryPropertiesOptions {
2687
- readonly accent: string;
2688
- readonly hasSuperScript: boolean;
2689
- readonly hasSubScript: boolean;
2690
- readonly limitLocationVal?: string;
2691
- readonly grow?: boolean;
3151
+ declare class CommentRangeEnd extends XmlComponent {
3152
+ constructor(id: number);
2692
3153
  }
2693
- declare const createMathNAryProperties: ({
2694
- accent,
2695
- hasSuperScript,
2696
- hasSubScript,
2697
- limitLocationVal,
2698
- grow
2699
- }: MathNAryPropertiesOptions) => XmlComponent;
2700
- //#endregion
2701
- //#region src/file/paragraph/math/n-ary/math-sub-script.d.ts
2702
- interface MathSubScriptElementOptions {
2703
- readonly children: readonly MathComponent[];
3154
+ declare class CommentReference extends XmlComponent {
3155
+ constructor(id: number);
2704
3156
  }
2705
- declare const createMathSubScriptElement: ({
2706
- children
2707
- }: MathSubScriptElementOptions) => XmlComponent;
2708
- //#endregion
2709
- //#region src/file/paragraph/math/n-ary/math-sum.d.ts
2710
- interface IMathSumOptions {
2711
- readonly children: readonly MathComponent[];
2712
- readonly subScript?: readonly MathComponent[];
2713
- readonly superScript?: readonly MathComponent[];
3157
+ declare class Comment extends XmlComponent {
3158
+ constructor({
3159
+ id,
3160
+ initials,
3161
+ author,
3162
+ date,
3163
+ children
3164
+ }: ICommentOptions);
2714
3165
  }
2715
- declare class MathSum extends XmlComponent {
2716
- constructor(options: IMathSumOptions);
3166
+ declare class Comments extends XmlComponent {
3167
+ private readonly relationships;
3168
+ constructor({
3169
+ children
3170
+ }: ICommentsOptions);
3171
+ get Relationships(): Relationships;
2717
3172
  }
2718
3173
  //#endregion
2719
- //#region src/file/paragraph/math/n-ary/math-integral.d.ts
2720
- interface IMathIntegralOptions {
2721
- readonly children: readonly MathComponent[];
2722
- readonly subScript?: readonly MathComponent[];
2723
- readonly superScript?: readonly MathComponent[];
2724
- }
2725
- declare class MathIntegral extends XmlComponent {
2726
- constructor(options: IMathIntegralOptions);
3174
+ //#region src/file/paragraph/run/positional-tab.d.ts
3175
+ declare const PositionalTabAlignment: {
3176
+ readonly LEFT: "left";
3177
+ readonly CENTER: "center";
3178
+ readonly RIGHT: "right";
3179
+ };
3180
+ declare const PositionalTabRelativeTo: {
3181
+ readonly MARGIN: "margin";
3182
+ readonly INDENT: "indent";
3183
+ };
3184
+ declare const PositionalTabLeader: {
3185
+ readonly NONE: "none";
3186
+ readonly DOT: "dot";
3187
+ readonly HYPHEN: "hyphen";
3188
+ readonly UNDERSCORE: "underscore";
3189
+ readonly MIDDLE_DOT: "middleDot";
3190
+ };
3191
+ interface PositionalTabOptions {
3192
+ readonly alignment: (typeof PositionalTabAlignment)[keyof typeof PositionalTabAlignment];
3193
+ readonly relativeTo: (typeof PositionalTabRelativeTo)[keyof typeof PositionalTabRelativeTo];
3194
+ readonly leader: (typeof PositionalTabLeader)[keyof typeof PositionalTabLeader];
2727
3195
  }
2728
- //#endregion
2729
- //#region src/file/paragraph/math/n-ary/math-super-script.d.ts
2730
- interface MathSuperScriptElementOptions {
2731
- readonly children: readonly MathComponent[];
3196
+ declare class PositionalTab extends XmlComponent {
3197
+ constructor(options: PositionalTabOptions);
2732
3198
  }
2733
- declare const createMathSuperScriptElement: ({
2734
- children
2735
- }: MathSuperScriptElementOptions) => XmlComponent;
2736
3199
  //#endregion
2737
- //#region src/file/paragraph/math/n-ary/math-limit.d.ts
2738
- declare class MathLimit extends XmlComponent {
2739
- constructor(children: readonly MathComponent[]);
3200
+ //#region src/file/paragraph/run/ruby.d.ts
3201
+ declare const RubyAlign: {
3202
+ readonly CENTER: "center";
3203
+ readonly DISTRIBUTE_LETTER: "distributeLetter";
3204
+ readonly DISTRIBUTE_SPACE: "distributeSpace";
3205
+ readonly LEFT: "left";
3206
+ readonly RIGHT: "right";
3207
+ readonly RIGHT_VERTICAL: "rightVertical";
3208
+ };
3209
+ interface RubyOptions {
3210
+ readonly text: string;
3211
+ readonly base: string;
3212
+ readonly alignment?: keyof typeof RubyAlign;
3213
+ readonly fontSize?: number;
3214
+ readonly raise?: number;
3215
+ readonly baseFontSize?: number;
3216
+ readonly languageId?: string;
3217
+ readonly dirty?: boolean;
2740
3218
  }
3219
+ declare const createRuby: (options: RubyOptions) => XmlComponent;
2741
3220
  //#endregion
2742
- //#region src/file/paragraph/math/n-ary/math-limit-upper-properties.d.ts
2743
- interface MathLimitUpperPropertiesOptions {
2744
- readonly controlProperties?: MathControlPropertiesOptions;
3221
+ //#region src/file/paragraph/run/form-field.d.ts
3222
+ declare const FormFieldTextType: {
3223
+ readonly REGULAR: "regular";
3224
+ readonly NUMBER: "number";
3225
+ readonly DATE: "date";
3226
+ readonly CURRENT_TIME: "currentTime";
3227
+ readonly CURRENT_DATE: "currentDate";
3228
+ readonly CALCULATED: "calculated";
3229
+ };
3230
+ interface CheckBoxOptions {
3231
+ readonly size?: number;
3232
+ readonly sizeAuto?: boolean;
3233
+ readonly default?: boolean;
3234
+ readonly checked?: boolean;
2745
3235
  }
2746
- declare const createMathLimitUpperProperties: (options?: MathLimitUpperPropertiesOptions) => XmlComponent;
2747
- //#endregion
2748
- //#region src/file/paragraph/math/n-ary/math-limit-upper.d.ts
2749
- interface IMathLimitUpperOptions {
2750
- readonly properties?: MathLimitUpperPropertiesOptions;
2751
- readonly children: readonly MathComponent[];
2752
- readonly limit: readonly MathComponent[];
3236
+ interface DropDownListOptions {
3237
+ readonly entries: readonly string[];
3238
+ readonly result?: number;
3239
+ readonly default?: number;
2753
3240
  }
2754
- declare class MathLimitUpper extends XmlComponent {
2755
- constructor(options: IMathLimitUpperOptions);
3241
+ interface TextInputOptions {
3242
+ readonly type?: (typeof FormFieldTextType)[keyof typeof FormFieldTextType];
3243
+ readonly default?: string;
3244
+ readonly maxLength?: number;
3245
+ readonly format?: string;
2756
3246
  }
2757
- //#endregion
2758
- //#region src/file/paragraph/math/n-ary/math-limit-low-properties.d.ts
2759
- interface MathLimitLowPropertiesOptions {
2760
- readonly controlProperties?: MathControlPropertiesOptions;
3247
+ interface FormFieldTextOptions {
3248
+ readonly type: "text" | "autoText";
3249
+ readonly value: string;
2761
3250
  }
2762
- declare const createMathLimitLowProperties: (options?: MathLimitLowPropertiesOptions) => XmlComponent;
2763
- //#endregion
2764
- //#region src/file/paragraph/math/n-ary/math-limit-lower.d.ts
2765
- interface IMathLimitLowerOptions {
2766
- readonly properties?: MathLimitLowPropertiesOptions;
2767
- readonly children: readonly MathComponent[];
2768
- readonly limit: readonly MathComponent[];
3251
+ interface FormFieldCommonOptions {
3252
+ readonly name?: string;
3253
+ readonly label?: number;
3254
+ readonly tabIndex?: number;
3255
+ readonly enabled?: boolean;
3256
+ readonly calcOnExit?: boolean;
3257
+ readonly entryMacro?: string;
3258
+ readonly exitMacro?: string;
3259
+ readonly helpText?: FormFieldTextOptions;
3260
+ readonly statusText?: FormFieldTextOptions;
2769
3261
  }
2770
- declare class MathLimitLower extends XmlComponent {
2771
- constructor(options: IMathLimitLowerOptions);
3262
+ interface FormFieldOptions extends FormFieldCommonOptions {
3263
+ readonly checkBox?: CheckBoxOptions;
3264
+ readonly dropDownList?: DropDownListOptions;
3265
+ readonly textInput?: TextInputOptions;
2772
3266
  }
3267
+ declare const createFormFieldData: (options: FormFieldOptions) => XmlComponent;
2773
3268
  //#endregion
2774
- //#region src/file/paragraph/math/phant/math-phant-properties.d.ts
2775
- interface MathPhantPropertiesOptions {
2776
- readonly show?: boolean;
2777
- readonly zeroWid?: boolean;
2778
- readonly zeroAsc?: boolean;
2779
- readonly zeroDesc?: boolean;
2780
- readonly transp?: boolean;
2781
- }
2782
- declare const createMathPhantProperties: (options: MathPhantPropertiesOptions) => XmlComponent;
3269
+ //#region src/file/paragraph/run/break.d.ts
3270
+ declare const createBreak: (options?: {
3271
+ readonly clear?: "none" | "left" | "right" | "all";
3272
+ }) => XmlComponent;
2783
3273
  //#endregion
2784
- //#region src/file/paragraph/math/phant/math-phant.d.ts
2785
- interface IMathPhantOptions {
2786
- readonly properties?: MathPhantPropertiesOptions;
2787
- readonly children: readonly MathComponent[];
3274
+ //#region src/file/endnotes/endnote/run/reference-run.d.ts
3275
+ declare class EndnoteReferenceRunAttributes extends XmlAttributeComponent<{
3276
+ readonly id: number;
3277
+ }> {
3278
+ protected readonly xmlKeys: {
3279
+ id: string;
3280
+ };
2788
3281
  }
2789
- declare class MathPhant extends XmlComponent {
2790
- constructor(options: IMathPhantOptions);
3282
+ declare class EndnoteIdReference extends XmlComponent {
3283
+ constructor(id: number);
2791
3284
  }
2792
- //#endregion
2793
- //#region src/file/paragraph/math/radical/math-degree.d.ts
2794
- declare class MathDegree extends XmlComponent {
2795
- constructor(children?: readonly MathComponent[]);
3285
+ declare class EndnoteReferenceRun extends Run {
3286
+ constructor(id: number);
2796
3287
  }
2797
3288
  //#endregion
2798
- //#region src/file/paragraph/math/radical/math-radical.d.ts
2799
- interface IMathRadicalOptions {
2800
- readonly children: readonly MathComponent[];
2801
- readonly degree?: readonly MathComponent[];
3289
+ //#region src/file/document-wrapper.d.ts
3290
+ interface IViewWrapper {
3291
+ readonly View: Document | Footer$1 | Header$1 | FootNotes | Endnotes | XmlComponent;
3292
+ readonly Relationships: Relationships;
2802
3293
  }
2803
- declare class MathRadical extends XmlComponent {
2804
- constructor(options: IMathRadicalOptions);
3294
+ declare class DocumentWrapper implements IViewWrapper {
3295
+ private readonly document;
3296
+ private readonly relationships;
3297
+ constructor(options: IDocumentOptions);
3298
+ get View(): Document;
3299
+ get Relationships(): Relationships;
2805
3300
  }
2806
3301
  //#endregion
2807
- //#region src/file/paragraph/math/radical/math-radical-properties.d.ts
2808
- declare class MathRadicalProperties extends XmlComponent {
2809
- constructor(hasDegree: boolean);
3302
+ //#region src/file/bibliography/bibliography.d.ts
3303
+ interface SourceTypeOptions {
3304
+ readonly type?: string;
3305
+ readonly title?: string;
3306
+ readonly author?: string;
3307
+ readonly year?: string;
3308
+ readonly month?: string;
3309
+ readonly day?: string;
3310
+ readonly bookTitle?: string;
3311
+ readonly journal?: string;
3312
+ readonly volume?: string;
3313
+ readonly issue?: string;
3314
+ readonly pages?: string;
3315
+ readonly publisher?: string;
3316
+ readonly city?: string;
3317
+ readonly url?: string;
3318
+ readonly edition?: string;
3319
+ readonly institution?: string;
2810
3320
  }
2811
- //#endregion
2812
- //#region src/file/paragraph/math/script/super-script/math-super-script-function.d.ts
2813
- interface IMathSuperScriptOptions {
2814
- readonly children: readonly MathComponent[];
2815
- readonly superScript: readonly MathComponent[];
3321
+ interface IBibliographyOptions {
3322
+ readonly sources: readonly SourceTypeOptions[];
3323
+ readonly styleName?: string;
2816
3324
  }
2817
- declare class MathSuperScript extends XmlComponent {
2818
- constructor(options: IMathSuperScriptOptions);
3325
+ declare class Bibliography extends XmlComponent {
3326
+ private readonly relationships;
3327
+ constructor(options: IBibliographyOptions);
3328
+ get Relationships(): Relationships;
2819
3329
  }
2820
3330
  //#endregion
2821
- //#region src/file/paragraph/math/script/super-script/math-super-script-function-properties.d.ts
2822
- declare const createMathSuperScriptProperties: () => XmlComponent;
2823
- //#endregion
2824
- //#region src/file/paragraph/math/script/sub-script/math-sub-script-function.d.ts
2825
- interface IMathSubScriptOptions {
2826
- readonly children: readonly MathComponent[];
2827
- readonly subScript: readonly MathComponent[];
2828
- }
2829
- declare class MathSubScript extends XmlComponent {
2830
- constructor(options: IMathSubScriptOptions);
2831
- }
2832
- //#endregion
2833
- //#region src/file/paragraph/math/script/sub-script/math-sub-script-function-properties.d.ts
2834
- declare const createMathSubScriptProperties: () => XmlComponent;
2835
- //#endregion
2836
- //#region src/file/paragraph/math/script/sub-super-script/math-sub-super-script-function.d.ts
2837
- interface IMathSubSuperScriptOptions {
2838
- readonly children: readonly MathComponent[];
2839
- readonly subScript: readonly MathComponent[];
2840
- readonly superScript: readonly MathComponent[];
2841
- }
2842
- declare class MathSubSuperScript extends XmlComponent {
2843
- constructor(options: IMathSubSuperScriptOptions);
3331
+ //#region src/file/content-types/content-types.d.ts
3332
+ declare class ContentTypes extends XmlComponent {
3333
+ constructor();
3334
+ addBibliography(): void;
3335
+ addFooter(index: number): void;
3336
+ addHeader(index: number): void;
3337
+ addChart(index: number): void;
3338
+ addDiagramData(index: number): void;
3339
+ addDiagramLayout(index: number): void;
3340
+ addDiagramStyle(index: number): void;
3341
+ addDiagramColors(index: number): void;
3342
+ addDiagramDrawing(index: number): void;
3343
+ addAltChunk(path: string, contentType: string, _extension: string): void;
3344
+ addSubDoc(path: string): void;
2844
3345
  }
2845
3346
  //#endregion
2846
- //#region src/file/paragraph/math/script/sub-super-script/math-sub-super-script-function-properties.d.ts
2847
- interface MathSubSuperScriptPropertiesOptions {
2848
- readonly alignScripts?: boolean;
3347
+ //#region src/file/settings/compatibility.d.ts
3348
+ interface ICompatibilityOptions {
3349
+ readonly version?: number;
3350
+ readonly useSingleBorderforContiguousCells?: boolean;
3351
+ readonly wordPerfectJustification?: boolean;
3352
+ readonly noTabStopForHangingIndent?: boolean;
3353
+ readonly noLeading?: boolean;
3354
+ readonly spaceForUnderline?: boolean;
3355
+ readonly noColumnBalance?: boolean;
3356
+ readonly balanceSingleByteDoubleByteWidth?: boolean;
3357
+ readonly noExtraLineSpacing?: boolean;
3358
+ readonly doNotLeaveBackslashAlone?: boolean;
3359
+ readonly underlineTrailingSpaces?: boolean;
3360
+ readonly doNotExpandShiftReturn?: boolean;
3361
+ readonly spacingInWholePoints?: boolean;
3362
+ readonly lineWrapLikeWord6?: boolean;
3363
+ readonly printBodyTextBeforeHeader?: boolean;
3364
+ readonly printColorsBlack?: boolean;
3365
+ readonly spaceWidth?: boolean;
3366
+ readonly showBreaksInFrames?: boolean;
3367
+ readonly subFontBySize?: boolean;
3368
+ readonly suppressBottomSpacing?: boolean;
3369
+ readonly suppressTopSpacing?: boolean;
3370
+ readonly suppressSpacingAtTopOfPage?: boolean;
3371
+ readonly suppressTopSpacingWP?: boolean;
3372
+ readonly suppressSpBfAfterPgBrk?: boolean;
3373
+ readonly swapBordersFacingPages?: boolean;
3374
+ readonly convertMailMergeEsc?: boolean;
3375
+ readonly truncateFontHeightsLikeWP6?: boolean;
3376
+ readonly macWordSmallCaps?: boolean;
3377
+ readonly usePrinterMetrics?: boolean;
3378
+ readonly doNotSuppressParagraphBorders?: boolean;
3379
+ readonly wrapTrailSpaces?: boolean;
3380
+ readonly footnoteLayoutLikeWW8?: boolean;
3381
+ readonly shapeLayoutLikeWW8?: boolean;
3382
+ readonly alignTablesRowByRow?: boolean;
3383
+ readonly forgetLastTabAlignment?: boolean;
3384
+ readonly adjustLineHeightInTable?: boolean;
3385
+ readonly autoSpaceLikeWord95?: boolean;
3386
+ readonly noSpaceRaiseLower?: boolean;
3387
+ readonly doNotUseHTMLParagraphAutoSpacing?: boolean;
3388
+ readonly layoutRawTableWidth?: boolean;
3389
+ readonly layoutTableRowsApart?: boolean;
3390
+ readonly useWord97LineBreakRules?: boolean;
3391
+ readonly doNotBreakWrappedTables?: boolean;
3392
+ readonly doNotSnapToGridInCell?: boolean;
3393
+ readonly selectFieldWithFirstOrLastCharacter?: boolean;
3394
+ readonly applyBreakingRules?: boolean;
3395
+ readonly doNotWrapTextWithPunctuation?: boolean;
3396
+ readonly doNotUseEastAsianBreakRules?: boolean;
3397
+ readonly useWord2002TableStyleRules?: boolean;
3398
+ readonly growAutofit?: boolean;
3399
+ readonly useFELayout?: boolean;
3400
+ readonly useNormalStyleForList?: boolean;
3401
+ readonly doNotUseIndentAsNumberingTabStop?: boolean;
3402
+ readonly useAlternateEastAsianLineBreakRules?: boolean;
3403
+ readonly allowSpaceOfSameStyleInTable?: boolean;
3404
+ readonly doNotSuppressIndentation?: boolean;
3405
+ readonly doNotAutofitConstrainedTables?: boolean;
3406
+ readonly autofitToFirstFixedWidthCell?: boolean;
3407
+ readonly underlineTabInNumberingList?: boolean;
3408
+ readonly displayHangulFixedWidth?: boolean;
3409
+ readonly splitPgBreakAndParaMark?: boolean;
3410
+ readonly doNotVerticallyAlignCellWithSp?: boolean;
3411
+ readonly doNotBreakConstrainedForcedTable?: boolean;
3412
+ readonly ignoreVerticalAlignmentInTextboxes?: boolean;
3413
+ readonly useAnsiKerningPairs?: boolean;
3414
+ readonly cachedColumnBalance?: boolean;
3415
+ readonly overrideTableStyleFontSizeAndJustification?: boolean;
3416
+ readonly enableOpenTypeFeatures?: boolean;
3417
+ readonly doNotFlipMirrorIndents?: boolean;
2849
3418
  }
2850
- declare const createMathSubSuperScriptProperties: (options?: MathSubSuperScriptPropertiesOptions) => XmlComponent;
2851
3419
  //#endregion
2852
- //#region src/file/paragraph/math/script/pre-sub-super-script/math-pre-sub-super-script-function.d.ts
2853
- interface IMathPreSubSuperScriptOptions {
2854
- readonly children: readonly MathComponent[];
2855
- readonly subScript: readonly MathComponent[];
2856
- readonly superScript: readonly MathComponent[];
3420
+ //#region src/file/settings/settings.d.ts
3421
+ interface ISettingsOptions {
3422
+ readonly compatibilityModeVersion?: number;
3423
+ readonly evenAndOddHeaders?: boolean;
3424
+ readonly trackRevisions?: boolean;
3425
+ readonly updateFields?: boolean;
3426
+ readonly compatibility?: ICompatibilityOptions;
3427
+ readonly defaultTabStop?: number;
3428
+ readonly hyphenation?: IHyphenationOptions;
3429
+ readonly characterSpacingControl?: "compressPunctuation" | "doNotCompress";
3430
+ readonly documentProtection?: IDocumentProtectionOptions;
3431
+ readonly view?: "none" | "print" | "outline" | "masterPages" | "normal" | "web";
3432
+ readonly zoom?: {
3433
+ readonly percent?: number;
3434
+ readonly val?: "none" | "fullPage" | "bestFit" | "textFit";
3435
+ };
3436
+ readonly writeProtection?: IWriteProtectionOptions;
3437
+ readonly displayBackgroundShape?: boolean;
3438
+ readonly embedTrueTypeFonts?: boolean;
3439
+ readonly embedSystemFonts?: boolean;
3440
+ readonly saveSubsetFonts?: boolean;
3441
+ readonly docVars?: readonly {
3442
+ readonly name: string;
3443
+ readonly val: string;
3444
+ }[];
3445
+ readonly colorSchemeMapping?: {
3446
+ readonly bg1?: string;
3447
+ readonly t1?: string;
3448
+ readonly bg2?: string;
3449
+ readonly t2?: string;
3450
+ readonly accent1?: string;
3451
+ readonly accent2?: string;
3452
+ readonly accent3?: string;
3453
+ readonly accent4?: string;
3454
+ readonly accent5?: string;
3455
+ readonly accent6?: string;
3456
+ readonly hyperlink?: string;
3457
+ readonly followedHyperlink?: string;
3458
+ };
2857
3459
  }
2858
- declare class MathPreSubSuperScript extends BuilderElement {
2859
- constructor({
2860
- children,
2861
- subScript,
2862
- superScript
2863
- }: IMathPreSubSuperScriptOptions);
3460
+ interface IDocumentProtectionOptions {
3461
+ readonly edit?: "none" | "readOnly" | "comments" | "trackedChanges" | "forms";
3462
+ readonly formatting?: boolean;
3463
+ readonly hashValue?: string;
3464
+ readonly saltValue?: string;
3465
+ readonly spinCount?: number;
3466
+ readonly algorithmName?: string;
2864
3467
  }
2865
- //#endregion
2866
- //#region src/file/paragraph/math/script/pre-sub-super-script/math-pre-sub-super-script-function-properties.d.ts
2867
- declare const createMathPreSubSuperScriptProperties: () => XmlComponent;
2868
- //#endregion
2869
- //#region src/file/paragraph/math/math-component.d.ts
2870
- type MathComponent = MathRun | MathFraction | MathSum | MathIntegral | MathSuperScript | MathSubScript | MathSubSuperScript | MathRadical | MathFunction | MathRoundBrackets | MathCurlyBrackets | MathAngledBrackets | MathSquareBrackets | MathBox | MathBorderBox | MathEqArr | MathGroupChr | MathLimitLower | MathLimitUpper | MathMatrix | MathPhant;
2871
- declare const WORKAROUND4 = "";
2872
- //#endregion
2873
- //#region src/file/paragraph/math/accent/math-accent.d.ts
2874
- interface MathAccentOptions {
2875
- readonly accentCharacter?: string;
2876
- readonly children: readonly MathComponent[];
3468
+ interface IWriteProtectionOptions {
3469
+ readonly hashValue?: string;
3470
+ readonly saltValue?: string;
3471
+ readonly spinCount?: number;
3472
+ readonly algorithmName?: string;
3473
+ readonly recommended?: boolean;
2877
3474
  }
2878
- declare const createMathAccent: ({
2879
- accentCharacter,
2880
- children
2881
- }: MathAccentOptions) => XmlComponent;
2882
- //#endregion
2883
- //#region src/file/paragraph/math/accent/math-accent-properties.d.ts
2884
- interface MathAccentPropertiesOptions {
2885
- readonly accentCharacter: string;
3475
+ interface IHyphenationOptions {
3476
+ readonly autoHyphenation?: boolean;
3477
+ readonly hyphenationZone?: number;
3478
+ readonly consecutiveHyphenLimit?: number;
3479
+ readonly doNotHyphenateCaps?: boolean;
2886
3480
  }
2887
- declare const createMathAccentProperties: (options: MathAccentPropertiesOptions) => XmlComponent;
2888
- //#endregion
2889
- //#region src/file/paragraph/math/bar/math-bar.d.ts
2890
- interface MathBarOptions {
2891
- readonly type: "top" | "bot";
2892
- readonly children: readonly MathComponent[];
3481
+ declare class Settings extends XmlComponent {
3482
+ constructor(options: ISettingsOptions);
2893
3483
  }
2894
- declare const createMathBar: ({
2895
- type,
2896
- children
2897
- }: MathBarOptions) => XmlComponent;
2898
3484
  //#endregion
2899
- //#region src/file/paragraph/math/bar/math-bar-properties.d.ts
2900
- declare const createMathBarProperties: ({
2901
- type
2902
- }: {
2903
- readonly type: string;
2904
- }) => XmlComponent;
3485
+ //#region src/file/fonts/font.d.ts
3486
+ declare const CharacterSet: {
3487
+ readonly ANSI: "00";
3488
+ readonly ARABIC: "B2";
3489
+ readonly BALTIC: "BA";
3490
+ readonly CHINESEBIG5: "88";
3491
+ readonly DEFAULT: "01";
3492
+ readonly EASTEUROPE: "EE";
3493
+ readonly GB_2312: "86";
3494
+ readonly GREEK: "A1";
3495
+ readonly HANGUL: "81";
3496
+ readonly HEBREW: "B1";
3497
+ readonly JIS: "80";
3498
+ readonly JOHAB: "82";
3499
+ readonly MAC: "4D";
3500
+ readonly OEM: "FF";
3501
+ readonly RUSSIAN: "CC";
3502
+ readonly SYMBOL: "02";
3503
+ readonly THAI: "DE";
3504
+ readonly TURKISH: "A2";
3505
+ readonly VIETNAMESE: "A3";
3506
+ };
2905
3507
  //#endregion
2906
- //#region src/file/paragraph/math/math.d.ts
2907
- interface IMathOptions {
2908
- readonly children: readonly MathComponent[];
2909
- }
2910
- declare class Math extends XmlComponent {
2911
- constructor(options: IMathOptions);
3508
+ //#region src/file/fonts/font-wrapper.d.ts
3509
+ type FontOptionsWithKey = FontOptions & {
3510
+ readonly fontKey: string;
3511
+ };
3512
+ declare class FontWrapper implements IViewWrapper {
3513
+ readonly options: readonly FontOptions[];
3514
+ private readonly fontTable;
3515
+ private readonly relationships;
3516
+ readonly fontOptionsWithKey: readonly FontOptionsWithKey[];
3517
+ constructor(options: readonly FontOptions[]);
3518
+ get View(): XmlComponent;
3519
+ get Relationships(): Relationships;
2912
3520
  }
2913
3521
  //#endregion
2914
- //#region src/file/paragraph/math/math-para.d.ts
2915
- type MathJustification = "left" | "right" | "center" | "centerGroup";
2916
- interface IMathParagraphOptions {
2917
- readonly justification?: MathJustification;
2918
- readonly children: readonly IMathOptions[];
3522
+ //#region src/file/fonts/font-table.d.ts
3523
+ interface FontOptions {
3524
+ readonly name: string;
3525
+ readonly data: Buffer;
3526
+ readonly characterSet?: (typeof CharacterSet)[keyof typeof CharacterSet];
2919
3527
  }
2920
- declare class MathParagraph extends XmlComponent {
2921
- constructor(options: IMathParagraphOptions);
3528
+ //#endregion
3529
+ //#region src/file/custom-properties/custom-property.d.ts
3530
+ interface ICustomPropertyOptions {
3531
+ readonly name: string;
3532
+ readonly value: string;
2922
3533
  }
2923
3534
  //#endregion
2924
- //#region src/file/paragraph/math/math-pr.d.ts
2925
- type MathBreakBin = "before" | "after" | "repeat";
2926
- type MathBreakBinSub = "--" | "-+" | "+-";
2927
- type MathPropertiesJustification = "left" | "right" | "center" | "centerGroup";
2928
- interface MathPropertiesOptions {
2929
- readonly mathFont?: string;
2930
- readonly breakBin?: MathBreakBin;
2931
- readonly breakBinSub?: MathBreakBinSub;
2932
- readonly smallFrac?: boolean;
2933
- readonly displayDefault?: boolean;
2934
- readonly leftMargin?: number;
2935
- readonly rightMargin?: number;
2936
- readonly defaultJustification?: MathPropertiesJustification;
2937
- readonly preSpacing?: number;
2938
- readonly postSpacing?: number;
2939
- readonly interSpacing?: number;
2940
- readonly intraSpacing?: number;
2941
- readonly wrapIndent?: number;
2942
- readonly wrapRight?: boolean;
2943
- readonly integralLimitLocation?: string;
2944
- readonly naryLimitLocation?: string;
2945
- }
2946
- declare const createMathProperties: (options: MathPropertiesOptions) => XmlComponent;
2947
- //#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;
2955
- }
2956
- interface IImageChild {
2957
- readonly image: IImageOptions;
2958
- }
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;
2972
- }
2973
- //#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;
3036
- }
3037
- //#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];
3046
- }
3047
- //#endregion
3048
- //#region src/file/table/table-width.d.ts
3049
- declare const WidthType: {
3050
- readonly AUTO: "auto";
3051
- readonly DXA: "dxa";
3052
- readonly NIL: "nil";
3053
- readonly PERCENTAGE: "pct";
3054
- };
3055
- interface ITableWidthProperties {
3056
- readonly size: number | values_d_exports.Percentage | values_d_exports.UniversalMeasure;
3057
- readonly type?: (typeof WidthType)[keyof typeof WidthType];
3058
- }
3059
- declare const createTableWidthElement: (name: string, {
3060
- type,
3061
- size
3062
- }: ITableWidthProperties) => XmlComponent;
3063
- //#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";
3069
- };
3070
- declare const createTableRowHeight: (value: number | values_d_exports.PositiveUniversalMeasure, rule: (typeof HeightRule)[keyof typeof HeightRule]) => XmlComponent;
3071
- //#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;
3093
- }
3094
- type ITableRowPropertiesOptions = ITableRowPropertiesOptionsBase & {
3095
- readonly insertion?: IChangedAttributesProperties;
3096
- readonly deletion?: IChangedAttributesProperties;
3097
- readonly revision?: ITableRowPropertiesChangeOptions;
3098
- readonly includeIfEmpty?: boolean;
3099
- };
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";
3126
- };
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";
3134
- };
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
- }
3379
- //#endregion
3380
- //#region src/file/paragraph/frame/frame-properties.d.ts
3381
- declare const DropCapType: {
3382
- readonly NONE: "none";
3383
- readonly DROP: "drop";
3384
- readonly MARGIN: "margin";
3385
- };
3386
- declare const FrameAnchorType: {
3387
- readonly MARGIN: "margin";
3388
- readonly PAGE: "page";
3389
- readonly TEXT: "text";
3390
- };
3391
- declare const FrameWrap: {
3392
- readonly AROUND: "around";
3393
- readonly AUTO: "auto";
3394
- readonly NONE: "none";
3395
- readonly NOT_BESIDE: "notBeside";
3396
- readonly THROUGH: "through";
3397
- readonly TIGHT: "tight";
3398
- };
3399
- interface IBaseFrameOptions {
3400
- readonly anchorLock?: boolean;
3401
- readonly dropCap?: (typeof DropCapType)[keyof typeof DropCapType];
3402
- readonly width: number;
3403
- readonly height: number;
3404
- readonly wrap?: (typeof FrameWrap)[keyof typeof FrameWrap];
3405
- readonly lines?: number;
3406
- readonly anchor: {
3407
- readonly horizontal: (typeof FrameAnchorType)[keyof typeof FrameAnchorType];
3408
- readonly vertical: (typeof FrameAnchorType)[keyof typeof FrameAnchorType];
3409
- };
3410
- readonly space?: {
3411
- readonly horizontal: number;
3412
- readonly vertical: number;
3413
- };
3414
- readonly rule?: (typeof HeightRule)[keyof typeof HeightRule];
3415
- }
3416
- type IXYFrameOptions = {
3417
- readonly type: "absolute";
3418
- readonly position: {
3419
- readonly x: number;
3420
- readonly y: number;
3421
- };
3422
- } & IBaseFrameOptions;
3423
- type IAlignmentFrameOptions = {
3424
- readonly type: "alignment";
3425
- readonly alignment: {
3426
- readonly x: (typeof HorizontalPositionAlign)[keyof typeof HorizontalPositionAlign];
3427
- readonly y: (typeof VerticalPositionAlign)[keyof typeof VerticalPositionAlign];
3428
- };
3429
- } & IBaseFrameOptions;
3430
- type IFrameOptions = IXYFrameOptions | IAlignmentFrameOptions;
3431
- declare const createFrameProperties: (options: IFrameOptions) => XmlComponent;
3432
- //#endregion
3433
- //#region src/file/paragraph/properties.d.ts
3434
- declare const TextAlignmentType: {
3435
- readonly TOP: "top";
3436
- readonly CENTER: "center";
3437
- readonly BASELINE: "baseline";
3438
- readonly BOTTOM: "bottom";
3439
- readonly AUTO: "auto";
3440
- };
3441
- declare const TextboxTightWrapType: {
3442
- readonly NONE: "none";
3443
- readonly ALL_LINES: "allLines";
3444
- readonly FIRST_AND_LAST_LINE: "firstAndLastLine";
3445
- readonly FIRST_LINE_ONLY: "firstLineOnly";
3446
- readonly LAST_LINE_ONLY: "lastLineOnly";
3447
- };
3448
- interface LevelParagraphStylePropertiesOptions {
3449
- readonly alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
3450
- readonly bidirectional?: boolean;
3451
- readonly pageBreakBefore?: boolean;
3452
- readonly tabStops?: readonly TabStopDefinition[];
3453
- readonly thematicBreak?: boolean;
3454
- readonly widowControl?: boolean;
3455
- readonly contextualSpacing?: boolean;
3456
- readonly rightTabStop?: number;
3457
- readonly leftTabStop?: number;
3458
- readonly indent?: IIndentAttributesProperties;
3459
- readonly spacing?: ISpacingProperties;
3460
- readonly keepNext?: boolean;
3461
- readonly keepLines?: boolean;
3462
- readonly frame?: IFrameOptions;
3463
- readonly suppressLineNumbers?: boolean;
3464
- readonly wordWrap?: boolean;
3465
- readonly overflowPunctuation?: boolean;
3466
- readonly autoSpaceEastAsianText?: boolean;
3467
- readonly suppressOverlap?: boolean;
3468
- readonly suppressAutoHyphens?: boolean;
3469
- readonly adjustRightInd?: boolean;
3470
- readonly snapToGrid?: boolean;
3471
- readonly mirrorIndents?: boolean;
3472
- readonly kinsoku?: boolean;
3473
- readonly topLinePunct?: boolean;
3474
- readonly autoSpaceDE?: boolean;
3475
- readonly textAlignment?: (typeof TextAlignmentType)[keyof typeof TextAlignmentType];
3476
- readonly textboxTightWrap?: (typeof TextboxTightWrapType)[keyof typeof TextboxTightWrapType];
3477
- readonly textDirection?: "lr" | "rl" | "tb" | "tbV" | "rlV" | "lrV";
3478
- readonly outlineLevel?: number;
3479
- readonly divId?: number;
3480
- readonly cnfStyle?: ICnfStyleOptions;
3481
- }
3482
- type IParagraphStylePropertiesOptions = {
3483
- readonly border?: IBordersOptions;
3484
- readonly shading?: IShadingAttributesProperties;
3485
- readonly numbering?: {
3486
- readonly reference: string;
3487
- readonly level: number;
3488
- readonly instance?: number;
3489
- readonly custom?: boolean;
3490
- } | false;
3491
- } & LevelParagraphStylePropertiesOptions;
3492
- type IParagraphPropertiesOptionsBase = {
3493
- readonly heading?: (typeof HeadingLevel)[keyof typeof HeadingLevel];
3494
- readonly style?: string;
3495
- readonly bullet?: {
3496
- readonly level: number;
3497
- };
3498
- readonly run?: IParagraphRunOptions;
3499
- } & IParagraphStylePropertiesOptions;
3500
- type IParagraphPropertiesChangeOptions = IChangedAttributesProperties & IParagraphPropertiesOptionsBase;
3501
- type IParagraphPropertiesOptions = {
3502
- readonly revision?: IParagraphPropertiesChangeOptions;
3503
- readonly includeIfEmpty?: boolean;
3504
- } & IParagraphPropertiesOptionsBase;
3505
- declare class ParagraphProperties extends IgnoreIfEmptyXmlComponent {
3506
- private readonly numberingReferences;
3507
- constructor(options?: IParagraphPropertiesOptions);
3508
- push(item: XmlComponent): void;
3535
+ //#region src/file/custom-properties/custom-properties.d.ts
3536
+ declare class CustomProperties extends XmlComponent {
3537
+ private nextId;
3538
+ private readonly properties;
3539
+ constructor(properties: readonly ICustomPropertyOptions[]);
3509
3540
  prepForXml(context: IContext): IXmlableObject | undefined;
3510
- }
3511
- declare class ParagraphPropertiesChange extends XmlComponent {
3512
- constructor(options: IParagraphPropertiesChangeOptions);
3541
+ addCustomProperty(property: ICustomPropertyOptions): void;
3513
3542
  }
3514
3543
  //#endregion
3515
3544
  //#region src/file/numbering/level.d.ts
@@ -3804,10 +3833,10 @@ interface IPropertiesOptions {
3804
3833
  readonly comments?: ICommentsOptions;
3805
3834
  readonly bibliography?: IBibliographyOptions;
3806
3835
  readonly footnotes?: Readonly<Record<string, {
3807
- readonly children: readonly Paragraph[];
3836
+ readonly children: readonly (Paragraph | IParagraphOptions | string)[];
3808
3837
  }>>;
3809
3838
  readonly endnotes?: Readonly<Record<string, {
3810
- readonly children: readonly Paragraph[];
3839
+ readonly children: readonly (Paragraph | IParagraphOptions | string)[];
3811
3840
  }>>;
3812
3841
  readonly background?: IDocumentBackgroundOptions;
3813
3842
  readonly features?: {
@@ -4053,7 +4082,7 @@ declare namespace index_d_exports$3 {
4053
4082
  export { COLOR_CATEGORIES, DEFAULT_DRAWING_XML, ISmartArtData, ITreeNode, LAYOUT_CATEGORIES, STYLE_CATEGORIES, SmartArtCollection, createDataModel, getColorXml, getLayoutXml, getStyleXml };
4054
4083
  }
4055
4084
  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 };
4085
+ 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, 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 };
4057
4086
  }
4058
4087
  //#endregion
4059
4088
  //#region src/export/packer/packer.d.ts
@@ -4150,8 +4179,8 @@ interface DocxDocument {
4150
4179
  declare function parseDocument(data: Uint8Array): ISectionOptions[];
4151
4180
  declare function parseDocx(data: Uint8Array): DocxDocument;
4152
4181
  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 };
4182
+ 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, 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 };
4154
4183
  }
4155
4184
  //#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 };
4185
+ 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, 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 };
4157
4186
  //# sourceMappingURL=index.d.mts.map