ooxml-core 0.2.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 (586) hide show
  1. package/LICENSE +202 -0
  2. package/NOTICE +3 -0
  3. package/README.md +125 -0
  4. package/THIRD-PARTY-LICENSES +26 -0
  5. package/dist/collab/assets.d.ts +42 -0
  6. package/dist/collab/assets.d.ts.map +1 -0
  7. package/dist/collab/awareness.d.ts +65 -0
  8. package/dist/collab/awareness.d.ts.map +1 -0
  9. package/dist/collab/binding.d.ts +36 -0
  10. package/dist/collab/binding.d.ts.map +1 -0
  11. package/dist/collab/codec.d.ts +37 -0
  12. package/dist/collab/codec.d.ts.map +1 -0
  13. package/dist/collab/emitter.d.ts +11 -0
  14. package/dist/collab/emitter.d.ts.map +1 -0
  15. package/dist/collab/external-provider.d.ts +50 -0
  16. package/dist/collab/external-provider.d.ts.map +1 -0
  17. package/dist/collab/identity.d.ts +48 -0
  18. package/dist/collab/identity.d.ts.map +1 -0
  19. package/dist/collab/index.cjs +1328 -0
  20. package/dist/collab/index.d.ts +18 -0
  21. package/dist/collab/index.d.ts.map +1 -0
  22. package/dist/collab/index.mjs +1225 -0
  23. package/dist/collab/lifecycle.d.ts +62 -0
  24. package/dist/collab/lifecycle.d.ts.map +1 -0
  25. package/dist/collab/memory-transport.d.ts +19 -0
  26. package/dist/collab/memory-transport.d.ts.map +1 -0
  27. package/dist/collab/ordering.d.ts +53 -0
  28. package/dist/collab/ordering.d.ts.map +1 -0
  29. package/dist/collab/policy.d.ts +39 -0
  30. package/dist/collab/policy.d.ts.map +1 -0
  31. package/dist/collab/presence.d.ts +61 -0
  32. package/dist/collab/presence.d.ts.map +1 -0
  33. package/dist/collab/provider.d.ts +55 -0
  34. package/dist/collab/provider.d.ts.map +1 -0
  35. package/dist/collab/session.d.ts +70 -0
  36. package/dist/collab/session.d.ts.map +1 -0
  37. package/dist/collab/transport-provider.d.ts +13 -0
  38. package/dist/collab/transport-provider.d.ts.map +1 -0
  39. package/dist/collab/validation.d.ts +38 -0
  40. package/dist/collab/validation.d.ts.map +1 -0
  41. package/dist/collab/websocket-transport.d.ts +33 -0
  42. package/dist/collab/websocket-transport.d.ts.map +1 -0
  43. package/dist/color/color-linear.d.ts +5 -0
  44. package/dist/color/color-linear.d.ts.map +1 -0
  45. package/dist/color/color-primitives.d.ts +183 -0
  46. package/dist/color/color-primitives.d.ts.map +1 -0
  47. package/dist/color/index.cjs +177 -0
  48. package/dist/color/index.d.ts +3 -0
  49. package/dist/color/index.d.ts.map +1 -0
  50. package/dist/color/index.mjs +161 -0
  51. package/dist/diagram/attributes.d.ts +12 -0
  52. package/dist/diagram/attributes.d.ts.map +1 -0
  53. package/dist/diagram/data-model.d.ts +18 -0
  54. package/dist/diagram/data-model.d.ts.map +1 -0
  55. package/dist/diagram/definitions.d.ts +14 -0
  56. package/dist/diagram/definitions.d.ts.map +1 -0
  57. package/dist/diagram/dom.d.ts +15 -0
  58. package/dist/diagram/dom.d.ts.map +1 -0
  59. package/dist/diagram/drawing-color.d.ts +28 -0
  60. package/dist/diagram/drawing-color.d.ts.map +1 -0
  61. package/dist/diagram/drawing-fill.d.ts +9 -0
  62. package/dist/diagram/drawing-fill.d.ts.map +1 -0
  63. package/dist/diagram/drawing-geometry.d.ts +23 -0
  64. package/dist/diagram/drawing-geometry.d.ts.map +1 -0
  65. package/dist/diagram/drawing-text.d.ts +5 -0
  66. package/dist/diagram/drawing-text.d.ts.map +1 -0
  67. package/dist/diagram/drawing.d.ts +7 -0
  68. package/dist/diagram/drawing.d.ts.map +1 -0
  69. package/dist/diagram/index.cjs +1193 -0
  70. package/dist/diagram/index.d.ts +14 -0
  71. package/dist/diagram/index.d.ts.map +1 -0
  72. package/dist/diagram/index.mjs +1161 -0
  73. package/dist/diagram/layout-category.d.ts +8 -0
  74. package/dist/diagram/layout-category.d.ts.map +1 -0
  75. package/dist/diagram/load.d.ts +36 -0
  76. package/dist/diagram/load.d.ts.map +1 -0
  77. package/dist/diagram/relationships.d.ts +35 -0
  78. package/dist/diagram/relationships.d.ts.map +1 -0
  79. package/dist/diagram/types.d.ts +306 -0
  80. package/dist/diagram/types.d.ts.map +1 -0
  81. package/dist/docx/block-parser.d.ts +13 -0
  82. package/dist/docx/block-parser.d.ts.map +1 -0
  83. package/dist/docx/bookmarks.d.ts +18 -0
  84. package/dist/docx/bookmarks.d.ts.map +1 -0
  85. package/dist/docx/breaks.d.ts +11 -0
  86. package/dist/docx/breaks.d.ts.map +1 -0
  87. package/dist/docx/character-styles.d.ts +4 -0
  88. package/dist/docx/character-styles.d.ts.map +1 -0
  89. package/dist/docx/comment-spans.d.ts +19 -0
  90. package/dist/docx/comment-spans.d.ts.map +1 -0
  91. package/dist/docx/comments.d.ts +4 -0
  92. package/dist/docx/comments.d.ts.map +1 -0
  93. package/dist/docx/core-properties.d.ts +18 -0
  94. package/dist/docx/core-properties.d.ts.map +1 -0
  95. package/dist/docx/default-styles.d.ts +8 -0
  96. package/dist/docx/default-styles.d.ts.map +1 -0
  97. package/dist/docx/defined-props.d.ts +9 -0
  98. package/dist/docx/defined-props.d.ts.map +1 -0
  99. package/dist/docx/diagram-document.d.ts +9 -0
  100. package/dist/docx/diagram-document.d.ts.map +1 -0
  101. package/dist/docx/diagram-theme.d.ts +8 -0
  102. package/dist/docx/diagram-theme.d.ts.map +1 -0
  103. package/dist/docx/diagram.d.ts +89 -0
  104. package/dist/docx/diagram.d.ts.map +1 -0
  105. package/dist/docx/docpr-ids.d.ts +14 -0
  106. package/dist/docx/docpr-ids.d.ts.map +1 -0
  107. package/dist/docx/document-parts.d.ts +18 -0
  108. package/dist/docx/document-parts.d.ts.map +1 -0
  109. package/dist/docx/drawing.d.ts +13 -0
  110. package/dist/docx/drawing.d.ts.map +1 -0
  111. package/dist/docx/element-order.d.ts +13 -0
  112. package/dist/docx/element-order.d.ts.map +1 -0
  113. package/dist/docx/embedded.cjs +7646 -0
  114. package/dist/docx/embedded.d.ts +5 -0
  115. package/dist/docx/embedded.d.ts.map +1 -0
  116. package/dist/docx/embedded.mjs +7639 -0
  117. package/dist/docx/expect-defined.d.ts +3 -0
  118. package/dist/docx/expect-defined.d.ts.map +1 -0
  119. package/dist/docx/field-date.d.ts +10 -0
  120. package/dist/docx/field-date.d.ts.map +1 -0
  121. package/dist/docx/field-runs.d.ts +10 -0
  122. package/dist/docx/field-runs.d.ts.map +1 -0
  123. package/dist/docx/generated/wml-simple-types.d.ts +298 -0
  124. package/dist/docx/generated/wml-simple-types.d.ts.map +1 -0
  125. package/dist/docx/heading-list-kinds.d.ts +10 -0
  126. package/dist/docx/heading-list-kinds.d.ts.map +1 -0
  127. package/dist/docx/highlight.d.ts +5 -0
  128. package/dist/docx/highlight.d.ts.map +1 -0
  129. package/dist/docx/hyperlink.d.ts +8 -0
  130. package/dist/docx/hyperlink.d.ts.map +1 -0
  131. package/dist/docx/index.cjs +9784 -0
  132. package/dist/docx/index.d.ts +40 -0
  133. package/dist/docx/index.d.ts.map +1 -0
  134. package/dist/docx/index.mjs +9456 -0
  135. package/dist/docx/inline-model.d.ts +68 -0
  136. package/dist/docx/inline-model.d.ts.map +1 -0
  137. package/dist/docx/language.d.ts +3 -0
  138. package/dist/docx/language.d.ts.map +1 -0
  139. package/dist/docx/layout/adapt-drop-cap.d.ts +10 -0
  140. package/dist/docx/layout/adapt-drop-cap.d.ts.map +1 -0
  141. package/dist/docx/layout/adapt-floats.d.ts +8 -0
  142. package/dist/docx/layout/adapt-floats.d.ts.map +1 -0
  143. package/dist/docx/layout/adapt-notes.d.ts +13 -0
  144. package/dist/docx/layout/adapt-notes.d.ts.map +1 -0
  145. package/dist/docx/layout/adapt-paragraph-box.d.ts +12 -0
  146. package/dist/docx/layout/adapt-paragraph-box.d.ts.map +1 -0
  147. package/dist/docx/layout/adapt-table.d.ts +12 -0
  148. package/dist/docx/layout/adapt-table.d.ts.map +1 -0
  149. package/dist/docx/layout/adapter.d.ts +5 -0
  150. package/dist/docx/layout/adapter.d.ts.map +1 -0
  151. package/dist/docx/layout/floats.d.ts +20 -0
  152. package/dist/docx/layout/floats.d.ts.map +1 -0
  153. package/dist/docx/layout/flow-paragraph.d.ts +26 -0
  154. package/dist/docx/layout/flow-paragraph.d.ts.map +1 -0
  155. package/dist/docx/layout/flow-table.d.ts +12 -0
  156. package/dist/docx/layout/flow-table.d.ts.map +1 -0
  157. package/dist/docx/layout/fonts.d.ts +3 -0
  158. package/dist/docx/layout/fonts.d.ts.map +1 -0
  159. package/dist/docx/layout/index.cjs +2537 -0
  160. package/dist/docx/layout/index.d.ts +20 -0
  161. package/dist/docx/layout/index.d.ts.map +1 -0
  162. package/dist/docx/layout/index.mjs +2503 -0
  163. package/dist/docx/layout/input.d.ts +206 -0
  164. package/dist/docx/layout/input.d.ts.map +1 -0
  165. package/dist/docx/layout/keep-rules.d.ts +24 -0
  166. package/dist/docx/layout/keep-rules.d.ts.map +1 -0
  167. package/dist/docx/layout/layout.d.ts +9 -0
  168. package/dist/docx/layout/layout.d.ts.map +1 -0
  169. package/dist/docx/layout/ligatures.d.ts +4 -0
  170. package/dist/docx/layout/ligatures.d.ts.map +1 -0
  171. package/dist/docx/layout/line-metrics.d.ts +21 -0
  172. package/dist/docx/layout/line-metrics.d.ts.map +1 -0
  173. package/dist/docx/layout/measure.d.ts +34 -0
  174. package/dist/docx/layout/measure.d.ts.map +1 -0
  175. package/dist/docx/layout/page-cursor.d.ts +45 -0
  176. package/dist/docx/layout/page-cursor.d.ts.map +1 -0
  177. package/dist/docx/layout/page-flow.d.ts +7 -0
  178. package/dist/docx/layout/page-flow.d.ts.map +1 -0
  179. package/dist/docx/layout/paragraph-fragments.d.ts +6 -0
  180. package/dist/docx/layout/paragraph-fragments.d.ts.map +1 -0
  181. package/dist/docx/layout/paragraph-layout.d.ts +37 -0
  182. package/dist/docx/layout/paragraph-layout.d.ts.map +1 -0
  183. package/dist/docx/layout/paragraph-tokens.d.ts +27 -0
  184. package/dist/docx/layout/paragraph-tokens.d.ts.map +1 -0
  185. package/dist/docx/layout/result.d.ts +139 -0
  186. package/dist/docx/layout/result.d.ts.map +1 -0
  187. package/dist/docx/layout/tab-stops.d.ts +14 -0
  188. package/dist/docx/layout/tab-stops.d.ts.map +1 -0
  189. package/dist/docx/layout/table-layout.d.ts +30 -0
  190. package/dist/docx/layout/table-layout.d.ts.map +1 -0
  191. package/dist/docx/layout/test-helpers.d.ts +3 -0
  192. package/dist/docx/layout/test-helpers.d.ts.map +1 -0
  193. package/dist/docx/layout/text-breaks.d.ts +56 -0
  194. package/dist/docx/layout/text-breaks.d.ts.map +1 -0
  195. package/dist/docx/layout/units.d.ts +17 -0
  196. package/dist/docx/layout/units.d.ts.map +1 -0
  197. package/dist/docx/layout/wrap.d.ts +22 -0
  198. package/dist/docx/layout/wrap.d.ts.map +1 -0
  199. package/dist/docx/ligatures.d.ts +9 -0
  200. package/dist/docx/ligatures.d.ts.map +1 -0
  201. package/dist/docx/load/detect.d.ts +6 -0
  202. package/dist/docx/load/detect.d.ts.map +1 -0
  203. package/dist/docx/load/index.cjs +8869 -0
  204. package/dist/docx/load/index.d.ts +3 -0
  205. package/dist/docx/load/index.d.ts.map +1 -0
  206. package/dist/docx/load/index.mjs +8860 -0
  207. package/dist/docx/load/legacy-doc.d.ts +7 -0
  208. package/dist/docx/load/legacy-doc.d.ts.map +1 -0
  209. package/dist/docx/model-paragraph.d.ts +100 -0
  210. package/dist/docx/model-paragraph.d.ts.map +1 -0
  211. package/dist/docx/model-run.d.ts +110 -0
  212. package/dist/docx/model-run.d.ts.map +1 -0
  213. package/dist/docx/model.d.ts +114 -0
  214. package/dist/docx/model.d.ts.map +1 -0
  215. package/dist/docx/notes.d.ts +9 -0
  216. package/dist/docx/notes.d.ts.map +1 -0
  217. package/dist/docx/numbering-editing.d.ts +30 -0
  218. package/dist/docx/numbering-editing.d.ts.map +1 -0
  219. package/dist/docx/numbering-format.d.ts +17 -0
  220. package/dist/docx/numbering-format.d.ts.map +1 -0
  221. package/dist/docx/numbering-model.d.ts +73 -0
  222. package/dist/docx/numbering-model.d.ts.map +1 -0
  223. package/dist/docx/numbering-package.d.ts +12 -0
  224. package/dist/docx/numbering-package.d.ts.map +1 -0
  225. package/dist/docx/numbering-parse.d.ts +8 -0
  226. package/dist/docx/numbering-parse.d.ts.map +1 -0
  227. package/dist/docx/numbering-parts.d.ts +4 -0
  228. package/dist/docx/numbering-parts.d.ts.map +1 -0
  229. package/dist/docx/numbering-text.d.ts +20 -0
  230. package/dist/docx/numbering-text.d.ts.map +1 -0
  231. package/dist/docx/numbering-write.d.ts +5 -0
  232. package/dist/docx/numbering-write.d.ts.map +1 -0
  233. package/dist/docx/package-parts.d.ts +4 -0
  234. package/dist/docx/package-parts.d.ts.map +1 -0
  235. package/dist/docx/page-background.d.ts +9 -0
  236. package/dist/docx/page-background.d.ts.map +1 -0
  237. package/dist/docx/page-borders.d.ts +9 -0
  238. package/dist/docx/page-borders.d.ts.map +1 -0
  239. package/dist/docx/paragraph-alignment.d.ts +21 -0
  240. package/dist/docx/paragraph-alignment.d.ts.map +1 -0
  241. package/dist/docx/paragraph-styles.d.ts +15 -0
  242. package/dist/docx/paragraph-styles.d.ts.map +1 -0
  243. package/dist/docx/parse-diagnostics.d.ts +10 -0
  244. package/dist/docx/parse-diagnostics.d.ts.map +1 -0
  245. package/dist/docx/parse-revisions.d.ts +36 -0
  246. package/dist/docx/parse-revisions.d.ts.map +1 -0
  247. package/dist/docx/parse-table.d.ts +5 -0
  248. package/dist/docx/parse-table.d.ts.map +1 -0
  249. package/dist/docx/parse-warnings.d.ts +9 -0
  250. package/dist/docx/parse-warnings.d.ts.map +1 -0
  251. package/dist/docx/parse.d.ts +13 -0
  252. package/dist/docx/parse.d.ts.map +1 -0
  253. package/dist/docx/part-relationships.d.ts +12 -0
  254. package/dist/docx/part-relationships.d.ts.map +1 -0
  255. package/dist/docx/relationship-allocator.d.ts +32 -0
  256. package/dist/docx/relationship-allocator.d.ts.map +1 -0
  257. package/dist/docx/relationships.d.ts +3 -0
  258. package/dist/docx/relationships.d.ts.map +1 -0
  259. package/dist/docx/resolve-table.d.ts +8 -0
  260. package/dist/docx/resolve-table.d.ts.map +1 -0
  261. package/dist/docx/revision-commands.d.ts +27 -0
  262. package/dist/docx/revision-commands.d.ts.map +1 -0
  263. package/dist/docx/revision-ids.d.ts +10 -0
  264. package/dist/docx/revision-ids.d.ts.map +1 -0
  265. package/dist/docx/run-formatting.d.ts +16 -0
  266. package/dist/docx/run-formatting.d.ts.map +1 -0
  267. package/dist/docx/run-properties.d.ts +5 -0
  268. package/dist/docx/run-properties.d.ts.map +1 -0
  269. package/dist/docx/run-style-model.d.ts +21 -0
  270. package/dist/docx/run-style-model.d.ts.map +1 -0
  271. package/dist/docx/save.d.ts +5 -0
  272. package/dist/docx/save.d.ts.map +1 -0
  273. package/dist/docx/section-model.d.ts +97 -0
  274. package/dist/docx/section-model.d.ts.map +1 -0
  275. package/dist/docx/sections.d.ts +18 -0
  276. package/dist/docx/sections.d.ts.map +1 -0
  277. package/dist/docx/settings.d.ts +11 -0
  278. package/dist/docx/settings.d.ts.map +1 -0
  279. package/dist/docx/simple-types.d.ts +37 -0
  280. package/dist/docx/simple-types.d.ts.map +1 -0
  281. package/dist/docx/style-numbering-package.d.ts +11 -0
  282. package/dist/docx/style-numbering-package.d.ts.map +1 -0
  283. package/dist/docx/tab-stops.d.ts +8 -0
  284. package/dist/docx/tab-stops.d.ts.map +1 -0
  285. package/dist/docx/table-borders.d.ts +15 -0
  286. package/dist/docx/table-borders.d.ts.map +1 -0
  287. package/dist/docx/table-cell-write.d.ts +12 -0
  288. package/dist/docx/table-cell-write.d.ts.map +1 -0
  289. package/dist/docx/table-defaults.d.ts +20 -0
  290. package/dist/docx/table-defaults.d.ts.map +1 -0
  291. package/dist/docx/table-model.d.ts +101 -0
  292. package/dist/docx/table-model.d.ts.map +1 -0
  293. package/dist/docx/table-of-contents.d.ts +67 -0
  294. package/dist/docx/table-of-contents.d.ts.map +1 -0
  295. package/dist/docx/table-of-figures.d.ts +10 -0
  296. package/dist/docx/table-of-figures.d.ts.map +1 -0
  297. package/dist/docx/table-styles.d.ts +4 -0
  298. package/dist/docx/table-styles.d.ts.map +1 -0
  299. package/dist/docx/table-visuals.d.ts +22 -0
  300. package/dist/docx/table-visuals.d.ts.map +1 -0
  301. package/dist/docx/test-support/access.d.ts +14 -0
  302. package/dist/docx/test-support/access.d.ts.map +1 -0
  303. package/dist/docx/test-support/heading-numbering-fixture.d.ts +5 -0
  304. package/dist/docx/test-support/heading-numbering-fixture.d.ts.map +1 -0
  305. package/dist/docx/test-support/restart-fixture.d.ts +17 -0
  306. package/dist/docx/test-support/restart-fixture.d.ts.map +1 -0
  307. package/dist/docx/test-support/schema-validation.d.ts +24 -0
  308. package/dist/docx/test-support/schema-validation.d.ts.map +1 -0
  309. package/dist/docx/theme-color.d.ts +16 -0
  310. package/dist/docx/theme-color.d.ts.map +1 -0
  311. package/dist/docx/theme-model.d.ts +31 -0
  312. package/dist/docx/theme-model.d.ts.map +1 -0
  313. package/dist/docx/theme.d.ts +6 -0
  314. package/dist/docx/theme.d.ts.map +1 -0
  315. package/dist/docx/underline.d.ts +5 -0
  316. package/dist/docx/underline.d.ts.map +1 -0
  317. package/dist/docx/units.d.ts +2 -0
  318. package/dist/docx/units.d.ts.map +1 -0
  319. package/dist/docx/validate-issues.d.ts +40 -0
  320. package/dist/docx/validate-issues.d.ts.map +1 -0
  321. package/dist/docx/validate-model.d.ts +8 -0
  322. package/dist/docx/validate-model.d.ts.map +1 -0
  323. package/dist/docx/validate-paragraph.d.ts +10 -0
  324. package/dist/docx/validate-paragraph.d.ts.map +1 -0
  325. package/dist/docx/validate-structure.d.ts +10 -0
  326. package/dist/docx/validate-structure.d.ts.map +1 -0
  327. package/dist/docx/watermark.d.ts +14 -0
  328. package/dist/docx/watermark.d.ts.map +1 -0
  329. package/dist/docx/write-comments.d.ts +12 -0
  330. package/dist/docx/write-comments.d.ts.map +1 -0
  331. package/dist/docx/write-drawing.d.ts +12 -0
  332. package/dist/docx/write-drawing.d.ts.map +1 -0
  333. package/dist/docx/write-header-footer.d.ts +21 -0
  334. package/dist/docx/write-header-footer.d.ts.map +1 -0
  335. package/dist/docx/write-inline.d.ts +23 -0
  336. package/dist/docx/write-inline.d.ts.map +1 -0
  337. package/dist/docx/write-notes.d.ts +5 -0
  338. package/dist/docx/write-notes.d.ts.map +1 -0
  339. package/dist/docx/write-paragraph-decoration.d.ts +5 -0
  340. package/dist/docx/write-paragraph-decoration.d.ts.map +1 -0
  341. package/dist/docx/write-paragraph-properties.d.ts +4 -0
  342. package/dist/docx/write-paragraph-properties.d.ts.map +1 -0
  343. package/dist/docx/write-paragraph.d.ts +8 -0
  344. package/dist/docx/write-paragraph.d.ts.map +1 -0
  345. package/dist/docx/write-ranges.d.ts +42 -0
  346. package/dist/docx/write-ranges.d.ts.map +1 -0
  347. package/dist/docx/write-revisions.d.ts +10 -0
  348. package/dist/docx/write-revisions.d.ts.map +1 -0
  349. package/dist/docx/write-run-extra.d.ts +5 -0
  350. package/dist/docx/write-run-extra.d.ts.map +1 -0
  351. package/dist/docx/write-run-validation.d.ts +4 -0
  352. package/dist/docx/write-run-validation.d.ts.map +1 -0
  353. package/dist/docx/write-run.d.ts +7 -0
  354. package/dist/docx/write-run.d.ts.map +1 -0
  355. package/dist/docx/write-sections.d.ts +10 -0
  356. package/dist/docx/write-sections.d.ts.map +1 -0
  357. package/dist/docx/write-table-properties.d.ts +13 -0
  358. package/dist/docx/write-table-properties.d.ts.map +1 -0
  359. package/dist/docx/write-table.d.ts +9 -0
  360. package/dist/docx/write-table.d.ts.map +1 -0
  361. package/dist/docx/write-text-box.d.ts +15 -0
  362. package/dist/docx/write-text-box.d.ts.map +1 -0
  363. package/dist/docx/write.d.ts +25 -0
  364. package/dist/docx/write.d.ts.map +1 -0
  365. package/dist/docx/xml.d.ts +14 -0
  366. package/dist/docx/xml.d.ts.map +1 -0
  367. package/dist/docx/zip-parts.d.ts +5 -0
  368. package/dist/docx/zip-parts.d.ts.map +1 -0
  369. package/dist/geometry/adjustment-aware-shapes.d.ts +63 -0
  370. package/dist/geometry/adjustment-aware-shapes.d.ts.map +1 -0
  371. package/dist/geometry/callout-geometry.d.ts +65 -0
  372. package/dist/geometry/callout-geometry.d.ts.map +1 -0
  373. package/dist/geometry/cloud-bezier-paths.d.ts +55 -0
  374. package/dist/geometry/cloud-bezier-paths.d.ts.map +1 -0
  375. package/dist/geometry/com-avlst-ground-truth.d.ts +48 -0
  376. package/dist/geometry/com-avlst-ground-truth.d.ts.map +1 -0
  377. package/dist/geometry/connector-elbow-geometry.d.ts +41 -0
  378. package/dist/geometry/connector-elbow-geometry.d.ts.map +1 -0
  379. package/dist/geometry/guide-formula-api.d.ts +55 -0
  380. package/dist/geometry/guide-formula-api.d.ts.map +1 -0
  381. package/dist/geometry/guide-formula-eval.d.ts +85 -0
  382. package/dist/geometry/guide-formula-eval.d.ts.map +1 -0
  383. package/dist/geometry/index.cjs +15031 -0
  384. package/dist/geometry/index.d.ts +80 -0
  385. package/dist/geometry/index.d.ts.map +1 -0
  386. package/dist/geometry/index.mjs +14897 -0
  387. package/dist/geometry/indexed.d.ts +6 -0
  388. package/dist/geometry/indexed.d.ts.map +1 -0
  389. package/dist/geometry/preset-clip-paths-core.d.ts +20 -0
  390. package/dist/geometry/preset-clip-paths-core.d.ts.map +1 -0
  391. package/dist/geometry/preset-clip-paths-extended.d.ts +19 -0
  392. package/dist/geometry/preset-clip-paths-extended.d.ts.map +1 -0
  393. package/dist/geometry/preset-connection-sites-action-buttons.d.ts +14 -0
  394. package/dist/geometry/preset-connection-sites-action-buttons.d.ts.map +1 -0
  395. package/dist/geometry/preset-connection-sites-arrows-curved.d.ts +12 -0
  396. package/dist/geometry/preset-connection-sites-arrows-curved.d.ts.map +1 -0
  397. package/dist/geometry/preset-connection-sites-arrows-misc.d.ts +13 -0
  398. package/dist/geometry/preset-connection-sites-arrows-misc.d.ts.map +1 -0
  399. package/dist/geometry/preset-connection-sites-arrows.d.ts +13 -0
  400. package/dist/geometry/preset-connection-sites-arrows.d.ts.map +1 -0
  401. package/dist/geometry/preset-connection-sites-basic-a.d.ts +12 -0
  402. package/dist/geometry/preset-connection-sites-basic-a.d.ts.map +1 -0
  403. package/dist/geometry/preset-connection-sites-basic-b.d.ts +12 -0
  404. package/dist/geometry/preset-connection-sites-basic-b.d.ts.map +1 -0
  405. package/dist/geometry/preset-connection-sites-braces.d.ts +12 -0
  406. package/dist/geometry/preset-connection-sites-braces.d.ts.map +1 -0
  407. package/dist/geometry/preset-connection-sites-callouts-arrow.d.ts +14 -0
  408. package/dist/geometry/preset-connection-sites-callouts-arrow.d.ts.map +1 -0
  409. package/dist/geometry/preset-connection-sites-callouts-basic.d.ts +12 -0
  410. package/dist/geometry/preset-connection-sites-callouts-basic.d.ts.map +1 -0
  411. package/dist/geometry/preset-connection-sites-circular-arrow.d.ts +14 -0
  412. package/dist/geometry/preset-connection-sites-circular-arrow.d.ts.map +1 -0
  413. package/dist/geometry/preset-connection-sites-flowchart.d.ts +19 -0
  414. package/dist/geometry/preset-connection-sites-flowchart.d.ts.map +1 -0
  415. package/dist/geometry/preset-connection-sites-gear9.d.ts +12 -0
  416. package/dist/geometry/preset-connection-sites-gear9.d.ts.map +1 -0
  417. package/dist/geometry/preset-connection-sites-left-circular-arrow.d.ts +12 -0
  418. package/dist/geometry/preset-connection-sites-left-circular-arrow.d.ts.map +1 -0
  419. package/dist/geometry/preset-connection-sites-left-right-circular-arrow.d.ts +13 -0
  420. package/dist/geometry/preset-connection-sites-left-right-circular-arrow.d.ts.map +1 -0
  421. package/dist/geometry/preset-connection-sites-math.d.ts +12 -0
  422. package/dist/geometry/preset-connection-sites-math.d.ts.map +1 -0
  423. package/dist/geometry/preset-connection-sites-misc.d.ts +14 -0
  424. package/dist/geometry/preset-connection-sites-misc.d.ts.map +1 -0
  425. package/dist/geometry/preset-connection-sites-polygons.d.ts +12 -0
  426. package/dist/geometry/preset-connection-sites-polygons.d.ts.map +1 -0
  427. package/dist/geometry/preset-connection-sites-quads.d.ts +14 -0
  428. package/dist/geometry/preset-connection-sites-quads.d.ts.map +1 -0
  429. package/dist/geometry/preset-connection-sites-rects.d.ts +14 -0
  430. package/dist/geometry/preset-connection-sites-rects.d.ts.map +1 -0
  431. package/dist/geometry/preset-connection-sites-ribbons.d.ts +12 -0
  432. package/dist/geometry/preset-connection-sites-ribbons.d.ts.map +1 -0
  433. package/dist/geometry/preset-connection-sites-stars.d.ts +13 -0
  434. package/dist/geometry/preset-connection-sites-stars.d.ts.map +1 -0
  435. package/dist/geometry/preset-connection-sites-table.d.ts +23 -0
  436. package/dist/geometry/preset-connection-sites-table.d.ts.map +1 -0
  437. package/dist/geometry/preset-connection-sites-tabs.d.ts +11 -0
  438. package/dist/geometry/preset-connection-sites-tabs.d.ts.map +1 -0
  439. package/dist/geometry/preset-connection-sites-types.d.ts +52 -0
  440. package/dist/geometry/preset-connection-sites-types.d.ts.map +1 -0
  441. package/dist/geometry/preset-geometry-names.d.ts +53 -0
  442. package/dist/geometry/preset-geometry-names.d.ts.map +1 -0
  443. package/dist/geometry/preset-shape-clip-paths.d.ts +13 -0
  444. package/dist/geometry/preset-shape-clip-paths.d.ts.map +1 -0
  445. package/dist/geometry/preset-shape-definitions-action-buttons.d.ts +45 -0
  446. package/dist/geometry/preset-shape-definitions-action-buttons.d.ts.map +1 -0
  447. package/dist/geometry/preset-shape-definitions-arrow-callouts.d.ts +55 -0
  448. package/dist/geometry/preset-shape-definitions-arrow-callouts.d.ts.map +1 -0
  449. package/dist/geometry/preset-shape-definitions-arrows-refined.d.ts +45 -0
  450. package/dist/geometry/preset-shape-definitions-arrows-refined.d.ts.map +1 -0
  451. package/dist/geometry/preset-shape-definitions-arrows.d.ts +52 -0
  452. package/dist/geometry/preset-shape-definitions-arrows.d.ts.map +1 -0
  453. package/dist/geometry/preset-shape-definitions-chart-marks.d.ts +23 -0
  454. package/dist/geometry/preset-shape-definitions-chart-marks.d.ts.map +1 -0
  455. package/dist/geometry/preset-shape-definitions-cloud-callout.d.ts +28 -0
  456. package/dist/geometry/preset-shape-definitions-cloud-callout.d.ts.map +1 -0
  457. package/dist/geometry/preset-shape-definitions-connectors-brackets.d.ts +37 -0
  458. package/dist/geometry/preset-shape-definitions-connectors-brackets.d.ts.map +1 -0
  459. package/dist/geometry/preset-shape-definitions-curved-arrows-connectors.d.ts +43 -0
  460. package/dist/geometry/preset-shape-definitions-curved-arrows-connectors.d.ts.map +1 -0
  461. package/dist/geometry/preset-shape-definitions-curved-arrows-exact.d.ts +30 -0
  462. package/dist/geometry/preset-shape-definitions-curved-arrows-exact.d.ts.map +1 -0
  463. package/dist/geometry/preset-shape-definitions-flowchart.d.ts +29 -0
  464. package/dist/geometry/preset-shape-definitions-flowchart.d.ts.map +1 -0
  465. package/dist/geometry/preset-shape-definitions-gear6.d.ts +38 -0
  466. package/dist/geometry/preset-shape-definitions-gear6.d.ts.map +1 -0
  467. package/dist/geometry/preset-shape-definitions-gear9.d.ts +24 -0
  468. package/dist/geometry/preset-shape-definitions-gear9.d.ts.map +1 -0
  469. package/dist/geometry/preset-shape-definitions-misc.d.ts +38 -0
  470. package/dist/geometry/preset-shape-definitions-misc.d.ts.map +1 -0
  471. package/dist/geometry/preset-shape-definitions-rects-snips.d.ts +28 -0
  472. package/dist/geometry/preset-shape-definitions-rects-snips.d.ts.map +1 -0
  473. package/dist/geometry/preset-shape-definitions-scrolls-accent-callouts.d.ts +45 -0
  474. package/dist/geometry/preset-shape-definitions-scrolls-accent-callouts.d.ts.map +1 -0
  475. package/dist/geometry/preset-shape-definitions-table.d.ts +121 -0
  476. package/dist/geometry/preset-shape-definitions-table.d.ts.map +1 -0
  477. package/dist/geometry/preset-shape-definitions-tabs-decorations.d.ts +48 -0
  478. package/dist/geometry/preset-shape-definitions-tabs-decorations.d.ts.map +1 -0
  479. package/dist/geometry/preset-shape-definitions.d.ts +28 -0
  480. package/dist/geometry/preset-shape-definitions.d.ts.map +1 -0
  481. package/dist/geometry/preset-shape-paths.d.ts +13 -0
  482. package/dist/geometry/preset-shape-paths.d.ts.map +1 -0
  483. package/dist/geometry/preset-shape-types.d.ts +33 -0
  484. package/dist/geometry/preset-shape-types.d.ts.map +1 -0
  485. package/dist/geometry/preset-text-rect-action-buttons.d.ts +13 -0
  486. package/dist/geometry/preset-text-rect-action-buttons.d.ts.map +1 -0
  487. package/dist/geometry/preset-text-rect-arrows.d.ts +3 -0
  488. package/dist/geometry/preset-text-rect-arrows.d.ts.map +1 -0
  489. package/dist/geometry/preset-text-rect-braces.d.ts +3 -0
  490. package/dist/geometry/preset-text-rect-braces.d.ts.map +1 -0
  491. package/dist/geometry/preset-text-rect-callouts.d.ts +3 -0
  492. package/dist/geometry/preset-text-rect-callouts.d.ts.map +1 -0
  493. package/dist/geometry/preset-text-rect-circular-arrows.d.ts +3 -0
  494. package/dist/geometry/preset-text-rect-circular-arrows.d.ts.map +1 -0
  495. package/dist/geometry/preset-text-rect-flowchart.d.ts +3 -0
  496. package/dist/geometry/preset-text-rect-flowchart.d.ts.map +1 -0
  497. package/dist/geometry/preset-text-rect-misc-a.d.ts +3 -0
  498. package/dist/geometry/preset-text-rect-misc-a.d.ts.map +1 -0
  499. package/dist/geometry/preset-text-rect-misc-b.d.ts +3 -0
  500. package/dist/geometry/preset-text-rect-misc-b.d.ts.map +1 -0
  501. package/dist/geometry/preset-text-rect-polygons.d.ts +3 -0
  502. package/dist/geometry/preset-text-rect-polygons.d.ts.map +1 -0
  503. package/dist/geometry/preset-text-rect-quads.d.ts +3 -0
  504. package/dist/geometry/preset-text-rect-quads.d.ts.map +1 -0
  505. package/dist/geometry/preset-text-rect-ribbons.d.ts +3 -0
  506. package/dist/geometry/preset-text-rect-ribbons.d.ts.map +1 -0
  507. package/dist/geometry/preset-text-rect-stars.d.ts +3 -0
  508. package/dist/geometry/preset-text-rect-stars.d.ts.map +1 -0
  509. package/dist/geometry/preset-text-rect-table.d.ts +20 -0
  510. package/dist/geometry/preset-text-rect-table.d.ts.map +1 -0
  511. package/dist/geometry/preset-text-rect-tabs.d.ts +3 -0
  512. package/dist/geometry/preset-text-rect-tabs.d.ts.map +1 -0
  513. package/dist/geometry/preset-text-rect-types.d.ts +46 -0
  514. package/dist/geometry/preset-text-rect-types.d.ts.map +1 -0
  515. package/dist/geometry/shape-boolean-clipping.d.ts +70 -0
  516. package/dist/geometry/shape-boolean-clipping.d.ts.map +1 -0
  517. package/dist/geometry/shape-boolean-ops.d.ts +142 -0
  518. package/dist/geometry/shape-boolean-ops.d.ts.map +1 -0
  519. package/dist/geometry/shape-boolean-svg.d.ts +31 -0
  520. package/dist/geometry/shape-boolean-svg.d.ts.map +1 -0
  521. package/dist/geometry/shape-boolean-types.d.ts +91 -0
  522. package/dist/geometry/shape-boolean-types.d.ts.map +1 -0
  523. package/dist/geometry/shape-boolean-union.d.ts +79 -0
  524. package/dist/geometry/shape-boolean-union.d.ts.map +1 -0
  525. package/dist/geometry/shape-boolean.d.ts +22 -0
  526. package/dist/geometry/shape-boolean.d.ts.map +1 -0
  527. package/dist/geometry/shape-definitions-extended.d.ts +18 -0
  528. package/dist/geometry/shape-definitions-extended.d.ts.map +1 -0
  529. package/dist/geometry/shape-definitions-primary.d.ts +19 -0
  530. package/dist/geometry/shape-definitions-primary.d.ts.map +1 -0
  531. package/dist/index.cjs +16618 -0
  532. package/dist/index.d.ts +7 -0
  533. package/dist/index.d.ts.map +1 -0
  534. package/dist/index.mjs +16611 -0
  535. package/dist/opc/content-types.d.ts +14 -0
  536. package/dist/opc/content-types.d.ts.map +1 -0
  537. package/dist/opc/index.cjs +228 -0
  538. package/dist/opc/index.d.ts +6 -0
  539. package/dist/opc/index.d.ts.map +1 -0
  540. package/dist/opc/index.mjs +212 -0
  541. package/dist/opc/package.d.ts +14 -0
  542. package/dist/opc/package.d.ts.map +1 -0
  543. package/dist/opc/relationship-types.d.ts +34 -0
  544. package/dist/opc/relationship-types.d.ts.map +1 -0
  545. package/dist/opc/relationships.d.ts +29 -0
  546. package/dist/opc/relationships.d.ts.map +1 -0
  547. package/dist/opc/safe-href.d.ts +3 -0
  548. package/dist/opc/safe-href.d.ts.map +1 -0
  549. package/dist/pptx/chunks/index-CojJtI77.d.ts +9627 -0
  550. package/dist/pptx/chunks/index-CojJtI77.d.ts.map +1 -0
  551. package/dist/pptx/chunks/signature-inspection-status-Bh2oap7B.d.ts +220 -0
  552. package/dist/pptx/chunks/signature-inspection-status-Bh2oap7B.d.ts.map +1 -0
  553. package/dist/pptx/chunks/text-operations-IlJiffp7.d.ts +11122 -0
  554. package/dist/pptx/chunks/text-operations-IlJiffp7.d.ts.map +1 -0
  555. package/dist/pptx/cli/index.cjs +138457 -0
  556. package/dist/pptx/cli/index.d.ts +139 -0
  557. package/dist/pptx/cli/index.d.ts.map +1 -0
  558. package/dist/pptx/cli/index.mjs +138424 -0
  559. package/dist/pptx/converter/index.cjs +32084 -0
  560. package/dist/pptx/converter/index.d.ts +2 -0
  561. package/dist/pptx/converter/index.mjs +32060 -0
  562. package/dist/pptx/index.cjs +172307 -0
  563. package/dist/pptx/index.d.ts +9692 -0
  564. package/dist/pptx/index.d.ts.map +1 -0
  565. package/dist/pptx/index.mjs +171623 -0
  566. package/dist/pptx/signature-node/index.cjs +1299 -0
  567. package/dist/pptx/signature-node/index.d.ts +172 -0
  568. package/dist/pptx/signature-node/index.d.ts.map +1 -0
  569. package/dist/pptx/signature-node/index.mjs +1236 -0
  570. package/dist/units/constants.d.ts +13 -0
  571. package/dist/units/constants.d.ts.map +1 -0
  572. package/dist/units/index.cjs +76 -0
  573. package/dist/units/index.d.ts +3 -0
  574. package/dist/units/index.d.ts.map +1 -0
  575. package/dist/units/index.mjs +45 -0
  576. package/dist/units/units.d.ts +52 -0
  577. package/dist/units/units.d.ts.map +1 -0
  578. package/dist/xml/index.cjs +98 -0
  579. package/dist/xml/index.d.ts +3 -0
  580. package/dist/xml/index.d.ts.map +1 -0
  581. package/dist/xml/index.mjs +85 -0
  582. package/dist/xml/namespaces.d.ts +47 -0
  583. package/dist/xml/namespaces.d.ts.map +1 -0
  584. package/dist/xml/xml.d.ts +31 -0
  585. package/dist/xml/xml.d.ts.map +1 -0
  586. package/package.json +192 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-geometry-names.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-geometry-names.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,SAAS,MAAM,EA4LjD,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CA4BpE,CAAC;AASF;;;GAGG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAE/D;AAED;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAUjF"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Master lookup: lowercase OOXML preset name → CSS `clip-path` value.
