odf.js 1.13.0 → 1.13.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 CHANGED
@@ -16,16 +16,19 @@ graph TD
16
16
  ooxml("ooxml.js")
17
17
  odf("odf.js")
18
18
  pdfcodec("pdf-codec")
19
+ mdcodec("markdown-codec")
19
20
  documents("documents.js")
20
21
  cli("document-cli")
21
22
 
22
23
  schema --> ooxml
23
24
  schema --> odf
24
25
  schema --> pdfcodec
26
+ schema --> mdcodec
25
27
  schema --> documents
26
28
  ooxml --> documents
27
29
  odf --> documents
28
30
  pdfcodec --> documents
31
+ mdcodec --> documents
29
32
  documents --> cli
30
33
  odf --> cli
31
34
 
@@ -33,6 +36,7 @@ graph TD
33
36
  click ooxml "https://github.com/ExaDev/ooxml.js" "ooxml.js"
34
37
  click odf "https://github.com/ExaDev/odf.js" "odf.js"
35
38
  click pdfcodec "https://github.com/ExaDev/pdf-codec" "pdf-codec"
39
+ click mdcodec "https://github.com/ExaDev/markdown-codec" "markdown-codec"
36
40
  click documents "https://github.com/ExaDev/documents.js" "documents.js"
37
41
  click cli "https://github.com/ExaDev/document-cli" "document-cli"
38
42
 
@@ -278,7 +278,7 @@ function readPrintSettings(tableElement, pkg, repeatColumns, repeatRows, manualB
278
278
  pageOrder
279
279
  };
280
280
  if (printRange !== void 0) settings.printRange = printRange;
281
- if (scale !== void 0) settings.scale = scale;
281
+ if (scale !== void 0) settings.scalePercent = scale;
282
282
  if (fitToPages !== void 0) settings.fitToPages = fitToPages;
283
283
  if (repeatRows !== void 0) settings.repeatRows = repeatRows;
284
284
  if (repeatColumns !== void 0) settings.repeatColumns = repeatColumns;
@@ -277,7 +277,7 @@ function readPrintSettings(tableElement, pkg, repeatColumns, repeatRows, manualB
277
277
  pageOrder
278
278
  };
279
279
  if (printRange !== void 0) settings.printRange = printRange;
280
- if (scale !== void 0) settings.scale = scale;
280
+ if (scale !== void 0) settings.scalePercent = scale;
281
281
  if (fitToPages !== void 0) settings.fitToPages = fitToPages;
282
282
  if (repeatRows !== void 0) settings.repeatRows = repeatRows;
283
283
  if (repeatColumns !== void 0) settings.repeatColumns = repeatColumns;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "odf.js",
3
- "version": "1.13.0",
3
+ "version": "1.13.2",
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": {
@@ -69,7 +69,7 @@
69
69
  "license": "MIT",
70
70
  "packageManager": "pnpm@11.6.0",
71
71
  "dependencies": {
72
- "document-schema.js": "^1.5.2",
72
+ "document-schema.js": "^2.0.0",
73
73
  "fast-xml-parser": "^5.10.1",
74
74
  "fflate": "^0.8.3",
75
75
  "zod": "^4.4.3"