ooxml-ui 1.43.0 → 1.44.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 (204) hide show
  1. package/dist/base.d.ts +0 -1
  2. package/dist/chart/format-pane-3d.d.ts +0 -1
  3. package/dist/chart/format-pane-advanced-intent.d.ts +0 -1
  4. package/dist/chart/format-pane-analysis.d.ts +0 -1
  5. package/dist/chart/format-pane-axis.d.ts +0 -1
  6. package/dist/chart/format-pane-common.d.ts +0 -1
  7. package/dist/chart/format-pane-effects.d.ts +0 -1
  8. package/dist/chart/format-pane-fields.d.ts +0 -1
  9. package/dist/chart/format-pane-fill-kinds.d.ts +0 -1
  10. package/dist/chart/format-pane-fill-line.d.ts +0 -1
  11. package/dist/chart/format-pane-locales/es.d.ts +0 -1
  12. package/dist/chart/format-pane-model.d.ts +0 -1
  13. package/dist/chart/format-pane-options.d.ts +0 -1
  14. package/dist/chart/format-pane-space.d.ts +0 -1
  15. package/dist/chart/format-pane-text.d.ts +0 -1
  16. package/dist/chart/format-pane-types.d.ts +0 -1
  17. package/dist/chart/format-pane-view.d.ts +0 -1
  18. package/dist/chrome/find-bar.d.ts +1 -2
  19. package/dist/controls.d.ts +0 -1
  20. package/dist/embedding/region-host.d.ts +0 -1
  21. package/dist/files/save-progress-label.d.ts +0 -1
  22. package/dist/fonts/custom-fonts.d.ts +0 -1
  23. package/dist/form/color-swatches.d.ts +0 -1
  24. package/dist/image-native-size.d.ts +0 -1
  25. package/dist/picture-artistic-filters.d.ts +0 -1
  26. package/dist/picture-artistic-preview.d.ts +0 -1
  27. package/dist/picture-paint.d.ts +0 -1
  28. package/dist/pptx/{chart-3d-view-scene-CGLU6ISD.mjs → chart-3d-view-scene-D6OJTZYC.mjs} +3 -2
  29. package/dist/pptx/{chart-3d-view-scene-C7QUQTXD.cjs → chart-3d-view-scene-PC2RUBL4.cjs} +38 -37
  30. package/dist/pptx/{chunk-JP26TA3Q.cjs → chunk-2GDYTHUY.cjs} +12 -12
  31. package/dist/pptx/{chunk-YZWKNFPU.cjs → chunk-2SO3BL67.cjs} +2706 -160
  32. package/dist/pptx/{chunk-5BINBXFV.mjs → chunk-BNPTGOEZ.mjs} +3 -3
  33. package/dist/pptx/{chunk-7FTP7OOA.mjs → chunk-D3DQS2J2.mjs} +6767 -6987
  34. package/dist/pptx/chunk-EDIAPF6J.mjs +135 -0
  35. package/dist/pptx/{chunk-DH6EKOVI.mjs → chunk-H6M3FKNG.mjs} +1 -1
  36. package/dist/pptx/{chunk-CK6RYGB4.cjs → chunk-HB6CH2FF.cjs} +3 -126
  37. package/dist/pptx/chunk-HWJKBKCW.cjs +147 -0
  38. package/dist/pptx/{chunk-BA4CJI4U.mjs → chunk-KYTG7WNC.mjs} +3 -115
  39. package/dist/pptx/{chunk-P4NVINSK.cjs → chunk-LK35P6RE.cjs} +5329 -5606
  40. package/dist/pptx/{chunk-TW5UQCZS.mjs → chunk-TDALHSYV.mjs} +2605 -168
  41. package/dist/pptx/{chunk-UGSMMZU6.cjs → chunk-ZH35NTNU.cjs} +49 -49
  42. package/dist/pptx/dom/elements/connector.d.ts.map +1 -1
  43. package/dist/pptx/dom/elements/equation.d.ts.map +1 -1
  44. package/dist/pptx/dom/elements/media.d.ts.map +1 -1
  45. package/dist/pptx/dom/elements/ole.d.ts.map +1 -1
  46. package/dist/pptx/dom/elements/reflection-mirror-content.d.ts.map +1 -1
  47. package/dist/pptx/dom/elements/shape-filter-defs.d.ts +5 -0
  48. package/dist/pptx/dom/elements/shape-filter-defs.d.ts.map +1 -1
  49. package/dist/pptx/dom/elements/table.d.ts.map +1 -1
  50. package/dist/pptx/dom/elements/text-shape.d.ts.map +1 -1
  51. package/dist/pptx/dom/elements/text-warp.d.ts.map +1 -1
  52. package/dist/pptx/dom/index.cjs +524 -446
  53. package/dist/pptx/dom/index.mjs +114 -37
  54. package/dist/pptx/export/html2canvas-clone.cjs +7 -6
  55. package/dist/pptx/export/html2canvas-clone.mjs +2 -1
  56. package/dist/pptx/index.cjs +3828 -3663
  57. package/dist/pptx/index.mjs +5 -4
  58. package/dist/pptx/render/chart-combo-stock.cjs +4 -3
  59. package/dist/pptx/render/chart-combo-stock.mjs +2 -1
  60. package/dist/pptx/render/chart-overlays.cjs +8 -7
  61. package/dist/pptx/render/chart-overlays.mjs +2 -1
  62. package/dist/pptx/render/chart-surface-treemap.cjs +5 -4
  63. package/dist/pptx/render/chart-surface-treemap.mjs +2 -1
  64. package/dist/pptx/render/chart-view-model.cjs +45 -44
  65. package/dist/pptx/render/chart-view-model.mjs +2 -1
  66. package/dist/pptx/render/chart-waterfall-map.cjs +7 -6
  67. package/dist/pptx/render/chart-waterfall-map.mjs +2 -1
  68. package/dist/pptx/render/connector-dash.d.ts +2 -1
  69. package/dist/pptx/render/connector-dash.d.ts.map +1 -1
  70. package/dist/pptx/render/connector-path.d.ts +1 -1
  71. package/dist/pptx/render/connector-path.d.ts.map +1 -1
  72. package/dist/pptx/render/connector-style.d.ts +4 -2
  73. package/dist/pptx/render/connector-style.d.ts.map +1 -1
  74. package/dist/pptx/render/dash-path-start.d.ts +38 -0
  75. package/dist/pptx/render/dash-path-start.d.ts.map +1 -0
  76. package/dist/pptx/render/dash-pattern.d.ts +61 -0
  77. package/dist/pptx/render/dash-pattern.d.ts.map +1 -0
  78. package/dist/pptx/render/device-pixel-exact.d.ts +34 -0
  79. package/dist/pptx/render/device-pixel-exact.d.ts.map +1 -0
  80. package/dist/pptx/render/device-pixel-group.d.ts +42 -0
  81. package/dist/pptx/render/device-pixel-group.d.ts.map +1 -0
  82. package/dist/pptx/render/device-pixel-stroke.d.ts +21 -3
  83. package/dist/pptx/render/device-pixel-stroke.d.ts.map +1 -1
  84. package/dist/pptx/render/element-style-transform.d.ts +6 -5
  85. package/dist/pptx/render/element-style-transform.d.ts.map +1 -1
  86. package/dist/pptx/render/embedded-fonts-sheet.d.ts +6 -0
  87. package/dist/pptx/render/embedded-fonts-sheet.d.ts.map +1 -1
  88. package/dist/pptx/render/equation-box-style.d.ts +23 -0
  89. package/dist/pptx/render/equation-box-style.d.ts.map +1 -0
  90. package/dist/pptx/render/fill-style.d.ts +16 -1
  91. package/dist/pptx/render/fill-style.d.ts.map +1 -1
  92. package/dist/pptx/render/font-line-gap.d.ts +0 -18
  93. package/dist/pptx/render/font-line-gap.d.ts.map +1 -1
  94. package/dist/pptx/render/gradient-svg-image.d.ts +20 -0
  95. package/dist/pptx/render/gradient-svg-image.d.ts.map +1 -0
  96. package/dist/pptx/render/group-fill.d.ts.map +1 -1
  97. package/dist/pptx/render/hollow-shape-hit-test.d.ts +23 -1
  98. package/dist/pptx/render/hollow-shape-hit-test.d.ts.map +1 -1
  99. package/dist/pptx/render/index.d.ts +11 -0
  100. package/dist/pptx/render/index.d.ts.map +1 -1
  101. package/dist/pptx/render/linked-text-box-overflow.d.ts +20 -5
  102. package/dist/pptx/render/linked-text-box-overflow.d.ts.map +1 -1
  103. package/dist/pptx/render/media-control-bar.d.ts +41 -0
  104. package/dist/pptx/render/media-control-bar.d.ts.map +1 -0
  105. package/dist/pptx/render/media-playback.d.ts +6 -6
  106. package/dist/pptx/render/media-playback.d.ts.map +1 -1
  107. package/dist/pptx/render/morph-animation.d.ts.map +1 -1
  108. package/dist/pptx/render/morph-carry.d.ts.map +1 -1
  109. package/dist/pptx/render/morph-connector-carry.d.ts +43 -0
  110. package/dist/pptx/render/morph-connector-carry.d.ts.map +1 -0
  111. package/dist/pptx/render/morph-effect-carry.d.ts +2 -0
  112. package/dist/pptx/render/morph-effect-carry.d.ts.map +1 -1
  113. package/dist/pptx/render/morph-effect-silhouette.d.ts +23 -0
  114. package/dist/pptx/render/morph-effect-silhouette.d.ts.map +1 -0
  115. package/dist/pptx/render/morph-geometry-key.d.ts.map +1 -1
  116. package/dist/pptx/render/morph-line-carry.d.ts +27 -0
  117. package/dist/pptx/render/morph-line-carry.d.ts.map +1 -1
  118. package/dist/pptx/render/morph-line-ends.d.ts +27 -0
  119. package/dist/pptx/render/morph-line-ends.d.ts.map +1 -0
  120. package/dist/pptx/render/morph-line-reach.d.ts +72 -0
  121. package/dist/pptx/render/morph-line-reach.d.ts.map +1 -0
  122. package/dist/pptx/render/morph-overlay-order.d.ts.map +1 -1
  123. package/dist/pptx/render/morph-plan-css.d.ts +0 -7
  124. package/dist/pptx/render/morph-plan-css.d.ts.map +1 -1
  125. package/dist/pptx/render/morph-predicates.d.ts.map +1 -1
  126. package/dist/pptx/render/morph-shape-carry.d.ts.map +1 -1
  127. package/dist/pptx/render/paragraph-baseline.d.ts +33 -0
  128. package/dist/pptx/render/paragraph-baseline.d.ts.map +1 -1
  129. package/dist/pptx/render/path-gradient-rect.d.ts +1 -1
  130. package/dist/pptx/render/path-gradient-rect.d.ts.map +1 -1
  131. package/dist/pptx/render/shape-geometry-base.d.ts +73 -0
  132. package/dist/pptx/render/shape-geometry-base.d.ts.map +1 -0
  133. package/dist/pptx/render/shape-geometry-cascade.d.ts +7 -37
  134. package/dist/pptx/render/shape-geometry-cascade.d.ts.map +1 -1
  135. package/dist/pptx/render/silhouette-effects.d.ts +118 -0
  136. package/dist/pptx/render/silhouette-effects.d.ts.map +1 -0
  137. package/dist/pptx/render/silhouette-fill-layer.d.ts +19 -0
  138. package/dist/pptx/render/silhouette-fill-layer.d.ts.map +1 -0
  139. package/dist/pptx/render/silhouette-morph-refresh.d.ts +6 -0
  140. package/dist/pptx/render/silhouette-morph-refresh.d.ts.map +1 -0
  141. package/dist/pptx/render/silhouette-morph-registry.d.ts +36 -0
  142. package/dist/pptx/render/silhouette-morph-registry.d.ts.map +1 -0
  143. package/dist/pptx/render/stroke-only-preset.d.ts +22 -0
  144. package/dist/pptx/render/stroke-only-preset.d.ts.map +1 -1
  145. package/dist/pptx/render/stroke-outline.d.ts.map +1 -1
  146. package/dist/pptx/render/subpath-fill-overlay.d.ts +11 -5
  147. package/dist/pptx/render/subpath-fill-overlay.d.ts.map +1 -1
  148. package/dist/pptx/render/subpath-geometry.d.ts +38 -0
  149. package/dist/pptx/render/subpath-geometry.d.ts.map +1 -0
  150. package/dist/pptx/render/svg-gradient-paint.d.ts.map +1 -1
  151. package/dist/pptx/render/svg-id-scope.d.ts +8 -0
  152. package/dist/pptx/render/svg-id-scope.d.ts.map +1 -0
  153. package/dist/pptx/render/table-cell-baseline.d.ts +36 -0
  154. package/dist/pptx/render/table-cell-baseline.d.ts.map +1 -0
  155. package/dist/pptx/render/table-cell-border-inset.d.ts +21 -0
  156. package/dist/pptx/render/table-cell-border-inset.d.ts.map +1 -0
  157. package/dist/pptx/render/table-cell-css.d.ts.map +1 -1
  158. package/dist/pptx/render/table-cell-paragraphs.d.ts +13 -1
  159. package/dist/pptx/render/table-cell-paragraphs.d.ts.map +1 -1
  160. package/dist/pptx/render/table-style-bg-settle.d.ts +43 -0
  161. package/dist/pptx/render/table-style-bg-settle.d.ts.map +1 -0
  162. package/dist/pptx/render/table-style-bg-span.d.ts +26 -0
  163. package/dist/pptx/render/table-style-bg-span.d.ts.map +1 -0
  164. package/dist/pptx/render/table-style-borders.d.ts.map +1 -1
  165. package/dist/pptx/render/table-style-builtins-data.d.ts +1 -1
  166. package/dist/pptx/render/table-style-builtins-data.d.ts.map +1 -1
  167. package/dist/pptx/render/table-style-fill.d.ts.map +1 -1
  168. package/dist/pptx/render/table-style-shadow.d.ts +20 -0
  169. package/dist/pptx/render/table-style-shadow.d.ts.map +1 -0
  170. package/dist/pptx/render/table-style-theme-refs.d.ts.map +1 -1
  171. package/dist/pptx/render/table-style.d.ts +9 -0
  172. package/dist/pptx/render/table-style.d.ts.map +1 -1
  173. package/dist/pptx/render/text-block-style.d.ts +5 -0
  174. package/dist/pptx/render/text-block-style.d.ts.map +1 -1
  175. package/dist/pptx/render/text-paragraphs.d.ts +11 -1
  176. package/dist/pptx/render/text-paragraphs.d.ts.map +1 -1
  177. package/dist/pptx/render/text-warp-arch.d.ts +25 -0
  178. package/dist/pptx/render/text-warp-arch.d.ts.map +1 -0
  179. package/dist/pptx/render/text-warp-closed-paths.d.ts +53 -0
  180. package/dist/pptx/render/text-warp-closed-paths.d.ts.map +1 -0
  181. package/dist/pptx/render/text-warp-envelope-curves.d.ts.map +1 -1
  182. package/dist/pptx/render/text-warp-envelope-map.d.ts +12 -0
  183. package/dist/pptx/render/text-warp-envelope-map.d.ts.map +1 -1
  184. package/dist/pptx/render/text-warp-glyph-outline.d.ts.map +1 -1
  185. package/dist/pptx/render/text-warp-polygon-clip.d.ts +21 -0
  186. package/dist/pptx/render/text-warp-polygon-clip.d.ts.map +1 -0
  187. package/dist/pptx/render/text-warp-preset-definitions-extra.d.ts +21 -0
  188. package/dist/pptx/render/text-warp-preset-definitions-extra.d.ts.map +1 -0
  189. package/dist/pptx/render/text-warp-preset-definitions.d.ts +19 -0
  190. package/dist/pptx/render/text-warp-preset-definitions.d.ts.map +1 -1
  191. package/dist/pptx/render/text-warp-preset-sampler.d.ts.map +1 -1
  192. package/dist/pptx/render/text-warp-run-paint.d.ts +19 -0
  193. package/dist/pptx/render/text-warp-run-paint.d.ts.map +1 -0
  194. package/dist/pptx/render/text-warp.d.ts.map +1 -1
  195. package/dist/pptx/render/visual-effects.d.ts +9 -0
  196. package/dist/pptx/render/visual-effects.d.ts.map +1 -1
  197. package/dist/pptx/{smartart-insert-preview-UP6DYY42.cjs → smartart-insert-preview-55QCEISC.cjs} +7 -6
  198. package/dist/pptx/{smartart-insert-preview-DXFDFDSC.mjs → smartart-insert-preview-GPBTE3HU.mjs} +6 -5
  199. package/dist/render-cache.d.ts +0 -1
  200. package/dist/ribbon/ribbon-group.d.ts +1 -2
  201. package/dist/ribbon/svg-preview.d.ts +0 -1
  202. package/dist/theme-bridge.d.ts +0 -1
  203. package/dist/theme.d.ts +0 -1
  204. package/package.json +2 -2
