@silurus/ooxml 0.62.0 → 0.63.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 +6 -2
- package/dist/docx-BgsF1tJ-.js +2165 -0
- package/dist/docx.mjs +2 -2
- package/dist/index.mjs +3 -3
- package/dist/pptx-BijzE42K.js +2002 -0
- package/dist/pptx.mjs +2 -2
- package/dist/{render-worker-host-5ujZbyy-.js → render-worker-host-BQdHv6kk.js} +1 -1
- package/dist/{render-worker-host-hySSiyes.js → render-worker-host-CtonR-7J.js} +1 -1
- package/dist/render-worker-host-hdFtyBVi.js +27 -0
- package/dist/{src-D377dlK7.js → src-DKY8GvmE.js} +107 -1
- package/dist/types/docx.d.ts +3 -0
- package/dist/types/index.d.ts +37 -1
- package/dist/types/pptx.d.ts +35 -2
- package/dist/{xlsx-CCGJYt-x.js → xlsx-DlPbR_DJ.js} +738 -707
- package/dist/xlsx.mjs +2 -2
- package/package.json +1 -1
- package/dist/docx-T14vhkTM.js +0 -2140
- package/dist/pptx-D26eLmSN.js +0 -1894
- package/dist/render-worker-host-BbPdLKW3.js +0 -27
package/README.md
CHANGED
|
@@ -4,10 +4,11 @@
|
|
|
4
4
|
<img src="docs/images/icon.png" alt="office-open-xml-viewer" width="160" height="160">
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
|
-
#
|
|
7
|
+
# Office Open XML Viewer
|
|
8
8
|
|
|
9
9
|
[](https://www.npmjs.com/package/@silurus/ooxml)
|
|
10
10
|
[](https://www.npmjs.com/package/@silurus/ooxml)
|
|
11
|
+
[](https://marketplace.visualstudio.com/items?itemName=silurus.office-open-xml-viewer)
|
|
11
12
|
[](./LICENSE)
|
|
12
13
|
|
|
13
14
|
**[Live demo](https://ooxml.silurus.dev)**
|
|
@@ -438,7 +439,7 @@ export const PptxViewerComponent = component$<{ src: string }>(({ src }) => {
|
|
|
438
439
|
| | Hyperlinks | ✅ |
|
|
439
440
|
| | Superscript / subscript (`w:vertAlign`) | ✅ |
|
|
440
441
|
| | Ruby annotations / furigana (`w:ruby`) | ✅ |
|
|
441
|
-
| **Formatting** | Paragraph alignment (left/center/right/justify) | ✅ |
|
|
442
|
+
| **Formatting** | Paragraph alignment (left / center / right / justify / distribute — CJK `both`/`distribute` spread by inter-character pitch, §17.18.44) | ✅ |
|
|
442
443
|
| | Line spacing (auto / atLeast / exact) | ✅ |
|
|
443
444
|
| | Line grid (`w:docGrid`, §17.6.5) | ✅ |
|
|
444
445
|
| | Margin collapsing between paragraphs | ✅ |
|
|
@@ -487,6 +488,7 @@ export const PptxViewerComponent = component$<{ src: string }>(({ src }) => {
|
|
|
487
488
|
| | Diagonal borders (`diagonalUp` / `diagonalDown`, single + double) | ✅ |
|
|
488
489
|
| | Horizontal / vertical alignment | ✅ |
|
|
489
490
|
| | Text wrapping | ✅ |
|
|
491
|
+
| | Japanese kinsoku line breaking in wrapped cells (行頭/行末禁則, shared core engine) | ✅ |
|
|
490
492
|
| | Number formats (`0.00`, `%`, `#,##0`, custom date/time) | ✅ |
|
|
491
493
|
| **Structure** | Merged cells | ✅ |
|
|
492
494
|
| | Right-to-left sheets (`sheetView rightToLeft`, §18.3.1.87 — mirrored grid, headers, selection, scroll) | ✅ |
|
|
@@ -529,6 +531,7 @@ export const PptxViewerComponent = component$<{ src: string }>(({ src }) => {
|
|
|
529
531
|
| | Animations / transitions | ❌ Not planned |
|
|
530
532
|
| **Element types** | Shapes (`sp`) | ✅ |
|
|
531
533
|
| | Pictures (`pic`) | ✅ |
|
|
534
|
+
| | SVG images (`asvg:svgBlip` MS-2016 extension — vector drawn from the embedded `.svg`, PNG fallback) | ✅ |
|
|
532
535
|
| | Groups (`grpSp`) with nested transforms | ✅ |
|
|
533
536
|
| | Connectors (`cxnSp`) | ✅ |
|
|
534
537
|
| | Tables (`tbl` in `graphicFrame`) | ✅ |
|
|
@@ -588,6 +591,7 @@ export const PptxViewerComponent = component$<{ src: string }>(({ src }) => {
|
|
|
588
591
|
| | normAutoFit (shrink to fit) | ✅ |
|
|
589
592
|
| | spAutoFit (expand box; suppresses wrap when text fits in one line) | ✅ |
|
|
590
593
|
| | Word wrap / no wrap | ✅ |
|
|
594
|
+
| | Japanese kinsoku line breaking (`a:pPr@eaLnBrk`, §21.1.2.2.7 — 行頭/行末禁則, shared core engine) | ✅ |
|
|
591
595
|
| | Multi-column text body (`numCol` / `spcCol` — balanced flow) | ✅ |
|
|
592
596
|
| | Theme object-default inheritance (`<a:objectDefaults><a:txDef\|spDef>` bodyPr fallback) | ✅ |
|
|
593
597
|
| **Tables** | Cells, rows, columns | ✅ |
|