ooxml-core 1.40.0 → 1.42.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.
Files changed (169) hide show
  1. package/README.md +4 -0
  2. package/dist/PptxHandler-73QIJ6SD.cjs +14 -0
  3. package/dist/{PptxHandler-2WYH66TS.mjs → PptxHandler-A2J4PCOB.mjs} +2 -2
  4. package/dist/PptxHandler-OGLVLX2T.mjs +5 -0
  5. package/dist/{PresentationBuilder-BUUVVMNI.cjs → PresentationBuilder-6S5PJXXF.cjs} +6 -6
  6. package/dist/{PresentationBuilder-VHDHLGIK.mjs → PresentationBuilder-APJKCMVS.mjs} +2 -2
  7. package/dist/{PresentationBuilder-RTHLLHLE.mjs → PresentationBuilder-F3BWDERK.mjs} +3 -3
  8. package/dist/automation/index.cjs +5322 -3452
  9. package/dist/automation/index.mjs +5322 -3452
  10. package/dist/chart/index.cjs +5 -5
  11. package/dist/chart/index.mjs +5 -5
  12. package/dist/{chunk-EXSPNK6W.cjs → chunk-3J6VIKLP.cjs} +3 -3
  13. package/dist/chunk-CODMW5KF.cjs +110 -0
  14. package/dist/{chunk-3E4GSBC7.mjs → chunk-CPSTCCRD.mjs} +4 -4
  15. package/dist/{chunk-6XAAJTA3.mjs → chunk-IPV3J3I5.mjs} +4925 -3049
  16. package/dist/{chunk-HLBIT5H4.mjs → chunk-MXA67O7R.mjs} +1 -1
  17. package/dist/{chunk-OGD5OQK2.mjs → chunk-N6X5CJZP.mjs} +6723 -4840
  18. package/dist/chunk-O3YGBYGZ.mjs +104 -0
  19. package/dist/{chunk-SEGPDD5W.cjs → chunk-QZPOPUI5.cjs} +4925 -3048
  20. package/dist/{chunk-5BVSDSJZ.mjs → chunk-VKFKEVHK.mjs} +1 -1
  21. package/dist/{chunk-AZNF3IOI.mjs → chunk-VV724DWE.mjs} +87 -11
  22. package/dist/{chunk-NHV47JOE.mjs → chunk-XVB3CBNM.mjs} +53 -9
  23. package/dist/{chunk-U6FMLGWH.cjs → chunk-YNQRXFTC.cjs} +1317 -1273
  24. package/dist/{chunk-725QJW4K.mjs → chunk-ZUEN4RQG.mjs} +1 -1
  25. package/dist/color/index.cjs +36 -0
  26. package/dist/color/index.d.ts +1 -0
  27. package/dist/color/index.d.ts.map +1 -1
  28. package/dist/color/index.mjs +35 -1
  29. package/dist/color/office-gradient-stops.d.ts +27 -0
  30. package/dist/color/office-gradient-stops.d.ts.map +1 -0
  31. package/dist/diagram/index.cjs +5223 -3170
  32. package/dist/diagram/index.d.ts +1 -0
  33. package/dist/diagram/index.d.ts.map +1 -1
  34. package/dist/diagram/index.mjs +5218 -3171
  35. package/dist/docx/embedded.cjs +4862 -3000
  36. package/dist/docx/embedded.mjs +4862 -3000
  37. package/dist/docx/index.cjs +4970 -3072
  38. package/dist/docx/index.mjs +4970 -3072
  39. package/dist/docx/layout/index.cjs +4952 -3054
  40. package/dist/docx/layout/index.mjs +4952 -3054
  41. package/dist/docx/load/index.cjs +4999 -3137
  42. package/dist/docx/load/index.mjs +4999 -3137
  43. package/dist/docx/shape-svg.d.ts.map +1 -1
  44. package/dist/docx/ui/index.cjs +4907 -3045
  45. package/dist/docx/ui/index.mjs +4907 -3045
  46. package/dist/drawingml/dash-pattern.d.ts +61 -0
  47. package/dist/drawingml/dash-pattern.d.ts.map +1 -0
  48. package/dist/drawingml/index.cjs +319 -53
  49. package/dist/drawingml/index.d.ts +3 -0
  50. package/dist/drawingml/index.d.ts.map +1 -1
  51. package/dist/drawingml/index.mjs +310 -54
  52. package/dist/drawingml/path-data.d.ts.map +1 -1
  53. package/dist/drawingml/rect-path-gradient.d.ts +17 -0
  54. package/dist/drawingml/rect-path-gradient.d.ts.map +1 -1
  55. package/dist/drawingml/shape-path-gradient.d.ts +57 -0
  56. package/dist/drawingml/shape-path-gradient.d.ts.map +1 -0
  57. package/dist/geometry/index.cjs +4117 -2254
  58. package/dist/geometry/index.mjs +4117 -2255
  59. package/dist/geometry/ooxml-arc.d.ts +10 -1
  60. package/dist/geometry/ooxml-arc.d.ts.map +1 -1
  61. package/dist/geometry/preset-shape-definitions-action-buttons.d.ts +7 -36
  62. package/dist/geometry/preset-shape-definitions-action-buttons.d.ts.map +1 -1
  63. package/dist/geometry/preset-shape-definitions-connectors-brackets.d.ts.map +1 -1
  64. package/dist/geometry/preset-shape-definitions-exact-action-buttons.d.ts +19 -0
  65. package/dist/geometry/preset-shape-definitions-exact-action-buttons.d.ts.map +1 -0
  66. package/dist/geometry/preset-shape-definitions-exact-arcs.d.ts +14 -0
  67. package/dist/geometry/preset-shape-definitions-exact-arcs.d.ts.map +1 -0
  68. package/dist/geometry/preset-shape-definitions-exact-arrows.d.ts +11 -0
  69. package/dist/geometry/preset-shape-definitions-exact-arrows.d.ts.map +1 -0
  70. package/dist/geometry/preset-shape-definitions-exact-basic.d.ts +12 -0
  71. package/dist/geometry/preset-shape-definitions-exact-basic.d.ts.map +1 -0
  72. package/dist/geometry/preset-shape-definitions-exact-circular.d.ts +18 -0
  73. package/dist/geometry/preset-shape-definitions-exact-circular.d.ts.map +1 -0
  74. package/dist/geometry/preset-shape-definitions-exact-ellipse-ribbons.d.ts +16 -0
  75. package/dist/geometry/preset-shape-definitions-exact-ellipse-ribbons.d.ts.map +1 -0
  76. package/dist/geometry/preset-shape-definitions-exact-funnel.d.ts +13 -0
  77. package/dist/geometry/preset-shape-definitions-exact-funnel.d.ts.map +1 -0
  78. package/dist/geometry/preset-shape-definitions-exact-left-right-ribbon.d.ts +13 -0
  79. package/dist/geometry/preset-shape-definitions-exact-left-right-ribbon.d.ts.map +1 -0
  80. package/dist/geometry/preset-shape-definitions-exact-math.d.ts +14 -0
  81. package/dist/geometry/preset-shape-definitions-exact-math.d.ts.map +1 -0
  82. package/dist/geometry/preset-shape-definitions-exact-misc.d.ts +11 -0
  83. package/dist/geometry/preset-shape-definitions-exact-misc.d.ts.map +1 -0
  84. package/dist/geometry/preset-shape-definitions-exact-ribbons.d.ts +12 -0
  85. package/dist/geometry/preset-shape-definitions-exact-ribbons.d.ts.map +1 -0
  86. package/dist/geometry/preset-shape-definitions-exact-scrolls.d.ts +13 -0
  87. package/dist/geometry/preset-shape-definitions-exact-scrolls.d.ts.map +1 -0
  88. package/dist/geometry/preset-shape-definitions-flowchart.d.ts.map +1 -1
  89. package/dist/geometry/preset-shape-definitions-misc.d.ts.map +1 -1
  90. package/dist/geometry/preset-shape-definitions-table.d.ts.map +1 -1
  91. package/dist/geometry/preset-shape-exact-dsl.d.ts +30 -0
  92. package/dist/geometry/preset-shape-exact-dsl.d.ts.map +1 -0
  93. package/dist/index.cjs +7637 -5216
  94. package/dist/index.mjs +7637 -5216
  95. package/dist/pptx/automation/index.cjs +5683 -3508
  96. package/dist/pptx/automation/index.d.ts +11 -17
  97. package/dist/pptx/automation/index.d.ts.map +1 -1
  98. package/dist/pptx/automation/index.mjs +156 -71
  99. package/dist/pptx/chunks/{elements-DheCTwi0.d.ts → elements-PBugbKtv.d.ts} +3 -848
  100. package/dist/pptx/chunks/elements-PBugbKtv.d.ts.map +1 -0
  101. package/dist/pptx/chunks/{index-Jcce8TlI.d.ts → index-BJuR8GLL.d.ts} +4 -4
  102. package/dist/pptx/chunks/{index-Jcce8TlI.d.ts.map → index-BJuR8GLL.d.ts.map} +1 -1
  103. package/dist/pptx/chunks/{index-CYukxWbl.d.ts → index-Rbvl2WaM.d.ts} +32 -13
  104. package/dist/pptx/chunks/index-Rbvl2WaM.d.ts.map +1 -0
  105. package/dist/pptx/chunks/{index-B4ofjG6_.d.ts → index-xoJGYTgQ.d.ts} +5 -3
  106. package/dist/pptx/chunks/index-xoJGYTgQ.d.ts.map +1 -0
  107. package/dist/pptx/chunks/table-C7ITXL3Y.d.ts +875 -0
  108. package/dist/pptx/chunks/table-C7ITXL3Y.d.ts.map +1 -0
  109. package/dist/pptx/chunks/{text-operations-CdgEnFuK.d.ts → text-operations-BNJr7aGa.d.ts} +3 -2
  110. package/dist/pptx/chunks/text-operations-BNJr7aGa.d.ts.map +1 -0
  111. package/dist/pptx/cli/index.cjs +5419 -3335
  112. package/dist/pptx/cli/index.d.ts +1 -1
  113. package/dist/pptx/cli/index.mjs +4 -4
  114. package/dist/pptx/converter/index.cjs +4936 -2978
  115. package/dist/pptx/converter/index.d.ts +1 -1
  116. package/dist/pptx/converter/index.mjs +2 -2
  117. package/dist/pptx/editor/render/custom-show-operations.cjs +2 -2
  118. package/dist/pptx/editor/render/custom-show-operations.mjs +1 -1
  119. package/dist/pptx/editor/render/find-replace.cjs +15 -15
  120. package/dist/pptx/editor/render/find-replace.d.ts +2 -2
  121. package/dist/pptx/editor/render/find-replace.mjs +2 -2
  122. package/dist/pptx/editor/render/slide-operations.cjs +9 -9
  123. package/dist/pptx/editor/render/slide-operations.mjs +3 -3
  124. package/dist/pptx/editor/render/table-data-grid-ops.cjs +5 -5
  125. package/dist/pptx/editor/render/table-data-grid-ops.mjs +1 -1
  126. package/dist/pptx/editor/render/table-layout.cjs +6 -6
  127. package/dist/pptx/editor/render/table-layout.d.ts +8 -37
  128. package/dist/pptx/editor/render/table-layout.d.ts.map +1 -1
  129. package/dist/pptx/editor/render/table-layout.mjs +1 -1
  130. package/dist/pptx/editor/render/text-runs-style-patch.d.ts +1 -1
  131. package/dist/pptx/editor/render/text-style-scope.d.ts +1 -1
  132. package/dist/pptx/index.cjs +7298 -5162
  133. package/dist/pptx/index.d.ts +7 -6
  134. package/dist/pptx/index.mjs +5 -5
  135. package/dist/pptx/node/index.d.ts +1 -1
  136. package/dist/teams/index.cjs +5332 -3307
  137. package/dist/teams/index.mjs +5332 -3307
  138. package/dist/text/font-metrics/design-advances.generated.d.ts +3 -1
  139. package/dist/text/font-metrics/design-advances.generated.d.ts.map +1 -1
  140. package/dist/text/font-metrics/office-font-metrics.generated.d.ts +23 -0
  141. package/dist/text/font-metrics/office-font-metrics.generated.d.ts.map +1 -0
  142. package/dist/text/font-metrics/vertical-metrics.d.ts +35 -0
  143. package/dist/text/font-metrics/vertical-metrics.d.ts.map +1 -0
  144. package/dist/text/index.cjs +268 -0
  145. package/dist/text/index.d.ts +1 -0
  146. package/dist/text/index.d.ts.map +1 -1
  147. package/dist/text/index.mjs +267 -1
  148. package/dist/visio/index.cjs +8 -0
  149. package/dist/visio/index.mjs +8 -0
  150. package/dist/visio/ui/index.cjs +8 -0
  151. package/dist/visio/ui/index.mjs +8 -0
  152. package/dist/xlsx/collab/index.cjs +5084 -3222
  153. package/dist/xlsx/collab/index.mjs +5084 -3222
  154. package/dist/xlsx/index.cjs +5298 -3404
  155. package/dist/xlsx/index.mjs +5298 -3404
  156. package/dist/xlsx/layout/shape-paint.d.ts.map +1 -1
  157. package/dist/xlsx/load/index.cjs +5103 -3241
  158. package/dist/xlsx/load/index.mjs +5103 -3241
  159. package/dist/xlsx/ui/index.cjs +5261 -3399
  160. package/dist/xlsx/ui/index.mjs +5261 -3399
  161. package/package.json +1 -1
  162. package/dist/PptxHandler-SD6VWF3I.mjs +0 -5
  163. package/dist/PptxHandler-ZHWWOO2X.cjs +0 -14
  164. package/dist/chunk-3IT6ZD7K.mjs +0 -213
  165. package/dist/chunk-FRUB573B.cjs +0 -219
  166. package/dist/pptx/chunks/elements-DheCTwi0.d.ts.map +0 -1
  167. package/dist/pptx/chunks/index-B4ofjG6_.d.ts.map +0 -1
  168. package/dist/pptx/chunks/index-CYukxWbl.d.ts.map +0 -1
  169. package/dist/pptx/chunks/text-operations-CdgEnFuK.d.ts.map +0 -1