@@ -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;;;;;;;;;;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AE,WAAW,GAAG,aAAa,GAAG,SAAS,CAwElF;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;;;;;;;;;;;;;;;;;;;;;;;;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AuB,CAAC,OAAO,EAAE,WAAW,GAAG,kBAAkB,GAAG,SAAS,CAmB5F"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * The per-sub-path geometry of a shape: custom geometry with structured paths,
3
+ * or a preset's evaluated sub-paths. Shared by the per-sub-path fill overlay
4
+ * (`subpath-fill-overlay`) and the silhouette effects (`silhouette-effects`),
5
+ * which paint a shape's fill as SVG paths when a CSS `clip-path` cannot.
6
+ *
7
+ * @module render/subpath-geometry
8
+ */
9
+ import type { CustomGeometrySubpathSvg, PptxElement } from 'ooxml-core/pptx';
10
+ /**
11
+ * The box a preset is evaluated at: the element's authored extent, floored at
12
+ * zero. Matches `getContainerStyle`'s `paintedElementSize` (not imported
13
+ * directly, to avoid a `fill-style.ts` <-> `element-style.ts` <->
14
+ * `subpath-fill-overlay.ts` import cycle: `fill-style.ts` consumes
15
+ * {@link suppressesCssFill} and `element-style.ts` consumes `fill-style.ts`).
16
+ * This used to pad out to `MIN_ELEMENT_SIZE`, which stretched a degenerate
17
+ * shape's per-sub-path fill overlay past its authored extent in read-only
18
+ * rendering (issue #285); any interaction-only padding now lives solely in
19
+ * `elementHitTargetStyle`, which never touches paint.
20
+ */
21
+ export declare function paintedSize(element: PptxElement): {
22
+ width: number;
23
+ height: number;
24
+ };
25
+ /** Resolved per-sub-path geometry needing individual paint, or `undefined`. */
26
+ export interface SubpathGeometry {
27
+ subpaths: CustomGeometrySubpathSvg[];
28
+ width: number;
29
+ height: number;
30
+ }
31
+ /**
32
+ * Resolve an element's per-sub-path geometry when, and only when, it genuinely
33
+ * needs individual paint handling - custom geometry with structured sub-paths,
34
+ * or a preset whose evaluated sub-paths vary. Returns `undefined` for every
35
+ * ordinary shape so callers keep their existing single merged fill/clip.
36
+ */
37
+ export declare function getSubpathGeometry(element: PptxElement, force?: boolean): SubpathGeometry | undefined;
38
+ //# sourceMappingURL=subpath-geometry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subpath-geometry.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/subpath-geometry.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EAGX,wBAAwB,EACxB,WAAW,EACX,MAAM,iBAAiB,CAAC;AAOzB;;;;;;;;;;GAUG;AACH,wBAAgB,WAAW,CAAC,OAAO,EAAE,WAAW,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAKnF;AA0BD,+EAA+E;AAC/E,MAAM,WAAW,eAAe;IAC/B,QAAQ,EAAE,wBAAwB,EAAE,CAAC;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CACf;AAUD;;;;;GAKG;AACH,wBAAgB,kBAAkB,CACjC,OAAO,EAAE,WAAW,EACpB,KAAK,UAAQ,GACX,eAAe,GAAG,SAAS,CAqD7B"}
@@ -1 +1 @@
1
- {"version":3,"file":"svg-gradient-paint.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/svg-gradient-paint.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAGlD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAEvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAMhE,YAAY,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,uCAAuC;AACvC,MAAM,WAAW,kBAAkB;IAClC,4DAA4D;IAC5D,MAAM,EAAE,MAAM,CAAC;IACf,gCAAgC;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,+DAA+D;IAC/D,OAAO,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,8DAA8D;AAC9D,MAAM,WAAW,oBAAoB;IACpC,IAAI,EAAE,QAAQ,CAAC;IACf,EAAE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ACH,wBAAgB,mBAAmB,CAClC,KAAK,EAAE,UAAU,GAAG,SAAS,EAC7B,SAAS,EAAE,MAAM,GACf,cAAc,GAAG,SAAS,CAe5B;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,yBAAyB,CACxC,KAAK,EAAE,UAAU,GAAG,SAAS,EAC7B,SAAS,EAAE,MAAM,GACf,cAAc,GAAG,SAAS,CAa5B;AAED,8EAA8E;AAC9E,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,cAAc,GAAG,aAAa,GAAG,MAAM,CAE9E;AAOD;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,cAAc,GAAG,MAAM,CAiB7D"}
@@ -0,0 +1,8 @@
1
+ /** Scopes every reference inside `root` (and `root` itself). */
2
+ export declare function scopeSvgIds(root: Element | Document): void;
3
+ /**
4
+ * Starts scoping the ids of `doc` (idempotent, reference counted). Returns a
5
+ * function that releases it.
6
+ */
7
+ export declare function installSvgIdScope(doc?: Document): () => void;
8
+ //# sourceMappingURL=svg-id-scope.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"svg-id-scope.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/svg-id-scope.ts"],"names":[],"mappings":"AAsHA,gEAAgE;AAChE,wBAAgB,WAAW,CAAC,IAAI,EAAE,OAAO,GAAG,QAAQ,GAAG,IAAI,CAO1D;AAyBD;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,GAAE,QAAmB,GAAG,MAAM,IAAI,CA8CtE"}
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Puts a table cell's paragraph on PowerPoint's baselines.
3
+ *
4
+ * A cell lays its text out with the same line model as a text box (measured
5
+ * on PowerPoint 16 exports: a table cell and a text box with the same font,
6
+ * size and `a:lnSpc` put their baselines on the same pixel for 12 to 40pt
7
+ * text at 50% to 300% and at 6 to 72pt exact), so the move
8
+ * `paragraph-baseline` computes for shape text applies unchanged. Without it
9
+ * the browser centres the leading above and below the line, which put a 150%
10
+ * paragraph 3px high and a 72pt exact one 18px high.
11
+ *
12
+ * @module render/table-cell-baseline
13
+ */
14
+ import { type BaselinePlacement, type FontBoxMeasure } from './paragraph-baseline.js';
15
+ import { type CellTextRun, type TableCellCss } from './table-style.js';
16
+ /** What {@link cellBaselinePlacement} reads from one paragraph block of a cell. */
17
+ export interface CellBaselineInput {
18
+ /** The block's runs. */
19
+ runs: readonly CellTextRun[];
20
+ /** The block's own `line-height` (a multiplier or a px string), else the cell's applies. */
21
+ lineHeight: number | string | undefined;
22
+ /** The block's own font size (pt), set when every run sets one. */
23
+ strutPt: number | undefined;
24
+ /** The cell's resolved style: its font and line height for runs and blocks that set none. */
25
+ cellCss: TableCellCss | undefined;
26
+ /** The table's default text size (pt), for a cell that sets none. */
27
+ defaultFontPt?: number | undefined;
28
+ measure?: FontBoxMeasure | undefined;
29
+ }
30
+ /**
31
+ * The inline style that moves a cell paragraph onto PowerPoint's baselines,
32
+ * or `undefined` when it needs none or cannot be modelled (no known font
33
+ * size, several sizes or faces, super- and subscripts).
34
+ */
35
+ export declare function cellBaselinePlacement(input: CellBaselineInput): BaselinePlacement | undefined;
36
+ //# sourceMappingURL=table-cell-baseline.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table-cell-baseline.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/table-cell-baseline.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAEN,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EAAgB,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,MAAM,eAAe,CAAC;AAmBlF,mFAAmF;AACnF,MAAM,WAAW,iBAAiB;IACjC,wBAAwB;IACxB,IAAI,EAAE,SAAS,WAAW,EAAE,CAAC;IAC7B,4FAA4F;IAC5F,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IACxC,mEAAmE;IACnE,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,6FAA6F;IAC7F,OAAO,EAAE,YAAY,GAAG,SAAS,CAAC;IAClC,qEAAqE;IACrE,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,OAAO,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;CACrC;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,iBAAiB,GAAG,iBAAiB,GAAG,SAAS,CA0C7F"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * table-cell-border-inset.ts: PowerPoint measures a cell margin from the grid
3
+ * line, so a row is `content + marT + marB` tall whatever the borders are.
4
+ * `border-collapse` puts half of each border inside the cell box, which would
5
+ * add the full border width (about 1px per row for a hairline grid) to every
6
+ * row. This takes that half out of the padding, using the borders the cell
7
+ * finally paints (its own and the ones its table style gives it), for the
8
+ * default margins as well as explicit ones.
9
+ *
10
+ * @module table-cell-border-inset
11
+ */
12
+ import type { PptxTableCellStyle } from 'ooxml-core/pptx';
13
+ import type { TableCellCss } from './table-style.js';
14
+ /** The width in px a resolved `border-*` value paints, 0 for none. */
15
+ export declare function borderCssWidthPx(value: unknown): number;
16
+ /**
17
+ * Set each side's padding to its margin (the cell's own, else the default
18
+ * already in `css`) less half of the border painted on that side.
19
+ */
20
+ export declare function insetPaddingForBorders(css: TableCellCss, cellStyle: PptxTableCellStyle | undefined): void;
21
+ //# sourceMappingURL=table-cell-border-inset.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table-cell-border-inset.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/table-cell-border-inset.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAMlD,sEAAsE;AACtE,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAMvD;AAUD;;;GAGG;AACH,wBAAgB,sBAAsB,CACrC,GAAG,EAAE,YAAY,EACjB,SAAS,EAAE,kBAAkB,GAAG,SAAS,GACvC,IAAI,CAWN"}
@@ -1 +1 @@
1
- {"version":3,"file":"table-cell-css.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/table-cell-css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAKpE,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AASrE,8EAA8E;AAC9E,MAAM,WAAW,iBAAiB;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,oDAAoD;IACpD,QAAQ,EAAE,MAAM,CAAC;IACjB,0DAA0D;IAC1D,WAAW,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,wBAAwB,EAAE,QAAQ,CAAC,YAAY,CAM3D,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,wBAAgB,YAAY,CAC3B,SAAS,EAAE,aAAa,GAAG,SAAS,EACpC,IAAI,EAAE,aAAa,GAAG,SAAS,EAC/B,QAAQ,EAAE,iBAAiB,EAC3B,OAAO,CAAC,EAAE,iBAAiB,EAC3B,IAAI,CAAC,EAAE,YAAY,GACjB,YAAY,CAoBd;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,YAAY,GAAG,IAAI,CAchE"}
1
+ {"version":3,"file":"table-cell-css.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/table-cell-css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAKpE,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAUrE,8EAA8E;AAC9E,MAAM,WAAW,iBAAiB;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,oDAAoD;IACpD,QAAQ,EAAE,MAAM,CAAC;IACjB,0DAA0D;IAC1D,WAAW,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,wBAAwB,EAAE,QAAQ,CAAC,YAAY,CAM3D,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,wBAAgB,YAAY,CAC3B,SAAS,EAAE,aAAa,GAAG,SAAS,EACpC,IAAI,EAAE,aAAa,GAAG,SAAS,EAC/B,QAAQ,EAAE,iBAAiB,EAC3B,OAAO,CAAC,EAAE,iBAAiB,EAC3B,IAAI,CAAC,EAAE,YAAY,GACjB,YAAY,CAqBd;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,YAAY,GAAG,IAAI,CAchE"}
@@ -8,12 +8,19 @@
8
8
  * @module render/table-cell-paragraphs
