@silurus/ooxml 0.27.0 → 0.29.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/README.md +22 -10
- package/dist/docx-BJ2QX1sj.js +1050 -0
- package/dist/docx-RfvFutZ6.cjs +1 -0
- package/dist/docx.cjs +1 -1
- package/dist/docx.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +3 -3
- package/dist/pptx-BoBbwUHR.js +23250 -0
- package/dist/pptx-DJgmrjy5.cjs +1 -0
- package/dist/pptx.cjs +1 -1
- package/dist/pptx.mjs +1 -1
- package/dist/preset-Be9mzXzm.js +1284 -0
- package/dist/preset-DxpCn57X.cjs +1 -0
- package/dist/types/docx.d.ts +86 -2
- package/dist/types/index.d.ts +219 -5
- package/dist/types/pptx.d.ts +112 -2
- package/dist/types/xlsx.d.ts +21 -1
- package/dist/xlsx-DFPurGhu.js +3107 -0
- package/dist/xlsx-DzHnBF0u.cjs +11 -0
- package/dist/xlsx.cjs +1 -1
- package/dist/xlsx.mjs +1 -1
- package/package.json +1 -1
- package/dist/docx-DVe_bky9.cjs +0 -1
- package/dist/docx-x2SoqFCP.js +0 -871
- package/dist/paint-C7gG2pjf.cjs +0 -1
- package/dist/paint-CIAXt08M.js +0 -98
- package/dist/pptx-DMP47DvZ.cjs +0 -1
- package/dist/pptx-Dr6cMPL2.js +0 -23837
- package/dist/xlsx-B6wdX3-M.cjs +0 -11
- package/dist/xlsx-R5CcrPHg.js +0 -2919
package/README.md
CHANGED
|
@@ -366,12 +366,13 @@ export const PptxViewerComponent = component$<{ src: string }>(({ src }) => {
|
|
|
366
366
|
| **Document** | Page rendering | ✅ |
|
|
367
367
|
| | Page size and margins | ✅ |
|
|
368
368
|
| | Headers / footers (default / first / even) | ✅ |
|
|
369
|
-
| | Section breaks |
|
|
369
|
+
| | Section breaks (continuous / nextPage / oddPage / evenPage) | ✅ |
|
|
370
370
|
| **Text** | Paragraphs | ✅ |
|
|
371
371
|
| | Bold, italic, underline, strikethrough | ✅ |
|
|
372
372
|
| | Font family, size, color | ✅ |
|
|
373
373
|
| | Hyperlinks | ✅ |
|
|
374
374
|
| | Superscript / subscript (`w:vertAlign`) | ✅ |
|
|
375
|
+
| | Ruby annotations / furigana (`w:ruby`) | ✅ |
|
|
375
376
|
| **Formatting** | Paragraph alignment (left/center/right/justify) | ✅ |
|
|
376
377
|
| | Line spacing (auto / atLeast / exact) | ✅ |
|
|
377
378
|
| | Line grid (`w:docGrid`, §17.6.5) | ✅ |
|
|
@@ -400,10 +401,13 @@ export const PptxViewerComponent = component$<{ src: string }>(({ src }) => {
|
|
|
400
401
|
| | Formula results (from cached `<v>`) | ✅ |
|
|
401
402
|
| | Dates (ECMA-376 date format codes) | ✅ |
|
|
402
403
|
| | Rich text (per-run formatting) | ✅ |
|
|
403
|
-
| **Formatting** | Bold, italic, underline, strikethrough | ✅ |
|
|
404
|
+
| **Formatting** | Bold, italic, underline (`single` / `double` / `singleAccounting` / `doubleAccounting`), strikethrough | ✅ |
|
|
405
|
+
| | Superscript / subscript (`vertAlign`) | ✅ |
|
|
404
406
|
| | Font family, size, color | ✅ |
|
|
405
|
-
| | Cell background color | ✅ |
|
|
406
|
-
| |
|
|
407
|
+
| | Cell background color (solid + gradient) | ✅ |
|
|
408
|
+
| | Pattern fills (`gray125` / `gray0625` / `lightGray` / `mediumGray` / `darkGray` and the 12 `light*` / `dark*` directional hatches) | ✅ |
|
|
409
|
+
| | Borders (thin, medium, thick, hair, double, dashed, dotted, dashDotDot, …) | ✅ |
|
|
410
|
+
| | Diagonal borders (`diagonalUp` / `diagonalDown`, single + double) | ✅ |
|
|
407
411
|
| | Horizontal / vertical alignment | ✅ |
|
|
408
412
|
| | Text wrapping | ✅ |
|
|
409
413
|
| | Number formats (`0.00`, `%`, `#,##0`, custom date/time) | ✅ |
|
|
@@ -440,7 +444,7 @@ export const PptxViewerComponent = component$<{ src: string }>(({ src }) => {
|
|
|
440
444
|
| | Slide background (solid, gradient, image) | ✅ |
|
|
441
445
|
| | Slide numbers | ✅ |
|
|
442
446
|
| | Notes pages | ❌ |
|
|
443
|
-
| | Animations / transitions | ❌ |
|
|
447
|
+
| | Animations / transitions | ❌ Not planned |
|
|
444
448
|
| **Element types** | Shapes (`sp`) | ✅ |
|
|
445
449
|
| | Pictures (`pic`) | ✅ |
|
|
446
450
|
| | Groups (`grpSp`) with nested transforms | ✅ |
|
|
@@ -459,19 +463,27 @@ export const PptxViewerComponent = component$<{ src: string }>(({ src }) => {
|
|
|
459
463
|
| **Fills** | Solid fill (`solidFill`) | ✅ |
|
|
460
464
|
| | Linear / radial gradient (`gradFill`) | ✅ |
|
|
461
465
|
| | No fill (`noFill`) | ✅ |
|
|
462
|
-
| | Pattern fill (`pattFill`) |
|
|
466
|
+
| | Pattern fill (`pattFill`) — 30 preset bitmaps incl. pct5–pct90 / horz / vert / cross / diag / grid / brick / check / trellis | ✅ |
|
|
463
467
|
| | Image fill on shapes (`blipFill` in `sp`) | ✅ |
|
|
464
468
|
| **Strokes** | Solid line color and width | ✅ |
|
|
465
469
|
| | Dash / dot styles | ✅ |
|
|
466
470
|
| | Arrow heads (`headEnd` / `tailEnd`) | ✅ |
|
|
467
|
-
| | Compound / double lines |
|
|
471
|
+
| | Compound / double lines (`<a:ln cmpd="dbl|thinThick|thickThin|tri">` — straight connectors) | ✅ |
|
|
468
472
|
| **Shape effects** | Drop shadow (`outerShdw`) | ✅ |
|
|
469
|
-
| |
|
|
473
|
+
| | Glow (`glow` — radius + colour) | ✅ |
|
|
474
|
+
| | Inner shadow (`innerShdw` — parsed; rendering follow-up) | ⚠️ |
|
|
475
|
+
| | Soft edge (`softEdge` — parsed; rendering follow-up) | ⚠️ |
|
|
476
|
+
| | Reflection (`reflection` — parsed; rendering follow-up) | ⚠️ |
|
|
470
477
|
| | Bevel / 3D extrusion | ❌ |
|
|
471
|
-
| **Text — characters** | Bold, italic,
|
|
478
|
+
| **Text — characters** | Bold, italic, strikethrough (incl. `dblStrike`) | ✅ |
|
|
479
|
+
| | Underline styles (`sng` / `dbl` / `dotted` / `dash` / `dashLong` / `dotDash` / `dotDotDash` / `wavy` / `wavyDbl` and `*Heavy` variants) | ✅ |
|
|
480
|
+
| | Per-run underline colour (`uFill` / `uFillTx`) | ✅ |
|
|
472
481
|
| | Font family, size, color | ✅ |
|
|
482
|
+
| | East Asian font (`rPr > a:ea` — separate typeface for CJK glyphs) | ✅ |
|
|
483
|
+
| | Caps transform (`all` / `small`) | ✅ |
|
|
484
|
+
| | Letter spacing (`spc`) | ✅ |
|
|
473
485
|
| | Superscript / subscript | ✅ |
|
|
474
|
-
| | Hyperlinks |
|
|
486
|
+
| | Hyperlinks (`hlinkClick` — theme `hlink` colour + auto underline) | ✅ |
|
|
475
487
|
| | Text shadow / outline effects | ❌ |
|
|
476
488
|
| **Text — paragraphs** | Horizontal alignment (left / center / right / justify) | ✅ |
|
|
477
489
|
| | Vertical anchor (top / center / bottom) | ✅ |
|