@silurus/ooxml 0.60.0 → 0.60.1
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-B4CmtwJQ.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-CChgqx5o.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 +17 -0
- package/dist/types/index.d.ts +18 -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,6 +934,12 @@ 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;
|
|
927
944
|
wrapMode?: string | null;
|
|
928
945
|
/** Text rendered INSIDE the shape's bounding box (`<wps:txbx><w:txbxContent>`). */
|
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,6 +2881,12 @@ 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;
|
|
2873
2891
|
wrapMode?: string | null;
|
|
2874
2892
|
/** Text rendered INSIDE the shape's bounding box (`<wps:txbx><w:txbxContent>`). */
|