9
9
  */
10
10
  import type { PptxTableCell } from 'ooxml-core/pptx';
11
+ import type { FontBoxMeasure } from './paragraph-baseline.js';
11
12
  import type { CellTextRun, TableCellCss } from './table-style.js';
12
13
  /** One paragraph of a cell: its block CSS and the runs inside it. */
13
14
  export interface CellParagraphBlock {
14
15
  css: TableCellCss;
15
16
  runs: CellTextRun[];
16
17
  }
18
+ /** What a caller can tell {@link cellParagraphBlocks} about the cell it paints. */
19
+ export interface CellBlockOptions {
20
+ cellCss?: TableCellCss | undefined;
21
+ defaultFontPt?: number | undefined;
22
+ measure?: FontBoxMeasure | undefined;
23
+ }
17
24
  /**
18
25
  * Resolve a cell's paragraphs into blocks.
19
26
  *
@@ -21,9 +28,14 @@ export interface CellParagraphBlock {
21
28
  * one remaining paragraph.
22
29
  *
23
30
  * @param cell - The cell being painted.
31
+ * @param options - `cellCss`, the cell's resolved style (its font and line
32
+ * height, which a paragraph without its own inherits), and `defaultFontPt`,
33
+ * the table's default text size: with them a paragraph is moved onto
34
+ * PowerPoint's baselines (see `table-cell-baseline`). `measure` replaces the
35
+ * canvas font measurement in tests.
24
36
  * @returns One block per paragraph, or `undefined` when the cell has no
25
37
  * paragraph layout or nothing in it needs blocks, in which case the binding
26
38
  * draws its runs as before.
27
39
  */
