ooxml-ui 1.43.0 → 1.45.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 (227) hide show
  1. package/README.md +4 -0
  2. package/dist/{chunk-NH5ZSZMI.js → chunk-2YRHRV4H.js} +1 -1
  3. package/dist/{chunk-JWBWLGEY.js → chunk-LPI7LT4B.js} +2 -2
  4. package/dist/{chunk-2ZYRZANE.js → chunk-MWDG776V.js} +1 -1
  5. package/dist/{chunk-I57TCM2Q.js → chunk-UEFVC6V4.js} +1 -1
  6. package/dist/{chunk-M4ARYL3L.js → chunk-ZTLP52FH.js} +1 -1
  7. package/dist/controls.js +1 -1
  8. package/dist/docx.js +4 -4
  9. package/dist/index.js +4 -4
  10. package/dist/pptx/{chart-3d-view-scene-CGLU6ISD.mjs → chart-3d-view-scene-7LIMCTEM.mjs} +3 -2
  11. package/dist/pptx/{chart-3d-view-scene-C7QUQTXD.cjs → chart-3d-view-scene-RCWYLVC3.cjs} +38 -37
  12. package/dist/pptx/{chunk-W2QJX2ON.mjs → chunk-2P6TH4ZE.mjs} +3 -0
  13. package/dist/pptx/{chunk-DH6EKOVI.mjs → chunk-3DJZBAQ2.mjs} +1 -1
  14. package/dist/pptx/{chunk-5BINBXFV.mjs → chunk-6JTQ7AG6.mjs} +3 -3
  15. package/dist/pptx/{chunk-P4NVINSK.cjs → chunk-CWBVJ4DC.cjs} +9257 -8918
  16. package/dist/pptx/chunk-FI2ATACZ.cjs +147 -0
  17. package/dist/pptx/chunk-G5NEBI7N.mjs +135 -0
  18. package/dist/pptx/{chunk-CK6RYGB4.cjs → chunk-GYI2TFSW.cjs} +3 -126
  19. package/dist/pptx/{chunk-7FTP7OOA.mjs → chunk-HGT3CA36.mjs} +6221 -5845
  20. package/dist/pptx/{chunk-YZWKNFPU.cjs → chunk-HTFYAGHG.cjs} +2864 -167
  21. package/dist/pptx/{chunk-JP26TA3Q.cjs → chunk-LOUVYGWX.cjs} +12 -12
  22. package/dist/pptx/{chunk-UGSMMZU6.cjs → chunk-MZCAYJ7H.cjs} +49 -49
  23. package/dist/pptx/{chunk-BA4CJI4U.mjs → chunk-S6P7UWGZ.mjs} +3 -115
  24. package/dist/pptx/{chunk-ZHVKGGLQ.cjs → chunk-UFJBHFSD.cjs} +3 -0
  25. package/dist/pptx/{chunk-TW5UQCZS.mjs → chunk-XL5AF4U3.mjs} +2750 -175
  26. package/dist/pptx/dom/elements/connector.d.ts.map +1 -1
  27. package/dist/pptx/dom/elements/equation.d.ts.map +1 -1
  28. package/dist/pptx/dom/elements/media.d.ts.map +1 -1
  29. package/dist/pptx/dom/elements/ole.d.ts.map +1 -1
  30. package/dist/pptx/dom/elements/reflection-mirror-content.d.ts.map +1 -1
  31. package/dist/pptx/dom/elements/shape-filter-defs.d.ts +5 -0
  32. package/dist/pptx/dom/elements/shape-filter-defs.d.ts.map +1 -1
  33. package/dist/pptx/dom/elements/table.d.ts.map +1 -1
  34. package/dist/pptx/dom/elements/text-shape.d.ts.map +1 -1
  35. package/dist/pptx/dom/elements/text-warp.d.ts.map +1 -1
  36. package/dist/pptx/dom/index.cjs +546 -459
  37. package/dist/pptx/dom/index.mjs +136 -50
  38. package/dist/pptx/export/html2canvas-clone.cjs +7 -6
  39. package/dist/pptx/export/html2canvas-clone.mjs +2 -1
  40. package/dist/pptx/i18n/index.cjs +6 -6
  41. package/dist/pptx/i18n/index.mjs +1 -1
  42. package/dist/pptx/i18n/translations-en.d.ts.map +1 -1
  43. package/dist/pptx/index.cjs +3917 -3664
  44. package/dist/pptx/index.mjs +6 -5
  45. package/dist/pptx/render/chart-combo-stock.cjs +4 -3
  46. package/dist/pptx/render/chart-combo-stock.mjs +2 -1
  47. package/dist/pptx/render/chart-overlays.cjs +8 -7
  48. package/dist/pptx/render/chart-overlays.mjs +2 -1
  49. package/dist/pptx/render/chart-surface-treemap.cjs +5 -4
  50. package/dist/pptx/render/chart-surface-treemap.mjs +2 -1
  51. package/dist/pptx/render/chart-view-model.cjs +45 -44
  52. package/dist/pptx/render/chart-view-model.mjs +2 -1
  53. package/dist/pptx/render/chart-waterfall-map.cjs +7 -6
  54. package/dist/pptx/render/chart-waterfall-map.mjs +2 -1
  55. package/dist/pptx/render/connector-dash.d.ts +17 -1
  56. package/dist/pptx/render/connector-dash.d.ts.map +1 -1
  57. package/dist/pptx/render/connector-path.d.ts +2 -2
  58. package/dist/pptx/render/connector-path.d.ts.map +1 -1
  59. package/dist/pptx/render/connector-style.d.ts +4 -2
  60. package/dist/pptx/render/connector-style.d.ts.map +1 -1
  61. package/dist/pptx/render/customization/customization-controller.d.ts +8 -0
  62. package/dist/pptx/render/customization/customization-controller.d.ts.map +1 -1
  63. package/dist/pptx/render/dash-path-start.d.ts +38 -0
  64. package/dist/pptx/render/dash-path-start.d.ts.map +1 -0
  65. package/dist/pptx/render/dash-pattern.d.ts +10 -0
  66. package/dist/pptx/render/dash-pattern.d.ts.map +1 -0
  67. package/dist/pptx/render/dash-square-cap.d.ts +34 -0
  68. package/dist/pptx/render/dash-square-cap.d.ts.map +1 -0
  69. package/dist/pptx/render/deck-webfont-outlines.d.ts +25 -0
  70. package/dist/pptx/render/deck-webfont-outlines.d.ts.map +1 -0
  71. package/dist/pptx/render/deck-webfont-readiness.d.ts +59 -0
  72. package/dist/pptx/render/deck-webfont-readiness.d.ts.map +1 -0
  73. package/dist/pptx/render/device-pixel-exact.d.ts +34 -0
  74. package/dist/pptx/render/device-pixel-exact.d.ts.map +1 -0
  75. package/dist/pptx/render/device-pixel-group.d.ts +42 -0
  76. package/dist/pptx/render/device-pixel-group.d.ts.map +1 -0
  77. package/dist/pptx/render/device-pixel-stroke.d.ts +21 -3
  78. package/dist/pptx/render/device-pixel-stroke.d.ts.map +1 -1
  79. package/dist/pptx/render/element-style-transform.d.ts +6 -5
  80. package/dist/pptx/render/element-style-transform.d.ts.map +1 -1
  81. package/dist/pptx/render/embedded-fonts-sheet.d.ts +6 -0
  82. package/dist/pptx/render/embedded-fonts-sheet.d.ts.map +1 -1
  83. package/dist/pptx/render/equation-box-style.d.ts +23 -0
  84. package/dist/pptx/render/equation-box-style.d.ts.map +1 -0
  85. package/dist/pptx/render/fill-style.d.ts +22 -1
  86. package/dist/pptx/render/fill-style.d.ts.map +1 -1
  87. package/dist/pptx/render/font-line-gap.d.ts +0 -18
  88. package/dist/pptx/render/font-line-gap.d.ts.map +1 -1
  89. package/dist/pptx/render/google-webfonts.d.ts +11 -1
  90. package/dist/pptx/render/google-webfonts.d.ts.map +1 -1
  91. package/dist/pptx/render/gradient-svg-image.d.ts +29 -0
  92. package/dist/pptx/render/gradient-svg-image.d.ts.map +1 -0
  93. package/dist/pptx/render/group-fill.d.ts.map +1 -1
  94. package/dist/pptx/render/hollow-shape-hit-test.d.ts +23 -1
  95. package/dist/pptx/render/hollow-shape-hit-test.d.ts.map +1 -1
  96. package/dist/pptx/render/index.d.ts +15 -0
  97. package/dist/pptx/render/index.d.ts.map +1 -1
  98. package/dist/pptx/render/linked-text-box-overflow.d.ts +20 -5
  99. package/dist/pptx/render/linked-text-box-overflow.d.ts.map +1 -1
  100. package/dist/pptx/render/media-control-bar.d.ts +41 -0
  101. package/dist/pptx/render/media-control-bar.d.ts.map +1 -0
  102. package/dist/pptx/render/media-playback.d.ts +6 -6
  103. package/dist/pptx/render/media-playback.d.ts.map +1 -1
  104. package/dist/pptx/render/morph-animation.d.ts.map +1 -1
  105. package/dist/pptx/render/morph-carry.d.ts.map +1 -1
  106. package/dist/pptx/render/morph-connector-carry.d.ts +43 -0
  107. package/dist/pptx/render/morph-connector-carry.d.ts.map +1 -0
  108. package/dist/pptx/render/morph-effect-carry.d.ts +2 -0
  109. package/dist/pptx/render/morph-effect-carry.d.ts.map +1 -1
  110. package/dist/pptx/render/morph-effect-silhouette.d.ts +23 -0
  111. package/dist/pptx/render/morph-effect-silhouette.d.ts.map +1 -0
  112. package/dist/pptx/render/morph-geometry-key.d.ts.map +1 -1
  113. package/dist/pptx/render/morph-line-carry.d.ts +27 -0
  114. package/dist/pptx/render/morph-line-carry.d.ts.map +1 -1
  115. package/dist/pptx/render/morph-line-ends.d.ts +27 -0
  116. package/dist/pptx/render/morph-line-ends.d.ts.map +1 -0
  117. package/dist/pptx/render/morph-line-reach.d.ts +72 -0
  118. package/dist/pptx/render/morph-line-reach.d.ts.map +1 -0
  119. package/dist/pptx/render/morph-overlay-order.d.ts.map +1 -1
  120. package/dist/pptx/render/morph-plan-css.d.ts +0 -7
  121. package/dist/pptx/render/morph-plan-css.d.ts.map +1 -1
  122. package/dist/pptx/render/morph-predicates.d.ts.map +1 -1
  123. package/dist/pptx/render/morph-shape-carry.d.ts.map +1 -1
  124. package/dist/pptx/render/options/font-download-policy.d.ts +52 -0
  125. package/dist/pptx/render/options/font-download-policy.d.ts.map +1 -0
  126. package/dist/pptx/render/options/index.d.ts +1 -0
  127. package/dist/pptx/render/options/index.d.ts.map +1 -1
  128. package/dist/pptx/render/options/viewer-options-tabs-advanced.d.ts.map +1 -1
  129. package/dist/pptx/render/options/viewer-options.d.ts +2 -0
  130. package/dist/pptx/render/options/viewer-options.d.ts.map +1 -1
  131. package/dist/pptx/render/paragraph-baseline.d.ts +46 -2
  132. package/dist/pptx/render/paragraph-baseline.d.ts.map +1 -1
  133. package/dist/pptx/render/paragraph-run-build.d.ts.map +1 -1
  134. package/dist/pptx/render/paragraph-trailing-break.d.ts +15 -0
  135. package/dist/pptx/render/paragraph-trailing-break.d.ts.map +1 -0
  136. package/dist/pptx/render/path-gradient-rect.d.ts +1 -1
  137. package/dist/pptx/render/path-gradient-rect.d.ts.map +1 -1
  138. package/dist/pptx/render/shape-geometry-base.d.ts +73 -0
  139. package/dist/pptx/render/shape-geometry-base.d.ts.map +1 -0
  140. package/dist/pptx/render/shape-geometry-cascade.d.ts +7 -37
  141. package/dist/pptx/render/shape-geometry-cascade.d.ts.map +1 -1
  142. package/dist/pptx/render/shape-path-gradient-fill.d.ts +20 -0
  143. package/dist/pptx/render/shape-path-gradient-fill.d.ts.map +1 -0
  144. package/dist/pptx/render/silhouette-effects.d.ts +118 -0
  145. package/dist/pptx/render/silhouette-effects.d.ts.map +1 -0
  146. package/dist/pptx/render/silhouette-fill-layer.d.ts +19 -0
  147. package/dist/pptx/render/silhouette-fill-layer.d.ts.map +1 -0
  148. package/dist/pptx/render/silhouette-morph-refresh.d.ts +6 -0
  149. package/dist/pptx/render/silhouette-morph-refresh.d.ts.map +1 -0
  150. package/dist/pptx/render/silhouette-morph-registry.d.ts +36 -0
  151. package/dist/pptx/render/silhouette-morph-registry.d.ts.map +1 -0
  152. package/dist/pptx/render/stroke-only-preset.d.ts +22 -0
  153. package/dist/pptx/render/stroke-only-preset.d.ts.map +1 -1
  154. package/dist/pptx/render/stroke-outline.d.ts.map +1 -1
  155. package/dist/pptx/render/subpath-fill-overlay.d.ts +11 -5
  156. package/dist/pptx/render/subpath-fill-overlay.d.ts.map +1 -1
  157. package/dist/pptx/render/subpath-geometry.d.ts +38 -0
  158. package/dist/pptx/render/subpath-geometry.d.ts.map +1 -0
  159. package/dist/pptx/render/svg-attr-escape.d.ts +30 -0
  160. package/dist/pptx/render/svg-attr-escape.d.ts.map +1 -0
  161. package/dist/pptx/render/svg-gradient-paint.d.ts +6 -1
  162. package/dist/pptx/render/svg-gradient-paint.d.ts.map +1 -1
  163. package/dist/pptx/render/svg-id-scope.d.ts +8 -0
  164. package/dist/pptx/render/svg-id-scope.d.ts.map +1 -0
  165. package/dist/pptx/render/table-cell-baseline.d.ts +37 -0
  166. package/dist/pptx/render/table-cell-baseline.d.ts.map +1 -0
  167. package/dist/pptx/render/table-cell-border-inset.d.ts +21 -0
  168. package/dist/pptx/render/table-cell-border-inset.d.ts.map +1 -0
  169. package/dist/pptx/render/table-cell-css.d.ts.map +1 -1
  170. package/dist/pptx/render/table-cell-paragraphs.d.ts +13 -1
  171. package/dist/pptx/render/table-cell-paragraphs.d.ts.map +1 -1
  172. package/dist/pptx/render/table-style-bg-settle.d.ts +43 -0
  173. package/dist/pptx/render/table-style-bg-settle.d.ts.map +1 -0
  174. package/dist/pptx/render/table-style-bg-span.d.ts +26 -0
  175. package/dist/pptx/render/table-style-bg-span.d.ts.map +1 -0
  176. package/dist/pptx/render/table-style-borders.d.ts.map +1 -1
  177. package/dist/pptx/render/table-style-builtins-data.d.ts +1 -1
  178. package/dist/pptx/render/table-style-builtins-data.d.ts.map +1 -1
  179. package/dist/pptx/render/table-style-fill.d.ts.map +1 -1
  180. package/dist/pptx/render/table-style-shadow.d.ts +20 -0
  181. package/dist/pptx/render/table-style-shadow.d.ts.map +1 -0
  182. package/dist/pptx/render/table-style-theme-refs.d.ts.map +1 -1
  183. package/dist/pptx/render/table-style.d.ts +9 -0
  184. package/dist/pptx/render/table-style.d.ts.map +1 -1
  185. package/dist/pptx/render/text-block-style.d.ts +5 -0
  186. package/dist/pptx/render/text-block-style.d.ts.map +1 -1
  187. package/dist/pptx/render/text-body-top-snap.d.ts +43 -0
  188. package/dist/pptx/render/text-body-top-snap.d.ts.map +1 -0
  189. package/dist/pptx/render/text-design-tracking.d.ts +20 -0
  190. package/dist/pptx/render/text-design-tracking.d.ts.map +1 -0
  191. package/dist/pptx/render/text-line-height.d.ts +8 -0
  192. package/dist/pptx/render/text-line-height.d.ts.map +1 -1
  193. package/dist/pptx/render/text-metric-tracking.d.ts.map +1 -1
  194. package/dist/pptx/render/text-paragraphs.d.ts +11 -1
  195. package/dist/pptx/render/text-paragraphs.d.ts.map +1 -1
  196. package/dist/pptx/render/text-warp-arch-fit.d.ts +51 -0
  197. package/dist/pptx/render/text-warp-arch-fit.d.ts.map +1 -0
  198. package/dist/pptx/render/text-warp-arch.d.ts +65 -0
  199. package/dist/pptx/render/text-warp-arch.d.ts.map +1 -0
  200. package/dist/pptx/render/text-warp-closed-paths.d.ts +53 -0
  201. package/dist/pptx/render/text-warp-closed-paths.d.ts.map +1 -0
  202. package/dist/pptx/render/text-warp-envelope-curves.d.ts.map +1 -1
  203. package/dist/pptx/render/text-warp-envelope-map.d.ts +12 -0
  204. package/dist/pptx/render/text-warp-envelope-map.d.ts.map +1 -1
  205. package/dist/pptx/render/text-warp-envelope-measure.d.ts +5 -0
  206. package/dist/pptx/render/text-warp-envelope-measure.d.ts.map +1 -1
  207. package/dist/pptx/render/text-warp-glyph-outline.d.ts.map +1 -1
  208. package/dist/pptx/render/text-warp-outline-webfont-fetch.d.ts.map +1 -1
  209. package/dist/pptx/render/text-warp-polygon-clip.d.ts +21 -0
  210. package/dist/pptx/render/text-warp-polygon-clip.d.ts.map +1 -0
  211. package/dist/pptx/render/text-warp-preset-definitions-extra.d.ts +21 -0
  212. package/dist/pptx/render/text-warp-preset-definitions-extra.d.ts.map +1 -0
  213. package/dist/pptx/render/text-warp-preset-definitions.d.ts +19 -0
  214. package/dist/pptx/render/text-warp-preset-definitions.d.ts.map +1 -1
  215. package/dist/pptx/render/text-warp-preset-sampler.d.ts.map +1 -1
  216. package/dist/pptx/render/text-warp-run-paint.d.ts +19 -0
  217. package/dist/pptx/render/text-warp-run-paint.d.ts.map +1 -0
  218. package/dist/pptx/render/text-warp.d.ts +3 -1
  219. package/dist/pptx/render/text-warp.d.ts.map +1 -1
  220. package/dist/pptx/render/visual-effects.d.ts +11 -21
  221. package/dist/pptx/render/visual-effects.d.ts.map +1 -1
  222. package/dist/pptx/{smartart-insert-preview-UP6DYY42.cjs → smartart-insert-preview-R7USUBIX.cjs} +8 -7
  223. package/dist/pptx/{smartart-insert-preview-DXFDFDSC.mjs → smartart-insert-preview-ZKVFXFSI.mjs} +7 -6
  224. package/dist/teams.js +2 -2
  225. package/dist/visio.js +23 -6
  226. package/dist/xlsx.js +7 -7
  227. package/package.json +2 -2
