odf.js 1.12.0 → 1.12.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 +29 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,6 +10,35 @@
|
|
|
10
10
|
|
|
11
11
|
Both packages **do** depend on [`document-schema.js`](https://github.com/ExaDev/document-schema.js), the genuinely shared canonical schema for `ContentDocument`/`LayoutDocument` — the semantic content model (paragraphs, runs, tables, shapes, slides) both an ODF and an OOXML reader ultimately produce. `odf.js`'s typed readers return the real, imported `ContentSection`/`ContentSlide`/etc. types from that package, not a structurally-similar lookalike, so a downstream consumer (`documents.js`) can run an `.odt` through the exact same layout/pagination engine it already uses for `.docx`, unmodified.
|
|
12
12
|
|
|
13
|
+
```mermaid
|
|
14
|
+
graph TD
|
|
15
|
+
schema("document-schema.js")
|
|
16
|
+
ooxml("ooxml.js")
|
|
17
|
+
odf("odf.js")
|
|
18
|
+
pdfcodec("pdf-codec")
|
|
19
|
+
documents("documents.js")
|
|
20
|
+
cli("document-cli")
|
|
21
|
+
|
|
22
|
+
schema --> ooxml
|
|
23
|
+
schema --> odf
|
|
24
|
+
schema --> pdfcodec
|
|
25
|
+
schema --> documents
|
|
26
|
+
ooxml --> documents
|
|
27
|
+
odf --> documents
|
|
28
|
+
pdfcodec --> documents
|
|
29
|
+
documents --> cli
|
|
30
|
+
odf --> cli
|
|
31
|
+
|
|
32
|
+
click schema "https://github.com/ExaDev/document-schema.js" "document-schema.js"
|
|
33
|
+
click ooxml "https://github.com/ExaDev/ooxml.js" "ooxml.js"
|
|
34
|
+
click odf "https://github.com/ExaDev/odf.js" "odf.js"
|
|
35
|
+
click pdfcodec "https://github.com/ExaDev/pdf-codec" "pdf-codec"
|
|
36
|
+
click documents "https://github.com/ExaDev/documents.js" "documents.js"
|
|
37
|
+
click cli "https://github.com/ExaDev/document-cli" "document-cli"
|
|
38
|
+
|
|
39
|
+
style odf fill:#f9a825,stroke:#333,stroke-width:3px
|
|
40
|
+
```
|
|
41
|
+
|
|
13
42
|
## Status
|
|
14
43
|
|
|
15
44
|
This package is under active development. What's built and shipped:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "odf.js",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.1",
|
|
4
4
|
"description": "Type-safe, lossless round-trip conversion between OpenDocument Format packages (odt, ods, odp) and JSON, hand-written and dependency-minimal, built on Zod 4 codecs.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|