js.documents 1.75.0 → 1.75.2
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 +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -185,7 +185,7 @@ import { decodePackage } from 'ooxml.js';
|
|
|
185
185
|
|
|
186
186
|
const { comments, footnotes, headers, footers, numbering } = readDocxExtras(decodePackage(docxBytes));
|
|
187
187
|
console.log(comments[0]?.author, comments[0]?.text, footnotes[0]?.text, headers[0], footers[0]);
|
|
188
|
-
console.log(Object.values(numbering)[0]?.levels['0']?.format); // numbering is keyed by
|
|
188
|
+
console.log(Object.values(numbering)[0]?.levels['0']?.format); // numbering is keyed by numId, each level by its own level index
|
|
189
189
|
```
|
|
190
190
|
|
|
191
191
|
`openPptx`/`createPptx` and `PptxSlide`/`PptxShape` are the pptx equivalent (`slide.addTextBox`, `slide.addImage`, `shape.setParagraphs` for multi-paragraph styled text).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "js.documents",
|
|
3
|
-
"version": "1.75.
|
|
3
|
+
"version": "1.75.2",
|
|
4
4
|
"description": "Bidirectional docx/pptx <-> PDF conversion and a read+write editable OOXML document model, built on ooxml.js and Zod 4 codecs.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"markdown-codec": "^1.1.0",
|
|
64
64
|
"odf.js": "^2.3.0",
|
|
65
65
|
"ooxml.js": "^2.6.10",
|
|
66
|
-
"pdf-codec": "^1.
|
|
66
|
+
"pdf-codec": "^1.11.0",
|
|
67
67
|
"zod": "^4.4.3"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|