@silurus/ooxml 0.59.3 → 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 -3
- 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-CI4BVZcT.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 +24 -0
- package/dist/types/index.d.ts +25 -0
- package/dist/{xlsx-9W9zIvga.js → xlsx-B8GnK1Ad.js} +545 -524
- package/dist/xlsx.mjs +2 -2
- package/package.json +1 -1
- package/dist/docx-CPesjmsh.js +0 -1928
- package/dist/render-worker-host-BT6u-XRr.js +0 -27
- package/dist/render-worker-host-Bv6bpyhr.js +0 -27
- package/dist/render-worker-host-C6mRacrU.js +0 -27
package/dist/types/docx.d.ts
CHANGED
|
@@ -525,6 +525,24 @@ export declare interface ImageRun {
|
|
|
525
525
|
distRight?: number;
|
|
526
526
|
/** wrapText attribute: "bothSides" | "left" | "right" | "largest". */
|
|
527
527
|
wrapSide?: string;
|
|
528
|
+
/**
|
|
529
|
+
* ECMA-376 §20.4.2.3 `wp:anchor/@allowOverlap` — whether this floating object
|
|
530
|
+
* may overlap other floats. Spec default is true (the attribute is optional);
|
|
531
|
+
* absent/undefined is treated as true. `false` mandates the renderer
|
|
532
|
+
* reposition the object to prevent any overlap.
|
|
533
|
+
*/
|
|
534
|
+
allowOverlap?: boolean;
|
|
535
|
+
}
|
|
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;
|
|
528
546
|
}
|
|
529
547
|
|
|
530
548
|
export declare interface LineSpacing {
|
|
@@ -916,6 +934,12 @@ export declare interface ShapeRun {
|
|
|
916
934
|
fill: ShapeFill | null;
|
|
917
935
|
stroke: string | null;
|
|
918
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;
|
|
919
943
|
rotation?: number;
|
|
920
944
|
wrapMode?: string | null;
|
|
921
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
|
}
|
|
@@ -1549,6 +1550,13 @@ declare interface ImageRun {
|
|
|
1549
1550
|
distRight?: number;
|
|
1550
1551
|
/** wrapText attribute: "bothSides" | "left" | "right" | "largest". */
|
|
1551
1552
|
wrapSide?: string;
|
|
1553
|
+
/**
|
|
1554
|
+
* ECMA-376 §20.4.2.3 `wp:anchor/@allowOverlap` — whether this floating object
|
|
1555
|
+
* may overlap other floats. Spec default is true (the attribute is optional);
|
|
1556
|
+
* absent/undefined is treated as true. `false` mandates the renderer
|
|
1557
|
+
* reposition the object to prevent any overlap.
|
|
1558
|
+
*/
|
|
1559
|
+
allowOverlap?: boolean;
|
|
1552
1560
|
}
|
|
1553
1561
|
|
|
1554
1562
|
declare interface LegendManualLayout {
|
|
@@ -1589,6 +1597,17 @@ declare interface LineBreak {
|
|
|
1589
1597
|
type: 'break';
|
|
1590
1598
|
}
|
|
1591
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
|
+
|
|
1592
1611
|
declare interface LineSpacing {
|
|
1593
1612
|
value: number;
|
|
1594
1613
|
rule: 'auto' | 'exact' | 'atLeast';
|
|
@@ -2862,6 +2881,12 @@ declare interface ShapeRun {
|
|
|
2862
2881
|
fill: ShapeFill | null;
|
|
2863
2882
|
stroke: string | null;
|
|
2864
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;
|
|
2865
2890
|
rotation?: number;
|
|
2866
2891
|
wrapMode?: string | null;
|
|
2867
2892
|
/** Text rendered INSIDE the shape's bounding box (`<wps:txbx><w:txbxContent>`). */
|