@@ -34,6 +34,7 @@
34
34
  */
35
35
  import type { TextStyle } from 'ooxml-core/pptx';
36
36
  import type { ParagraphRun, RenderParagraph } from './paragraph-types.js';
37
+ import { type BodyTop } from './text-body-top-snap.js';
37
38
  /** A font's ascent and descent in px, as CSS lays a line box out with them. */
38
39
  export interface FontBox {
39
40
  ascent: number;
@@ -76,6 +77,13 @@ export interface CssLineBox {
76
77
  * which moves a line by up to half a pixel against the unrounded centring.
77
78
  */
78
79
  export declare function cssBaseline(boxes: readonly CssLineBox[]): number;
80
+ /**
81
+ * The first `<n>px` size in a CSS `font` shorthand (`NaN` when there is none),
82
+ * the leftmost match of `\d+(\.\d+)?px`. It scans back from each `px` rather
83
+ * than running that pattern, which backtracks quadratically on long digit runs
84
+ * that never reach a `px`.
85
+ */
86
+ export declare function fontSizePx(font: string): number;
79
87
  /**
80
88
  * {@link FontBoxMeasure} on a 2D canvas (`fontBoundingBoxAscent` /
81
89
  * `fontBoundingBoxDescent`, the metrics the browser lays a line box out
@@ -95,11 +103,14 @@ export interface BaselineShiftInput {
95
103
  strutSizePx: number;
96
104
  strutFamily: string;
97
105
  measure?: FontBoxMeasure;
106
+ /** Where the paragraph's text body starts, for the pixel snap of its top (see `text-body-top-snap`). */
107
+ bodyTop?: BodyTop;
98
108
  }
99
109
  /**
100
110
  * How far (px) to move a paragraph down so its baselines sit where PowerPoint
101
111
  * puts them (see the module comment), or `undefined` when it needs no move or
102
- * its lines cannot be modelled: no text, runs in more than one size or face,
112
+ * its lines cannot be modelled: no text, runs in more than one face or (except
113
+ * at an exact pitch above every run's single spacing) more than one size,
103
114
  * shifted (superscript, subscript) runs, equations, tabs, ruby or script
104
115
  * fallback pieces. Every line of such a paragraph has the same pitch and the
105
116
  * same baseline offset, so one move fixes them all and leaves the flow alone.
@@ -128,11 +139,30 @@ export interface BaselineGeometry {
128
139
  export declare function baselineShiftOf(geometry: BaselineGeometry): number | undefined;
129
140
  /** The font a paragraph's text is measured at for the proportions PowerPoint scales to its pitch. */
130
141
  export declare function referenceFont(style: ParagraphRun['style'], family: string): string;
142
+ /**
143
+ * The box PowerPoint scales to its pitch. A Windows or Office font that is
144
+ * missing here (a legacy East Asian one, an Office cloud font, a styled face
145
+ * name) is laid out by PowerPoint on its own metrics, not on the stand-in the
146
+ * browser measured; a web font still loading keeps its path.
147
+ */
148
+ export declare function referenceBox(measured: FontBox | undefined, family: string | undefined): FontBox | undefined;
131
149
  /** {@link resolveParagraphBaselineShift} that also says whether a stand-in font was measured. */
132
150
  export declare function resolveParagraphBaseline(input: BaselineShiftInput): {
133
151
  shift: number | undefined;
134
152
  provisional: boolean;
153
+ extentDelta?: number;
135
154
  } | undefined;
155
+ /**
156
+ * How much taller (px) PowerPoint's last line is than its pitch, or `undefined`
157
+ * when it is as tall. PowerPoint ends a text body at the last line's baseline
158
+ * plus the descent, not at the bottom of the line pitch (measured on table
159
+ * rows of one and two paragraphs, Calibri and Arial at 12 to 40pt: a cell
160
+ * grows to `(lines - 1) p + baseline + D + margins`): a pitch above single
161
+ * spacing is shorter than `p` by the quarter of it under the descent, and one
162
+ * below single spacing is taller, since the 75% baseline floor leaves the
163
+ * descent hanging below the line.
164
+ */
165
+ export declare function lastLineExtentDelta(size: number, pitch: number, reference: FontBox): number | undefined;
136
166
  /**
137
167
  * Move `paragraph` onto PowerPoint's baselines (see
138
168
  * {@link resolveParagraphBaselineShift}) with a relative `top`, which leaves
@@ -142,7 +172,21 @@ export declare function resolveParagraphBaseline(input: BaselineShiftInput): {
142
172
  export declare function applyParagraphBaselineShift(paragraph: RenderParagraph, body: TextStyle | undefined, block: {
143
173
  fontFamily: string;
144
174
  fontSizePx: number;
145
- }, measure?: FontBoxMeasure): void;
175
+ }, measure?: FontBoxMeasure, bodyTop?: BodyTop): void;
176
+ /** What {@link baselinePlacementStyle} answers: the inline style and what it was made from. */
177
+ export interface BaselinePlacement {
178
+ style: Record<string, string | number>;
179
+ shift: number | undefined;
180
+ provisional: boolean;
181
+ /** See {@link lastLineExtentDelta}: how much taller the last line is than its pitch (px). */
182
+ extentDelta?: number;
183
+ }
184
+ /**
185
+ * The inline style that puts one paragraph block on PowerPoint's baselines (a
186
+ * relative `top`, and the pending marker while its font is a stand-in), or
187
+ * `undefined` when it needs none. Shared by shape text and table cells.
188
+ */
189
+ export declare function baselinePlacementStyle(input: BaselineShiftInput): BaselinePlacement | undefined;
146
190
  /** The custom property that marks a paragraph placed from a stand-in font's box. */
147
191
  export declare const BASELINE_PENDING_VAR = "--pptx-baseline-pending";
148
192
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"paragraph-baseline.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/paragraph-baseline.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAIjD,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGvE,+EAA+E;AAC/E,MAAM,WAAW,OAAO;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,+GAA+G;IAC/G,OAAO,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,iGAAiG;AACjG,MAAM,MAAM,cAAc,GAAG,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,GAAG,SAAS,CAAC;AAanE,0FAA0F;AAC1F,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAYvF;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,GAAG,MAAM,CAGpE;AAED,qFAAqF;AACrF,MAAM,WAAW,UAAU;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,OAAO,CAAC;CACd;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,SAAS,UAAU,EAAE,GAAG,MAAM,CAQhE;AAKD;;;;;;;;GAQG;AACH,eAAO,MAAM,wBAAwB,EA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B,CAAC;IACpC;;;;;;;;;;;;;OAaG;IACH,mBAAmB,CAAC,EAAE,eAAe,EAAE,CAAC;IACxC,qFAAqF;IACrF,YAAY,CAAC,EAAE,IAAI,CAAC;CACpB;AAED,6EAA6E;AAC7E,MAAM,WAAW,sBAAsB;IACtC,oDAAoD;IACpD,YAAY,EAAE,SAAS,WAAW,EAAE,CAAC;IACrC,8EAA8E;IAC9E,WAAW,EAAE,SAAS,MAAM,EAAE,CAAC;IAC/B,0EAA0E;IAC1E,aAAa,EAAE,WAAW,GAAG,SAAS,CAAC;IACvC,6CAA6C;IAC7C,SAAS,EAAE,MAAM,CAAC;IAClB,0EAA0E;IAC1E,SAAS,EAAE,WAAW,CAAC;IACvB,gFAAgF;IAChF,gBAAgB,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAC/C,kEAAkE;IAClE,QAAQ,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC;IACpC,0FAA0F;IAC1F,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC;;;OAGG;IACH,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,sEAAsE;IACtE,YAAY,EAAE,wBAAwB,GAAG,SAAS,CAAC;IACnD,iFAAiF;IACjF,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,8EAA8E;IAC9E,eAAe,CAAC,EAAE,qBAAqB,CAAC;IACxC,+EAA+E;IAC/E,cAAc,CAAC,EAAE,OAAO,CAAC;CACzB;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,sBAAsB,GAAG,QAAQ,EAAE,CA+N5E;AAMD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import type { BuiltRun } from './paragraph-run-build.js';
2
+ /**
3
+ * Gives a paragraph that ends in a soft line break (`a:br`) the empty line
4
+ * PowerPoint draws after it.
5
+ *
6
+ * PowerPoint writes `<a:r/>...<a:br/>` for a paragraph whose author pressed
7
+ * Shift+Enter at its end, and shows a blank line of the break's own size under
8
+ * the text (issue #249). A `<br>` that is the last thing in a CSS block adds no
9
+ * line, so those paragraphs lost the line and the text below sat too high.
10
+ * A zero-width space carrying the break's font metrics, after the `<br>`,
11
+ * gives the empty line its height from the break's size, as PowerPoint does,
12
+ * in every binding because it is an ordinary run.
13
+ */
14
+ export declare function appendTrailingBreakLine(runs: BuiltRun[]): void;
15
+ //# sourceMappingURL=paragraph-trailing-break.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"paragraph-trailing-break.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/paragraph-trailing-break.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAItD;;;;;;;;;;;GAWG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,QAAQ,EAAE,GAAG,IAAI,CAmB9D"}
@@ -1,2 +1,2 @@
1
- export { buildRectPathGradientSvg, buildRectPathGradientImage, type RectPathGradientStop, type RectPathGradientFocalPoint, type RectPathGradientFillToRect, } from 'ooxml-core/diagram';
1
+ export { buildRectPathGradientSvg, buildRectPathGradientExactSvg, buildRectPathGradientImage, type RectPathGradientStop, type RectPathGradientFocalPoint, type RectPathGradientFillToRect, } from 'ooxml-core/diagram';
2
2
  //# sourceMappingURL=path-gradient-rect.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"path-gradient-rect.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/path-gradient-rect.ts"],"names":[],"mappings":"AACA,OAAO,EACN,wBAAwB,EACxB,0BAA0B,EAC1B,KAAK,oBAAoB,EACzB,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,GAC/B,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"path-gradient-rect.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/path-gradient-rect.ts"],"names":[],"mappings":"AACA,OAAO,EACN,wBAAwB,EACxB,6BAA6B,EAC7B,0BAA0B,EAC1B,KAAK,oBAAoB,EACzB,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,GAC/B,MAAM,oBAAoB,CAAC"}
@@ -0,0 +1,73 @@
1
+ /**
2
+ * `shape-geometry-base`: the geometry cascade before shadow and glow are
3
+ * considered (`shape-geometry-cascade` has the answer a binding applies).
4
+ * HOW a shape's geometry is painted.
5
+ *
6
+ * Every binding resolves fill, stroke, effects and 3D through shared modules
7
+ * already, then ends with the same ~40-line decision tree: connector ->
8
+ * stroke-only preset -> roundRect -> ellipse -> clip-path -> line -> cylinder.
9
+ * That tail was hand-ported five times, and the copies drifted:
10
+ *
11
+ * - Angular compared `shapeType` RAW (`=== 'ellipse' || === 'circle'`) instead
12
+ * of normalising it, so `oval` - a preset offered in the shape picker - and
13
+ * any capitalised spelling missed the ellipse branch entirely.
14
+ * - Angular had no connector, line or cylinder branch at all, so a cylinder
15
+ * fell through to a clip-path instead of its `48% / 12%` radius.
16
+ * - Two fidelity fixes in one day (ellipse pill radius, identity-rect clip)
17
+ * each had to be applied four and five times respectively.
18
+ *
19
+ * This module returns a framework-neutral DECISION; each binding only maps that
20
+ * decision onto its own style-object shape (`React.CSSProperties`, a kebab-case
21
+ * record, etc). Adding a branch here reaches all five bindings at once.
22
+ *
23
+ * @module render/shape-geometry-base
24
+ */
25
+ import type { PptxElement } from 'ooxml-core/pptx';
26
+ /**
27
+ * What the geometry cascade decided to do with a shape's box.
28
+ *
29
+ * `bare` and `strokeOnly` both mean "paint no box"; they differ only in that a
30
+ * stroke-only preset must also drop any background IMAGE, because its fill was
31
+ * resolved before the cascade ran.
32
+ */
33
+ export type ShapeGeometryDecision =
34
+ /** Connector: the SVG renderer paints it; the box itself is empty. */
35
+ {
36
+ readonly kind: 'bare';
37
+ }
38
+ /** Open preset (line, arc, connector family): outline is stroked as SVG. */
39
+ | {
40
+ readonly kind: 'strokeOnly';
41
+ }
42
+ /** roundRect / ellipse / cylinder: a CSS `border-radius` approximation. */
43
+ | {
44
+ readonly kind: 'borderRadius';
45
+ readonly radius: string;
46
+ }
47
+ /** Any other preset with real geometry: a CSS `clip-path`. */
48
+ | {
49
+ readonly kind: 'clipPath';
50
+ readonly clipPath: string;
51
+ }
52
+ /** A `line` preset the evaluator could not open: draw its top edge only. */
53
+ | {
54
+ readonly kind: 'lineEdge';
55
+ readonly strokeWidth: number;
56
+ }
57
+ /** Plain rectangle (or nothing to do): leave the box alone. */
58
+ | {
59
+ readonly kind: 'none';
60
+ };
61
+ /**
62
+ * Resolve a shape element's geometry to a neutral painting decision.
63
+ *
64
+ * Order is load-bearing and matches PowerPoint's own precedence: connectors and
65
+ * open presets never get a box, the two cheap radius approximations win over a
66
+ * clip-path, and `line`/`cylinder` are consulted only once the evaluator has
67
+ * declined to produce geometry.
68
+ *
69
+ * @param element The shape-like element to resolve.
70
+ * @returns The decision a binding should apply to its style object.
71
+ */
72
+ export declare function resolveBaseShapeGeometry(element: PptxElement): ShapeGeometryDecision;
73
+ //# sourceMappingURL=shape-geometry-base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shape-geometry-base.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/shape-geometry-base.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AASnD;;;;;;GAMG;AACH,MAAM,MAAM,qBAAqB;AAChC,sEAAsE;AACpE;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAAE;AAC3B,4EAA4E;GAC1E;IAAE,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAA;CAAE;AACjC,2EAA2E;GACzE;IAAE,QAAQ,CAAC,IAAI,EAAE,cAAc,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;CAAE;AAC5D,8DAA8D;GAC5D;IAAE,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;CAAE;AAC1D,4EAA4E;GAC1E;IAAE,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAAC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;CAAE;AAC7D,+DAA+D;GAC7D;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAQ7B;;;;;;;;;;GAUG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,WAAW,GAAG,qBAAqB,CA2DpF"}
@@ -22,48 +22,18 @@
22
22
  * @module render/shape-geometry-cascade
23
23
  */
24
24
  import type { PptxElement } from 'ooxml-core/pptx';
25
- /**
26
- * What the geometry cascade decided to do with a shape's box.
27
- *
28
- * `bare` and `strokeOnly` both mean "paint no box"; they differ only in that a
29
- * stroke-only preset must also drop any background IMAGE, because its fill was
30
- * resolved before the cascade ran.
31
- */
32
- export type ShapeGeometryDecision =
33
- /** Connector: the SVG renderer paints it; the box itself is empty. */
34
- {
35
- readonly kind: 'bare';
36
- }
37
- /** Open preset (line, arc, connector family): outline is stroked as SVG. */
38
- | {
39
- readonly kind: 'strokeOnly';
40
- }
41
- /** roundRect / ellipse / cylinder: a CSS `border-radius` approximation. */
42
- | {
43
- readonly kind: 'borderRadius';
44
- readonly radius: string;
45
- }
46
- /** Any other preset with real geometry: a CSS `clip-path`. */
47
- | {
48
- readonly kind: 'clipPath';
49
- readonly clipPath: string;
50
- }
51
- /** A `line` preset the evaluator could not open: draw its top edge only. */
52
- | {
53
- readonly kind: 'lineEdge';
54
- readonly strokeWidth: number;
55
- }
56
- /** Plain rectangle (or nothing to do): leave the box alone. */
57
- | {
58
- readonly kind: 'none';
59
- };
25
+ import type { ShapeGeometryDecision } from './shape-geometry-base.js';
26
+ export type { ShapeGeometryDecision } from './shape-geometry-base.js';
60
27
  /**
61
28
  * Resolve a shape element's geometry to a neutral painting decision.
62
29
  *
63
- * Order is load-bearing and matches PowerPoint's own precedence: connectors and
30
+ * The base cascade (`resolveBaseShapeGeometry`) is unchanged: connectors and
64
31
  * open presets never get a box, the two cheap radius approximations win over a
65
32
  * clip-path, and `line`/`cylinder` are consulted only once the evaluator has
66
- * declined to produce geometry.
33
+ * declined to produce geometry. One thing overrides it: a shape whose outer
34
+ * shadow or glow is painted as a silhouette (`silhouette-effects`) must not be
35
+ * clipped, since a clip-path would cut those effects off; its fill is painted by
36
+ * the SVG overlay instead (`subpath-fill-overlay`).
67
37
  *
68
38
  * @param element The shape-like element to resolve.
69
39
  * @returns The decision a binding should apply to its style object.
@@ -1 +1 @@
1
- {"version":3,"file":"shape-geometry-cascade.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/shape-geometry-cascade.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AASnD;;;;;;GAMG;AACH,MAAM,MAAM,qBAAqB;AAChC,sEAAsE;AACpE;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAAE;AAC3B,4EAA4E;GAC1E;IAAE,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAA;CAAE;AACjC,2EAA2E;GACzE;IAAE,QAAQ,CAAC,IAAI,EAAE,cAAc,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;CAAE;AAC5D,8DAA8D;GAC5D;IAAE,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;CAAE;AAC1D,4EAA4E;GAC1E;IAAE,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAAC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;CAAE;AAC7D,+DAA+D;GAC7D;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAQ7B;;;;;;;;;;GAUG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,WAAW,GAAG,qBAAqB,CA2DhF"}
1
+ {"version":3,"file":"shape-geometry-cascade.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/shape-geometry-cascade.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAInE,YAAY,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAEnE;;;;;;;;;;;;;GAaG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,WAAW,GAAG,qBAAqB,CAMhF"}
@@ -0,0 +1,20 @@
1
+ import type { RectPathGradientStop } from './path-gradient-rect.js';
2
+ /** The geometry a shape-path gradient is painted on. */
3
+ export interface ShapePathGradientGeometry {
4
+ shapeType: string;
5
+ width: number;
6
+ height: number;
7
+ adjustments?: Record<string, number> | undefined;
8
+ }
9
+ /**
10
+ * The CSS `background-image` for a `path="shape"` gradient on a preset,
11
+ * or `undefined` when the outline cannot be scaled (holes, an unknown preset),
12
+ * in which case the caller keeps its approximation.
13
+ *
14
+ * @param focus - the gradient focus as fractions (0-1) of the box
15
+ */
16
+ export declare function buildOutlineShapePathGradient(stops: readonly RectPathGradientStop[], geometry: ShapePathGradientGeometry, focus: {
17
+ x: number;
18
+ y: number;
19
+ }): string | undefined;
20
+ //# sourceMappingURL=shape-path-gradient-fill.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shape-path-gradient-fill.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/shape-path-gradient-fill.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAEjE,wDAAwD;AACxD,MAAM,WAAW,yBAAyB;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAAC;CACjD;AAmBD;;;;;;GAMG;AACH,wBAAgB,6BAA6B,CAC5C,KAAK,EAAE,SAAS,oBAAoB,EAAE,EACtC,QAAQ,EAAE,yBAAyB,EACnC,KAAK,EAAE;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,GAC7B,MAAM,GAAG,SAAS,CAapB"}
@@ -0,0 +1,118 @@
1
+ /**
2
+ * Shape-following outer shadow and glow.
3
+ *
4
+ * A rectangle (or an ellipse / round rectangle, whose `border-radius` is part of
5
+ * its own box) paints its outer shadow and glow as `box-shadow`. Every other
6
+ * preset, and every custom geometry, paints its fill as a CSS `clip-path` on the
7
+ * same element, and `clip-path` is applied AFTER `filter` and `box-shadow`, so
8
+ * it removed the shadow and the glow along with the corners of the box. A shape
9
+ * with no fill was worse: its `box-shadow` is the shadow of the invisible box,
10
+ * where PowerPoint shadows only the outline.
11
+ *
12
+ * Such a shape now paints like this:
13
+ *
14
+ * - the container loses its clip-path (the geometry cascade answers `none`),
15
+ * - the fill is painted by the per-sub-path SVG overlay (`subpath-fill-overlay`),
16
+ * which is clipped by nothing,
17
+ * - the outer shadow and the glow are ONE SVG `<filter>` on the container
18
+ * (`filter: url(#shape-fx-<id>)`) computed from the painted alpha: fill,
19
+ * outline and text together, so they follow the silhouette and a hollow shape
20
+ * shadows its outline only.
21
+ *
22
+ * The profiles are the rectangle's (`effect-profile.ts`): a shadow is a Gaussian
23
+ * of deviation `0.327 * blurRad`; a glow is the silhouette grown by `0.417 * rad`
24
+ * (a ring of offset copies, since `feMorphology` is a square kernel and would
25
+ * grow diagonal edges by 1.41x) and blurred with deviation `rad / 6`.
26
+ *
27
+ * Only shapes whose other paint stays out of the way qualify: the container's
28
+ * `box-shadow` must carry nothing else (no inner shadow, no line shadow, no 3-D
29
+ * bevel) and the fill must be one the overlay can paint (a solid colour or none).
30
+ *
31
+ * @module render/silhouette-effects
32
+ */
33
+ import type { PptxElement, ShapeStyle } from 'ooxml-core/pptx';
34
+ /** One outer shadow layer, in the units of the box-shadow it replaces. */
35
+ export interface SilhouetteShadowLayer {
36
+ readonly offsetX: number;
37
+ readonly offsetY: number;
38
+ /** The CSS blur length (twice the Gaussian's deviation). */
39
+ readonly blur: number;
40
+ /** `#RRGGBB`. */
41
+ readonly color: string;
42
+ readonly opacity: number;
43
+ }
44
+ /** A glow: the silhouette grown by `spread` then blurred by `blur` (a CSS length). */
45
+ export interface SilhouetteGlow {
46
+ readonly spread: number;
47
+ readonly blur: number;
48
+ readonly color: string;
49
+ readonly opacity: number;
50
+ }
51
+ /** An inner shadow: the offset points to the edge it hugs (as in PowerPoint). */
52
+ export interface SilhouetteInnerShadow {
53
+ readonly offsetX: number;
54
+ readonly offsetY: number;
55
+ /** The CSS blur length (twice the Gaussian's deviation). */
56
+ readonly blur: number;
57
+ readonly color: string;
58
+ readonly opacity: number;
59
+ }
60
+ /** The effects a silhouette filter paints. */
61
+ export interface SilhouetteEffectParams {
62
+ readonly shadows: readonly SilhouetteShadowLayer[];
63
+ readonly glow?: SilhouetteGlow;
64
+ readonly inner?: SilhouetteInnerShadow;
65
+ }
66
+ /** What a binding needs to apply the effects of one shape. */
67
+ export interface SilhouetteEffects {
68
+ readonly filterId: string;
69
+ /** The `filter` value that applies it. */
70
+ readonly cssReference: string;
71
+ /** The `<filter>` markup, to inject next to the soft-edge filter. */
72
+ readonly filterMarkup: string;
73
+ /** The filter also paints the inner shadow, so the box-shadow must not. */
74
+ readonly paintsInnerShadow: boolean;
75
+ }
76
+ /** The id of the filter a shape's silhouette effects are painted with. */
77
+ export declare function getSilhouetteFilterId(elementId: string): string;
78
+ /**
79
+ * The outer shadow layers of a style, exactly as the `box-shadow` path resolves
80
+ * them (`getOuterShadowCss` / `getMultiLayerShadowCss`).
81
+ */
82
+ export declare function resolveOuterShadowLayers(style: ShapeStyle, rotation: number | undefined): SilhouetteShadowLayer[];
83
+ /** The glow of a style as dilation and blur lengths, or `undefined`. */
84
+ export declare function resolveGlow(style: ShapeStyle): SilhouetteGlow | undefined;
85
+ /** The inner shadow of a style, with the numbers `getInnerShadowCss` uses. */
86
+ export declare function resolveInnerShadow(style: ShapeStyle): SilhouetteInnerShadow | undefined;
87
+ /** The effect parameters of a shape that paints them as a silhouette, or `undefined`. */
88
+ export declare function getSilhouetteEffectParams(element: PptxElement): SilhouetteEffectParams | undefined;
89
+ /** Which end of a morph a layer belongs to; its opacity follows `--pptx-morph-p`. */
90
+ export type SilhouetteMorphSide = 'out' | 'in';
91
+ /** The custom property carrying a morph's eased progress (see `silhouette-morph`). */
92
+ export declare const MORPH_PROGRESS_VAR = "--pptx-morph-p";
93
+ /**
94
+ * The `<filter>` markup that paints `params` around an element of `width` x
95
+ * `height`. With `outgoing`, the effects of the other end of a morph are
96
+ * painted too, dissolving out as `params` dissolve in (see `silhouette-morph`).
97
+ */
98
+ export declare function buildSilhouetteFilterMarkup(filterId: string, width: number, height: number, params: SilhouetteEffectParams, outgoing?: SilhouetteEffectParams): string;
99
+ /**
100
+ * The silhouette effects of a shape, or `undefined` when its shadow and glow
101
+ * ride on its `box-shadow` as before.
102
+ */
103
+ export declare function getSilhouetteEffects(element: PptxElement): SilhouetteEffects | undefined;
104
+ /**
105
+ * Whether the fill of a shape with silhouette effects is painted by the SVG
106
+ * overlay: it was clipped by a clip-path, and has a fill to paint.
107
+ */
108
+ export declare function silhouetteFillsOverlay(element: PptxElement): boolean;
109
+ /**
110
+ * Whether the fill of a shape with silhouette effects is a CSS background on a
111
+ * clipped child layer (`silhouette-fill-layer`): a gradient, pattern or picture
112
+ * fill, which an SVG path cannot paint. The clip applies to the layer before the
113
+ * container's filter, so the filter still sees the silhouette.
114
+ */
115
+ export declare function silhouetteFillsLayer(element: PptxElement): boolean;
116
+ /** Whether a shape paints its outer shadow and glow as a silhouette. */
117
+ export declare function usesSilhouetteEffects(element: PptxElement): boolean;
118
+ //# sourceMappingURL=silhouette-effects.d.ts.map
@@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AAO,CASpE;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAMlE;AAED,wEAAwE;AACxE,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAEnE"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * The fill of a silhouette shape (see `silhouette-effects`) whose fill is a
3
+ * gradient, pattern or picture: the container's filter paints its shadow and
4
+ * glow from the painted alpha, so the fill must not be clipped on the container.
5
+ * It is a child layer carrying the same CSS background and the clip-path of the
6
+ * geometry; a child's clip applies before the container's filter.
7
+ *
8
+ * @module render/silhouette-fill-layer
9
+ */
10
+ import type { PptxElement } from 'ooxml-core/pptx';
11
+ /** The camelCase style of the fill layer, to be rendered as an inert absolute child. */
12
+ export interface SilhouetteFillLayer {
13
+ readonly style: Readonly<Record<string, string>>;
14
+ /** The same declarations as a `style` attribute value. */
15
+ readonly cssText: string;
16
+ }
17
+ /** The fill layer of a shape, or `undefined` when its fill is not painted that way. */
18
+ export declare function getSilhouetteFillLayer(element: PptxElement): SilhouetteFillLayer | undefined;
19
+ //# sourceMappingURL=silhouette-fill-layer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"silhouette-fill-layer.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/silhouette-fill-layer.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAOnD,wFAAwF;AACxF,MAAM,WAAW,mBAAmB;IACnC,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACjD,0DAA0D;IAC1D,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CACzB;AAED,uFAAuF;AACvF,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,WAAW,GAAG,mBAAmB,GAAG,SAAS,CA+B5F"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Rebuilds, under `root`, each silhouette filter whose shape a registered morph
3
+ * brings in. A filter that already carries the dissolve layers is left alone.
4
+ */
5
+ export declare function refreshSilhouetteMorphFilters(root: ParentNode): void;
6
+ //# sourceMappingURL=silhouette-morph-refresh.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"silhouette-morph-refresh.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/silhouette-morph-refresh.ts"],"names":[],"mappings":"AAeA;;;GAGG;AACH,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,UAAU,GAAG,IAAI,CA2BpE"}
@@ -0,0 +1,36 @@
1
+ /**
2
+ * The other end of a morph, handed to the silhouette filter of the shape that
3
+ * arrives (see `morph-effect-silhouette`).
4
+ *
5
+ * A filter is built from one element, and a morphing shape paints the effects of
6
+ * BOTH its ends, so the plan registers the outgoing end here, scaled into the
7
+ * arriving shape's frame, and `getSilhouetteEffects` adds its layers to the
8
+ * arriving shape's filter. The entry matches by id AND by the arriving shape's
9
+ * own effects, so a stale entry never touches another shape; the layers it adds
10
+ * sit at opacity `1 - p` and read `p` from the container's keyframes, which end
11
+ * at `p = 1`, so a shape that renders after its morph looks exactly as it did.
12
+ *
13
+ * @module render/silhouette-morph-registry
14
+ */
15
+ import type { SilhouetteEffectParams } from './silhouette-effects.js';
16
+ /** The outgoing end of a morph, with what rebuilds the arriving shape's filter. */
17
+ export interface SilhouetteMorphEntry {
18
+ /** The arriving shape's own effects. */
19
+ readonly params: SilhouetteEffectParams;
20
+ readonly width: number;
21
+ readonly height: number;
22
+ /** The arriving shape's own effects, serialized (the match key). */
23
+ readonly own: string;
24
+ /** The outgoing end's effects, in the arriving shape's frame. */
25
+ readonly out: SilhouetteEffectParams;
26
+ }
27
+ /** Registers the outgoing end of the morph that brings `elementId` in. */
28
+ export declare function registerSilhouetteMorph(elementId: string, own: SilhouetteEffectParams, out: SilhouetteEffectParams, size: {
29
+ width: number;
30
+ height: number;
31
+ }): void;
32
+ /** The registered morph that brings `elementId` in, if any. */
33
+ export declare function silhouetteMorphEntry(elementId: string): SilhouetteMorphEntry | undefined;
34
+ /** The outgoing end's effects for a shape with `own` effects, if a morph brings it in. */
35
+ export declare function silhouetteMorphFor(elementId: string, own: SilhouetteEffectParams): SilhouetteEffectParams | undefined;
36
+ //# sourceMappingURL=silhouette-morph-registry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"silhouette-morph-registry.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/silhouette-morph-registry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAEnE,mFAAmF;AACnF,MAAM,WAAW,oBAAoB;IACpC,wCAAwC;IACxC,QAAQ,CAAC,MAAM,EAAE,sBAAsB,CAAC;IACxC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,oEAAoE;IACpE,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,iEAAiE;IACjE,QAAQ,CAAC,GAAG,EAAE,sBAAsB,CAAC;CACrC;AAID,0EAA0E;AAC1E,wBAAgB,uBAAuB,CACtC,SAAS,EAAE,MAAM,EACjB,GAAG,EAAE,sBAAsB,EAC3B,GAAG,EAAE,sBAAsB,EAC3B,IAAI,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GACrC,IAAI,CAEN;AAED,+DAA+D;AAC/D,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,MAAM,GAAG,oBAAoB,GAAG,SAAS,CAExF;AAED,0FAA0F;AAC1F,wBAAgB,kBAAkB,CACjC,SAAS,EAAE,MAAM,EACjB,GAAG,EAAE,sBAAsB,GACzB,sBAAsB,GAAG,SAAS,CAGpC"}
@@ -24,4 +24,26 @@ export declare function isStrokeOnlyPresetElement(element: PptxElement): boolean
24
24
  * strands. Returns `undefined` for anything that is not a stroke-only preset.
25
25
  */
26
26
  export declare function strokeOnlyPresetPathData(element: PptxElement): string | undefined;
27
+ /**
28
+ * Evaluate a preset's sub-paths when it uses the split layout: at least one
29
+ * sub-path opts out of the stroke (`a:path/@stroke="0"`), the way the ECMA-376
30
+ * definitions separate an unstroked FILL path from a separate STROKE path
31
+ * (`arc` is a wedge plus an open arc, `smileyFace` a face plus eyes and mouth,
32
+ * `can`, `cube`, `bevel`, brackets, braces, callouts, fold-over corners and
33
+ * action buttons likewise).
34
+ *
35
+ * PowerPoint fills only along the fill paths and strokes only along the stroked
36
+ * ones. The merged clip outline a binding would otherwise stroke includes the
37
+ * edges of the unstroked fill paths (an arc's radial edges, a bracket's chord),
38
+ * which PowerPoint never draws. Fully open presets are not part of this set:
39
+ * {@link getStrokeOnlyPresetPaths} owns them.
40
+ */
41
+ export declare function getSplitStrokePresetPaths(element: PptxElement): PresetSubpathResult[] | undefined;
42
+ /**
43
+ * SVG path data of only the stroked sub-paths of a split-layout preset (see
44
+ * {@link getSplitStrokePresetPaths}), or `undefined` when the preset is not one
45
+ * or has no stroked geometry. Every outline of such a preset (flat, gradient or
46
+ * pattern line) is drawn along this path.
47
+ */
48
+ export declare function splitStrokePresetPathData(element: PptxElement): string | undefined;
27
49
  //# sourceMappingURL=stroke-only-preset.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"stroke-only-preset.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/stroke-only-preset.ts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAExE;;;;;;;;;GASG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,WAAW,GAAG,mBAAmB,EAAE,GAAG,SAAS,CAwBhG;AAED;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAEvE;AAED;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,GAAG,SAAS,CAOjF"}
1
+ {"version":3,"file":"stroke-only-preset.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/stroke-only-preset.ts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAExE;;;;;;;;;GASG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,WAAW,GAAG,mBAAmB,EAAE,GAAG,SAAS,CAwBhG;AAED;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAEvE;AAED;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,GAAG,SAAS,CAOjF;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,yBAAyB,CAAC,OAAO,EAAE,WAAW,GAAG,mBAAmB,EAAE,GAAG,SAAS,CAkBjG;AAED;;;;;GAKG;AACH,wBAAgB,yBAAyB,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,GAAG,SAAS,CAKlF"}
@@ -1 +1 @@
1
- {"version":3,"file":"stroke-outline.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/stroke-outline.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,OAAO,KAAK,EAAE,WAAW,EAAc,MAAM,iBAAiB,CAAC;AAQ/D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAS/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAU3D,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAS1E,4EAA4E;AAC5E,MAAM,MAAM,kBAAkB,GAAG,cAAc,GAAG,aAAa,CAAC;AAEhE;;;;GAIG;AACH,MAAM,WAAW,mBAAm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,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;CACnB;AAqBD,uFAAuF;AACvF,wBAAgB,4BAA4B,CAC3C,SAAS,EAAE,MAAM,GAAG,SAAS,EAC7B,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAClC,yBAAyB,GAAG,SAAS,CAkCvC;AA4ID;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,CAWlE;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,WAAW,GAAG,cAAc,CAKtE;AAmDD;;;;;;;;;;GAUG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,WAAW,GAAG,aAAa,GAAG,SAAS,CAoFlF;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,GAAG,SAAS,CAO7E;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAEjE"}
@@ -28,11 +28,10 @@
28
28
  * ({@link suppressesCssFill}) drops the CSS background so the flat colour does
29
29
  * not show underneath.
30
30
  *
31
- * Restricted to a solid (or absent) fill: a gradient/pattern/image fill keeps
32
- * the existing single merged clip-path box, since neither geometry kind's
33
- * sub-paths can carry an independent paint SERVER (only a solid, mode-shifted
34
- * colour), and the common case for both bug classes - shading/bevel highlights,
35
- * `smileyFace`'s eyes - is a solid theme colour.
31
+ * A solid (or absent) fill is painted entirely by the overlay. A gradient,
32
+ * pattern or picture fill keeps the single merged clip-path box (a sub-path
33
+ * cannot carry its own paint server) and gets only the shading veils on top
34
+ * (`buildShadingOverlay`).
36
35
  */
37
36
  import type { PptxElement } from 'ooxml-core/pptx';
38
37
  import type { SubpathPaint } from './vector-subpath-paint.js';
@@ -44,6 +43,13 @@ export interface SubpathFillOverlay {
44
43
  readonly viewBoxWidth: number;
45
44
  /** `viewBox` height, in the same coordinate space as every `paints[].d`. */
46
45
  readonly viewBoxHeight: number;
46
+ /**
47
+ * Set when the overlay paints the fill of a shape that is not clipped (its
48
+ * shadow and glow are a silhouette filter, see `silhouette-effects`), as
49
+ * opposed to the shading sub-paths of a shape that is. A binding that paints
50
+ * the whole fill itself (React's custom geometry and wedge callouts) skips it.
51
+ */
52
+ readonly silhouette?: boolean;
47
53
  }
48
54
  /**
49
55
  * Whether a binding must drop its CSS `background-color` / `background-image`
@@ -1 +1 @@
1
- {"version":3,"file":"subpath-fill-overlay.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/subpath-fill-overlay.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,OAAO,KAAK,EAIX,WAAW,EACX,MAAM,iBAAiB,CAAC;AASzB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAqB3D,kFAAkF;AAClF,MAAM,WAAW,kBAAkB;IAClC,kDAAkD;IAClD,QAAQ,CAAC,MAAM,EAAE,SAAS,YAAY,EAAE,CAAC;IACzC,2EAA2E;IAC3E,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,4EAA4E;IAC5E,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;CAC/B;AAoHD;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAE/D;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,WAAW,GAAG,kBAAkB,GAAG,SAAS,CAiB5F"}
1
+ {"version":3,"file":"subpath-fill-overlay.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/subpath-fill-overlay.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;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