3
+ * Returns `undefined` for shapes that need SVG rendering.
4
+ */
5
+ export declare const PRESET_SHAPE_CLIP_PATHS: Record<string, string | undefined>;
6
+ /**
7
+ * Lookup a clip-path for any OOXML preset geometry name.
8
+ * Returns `undefined` when the shape should be rendered as a
9
+ * full rectangle (no clipping) or when a more complex SVG
10
+ * rendering is needed.
11
+ */
12
+ export declare function getPresetShapeClipPath(presetName: string | undefined): string | undefined;
13
+ //# sourceMappingURL=preset-shape-clip-paths.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-shape-clip-paths.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-shape-clip-paths.ts"],"names":[],"mappings":"AAWA;;;GAGG;AACH,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAGtE,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,UAAU,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAKzF"}
@@ -0,0 +1,45 @@
1
+ /**
2
+ * ECMA-376 ST_ShapeType preset geometry definitions — action buttons.
3
+ *
4
+ * The 12 `actionButton*` shapes (`actionButtonBlank`, `actionButtonHome`,
5
+ * `actionButtonHelp`, `actionButtonInformation`, `actionButtonForwardNext`,
6
+ * `actionButtonBackPrevious`, `actionButtonEnd`, `actionButtonBeginning`,
7
+ * `actionButtonReturn`, `actionButtonDocument`, `actionButtonSound`,
8
+ * `actionButtonMovie`) all share the same OOXML preset geometry: a beveled
9
+ * rectangle. The inner glyph (home / help / sound / etc.) is rendered
10
+ * separately by the React layer via `ActionButtonGlyphOverlay`, so we only
11
+ * need to express the button frame here.
12
+ *
13
+ * Geometry: outer rectangle covering the full bounds, plus an inner inset
14
+ * rectangle (the bevel "well"). The inset is `ss / 16` — i.e. one sixteenth
15
+ * of the shorter side, i.e. the fixed literal fraction `6250` in the
16
+ * canonical 100000-based OOXML scale. COM-verified 2026-09-05
17
+ * (`Shape.Adjustments.Count` reads 0 for every `actionButton*` AutoShape at
18
+ * any size): unlike `roundRect`/`octagon`/etc., this fraction is NOT an
19
+ * adjustable guide in real PowerPoint - the 12 `actionButton*` presets ship
20
+ * with an EMPTY `avLst`, so a saved file that carries an `<a:gd name="adj"
21
+ * .../>` for one of them is authoring a guide name PowerPoint's own preset
22
+ * geometry does not recognise (the same corruption class documented in
23
+ * `preset-adjustment-validation.ts`: an unrecognised guide name on a preset
24
+ * that HAS real guides makes PowerPoint refuse to open the file). Diagonal
25
+ * lines from each outer corner to the matching inner corner ensure a
26
+ * stroked outline reads as a true bevel.
27
+ *
28
+ * All twelve shapes use identical geometry: a single helper, `buildActionButton`,
29
+ * stamps each definition with the right `name` so the table stays a one-line
30
+ * declaration per shape.
31
+ *
32
+ * Aggregation into `PRESET_SHAPE_GEOMETRY_TABLE` is performed manually in
33
+ * `preset-shape-definitions-table.ts` after batch agents return.
34
+ */
35
+ import type { PresetShapeGeometryDefinition } from './preset-shape-definitions-table.js';
36
+ /**
37
+ * Action-button preset definitions exported for manual aggregation into
38
+ * `PRESET_SHAPE_GEOMETRY_TABLE`. Keys are ECMA-376 ST_ShapeType names.
39
+ *
40
+ * NOTE: this constant name (`ACTION_BUTTON_PRESET_DEFINITIONS`) intentionally
41
+ * differs from the React package's `ACTION_BUTTON_PRESETS` (editor-side icon
42
+ * paths) so the two never collide.
43
+ */
44
+ export declare const ACTION_BUTTON_PRESET_DEFINITIONS: Record<string, PresetShapeGeometryDefinition>;
45
+ //# sourceMappingURL=preset-shape-definitions-action-buttons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-shape-definitions-action-buttons.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-shape-definitions-action-buttons.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAEH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AA8EzF;;;;;;;GAOG;AACH,eAAO,MAAM,gCAAgC,EAAE,MAAM,CAAC,MAAM,EAAE,6BAA6B,CAa1F,CAAC"}
@@ -0,0 +1,55 @@
1
+ /**
2
+ * ECMA-376 ST_ShapeType preset geometry definitions — arrow callouts +
3
+ * `leftUpArrow`.
4
+ *
5
+ * This batch authors the 10 arrow-callout family shapes whose geometry is
6
+ * defined in Microsoft's `presetShapeDefinitions.xml` (ISO/IEC 29500-1
7
+ * §20.1.10.55):
8
+ *
9
+ * • `leftArrowCallout`, `rightArrowCallout`, `upArrowCallout`,
10
+ * `downArrowCallout`
11
+ * • `leftRightArrowCallout`, `upDownArrowCallout`, `quadArrowCallout`
12
+ * • `bentArrowCallout`, `bentUpArrowCallout`
13
+ * • `leftUpArrow` (L-shaped two-direction arrow combining left + up)
14
+ *
15
+ * Each callout shape is an arrow with a rectangular text "callout" body
16
+ * appended to its tail. Adjustments:
17
+ * • adj1 = arrow-head body width as % of (h/2 or w/2 depending on orient.)
18
+ * • adj2 = arrow-shaft thickness as % of (h/2 or w/2)
19
+ * • adj3 = arrow-head length as % of (w or h)
20
+ * • adj4 = callout body extent as % of (w or h)
21
+ *
22
+ * The data layout mirrors `preset-shape-definitions-table.ts`: tokens inside
23
+ * guide formulas and path commands are raw OOXML strings. See the evaluator
24
+ * `preset-shape-evaluator` / `guide-formula-eval` for operator semantics.
25
+ *
26
+ * # Spec faithfulness
27
+ *
28
+ * All shapes here use the canonical Microsoft default-adjustment guide
29
+ * formulas. Polygons honour arbitrary `adj*` overrides via the same
30
+ * formula set Microsoft ships, with the following simplifications flagged
31
+ * in-line:
32
+ *
33
+ * • `quadArrowCallout` uses a symmetric polygon parameterised by adj1..adj5
34
+ * (head-body, shaft, head-length, callout-extent and text-rect adj).
35
+ * The full ECMA formula set chains 30+ guides — this batch authors a
36
+ * reduced form whose visible silhouette is identical at the spec
37
+ * defaults (avLst adj1..adj5 = 22500, 22500, 22500, 22500, 22500).
38
+ * • `bentArrowCallout` / `bentUpArrowCallout` use the same simplified
39
+ * polygon strategy as `bentArrow` / `bentUpArrow` in the sibling
40
+ * `preset-shape-definitions-arrows.ts` batch.
41
+ *
42
+ * # Aggregation
43
+ *
44
+ * The aggregator that exports `PRESET_SHAPE_GEOMETRY_TABLE` lives in
45
+ * `preset-shape-definitions-table.ts`. Spread `ARROW_CALLOUT_PRESET_DEFINITIONS`
46
+ * into the master record after the human-driven merge of all batch agents.
47
+ */
48
+ import type { PresetShapeGeometryDefinition } from './preset-shape-definitions-table.js';
49
+ /**
50
+ * Arrow-callout family preset definitions. The aggregator in
51
+ * `preset-shape-definitions-table.ts` should spread this record into
52
+ * `PRESET_SHAPE_GEOMETRY_TABLE` after this batch is merged.
53
+ */
54
+ export declare const ARROW_CALLOUT_PRESET_DEFINITIONS: Record<string, PresetShapeGeometryDefinition>;
55
+ //# sourceMappingURL=preset-shape-definitions-arrow-callouts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-shape-definitions-arrow-callouts.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-shape-definitions-arrow-callouts.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AAEH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AAkjBzF;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,EAAE,MAAM,CAAC,MAAM,EAAE,6BAA6B,CAW1F,CAAC"}
@@ -0,0 +1,45 @@
1
+ /**
2
+ * Refined ECMA-376 ST_ShapeType preset geometry definitions for the
3
+ * eight arrow shapes whose canonical formulas were previously reduced to
4
+ * default-adjustment silhouettes in `preset-shape-definitions-arrows.ts`.
5
+ *
6
+ * Each entry below drives its geometry from the `avLst` adjust values so the
7
+ * generated path honours arbitrary overrides instead of being baked at the
8
+ * spec defaults.
9
+ *
10
+ * `bentArrow`, `bentUpArrow`, and `uturnArrow` are verbatim transcriptions of
11
+ * the canonical `presetShapeDefinitions.xml` payload (ISO/IEC 29500-1
12
+ * §20.1.10.55). The remaining circular / swoosh variants reproduce the spec's
13
+ * guide chain closely but are adjustment-responsive approximations of the
14
+ * arrowhead-tangent maths, not byte-for-byte transcriptions.
15
+ *
16
+ * The aggregator in `preset-shape-definitions-table.ts` is expected to
17
+ * spread `REFINED_ARROW_PRESET_DEFINITIONS` *after*
18
+ * `ARROW_PRESET_DEFINITIONS` so these refined entries override the
19
+ * simplified versions while leaving the rest of the arrows batch
20
+ * untouched. Keeping the refinements in their own module avoids merge
21
+ * contention with the original arrows batch agent.
22
+ *
23
+ * Shapes refined here:
24
+ * • bentArrow (4 adjusts: head width, head length, body, knee)
25
+ * • bentUpArrow (3 adjusts)
26
+ * • uturnArrow (5 adjusts)
27
+ * • circularArrow (5 adjusts)
28
+ * • leftCircularArrow (5 adjusts; mirrors circularArrow)
29
+ * • leftRightCircularArrow (5 adjusts; heads at both ends of arc)
30
+ * • swooshArrow (2 adjusts)
31
+ *
32
+ * (`curvedRightArrow` was promoted to a spec-exact transcription in
33
+ * `preset-shape-definitions-curved-arrows-exact.ts`.)
34
+ *
35
+ * Conventions (matching the rest of the geometry layer):
36
+ * • EMU-aware tokens like `ss`, `wd2`, `hd2`, `cd2`, `cd4`, `cd8`
37
+ * resolve to half-side / quarter-circle / eighth-circle constants
38
+ * in the evaluator.
39
+ * • All numeric arguments are stored as raw OOXML token strings;
40
+ * `guide-formula-eval` resolves them against the runtime guide
41
+ * context (no premature conversion to numbers).
42
+ */
43
+ import type { PresetShapeGeometryDefinition } from './preset-shape-definitions-table.js';
44
+ export declare const REFINED_ARROW_PRESET_DEFINITIONS: Record<string, PresetShapeGeometryDefinition>;
45
+ //# sourceMappingURL=preset-shape-definitions-arrows-refined.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-shape-definitions-arrows-refined.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-shape-definitions-arrows-refined.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AAEH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AA8jBzF,eAAO,MAAM,gCAAgC,EAAE,MAAM,CAAC,MAAM,EAAE,6BAA6B,CAQ1F,CAAC"}
@@ -0,0 +1,52 @@
1
+ /**
2
+ * ECMA-376 ST_ShapeType preset geometry definitions — arrows + 3D primitives.
3
+ *
4
+ * This batch authors ~25 additional shapes whose geometry is defined in
5
+ * Microsoft's `presetShapeDefinitions.xml` (ISO/IEC 29500-1 §20.1.10.55):
6
+ *
7
+ * Containers / 3-D primitives
8
+ * • `bevel`, `can`, `cube`, `cylinder`
9
+ * • `frame`, `halfFrame`, `plaque`, `plaqueTabs`
10
+ *
11
+ * Arrow variants
12
+ * • Bidirectional: `leftRightArrow`, `upDownArrow`, `leftRightUpArrow`,
13
+ * `quadArrow`
14
+ * • Bent / U-turn: `bentArrow`, `bentUpArrow`, `uturnArrow`
15
+ * • Decorated: `stripedRightArrow`, `notchedRightArrow`
16
+ * • Block-direction: `homePlate`, `chevron`, `pentArrow` (5-sided arrow)
17
+ * • Curved / circular: `circularArrow`, `leftCircularArrow`,
18
+ * `leftRightCircularArrow`, `swooshArrow`, `curvedRightArrow`
19
+ *
20
+ * The data layout mirrors `preset-shape-definitions-table.ts`. Every entry is
21
+ * keyed by its ECMA-376 ST_ShapeType name (camelCase). Tokens inside guide
22
+ * formulas and path commands are raw OOXML strings — the `preset-shape-
23
+ * evaluator` pipes them through `guide-formula-eval` (operators `val`, `abs`,
24
+ * `sqrt`, `+-`, `*\/`, `+/`, `?:`, `min`, `max`, `mod`, `pin`, `sin`, `cos`,
25
+ * `tan`, `atan`, `at2`, `cat2`, `sat2`).
26
+ *
27
+ * # Spec-faithful where the formulas are tractable
28
+ *
29
+ * Most shapes here use the canonical Microsoft formula set. A handful of
30
+ * shapes whose XML pulls in 50+ guides (notably `swooshArrow`,
31
+ * `circularArrow`, `leftCircularArrow`, `leftRightCircularArrow`,
32
+ * `curvedRightArrow`, `bentArrow`, `bentUpArrow`, `uturnArrow`) are reduced
33
+ * to a faithful default-adjustment polygon / Bézier silhouette that is
34
+ * visually correct at the spec-default avLst values. They do not yet honour
35
+ * arbitrary adjustment overrides — those reductions are flagged as
36
+ * `SIMPLIFIED:` in the in-source comments so future work can replace them
37
+ * with the full formula set.
38
+ *
39
+ * # Adding to the master table
40
+ *
41
+ * The aggregator that exports `PRESET_SHAPE_GEOMETRY_TABLE` lives in
42
+ * `preset-shape-definitions-table.ts`. Spread `ARROW_PRESET_DEFINITIONS` into
43
+ * the master record after the human-driven merge of all batch agents.
44
+ */
45
+ import type { PresetShapeGeometryDefinition } from './preset-shape-definitions-table.js';
46
+ /**
47
+ * Arrow + 3-D primitive preset definitions. The aggregator in
48
+ * `preset-shape-definitions-table.ts` should spread this record into
49
+ * `PRESET_SHAPE_GEOMETRY_TABLE` after this batch is merged.
50
+ */
51
+ export declare const ARROW_PRESET_DEFINITIONS: Record<string, PresetShapeGeometryDefinition>;
52
+ //# sourceMappingURL=preset-shape-definitions-arrows.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-shape-definitions-arrows.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-shape-definitions-arrows.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AAEH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AAm+BzF;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,MAAM,EAAE,6BAA6B,CA0BlF,CAAC"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * ECMA-376 ST_ShapeType preset geometry definitions - chart marker glyphs.
3
+ *
4
+ * `chartX`, `chartStar` and `chartPlus` are the three data-marker presets
5
+ * PowerPoint and Excel use for scatter / line series markers. They are real
6
+ * `ST_ShapeType` members (ISO/IEC 29500-1 section 20.1.10.55) but were the
7
+ * last three preset names still missing from `PRESET_SHAPE_GEOMETRY_TABLE`,
8
+ * so they degraded to the static polygon approximations in
9
+ * `preset-shape-clip-paths.ts`.
10
+ *
11
+ * Each is transcribed verbatim from Microsoft's `presetShapeDefinitions.xml`:
12
+ * a `fill="none"` stroke path carrying the actual glyph strokes, followed by
13
+ * a `stroke="false"` square that supplies the fill/hit region. None of the
14
+ * three declares an `avLst`, a `gdLst` or a `rect`, so the geometry depends
15
+ * only on the 10x10 path coordinate space each sub-path declares.
16
+ *
17
+ * Aggregated into `PRESET_SHAPE_GEOMETRY_TABLE` by
18
+ * `preset-shape-definitions-table.ts`.
19
+ */
20
+ import type { PresetShapeGeometryDefinition } from './preset-shape-definitions-table.js';
21
+ /** Chart-marker preset definitions, keyed by ECMA-376 ST_ShapeType name. */
22
+ export declare const CHART_MARK_PRESET_DEFINITIONS: Record<string, PresetShapeGeometryDefinition>;
23
+ //# sourceMappingURL=preset-shape-definitions-chart-marks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-shape-definitions-chart-marks.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-shape-definitions-chart-marks.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,KAAK,EAEX,6BAA6B,EAC7B,MAAM,qCAAqC,CAAC;AAsF7C,4EAA4E;AAC5E,eAAO,MAAM,6BAA6B,EAAE,MAAM,CAAC,MAAM,EAAE,6BAA6B,CAIvF,CAAC"}
@@ -0,0 +1,28 @@
1
+ /**
2
+ * ECMA-376 ST_ShapeType preset geometry for `cloudCallout`.
3
+ *
4
+ * `cloudCallout` is a real `ST_ShapeType` member (ISO/IEC 29500-1 section
5
+ * 20.1.10.55) that was missing from `PRESET_SHAPE_GEOMETRY_TABLE`, so it
6
+ * degraded to the adjustment-blind polygon in `preset-shape-clip-paths.ts`.
7
+ * This module transcribes the canonical `presetShapeDefinitions.xml` entry
8
+ * verbatim:
9
+ *
10
+ * - `adj1` / `adj2` place the callout tail target relative to the centre
11
+ * (defaults -20833 / 62500, i.e. below and to the left);
12
+ * - the first sub-path is the cloud body, an eleven-arc chain authored in
13
+ * the legacy 43200x43200 drawing grid (the evaluator maps that space onto
14
+ * the shape box via `PresetPath.w` / `PresetPath.h`);
15
+ * - three single-arc sub-paths draw the shrinking tail bubbles, positioned
16
+ * by the `g*` guide chain in SHAPE space (no path space declared);
17
+ * - the final `fill="none"` sub-path is the scalloped outline overlay.
18
+ *
19
+ * The guide chain exercises `cat2` / `sat2` / `mod` / `at2`, all of which
20
+ * follow the ECMA operand order in `guide-formula-eval.ts`.
21
+ *
22
+ * Aggregated into `PRESET_SHAPE_GEOMETRY_TABLE` by
23
+ * `preset-shape-definitions-table.ts`.
24
+ */
25
+ import type { PresetShapeGeometryDefinition } from './preset-shape-definitions-table.js';
26
+ /** `cloudCallout` preset definition, keyed by its ECMA-376 ST_ShapeType name. */
27
+ export declare const CLOUD_CALLOUT_PRESET_DEFINITIONS: Record<string, PresetShapeGeometryDefinition>;
28
+ //# sourceMappingURL=preset-shape-definitions-cloud-callout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-shape-definitions-cloud-callout.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-shape-definitions-cloud-callout.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AAkIzF,iFAAiF;AACjF,eAAO,MAAM,gCAAgC,EAAE,MAAM,CAAC,MAAM,EAAE,6BAA6B,CAE1F,CAAC"}
@@ -0,0 +1,37 @@
1
+ /**
2
+ * ECMA-376 ST_ShapeType preset geometry definitions — curved connectors
3
+ * (`curvedConnector2`/`3`/`4`/`5`) and bracket / brace primitives
4
+ * (`leftBracket`, `rightBracket`, `leftBrace`, `rightBrace`, `bracketPair`,
5
+ * `bracePair`).
6
+ *
7
+ * Connectors are stroke-only paths (`fill: 'none'`, `stroke: true`) that draw
8
+ * smooth cubic-bezier curves between their endpoints. The number of explicit
9
+ * adjustment values matches the count of intermediate control points along
10
+ * the curve (none, one, two, three) — so `curvedConnector2` is a fixed
11
+ * S-curve while `curvedConnector5` exposes three midpoint adjustments.
12
+ *
13
+ * Brackets and braces are SOLID closed outlines, not stroked-only forms.
14
+ * They are drawn by tracing a thin rounded-corner shape that visually reads
15
+ * as a `[`, `]`, `{` or `}`. Each shape uses one or two adjustment values:
16
+ *
17
+ * leftBracket / rightBracket — adj1: corner radius (1/100000 of ss)
18
+ * leftBrace / rightBrace — adj1: middle pinch position (vertical %)
19
+ * adj2: corner radius (1/100000 of ss)
20
+ * bracketPair — adj1: corner radius (shared)
21
+ * bracePair — adj1: corner radius (shared)
22
+ *
23
+ * All formulas use only the documented operators implemented in
24
+ * `guide-formula-eval` (17 ops: +-, mul-div, pin, val, abs, sin, cos, at2,
25
+ * etc.) and the standard implicit guides published by `guide-formula-api`
26
+ * (l, t, r, b, hc, vc, wd2, hd2, ss, cd2, cd4, 3cd4, etc.).
27
+ *
28
+ * Aggregation into `PRESET_SHAPE_GEOMETRY_TABLE` is performed manually in
29
+ * `preset-shape-definitions-table.ts` once batch agents return.
30
+ */
31
+ import type { PresetShapeGeometryDefinition } from './preset-shape-definitions-table.js';
32
+ /**
33
+ * Connector + bracket preset definitions exported for manual aggregation
34
+ * into `PRESET_SHAPE_GEOMETRY_TABLE`. Keys are ECMA-376 ST_ShapeType names.
35
+ */
36
+ export declare const CONNECTORS_BRACKETS_PRESET_DEFINITIONS: Record<string, PresetShapeGeometryDefinition>;
37
+ //# sourceMappingURL=preset-shape-definitions-connectors-brackets.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-shape-definitions-connectors-brackets.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-shape-definitions-connectors-brackets.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AAwdzF;;;GAGG;AACH,eAAO,MAAM,sCAAsC,EAAE,MAAM,CAAC,MAAM,EAAE,6BAA6B,CAY/F,CAAC"}
@@ -0,0 +1,43 @@
1
+ /**
2
+ * ECMA-376 ST_ShapeType preset geometry definitions — lines + bent connectors
3
+ * batch.
4
+ *
5
+ * This batch authors 7 shapes whose geometry is defined in Microsoft's
6
+ * `presetShapeDefinitions.xml` (ISO/IEC 29500-1 §20.1.10.55). The curved
7
+ * arrows that once lived here (`curvedDownArrow`, `curvedLeftArrow`,
8
+ * `curvedUpArrow`) have been promoted to spec-exact transcriptions in
9
+ * `preset-shape-definitions-curved-arrows-exact.ts`.
10
+ *
11
+ * Lines (filled silhouettes are not applicable; stroke-only paths)
12
+ * • `line` — straight horizontal stroke (top-left → bottom-right)
13
+ * • `lineInv` — inverse diagonal stroke (top-right → bottom-left)
14
+ *
15
+ * Connectors (stroke-only polylines, `fill: 'none'`)
16
+ * • `straightConnector1` — single segment (l/t → r/b)
17
+ * • `bentConnector2` — right-angle, 2 segments
18
+ * • `bentConnector3` — right-angle, 3 segments, 1 adjustment
19
+ * • `bentConnector4` — right-angle, 4 segments, 2 adjustments
20
+ * • `bentConnector5` — right-angle, 5 segments, 3 adjustments
21
+ *
22
+ * # Notes on faithfulness
23
+ *
24
+ * Connectors carry `fill: 'none', stroke: true` on every path. The path
25
+ * commands describe the polyline that PowerPoint draws between the connector
26
+ * endpoints; the bend positions are controlled by the `adjN` adjustment list
27
+ * exactly as documented in §20.1.9.10–20.1.9.13.
28
+ *
29
+ * # Adding to the master table
30
+ *
31
+ * The aggregator that exports `PRESET_SHAPE_GEOMETRY_TABLE` lives in
32
+ * `preset-shape-definitions-table.ts`. Spread
33
+ * `CURVED_ARROWS_CONNECTORS_PRESET_DEFINITIONS` into the master record after
34
+ * the human-driven merge of all batch agents.
35
+ */
36
+ import type { PresetShapeGeometryDefinition } from './preset-shape-definitions-table.js';
37
+ /**
38
+ * Curved arrow + connector preset definitions. The aggregator in
39
+ * `preset-shape-definitions-table.ts` should spread this record into
40
+ * `PRESET_SHAPE_GEOMETRY_TABLE` once all batch authors have merged.
41
+ */
42
+ export declare const CURVED_ARROWS_CONNECTORS_PRESET_DEFINITIONS: Record<string, PresetShapeGeometryDefinition>;
43
+ //# sourceMappingURL=preset-shape-definitions-curved-arrows-connectors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-shape-definitions-curved-arrows-connectors.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-shape-definitions-curved-arrows-connectors.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAEH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AA0LzF;;;;GAIG;AACH,eAAO,MAAM,2CAA2C,EAAE,MAAM,CAC/D,MAAM,EACN,6BAA6B,CAS7B,CAAC"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Spec-exact ECMA-376 / ISO-IEC-29500-1 preset geometry for the four curved
3
+ * arrows: `curvedRightArrow`, `curvedLeftArrow`, `curvedUpArrow`, and
4
+ * `curvedDownArrow`.
5
+ *
6
+ * These replace the earlier default-adjustment silhouettes (quad-Bezier
7
+ * reductions in `preset-shape-definitions-curved-arrows-connectors.ts` and a
8
+ * cubic-Bezier approximation in `preset-shape-definitions-arrows-refined.ts`).
9
+ * The `avLst`, `gdLst`, `rect`, and `pathLst` below are transcribed verbatim
10
+ * from Microsoft's authoritative `presetShapeDefinitions.xml`
11
+ * (ISO/IEC 29500-1 §20.1.10.55), sourced from the Apache POI mirror
12
+ * `poi/src/main/resources/org/apache/poi/sl/draw/geom/presetShapeDefinitions.xml`.
13
+ *
14
+ * There are no deviations from the canonical token stream: every operator here
15
+ * (including `at2`, whose ECMA operand order is `at2 x y = atan2(y, x)`) is
16
+ * evaluated exactly as ISO/IEC 29500-1 section 20.1.9.6 specifies by
17
+ * `guide-formula-eval.ts`.
18
+ *
19
+ * The aggregator in `preset-shape-definitions-table.ts` spreads
20
+ * `EXACT_CURVED_ARROW_PRESET_DEFINITIONS` last so these authoritative entries
21
+ * win over any earlier simplified/refined registrations for the same names.
22
+ */
23
+ import type { PresetShapeGeometryDefinition } from './preset-shape-definitions-table.js';
24
+ /**
25
+ * Spec-exact curved-arrow preset definitions. Spread LAST in
26
+ * `preset-shape-definitions-table.ts` so they override the earlier simplified
27
+ * and refined registrations for the same four shape names.
28
+ */
29
+ export declare const EXACT_CURVED_ARROW_PRESET_DEFINITIONS: Record<string, PresetShapeGeometryDefinition>;
30
+ //# sourceMappingURL=preset-shape-definitions-curved-arrows-exact.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-shape-definitions-curved-arrows-exact.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-shape-definitions-curved-arrows-exact.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AAmYzF;;;;GAIG;AACH,eAAO,MAAM,qCAAqC,EAAE,MAAM,CAAC,MAAM,EAAE,6BAA6B,CAM9F,CAAC"}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * ECMA-376 ST_ShapeType preset geometry definitions — flowchart family.
3
+ *
4
+ * Mirrors Microsoft's `presetShapeDefinitions.xml` for every `flowChart*`
5
+ * shape catalogued in ISO/IEC 29500-1 §20.1.10.55 (all 29 of them), plus the
6
+ * non-spec `flowChartStoredData` alias PowerPoint's UI exposes for
7
+ * `flowChartOnlineStorage`. The data here is authored using the same
8
+ * conventions as `preset-shape-definitions-table.ts`; see that module's header
9
+ * comment for the full procedure (each `<a:gd>` is captured verbatim, every
10
+ * `<a:path>` child becomes a `PresetPathCommand`, coordinates are
11
+ * guide-formula tokens).
12
+ *
13
+ * None of the flowchart shapes have an `avLst` (no user adjustments) so all
14
+ * `gdLst` entries are deterministic — the geometry depends only on the
15
+ * implicit guides (`l`, `t`, `r`, `b`, `w`, `h`, `hc`, `vc`, `wd2`, `hd2`,
16
+ * `ss`, `ssd2`, ...) and inline literals.
17
+ */
18
+ import type { PresetShapeGeometryDefinition } from './preset-shape-definitions-table.js';
19
+ /**
20
+ * Master table of populated flowchart preset geometries. Will be merged into
21
+ * `PRESET_SHAPE_GEOMETRY_TABLE` by the integration step. Keyed by ECMA-376
22
+ * ST_ShapeType name.
23
+ *
24
+ * Note: ECMA defines `flowChartDisplay` (display shape) — exposed below via
25
+ * the requested `flowChartDisplayValue` alias to match the agent task spec
26
+ * which lists `flowChartDisplayValue`.
27
+ */
28
+ export declare const FLOWCHART_PRESET_DEFINITIONS: Record<string, PresetShapeGeometryDefinition>;
29
+ //# sourceMappingURL=preset-shape-definitions-flowchart.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-shape-definitions-flowchart.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-shape-definitions-flowchart.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AAqzBzF;;;;;;;;GAQG;AACH,eAAO,MAAM,4BAA4B,EAAE,MAAM,CAAC,MAAM,EAAE,6BAA6B,CA+BtF,CAAC"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Spec-exact ECMA-376 / ISO-IEC-29500-1 preset geometry for `gear6`
3
+ * (ISO/IEC 29500-1 section 20.1.10.55).
4
+ *
5
+ * Transcribed verbatim from Microsoft's authoritative
6
+ * `presetShapeDefinitions.xml`, sourced from the Apache POI mirror
7
+ * `poi/src/main/resources/org/apache/poi/sl/draw/geom/presetShapeDefinitions.xml`
8
+ * (fetched 2026-09-05). This replaces the earlier hand-rolled `buildGearN`
9
+ * trapezoid-tooth approximation in `preset-shape-definitions-tabs-decorations.ts`,
10
+ * which computed tooth/valley vertices from a precomputed trig table and never
11
+ * consumed `adj2` (COM-verified 2026-09-05: `Shape.Adjustments.Count` is 2, not
12
+ * 1). The spec-exact path below routes every tooth root through an `arcTo`
13
+ * whose radius is `(rw, rh)` (the shape's bounding ellipse shrunk by the tooth
14
+ * depth `th`, itself derived from `adj1`); the fillet PowerPoint renders
15
+ * between adjacent teeth is exactly this root-circle arc, and its span
16
+ * (`swAng1`/`swAng2`) narrows as `adj2` (`lFD`, the flank offset) grows, which
17
+ * is how real PowerPoint's `adj2` fillet radius reaches the silhouette: a
18
+ * larger `adj2` widens the flat root land (`xE`/`xF` points) and shortens the
19
+ * fillet arc's sweep, visually rounding the tooth-to-root transition.
20
+ *
21
+ * No deviations from the canonical token stream: every operator here
22
+ * (`pin`, mul-div, `+-`, `+/`, `?:`, `at2`, `cos`, `sin`, `mod`) is evaluated
23
+ * exactly as ISO/IEC 29500-1 section 20.1.9.11 specifies by
24
+ * `guide-formula-eval.ts`; `at2`'s ECMA operand order (`at2 x y = atan2(y, x)`)
25
+ * matches `preset-shape-definitions-curved-arrows-exact.ts`'s documented
26
+ * convention. The guide name `a1`/`a2` is intentionally reused mid-list (once
27
+ * as the pinned `adj1`/`adj2` value, later as an arm's polar angle): guides
28
+ * evaluate in array order into a single mutable map, so the later definition
29
+ * shadows the earlier one for every formula after it, matching
30
+ * `evaluateGuides` in `guide-formula-api.ts`.
31
+ *
32
+ * `preset-shape-definitions-table.ts` imports `gear6` from here (and `gear9`
33
+ * from the sibling `preset-shape-definitions-gear9.ts`) instead of the old
34
+ * `buildGearN` export in `preset-shape-definitions-tabs-decorations.ts`.
35
+ */
36
+ import type { PresetShapeGeometryDefinition } from './preset-shape-definitions-table.js';
37
+ export declare const gear6: PresetShapeGeometryDefinition;
38
+ //# sourceMappingURL=preset-shape-definitions-gear6.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-shape-definitions-gear6.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-shape-definitions-gear6.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAEH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AAOzF,eAAO,MAAM,KAAK,EAAE,6BAiJnB,CAAC"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Spec-exact ECMA-376 / ISO-IEC-29500-1 preset geometry for `gear9`
3
+ * (ISO/IEC 29500-1 section 20.1.10.55).
4
+ *
5
+ * Sibling of `preset-shape-definitions-gear6.ts`; see that file's header for
6
+ * the `adj2` fillet explanation, the guide-name-reuse note, and the
7
+ * transcription source. `gear9`'s gdLst is longer because the spec author
8
+ * hand-unrolled all 9 teeth rather than looping: arms 1-4 (and 9) derive their
9
+ * tip/root points from full ellipse-intersection trig (`cos`/`sin`/`at2`/`mod`),
10
+ * while arms 5-8 mirror an earlier arm's points across the shape's vertical
11
+ * centre (`+- w 0 x..`) since `gear9` is symmetric about that axis. This is
12
+ * transcribed as-is (not generalised into a loop) so it stays line-for-line
13
+ * auditable against the source XML.
14
+ *
15
+ * The 242-entry gdLst is authored as a `name|formula` table (one XML `<a:gd>`
16
+ * per line) rather than 242 individual `gd(...)` calls: oxfmt reflows an
17
+ * array literal to one element per line regardless of source packing, which
18
+ * would push this file over the repo's 300-LOC-per-file budget. A template
19
+ * string is not reformatted, so the table stays exactly as auditable against
20
+ * the source XML while keeping the file short.
21
+ */
22
+ import type { PresetShapeGeometryDefinition } from './preset-shape-definitions-table.js';
23
+ export declare const gear9: PresetShapeGeometryDefinition;
24
+ //# sourceMappingURL=preset-shape-definitions-gear9.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-shape-definitions-gear9.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-shape-definitions-gear9.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AAuFzF,eAAO,MAAM,KAAK,EAAE,6BAiDnB,CAAC"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * ECMA-376 ST_ShapeType preset geometry definitions — miscellaneous shapes.
3
+ *
4
+ * This module supplies definitions for ~30 additional preset shapes outside
5
+ * the first-cut table in `preset-shape-definitions-table.ts`:
6
+ *
7
+ * - **N-pointed stars** (`star6`, `star7`, `star8`, `star10`, `star12`,
8
+ * `star16`, `star24`, `star32`) generalising the `star4` / `star5`
9
+ * construction. Each is a regular polygon whose 2N vertices alternate
10
+ * between an outer ellipse `(wd2, hd2)` and an inner ellipse scaled by
11
+ * `adj/50000`.
12
+ * - **Ribbons & banners** (`ribbon`, `ribbon2`, `ellipseRibbon`,
13
+ * `ellipseRibbon2`, `leftRightRibbon`).
14
+ * - **Callouts** (`callout1`–`callout3`, `borderCallout1`–`borderCallout3`)
15
+ * with separate stroke-only leader lines.
16
+ * - **Decorations** (`cloud`, `smileyFace`, `lightningBolt`, `sun`, `moon`).
17
+ * - **Math symbols** (`mathPlus`, `mathMinus`, `mathMultiply`, `mathDivide`,
18
+ * `mathEqual`, `mathNotEqual`).
19
+ * - **Heart + irregular seals** (`heart`, `irregularSeal1`, `irregularSeal2`).
20
+ *
21
+ * Some shapes (notably `cloud`, `smileyFace`, `lightningBolt`, `mathDivide`,
22
+ * `irregularSeal*`) deviate from the ECMA reference's exact gdLst because
23
+ * those formulas use complex bezier offsets keyed off implicit angle tables
24
+ * that would balloon the file. In those cases we fall back to the
25
+ * default-adjustment polygon / bezier shape — visually faithful at the
26
+ * default avLst values but adjustment-insensitive. Each such fallback is
27
+ * called out in a comment on the definition.
28
+ *
29
+ * Aggregation into `PRESET_SHAPE_GEOMETRY_TABLE` is performed manually in
30
+ * `preset-shape-definitions-table.ts` after batch agents return.
31
+ */
32
+ import type { PresetShapeGeometryDefinition } from './preset-shape-definitions-table.js';
33
+ /**
34
+ * Miscellaneous preset definitions exported for manual aggregation into
35
+ * `PRESET_SHAPE_GEOMETRY_TABLE`. Keys are ECMA-376 ST_ShapeType names.
36
+ */
37
+ export declare const MISC_PRESET_DEFINITIONS: Record<string, PresetShapeGeometryDefinition>;
38
+ //# sourceMappingURL=preset-shape-definitions-misc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-shape-definitions-misc.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-shape-definitions-misc.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAEH,OAAO,KAAK,EAGX,6BAA6B,EAC7B,MAAM,qCAAqC,CAAC;AAgzC7C;;;GAGG;AACH,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,MAAM,EAAE,6BAA6B,CAkCjF,CAAC"}
@@ -0,0 +1,28 @@
1
+ /**
2
+ * ECMA-376 ST_ShapeType preset geometry definitions — rounded / snipped
3
+ * rectangles + foldedCorner / teardrop / corner.
4
+ *
5
+ * This batch authors the rectangle-corner family of presets defined in
6
+ * Microsoft's `presetShapeDefinitions.xml` (ISO/IEC 29500-1 §20.1.10.55):
7
+ *
8
+ * • `round1Rect` — 1 rounded corner (top-right). adj1 = radius/ss.
9
+ * • `round2SameRect` — 2 same-side rounded corners (top). adj1 + adj2.
10
+ * • `round2DiagRect` — 2 diagonal rounded corners (TL + BR). adj1 + adj2.
11
+ * • `snipRoundRect` — 1 snipped (TL) + 1 rounded (TR). adj1 + adj2.
12
+ * • `snip1Rect` — 1 chamfered corner (TR). adj1.
13
+ * • `snip2SameRect` — 2 same-side chamfered corners (top). adj1 + adj2.
14
+ * • `snip2DiagRect` — 2 diagonal chamfered corners (TR + BL). adj1 + adj2.
15
+ * • `foldedCorner` — rectangle with a folded BR corner. adj1.
16
+ * • `teardrop` — circle with a stretchable top-right point. adj1.
17
+ * • `corner` — L-shape with adj1 (height) + adj2 (width).
18
+ *
19
+ * Tokens inside guide formulas and path commands are raw OOXML strings — the
20
+ * `preset-shape-evaluator` resolves them via `guide-formula-eval`. All
21
+ * adjustment defaults match the canonical XML.
22
+ *
23
+ * Aggregation into `PRESET_SHAPE_GEOMETRY_TABLE` is performed manually in
24
+ * `preset-shape-definitions-table.ts` after batch agents return.
25
+ */
26
+ import type { PresetShapeGeometryDefinition } from './preset-shape-definitions-table.js';
27
+ export declare const RECTS_SNIPS_PRESET_DEFINITIONS: Record<string, PresetShapeGeometryDefinition>;
28
+ //# sourceMappingURL=preset-shape-definitions-rects-snips.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-shape-definitions-rects-snips.d.ts","sourceRoot":"","sources":["../../src/geometry/preset-shape-definitions-rects-snips.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AA8ZzF,eAAO,MAAM,8BAA8B,EAAE,MAAM,CAAC,MAAM,EAAE,6BAA6B,CAWxF,CAAC"}