@silurus/ooxml 0.68.0 → 0.69.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/docx-DVGEDCWy.js +3218 -0
- package/dist/docx.mjs +1 -1
- package/dist/index.mjs +3 -3
- package/dist/pptx-Bkjpmiqt.js +2080 -0
- package/dist/pptx.mjs +1 -1
- package/dist/render-worker-host-D1d4uOqW.js +27 -0
- package/dist/render-worker-host-DAh6fO6-.js +27 -0
- package/dist/{render-worker-host-ClhHaLeZ.js → render-worker-host-fgjf6Hlu.js} +1 -1
- package/dist/types/docx.d.ts +16 -0
- package/dist/types/index.d.ts +26 -0
- package/dist/types/xlsx.d.ts +10 -0
- package/dist/xlsx-DLv5RYrM.js +4237 -0
- package/dist/xlsx.mjs +1 -1
- package/package.json +1 -1
- package/dist/docx-ax5d8q4F.js +0 -3166
- package/dist/pptx-10-ZMrrs.js +0 -2066
- package/dist/render-worker-host-CZjrumRh.js +0 -27
- package/dist/render-worker-host-DW2Upw5x.js +0 -27
- package/dist/xlsx-BAnsE-gd.js +0 -4233
package/dist/types/docx.d.ts
CHANGED
|
@@ -237,6 +237,10 @@ export declare interface DocSettings {
|
|
|
237
237
|
* justification (ST_Jc math: left|right|center|centerGroup). `undefined`
|
|
238
238
|
* ⇒ the renderer uses the spec default `centerGroup`. */
|
|
239
239
|
mathDefJc?: string;
|
|
240
|
+
/** §17.15.1.25 `w:defaultTabStop@w:val` — interval (points) between automatic
|
|
241
|
+
* tab stops generated after all custom stops. `undefined` ⇒ the renderer
|
|
242
|
+
* uses the spec default of 720 twips (36pt). */
|
|
243
|
+
defaultTabStop?: number;
|
|
240
244
|
}
|
|
241
245
|
|
|
242
246
|
export declare interface DocTable {
|
|
@@ -1257,6 +1261,18 @@ export declare interface ShapeText {
|
|
|
1257
1261
|
/** ECMA-376 §17.3.1.33 `<w:spacing w:after>` of this text-box paragraph, in
|
|
1258
1262
|
* pt — reserved BELOW the paragraph. Absent/0 ⇒ no offset. */
|
|
1259
1263
|
spaceAfter?: number;
|
|
1264
|
+
/** ECMA-376 §17.3.1.12 `<w:ind w:left/@start>` — paragraph left indent (pt).
|
|
1265
|
+
* Absent/0 ⇒ flush to the box's inner left edge. */
|
|
1266
|
+
indentLeft?: number;
|
|
1267
|
+
/** ECMA-376 §17.3.1.12 `<w:ind w:right/@end>` — paragraph right indent (pt).
|
|
1268
|
+
* Absent/0 ⇒ flush to the box's inner right edge. */
|
|
1269
|
+
indentRight?: number;
|
|
1270
|
+
/** `<w:ind>` first-line indent (pt, SIGNED: `w:firstLine` positive,
|
|
1271
|
+
* `w:hanging` negative). A negative value hangs the first line further LEFT
|
|
1272
|
+
* than the continuation lines (the body renderer honors the sign too — Word
|
|
1273
|
+
* applies a signed hanging first-line list-independently). Absent/0 ⇒ the
|
|
1274
|
+
* first line aligns with the continuation lines. */
|
|
1275
|
+
indentFirst?: number;
|
|
1260
1276
|
/** Zip path of an inline image inside this text-box paragraph
|
|
1261
1277
|
* (`<w:drawing><wp:inline><a:blip r:embed>`), e.g. `word/media/image1.emf`.
|
|
1262
1278
|
* Absent for a text-only paragraph. */
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1184,6 +1184,10 @@ declare interface DocSettings {
|
|
|
1184
1184
|
* justification (ST_Jc math: left|right|center|centerGroup). `undefined`
|
|
1185
1185
|
* ⇒ the renderer uses the spec default `centerGroup`. */
|
|
1186
1186
|
mathDefJc?: string;
|
|
1187
|
+
/** §17.15.1.25 `w:defaultTabStop@w:val` — interval (points) between automatic
|
|
1188
|
+
* tab stops generated after all custom stops. `undefined` ⇒ the renderer
|
|
1189
|
+
* uses the spec default of 720 twips (36pt). */
|
|
1190
|
+
defaultTabStop?: number;
|
|
1187
1191
|
}
|
|
1188
1192
|
|
|
1189
1193
|
declare interface DocTable {
|
|
@@ -3391,6 +3395,16 @@ declare interface ShapeParagraph {
|
|
|
3391
3395
|
/** `<a:pPr@rtl>` — whether the paragraph reads right-to-left
|
|
3392
3396
|
* (ECMA-376 §21.1.2.2.7). Omitted (undefined) when false. */
|
|
3393
3397
|
rtl?: boolean;
|
|
3398
|
+
/** `<a:pPr@marL>` — left margin in EMU (ECMA-376 §21.1.2.2.7,
|
|
3399
|
+
* `CT_TextParagraphProperties`). Direct attribute only — xlsx text boxes
|
|
3400
|
+
* have no lstStyle/level cascade. Omitted (undefined) when unset. */
|
|
3401
|
+
marL?: number;
|
|
3402
|
+
/** `<a:pPr@marR>` — right margin in EMU (ECMA-376 §21.1.2.2.7).
|
|
3403
|
+
* Omitted (undefined) when unset. */
|
|
3404
|
+
marR?: number;
|
|
3405
|
+
/** `<a:pPr@indent>` — first-line indent in EMU (negative = hanging),
|
|
3406
|
+
* ECMA-376 §21.1.2.2.7. Omitted (undefined) when unset. */
|
|
3407
|
+
indent?: number;
|
|
3394
3408
|
runs: ShapeTextRun[];
|
|
3395
3409
|
}
|
|
3396
3410
|
|
|
@@ -3511,6 +3525,18 @@ declare interface ShapeText_2 {
|
|
|
3511
3525
|
/** ECMA-376 §17.3.1.33 `<w:spacing w:after>` of this text-box paragraph, in
|
|
3512
3526
|
* pt — reserved BELOW the paragraph. Absent/0 ⇒ no offset. */
|
|
3513
3527
|
spaceAfter?: number;
|
|
3528
|
+
/** ECMA-376 §17.3.1.12 `<w:ind w:left/@start>` — paragraph left indent (pt).
|
|
3529
|
+
* Absent/0 ⇒ flush to the box's inner left edge. */
|
|
3530
|
+
indentLeft?: number;
|
|
3531
|
+
/** ECMA-376 §17.3.1.12 `<w:ind w:right/@end>` — paragraph right indent (pt).
|
|
3532
|
+
* Absent/0 ⇒ flush to the box's inner right edge. */
|
|
3533
|
+
indentRight?: number;
|
|
3534
|
+
/** `<w:ind>` first-line indent (pt, SIGNED: `w:firstLine` positive,
|
|
3535
|
+
* `w:hanging` negative). A negative value hangs the first line further LEFT
|
|
3536
|
+
* than the continuation lines (the body renderer honors the sign too — Word
|
|
3537
|
+
* applies a signed hanging first-line list-independently). Absent/0 ⇒ the
|
|
3538
|
+
* first line aligns with the continuation lines. */
|
|
3539
|
+
indentFirst?: number;
|
|
3514
3540
|
/** Zip path of an inline image inside this text-box paragraph
|
|
3515
3541
|
* (`<w:drawing><wp:inline><a:blip r:embed>`), e.g. `word/media/image1.emf`.
|
|
3516
3542
|
* Absent for a text-only paragraph. */
|
package/dist/types/xlsx.d.ts
CHANGED
|
@@ -940,6 +940,16 @@ export declare interface ShapeParagraph {
|
|
|
940
940
|
/** `<a:pPr@rtl>` — whether the paragraph reads right-to-left
|
|
941
941
|
* (ECMA-376 §21.1.2.2.7). Omitted (undefined) when false. */
|
|
942
942
|
rtl?: boolean;
|
|
943
|
+
/** `<a:pPr@marL>` — left margin in EMU (ECMA-376 §21.1.2.2.7,
|
|
944
|
+
* `CT_TextParagraphProperties`). Direct attribute only — xlsx text boxes
|
|
945
|
+
* have no lstStyle/level cascade. Omitted (undefined) when unset. */
|
|
946
|
+
marL?: number;
|
|
947
|
+
/** `<a:pPr@marR>` — right margin in EMU (ECMA-376 §21.1.2.2.7).
|
|
948
|
+
* Omitted (undefined) when unset. */
|
|
949
|
+
marR?: number;
|
|
950
|
+
/** `<a:pPr@indent>` — first-line indent in EMU (negative = hanging),
|
|
951
|
+
* ECMA-376 §21.1.2.2.7. Omitted (undefined) when unset. */
|
|
952
|
+
indent?: number;
|
|
943
953
|
runs: ShapeTextRun[];
|
|
944
954
|
}
|
|
945
955
|
|