@silurus/ooxml 0.60.0 → 0.60.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/docx-C-Xv4gHb.js +2100 -0
- package/dist/docx.mjs +2 -2
- package/dist/index.mjs +3 -3
- package/dist/{pptx-DsFZ4AtI.js → pptx-CcRBxO-i.js} +611 -631
- package/dist/pptx.mjs +2 -2
- package/dist/render-worker-host-BD-wqOCv.js +27 -0
- package/dist/render-worker-host-qS8zOCxE.js +27 -0
- package/dist/{src-BAZYl43H.js → src-CWqt1QE0.js} +272 -250
- package/dist/types/docx.d.ts +21 -0
- package/dist/types/index.d.ts +22 -0
- package/dist/{xlsx-BS4Rw1qg.js → xlsx-B8GnK1Ad.js} +290 -290
- package/dist/xlsx.mjs +2 -2
- package/package.json +1 -1
- package/dist/docx-FgLcXCmS.js +0 -2073
- package/dist/render-worker-host-BT6u-XRr.js +0 -27
- package/dist/render-worker-host-DTvVLN37.js +0 -27
package/dist/types/docx.d.ts
CHANGED
|
@@ -534,6 +534,17 @@ export declare interface ImageRun {
|
|
|
534
534
|
allowOverlap?: boolean;
|
|
535
535
|
}
|
|
536
536
|
|
|
537
|
+
/** DrawingML line-end (arrow head). ECMA-376 §20.1.8.3 CT_LineEndProperties.
|
|
538
|
+
* Maps 1:1 to core's `ArrowEnd`. */
|
|
539
|
+
export declare interface LineEnd {
|
|
540
|
+
/** "triangle" | "stealth" | "diamond" | "oval" | "arrow" (never "none"). */
|
|
541
|
+
type: string;
|
|
542
|
+
/** Width step: "sm" | "med" | "lg". */
|
|
543
|
+
w: string;
|
|
544
|
+
/** Length step: "sm" | "med" | "lg". */
|
|
545
|
+
len: string;
|
|
546
|
+
}
|
|
547
|
+
|
|
537
548
|
export declare interface LineSpacing {
|
|
538
549
|
value: number;
|
|
539
550
|
rule: 'auto' | 'exact' | 'atLeast';
|
|
@@ -923,7 +934,17 @@ export declare interface ShapeRun {
|
|
|
923
934
|
fill: ShapeFill | null;
|
|
924
935
|
stroke: string | null;
|
|
925
936
|
strokeWidth?: number;
|
|
937
|
+
/** `<a:ln><a:prstDash val>` — ECMA-376 §20.1.8.48. Absent = solid. */
|
|
938
|
+
strokeDash?: string | null;
|
|
939
|
+
/** `<a:ln><a:headEnd>` line-start decoration (ECMA-376 §20.1.8.3). */
|
|
940
|
+
headEnd?: LineEnd | null;
|
|
941
|
+
/** `<a:ln><a:tailEnd>` line-end decoration (ECMA-376 §20.1.8.3). */
|
|
942
|
+
tailEnd?: LineEnd | null;
|
|
926
943
|
rotation?: number;
|
|
944
|
+
/** `<a:xfrm flipH>` (§20.1.7.6) — mirror about the vertical centre line. */
|
|
945
|
+
flipH?: boolean;
|
|
946
|
+
/** `<a:xfrm flipV>` (§20.1.7.6) — mirror about the horizontal centre line. */
|
|
947
|
+
flipV?: boolean;
|
|
927
948
|
wrapMode?: string | null;
|
|
928
949
|
/** Text rendered INSIDE the shape's bounding box (`<wps:txbx><w:txbxContent>`). */
|
|
929
950
|
textBlocks?: ShapeText[];
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1100,6 +1100,7 @@ export declare namespace docx {
|
|
|
1100
1100
|
BorderSpec,
|
|
1101
1101
|
PathCmd_3 as PathCmd,
|
|
1102
1102
|
GradientStop_2 as GradientStop,
|
|
1103
|
+
LineEnd,
|
|
1103
1104
|
DocxTextRunInfo
|
|
1104
1105
|
}
|
|
1105
1106
|
}
|
|
@@ -1596,6 +1597,17 @@ declare interface LineBreak {
|
|
|
1596
1597
|
type: 'break';
|
|
1597
1598
|
}
|
|
1598
1599
|
|
|
1600
|
+
/** DrawingML line-end (arrow head). ECMA-376 §20.1.8.3 CT_LineEndProperties.
|
|
1601
|
+
* Maps 1:1 to core's `ArrowEnd`. */
|
|
1602
|
+
declare interface LineEnd {
|
|
1603
|
+
/** "triangle" | "stealth" | "diamond" | "oval" | "arrow" (never "none"). */
|
|
1604
|
+
type: string;
|
|
1605
|
+
/** Width step: "sm" | "med" | "lg". */
|
|
1606
|
+
w: string;
|
|
1607
|
+
/** Length step: "sm" | "med" | "lg". */
|
|
1608
|
+
len: string;
|
|
1609
|
+
}
|
|
1610
|
+
|
|
1599
1611
|
declare interface LineSpacing {
|
|
1600
1612
|
value: number;
|
|
1601
1613
|
rule: 'auto' | 'exact' | 'atLeast';
|
|
@@ -2869,7 +2881,17 @@ declare interface ShapeRun {
|
|
|
2869
2881
|
fill: ShapeFill | null;
|
|
2870
2882
|
stroke: string | null;
|
|
2871
2883
|
strokeWidth?: number;
|
|
2884
|
+
/** `<a:ln><a:prstDash val>` — ECMA-376 §20.1.8.48. Absent = solid. */
|
|
2885
|
+
strokeDash?: string | null;
|
|
2886
|
+
/** `<a:ln><a:headEnd>` line-start decoration (ECMA-376 §20.1.8.3). */
|
|
2887
|
+
headEnd?: LineEnd | null;
|
|
2888
|
+
/** `<a:ln><a:tailEnd>` line-end decoration (ECMA-376 §20.1.8.3). */
|
|
2889
|
+
tailEnd?: LineEnd | null;
|
|
2872
2890
|
rotation?: number;
|
|
2891
|
+
/** `<a:xfrm flipH>` (§20.1.7.6) — mirror about the vertical centre line. */
|
|
2892
|
+
flipH?: boolean;
|
|
2893
|
+
/** `<a:xfrm flipV>` (§20.1.7.6) — mirror about the horizontal centre line. */
|
|
2894
|
+
flipV?: boolean;
|
|
2873
2895
|
wrapMode?: string | null;
|
|
2874
2896
|
/** Text rendered INSIDE the shape's bounding box (`<wps:txbx><w:txbxContent>`). */
|
|
2875
2897
|
textBlocks?: ShapeText_2[];
|