package/README.md CHANGED
@@ -192,6 +192,10 @@ const part = resolvePartPath('word/document.xml', rels.get('rId5')!.target);
192
192
 
193
193
  `ooxml-core` is developed in the [ChristopherVR/ooxml](https://github.com/ChristopherVR/ooxml) repository, which also holds [`ooxml-ui`](https://www.npmjs.com/package/ooxml-ui), the MCP servers and the Word, Excel, Visio and OpenTeams viewers. Its README covers the repository layout, the development workflow and releases, and the [roadmap](https://github.com/ChristopherVR/ooxml/blob/main/docs/roadmap.md) says what comes next; the working agreements are in [AGENTS.md](../../AGENTS.md) and [CONTRIBUTING.md](../../CONTRIBUTING.md), and [PROVENANCE.md](../../PROVENANCE.md) records where each module came from.
194
194
 
195
+ ## Privacy and network use
196
+
197
+ `ooxml-core` parses, edits and writes documents locally and never uploads them. It contacts a server only when you ask it to: a source URL you pass, collaboration or Teams servers you configure, OneDrive when you set it up, and, in Node signature inspection, the OCSP responder named in a signing certificate. Linked pictures are not fetched by default. Nothing collects analytics or telemetry. See [PRIVACY.md](https://github.com/ChristopherVR/ooxml/blob/main/PRIVACY.md).
198
+
195
199
  ## License
196
200
 
197
201
  [Apache-2.0](LICENSE). Third-party notices are in [NOTICE](NOTICE) and [THIRD-PARTY-LICENSES](THIRD-PARTY-LICENSES).
@@ -0,0 +1,14 @@
1
+ 'use strict';
2
+
3
+ var chunkYNQRXFTC_cjs = require('./chunk-YNQRXFTC.cjs');
4
+ require('./chunk-3J6VIKLP.cjs');
5
+ require('./chunk-QZPOPUI5.cjs');
6
+ require('./chunk-XZPZHXV4.cjs');
7
+ require('./chunk-5W2QL4SB.cjs');
8
+
9
+
10
+
11
+ Object.defineProperty(exports, "PptxHandler", {
12
+ enumerable: true,
13
+ get: function () { return chunkYNQRXFTC_cjs.PptxHandler; }
14
+ });
@@ -1,5 +1,5 @@
1
- export { PptxHandler } from './chunk-AZNF3IOI.mjs';
2
- import './chunk-OGD5OQK2.mjs';
1
+ export { PptxHandler } from './chunk-VV724DWE.mjs';
2
+ import './chunk-N6X5CJZP.mjs';
3
3
  import './chunk-EYCM7RVL.mjs';
4
4
  import './chunk-2N7RZQLC.mjs';
5
5
  import './chunk-VDUNZTJC.mjs';
@@ -0,0 +1,5 @@
1
+ export { PptxHandler } from './chunk-XVB3CBNM.mjs';
2
+ import './chunk-VKFKEVHK.mjs';
3
+ import './chunk-IPV3J3I5.mjs';
4
+ import './chunk-GXHKNSZX.mjs';
5
+ import './chunk-CA7KCNL3.mjs';
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkU6FMLGWH_cjs = require('./chunk-U6FMLGWH.cjs');
4
- require('./chunk-EXSPNK6W.cjs');
5
- require('./chunk-SEGPDD5W.cjs');
3
+ var chunkYNQRXFTC_cjs = require('./chunk-YNQRXFTC.cjs');
4
+ require('./chunk-3J6VIKLP.cjs');
5
+ require('./chunk-QZPOPUI5.cjs');
6
6
  require('./chunk-XZPZHXV4.cjs');
7
7
  require('./chunk-5W2QL4SB.cjs');
8
8
 
@@ -10,13 +10,13 @@ require('./chunk-5W2QL4SB.cjs');
10
10
 
11
11
  Object.defineProperty(exports, "PresentationBuilder", {
12
12
  enumerable: true,
13
- get: function () { return chunkU6FMLGWH_cjs.PresentationBuilder; }
13
+ get: function () { return chunkYNQRXFTC_cjs.PresentationBuilder; }
14
14
  });
15
15
  Object.defineProperty(exports, "STANDARD_LAYOUTS", {
16
16
  enumerable: true,
17
- get: function () { return chunkU6FMLGWH_cjs.STANDARD_LAYOUTS; }
17
+ get: function () { return chunkYNQRXFTC_cjs.STANDARD_LAYOUTS; }
18
18
  });
19
19
  Object.defineProperty(exports, "buildBlankPresentationArchive", {
20
20
  enumerable: true,
21
- get: function () { return chunkU6FMLGWH_cjs.buildBlankPresentationArchive; }
21
+ get: function () { return chunkYNQRXFTC_cjs.buildBlankPresentationArchive; }
22
22
  });
@@ -1,5 +1,5 @@
1
- export { PresentationBuilder, STANDARD_LAYOUTS, buildBlankPresentationArchive } from './chunk-AZNF3IOI.mjs';
2
- import './chunk-OGD5OQK2.mjs';
1
+ export { PresentationBuilder, STANDARD_LAYOUTS, buildBlankPresentationArchive } from './chunk-VV724DWE.mjs';
2
+ import './chunk-N6X5CJZP.mjs';
3
3
  import './chunk-EYCM7RVL.mjs';
4
4
  import './chunk-2N7RZQLC.mjs';
5
5
  import './chunk-VDUNZTJC.mjs';
@@ -1,5 +1,5 @@
1
- export { PresentationBuilder, STANDARD_LAYOUTS, buildBlankPresentationArchive } from './chunk-NHV47JOE.mjs';
2
- import './chunk-5BVSDSJZ.mjs';
3
- import './chunk-6XAAJTA3.mjs';
1
+ export { PresentationBuilder, STANDARD_LAYOUTS, buildBlankPresentationArchive } from './chunk-XVB3CBNM.mjs';
2
+ import './chunk-VKFKEVHK.mjs';
3
+ import './chunk-IPV3J3I5.mjs';
4
4
  import './chunk-GXHKNSZX.mjs';
5
5
  import './chunk-CA7KCNL3.mjs';