@office-open/docx 0.10.0 → 0.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import { AppPropertiesInput, AppPropertiesOptions, CorePropertiesOptions, CustomPropertiesInput, CustomPropertyOptions, DataType, ParsedArchive, Percentage, PositiveUniversalMeasure, Relationships, RelativeMeasure, ThemeColor, ThemeFont, UniversalMeasure, appPropertiesDesc, customPropertiesDesc, parseArchive } from "@office-open/core";
2
2
  import { Element } from "@office-open/xml";
3
- import { BlipEffectsOptions, CustomGeometryOptions, EffectDagOptions, EffectListOptions, FillOptions, OutlineOptions, Scene3DOptions, Shape3DOptions, SolidFillOptions, SourceRectangleOptions, TileOptions } from "@office-open/core/drawingml";
3
+ import { BlipEffectsOptions, CustomGeometryOptions, EffectDagOptions, EffectListOptions, FillOptions, OutlineOptions, PresetGeometryOptions, Scene3DOptions, Shape3DOptions, SolidFillOptions, SourceRectangleOptions, TileOptions } from "@office-open/core/drawingml";
4
4
  import { ChartCollection, ChartSpaceOptions } from "@office-open/core/chart";
5
5
  import { SmartArtCollection } from "@office-open/core/smartart";
6
6
  import { CustomDescriptor, ReadContext, WriteContext } from "@office-open/core/descriptor";
