@silurus/ooxml 0.55.0 → 0.57.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 +14 -6
- package/dist/docx-BWAno6Ct.js +1661 -0
- package/dist/docx.mjs +2 -2
- package/dist/index.mjs +4 -4
- package/dist/math.mjs +1 -1
- package/dist/pptx-5Y2LWU2Z.js +1614 -0
- package/dist/pptx.mjs +2 -2
- package/dist/src-BM-QyfQO.js +29312 -0
- package/dist/types/docx.d.ts +87 -20
- package/dist/types/index.d.ts +590 -12
- package/dist/types/pptx.d.ts +368 -25
- package/dist/types/xlsx.d.ts +124 -38
- package/dist/xlsx-qDuC11Rx.js +3502 -0
- package/dist/xlsx.mjs +2 -2
- package/package.json +1 -1
- package/dist/bridge-BFwyMqvY.js +0 -228
- package/dist/docx-DtI9YHuK.js +0 -1320
- package/dist/pptx-BeLN0lIn.js +0 -23526
- package/dist/preset-D4KAeT8N.js +0 -1276
- package/dist/renderer-C25pbJro.js +0 -1025
- package/dist/xlsx-B0LYjpRC.js +0 -3446
- /package/dist/{mathjax-DWYWI9GF.js → mathjax-CNh-4Cw1.js} +0 -0
package/README.md
CHANGED
|
@@ -411,7 +411,11 @@ export const PptxViewerComponent = component$<{ src: string }>(({ src }) => {
|
|
|
411
411
|
| | Table style borders / shading / banding (`tblStylePr`, `cnfStyle`, §17.4.7) | ✅ |
|
|
412
412
|
| | Table of contents (TOC field) — dot leaders, right-aligned page numbers | ✅ |
|
|
413
413
|
| | keepNext / keepLines / widowControl | ✅ |
|
|
414
|
+
| | Right-to-left text — UAX#9 bidi, `w:bidi` / `w:rtl`, complex-script formatting (`w:szCs` / `w:bCs` / `rFonts@cs`, §17.3.2.26), RTL lists and indents | ✅ |
|
|
415
|
+
| | Japanese kinsoku line breaking (`w:kinsoku`, §17.15.1.58 — 行頭/行末禁則) | ✅ |
|
|
414
416
|
| **Elements** | Tables (with borders, fills, merges, banding, alignment) | ✅ |
|
|
417
|
+
| | Table auto-layout by preferred widths (`w:tblLayout` autofit, §17.4.52; min content width) | ✅ |
|
|
418
|
+
| | Right-to-left table column order (`w:bidiVisual`, §17.4.1) | ✅ |
|
|
415
419
|
| | Math equations (OMML `m:oMath` / `m:oMathPara`, rendered via MathJax — opt-in `@silurus/ooxml/math`) | ✅ |
|
|
416
420
|
| | Images (inline and anchored, with text wrap) | ✅ |
|
|
417
421
|
| | Text boxes / drawing shapes | ✅ |
|
|
@@ -445,11 +449,12 @@ export const PptxViewerComponent = component$<{ src: string }>(({ src }) => {
|
|
|
445
449
|
| | Text wrapping | ✅ |
|
|
446
450
|
| | Number formats (`0.00`, `%`, `#,##0`, custom date/time) | ✅ |
|
|
447
451
|
| **Structure** | Merged cells | ✅ |
|
|
452
|
+
| | Right-to-left sheets (`sheetView rightToLeft`, §18.3.1.87 — mirrored grid, headers, selection, scroll) | ✅ |
|
|
448
453
|
| | Frozen panes | ✅ |
|
|
449
454
|
| | Row / column sizing (custom widths and heights) | ✅ |
|
|
450
455
|
| | Hidden rows / columns | ✅ |
|
|
451
456
|
| **Elements** | Images (`<xdr:twoCellAnchor>`) | ✅ |
|
|
452
|
-
| | Drawing shapes / text boxes (`xdr:sp`, `xdr:txBody`) | ✅ |
|
|
457
|
+
| | Drawing shapes / text boxes (`xdr:sp`, `xdr:txBody` — 186 preset geometries via the shared engine, with `avLst` adjust handles) | ✅ |
|
|
453
458
|
| | Math equations in shapes (OMML `m:oMath` / `m:oMathPara` in `xdr:txBody`, incl. `a14:m` / `mc:AlternateContent`; rendered via MathJax — opt-in `@silurus/ooxml/math`) | ✅ |
|
|
454
459
|
| | Charts (bar, line, area, radar, scatter / bubble) | ✅ |
|
|
455
460
|
| | Chart markers (circle / square / diamond / triangle / x / plus / star / dot / dash, per-point `<c:dPt>` overrides) | ✅ |
|
|
@@ -507,12 +512,15 @@ export const PptxViewerComponent = component$<{ src: string }>(({ src }) => {
|
|
|
507
512
|
| | Dash / dot styles | ✅ |
|
|
508
513
|
| | Arrow heads (`headEnd` / `tailEnd`) | ✅ |
|
|
509
514
|
| | Compound / double lines (`<a:ln cmpd="dbl|thinThick|thickThin|tri">` — straight connectors) | ✅ |
|
|
515
|
+
| | Picture border (`a:ln` on `p:pic`) — stroked along the clip silhouette | ✅ |
|
|
510
516
|
| **Shape effects** | Drop shadow (`outerShdw`) | ✅ |
|
|
511
517
|
| | Glow (`glow` — radius + colour) | ✅ |
|
|
512
|
-
| | Inner shadow (`innerShdw`
|
|
513
|
-
| | Soft edge (`softEdge`
|
|
514
|
-
| | Reflection (`reflection`
|
|
515
|
-
| |
|
|
518
|
+
| | Inner shadow (`innerShdw`) | ✅ |
|
|
519
|
+
| | Soft edge (`softEdge`) | ✅ |
|
|
520
|
+
| | Reflection (`reflection`) | ✅ |
|
|
521
|
+
| | 3D camera / perspective projection (`scene3d` camera + `rot`) on pictures | ✅ |
|
|
522
|
+
| | 3D contour edge (`sp3d` `contourW` / `contourClr`) on pictures — flat approximation, no bevel shading | ⚠️ |
|
|
523
|
+
| | Bevel / 3D extrusion (`sp3d` `bevelT` / `bevelB` / `extrusionH`) | ⚠️ parsed; rendering planned |
|
|
516
524
|
| **Text — characters** | Bold, italic, strikethrough (incl. `dblStrike`) | ✅ |
|
|
517
525
|
| | Underline styles (`sng` / `dbl` / `dotted` / `dash` / `dashLong` / `dotDash` / `dotDotDash` / `wavy` / `wavyDbl` and `*Heavy` variants) | ✅ |
|
|
518
526
|
| | Per-run underline colour (`uFill` / `uFillTx`) | ✅ |
|
|
@@ -533,7 +541,7 @@ export const PptxViewerComponent = component$<{ src: string }>(({ src }) => {
|
|
|
533
541
|
| | Tab stops | ✅ |
|
|
534
542
|
| | Indent / margin | ✅ |
|
|
535
543
|
| | Vertical text (`bodyPr@vert` — vert / vert270 / eaVert) | ✅ |
|
|
536
|
-
| | Right-to-left
|
|
544
|
+
| | Right-to-left text — UAX#9 bidi engine, `pPr@rtl`, RTL bullets, `bodyPr@rtlCol` column order, `tblPr@rtl` tables | ✅ |
|
|
537
545
|
| **Text — body** | Text padding (insets) | ✅ |
|
|
538
546
|
| | normAutoFit (shrink to fit) | ✅ |
|
|
539
547
|
| | spAutoFit (expand box; suppresses wrap when text fits in one line) | ✅ |
|