28
- export declare function cellParagraphBlocks(cell: PptxTableCell): CellParagraphBlock[] | undefined;
40
+ export declare function cellParagraphBlocks(cell: PptxTableCell, options?: CellBlockOptions): CellParagraphBlock[] | undefined;
29
41
  //# sourceMappingURL=table-cell-paragraphs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"table-cell-paragraphs.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/table-cell-paragraphs.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,aAAa,EAA0B,MAAM,iBAAiB,CAAC;AAI7E,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAQ/D,qEAAqE;AACrE,MAAM,WAAW,kBAAkB;IAClC,GAAG,EAAE,YAAY,CAAC;IAClB,IAAI,EAAE,WAAW,EAAE,CAAC;CACpB;AA6KD;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,aAAa,GAAG,kBAAkB,EAAE,GAAG,SAAS,CAuCzF"}
1
+ {"version":3,"file":"table-cell-paragraphs.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/table-cell-paragraphs.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,aAAa,EAA0B,MAAM,iBAAiB,CAAC;AAG7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAI3D,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAQ/D,qEAAqE;AACrE,MAAM,WAAW,kBAAkB;IAClC,GAAG,EAAE,YAAY,CAAC;IAClB,IAAI,EAAE,WAAW,EAAE,CAAC;CACpB;AAaD,mFAAmF;AACnF,MAAM,WAAW,gBAAgB;IAChC,OAAO,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IACnC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,OAAO,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;CACrC;AAyKD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,mBAAmB,CAClC,IAAI,EAAE,aAAa,EACnB,OAAO,GAAE,gBAAqB,GAC5B,kBAAkB,EAAE,GAAG,SAAS,CAsElC"}
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Maps the table-background gradient onto the table as it is laid out.
3
+ *
4
+ * `spanTableBackground` slices the gradient by the rows' declared heights, but
5
+ * a row the text outgrows is taller than declared, so every slice below it
6
+ * starts in the wrong place. The laid-out heights only exist once the table is
7
+ * in the document, so a cell that shows the table gradient carries the
8
+ * `--pptx-tblbg-span` marker and this module, armed once per page like
9
+ * `paragraph-baseline-settle`, rewrites its `background-size` and
10
+ * `background-position` in px from the real cell and table boxes. It works on
11
+ * the rendered DOM, so every binding gets it without wiring of its own.
12
+ *
13
+ * @module render/table-style-bg-settle
14
+ */
15
+ /** The custom property that marks a cell whose gradient slice is placed from the laid-out table. */
16
+ export declare const TABLE_BG_SPAN_VAR = "--pptx-tblbg-span";
17
+ /** A cell's box inside its table (layout px, unaffected by CSS transforms). */
18
+ export interface BoxInTable {
19
+ left: number;
20
+ top: number;
21
+ width: number;
22
+ height: number;
23
+ }
24
+ /**
25
+ * The `background-size` and `background-position` (px) that show the part of
26
+ * a table-sized gradient lying under `cell`. `layers` is how many background
27
+ * layers the cell has: layers above the table gradient keep their own box.
28
+ */
29
+ export declare function tableBackgroundSlice(cell: BoxInTable, table: {
30
+ width: number;
31
+ height: number;
32
+ }, layers?: number): {
33
+ size: string;
34
+ position: string;
35
+ };
36
+ /** Re-place every marked cell under `root`; returns how many were placed. */
37
+ export declare function settleTableBackgrounds(root?: ParentNode): number;
38
+ /**
39
+ * Start watching for new and changed marked cells (once per page). Call it
40
+ * when a cell was marked; it costs nothing before that.
41
+ */
42
+ export declare function armTableBackgroundSettle(): void;
43
+ //# sourceMappingURL=table-style-bg-settle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table-style-bg-settle.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/table-style-bg-settle.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,oGAAoG;AACpG,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AAErD,+EAA+E;AAC/E,MAAM,WAAW,UAAU;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CACf;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CACnC,IAAI,EAAE,UAAU,EAChB,KAAK,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,EACxC,MAAM,SAAI,GACR;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAUpC;AAMD,6EAA6E;AAC7E,wBAAgB,sBAAsB,CAAC,IAAI,GAAE,UAAqB,GAAG,MAAM,CAkC1E;AAkBD;;;GAGG;AACH,wBAAgB,wBAAwB,IAAI,IAAI,CAa/C"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * A table style's own background (`a:tblBg`) is one surface under the whole
3
+ * table: a gradient on it runs once from the top edge to the bottom edge, not
4
+ * once per cell. Cells are painted individually here, so each cell that still
5
+ * shows the table background gradient gets a `background-size` and
6
+ * `background-position` that map its box onto its slice of the table.
7
+ */
8
+ import type { PptxTableData } from 'ooxml-core/pptx';
9
+ import type { TableCellCss } from './table-style.js';
10
+ /** Fractions of the table's width and height covered by the cell, and its offset. */
11
+ export interface TableCellSlice {
12
+ left: number;
13
+ top: number;
14
+ width: number;
15
+ height: number;
16
+ }
17
+ /** Locate a cell inside the table as fractions of the table's size. */
18
+ export declare function tableCellSlice(tableData: PptxTableData, rowIndex: number, cellIndex: number): TableCellSlice | undefined;
19
+ /**
20
+ * Make the table-background gradient `tableBackgroundCss` span the whole table
21
+ * instead of restarting in each cell. A no-op unless the cell's final
22
+ * `background` still ends with that gradient (a translucent band tint is
23
+ * layered on top of it; an opaque fill replaced it).
24
+ */
25
+ export declare function spanTableBackground(css: TableCellCss, tableBackgroundCss: string | undefined, tableData: PptxTableData, rowIndex: number, cellIndex: number): void;
26
+ //# sourceMappingURL=table-style-bg-span.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table-style-bg-span.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/table-style-bg-span.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAGlD,qFAAqF;AACrF,MAAM,WAAW,cAAc;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CACf;AAED,uEAAuE;AACvE,wBAAgB,cAAc,CAC7B,SAAS,EAAE,aAAa,EACxB,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,GACf,cAAc,GAAG,SAAS,CAsB5B;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAClC,GAAG,EAAE,YAAY,EACjB,kBAAkB,EAAE,MAAM,GAAG,SAAS,EACtC,SAAS,EAAE,aAAa,EACxB,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,GACf,IAAI,CA6BN"}
@@ -1 +1 @@
1
- {"version":3,"file":"table-style-borders.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/table-style-borders.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,KAAK,EAGX,qBAAqB,EACrB,oBAAoB,EACpB,aAAa,EACb,MAAM,iBAAiB,CAAC;AAIzB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAGxD,yEAAyE;AACzE,MAAM,WAAW,aAAa;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,0EAA0E;AAC1E,MAAM,MAAM,kBAAkB,GAAG,CAAC,IAAI,EAAE,oBAAoB,GAAG,SAAS,KAAK,MAAM,GAAG,SAAS,CAAC;AAmDhG,8EAA8E;AAC9E,MAAM,WAAW,kBAAkB;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;CACpB;AA4ID;;;;GAIG;AACH,wBAAgB,oBAAoB,CACnC,KAAK,EAAE,qBAAqB,GAAG,SAAS,EACxC,SAAS,EAAE,aAAa,EACxB,GAAG,EAAE,kBAAkB,EACvB,OAAO,EAAE,kBAAkB,GACzB,aAAa,GAAG,SAAS,CA+B3B;AAED;;;;;;;GAOG;AACH,wBAAgB,2BAA2B,CAC1C,KAAK,EAAE,qBAAqB,GAAG,SAAS,EACxC,SAAS,EAAE,aAAa,EACxB,GAAG,EAAE,kBAAkB,EACvB,OAAO,EAAE,kBAAkB,GACzB,kBAAkB,GAAG,SAAS,CAkChC"}
1
+ {"version":3,"file":"table-style-borders.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/table-style-borders.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,KAAK,EAGX,qBAAqB,EACrB,oBAAoB,EACpB,aAAa,EACb,MAAM,iBAAiB,CAAC;AAIzB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAGxD,yEAAyE;AACzE,MAAM,WAAW,aAAa;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,0EAA0E;AAC1E,MAAM,MAAM,kBAAkB,GAAG,CAAC,IAAI,EAAE,oBAAoB,GAAG,SAAS,KAAK,MAAM,GAAG,SAAS,CAAC;AAqDhG,8EAA8E;AAC9E,MAAM,WAAW,kBAAkB;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;CACpB;AA4ID;;;;GAIG;AACH,wBAAgB,oBAAoB,CACnC,KAAK,EAAE,qBAAqB,GAAG,SAAS,EACxC,SAAS,EAAE,aAAa,EACxB,GAAG,EAAE,kBAAkB,EACvB,OAAO,EAAE,kBAAkB,GACzB,aAAa,GAAG,SAAS,CA+B3B;AAED;;;;;;;GAOG;AACH,wBAAgB,2BAA2B,CAC1C,KAAK,EAAE,qBAAqB,GAAG,SAAS,EACxC,SAAS,EAAE,aAAa,EACxB,GAAG,EAAE,kBAAkB,EACvB,OAAO,EAAE,kBAAkB,GACzB,kBAAkB,GAAG,SAAS,CAkChC"}