@@ -332,7 +332,7 @@ interface RunStylePropertiesOptions {
332
332
  kern?: number;
333
333
  position?: string;
334
334
  size?: number;
335
- sizeComplexScript?: boolean | number;
335
+ sizeComplexScript?: number;
336
336
  rightToLeft?: boolean;
337
337
  smallCaps?: boolean;
338
338
  allCaps?: boolean;
@@ -342,8 +342,8 @@ interface RunStylePropertiesOptions {
342
342
  superScript?: boolean;
343
343
  font?: string | RunFontReference | FontAttributesProperties;
344
344
  highlight?: (typeof HighlightColor)[keyof typeof HighlightColor];
345
- highlightComplexScript?: boolean | string;
346
- characterSpacing?: number;
345
+ highlightComplexScript?: string;
346
+ characterSpacing?: number | UniversalMeasure;
347
347
  shading?: ShadingAttributesProperties;
348
348
  emboss?: boolean;
349
349
  imprint?: boolean;
@@ -483,6 +483,8 @@ interface SdtPropertiesOptions {
483
483
  declare function parseToc(el: Element, _ctx: DocxReadContext): ({
484
484
  alias?: string;
485
485
  } & TableOfContentsOptions) | undefined;
486
+ declare function parseTocFieldInstruction(instruction: string, opts: Record<string, unknown>): void;
487
+ declare function parseTocFieldFromElements(els: Element[]): TableOfContentsOptions;
486
488
  //#endregion
487
489
  //#region src/parts/table-of-contents/descriptor.d.ts
488
490
  declare function stringifyTableOfContents(alias?: string, options?: TableOfContentsOptions): string;
@@ -609,9 +611,9 @@ declare const LineRuleType: {
609
611
  readonly AUTO: "auto";
610
612
  };
611
613
  interface SpacingProperties {
612
- after?: number;
613
- before?: number;
614
- line?: number;
614
+ after?: number | PositiveUniversalMeasure;
615
+ before?: number | PositiveUniversalMeasure;
616
+ line?: number | PositiveUniversalMeasure;
615
617
  lineRule?: (typeof LineRuleType)[keyof typeof LineRuleType];
616
618
  beforeAutoSpacing?: boolean;
617
619
  afterAutoSpacing?: boolean;
@@ -670,6 +672,18 @@ interface MathRunPropertiesOptions {
670
672
  breakAlignment?: number;
671
673
  align?: boolean;
672
674
  }
675
+ interface MathDelimiterProperties {
676
+ beginCharacter?: string;
677
+ endCharacter?: string;
678
+ separatorCharacter?: string;
679
+ grow?: boolean;
680
+ shape?: "centered" | "match";
681
+ }
682
+ type MathNaryLimitLocation = "subSup" | "undOvr";
683
+ interface MathNaryProperties {
684
+ limitLocation?: MathNaryLimitLocation;
685
+ grow?: boolean;
686
+ }
673
687
  type MathInput = string | {
674
688
  text: string;
675
689
  properties?: MathRunPropertiesOptions;
@@ -678,6 +692,8 @@ type MathInput = string | {
678
692
  numerator: MathInput[];
679
693
  denominator: MathInput[];
680
694
  fractionType?: string;
695
+ numeratorArgumentSize?: number;
696
+ denominatorArgumentSize?: number;
681
697
  };
682
698
  } | {
683
699
  superScript: {
@@ -694,6 +710,7 @@ type MathInput = string | {
694
710
  children: MathInput[];
695
711
  subScript: MathInput[];
696
712
  superScript: MathInput[];
713
+ alignScript?: boolean;
697
714
  };
698
715
  } | {
699
716
  preSubSuperScript: {
@@ -711,12 +728,14 @@ type MathInput = string | {
711
728
  children: MathInput[];
712
729
  subScript?: MathInput[];
713
730
  superScript?: MathInput[];
731
+ properties?: MathNaryProperties;
714
732
  };
715
733
  } | {
716
734
  integral: {
717
735
  children: MathInput[];
718
736
  subScript?: MathInput[];
719
737
  superScript?: MathInput[];
738
+ properties?: MathNaryProperties;
720
739
  };
721
740
  } | {
722
741
  limitLower: {
@@ -744,18 +763,22 @@ type MathInput = string | {
744
763
  } | {
745
764
  roundBrackets: MathInput[] | {
746
765
  children: MathInput[];
766
+ properties?: MathDelimiterProperties;
747
767
  };
748
768
  } | {
749
769
  curlyBrackets: MathInput[] | {
750
770
  children: MathInput[];
771
+ properties?: MathDelimiterProperties;
751
772
  };
752
773
  } | {
753
774
  angledBrackets: MathInput[] | {
754
775
  children: MathInput[];
776
+ properties?: MathDelimiterProperties;
755
777
  };
756
778
  } | {
757
779
  squareBrackets: MathInput[] | {
758
780
  children: MathInput[];
781
+ properties?: MathDelimiterProperties;
759
782
  };
760
783
  } | {
761
784
  borderBox: {
@@ -877,7 +900,7 @@ interface TableLookOptions {
877
900
  }
878
901
  //#endregion
879
902
  //#region src/parts/table/table-properties/table-properties.d.ts
880
- interface TablePropertiesOptionsBase {
903
+ interface TablePropertiesOptionsBase$1 {
881
904
  width?: TableWidthProperties;
882
905
  indent?: TableWidthProperties;
883
906
  layout?: (typeof TableLayoutType)[keyof typeof TableLayoutType];
@@ -895,11 +918,11 @@ interface TablePropertiesOptionsBase {
895
918
  caption?: string;
896
919
  description?: string;
897
920
  }
898
- type TablePropertiesChangeOptions = TablePropertiesOptions & ChangedAttributesProperties;
899
- type TablePropertiesOptions = {
900
- revision?: TablePropertiesChangeOptions;
921
+ type TablePropertiesChangeOptions$1 = TablePropertiesOptions$1 & ChangedAttributesProperties;
922
+ type TablePropertiesOptions$1 = {
923
+ revision?: TablePropertiesChangeOptions$1;
901
924
  includeIfEmpty?: boolean;
902
- } & TablePropertiesOptionsBase;
925
+ } & TablePropertiesOptionsBase$1;
903
926
  //#endregion
904
927
  //#region src/parts/table/table-properties/table-property-exceptions.d.ts
905
928
  interface TablePropertyExOptions {
@@ -952,10 +975,10 @@ type TableRowOptions = {
952
975
  customXml: CustomXmlCellOptions;
953
976
  })[];
954
977
  propertyExceptions?: TablePropertyExOptions;
955
- rsidRPr?: string;
956
- rsidR?: string;
957
- rsidDel?: string;
958
- rsidTr?: string;
978
+ runPropertiesRsid?: string;
979
+ rsid?: string;
980
+ deletionRsid?: string;
981
+ tableRowRsid?: string;
959
982
  } & TableRowPropertiesOptions;
960
983
  //#endregion
961
984
  //#region src/parts/table/table-row/table-row-height.d.ts
@@ -989,14 +1012,74 @@ interface TableOptions {
989
1012
  styleColBandSize?: number;
990
1013
  caption?: string;
991
1014
  description?: string;
1015
+ revision?: TablePropertiesChangeOptions$1;
1016
+ shading?: ShadingAttributesProperties;
1017
+ }
1018
+ //#endregion
1019
+ //#region src/parts/table/stringify.d.ts
1020
+ interface TablePropertiesOptionsBase {
1021
+ width?: TableWidthProperties;
1022
+ indent?: TableWidthProperties;
1023
+ layout?: (typeof TableLayoutType)[keyof typeof TableLayoutType];
1024
+ borders?: TableBordersOptions;
1025
+ float?: TableFloatOptions;
1026
+ shading?: ShadingAttributesProperties;
1027
+ style?: string;
1028
+ alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
1029
+ cellMargin?: TableCellMarginOptions;
1030
+ visuallyRightToLeft?: boolean;
1031
+ tableLook?: TableLookOptions;
1032
+ cellSpacing?: TableCellSpacingProperties;
1033
+ styleRowBandSize?: number;
1034
+ styleColBandSize?: number;
1035
+ caption?: string;
1036
+ description?: string;
1037
+ }
1038
+ type TablePropertiesChangeOptions = TablePropertiesOptions & ChangedAttributesProperties;
1039
+ type TablePropertiesOptions = {
992
1040
  revision?: TablePropertiesChangeOptions;
1041
+ includeIfEmpty?: boolean;
1042
+ } & TablePropertiesOptionsBase;
1043
+ type TableRowPropertiesChangeOptions$1 = TableRowPropertiesOptionsBase & ChangedAttributesProperties;
1044
+ type TableRowPropertiesOptions$1 = TableRowPropertiesOptionsBase & {
1045
+ insertion?: ChangedAttributesProperties;
1046
+ deletion?: ChangedAttributesProperties;
1047
+ revision?: TableRowPropertiesChangeOptions$1;
1048
+ includeIfEmpty?: boolean;
1049
+ };
1050
+ interface TableCellPropertiesOptionsBase$1 {
1051
+ cnfStyle?: CnfStyleOptions;
993
1052
  shading?: ShadingAttributesProperties;
1053
+ margins?: TableCellMarginOptions;
1054
+ verticalAlign?: TableVerticalAlign;
1055
+ textDirection?: (typeof TextDirection)[keyof typeof TextDirection];
1056
+ verticalMerge?: (typeof VerticalMergeType)[keyof typeof VerticalMergeType];
1057
+ width?: TableWidthProperties;
1058
+ columnSpan?: number;
1059
+ rowSpan?: number;
1060
+ borders?: TableCellBordersOptions;
1061
+ horizontalMerge?: "continue" | "restart";
1062
+ noWrap?: boolean;
1063
+ fitText?: boolean;
1064
+ hideMark?: boolean;
1065
+ headers?: string[];
1066
+ insertion?: ChangedAttributesProperties;
1067
+ deletion?: ChangedAttributesProperties;
1068
+ cellMerge?: CellMergeAttributes;
994
1069
  }
1070
+ type TableCellPropertiesChangeOptions$1 = TableCellPropertiesOptionsBase$1 & ChangedAttributesProperties;
1071
+ type TableCellPropertiesOptions$1 = {
1072
+ revision?: TableCellPropertiesChangeOptions$1;
1073
+ includeIfEmpty?: boolean;
1074
+ } & TableCellPropertiesOptionsBase$1;
995
1075
  //#endregion
996
1076
  //#region src/parts/table/descriptor.d.ts
997
1077
  declare const tableDesc: CustomDescriptor<TableOptions, BodyContext>;
998
1078
  type ParseChildFn = (el: Element, ctx: DocxReadContext) => SectionChild;
999
1079
  declare function setTableParseChild(fn: ParseChildFn): void;
1080
+ declare function parseTablePropertiesEl(el: Element): TablePropertiesOptions;
1081
+ declare function parseTableRowPropertiesEl(el: Element): TableRowPropertiesOptions$1;
1082
+ declare function parseTableCellPropertiesEl(el: Element): TableCellPropertiesOptions$1;
1000
1083
  //#endregion
1001
1084
  //#region src/shared/constants.d.ts
1002
1085
  declare const HorizontalPositionAlign: {
@@ -1134,6 +1217,42 @@ type AlignmentFrameOptions = {
1134
1217
  } & BaseFrameOptions;
1135
1218
  type FrameOptions$1 = XYFrameOptions | AlignmentFrameOptions;
1136
1219
  //#endregion
1220
+ //#region src/parts/object/object-element.d.ts
1221
+ interface ObjectEmbedOptions {
1222
+ data: Uint8Array | string;
1223
+ progId?: string;
1224
+ drawAspect?: "content" | "icon";
1225
+ shapeId?: string;
1226
+ fieldCodes?: string;
1227
+ }
1228
+ interface ObjectLinkOptions extends ObjectEmbedOptions {
1229
+ updateMode: "always" | "onCall";
1230
+ lockedField?: boolean;
1231
+ }
1232
+ interface ObjectControlOptions {
1233
+ name?: string;
1234
+ shapeid?: string;
1235
+ rId: string;
1236
+ }
1237
+ interface ObjectIconImageOptions {
1238
+ data: Uint8Array | string;
1239
+ type: string;
1240
+ title?: string;
1241
+ }
1242
+ interface ObjectElementOptions {
1243
+ dxaOrig?: number;
1244
+ dyaOrig?: number;
1245
+ shapeId?: string;
1246
+ width?: number | UniversalMeasure;
1247
+ height?: number | UniversalMeasure;
1248
+ iconImage?: ObjectIconImageOptions;
1249
+ embed?: ObjectEmbedOptions;
1250
+ link?: ObjectLinkOptions;
1251
+ control?: ObjectControlOptions;
1252
+ movie?: string;
1253
+ }
1254
+ declare const objectDesc: CustomDescriptor<ObjectElementOptions, BodyContext>;
1255
+ //#endregion
1137
1256
  //#region src/parts/paragraph/run/empty-children.d.ts
1138
1257
  interface NoBreakHyphen {
1139
1258
  noBreakHyphen: true;
@@ -1188,14 +1307,23 @@ interface LastRenderedPageBreak {
1188
1307
  }
1189
1308
  //#endregion
1190
1309
  //#region src/parts/paragraph/run/run.d.ts
1310
+ type BreakClear = "none" | "left" | "right" | "all";
1311
+ interface BreakOptions {
1312
+ count?: number;
1313
+ clear?: BreakClear;
1314
+ }
1315
+ declare function breakXml(breakOpt: number | BreakOptions | undefined): string;
1191
1316
  interface RunOptionsBase {
1192
- children?: ((typeof PageNumber)[keyof typeof PageNumber] | string | AnnotationReference | CarriageReturn | ContinuationSeparator | DayLong | DayShort | EndnoteReference | FootnoteReferenceElement | LastRenderedPageBreak | MonthLong | MonthShort | NoBreakHyphen | PageNumberElement | Separator | SoftHyphen | Tab | YearLong | YearShort | Record<string, unknown>)[];
1193
- break?: number;
1317
+ children?: ((typeof PageNumber)[keyof typeof PageNumber] | string | AnnotationReference | CarriageReturn | ContinuationSeparator | DayLong | DayShort | EndnoteReference | FootnoteReferenceElement | LastRenderedPageBreak | MonthLong | MonthShort | NoBreakHyphen | PageNumberElement | Separator | SoftHyphen | Tab | YearLong | YearShort | {
1318
+ object: ObjectElementOptions;
1319
+ } | Record<string, unknown>)[];
1320
+ break?: number | BreakOptions;
1194
1321
  text?: string;
1195
1322
  }
1196
1323
  type RunOptions = RunOptionsBase & RunPropertiesOptions & {
1197
- rsidRPr?: string;
1198
- rsidDel?: string;
1324
+ rsid?: string;
1325
+ runPropertiesRsid?: string;
1326
+ deletionRsid?: string;
1199
1327
  };
1200
1328
  type ParagraphRunOptions = RunOptionsBase & ParagraphRunPropertiesOptions;
1201
1329
  declare const PageNumber: {
@@ -1578,6 +1706,7 @@ interface WpsShapeCoreOptions {
1578
1706
  outline?: OutlineOptions;
1579
1707
  fill?: FillOptions;
1580
1708
  customGeometry?: CustomGeometryOptions;
1709
+ presetGeometry?: PresetGeometryOptions;
1581
1710
  effectDag?: EffectDagOptions;
1582
1711
  effects?: EffectListOptions;
1583
1712
  scene3d?: Scene3DOptions;
@@ -1718,7 +1847,7 @@ interface CoreImageOptions {
1718
1847
  sourceRectangle?: SourceRectangleOptions;
1719
1848
  tile?: TileOptions;
1720
1849
  nonVisualProperties?: NonVisualPropertiesOptions;
1721
- runPropertiesRawXml?: string;
1850
+ runProperties?: RunPropertiesOptions;
1722
1851
  graphicFrameLocks?: GraphicFrameLocksOptions | null;
1723
1852
  useLocalDpi?: boolean;
1724
1853
  }
@@ -1786,7 +1915,7 @@ interface CoreShapeOptions {
1786
1915
  vmlFallback?: string;
1787
1916
  vmlFallbackMedia?: BackgroundRawMediaOptions[];
1788
1917
  mcChoiceRequires?: string;
1789
- runPropertiesRawXml?: string;
1918
+ runProperties?: RunPropertiesOptions;
1790
1919
  graphicFrameLocks?: GraphicFrameLocksOptions | null;
1791
1920
  }
1792
1921
  type WpsShapeRunOptions = WpsShapeCoreOptions & CoreShapeOptions;
@@ -1804,7 +1933,7 @@ interface CoreGroupOptions {
1804
1933
  vmlFallback?: string;
1805
1934
  vmlFallbackMedia?: BackgroundRawMediaOptions[];
1806
1935
  mcChoiceRequires?: string;
1807
- runPropertiesRawXml?: string;
1936
+ runProperties?: RunPropertiesOptions;
1808
1937
  graphicFrameLocks?: GraphicFrameLocksOptions | null;
1809
1938
  groupShapeLocks?: GroupShapeLocksOptions;
1810
1939
  }
@@ -1814,6 +1943,8 @@ type WpgGroupRunOptions = CoreGroupOptions;
1814
1943
  interface SimpleFieldOptions {
1815
1944
  instruction: string;
1816
1945
  cachedValue?: string;
1946
+ fldLock?: boolean;
1947
+ dirty?: boolean;
1817
1948
  }
1818
1949
  //#endregion
1819
1950
  //#region src/parts/paragraph/run/comment-run.d.ts
@@ -1961,12 +2092,16 @@ interface SdtRunOptions {
1961
2092
  children?: (ParagraphChild | string)[];
1962
2093
  endProperties?: RunPropertiesOptions;
1963
2094
  }
2095
+ interface FootnoteEndnoteReferenceOptions {
2096
+ id: number;
2097
+ customMarkFollows?: boolean;
2098
+ }
1964
2099
  type ParagraphChild = ChartChild | SmartArtChild | ImageChild | MathChild | {
1965
2100
  symbolRun: SymbolRunOptions;
1966
2101
  } | {
1967
- footnoteReference: number;
2102
+ footnoteReference: number | FootnoteEndnoteReferenceOptions;
1968
2103
  } | {
1969
- endnoteReference: number;
2104
+ endnoteReference: number | FootnoteEndnoteReferenceOptions;
1970
2105
  } | {
1971
2106
  pageBreak: true;
1972
2107
  } | {
@@ -1990,15 +2125,22 @@ type ParagraphChild = ChartChild | SmartArtChild | ImageChild | MathChild | {
1990
2125
  link?: string;
1991
2126
  anchor?: string;
1992
2127
  tooltip?: string;
2128
+ tgtFrame?: string;
2129
+ docLocation?: string;
2130
+ history?: boolean;
1993
2131
  children?: (RunOptions | string)[];
1994
2132
  };
1995
2133
  } | {
1996
2134
  bookmarkStart: {
1997
2135
  id: number;
1998
2136
  name: string;
2137
+ displacedByCustomXml?: "before" | "after";
1999
2138
  };
2000
2139
  } | {
2001
- bookmarkEnd: number;
2140
+ bookmarkEnd: {
2141
+ id: number;
2142
+ displacedByCustomXml?: "before" | "after";
2143
+ };
2002
2144
  } | {
2003
2145
  wpsShape: WpsShapeRunOptions;
2004
2146
  } | {
@@ -2082,10 +2224,7 @@ type ParagraphChild = ChartChild | SmartArtChild | ImageChild | MathChild | {
2082
2224
  } | {
2083
2225
  ruby: RubyOptions;
2084
2226
  } | {
2085
- simpleField: {
2086
- instruction: string;
2087
- cachedValue?: string;
2088
- };
2227
+ simpleField: SimpleFieldOptions;
2089
2228
  } | {
2090
2229
  formField: FormFieldOptions;
2091
2230
  } | {
@@ -2134,11 +2273,13 @@ type ParagraphChild = ChartChild | SmartArtChild | ImageChild | MathChild | {
2134
2273
  type ParagraphOptions = {
2135
2274
  text?: string;
2136
2275
  children?: (ParagraphChild | string)[];
2137
- rsidR?: string;
2138
- rsidRPr?: string;
2139
- rsidRDefault?: string;
2140
- rsidDel?: string;
2141
- rsidP?: string;
2276
+ rsid?: string;
2277
+ defaultRunRsid?: string;
2278
+ propertiesRsid?: string;
2279
+ runPropertiesRsid?: string;
2280
+ deletionRsid?: string;
2281
+ paraId?: string;
2282
+ textId?: string;
2142
2283
  } & ParagraphPropertiesOptions;
2143
2284
  //#endregion
2144
2285
  //#region src/parts/table/table-row/table-row-properties.d.ts
@@ -2162,7 +2303,7 @@ interface TableRowPropertiesOptionsBase {
2162
2303
  cantSplit?: boolean;
2163
2304
  tableHeader?: boolean;
2164
2305
  height?: {
2165
- value: number;
2306
+ value: number | PositiveUniversalMeasure;
2166
2307
  rule?: (typeof HeightRule)[keyof typeof HeightRule];
2167
2308
  };
2168
2309
  cellSpacing?: TableCellSpacingProperties;
@@ -2293,12 +2434,6 @@ interface PageSizeAttributes {
2293
2434
  orientation?: (typeof PageOrientation)[keyof typeof PageOrientation];
2294
2435
  code?: number;
2295
2436
  }
2296
- declare const createPageSize: ({
2297
- width,
2298
- height,
2299
- orientation,
2300
- code
2301
- }: PageSizeAttributes) => string;
2302
2437
  //#endregion
2303
2438
  //#region src/parts/document/body/section-properties/properties/page-number.d.ts
2304
2439
  declare const PageNumberSeparator: {
@@ -2477,9 +2612,13 @@ type SectionChild = {
2477
2612
  bookmarkStart: {
2478
2613
  id: number;
2479
2614
  name: string;
2615
+ displacedByCustomXml?: "before" | "after";
2480
2616
  };
2481
2617
  } | {
2482
- bookmarkEnd: number;
2618
+ bookmarkEnd: {
2619
+ id: number;
2620
+ displacedByCustomXml?: "before" | "after";
2621
+ };
2483
2622
  } | {
2484
2623
  rawXml: string;
2485
2624
  };
@@ -2583,10 +2722,10 @@ interface HeaderFooterGroup<T> {
2583
2722
  even?: T;
2584
2723
  }
2585
2724
  interface SectionPropertiesOptionsBase {
2586
- rsidRPr?: string;
2587
- rsidDel?: string;
2588
- rsidR?: string;
2589
- rsidSect?: string;
2725
+ runPropertiesRsid?: string;
2726
+ deletionRsid?: string;
2727
+ rsid?: string;
2728
+ sectionRsid?: string;
2590
2729
  page?: {
2591
2730
  size?: PageSizeAttributes;
2592
2731
  margin?: PageMarginAttributes;
@@ -2806,6 +2945,7 @@ interface LevelsOptions {
2806
2945
  level: number;
2807
2946
  format?: (typeof LevelFormat)[keyof typeof LevelFormat];
2808
2947
  text?: string;
2948
+ textNull?: boolean;
2809
2949
  alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
2810
2950
  start?: number;
2811
2951
  suffix?: (typeof LevelSuffix)[keyof typeof LevelSuffix];
@@ -2816,6 +2956,7 @@ interface LevelsOptions {
2816
2956
  tentative?: boolean;
2817
2957
  w15Tentative?: boolean;
2818
2958
  legacy?: {
2959
+ enabled?: boolean;
2819
2960
  space?: number;
2820
2961
  indent?: number;
2821
2962
  };
@@ -2960,6 +3101,12 @@ interface CompatibilityOptions {
2960
3101
  overrideTableStyleFontSizeAndJustification?: boolean;
2961
3102
  enableOpenTypeFeatures?: boolean;
2962
3103
  doNotFlipMirrorIndents?: boolean;
3104
+ compatSettings?: CompatSettingOptions[];
3105
+ }
3106
+ interface CompatSettingOptions {
3107
+ name: string;
3108
+ val: string;
3109
+ uri?: string;
2963
3110
  }
2964
3111
  //#endregion
2965
3112
  //#region src/parts/settings/settings.d.ts
@@ -3009,7 +3156,11 @@ interface SettingsOptions {
3009
3156
  followedHyperlink?: string;
3010
3157
  };
3011
3158
  attachedTemplate?: string;
3012
- themeFontLang?: string;
3159
+ themeFontLang?: {
3160
+ val?: string;
3161
+ eastAsia?: string;
3162
+ bidi?: string;
3163
+ };
3013
3164
  hideSpellingErrors?: boolean;
3014
3165
  hideGrammaticalErrors?: boolean;
3015
3166
  noPunctuationKerning?: boolean;
@@ -3091,6 +3242,7 @@ interface SettingsOptions {
3091
3242
  top3HeadingStyles?: boolean;
3092
3243
  visibleStyles?: boolean;
3093
3244
  alternateStyleNames?: boolean;
3245
+ latentStyles?: boolean;
3094
3246
  };
3095
3247
  stylePaneSortMethod?: "name" | "priority" | "default" | "font";
3096
3248
  documentType?: "letter" | "eMail" | "notSpecified";
@@ -3111,7 +3263,7 @@ interface SettingsOptions {
3111
3263
  };
3112
3264
  showXMLTags?: boolean;
3113
3265
  alwaysMergeEmptyNamespace?: boolean;
3114
- hdrShapeDefaults?: boolean;
3266
+ hdrShapeDefaults?: string;
3115
3267
  attachedSchema?: string[];
3116
3268
  forceUpgrade?: boolean;
3117
3269
  smartTagType?: {
@@ -3120,7 +3272,7 @@ interface SettingsOptions {
3120
3272
  name?: string;
3121
3273
  url?: string;
3122
3274
  }[];
3123
- shapeDefaults?: boolean;
3275
+ shapeDefaults?: string;
3124
3276
  }
3125
3277
  interface RevisionViewOptions {
3126
3278
  markup?: boolean;
@@ -3221,14 +3373,14 @@ interface HyphenationOptions {
3221
3373
  doNotHyphenateCaps?: boolean;
3222
3374
  }
3223
3375
  interface FootnotePropertiesOptions {
3224
- pos?: (typeof FootnotePositionType)[keyof typeof FootnotePositionType];
3376
+ pos?: "pageBottom" | "beneathText" | "sectEnd" | "docEnd";
3225
3377
  numFmt?: string;
3226
3378
  format?: string;
3227
3379
  numStart?: number;
3228
3380
  numRestart?: string;
3229
3381
  }
3230
3382
  interface EndnotePropertiesOptions {
3231
- pos?: (typeof EndnotePositionType)[keyof typeof EndnotePositionType];
3383
+ pos?: "sectEnd" | "docEnd";
3232
3384
  numFmt?: string;
3233
3385
  format?: string;
3234
3386
  numStart?: number;
@@ -3263,44 +3415,49 @@ interface CaptionsOptions {
3263
3415
  }
3264
3416
  interface MathPropertiesOptions {
3265
3417
  mathFont?: string;
3266
- brkBin?: string;
3267
- brkBinSub?: string;
3268
- smallFrac?: boolean;
3269
- dispDef?: boolean;
3270
- lMargin?: number;
3271
- rMargin?: number;
3272
- defJc?: string;
3418
+ binaryOperatorBreak?: "before" | "after" | "repeat";
3419
+ binaryOperatorBreakSubtraction?: "--" | "-+" | "+-";
3420
+ smallFractions?: boolean;
3421
+ displayDefaults?: boolean;
3422
+ leftMargin?: number;
3423
+ rightMargin?: number;
3424
+ defaultJustification?: "left" | "right" | "center" | "centerGroup";
3425
+ preSpacing?: number;
3426
+ postSpacing?: number;
3427
+ interSpacing?: number;
3428
+ intraSpacing?: number;
3273
3429
  wrapIndent?: number;
3274
- intLim?: string;
3275
- naryLim?: string;
3430
+ wrapRight?: boolean;
3431
+ integralLimitLocation?: "subSup" | "undOvr";
3432
+ naryLimitLocation?: "subSup" | "undOvr";
3276
3433
  }
3277
3434
  //#endregion
3278
3435
  //#region src/parts/styles/factory.d.ts
3279
3436
  interface DefaultStylesOptions {
3280
3437
  document?: DocumentDefaultsOptions;
3281
- title?: BaseParagraphStyleOptions;
3282
- subtitle?: BaseParagraphStyleOptions;
3283
- heading1?: BaseParagraphStyleOptions;
3284
- heading2?: BaseParagraphStyleOptions;
3285
- heading3?: BaseParagraphStyleOptions;
3286
- heading4?: BaseParagraphStyleOptions;
3287
- heading5?: BaseParagraphStyleOptions;
3288
- heading6?: BaseParagraphStyleOptions;
3289
- heading7?: BaseParagraphStyleOptions;
3290
- heading8?: BaseParagraphStyleOptions;
3291
- heading9?: BaseParagraphStyleOptions;
3292
- strong?: BaseParagraphStyleOptions;
3293
- emphasis?: BaseParagraphStyleOptions;
3294
- listParagraph?: BaseParagraphStyleOptions;
3295
- quote?: BaseParagraphStyleOptions;
3296
- intenseQuote?: BaseParagraphStyleOptions;
3297
- hyperlink?: BaseCharacterStyleOptions;
3298
- footnoteReference?: BaseCharacterStyleOptions;
3299
- footnoteText?: BaseParagraphStyleOptions;
3300
- footnoteTextChar?: BaseCharacterStyleOptions;
3301
- endnoteReference?: BaseCharacterStyleOptions;
3302
- endnoteText?: BaseParagraphStyleOptions;
3303
- endnoteTextChar?: BaseCharacterStyleOptions;
3438
+ title?: ParagraphStyleOptions;
3439
+ subtitle?: ParagraphStyleOptions;
3440
+ heading1?: ParagraphStyleOptions;
3441
+ heading2?: ParagraphStyleOptions;
3442
+ heading3?: ParagraphStyleOptions;
3443
+ heading4?: ParagraphStyleOptions;
3444
+ heading5?: ParagraphStyleOptions;
3445
+ heading6?: ParagraphStyleOptions;
3446
+ heading7?: ParagraphStyleOptions;
3447
+ heading8?: ParagraphStyleOptions;
3448
+ heading9?: ParagraphStyleOptions;
3449
+ strong?: ParagraphStyleOptions;
3450
+ emphasis?: ParagraphStyleOptions;
3451
+ listParagraph?: ParagraphStyleOptions;
3452
+ quote?: ParagraphStyleOptions;
3453
+ intenseQuote?: ParagraphStyleOptions;
3454
+ hyperlink?: CharacterStyleOptions;
3455
+ footnoteReference?: CharacterStyleOptions;
3456
+ footnoteText?: ParagraphStyleOptions;
3457
+ footnoteTextChar?: CharacterStyleOptions;
3458
+ endnoteReference?: CharacterStyleOptions;
3459
+ endnoteText?: ParagraphStyleOptions;
3460
+ endnoteTextChar?: CharacterStyleOptions;
3304
3461
  }
3305
3462
  interface DocumentDefaultsOptions {
3306
3463
  paragraph?: ParagraphStylePropertiesOptions;
@@ -3321,18 +3478,56 @@ interface StyleOptions {
3321
3478
  personal?: boolean;
3322
3479
  personalCompose?: boolean;
3323
3480
  personalReply?: boolean;
3481
+ hidden?: boolean;
3482
+ rsid?: string;
3324
3483
  }
3325
- type BaseParagraphStyleOptions = {
3484
+ type ParagraphStyleOptions = {
3326
3485
  paragraph?: ParagraphStylePropertiesOptions;
3327
3486
  run?: RunStylePropertiesOptions;
3328
3487
  } & StyleOptions & {
3329
3488
  id?: string;
3330
3489
  };
3331
- type BaseCharacterStyleOptions = {
3490
+ type CharacterStyleOptions = {
3332
3491
  run?: RunStylePropertiesOptions;
3333
3492
  } & StyleOptions & {
3334
3493
  id?: string;
3335
3494
  };
3495
+ declare function stringifyParagraphStyle(opts: StyleOptions & {
3496
+ id: string;
3497
+ paragraph?: ParagraphStylePropertiesOptions;
3498
+ run?: RunStylePropertiesOptions;
3499
+ }): string;
3500
+ declare function stringifyCharacterStyle(opts: StyleOptions & {
3501
+ id: string;
3502
+ run?: RunStylePropertiesOptions;
3503
+ }): string;
3504
+ type TableStyleOverrideType = "wholeTable" | "firstRow" | "lastRow" | "firstCol" | "lastCol" | "band1Vert" | "band2Vert" | "band1Horz" | "band2Horz" | "neCell" | "nwCell" | "seCell" | "swCell";
3505
+ interface ConditionalTableStyleOptions {
3506
+ type: TableStyleOverrideType;
3507
+ paragraph?: ParagraphStylePropertiesOptions;
3508
+ run?: RunStylePropertiesOptions;
3509
+ table?: TablePropertiesOptions;
3510
+ row?: TableRowPropertiesOptions$1;
3511
+ cell?: TableCellPropertiesOptions$1;
3512
+ }
3513
+ type TableStyleOptions = {
3514
+ paragraph?: ParagraphStylePropertiesOptions;
3515
+ run?: RunStylePropertiesOptions;
3516
+ table?: TablePropertiesOptions;
3517
+ row?: TableRowPropertiesOptions$1;
3518
+ cell?: TableCellPropertiesOptions$1;
3519
+ conditionalFormats?: ConditionalTableStyleOptions[];
3520
+ } & StyleOptions & {
3521
+ id: string;
3522
+ };
3523
+ declare function stringifyConditionalTableStyle(opts: ConditionalTableStyleOptions): string;
3524
+ declare function stringifyTableStyle(opts: TableStyleOptions): string;
3525
+ declare const STYLE_ID_TO_DEFAULT_FIELD: Record<string, keyof DefaultStylesOptions>;
3526
+ declare function collectDefaultOverrideIds(defaultOpts: DefaultStylesOptions | undefined): Set<string>;
3527
+ declare class DefaultStylesFactory {
3528
+ newInstance(options?: DefaultStylesOptions): StylesOptions;
3529
+ private build;
3530
+ }
3336
3531
  //#endregion
3337
3532
  //#region src/parts/styles/styles.d.ts
3338
3533
  interface StylesOptions {
@@ -3341,12 +3536,13 @@ interface StylesOptions {
3341
3536
  importedStyles?: {
3342
3537
  _raw: string;
3343
3538
  }[];
3344
- paragraphStyles?: (BaseParagraphStyleOptions & {
3539
+ paragraphStyles?: (ParagraphStyleOptions & {
3345
3540
  id: string;
3346
3541
  })[];
3347
- characterStyles?: (BaseCharacterStyleOptions & {
3542
+ characterStyles?: (CharacterStyleOptions & {
3348
3543
  id: string;
3349
3544
  })[];
3545
+ tableStyles?: TableStyleOptions[];
3350
3546
  latentStylesXml?: string;
3351
3547
  docDefaultsXml?: string;
3352
3548
  }
@@ -3425,10 +3621,10 @@ interface DivBorderOptions {
3425
3621
  }
3426
3622
  interface DivOptions {
3427
3623
  id: number;
3428
- marginLeft: number;
3429
- marginRight: number;
3430
- marginTop: number;
3431
- marginBottom: number;
3624
+ marginLeft: number | UniversalMeasure;
3625
+ marginRight: number | UniversalMeasure;
3626
+ marginTop: number | UniversalMeasure;
3627
+ marginBottom: number | UniversalMeasure;
3432
3628
  blockQuote?: boolean;
3433
3629
  bodyDiv?: boolean;
3434
3630
  border?: DivBorderOptions;
@@ -3447,11 +3643,15 @@ declare const TargetScreenSize: {
3447
3643
  readonly SIZE_1800X1440: "1800x1440";
3448
3644
  readonly SIZE_1920X1200: "1920x1200";
3449
3645
  };
3646
+ interface OptimizeForBrowserOptions {
3647
+ value?: boolean;
3648
+ target?: string;
3649
+ }
3450
3650
  interface WebSettingsOptions {
3451
3651
  frameset?: FramesetOptions;
3452
3652
  divs?: DivOptions[];
3453
3653
  encoding?: string;
3454
- optimizeForBrowser?: boolean;
3654
+ optimizeForBrowser?: boolean | OptimizeForBrowserOptions;
3455
3655
  relyOnVML?: boolean;
3456
3656
  allowPNG?: boolean;
3457
3657
  doNotRelyOnCSS?: boolean;
@@ -3466,7 +3666,7 @@ interface WebSettingsInput {
3466
3666
  frameset?: FramesetOptions;
3467
3667
  divs?: DivOptions[];
3468
3668
  encoding?: string;
3469
- optimizeForBrowser?: boolean;
3669
+ optimizeForBrowser?: boolean | OptimizeForBrowserOptions;
3470
3670
  relyOnVML?: boolean;
3471
3671
  allowPNG?: boolean;
3472
3672
  doNotRelyOnCSS?: boolean;
@@ -3481,6 +3681,20 @@ declare function framesetXml(fs: FramesetOptions): string;
3481
3681
  declare function frameXml(f: FrameOptions): string;
3482
3682
  declare const webSettingsDesc: CustomDescriptor<WebSettingsInput>;
3483
3683
  //#endregion
3684
+ //#region src/shared/embeddings/embeddings.d.ts
3685
+ interface EmbeddingData {
3686
+ fileName: string;
3687
+ data: Uint8Array;
3688
+ progId?: string;
3689
+ }
3690
+ declare class EmbeddingCollection {
3691
+ private map;
3692
+ private counter;
3693
+ nextEmbeddingName(): string;
3694
+ addEmbedding(key: string, data: EmbeddingData): void;
3695
+ get array(): EmbeddingData[];
3696
+ }
3697
+ //#endregion
3484
3698
  //#region src/parse.d.ts
3485
3699
  interface DocxPartRefs {
3486
3700
  headers: Map<string, string>;
@@ -3500,6 +3714,7 @@ interface DocxPartRefs {
3500
3714
  }
3501
3715
  interface DocxDocument {
3502
3716
  doc: ParsedArchive;
3717
+ documentRoot: Element;
3503
3718
  body: Element;
3504
3719
  background?: Element;
3505
3720
  styles?: Element;
@@ -3537,6 +3752,7 @@ declare class DocxWriteContext implements WriteContext {
3537
3752
  media: Media;
3538
3753
  charts: ChartCollection;
3539
3754
  smartArts: SmartArtCollection;
3755
+ embeddings: EmbeddingCollection;
3540
3756
  altChunks: AltChunkCollection;
3541
3757
  subDocs: SubDocCollection;
3542
3758
  comments: {
@@ -3615,6 +3831,7 @@ interface EmbeddedFontOptions {
3615
3831
  name: string;
3616
3832
  data?: DataType;
3617
3833
  characterSet?: (typeof CharacterSet)[keyof typeof CharacterSet];
3834
+ characterSetName?: string;
3618
3835
  family?: string;
3619
3836
  pitch?: string;
3620
3837
  panose1?: string;
@@ -3623,6 +3840,7 @@ interface EmbeddedFontOptions {
3623
3840
  rawOdttf?: boolean;
3624
3841
  odttfPath?: string;
3625
3842
  fontKey?: string;
3843
+ subsetted?: boolean;
3626
3844
  }
3627
3845
  //#endregion
3628
3846
  //#region src/parts/settings/descriptor.d.ts
@@ -3662,6 +3880,7 @@ interface DocumentOptions extends CorePropertiesOptions {
3662
3880
  defaultTabStop?: number;
3663
3881
  fonts?: EmbeddedFontOptions[];
3664
3882
  hyphenation?: HyphenationOptions;
3883
+ conformance?: "strict" | "transitional";
3665
3884
  characterSpacingControl?: "compressPunctuation" | "doNotCompress";
3666
3885
  view?: "none" | "print" | "outline" | "masterPages" | "normal" | "web";
3667
3886
  zoom?: {
@@ -3691,5 +3910,5 @@ interface DocumentOptions extends CorePropertiesOptions {
3691
3910
  }
3692
3911
  declare const corePropertiesDesc: CustomDescriptor<CorePropertiesOptions>;
3693
3912
  //#endregion
3694
- export { RevisionViewOptions as $, SdtPropertiesOptions as $a, TableCellBordersOptions as $i, WpgGroupRunOptions as $n, Margins as $r, PageBorderZOrder as $t, Styles as A, CnfConditionalOptions as Aa, NoBreakHyphen as Ai, SdtRunOptions as An, PresetTextShapeOptions as Ar, DocumentAttributeNamespace as At, EndnotePropertiesOptions as B, CellMergeAttributes as Ba, FrameOptions$1 as Bi, FormFieldTextType as Bn, GroupChild as Br, HeaderFooterReferenceType as Bt, WebSettingsInput as C, TabStopType as Ca, DayLong as Ci, TableRowPropertiesOptions as Cn, buildContentTypesFromRegistry as Co, ShapeStyleOptions as Cr, endnotesDesc as Ct, webSettingsDesc as D, BreakType as Da, LastRenderedPageBreak as Di, MathChild as Dn, BibliographyOptions as Do, BodyPropertiesOptions as Dr, SectionPropertiesOptionsBase as Dt, framesetXml as E, SpacingProperties as Ea, FootnoteReferenceElement as Ei, ImageChild as En, withMediaDefaults as Eo, WpsShapeOptions as Er, SectionPropertiesOptions as Et, parseStyleDefinitions as F, SectionVerticalAlign as Fa, YearLong as Fi, CheckBoxOptions as Fn, VerticalAnchor as Fr, SubDocOptions as Ft, MailMergeDocType as G, SdtCheckboxSymbol as Ga, SpaceType as Gi, RubyOptions as Gn, GroupShapeLocksOptions as Gr, LineNumberAttributes as Gt, HyphenationOptions as H, stringifyTableOfContents as Ha, XYFrameOptions as Hi, createFormFieldData as Hn, WpgGroupOptions as Hr, createHeaderFooterReference as Ht, AutoCaptionOptions as I, TableVerticalAlign as Ia, YearShort as Ii, DropDownListOptions as In, createBodyProperties as Ir, parseSectionPropertiesEl as It, MathPropertiesOptions as J, SdtDateMappingType as Ja, tableDesc as Ji, PositionalTabOptions as Jn, createVerticalPosition as Jr, PageTextDirectionType as Jt, MailMergeOptions as K, SdtComboBoxOptions as Ka, VerticalPositionAlign as Ki, PositionalTabAlignment as Kn, drawingDesc as Kr, LineNumberRestartFormat as Kt, CaptionOptions as L, VerticalAlignSection as La, AlignmentFrameOptions as Li, FormFieldCommonOptions as Ln, parseBodyProperties as Lr, sectionPropertiesDesc as Lt, buildNumberingCache as M, AlignmentType as Ma, Separator as Mi, ProofErrorType as Mn, TextHorzOverflowType as Mr, SectionChild as Mt, buildStyleCache as N, TableWidthProperties as Na, SoftHyphen as Ni, ProofErrorTypeValue as Nn, TextVertOverflowType as Nr, SectionOptions as Nt, SubDocCollection as O, BreakTypeValue as Oa, MonthLong as Oi, ParagraphChild as On, SourceTypeOptions as Oo, FlatTextOptions as Or, sectionMarginDefaults as Ot, extractStyleId as P, WidthType as Pa, Tab as Pi, SmartTagRunOptions as Pn, TextVerticalType as Pr, VmlShapeStyle as Pt, ReadModeInkLockDownOptions as Q, SdtLock as Qa, TableRowOptions as Qi, SimpleFieldOptions as Qn, HorizontalPositionRelativeFrom as Qr, PageBorderOffsetFrom as Qt, CaptionsOptions as R, VerticalAlignTable as Ra, DropCapType as Ri, FormFieldOptions as Rn, ChildExtent as Rr, stringifySectionPropertiesXml as Rt, TargetScreenSize as S, TabStopPosition as Sa, ContinuationSeparator as Si, TableRowPropertiesChangeOptions as Sn, ContentTypesInput as So, WpsMediaData as Sr, EndnotesData as St, frameXml as T, LineRuleType as Ta, EndnoteReference as Ti, ChartChild as Tn, withAltChunkOverrides as To, WpsShapeCoreOptions as Tr, SectionPropertiesChangeOptions as Tt, MailMergeDataType as U, parseToc as Ua, HorizontalPositionAlign as Ui, parseFormFieldData as Un, DrawingDescriptorOptions as Ur, SectionType as Ut, FootnotePropertiesOptions as V, VerticalMergeRevisionType as Va, FrameWrap as Vi, TextInputOptions as Vn, WpgGroupCoreOptions as Vr, HeaderFooterType as Vt, MailMergeDest as W, SdtCheckboxOptions as Wa, NumberFormat as Wi, RubyAlign as Wn, GraphicFrameLocksOptions as Wr, createSectionType as Wt, OdsoFieldType as X, SdtDropDownListOptions as Xa, HeightRule as Xi, CommentOptions as Xn, Floating as Xr, createPageMargin as Xt, OdsoFieldMapDataOptions as Y, SdtDateOptions as Ya, TableOptions as Yi, PositionalTabRelativeTo as Yn, createHorizontalPosition as Yr, PageMarginAttributes as Yt, OdsoOptions as Z, SdtListItem as Za, SdtRowOptions as Zi, CommentsOptions as Zn, HorizontalPositionOptions as Zr, PageBorderDisplay as Zt, parseArchive as _, MathRunPropertiesOptions as _a, PageNumber as _i, CustomXmlRowOptions as _n, AltChunkCollection as _o, NonVisualPropertiesOptions as _r, glossaryDesc as _t, CustomPropertyOptions as a, TablePropertiesOptions as aa, TextWrappingSide as ai, PageSizeAttributes as an, RunPropertiesChangeOptions as ao, SmartArtOptions as ar, AbstractNumberingOptions as at, DivBorderOptions as b, LeaderType as ba, AnnotationReference as bi, TableCellOptions as bn, ContentTypeDefault as bo, WpgCommonMediaData as br, footnotesDesc as bt, AppPropertiesOptions as c, TableLayoutType as ca, DrawingOptions as ci, DocumentGridType as cn, TextEffect as co, createImageData as cr, parseNumberingDefinitions as ct, EmbeddedFontOptionsWithKey as d, RelativeVerticalPosition as da, ParagraphPropertiesChangeOptions as di, ColumnAttributes as dn, EmphasisMarkType as do, createTransformation as dr, LevelsOptions as dt, TextDirection as ea, VerticalPositionOptions as ei, PageBordersOptions as en, SdtTextOptions as eo, WpsShapeRunOptions as er, RsidsOptions as et, BodyContext as f, TableAnchorType as fa, ParagraphPropertiesOptions as fi, CustomXmlAttributeOptions as fn, ShadingAttributesProperties as fo, ChartMediaData as fr, DocPartBehavior as ft, DocxPartRefs as g, MathInput as ga, TextboxTightWrapType as gi, CustomXmlPropertiesOptions as gn, AltChunkOptions as go, MediaDataTransformation as gr, GlossaryDocumentOptions as gt, DocxDocument as h, TableBordersOptions as ha, TextAlignmentType as hi, CustomXmlDataBindingOptions as hn, BorderStyle as ho, MediaData as hr, DocPartType as ht, CustomPropertiesInput as i, TablePropertiesChangeOptions as ia, TextWrapping as ii, PageOrientation as in, ParagraphRunPropertiesOptions as io, SmartArtNode as ir, ConcreteNumberingOptions as it, StylesOptions as j, BordersOptions as ja, PageNumberElement as ji, SmartArtChild as jn, TextBodyWrappingType as jr, DocumentAttributeNamespaces as jt, SubDocData as k, IndentAttributesProperties as ka, MonthShort as ki, ParagraphOptions as kn, bibliographyDesc as ko, NormalAutofitOptions as kr, sectionPageSizeDefaults as kt, appPropertiesDesc as l, OverlapType as la, SymbolRunOptions as li, createDocumentGrid as ln, UnderlineType as lo, Media as lr, LevelFormat as lt, DocxWriteContext as m, TABLE_BORDERS_NONE as ma, ParagraphStylePropertiesOptions as mi, CustomXmlCellOptions as mn, BorderOptions as mo, GroupChildMediaData as mr, DocPartOptions as mt, FeaturesOptions as n, TablePropertyExChangeOptions as na, createWrapThrough as ni, PageNumberTypeAttributes as nn, TableOfContentsOptions as no, BackgroundRawMediaOptions as nr, WriteProtectionOptions as nt, customPropertiesDesc as o, TablePropertiesOptionsBase as oa, TextWrappingType as oi, createPageSize as on, RunPropertiesOptions as oo, ChartOptions as or, Numbering as ot, DocxReadContext as p, TableFloatOptions as pa, ParagraphPropertiesOptionsBase as pi, CustomXmlBlockOptions as pn, ShadingType as po, ExtendedMediaData as pr, DocPartGallery as pt, MailMergeSourceType as q, SdtDataBindingOptions as qa, setTableParseChild as qi, PositionalTabLeader as qn, resetDrawingIdGen as qr, createLineNumberType as qt, corePropertiesDesc as r, TablePropertyExOptions as ra, createWrapTight as ri, createPageNumberType as rn, HighlightColor as ro, DocumentBackgroundOptions as rr, CompatibilityOptions as rt, AppPropertiesInput as s, TableLookOptions as sa, Distance as si, DocGridAttributesProperties as sn, RunStylePropertiesOptions as so, ImageOptions as sr, NumberingOptions as st, DocumentOptions as t, VerticalMergeType as ta, VerticalPositionRelativeFrom as ti, PageNumberSeparator as tn, StyleLevel as to, BackgroundImageOptions as tr, SettingsOptions as tt, settingsDesc as u, RelativeHorizontalPosition as ua, LevelParagraphStylePropertiesOptions as ui, ColumnsAttributes as un, FontAttributesProperties as uo, MediaTransformation as ur, LevelSuffix as ut, parseDocument as v, MathScriptType as va, ParagraphRunOptions as vi, CustomXmlRunOptions as vn, AltChunkData as vo, SmartArtMediaData as vr, FootnoteSeparator as vt, WebSettingsOptions as w, HeadingLevel as wa, DayShort as wi, TableRowPropertiesOptionsBase as wn, contentTypesDesc as wo, StyleMatrixReferenceOptions as wr, HeaderFooterGroup as wt, DivOptions as x, TabStopDefinition as xa, CarriageReturn as xi, CnfStyleOptions as xn, ContentTypeOverride as xo, WpgMediaData as xr, EndnoteSeparator as xt, parseDocx as y, MathStyleType as ya, RunOptions as yi, SdtCellOptions as yn, CharacterSet as yo, WORKAROUND2 as yr, FootnotesData as yt, DocumentProtectionOptions as z, createVerticalAlign as za, FrameAnchorType as zi, FormFieldTextOptions as zn, ChildOffset as zr, HeaderFooterReferenceOptions as zt };
3695
- //# sourceMappingURL=core-properties-DNjQDzBy.d.mts.map
3913
+ export { CaptionOptions as $, TabStopDefinition as $a, SoftHyphen as $i, DropDownListOptions as $n, CharacterSet as $o, createBodyProperties as $r, parseSectionPropertiesEl as $t, SubDocData as A, VerticalMergeType as Aa, ParagraphPropertiesOptionsBase as Ai, CustomXmlCellOptions as An, SdtDropDownListOptions as Ao, ExtendedMediaData as Ar, DocPartGallery as At, DefaultStylesOptions as B, RelativeVerticalPosition as Ba, AnnotationReference as Bi, TableRowPropertiesOptionsBase as Bn, RunPropertiesOptions as Bo, ShapeStyleOptions as Br, endnotesDesc as Bt, TargetScreenSize as C, tableDesc as Ca, TextWrappingType as Ci, DocGridAttributesProperties as Cn, parseTocFieldInstruction as Co, ChartOptions as Cr, Numbering as Ct, framesetXml as D, TableRowOptions as Da, LevelParagraphStylePropertiesOptions as Di, ColumnAttributes as Dn, SdtDataBindingOptions as Do, MediaTransformation as Dr, LevelSuffix as Dt, frameXml as E, SdtRowOptions as Ea, SymbolRunOptions as Ei, ColumnsAttributes as En, SdtComboBoxOptions as Eo, Media as Er, LevelFormat as Et, extractStyleId as F, TablePropertiesOptionsBase$1 as Fa, BreakOptions as Fi, SdtCellOptions as Fn, StyleLevel as Fo, SmartArtMediaData as Fr, FootnoteSeparator as Ft, TableStyleOptions as G, MathDelimiterProperties as Ga, EndnoteReference as Gi, ParagraphChild as Gn, EmphasisMarkType as Go, FlatTextOptions as Gr, sectionMarginDefaults as Gt, ParagraphStyleOptions as H, TableFloatOptions as Ha, ContinuationSeparator as Hi, FootnoteEndnoteReferenceOptions as Hn, TextEffect as Ho, WpsShapeCoreOptions as Hr, SectionPropertiesChangeOptions as Ht, parseStyleDefinitions as I, TableLookOptions as Ia, PageNumber as Ii, TableCellOptions as In, TableOfContentsOptions as Io, WORKAROUND2 as Ir, FootnotesData as It, stringifyCharacterStyle as J, MathNaryProperties as Ja, MonthLong as Ji, SmartArtChild as Jn, BorderOptions as Jo, TextBodyWrappingType as Jr, DocumentAttributeNamespaces as Jt, TableStyleOverrideType as K, MathInput as Ka, FootnoteReferenceElement as Ki, ParagraphOptions as Kn, ShadingAttributesProperties as Ko, NormalAutofitOptions as Kr, sectionPageSizeDefaults as Kt, CharacterStyleOptions as L, TableLayoutType as La, ParagraphRunOptions as Li, CnfStyleOptions as Ln, HighlightColor as Lo, WpgCommonMediaData as Lr, footnotesDesc as Lt, StylesOptions as M, TablePropertyExOptions as Ma, TextAlignmentType as Mi, CustomXmlPropertiesOptions as Mn, SdtLock as Mo, MediaData as Mr, DocPartType as Mt, buildNumberingCache as N, TablePropertiesChangeOptions$1 as Na, TextboxTightWrapType as Ni, CustomXmlRowOptions as Nn, SdtPropertiesOptions as No, MediaDataTransformation as Nr, GlossaryDocumentOptions as Nt, webSettingsDesc as O, TableCellBordersOptions as Oa, ParagraphPropertiesChangeOptions as Oi, CustomXmlAttributeOptions as On, SdtDateMappingType as Oo, createTransformation as Or, LevelsOptions as Ot, buildStyleCache as P, TablePropertiesOptions$1 as Pa, BreakClear as Pi, CustomXmlRunOptions as Pn, SdtTextOptions as Po, NonVisualPropertiesOptions as Pr, glossaryDesc as Pt, AutoCaptionOptions as Q, LeaderType as Qa, Separator as Qi, CheckBoxOptions as Qn, AltChunkData as Qo, VerticalAnchor as Qr, SubDocOptions as Qt, ConditionalTableStyleOptions as R, OverlapType as Ra, RunOptions as Ri, TableRowPropertiesChangeOptions as Rn, ParagraphRunPropertiesOptions as Ro, WpgMediaData as Rr, EndnoteSeparator as Rt, OptimizeForBrowserOptions as S, setTableParseChild as Sa, TextWrappingSide as Si, PageSizeAttributes as Sn, parseTocFieldFromElements as So, SmartArtOptions as Sr, AbstractNumberingOptions as St, WebSettingsOptions as T, HeightRule as Ta, DrawingOptions as Ti, createDocumentGrid as Tn, SdtCheckboxSymbol as To, createImageData as Tr, parseNumberingDefinitions as Tt, STYLE_ID_TO_DEFAULT_FIELD as U, TABLE_BORDERS_NONE as Ua, DayLong as Ui, ImageChild as Un, UnderlineType as Uo, WpsShapeOptions as Ur, SectionPropertiesOptions as Ut, DocumentDefaultsOptions as V, TableAnchorType as Va, CarriageReturn as Vi, ChartChild as Vn, RunStylePropertiesOptions as Vo, StyleMatrixReferenceOptions as Vr, HeaderFooterGroup as Vt, StyleOptions as W, TableBordersOptions as Wa, DayShort as Wi, MathChild as Wn, FontAttributesProperties as Wo, BodyPropertiesOptions as Wr, SectionPropertiesOptionsBase as Wt, stringifyParagraphStyle as X, MathScriptType as Xa, NoBreakHyphen as Xi, ProofErrorTypeValue as Xn, AltChunkOptions as Xo, TextVertOverflowType as Xr, SectionOptions as Xt, stringifyConditionalTableStyle as Y, MathRunPropertiesOptions as Ya, MonthShort as Yi, ProofErrorType as Yn, BorderStyle as Yo, TextHorzOverflowType as Yr, SectionChild as Yt, stringifyTableStyle as Z, MathStyleType as Za, PageNumberElement as Zi, SmartTagRunOptions as Zn, AltChunkCollection as Zo, TextVerticalType as Zr, VmlShapeStyle as Zt, parseArchive as _, SpaceType as _a, VerticalPositionOptions as _i, PageBordersOptions as _n, createVerticalAlign as _o, WpsShapeRunOptions as _r, SettingsOptions as _t, CustomPropertyOptions as a, ObjectEmbedOptions as aa, WpgGroupOptions as ai, createHeaderFooterReference as an, BreakType as ao, createFormFieldData as ar, withAltChunkOverrides as as, MailMergeDataType as at, DivBorderOptions as b, parseTablePropertiesEl as ba, createWrapTight as bi, createPageNumberType as bn, stringifyTableOfContents as bo, DocumentBackgroundOptions as br, CompatibilityOptions as bt, AppPropertiesOptions as c, objectDesc as ca, GroupShapeLocksOptions as ci, LineNumberAttributes as cn, CnfConditionalOptions as co, RubyOptions as cr, SourceTypeOptions as cs, MailMergeOptions as ct, EmbeddedFontOptionsWithKey as d, FrameAnchorType as da, createVerticalPosition as di, PageTextDirectionType as dn, TableWidthProperties as do, PositionalTabOptions as dr, OdsoFieldMapDataOptions as dt, Tab as ea, parseBodyProperties as ei, sectionPropertiesDesc as en, TabStopPosition as eo, FormFieldCommonOptions as er, ContentTypeDefault as es, CaptionsOptions as et, BodyContext as f, FrameOptions$1 as fa, createHorizontalPosition as fi, PageMarginAttributes as fn, WidthType as fo, PositionalTabRelativeTo as fr, OdsoFieldType as ft, DocxPartRefs as g, NumberFormat as ga, Margins as gi, PageBorderZOrder as gn, VerticalAlignTable as go, WpgGroupRunOptions as gr, RsidsOptions as gt, DocxDocument as h, HorizontalPositionAlign as ha, HorizontalPositionRelativeFrom as hi, PageBorderOffsetFrom as hn, VerticalAlignSection as ho, SimpleFieldOptions as hr, RevisionViewOptions as ht, CustomPropertiesInput as i, ObjectElementOptions as ia, WpgGroupCoreOptions as ii, HeaderFooterType as in, SpacingProperties as io, TextInputOptions as ir, contentTypesDesc as is, HyphenationOptions as it, Styles as j, TablePropertyExChangeOptions as ja, ParagraphStylePropertiesOptions as ji, CustomXmlDataBindingOptions as jn, SdtListItem as jo, GroupChildMediaData as jr, DocPartOptions as jt, SubDocCollection as k, TextDirection as ka, ParagraphPropertiesOptions as ki, CustomXmlBlockOptions as kn, SdtDateOptions as ko, ChartMediaData as kr, DocPartBehavior as kt, appPropertiesDesc as l, AlignmentFrameOptions as la, drawingDesc as li, LineNumberRestartFormat as ln, BordersOptions as lo, PositionalTabAlignment as lr, bibliographyDesc as ls, MailMergeSourceType as lt, DocxWriteContext as m, XYFrameOptions as ma, HorizontalPositionOptions as mi, PageBorderDisplay as mn, TableVerticalAlign as mo, CommentsOptions as mr, ReadModeInkLockDownOptions as mt, FeaturesOptions as n, YearShort as na, ChildOffset as ni, HeaderFooterReferenceOptions as nn, HeadingLevel as no, FormFieldTextOptions as nr, ContentTypesInput as ns, EndnotePropertiesOptions as nt, customPropertiesDesc as o, ObjectIconImageOptions as oa, DrawingDescriptorOptions as oi, SectionType as on, BreakTypeValue as oo, parseFormFieldData as or, withMediaDefaults as os, MailMergeDest as ot, DocxReadContext as p, FrameWrap as pa, Floating as pi, createPageMargin as pn, SectionVerticalAlign as po, CommentOptions as pr, OdsoOptions as pt, collectDefaultOverrideIds as q, MathNaryLimitLocation as qa, LastRenderedPageBreak as qi, SdtRunOptions as qn, ShadingType as qo, PresetTextShapeOptions as qr, DocumentAttributeNamespace as qt, corePropertiesDesc as r, ObjectControlOptions as ra, GroupChild as ri, HeaderFooterReferenceType as rn, LineRuleType as ro, FormFieldTextType as rr, buildContentTypesFromRegistry as rs, FootnotePropertiesOptions as rt, AppPropertiesInput as s, ObjectLinkOptions as sa, GraphicFrameLocksOptions as si, createSectionType as sn, IndentAttributesProperties as so, RubyAlign as sr, BibliographyOptions as ss, MailMergeDocType as st, DocumentOptions as t, YearLong as ta, ChildExtent as ti, stringifySectionPropertiesXml as tn, TabStopType as to, FormFieldOptions as tr, ContentTypeOverride as ts, DocumentProtectionOptions as tt, settingsDesc as u, DropCapType as ua, resetDrawingIdGen as ui, createLineNumberType as un, AlignmentType as uo, PositionalTabLeader as ur, MathPropertiesOptions as ut, parseDocument as v, VerticalPositionAlign as va, VerticalPositionRelativeFrom as vi, PageNumberSeparator as vn, CellMergeAttributes as vo, BackgroundImageOptions as vr, WriteProtectionOptions as vt, WebSettingsInput as w, TableOptions as wa, Distance as wi, DocumentGridType as wn, SdtCheckboxOptions as wo, ImageOptions as wr, NumberingOptions as wt, DivOptions as x, parseTableRowPropertiesEl as xa, TextWrapping as xi, PageOrientation as xn, parseToc as xo, SmartArtNode as xr, ConcreteNumberingOptions as xt, parseDocx as y, parseTableCellPropertiesEl as ya, createWrapThrough as yi, PageNumberTypeAttributes as yn, VerticalMergeRevisionType as yo, BackgroundRawMediaOptions as yr, CompatSettingOptions as yt, DefaultStylesFactory as z, RelativeHorizontalPosition as za, breakXml as zi, TableRowPropertiesOptions as zn, RunPropertiesChangeOptions as zo, WpsMediaData as zr, EndnotesData as zt };
3914
+ //# sourceMappingURL=core-properties-CcpNQvVY.d.mts.map