docx-plus 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -11459,27 +11459,27 @@ const createBlip = (mediaData, blipEffects) => {
11459
11459
  * @example
11460
11460
  * ```typescript
11461
11461
  * // Crop 10% from left and right
11462
- * createSourceRectangle({ l: 10000, r: 10000 });
11462
+ * createSourceRectangle({ left: 10000, right: 10000 });
11463
11463
  * ```
11464
11464
  */
11465
11465
  const createSourceRectangle = (options) => {
11466
11466
  if (!options) return new BuilderElement({ name: "a:srcRect" });
11467
11467
  const attributes = {};
11468
- if (options.l !== void 0) attributes.l = {
11468
+ if (options.left !== void 0) attributes.l = {
11469
11469
  key: "l",
11470
- value: options.l
11470
+ value: options.left
11471
11471
  };
11472
- if (options.t !== void 0) attributes.t = {
11472
+ if (options.top !== void 0) attributes.t = {
11473
11473
  key: "t",
11474
- value: options.t
11474
+ value: options.top
11475
11475
  };
11476
- if (options.r !== void 0) attributes.r = {
11476
+ if (options.right !== void 0) attributes.r = {
11477
11477
  key: "r",
11478
- value: options.r
11478
+ value: options.right
11479
11479
  };
11480
- if (options.b !== void 0) attributes.b = {
11480
+ if (options.bottom !== void 0) attributes.b = {
11481
11481
  key: "b",
11482
- value: options.b
11482
+ value: options.bottom
11483
11483
  };
11484
11484
  return new BuilderElement({
11485
11485
  attributes,
@@ -12410,7 +12410,8 @@ const TextWrappingType = {
12410
12410
  NONE: 0,
12411
12411
  SQUARE: 1,
12412
12412
  TIGHT: 2,
12413
- TOP_AND_BOTTOM: 3
12413
+ TOP_AND_BOTTOM: 3,
12414
+ THROUGH: 4
12414
12415
  };
12415
12416
  /**
12416
12417
  * Enumeration of text wrapping sides for floating drawings.
@@ -12525,10 +12526,101 @@ const createWrapSquare = (textWrapping, margins = {
12525
12526
  * @module
12526
12527
  */
12527
12528
  /**
12529
+ * Creates a default rectangular wrap polygon matching the image extent.
12530
+ *
12531
+ * Reference: http://officeopenxml.com/drwPicFloating-textWrap.php
12532
+ *
12533
+ * ## XSD Schema
12534
+ * ```xml
12535
+ * <xsd:complexType name="CT_WrapPath">
12536
+ * <xsd:sequence>
12537
+ * <xsd:element name="start" type="a:CT_Point2D" minOccurs="1" maxOccurs="1"/>
12538
+ * <xsd:element name="lineTo" type="a:CT_Point2D" minOccurs="2" maxOccurs="unbounded"/>
12539
+ * </xsd:sequence>
12540
+ * <xsd:attribute name="edited" type="xsd:boolean" use="optional"/>
12541
+ * </xsd:complexType>
12542
+ * ```
12543
+ */
12544
+ const createWrapPolygon$1 = (cx, cy) => new BuilderElement({
12545
+ attributes: { edited: {
12546
+ key: "edited",
12547
+ value: "0"
12548
+ } },
12549
+ children: [
12550
+ new BuilderElement({
12551
+ attributes: {
12552
+ x: {
12553
+ key: "x",
12554
+ value: 0
12555
+ },
12556
+ y: {
12557
+ key: "y",
12558
+ value: 0
12559
+ }
12560
+ },
12561
+ name: "wp:start"
12562
+ }),
12563
+ new BuilderElement({
12564
+ attributes: {
12565
+ x: {
12566
+ key: "x",
12567
+ value: cx
12568
+ },
12569
+ y: {
12570
+ key: "y",
12571
+ value: 0
12572
+ }
12573
+ },
12574
+ name: "wp:lineTo"
12575
+ }),
12576
+ new BuilderElement({
12577
+ attributes: {
12578
+ x: {
12579
+ key: "x",
12580
+ value: cx
12581
+ },
12582
+ y: {
12583
+ key: "y",
12584
+ value: cy
12585
+ }
12586
+ },
12587
+ name: "wp:lineTo"
12588
+ }),
12589
+ new BuilderElement({
12590
+ attributes: {
12591
+ x: {
12592
+ key: "x",
12593
+ value: 0
12594
+ },
12595
+ y: {
12596
+ key: "y",
12597
+ value: cy
12598
+ }
12599
+ },
12600
+ name: "wp:lineTo"
12601
+ }),
12602
+ new BuilderElement({
12603
+ attributes: {
12604
+ x: {
12605
+ key: "x",
12606
+ value: 0
12607
+ },
12608
+ y: {
12609
+ key: "y",
12610
+ value: 0
12611
+ }
12612
+ },
12613
+ name: "wp:lineTo"
12614
+ })
12615
+ ],
12616
+ name: "wp:wrapPolygon"
12617
+ });
12618
+ /**
12528
12619
  * Creates tight text wrapping for a floating drawing.
12529
12620
  *
12530
12621
  * WrapTight causes text to wrap closely around the contours
12531
12622
  * of the drawing rather than its rectangular bounding box.
12623
+ * A default rectangular wrap polygon matching the image extent is generated.
12532
12624
  *
12533
12625
  * Reference: http://officeopenxml.com/drwPicFloating-textWrap.php
12534
12626
  *
@@ -12536,7 +12628,7 @@ const createWrapSquare = (textWrapping, margins = {
12536
12628
  * ```xml
12537
12629
  * <xsd:complexType name="CT_WrapTight">
12538
12630
  * <xsd:sequence>
12539
- * <xsd:element name="wrapPolygon" type="CT_WrapPath"/>
12631
+ * <xsd:element name="wrapPolygon" type="CT_WrapPath" minOccurs="1" maxOccurs="1"/>
12540
12632
  * </xsd:sequence>
12541
12633
  * <xsd:attribute name="wrapText" type="ST_WrapText" use="required"/>
12542
12634
  * <xsd:attribute name="distL" type="ST_WrapDistance"/>
@@ -12544,23 +12636,176 @@ const createWrapSquare = (textWrapping, margins = {
12544
12636
  * </xsd:complexType>
12545
12637
  * ```
12546
12638
  */
12547
- const createWrapTight = (margins = {
12639
+ const createWrapTight = (textWrapping, margins = {
12548
12640
  bottom: 0,
12641
+ left: 0,
12642
+ right: 0,
12549
12643
  top: 0
12550
- }) => new BuilderElement({
12644
+ }, extent) => new BuilderElement({
12551
12645
  attributes: {
12552
- distB: {
12553
- key: "distB",
12554
- value: margins.bottom
12646
+ distL: {
12647
+ key: "distL",
12648
+ value: margins.left
12555
12649
  },
12556
- distT: {
12557
- key: "distT",
12558
- value: margins.top
12650
+ distR: {
12651
+ key: "distR",
12652
+ value: margins.right
12653
+ },
12654
+ wrapText: {
12655
+ key: "wrapText",
12656
+ value: textWrapping.side || TextWrappingSide.BOTH_SIDES
12559
12657
  }
12560
12658
  },
12659
+ children: [createWrapPolygon$1(extent.x, extent.y)],
12561
12660
  name: "wp:wrapTight"
12562
12661
  });
12563
12662
  //#endregion
12663
+ //#region src/file/drawing/text-wrap/wrap-through.ts
12664
+ /**
12665
+ * Wrap Through module for DrawingML text wrapping.
12666
+ *
12667
+ * This module provides "through" text wrapping for floating drawings
12668
+ * where text wraps through the image contours, filling any concave areas.
12669
+ *
12670
+ * Reference: http://officeopenxml.com/drwPicFloating-textWrap.php
12671
+ *
12672
+ * @module
12673
+ */
12674
+ /**
12675
+ * Creates a default rectangular wrap polygon matching the image extent.
12676
+ *
12677
+ * Reference: http://officeopenxml.com/drwPicFloating-textWrap.php
12678
+ *
12679
+ * ## XSD Schema
12680
+ * ```xml
12681
+ * <xsd:complexType name="CT_WrapPath">
12682
+ * <xsd:sequence>
12683
+ * <xsd:element name="start" type="a:CT_Point2D" minOccurs="1" maxOccurs="1"/>
12684
+ * <xsd:element name="lineTo" type="a:CT_Point2D" minOccurs="2" maxOccurs="unbounded"/>
12685
+ * </xsd:sequence>
12686
+ * <xsd:attribute name="edited" type="xsd:boolean" use="optional"/>
12687
+ * </xsd:complexType>
12688
+ * ```
12689
+ */
12690
+ const createWrapPolygon = (cx, cy) => new BuilderElement({
12691
+ attributes: { edited: {
12692
+ key: "edited",
12693
+ value: "0"
12694
+ } },
12695
+ children: [
12696
+ new BuilderElement({
12697
+ attributes: {
12698
+ x: {
12699
+ key: "x",
12700
+ value: 0
12701
+ },
12702
+ y: {
12703
+ key: "y",
12704
+ value: 0
12705
+ }
12706
+ },
12707
+ name: "wp:start"
12708
+ }),
12709
+ new BuilderElement({
12710
+ attributes: {
12711
+ x: {
12712
+ key: "x",
12713
+ value: cx
12714
+ },
12715
+ y: {
12716
+ key: "y",
12717
+ value: 0
12718
+ }
12719
+ },
12720
+ name: "wp:lineTo"
12721
+ }),
12722
+ new BuilderElement({
12723
+ attributes: {
12724
+ x: {
12725
+ key: "x",
12726
+ value: cx
12727
+ },
12728
+ y: {
12729
+ key: "y",
12730
+ value: cy
12731
+ }
12732
+ },
12733
+ name: "wp:lineTo"
12734
+ }),
12735
+ new BuilderElement({
12736
+ attributes: {
12737
+ x: {
12738
+ key: "x",
12739
+ value: 0
12740
+ },
12741
+ y: {
12742
+ key: "y",
12743
+ value: cy
12744
+ }
12745
+ },
12746
+ name: "wp:lineTo"
12747
+ }),
12748
+ new BuilderElement({
12749
+ attributes: {
12750
+ x: {
12751
+ key: "x",
12752
+ value: 0
12753
+ },
12754
+ y: {
12755
+ key: "y",
12756
+ value: 0
12757
+ }
12758
+ },
12759
+ name: "wp:lineTo"
12760
+ })
12761
+ ],
12762
+ name: "wp:wrapPolygon"
12763
+ });
12764
+ /**
12765
+ * Creates "through" text wrapping for a floating drawing.
12766
+ *
12767
+ * WrapThrough is similar to WrapTight but allows text to wrap through
12768
+ * the concave portions of the drawing shape (e.g., the inside of the letter "O").
12769
+ * A default rectangular wrap polygon matching the image extent is generated.
12770
+ *
12771
+ * Reference: http://officeopenxml.com/drwPicFloating-textWrap.php
12772
+ *
12773
+ * ## XSD Schema
12774
+ * ```xml
12775
+ * <xsd:complexType name="CT_WrapThrough">
12776
+ * <xsd:sequence>
12777
+ * <xsd:element name="wrapPolygon" type="CT_WrapPath" minOccurs="1" maxOccurs="1"/>
12778
+ * </xsd:sequence>
12779
+ * <xsd:attribute name="wrapText" type="ST_WrapText" use="required"/>
12780
+ * <xsd:attribute name="distL" type="ST_WrapDistance"/>
12781
+ * <xsd:attribute name="distR" type="ST_WrapDistance"/>
12782
+ * </xsd:complexType>
12783
+ * ```
12784
+ */
12785
+ const createWrapThrough = (textWrapping, margins = {
12786
+ bottom: 0,
12787
+ left: 0,
12788
+ right: 0,
12789
+ top: 0
12790
+ }, extent) => new BuilderElement({
12791
+ attributes: {
12792
+ distL: {
12793
+ key: "distL",
12794
+ value: margins.left
12795
+ },
12796
+ distR: {
12797
+ key: "distR",
12798
+ value: margins.right
12799
+ },
12800
+ wrapText: {
12801
+ key: "wrapText",
12802
+ value: textWrapping.side || TextWrappingSide.BOTH_SIDES
12803
+ }
12804
+ },
12805
+ children: [createWrapPolygon(extent.x, extent.y)],
12806
+ name: "wp:wrapThrough"
12807
+ });
12808
+ //#endregion
12564
12809
  //#region src/file/drawing/text-wrap/wrap-top-and-bottom.ts
12565
12810
  /**
12566
12811
  * Wrap Top and Bottom module for DrawingML text wrapping.
@@ -13010,7 +13255,16 @@ var Anchor = class extends XmlComponent {
13010
13255
  this.root.push(createWrapSquare(drawingOptions.floating.wrap, drawingOptions.floating.margins));
13011
13256
  break;
13012
13257
  case TextWrappingType.TIGHT:
13013
- this.root.push(createWrapTight(drawingOptions.floating.margins));
13258
+ this.root.push(createWrapTight(drawingOptions.floating.wrap, drawingOptions.floating.margins, {
13259
+ x: transform.emus.x,
13260
+ y: transform.emus.y
13261
+ }));
13262
+ break;
13263
+ case TextWrappingType.THROUGH:
13264
+ this.root.push(createWrapThrough(drawingOptions.floating.wrap, drawingOptions.floating.margins, {
13265
+ x: transform.emus.x,
13266
+ y: transform.emus.y
13267
+ }));
13014
13268
  break;
13015
13269
  case TextWrappingType.TOP_AND_BOTTOM:
13016
13270
  this.root.push(createWrapTopAndBottom(drawingOptions.floating.margins));
@@ -27913,6 +28167,7 @@ exports.createVerticalAlign = createVerticalAlign;
27913
28167
  exports.createVerticalPosition = createVerticalPosition;
27914
28168
  exports.createWrapNone = createWrapNone;
27915
28169
  exports.createWrapSquare = createWrapSquare;
28170
+ exports.createWrapThrough = createWrapThrough;
27916
28171
  exports.createWrapTight = createWrapTight;
27917
28172
  exports.createWrapTopAndBottom = createWrapTopAndBottom;
27918
28173
  exports.dateTimeValue = dateTimeValue;
package/dist/index.d.cts CHANGED
@@ -551,10 +551,10 @@ interface DocPropertiesOptions {
551
551
  //#endregion
552
552
  //#region src/file/drawing/inline/graphic/graphic-data/pic/blip/source-rectangle.d.ts
553
553
  interface SourceRectangleOptions {
554
- readonly l?: number;
555
- readonly t?: number;
556
- readonly r?: number;
557
- readonly b?: number;
554
+ readonly left?: number;
555
+ readonly top?: number;
556
+ readonly right?: number;
557
+ readonly bottom?: number;
558
558
  }
559
559
  //#endregion
560
560
  //#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/color-transform.d.ts
@@ -1081,6 +1081,7 @@ declare const TextWrappingType: {
1081
1081
  readonly SQUARE: 1;
1082
1082
  readonly TIGHT: 2;
1083
1083
  readonly TOP_AND_BOTTOM: 3;
1084
+ readonly THROUGH: 4;
1084
1085
  };
1085
1086
  declare const TextWrappingSide: {
1086
1087
  readonly BOTH_SIDES: "bothSides";
@@ -1183,7 +1184,16 @@ declare const createVerticalPosition: ({
1183
1184
  declare const createWrapSquare: (textWrapping: ITextWrapping, margins?: IMargins) => XmlComponent;
1184
1185
  //#endregion
1185
1186
  //#region src/file/drawing/text-wrap/wrap-tight.d.ts
1186
- declare const createWrapTight: (margins?: IMargins) => XmlComponent;
1187
+ declare const createWrapTight: (textWrapping: ITextWrapping, margins: IMargins | undefined, extent: {
1188
+ x: number;
1189
+ y: number;
1190
+ }) => XmlComponent;
1191
+ //#endregion
1192
+ //#region src/file/drawing/text-wrap/wrap-through.d.ts
1193
+ declare const createWrapThrough: (textWrapping: ITextWrapping, margins: IMargins | undefined, extent: {
1194
+ x: number;
1195
+ y: number;
1196
+ }) => XmlComponent;
1187
1197
  //#endregion
1188
1198
  //#region src/file/drawing/text-wrap/wrap-top-and-bottom.d.ts
1189
1199
  declare const createWrapTopAndBottom: (margins?: IMargins) => XmlComponent;
@@ -3995,4 +4005,4 @@ declare const patchDetector: ({
3995
4005
  data
3996
4006
  }: PatchDetectorOptions) => Promise<readonly string[]>;
3997
4007
  //#endregion
3998
- 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, 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, 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, LevelParagraphStylePropertiesOptions, 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, RunStylePropertiesOptions, 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 };
4008
+ 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, 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, 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, LevelParagraphStylePropertiesOptions, 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, RunStylePropertiesOptions, 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, createWrapThrough, 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
@@ -553,10 +553,10 @@ interface DocPropertiesOptions {
553
553
  //#endregion
554
554
  //#region src/file/drawing/inline/graphic/graphic-data/pic/blip/source-rectangle.d.ts
555
555
  interface SourceRectangleOptions {
556
- readonly l?: number;
557
- readonly t?: number;
558
- readonly r?: number;
559
- readonly b?: number;
556
+ readonly left?: number;
557
+ readonly top?: number;
558
+ readonly right?: number;
559
+ readonly bottom?: number;
560
560
  }
561
561
  //#endregion
562
562
  //#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/color-transform.d.ts
@@ -1083,6 +1083,7 @@ declare const TextWrappingType: {
1083
1083
  readonly SQUARE: 1;
1084
1084
  readonly TIGHT: 2;
1085
1085
  readonly TOP_AND_BOTTOM: 3;
1086
+ readonly THROUGH: 4;
1086
1087
  };
1087
1088
  declare const TextWrappingSide: {
1088
1089
  readonly BOTH_SIDES: "bothSides";
@@ -1185,7 +1186,16 @@ declare const createVerticalPosition: ({
1185
1186
  declare const createWrapSquare: (textWrapping: ITextWrapping, margins?: IMargins) => XmlComponent;
1186
1187
  //#endregion
1187
1188
  //#region src/file/drawing/text-wrap/wrap-tight.d.ts
1188
- declare const createWrapTight: (margins?: IMargins) => XmlComponent;
1189
+ declare const createWrapTight: (textWrapping: ITextWrapping, margins: IMargins | undefined, extent: {
1190
+ x: number;
1191
+ y: number;
1192
+ }) => XmlComponent;
1193
+ //#endregion
1194
+ //#region src/file/drawing/text-wrap/wrap-through.d.ts
1195
+ declare const createWrapThrough: (textWrapping: ITextWrapping, margins: IMargins | undefined, extent: {
1196
+ x: number;
1197
+ y: number;
1198
+ }) => XmlComponent;
1189
1199
  //#endregion
1190
1200
  //#region src/file/drawing/text-wrap/wrap-top-and-bottom.d.ts
1191
1201
  declare const createWrapTopAndBottom: (margins?: IMargins) => XmlComponent;
@@ -3997,4 +4007,4 @@ declare const patchDetector: ({
3997
4007
  data
3998
4008
  }: PatchDetectorOptions) => Promise<readonly string[]>;
3999
4009
  //#endregion
4000
- 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, 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, 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, LevelParagraphStylePropertiesOptions, 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, RunStylePropertiesOptions, 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 };
4010
+ 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, 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, 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, LevelParagraphStylePropertiesOptions, 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, RunStylePropertiesOptions, 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, createWrapThrough, 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 };