docx-plus 0.0.5 → 0.0.6

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.cts CHANGED
@@ -344,6 +344,22 @@ declare class InsertedTextRun extends XmlComponent {
344
344
  constructor(options: IInsertedRunOptions);
345
345
  }
346
346
  //#endregion
347
+ //#region src/file/paragraph/run/east-asian-layout.d.ts
348
+ declare const CombineBracketsType: {
349
+ readonly NONE: "none";
350
+ readonly ROUND: "round";
351
+ readonly SQUARE: "square";
352
+ readonly ANGLE: "angle";
353
+ readonly CURLY: "curly";
354
+ };
355
+ interface IEastAsianLayoutOptions {
356
+ readonly id?: number;
357
+ readonly combine?: boolean;
358
+ readonly combineBrackets?: (typeof CombineBracketsType)[keyof typeof CombineBracketsType];
359
+ readonly vert?: boolean;
360
+ readonly vertCompress?: boolean;
361
+ }
362
+ //#endregion
347
363
  //#region src/file/paragraph/run/emphasis-mark.d.ts
348
364
  declare const EmphasisMarkType: {
349
365
  readonly NONE: "none";
@@ -486,6 +502,7 @@ interface IRunStylePropertiesOptions {
486
502
  readonly webHidden?: boolean;
487
503
  readonly fitText?: number;
488
504
  readonly complexScript?: boolean;
505
+ readonly eastAsianLayout?: IEastAsianLayoutOptions;
489
506
  }
490
507
  type IRunPropertiesOptions = {
491
508
  readonly style?: string;
@@ -1441,67 +1458,6 @@ declare const createDocumentGrid: ({
1441
1458
  charSpace
1442
1459
  }: IDocGridAttributesProperties) => XmlComponent;
1443
1460
  //#endregion
1444
- //#region src/file/document/body/section-properties/properties/line-number.d.ts
1445
- declare const LineNumberRestartFormat: {
1446
- readonly NEW_PAGE: "newPage";
1447
- readonly NEW_SECTION: "newSection";
1448
- readonly CONTINUOUS: "continuous";
1449
- };
1450
- interface ILineNumberAttributes {
1451
- readonly countBy?: number;
1452
- readonly start?: number;
1453
- readonly restart?: (typeof LineNumberRestartFormat)[keyof typeof LineNumberRestartFormat];
1454
- readonly distance?: number | PositiveUniversalMeasure;
1455
- }
1456
- declare const createLineNumberType: ({
1457
- countBy,
1458
- start,
1459
- restart,
1460
- distance
1461
- }: ILineNumberAttributes) => XmlComponent;
1462
- //#endregion
1463
- //#region src/file/document/body/section-properties/properties/page-borders.d.ts
1464
- declare const PageBorderDisplay: {
1465
- readonly ALL_PAGES: "allPages";
1466
- readonly FIRST_PAGE: "firstPage";
1467
- readonly NOT_FIRST_PAGE: "notFirstPage";
1468
- };
1469
- declare const PageBorderOffsetFrom: {
1470
- readonly PAGE: "page";
1471
- readonly TEXT: "text";
1472
- };
1473
- declare const PageBorderZOrder: {
1474
- readonly BACK: "back";
1475
- readonly FRONT: "front";
1476
- };
1477
- interface IPageBorderAttributes {
1478
- readonly display?: (typeof PageBorderDisplay)[keyof typeof PageBorderDisplay];
1479
- readonly offsetFrom?: (typeof PageBorderOffsetFrom)[keyof typeof PageBorderOffsetFrom];
1480
- readonly zOrder?: (typeof PageBorderZOrder)[keyof typeof PageBorderZOrder];
1481
- }
1482
- interface IPageBordersOptions {
1483
- readonly pageBorders?: IPageBorderAttributes;
1484
- readonly pageBorderTop?: IBorderOptions;
1485
- readonly pageBorderRight?: IBorderOptions;
1486
- readonly pageBorderBottom?: IBorderOptions;
1487
- readonly pageBorderLeft?: IBorderOptions;
1488
- }
1489
- declare class PageBorders extends IgnoreIfEmptyXmlComponent {
1490
- constructor(options?: IPageBordersOptions);
1491
- }
1492
- //#endregion
1493
- //#region src/file/document/body/section-properties/properties/page-margin.d.ts
1494
- interface IPageMarginAttributes {
1495
- readonly top?: number | UniversalMeasure;
1496
- readonly right?: number | PositiveUniversalMeasure;
1497
- readonly bottom?: number | UniversalMeasure;
1498
- readonly left?: number | PositiveUniversalMeasure;
1499
- readonly header?: number | PositiveUniversalMeasure;
1500
- readonly footer?: number | PositiveUniversalMeasure;
1501
- readonly gutter?: number | PositiveUniversalMeasure;
1502
- }
1503
- declare const createPageMargin: (top: number | UniversalMeasure, right: number | PositiveUniversalMeasure, bottom: number | UniversalMeasure, left: number | PositiveUniversalMeasure, header: number | PositiveUniversalMeasure, footer: number | PositiveUniversalMeasure, gutter: number | PositiveUniversalMeasure) => XmlComponent;
1504
- //#endregion
1505
1461
  //#region src/file/shared/number-format.d.ts
1506
1462
  declare const NumberFormat: {
1507
1463
  readonly AIUEO: "aiueo";
@@ -1568,6 +1524,96 @@ declare const NumberFormat: {
1568
1524
  readonly VIETNAMESE_COUNTING: "vietnameseCounting";
1569
1525
  };
1570
1526
  //#endregion
1527
+ //#region src/file/document/body/section-properties/properties/footnote-endnote-properties.d.ts
1528
+ declare const FootnotePositionType: {
1529
+ readonly PAGE_BOTTOM: "pageBottom";
1530
+ readonly BENEATH_TEXT: "beneathText";
1531
+ readonly SECT_END: "sectEnd";
1532
+ readonly DOC_END: "docEnd";
1533
+ };
1534
+ declare const EndnotePositionType: {
1535
+ readonly SECT_END: "sectEnd";
1536
+ readonly DOC_END: "docEnd";
1537
+ };
1538
+ declare const NumberRestartType: {
1539
+ readonly CONTINUOUS: "continuous";
1540
+ readonly EACH_SECT: "eachSect";
1541
+ readonly EACH_PAGE: "eachPage";
1542
+ };
1543
+ interface INumberPropertiesOptions {
1544
+ readonly formatType?: (typeof NumberFormat)[keyof typeof NumberFormat];
1545
+ readonly format?: string;
1546
+ readonly numStart?: number;
1547
+ readonly numRestart?: (typeof NumberRestartType)[keyof typeof NumberRestartType];
1548
+ }
1549
+ interface IFootnotePropertiesOptions extends INumberPropertiesOptions {
1550
+ readonly pos?: (typeof FootnotePositionType)[keyof typeof FootnotePositionType];
1551
+ }
1552
+ interface IEndnotePropertiesOptions extends INumberPropertiesOptions {
1553
+ readonly pos?: (typeof EndnotePositionType)[keyof typeof EndnotePositionType];
1554
+ }
1555
+ //#endregion
1556
+ //#region src/file/document/body/section-properties/properties/line-number.d.ts
1557
+ declare const LineNumberRestartFormat: {
1558
+ readonly NEW_PAGE: "newPage";
1559
+ readonly NEW_SECTION: "newSection";
1560
+ readonly CONTINUOUS: "continuous";
1561
+ };
1562
+ interface ILineNumberAttributes {
1563
+ readonly countBy?: number;
1564
+ readonly start?: number;
1565
+ readonly restart?: (typeof LineNumberRestartFormat)[keyof typeof LineNumberRestartFormat];
1566
+ readonly distance?: number | PositiveUniversalMeasure;
1567
+ }
1568
+ declare const createLineNumberType: ({
1569
+ countBy,
1570
+ start,
1571
+ restart,
1572
+ distance
1573
+ }: ILineNumberAttributes) => XmlComponent;
1574
+ //#endregion
1575
+ //#region src/file/document/body/section-properties/properties/page-borders.d.ts
1576
+ declare const PageBorderDisplay: {
1577
+ readonly ALL_PAGES: "allPages";
1578
+ readonly FIRST_PAGE: "firstPage";
1579
+ readonly NOT_FIRST_PAGE: "notFirstPage";
1580
+ };
1581
+ declare const PageBorderOffsetFrom: {
1582
+ readonly PAGE: "page";
1583
+ readonly TEXT: "text";
1584
+ };
1585
+ declare const PageBorderZOrder: {
1586
+ readonly BACK: "back";
1587
+ readonly FRONT: "front";
1588
+ };
1589
+ interface IPageBorderAttributes {
1590
+ readonly display?: (typeof PageBorderDisplay)[keyof typeof PageBorderDisplay];
1591
+ readonly offsetFrom?: (typeof PageBorderOffsetFrom)[keyof typeof PageBorderOffsetFrom];
1592
+ readonly zOrder?: (typeof PageBorderZOrder)[keyof typeof PageBorderZOrder];
1593
+ }
1594
+ interface IPageBordersOptions {
1595
+ readonly pageBorders?: IPageBorderAttributes;
1596
+ readonly pageBorderTop?: IBorderOptions;
1597
+ readonly pageBorderRight?: IBorderOptions;
1598
+ readonly pageBorderBottom?: IBorderOptions;
1599
+ readonly pageBorderLeft?: IBorderOptions;
1600
+ }
1601
+ declare class PageBorders extends IgnoreIfEmptyXmlComponent {
1602
+ constructor(options?: IPageBordersOptions);
1603
+ }
1604
+ //#endregion
1605
+ //#region src/file/document/body/section-properties/properties/page-margin.d.ts
1606
+ interface IPageMarginAttributes {
1607
+ readonly top?: number | UniversalMeasure;
1608
+ readonly right?: number | PositiveUniversalMeasure;
1609
+ readonly bottom?: number | UniversalMeasure;
1610
+ readonly left?: number | PositiveUniversalMeasure;
1611
+ readonly header?: number | PositiveUniversalMeasure;
1612
+ readonly footer?: number | PositiveUniversalMeasure;
1613
+ readonly gutter?: number | PositiveUniversalMeasure;
1614
+ }
1615
+ declare const createPageMargin: (top: number | UniversalMeasure, right: number | PositiveUniversalMeasure, bottom: number | UniversalMeasure, left: number | PositiveUniversalMeasure, header: number | PositiveUniversalMeasure, footer: number | PositiveUniversalMeasure, gutter: number | PositiveUniversalMeasure) => XmlComponent;
1616
+ //#endregion
1571
1617
  //#region src/file/document/body/section-properties/properties/page-number.d.ts
1572
1618
  declare const PageNumberSeparator: {
1573
1619
  readonly HYPHEN: "hyphen";
@@ -1580,11 +1626,13 @@ interface IPageNumberTypeAttributes {
1580
1626
  readonly start?: number;
1581
1627
  readonly formatType?: (typeof NumberFormat)[keyof typeof NumberFormat];
1582
1628
  readonly separator?: (typeof PageNumberSeparator)[keyof typeof PageNumberSeparator];
1629
+ readonly chapStyle?: number;
1583
1630
  }
1584
1631
  declare const createPageNumberType: ({
1585
1632
  start,
1586
1633
  formatType,
1587
- separator
1634
+ separator,
1635
+ chapStyle
1588
1636
  }: IPageNumberTypeAttributes) => XmlComponent;
1589
1637
  //#endregion
1590
1638
  //#region src/file/document/body/section-properties/properties/page-size.d.ts
@@ -1646,6 +1694,15 @@ interface ISectionPropertiesOptionsBase {
1646
1694
  readonly verticalAlign?: SectionVerticalAlign;
1647
1695
  readonly column?: IColumnsAttributes;
1648
1696
  readonly type?: (typeof SectionType)[keyof typeof SectionType];
1697
+ readonly noEndnote?: boolean;
1698
+ readonly bidi?: boolean;
1699
+ readonly rtlGutter?: boolean;
1700
+ readonly paperSrc?: {
1701
+ readonly first?: number;
1702
+ readonly other?: number;
1703
+ };
1704
+ readonly footnotePr?: IFootnotePropertiesOptions;
1705
+ readonly endnotePr?: IEndnotePropertiesOptions;
1649
1706
  }
1650
1707
  type ISectionPropertiesChangeOptions = IChangedAttributesProperties & ISectionPropertiesOptionsBase;
1651
1708
  type ISectionPropertiesOptions = {
@@ -1698,7 +1755,13 @@ declare class SectionProperties extends XmlComponent {
1698
1755
  verticalAlign,
1699
1756
  column,
1700
1757
  type,
1701
- revision
1758
+ revision,
1759
+ noEndnote,
1760
+ bidi,
1761
+ rtlGutter,
1762
+ paperSrc,
1763
+ footnotePr,
1764
+ endnotePr
1702
1765
  }?: ISectionPropertiesOptions);
1703
1766
  private addHeaderFooterGroup;
1704
1767
  }
@@ -2187,6 +2250,20 @@ type IFrameOptions = IXYFrameOptions | IAlignmentFrameOptions;
2187
2250
  declare const createFrameProperties: (options: IFrameOptions) => XmlComponent;
2188
2251
  //#endregion
2189
2252
  //#region src/file/paragraph/properties.d.ts
2253
+ declare const TextAlignmentType: {
2254
+ readonly TOP: "top";
2255
+ readonly CENTER: "center";
2256
+ readonly BASELINE: "baseline";
2257
+ readonly BOTTOM: "bottom";
2258
+ readonly AUTO: "auto";
2259
+ };
2260
+ declare const TextboxTightWrapType: {
2261
+ readonly NONE: "none";
2262
+ readonly ALL_LINES: "allLines";
2263
+ readonly FIRST_AND_LAST_LINE: "firstAndLastLine";
2264
+ readonly FIRST_LINE_ONLY: "firstLineOnly";
2265
+ readonly LAST_LINE_ONLY: "lastLineOnly";
2266
+ };
2190
2267
  interface ILevelParagraphStylePropertiesOptions {
2191
2268
  readonly alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
2192
2269
  readonly thematicBreak?: boolean;
@@ -2226,6 +2303,15 @@ type IParagraphPropertiesOptionsBase = {
2226
2303
  readonly scale?: number;
2227
2304
  readonly autoSpaceEastAsianText?: boolean;
2228
2305
  readonly run?: IParagraphRunOptions;
2306
+ readonly suppressAutoHyphens?: boolean;
2307
+ readonly adjustRightInd?: boolean;
2308
+ readonly snapToGrid?: boolean;
2309
+ readonly mirrorIndents?: boolean;
2310
+ readonly kinsoku?: boolean;
2311
+ readonly topLinePunct?: boolean;
2312
+ readonly autoSpaceDE?: boolean;
2313
+ readonly textAlignment?: (typeof TextAlignmentType)[keyof typeof TextAlignmentType];
2314
+ readonly textboxTightWrap?: (typeof TextboxTightWrapType)[keyof typeof TextboxTightWrapType];
2229
2315
  } & IParagraphStylePropertiesOptions;
2230
2316
  type IParagraphPropertiesChangeOptions = IChangedAttributesProperties & IParagraphPropertiesOptionsBase;
2231
2317
  type IParagraphPropertiesOptions = {
@@ -3319,4 +3405,4 @@ declare const patchDetector: ({
3319
3405
  data
3320
3406
  }: PatchDetectorOptions) => Promise<readonly string[]>;
3321
3407
  //#endregion
3322
- export { AbstractNumbering, AlignmentType, AnnotationReference, AttributeData, AttributeMap, AttributePayload, Attributes, BaseXmlComponent, Body, Bookmark, BookmarkEnd, BookmarkStart, Border, BorderStyle, BuilderElement, CarriageReturn, CellMerge, CellMergeAttributes, CharacterSet, CheckBox, CheckBoxSymbolElement, CheckBoxUtil, Column, ColumnBreak, Comment, CommentRangeEnd, CommentRangeStart, CommentReference, Comments, ConcreteHyperlink, ConcreteNumbering, ContinuationSeparator, DayLong, DayShort, DeletedTableCell, DeletedTableRow, DeletedTextRun, File as Document, File, DocumentAttributeNamespace, DocumentAttributeNamespaces, DocumentAttributes, DocumentBackground, DocumentBackgroundAttributes, DocumentDefaults, DocumentGridType, Drawing, DropCapType, EMPTY_OBJECT, EmphasisMarkType, EmptyElement, EndnoteIdReference, EndnoteReference, EndnoteReferenceRun, EndnoteReferenceRunAttributes, Endnotes, ExternalHyperlink, FileChild, FootNoteReferenceRunAttributes, FootNotes, Footer, FooterWrapper, FootnoteReference, FootnoteReferenceElement, FootnoteReferenceRun, FrameAnchorType, FrameWrap, GridSpan, Header, HeaderFooterReferenceType, HeaderFooterType, HeaderWrapper, HeadingLevel, HeightRule, HighlightColor, HorizontalPositionAlign, HorizontalPositionRelativeFrom, HpsMeasureElement, HyperlinkType, IAlignmentFrameOptions, IBaseCharacterStyleOptions, IBaseParagraphStyleOptions, IBodyPropertiesOptions, IBookmarkOptions, IBorderOptions, IBordersOptions, ICellMergeAttributes, ICharacterStyleOptions, ICheckboxSymbolOptions, ICheckboxSymbolProperties, IColumnAttributes, IColumnsAttributes, ICommentOptions, ICommentsOptions, IConcreteNumberingOptions, IContext, IDistance, IDocGridAttributesProperties, IDocumentAttributesProperties, IDocumentBackgroundOptions, IDocumentDefaultsOptions, IDocumentFooter, IDocumentHeader, IDocumentOptions, IDrawingOptions, IExtendedMediaData, IExternalHyperlinkOptions, IFloating, IFontAttributesProperties, IFrameOptions, IGroupChildMediaData, IHeaderFooterGroup, IHeaderFooterOptions, IHeaderOptions, IHorizontalPositionOptions, IImageOptions, IIndentAttributesProperties, IInternalHyperlinkOptions, ILevelParagraphStylePropertiesOptions, ILevelsOptions, ILineNumberAttributes, IMargins, IMathFractionOptions, IMathFunctionOptions, IMathIntegralOptions, IMathLimitLowerOptions, IMathLimitUpperOptions, IMathOptions, IMathPreSubSuperScriptOptions, IMathRadicalOptions, IMathSubScriptOptions, IMathSubSuperScriptOptions, IMathSumOptions, IMathSuperScriptOptions, IMediaData, IMediaDataTransformation, IMediaTransformation, INumberedItemReferenceOptions, INumberingOptions, IPageBorderAttributes, IPageBordersOptions, IPageMarginAttributes, IPageNumberTypeAttributes, IPageReferenceOptions, IPageSizeAttributes, IParagraphOptions, IParagraphPropertiesChangeOptions, IParagraphPropertiesOptions, IParagraphPropertiesOptionsBase, IParagraphRunOptions, IParagraphRunPropertiesOptions, IParagraphStyleOptions, IParagraphStylePropertiesOptions, IPatch, type IPropertiesOptions, IRunOptions, IRunPropertiesChangeOptions, IRunPropertiesOptions, IRunStylePropertiesOptions, ISectionOptions, ISectionPropertiesChangeOptions, ISectionPropertiesOptions, ISectionPropertiesOptionsBase, IShadingAttributesProperties, ISpacingProperties, IStylesOptions, ISymbolRunOptions, ITableBordersOptions, ITableCellBorders, ITableCellOptions, ITableFloatOptions, ITableLookOptions, ITableOfContentsOptions, ITableOptions, ITablePropertiesChangeOptions, ITablePropertiesOptions, ITablePropertiesOptionsBase, ITableRowOptions, ITableRowPropertiesChangeOptions, ITableRowPropertiesOptions, ITableRowPropertiesOptionsBase, ITableWidthProperties, ITextWrapping, IVerticalPositionOptions, IWpgGroupOptions, IWpsShapeOptions, IXYFrameOptions, IXmlAttribute, IXmlableObject, IgnoreIfEmptyXmlComponent, ImageRun, ImportedRootElementAttributes, ImportedXmlComponent, InitializableXmlComponent, InputDataType, InsertedTableCell, InsertedTableRow, InsertedTextRun, InternalHyperlink, LastRenderedPageBreak, LeaderType, Level, LevelBase, LevelForOverride, LevelFormat, LevelOverride, LevelSuffix, LineNumberRestartFormat, LineRuleType, Math, MathAngledBrackets, MathComponent, MathCurlyBrackets, MathDegree, MathDenominator, MathFraction, MathFunction, MathFunctionName, MathFunctionProperties, MathIntegral, MathLimit, MathLimitLower, MathLimitUpper, MathNumerator, MathPreSubSuperScript, MathRadical, MathRadicalProperties, MathRoundBrackets, MathRun, MathSquareBrackets, MathSubScript, MathSubSuperScript, MathSum, MathSuperScript, Media, MonthLong, MonthShort, NextAttributeComponent, NoBreakHyphen, 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, Percentage, PositionalTab, PositionalTabAlignment, PositionalTabLeader, PositionalTabOptions, PositionalTabRelativeTo, PositivePercentage, PositiveUniversalMeasure, PrettifyType, RelativeHorizontalPosition, RelativeMeasure, RelativeVerticalPosition, Run, RunProperties, RunPropertiesChange, RunPropertiesDefaults, SectionProperties, SectionPropertiesChange, SectionType, SectionVerticalAlign, Separator, SequentialIdentifier, ShadingType, SimpleField, SimpleMailMergeField, SoftHyphen, SpaceType, StringContainer, StringEnumValueElement, StringValueElement, StyleForCharacter, StyleForParagraph, StyleLevel, Styles, SymbolRun, TDirection, Tab, TabStopDefinition, TabStopPosition, TabStopType, Table, TableAnchorType, TableBorders, TableCell, TableCellBorders, TableLayoutType, TableOfContents, TableProperties, TableRow, TableRowProperties, TableRowPropertiesChange, TableVerticalAlign, TextDirection, TextEffect, TextRun, TextWrappingSide, TextWrappingType, Textbox, ThematicBreak, ThemeColor, ThemeFont, UnderlineType, UniqueNumericIdCreator, UniversalMeasure, VerticalAlign, VerticalAlignSection, VerticalAlignTable, VerticalAnchor, VerticalMerge, VerticalMergeRevisionType, VerticalMergeType, VerticalPositionAlign, VerticalPositionRelativeFrom, WORKAROUND2, WORKAROUND3, WORKAROUND4, WidthType, WpgCommonMediaData, WpgGroupRun, WpgMediaData, WpsMediaData, WpsShapeRun, XmlAttributeComponent, XmlComponent, YearLong, YearShort, abstractNumUniqueNumericIdGen, bookmarkUniqueNumericIdGen, concreteNumUniqueNumericIdGen, convertInchesToTwip, convertMillimetersToTwip, convertOutput, convertToXmlComponent, createAlignment, createBodyProperties, createBorderElement, createColumns, createDocumentGrid, createDotEmphasisMark, createEmphasisMark, createFrameProperties, createHeaderFooterReference, createHorizontalPosition, createIndent, createLineNumberType, createMathAccentCharacter, createMathBase, createMathLimitLocation, createMathNAryProperties, createMathPreSubSuperScriptProperties, createMathSubScriptElement, createMathSubScriptProperties, createMathSubSuperScriptProperties, createMathSuperScriptElement, createMathSuperScriptProperties, createOutlineLevel, createPageMargin, createPageNumberType, createPageSize, createParagraphStyle, createRunFonts, createSectionType, createShading, createSimplePos, createSpacing, createStringElement, createTabStop, createTabStopItem, createTableFloatProperties, createTableLayout, createTableLook, createTableRowHeight, createTableWidthElement, createTransformation, createUnderline, createVerticalAlign, createVerticalPosition, createWrapNone, createWrapSquare, createWrapTight, createWrapTopAndBottom, dateTimeValue, decimalNumber, docPropertiesUniqueNumericIdGen, eighthPointMeasureValue, hashedId, hexColorValue, hpsMeasureValue, longHexNumber, measurementOrPercentValue, patchDetector, patchDocument, percentageValue, pointMeasureValue, positiveUniversalMeasureValue, sectionMarginDefaults, sectionPageSizeDefaults, shortHexNumber, signedHpsMeasureValue, signedTwipsMeasureValue, twipsMeasureValue, uCharHexNumber, uniqueId, uniqueNumericIdCreator, uniqueUuid, universalMeasureValue, unsignedDecimalNumber };
3408
+ export { AbstractNumbering, AlignmentType, AnnotationReference, AttributeData, AttributeMap, AttributePayload, Attributes, BaseXmlComponent, Body, Bookmark, BookmarkEnd, BookmarkStart, Border, BorderStyle, BuilderElement, CarriageReturn, CellMerge, CellMergeAttributes, CharacterSet, CheckBox, CheckBoxSymbolElement, CheckBoxUtil, Column, ColumnBreak, Comment, CommentRangeEnd, CommentRangeStart, CommentReference, Comments, ConcreteHyperlink, ConcreteNumbering, ContinuationSeparator, DayLong, DayShort, DeletedTableCell, DeletedTableRow, DeletedTextRun, File as Document, File, DocumentAttributeNamespace, DocumentAttributeNamespaces, DocumentAttributes, DocumentBackground, DocumentBackgroundAttributes, DocumentDefaults, DocumentGridType, Drawing, DropCapType, EMPTY_OBJECT, EmphasisMarkType, EmptyElement, EndnoteIdReference, EndnoteReference, EndnoteReferenceRun, EndnoteReferenceRunAttributes, Endnotes, ExternalHyperlink, FileChild, FootNoteReferenceRunAttributes, FootNotes, Footer, FooterWrapper, FootnoteReference, FootnoteReferenceElement, FootnoteReferenceRun, FrameAnchorType, FrameWrap, GridSpan, Header, HeaderFooterReferenceType, HeaderFooterType, HeaderWrapper, HeadingLevel, HeightRule, HighlightColor, HorizontalPositionAlign, HorizontalPositionRelativeFrom, HpsMeasureElement, HyperlinkType, IAlignmentFrameOptions, IBaseCharacterStyleOptions, IBaseParagraphStyleOptions, IBodyPropertiesOptions, IBookmarkOptions, IBorderOptions, IBordersOptions, ICellMergeAttributes, ICharacterStyleOptions, ICheckboxSymbolOptions, ICheckboxSymbolProperties, IColumnAttributes, IColumnsAttributes, ICommentOptions, ICommentsOptions, IConcreteNumberingOptions, IContext, IDistance, IDocGridAttributesProperties, IDocumentAttributesProperties, IDocumentBackgroundOptions, IDocumentDefaultsOptions, IDocumentFooter, IDocumentHeader, IDocumentOptions, IDrawingOptions, IExtendedMediaData, IExternalHyperlinkOptions, IFloating, IFontAttributesProperties, IFrameOptions, IGroupChildMediaData, IHeaderFooterGroup, IHeaderFooterOptions, IHeaderOptions, IHorizontalPositionOptions, IImageOptions, IIndentAttributesProperties, IInternalHyperlinkOptions, ILevelParagraphStylePropertiesOptions, ILevelsOptions, ILineNumberAttributes, IMargins, IMathFractionOptions, IMathFunctionOptions, IMathIntegralOptions, IMathLimitLowerOptions, IMathLimitUpperOptions, IMathOptions, IMathPreSubSuperScriptOptions, IMathRadicalOptions, IMathSubScriptOptions, IMathSubSuperScriptOptions, IMathSumOptions, IMathSuperScriptOptions, IMediaData, IMediaDataTransformation, IMediaTransformation, INumberedItemReferenceOptions, INumberingOptions, IPageBorderAttributes, IPageBordersOptions, IPageMarginAttributes, IPageNumberTypeAttributes, IPageReferenceOptions, IPageSizeAttributes, IParagraphOptions, IParagraphPropertiesChangeOptions, IParagraphPropertiesOptions, IParagraphPropertiesOptionsBase, IParagraphRunOptions, IParagraphRunPropertiesOptions, IParagraphStyleOptions, IParagraphStylePropertiesOptions, IPatch, type IPropertiesOptions, IRunOptions, IRunPropertiesChangeOptions, IRunPropertiesOptions, IRunStylePropertiesOptions, ISectionOptions, ISectionPropertiesChangeOptions, ISectionPropertiesOptions, ISectionPropertiesOptionsBase, IShadingAttributesProperties, ISpacingProperties, IStylesOptions, ISymbolRunOptions, ITableBordersOptions, ITableCellBorders, ITableCellOptions, ITableFloatOptions, ITableLookOptions, ITableOfContentsOptions, ITableOptions, ITablePropertiesChangeOptions, ITablePropertiesOptions, ITablePropertiesOptionsBase, ITableRowOptions, ITableRowPropertiesChangeOptions, ITableRowPropertiesOptions, ITableRowPropertiesOptionsBase, ITableWidthProperties, ITextWrapping, IVerticalPositionOptions, IWpgGroupOptions, IWpsShapeOptions, IXYFrameOptions, IXmlAttribute, IXmlableObject, IgnoreIfEmptyXmlComponent, ImageRun, ImportedRootElementAttributes, ImportedXmlComponent, InitializableXmlComponent, InputDataType, InsertedTableCell, InsertedTableRow, InsertedTextRun, InternalHyperlink, LastRenderedPageBreak, LeaderType, Level, LevelBase, LevelForOverride, LevelFormat, LevelOverride, LevelSuffix, LineNumberRestartFormat, LineRuleType, Math, MathAngledBrackets, MathComponent, MathCurlyBrackets, MathDegree, MathDenominator, MathFraction, MathFunction, MathFunctionName, MathFunctionProperties, MathIntegral, MathLimit, MathLimitLower, MathLimitUpper, MathNumerator, MathPreSubSuperScript, MathRadical, MathRadicalProperties, MathRoundBrackets, MathRun, MathSquareBrackets, MathSubScript, MathSubSuperScript, MathSum, MathSuperScript, Media, MonthLong, MonthShort, NextAttributeComponent, NoBreakHyphen, 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, Percentage, PositionalTab, PositionalTabAlignment, PositionalTabLeader, PositionalTabOptions, PositionalTabRelativeTo, PositivePercentage, PositiveUniversalMeasure, PrettifyType, RelativeHorizontalPosition, RelativeMeasure, RelativeVerticalPosition, Run, RunProperties, RunPropertiesChange, RunPropertiesDefaults, SectionProperties, SectionPropertiesChange, SectionType, SectionVerticalAlign, Separator, SequentialIdentifier, ShadingType, SimpleField, SimpleMailMergeField, SoftHyphen, SpaceType, StringContainer, StringEnumValueElement, StringValueElement, StyleForCharacter, StyleForParagraph, StyleLevel, Styles, SymbolRun, TDirection, Tab, TabStopDefinition, TabStopPosition, TabStopType, Table, TableAnchorType, TableBorders, TableCell, TableCellBorders, TableLayoutType, TableOfContents, TableProperties, TableRow, TableRowProperties, TableRowPropertiesChange, TableVerticalAlign, TextAlignmentType, TextDirection, TextEffect, TextRun, TextWrappingSide, TextWrappingType, Textbox, TextboxTightWrapType, ThematicBreak, ThemeColor, ThemeFont, UnderlineType, UniqueNumericIdCreator, UniversalMeasure, VerticalAlign, VerticalAlignSection, VerticalAlignTable, VerticalAnchor, VerticalMerge, VerticalMergeRevisionType, VerticalMergeType, VerticalPositionAlign, VerticalPositionRelativeFrom, WORKAROUND2, WORKAROUND3, WORKAROUND4, WidthType, WpgCommonMediaData, WpgGroupRun, WpgMediaData, WpsMediaData, WpsShapeRun, XmlAttributeComponent, XmlComponent, YearLong, YearShort, abstractNumUniqueNumericIdGen, bookmarkUniqueNumericIdGen, concreteNumUniqueNumericIdGen, convertInchesToTwip, convertMillimetersToTwip, convertOutput, convertToXmlComponent, createAlignment, createBodyProperties, createBorderElement, createColumns, createDocumentGrid, createDotEmphasisMark, createEmphasisMark, createFrameProperties, createHeaderFooterReference, createHorizontalPosition, createIndent, createLineNumberType, createMathAccentCharacter, createMathBase, createMathLimitLocation, createMathNAryProperties, createMathPreSubSuperScriptProperties, createMathSubScriptElement, createMathSubScriptProperties, createMathSubSuperScriptProperties, createMathSuperScriptElement, createMathSuperScriptProperties, createOutlineLevel, createPageMargin, createPageNumberType, createPageSize, createParagraphStyle, createRunFonts, createSectionType, createShading, createSimplePos, createSpacing, createStringElement, createTabStop, createTabStopItem, createTableFloatProperties, createTableLayout, createTableLook, createTableRowHeight, createTableWidthElement, createTransformation, createUnderline, createVerticalAlign, createVerticalPosition, createWrapNone, createWrapSquare, createWrapTight, createWrapTopAndBottom, dateTimeValue, decimalNumber, docPropertiesUniqueNumericIdGen, eighthPointMeasureValue, hashedId, hexColorValue, hpsMeasureValue, longHexNumber, measurementOrPercentValue, patchDetector, patchDocument, percentageValue, pointMeasureValue, positiveUniversalMeasureValue, sectionMarginDefaults, sectionPageSizeDefaults, shortHexNumber, signedHpsMeasureValue, signedTwipsMeasureValue, twipsMeasureValue, uCharHexNumber, uniqueId, uniqueNumericIdCreator, uniqueUuid, universalMeasureValue, unsignedDecimalNumber };
package/dist/index.d.mts CHANGED
@@ -346,6 +346,22 @@ declare class InsertedTextRun extends XmlComponent {
346
346
  constructor(options: IInsertedRunOptions);
347
347
  }
348
348
  //#endregion
349
+ //#region src/file/paragraph/run/east-asian-layout.d.ts
350
+ declare const CombineBracketsType: {
351
+ readonly NONE: "none";
352
+ readonly ROUND: "round";
353
+ readonly SQUARE: "square";
354
+ readonly ANGLE: "angle";
355
+ readonly CURLY: "curly";
356
+ };
357
+ interface IEastAsianLayoutOptions {
358
+ readonly id?: number;
359
+ readonly combine?: boolean;
360
+ readonly combineBrackets?: (typeof CombineBracketsType)[keyof typeof CombineBracketsType];
361
+ readonly vert?: boolean;
362
+ readonly vertCompress?: boolean;
363
+ }
364
+ //#endregion
349
365
  //#region src/file/paragraph/run/emphasis-mark.d.ts
350
366
  declare const EmphasisMarkType: {
351
367
  readonly NONE: "none";
@@ -488,6 +504,7 @@ interface IRunStylePropertiesOptions {
488
504
  readonly webHidden?: boolean;
489
505
  readonly fitText?: number;
490
506
  readonly complexScript?: boolean;
507
+ readonly eastAsianLayout?: IEastAsianLayoutOptions;
491
508
  }
492
509
  type IRunPropertiesOptions = {
493
510
  readonly style?: string;
@@ -1443,67 +1460,6 @@ declare const createDocumentGrid: ({
1443
1460
  charSpace
1444
1461
  }: IDocGridAttributesProperties) => XmlComponent;
1445
1462
  //#endregion
1446
- //#region src/file/document/body/section-properties/properties/line-number.d.ts
1447
- declare const LineNumberRestartFormat: {
1448
- readonly NEW_PAGE: "newPage";
1449
- readonly NEW_SECTION: "newSection";
1450
- readonly CONTINUOUS: "continuous";
1451
- };
1452
- interface ILineNumberAttributes {
1453
- readonly countBy?: number;
1454
- readonly start?: number;
1455
- readonly restart?: (typeof LineNumberRestartFormat)[keyof typeof LineNumberRestartFormat];
1456
- readonly distance?: number | PositiveUniversalMeasure;
1457
- }
1458
- declare const createLineNumberType: ({
1459
- countBy,
1460
- start,
1461
- restart,
1462
- distance
1463
- }: ILineNumberAttributes) => XmlComponent;
1464
- //#endregion
1465
- //#region src/file/document/body/section-properties/properties/page-borders.d.ts
1466
- declare const PageBorderDisplay: {
1467
- readonly ALL_PAGES: "allPages";
1468
- readonly FIRST_PAGE: "firstPage";
1469
- readonly NOT_FIRST_PAGE: "notFirstPage";
1470
- };
1471
- declare const PageBorderOffsetFrom: {
1472
- readonly PAGE: "page";
1473
- readonly TEXT: "text";
1474
- };
1475
- declare const PageBorderZOrder: {
1476
- readonly BACK: "back";
1477
- readonly FRONT: "front";
1478
- };
1479
- interface IPageBorderAttributes {
1480
- readonly display?: (typeof PageBorderDisplay)[keyof typeof PageBorderDisplay];
1481
- readonly offsetFrom?: (typeof PageBorderOffsetFrom)[keyof typeof PageBorderOffsetFrom];
1482
- readonly zOrder?: (typeof PageBorderZOrder)[keyof typeof PageBorderZOrder];
1483
- }
1484
- interface IPageBordersOptions {
1485
- readonly pageBorders?: IPageBorderAttributes;
1486
- readonly pageBorderTop?: IBorderOptions;
1487
- readonly pageBorderRight?: IBorderOptions;
1488
- readonly pageBorderBottom?: IBorderOptions;
1489
- readonly pageBorderLeft?: IBorderOptions;
1490
- }
1491
- declare class PageBorders extends IgnoreIfEmptyXmlComponent {
1492
- constructor(options?: IPageBordersOptions);
1493
- }
1494
- //#endregion
1495
- //#region src/file/document/body/section-properties/properties/page-margin.d.ts
1496
- interface IPageMarginAttributes {
1497
- readonly top?: number | UniversalMeasure;
1498
- readonly right?: number | PositiveUniversalMeasure;
1499
- readonly bottom?: number | UniversalMeasure;
1500
- readonly left?: number | PositiveUniversalMeasure;
1501
- readonly header?: number | PositiveUniversalMeasure;
1502
- readonly footer?: number | PositiveUniversalMeasure;
1503
- readonly gutter?: number | PositiveUniversalMeasure;
1504
- }
1505
- declare const createPageMargin: (top: number | UniversalMeasure, right: number | PositiveUniversalMeasure, bottom: number | UniversalMeasure, left: number | PositiveUniversalMeasure, header: number | PositiveUniversalMeasure, footer: number | PositiveUniversalMeasure, gutter: number | PositiveUniversalMeasure) => XmlComponent;
1506
- //#endregion
1507
1463
  //#region src/file/shared/number-format.d.ts
1508
1464
  declare const NumberFormat: {
1509
1465
  readonly AIUEO: "aiueo";
@@ -1570,6 +1526,96 @@ declare const NumberFormat: {
1570
1526
  readonly VIETNAMESE_COUNTING: "vietnameseCounting";
1571
1527
  };
1572
1528
  //#endregion
1529
+ //#region src/file/document/body/section-properties/properties/footnote-endnote-properties.d.ts
1530
+ declare const FootnotePositionType: {
1531
+ readonly PAGE_BOTTOM: "pageBottom";
1532
+ readonly BENEATH_TEXT: "beneathText";
1533
+ readonly SECT_END: "sectEnd";
1534
+ readonly DOC_END: "docEnd";
1535
+ };
1536
+ declare const EndnotePositionType: {
1537
+ readonly SECT_END: "sectEnd";
1538
+ readonly DOC_END: "docEnd";
1539
+ };
1540
+ declare const NumberRestartType: {
1541
+ readonly CONTINUOUS: "continuous";
1542
+ readonly EACH_SECT: "eachSect";
1543
+ readonly EACH_PAGE: "eachPage";
1544
+ };
1545
+ interface INumberPropertiesOptions {
1546
+ readonly formatType?: (typeof NumberFormat)[keyof typeof NumberFormat];
1547
+ readonly format?: string;
1548
+ readonly numStart?: number;
1549
+ readonly numRestart?: (typeof NumberRestartType)[keyof typeof NumberRestartType];
1550
+ }
1551
+ interface IFootnotePropertiesOptions extends INumberPropertiesOptions {
1552
+ readonly pos?: (typeof FootnotePositionType)[keyof typeof FootnotePositionType];
1553
+ }
1554
+ interface IEndnotePropertiesOptions extends INumberPropertiesOptions {
1555
+ readonly pos?: (typeof EndnotePositionType)[keyof typeof EndnotePositionType];
1556
+ }
1557
+ //#endregion
1558
+ //#region src/file/document/body/section-properties/properties/line-number.d.ts
1559
+ declare const LineNumberRestartFormat: {
1560
+ readonly NEW_PAGE: "newPage";
1561
+ readonly NEW_SECTION: "newSection";
1562
+ readonly CONTINUOUS: "continuous";
1563
+ };
1564
+ interface ILineNumberAttributes {
1565
+ readonly countBy?: number;
1566
+ readonly start?: number;
1567
+ readonly restart?: (typeof LineNumberRestartFormat)[keyof typeof LineNumberRestartFormat];
1568
+ readonly distance?: number | PositiveUniversalMeasure;
1569
+ }
1570
+ declare const createLineNumberType: ({
1571
+ countBy,
1572
+ start,
1573
+ restart,
1574
+ distance
1575
+ }: ILineNumberAttributes) => XmlComponent;
1576
+ //#endregion
1577
+ //#region src/file/document/body/section-properties/properties/page-borders.d.ts
1578
+ declare const PageBorderDisplay: {
1579
+ readonly ALL_PAGES: "allPages";
1580
+ readonly FIRST_PAGE: "firstPage";
1581
+ readonly NOT_FIRST_PAGE: "notFirstPage";
1582
+ };
1583
+ declare const PageBorderOffsetFrom: {
1584
+ readonly PAGE: "page";
1585
+ readonly TEXT: "text";
1586
+ };
1587
+ declare const PageBorderZOrder: {
1588
+ readonly BACK: "back";
1589
+ readonly FRONT: "front";
1590
+ };
1591
+ interface IPageBorderAttributes {
1592
+ readonly display?: (typeof PageBorderDisplay)[keyof typeof PageBorderDisplay];
1593
+ readonly offsetFrom?: (typeof PageBorderOffsetFrom)[keyof typeof PageBorderOffsetFrom];
1594
+ readonly zOrder?: (typeof PageBorderZOrder)[keyof typeof PageBorderZOrder];
1595
+ }
1596
+ interface IPageBordersOptions {
1597
+ readonly pageBorders?: IPageBorderAttributes;
1598
+ readonly pageBorderTop?: IBorderOptions;
1599
+ readonly pageBorderRight?: IBorderOptions;
1600
+ readonly pageBorderBottom?: IBorderOptions;
1601
+ readonly pageBorderLeft?: IBorderOptions;
1602
+ }
1603
+ declare class PageBorders extends IgnoreIfEmptyXmlComponent {
1604
+ constructor(options?: IPageBordersOptions);
1605
+ }
1606
+ //#endregion
1607
+ //#region src/file/document/body/section-properties/properties/page-margin.d.ts
1608
+ interface IPageMarginAttributes {
1609
+ readonly top?: number | UniversalMeasure;
1610
+ readonly right?: number | PositiveUniversalMeasure;
1611
+ readonly bottom?: number | UniversalMeasure;
1612
+ readonly left?: number | PositiveUniversalMeasure;
1613
+ readonly header?: number | PositiveUniversalMeasure;
1614
+ readonly footer?: number | PositiveUniversalMeasure;
1615
+ readonly gutter?: number | PositiveUniversalMeasure;
1616
+ }
1617
+ declare const createPageMargin: (top: number | UniversalMeasure, right: number | PositiveUniversalMeasure, bottom: number | UniversalMeasure, left: number | PositiveUniversalMeasure, header: number | PositiveUniversalMeasure, footer: number | PositiveUniversalMeasure, gutter: number | PositiveUniversalMeasure) => XmlComponent;
1618
+ //#endregion
1573
1619
  //#region src/file/document/body/section-properties/properties/page-number.d.ts
1574
1620
  declare const PageNumberSeparator: {
1575
1621
  readonly HYPHEN: "hyphen";
@@ -1582,11 +1628,13 @@ interface IPageNumberTypeAttributes {
1582
1628
  readonly start?: number;
1583
1629
  readonly formatType?: (typeof NumberFormat)[keyof typeof NumberFormat];
1584
1630
  readonly separator?: (typeof PageNumberSeparator)[keyof typeof PageNumberSeparator];
1631
+ readonly chapStyle?: number;
1585
1632
  }
1586
1633
  declare const createPageNumberType: ({
1587
1634
  start,
1588
1635
  formatType,
1589
- separator
1636
+ separator,
1637
+ chapStyle
1590
1638
  }: IPageNumberTypeAttributes) => XmlComponent;
1591
1639
  //#endregion
1592
1640
  //#region src/file/document/body/section-properties/properties/page-size.d.ts
@@ -1648,6 +1696,15 @@ interface ISectionPropertiesOptionsBase {
1648
1696
  readonly verticalAlign?: SectionVerticalAlign;
1649
1697
  readonly column?: IColumnsAttributes;
1650
1698
  readonly type?: (typeof SectionType)[keyof typeof SectionType];
1699
+ readonly noEndnote?: boolean;
1700
+ readonly bidi?: boolean;
1701
+ readonly rtlGutter?: boolean;
1702
+ readonly paperSrc?: {
1703
+ readonly first?: number;
1704
+ readonly other?: number;
1705
+ };
1706
+ readonly footnotePr?: IFootnotePropertiesOptions;
1707
+ readonly endnotePr?: IEndnotePropertiesOptions;
1651
1708
  }
1652
1709
  type ISectionPropertiesChangeOptions = IChangedAttributesProperties & ISectionPropertiesOptionsBase;
1653
1710
  type ISectionPropertiesOptions = {
@@ -1700,7 +1757,13 @@ declare class SectionProperties extends XmlComponent {
1700
1757
  verticalAlign,
1701
1758
  column,
1702
1759
  type,
1703
- revision
1760
+ revision,
1761
+ noEndnote,
1762
+ bidi,
1763
+ rtlGutter,
1764
+ paperSrc,
1765
+ footnotePr,
1766
+ endnotePr
1704
1767
  }?: ISectionPropertiesOptions);
1705
1768
  private addHeaderFooterGroup;
1706
1769
  }
@@ -2189,6 +2252,20 @@ type IFrameOptions = IXYFrameOptions | IAlignmentFrameOptions;
2189
2252
  declare const createFrameProperties: (options: IFrameOptions) => XmlComponent;
2190
2253
  //#endregion
2191
2254
  //#region src/file/paragraph/properties.d.ts
2255
+ declare const TextAlignmentType: {
2256
+ readonly TOP: "top";
2257
+ readonly CENTER: "center";
2258
+ readonly BASELINE: "baseline";
2259
+ readonly BOTTOM: "bottom";
2260
+ readonly AUTO: "auto";
2261
+ };
2262
+ declare const TextboxTightWrapType: {
2263
+ readonly NONE: "none";
2264
+ readonly ALL_LINES: "allLines";
2265
+ readonly FIRST_AND_LAST_LINE: "firstAndLastLine";
2266
+ readonly FIRST_LINE_ONLY: "firstLineOnly";
2267
+ readonly LAST_LINE_ONLY: "lastLineOnly";
2268
+ };
2192
2269
  interface ILevelParagraphStylePropertiesOptions {
2193
2270
  readonly alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
2194
2271
  readonly thematicBreak?: boolean;
@@ -2228,6 +2305,15 @@ type IParagraphPropertiesOptionsBase = {
2228
2305
  readonly scale?: number;
2229
2306
  readonly autoSpaceEastAsianText?: boolean;
2230
2307
  readonly run?: IParagraphRunOptions;
2308
+ readonly suppressAutoHyphens?: boolean;
2309
+ readonly adjustRightInd?: boolean;
2310
+ readonly snapToGrid?: boolean;
2311
+ readonly mirrorIndents?: boolean;
2312
+ readonly kinsoku?: boolean;
2313
+ readonly topLinePunct?: boolean;
2314
+ readonly autoSpaceDE?: boolean;
2315
+ readonly textAlignment?: (typeof TextAlignmentType)[keyof typeof TextAlignmentType];
2316
+ readonly textboxTightWrap?: (typeof TextboxTightWrapType)[keyof typeof TextboxTightWrapType];
2231
2317
  } & IParagraphStylePropertiesOptions;
2232
2318
  type IParagraphPropertiesChangeOptions = IChangedAttributesProperties & IParagraphPropertiesOptionsBase;
2233
2319
  type IParagraphPropertiesOptions = {
@@ -3321,4 +3407,4 @@ declare const patchDetector: ({
3321
3407
  data
3322
3408
  }: PatchDetectorOptions) => Promise<readonly string[]>;
3323
3409
  //#endregion
3324
- export { AbstractNumbering, AlignmentType, AnnotationReference, AttributeData, AttributeMap, AttributePayload, Attributes, BaseXmlComponent, Body, Bookmark, BookmarkEnd, BookmarkStart, Border, BorderStyle, BuilderElement, CarriageReturn, CellMerge, CellMergeAttributes, CharacterSet, CheckBox, CheckBoxSymbolElement, CheckBoxUtil, Column, ColumnBreak, Comment, CommentRangeEnd, CommentRangeStart, CommentReference, Comments, ConcreteHyperlink, ConcreteNumbering, ContinuationSeparator, DayLong, DayShort, DeletedTableCell, DeletedTableRow, DeletedTextRun, File as Document, File, DocumentAttributeNamespace, DocumentAttributeNamespaces, DocumentAttributes, DocumentBackground, DocumentBackgroundAttributes, DocumentDefaults, DocumentGridType, Drawing, DropCapType, EMPTY_OBJECT, EmphasisMarkType, EmptyElement, EndnoteIdReference, EndnoteReference, EndnoteReferenceRun, EndnoteReferenceRunAttributes, Endnotes, ExternalHyperlink, FileChild, FootNoteReferenceRunAttributes, FootNotes, Footer, FooterWrapper, FootnoteReference, FootnoteReferenceElement, FootnoteReferenceRun, FrameAnchorType, FrameWrap, GridSpan, Header, HeaderFooterReferenceType, HeaderFooterType, HeaderWrapper, HeadingLevel, HeightRule, HighlightColor, HorizontalPositionAlign, HorizontalPositionRelativeFrom, HpsMeasureElement, HyperlinkType, IAlignmentFrameOptions, IBaseCharacterStyleOptions, IBaseParagraphStyleOptions, IBodyPropertiesOptions, IBookmarkOptions, IBorderOptions, IBordersOptions, ICellMergeAttributes, ICharacterStyleOptions, ICheckboxSymbolOptions, ICheckboxSymbolProperties, IColumnAttributes, IColumnsAttributes, ICommentOptions, ICommentsOptions, IConcreteNumberingOptions, IContext, IDistance, IDocGridAttributesProperties, IDocumentAttributesProperties, IDocumentBackgroundOptions, IDocumentDefaultsOptions, IDocumentFooter, IDocumentHeader, IDocumentOptions, IDrawingOptions, IExtendedMediaData, IExternalHyperlinkOptions, IFloating, IFontAttributesProperties, IFrameOptions, IGroupChildMediaData, IHeaderFooterGroup, IHeaderFooterOptions, IHeaderOptions, IHorizontalPositionOptions, IImageOptions, IIndentAttributesProperties, IInternalHyperlinkOptions, ILevelParagraphStylePropertiesOptions, ILevelsOptions, ILineNumberAttributes, IMargins, IMathFractionOptions, IMathFunctionOptions, IMathIntegralOptions, IMathLimitLowerOptions, IMathLimitUpperOptions, IMathOptions, IMathPreSubSuperScriptOptions, IMathRadicalOptions, IMathSubScriptOptions, IMathSubSuperScriptOptions, IMathSumOptions, IMathSuperScriptOptions, IMediaData, IMediaDataTransformation, IMediaTransformation, INumberedItemReferenceOptions, INumberingOptions, IPageBorderAttributes, IPageBordersOptions, IPageMarginAttributes, IPageNumberTypeAttributes, IPageReferenceOptions, IPageSizeAttributes, IParagraphOptions, IParagraphPropertiesChangeOptions, IParagraphPropertiesOptions, IParagraphPropertiesOptionsBase, IParagraphRunOptions, IParagraphRunPropertiesOptions, IParagraphStyleOptions, IParagraphStylePropertiesOptions, IPatch, type IPropertiesOptions, IRunOptions, IRunPropertiesChangeOptions, IRunPropertiesOptions, IRunStylePropertiesOptions, ISectionOptions, ISectionPropertiesChangeOptions, ISectionPropertiesOptions, ISectionPropertiesOptionsBase, IShadingAttributesProperties, ISpacingProperties, IStylesOptions, ISymbolRunOptions, ITableBordersOptions, ITableCellBorders, ITableCellOptions, ITableFloatOptions, ITableLookOptions, ITableOfContentsOptions, ITableOptions, ITablePropertiesChangeOptions, ITablePropertiesOptions, ITablePropertiesOptionsBase, ITableRowOptions, ITableRowPropertiesChangeOptions, ITableRowPropertiesOptions, ITableRowPropertiesOptionsBase, ITableWidthProperties, ITextWrapping, IVerticalPositionOptions, IWpgGroupOptions, IWpsShapeOptions, IXYFrameOptions, IXmlAttribute, IXmlableObject, IgnoreIfEmptyXmlComponent, ImageRun, ImportedRootElementAttributes, ImportedXmlComponent, InitializableXmlComponent, InputDataType, InsertedTableCell, InsertedTableRow, InsertedTextRun, InternalHyperlink, LastRenderedPageBreak, LeaderType, Level, LevelBase, LevelForOverride, LevelFormat, LevelOverride, LevelSuffix, LineNumberRestartFormat, LineRuleType, Math, MathAngledBrackets, MathComponent, MathCurlyBrackets, MathDegree, MathDenominator, MathFraction, MathFunction, MathFunctionName, MathFunctionProperties, MathIntegral, MathLimit, MathLimitLower, MathLimitUpper, MathNumerator, MathPreSubSuperScript, MathRadical, MathRadicalProperties, MathRoundBrackets, MathRun, MathSquareBrackets, MathSubScript, MathSubSuperScript, MathSum, MathSuperScript, Media, MonthLong, MonthShort, NextAttributeComponent, NoBreakHyphen, 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, Percentage, PositionalTab, PositionalTabAlignment, PositionalTabLeader, PositionalTabOptions, PositionalTabRelativeTo, PositivePercentage, PositiveUniversalMeasure, PrettifyType, RelativeHorizontalPosition, RelativeMeasure, RelativeVerticalPosition, Run, RunProperties, RunPropertiesChange, RunPropertiesDefaults, SectionProperties, SectionPropertiesChange, SectionType, SectionVerticalAlign, Separator, SequentialIdentifier, ShadingType, SimpleField, SimpleMailMergeField, SoftHyphen, SpaceType, StringContainer, StringEnumValueElement, StringValueElement, StyleForCharacter, StyleForParagraph, StyleLevel, Styles, SymbolRun, TDirection, Tab, TabStopDefinition, TabStopPosition, TabStopType, Table, TableAnchorType, TableBorders, TableCell, TableCellBorders, TableLayoutType, TableOfContents, TableProperties, TableRow, TableRowProperties, TableRowPropertiesChange, TableVerticalAlign, TextDirection, TextEffect, TextRun, TextWrappingSide, TextWrappingType, Textbox, ThematicBreak, ThemeColor, ThemeFont, UnderlineType, UniqueNumericIdCreator, UniversalMeasure, VerticalAlign, VerticalAlignSection, VerticalAlignTable, VerticalAnchor, VerticalMerge, VerticalMergeRevisionType, VerticalMergeType, VerticalPositionAlign, VerticalPositionRelativeFrom, WORKAROUND2, WORKAROUND3, WORKAROUND4, WidthType, WpgCommonMediaData, WpgGroupRun, WpgMediaData, WpsMediaData, WpsShapeRun, XmlAttributeComponent, XmlComponent, YearLong, YearShort, abstractNumUniqueNumericIdGen, bookmarkUniqueNumericIdGen, concreteNumUniqueNumericIdGen, convertInchesToTwip, convertMillimetersToTwip, convertOutput, convertToXmlComponent, createAlignment, createBodyProperties, createBorderElement, createColumns, createDocumentGrid, createDotEmphasisMark, createEmphasisMark, createFrameProperties, createHeaderFooterReference, createHorizontalPosition, createIndent, createLineNumberType, createMathAccentCharacter, createMathBase, createMathLimitLocation, createMathNAryProperties, createMathPreSubSuperScriptProperties, createMathSubScriptElement, createMathSubScriptProperties, createMathSubSuperScriptProperties, createMathSuperScriptElement, createMathSuperScriptProperties, createOutlineLevel, createPageMargin, createPageNumberType, createPageSize, createParagraphStyle, createRunFonts, createSectionType, createShading, createSimplePos, createSpacing, createStringElement, createTabStop, createTabStopItem, createTableFloatProperties, createTableLayout, createTableLook, createTableRowHeight, createTableWidthElement, createTransformation, createUnderline, createVerticalAlign, createVerticalPosition, createWrapNone, createWrapSquare, createWrapTight, createWrapTopAndBottom, dateTimeValue, decimalNumber, docPropertiesUniqueNumericIdGen, eighthPointMeasureValue, hashedId, hexColorValue, hpsMeasureValue, longHexNumber, measurementOrPercentValue, patchDetector, patchDocument, percentageValue, pointMeasureValue, positiveUniversalMeasureValue, sectionMarginDefaults, sectionPageSizeDefaults, shortHexNumber, signedHpsMeasureValue, signedTwipsMeasureValue, twipsMeasureValue, uCharHexNumber, uniqueId, uniqueNumericIdCreator, uniqueUuid, universalMeasureValue, unsignedDecimalNumber };
3410
+ export { AbstractNumbering, AlignmentType, AnnotationReference, AttributeData, AttributeMap, AttributePayload, Attributes, BaseXmlComponent, Body, Bookmark, BookmarkEnd, BookmarkStart, Border, BorderStyle, BuilderElement, CarriageReturn, CellMerge, CellMergeAttributes, CharacterSet, CheckBox, CheckBoxSymbolElement, CheckBoxUtil, Column, ColumnBreak, Comment, CommentRangeEnd, CommentRangeStart, CommentReference, Comments, ConcreteHyperlink, ConcreteNumbering, ContinuationSeparator, DayLong, DayShort, DeletedTableCell, DeletedTableRow, DeletedTextRun, File as Document, File, DocumentAttributeNamespace, DocumentAttributeNamespaces, DocumentAttributes, DocumentBackground, DocumentBackgroundAttributes, DocumentDefaults, DocumentGridType, Drawing, DropCapType, EMPTY_OBJECT, EmphasisMarkType, EmptyElement, EndnoteIdReference, EndnoteReference, EndnoteReferenceRun, EndnoteReferenceRunAttributes, Endnotes, ExternalHyperlink, FileChild, FootNoteReferenceRunAttributes, FootNotes, Footer, FooterWrapper, FootnoteReference, FootnoteReferenceElement, FootnoteReferenceRun, FrameAnchorType, FrameWrap, GridSpan, Header, HeaderFooterReferenceType, HeaderFooterType, HeaderWrapper, HeadingLevel, HeightRule, HighlightColor, HorizontalPositionAlign, HorizontalPositionRelativeFrom, HpsMeasureElement, HyperlinkType, IAlignmentFrameOptions, IBaseCharacterStyleOptions, IBaseParagraphStyleOptions, IBodyPropertiesOptions, IBookmarkOptions, IBorderOptions, IBordersOptions, ICellMergeAttributes, ICharacterStyleOptions, ICheckboxSymbolOptions, ICheckboxSymbolProperties, IColumnAttributes, IColumnsAttributes, ICommentOptions, ICommentsOptions, IConcreteNumberingOptions, IContext, IDistance, IDocGridAttributesProperties, IDocumentAttributesProperties, IDocumentBackgroundOptions, IDocumentDefaultsOptions, IDocumentFooter, IDocumentHeader, IDocumentOptions, IDrawingOptions, IExtendedMediaData, IExternalHyperlinkOptions, IFloating, IFontAttributesProperties, IFrameOptions, IGroupChildMediaData, IHeaderFooterGroup, IHeaderFooterOptions, IHeaderOptions, IHorizontalPositionOptions, IImageOptions, IIndentAttributesProperties, IInternalHyperlinkOptions, ILevelParagraphStylePropertiesOptions, ILevelsOptions, ILineNumberAttributes, IMargins, IMathFractionOptions, IMathFunctionOptions, IMathIntegralOptions, IMathLimitLowerOptions, IMathLimitUpperOptions, IMathOptions, IMathPreSubSuperScriptOptions, IMathRadicalOptions, IMathSubScriptOptions, IMathSubSuperScriptOptions, IMathSumOptions, IMathSuperScriptOptions, IMediaData, IMediaDataTransformation, IMediaTransformation, INumberedItemReferenceOptions, INumberingOptions, IPageBorderAttributes, IPageBordersOptions, IPageMarginAttributes, IPageNumberTypeAttributes, IPageReferenceOptions, IPageSizeAttributes, IParagraphOptions, IParagraphPropertiesChangeOptions, IParagraphPropertiesOptions, IParagraphPropertiesOptionsBase, IParagraphRunOptions, IParagraphRunPropertiesOptions, IParagraphStyleOptions, IParagraphStylePropertiesOptions, IPatch, type IPropertiesOptions, IRunOptions, IRunPropertiesChangeOptions, IRunPropertiesOptions, IRunStylePropertiesOptions, ISectionOptions, ISectionPropertiesChangeOptions, ISectionPropertiesOptions, ISectionPropertiesOptionsBase, IShadingAttributesProperties, ISpacingProperties, IStylesOptions, ISymbolRunOptions, ITableBordersOptions, ITableCellBorders, ITableCellOptions, ITableFloatOptions, ITableLookOptions, ITableOfContentsOptions, ITableOptions, ITablePropertiesChangeOptions, ITablePropertiesOptions, ITablePropertiesOptionsBase, ITableRowOptions, ITableRowPropertiesChangeOptions, ITableRowPropertiesOptions, ITableRowPropertiesOptionsBase, ITableWidthProperties, ITextWrapping, IVerticalPositionOptions, IWpgGroupOptions, IWpsShapeOptions, IXYFrameOptions, IXmlAttribute, IXmlableObject, IgnoreIfEmptyXmlComponent, ImageRun, ImportedRootElementAttributes, ImportedXmlComponent, InitializableXmlComponent, InputDataType, InsertedTableCell, InsertedTableRow, InsertedTextRun, InternalHyperlink, LastRenderedPageBreak, LeaderType, Level, LevelBase, LevelForOverride, LevelFormat, LevelOverride, LevelSuffix, LineNumberRestartFormat, LineRuleType, Math, MathAngledBrackets, MathComponent, MathCurlyBrackets, MathDegree, MathDenominator, MathFraction, MathFunction, MathFunctionName, MathFunctionProperties, MathIntegral, MathLimit, MathLimitLower, MathLimitUpper, MathNumerator, MathPreSubSuperScript, MathRadical, MathRadicalProperties, MathRoundBrackets, MathRun, MathSquareBrackets, MathSubScript, MathSubSuperScript, MathSum, MathSuperScript, Media, MonthLong, MonthShort, NextAttributeComponent, NoBreakHyphen, 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, Percentage, PositionalTab, PositionalTabAlignment, PositionalTabLeader, PositionalTabOptions, PositionalTabRelativeTo, PositivePercentage, PositiveUniversalMeasure, PrettifyType, RelativeHorizontalPosition, RelativeMeasure, RelativeVerticalPosition, Run, RunProperties, RunPropertiesChange, RunPropertiesDefaults, SectionProperties, SectionPropertiesChange, SectionType, SectionVerticalAlign, Separator, SequentialIdentifier, ShadingType, SimpleField, SimpleMailMergeField, SoftHyphen, SpaceType, StringContainer, StringEnumValueElement, StringValueElement, StyleForCharacter, StyleForParagraph, StyleLevel, Styles, SymbolRun, TDirection, Tab, TabStopDefinition, TabStopPosition, TabStopType, Table, TableAnchorType, TableBorders, TableCell, TableCellBorders, TableLayoutType, TableOfContents, TableProperties, TableRow, TableRowProperties, TableRowPropertiesChange, TableVerticalAlign, TextAlignmentType, TextDirection, TextEffect, TextRun, TextWrappingSide, TextWrappingType, Textbox, TextboxTightWrapType, ThematicBreak, ThemeColor, ThemeFont, UnderlineType, UniqueNumericIdCreator, UniversalMeasure, VerticalAlign, VerticalAlignSection, VerticalAlignTable, VerticalAnchor, VerticalMerge, VerticalMergeRevisionType, VerticalMergeType, VerticalPositionAlign, VerticalPositionRelativeFrom, WORKAROUND2, WORKAROUND3, WORKAROUND4, WidthType, WpgCommonMediaData, WpgGroupRun, WpgMediaData, WpsMediaData, WpsShapeRun, XmlAttributeComponent, XmlComponent, YearLong, YearShort, abstractNumUniqueNumericIdGen, bookmarkUniqueNumericIdGen, concreteNumUniqueNumericIdGen, convertInchesToTwip, convertMillimetersToTwip, convertOutput, convertToXmlComponent, createAlignment, createBodyProperties, createBorderElement, createColumns, createDocumentGrid, createDotEmphasisMark, createEmphasisMark, createFrameProperties, createHeaderFooterReference, createHorizontalPosition, createIndent, createLineNumberType, createMathAccentCharacter, createMathBase, createMathLimitLocation, createMathNAryProperties, createMathPreSubSuperScriptProperties, createMathSubScriptElement, createMathSubScriptProperties, createMathSubSuperScriptProperties, createMathSuperScriptElement, createMathSuperScriptProperties, createOutlineLevel, createPageMargin, createPageNumberType, createPageSize, createParagraphStyle, createRunFonts, createSectionType, createShading, createSimplePos, createSpacing, createStringElement, createTabStop, createTabStopItem, createTableFloatProperties, createTableLayout, createTableLook, createTableRowHeight, createTableWidthElement, createTransformation, createUnderline, createVerticalAlign, createVerticalPosition, createWrapNone, createWrapSquare, createWrapTight, createWrapTopAndBottom, dateTimeValue, decimalNumber, docPropertiesUniqueNumericIdGen, eighthPointMeasureValue, hashedId, hexColorValue, hpsMeasureValue, longHexNumber, measurementOrPercentValue, patchDetector, patchDocument, percentageValue, pointMeasureValue, positiveUniversalMeasureValue, sectionMarginDefaults, sectionPageSizeDefaults, shortHexNumber, signedHpsMeasureValue, signedTwipsMeasureValue, twipsMeasureValue, uCharHexNumber, uniqueId, uniqueNumericIdCreator, uniqueUuid, universalMeasureValue, unsignedDecimalNumber };