@sunertech/docx 10.0.8 → 10.2.0
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 +10290 -10224
- package/dist/index.d.cts +22 -1
- package/dist/index.d.ts +22 -1
- package/dist/index.iife.js +10290 -10224
- package/dist/index.mjs +10290 -10224
- package/dist/index.umd.cjs +10290 -10224
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -805,7 +805,14 @@ export declare class EndnoteReference extends EmptyElement {
|
|
|
805
805
|
|
|
806
806
|
declare type ErrorBarsOptions = {};
|
|
807
807
|
|
|
808
|
-
declare type
|
|
808
|
+
declare type Extension = {
|
|
809
|
+
type: "invertSolidFillFmt";
|
|
810
|
+
shape: IShapePropertiesOptions;
|
|
811
|
+
};
|
|
812
|
+
|
|
813
|
+
declare type ExtensionListOptions = {
|
|
814
|
+
items: Extension[];
|
|
815
|
+
};
|
|
809
816
|
|
|
810
817
|
export declare class ExternalHyperlink extends XmlComponent {
|
|
811
818
|
readonly options: {
|
|
@@ -1155,6 +1162,7 @@ export declare type IBordersOptions = {
|
|
|
1155
1162
|
readonly bottom?: IBorderOptions;
|
|
1156
1163
|
readonly left?: IBorderOptions;
|
|
1157
1164
|
readonly right?: IBorderOptions;
|
|
1165
|
+
readonly between?: IBorderOptions;
|
|
1158
1166
|
};
|
|
1159
1167
|
|
|
1160
1168
|
declare type IChangedAttributesProperties = {
|
|
@@ -1606,6 +1614,11 @@ export declare class InternalHyperlink extends ConcreteHyperlink {
|
|
|
1606
1614
|
});
|
|
1607
1615
|
}
|
|
1608
1616
|
|
|
1617
|
+
export declare type INumberedItemReferenceOptions = {
|
|
1618
|
+
readonly hyperlink?: boolean;
|
|
1619
|
+
readonly referenceFormat?: NumberedItemReferenceFormat;
|
|
1620
|
+
};
|
|
1621
|
+
|
|
1609
1622
|
export declare type INumberingOptions = {
|
|
1610
1623
|
readonly config: readonly {
|
|
1611
1624
|
readonly levels: readonly ILevelsOptions[];
|
|
@@ -1837,6 +1850,10 @@ export declare type IShadingAttributesProperties = {
|
|
|
1837
1850
|
|
|
1838
1851
|
declare type IShapePropertiesOptions = {
|
|
1839
1852
|
readonly bwMode?: string;
|
|
1853
|
+
readonly namespace?: {
|
|
1854
|
+
readonly key: string;
|
|
1855
|
+
readonly value: string;
|
|
1856
|
+
};
|
|
1840
1857
|
readonly outline?: OutlineOptions;
|
|
1841
1858
|
readonly transform?: IMediaDataTransformation;
|
|
1842
1859
|
readonly presetGeometry?: boolean;
|
|
@@ -2478,6 +2495,10 @@ export declare class NoBreakHyphen extends EmptyElement {
|
|
|
2478
2495
|
constructor();
|
|
2479
2496
|
}
|
|
2480
2497
|
|
|
2498
|
+
export declare class NumberedItemReference extends SimpleField {
|
|
2499
|
+
constructor(bookmarkId: string, cachedValue?: string, options?: INumberedItemReferenceOptions);
|
|
2500
|
+
}
|
|
2501
|
+
|
|
2481
2502
|
export declare enum NumberedItemReferenceFormat {
|
|
2482
2503
|
NONE = "none",
|
|
2483
2504
|
RELATIVE = "relative",
|
package/dist/index.d.ts
CHANGED
|
@@ -805,7 +805,14 @@ export declare class EndnoteReference extends EmptyElement {
|
|
|
805
805
|
|
|
806
806
|
declare type ErrorBarsOptions = {};
|
|
807
807
|
|
|
808
|
-
declare type
|
|
808
|
+
declare type Extension = {
|
|
809
|
+
type: "invertSolidFillFmt";
|
|
810
|
+
shape: IShapePropertiesOptions;
|
|
811
|
+
};
|
|
812
|
+
|
|
813
|
+
declare type ExtensionListOptions = {
|
|
814
|
+
items: Extension[];
|
|
815
|
+
};
|
|
809
816
|
|
|
810
817
|
export declare class ExternalHyperlink extends XmlComponent {
|
|
811
818
|
readonly options: {
|
|
@@ -1155,6 +1162,7 @@ export declare type IBordersOptions = {
|
|
|
1155
1162
|
readonly bottom?: IBorderOptions;
|
|
1156
1163
|
readonly left?: IBorderOptions;
|
|
1157
1164
|
readonly right?: IBorderOptions;
|
|
1165
|
+
readonly between?: IBorderOptions;
|
|
1158
1166
|
};
|
|
1159
1167
|
|
|
1160
1168
|
declare type IChangedAttributesProperties = {
|
|
@@ -1606,6 +1614,11 @@ export declare class InternalHyperlink extends ConcreteHyperlink {
|
|
|
1606
1614
|
});
|
|
1607
1615
|
}
|
|
1608
1616
|
|
|
1617
|
+
export declare type INumberedItemReferenceOptions = {
|
|
1618
|
+
readonly hyperlink?: boolean;
|
|
1619
|
+
readonly referenceFormat?: NumberedItemReferenceFormat;
|
|
1620
|
+
};
|
|
1621
|
+
|
|
1609
1622
|
export declare type INumberingOptions = {
|
|
1610
1623
|
readonly config: readonly {
|
|
1611
1624
|
readonly levels: readonly ILevelsOptions[];
|
|
@@ -1837,6 +1850,10 @@ export declare type IShadingAttributesProperties = {
|
|
|
1837
1850
|
|
|
1838
1851
|
declare type IShapePropertiesOptions = {
|
|
1839
1852
|
readonly bwMode?: string;
|
|
1853
|
+
readonly namespace?: {
|
|
1854
|
+
readonly key: string;
|
|
1855
|
+
readonly value: string;
|
|
1856
|
+
};
|
|
1840
1857
|
readonly outline?: OutlineOptions;
|
|
1841
1858
|
readonly transform?: IMediaDataTransformation;
|
|
1842
1859
|
readonly presetGeometry?: boolean;
|
|
@@ -2478,6 +2495,10 @@ export declare class NoBreakHyphen extends EmptyElement {
|
|
|
2478
2495
|
constructor();
|
|
2479
2496
|
}
|
|
2480
2497
|
|
|
2498
|
+
export declare class NumberedItemReference extends SimpleField {
|
|
2499
|
+
constructor(bookmarkId: string, cachedValue?: string, options?: INumberedItemReferenceOptions);
|
|
2500
|
+
}
|
|
2501
|
+
|
|
2481
2502
|
export declare enum NumberedItemReferenceFormat {
|
|
2482
2503
|
NONE = "none",
|
|
2483
2504
|
RELATIVE = "relative",
|