ooxml-core 0.20.0 → 0.21.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 (40) hide show
  1. package/README.md +21 -43
  2. package/dist/chart/axis-nice.d.ts +97 -0
  3. package/dist/chart/axis-nice.d.ts.map +1 -0
  4. package/dist/chart/histogram-binning.d.ts +40 -0
  5. package/dist/chart/histogram-binning.d.ts.map +1 -0
  6. package/dist/chart/index.cjs +167 -0
  7. package/dist/chart/index.d.ts +2 -0
  8. package/dist/chart/index.d.ts.map +1 -1
  9. package/dist/chart/index.mjs +162 -1
  10. package/dist/index.cjs +167 -0
  11. package/dist/index.mjs +167 -0
  12. package/dist/pptx/automation/index.cjs +1572 -863
  13. package/dist/pptx/automation/index.d.ts +4 -3
  14. package/dist/pptx/automation/index.d.ts.map +1 -1
  15. package/dist/pptx/automation/index.mjs +1572 -863
  16. package/dist/pptx/chunks/color-ref-BM66NGFP.d.ts +42 -0
  17. package/dist/pptx/chunks/color-ref-BM66NGFP.d.ts.map +1 -0
  18. package/dist/pptx/chunks/{index-D0yGoLyw.d.ts → index-CcQTCBnT.d.ts} +63 -479
  19. package/dist/pptx/chunks/index-CcQTCBnT.d.ts.map +1 -0
  20. package/dist/pptx/chunks/{index-BtBj3VG1.d.ts → index-DHoPgFcH.d.ts} +529 -11
  21. package/dist/pptx/chunks/index-DHoPgFcH.d.ts.map +1 -0
  22. package/dist/pptx/chunks/{text-operations-GuisjlbR.d.ts → text-operations-BzdehTeY.d.ts} +50 -51
  23. package/dist/pptx/chunks/text-operations-BzdehTeY.d.ts.map +1 -0
  24. package/dist/pptx/cli/index.cjs +1204 -489
  25. package/dist/pptx/cli/index.d.ts +1 -1
  26. package/dist/pptx/cli/index.mjs +1204 -489
  27. package/dist/pptx/converter/index.cjs +8 -5
  28. package/dist/pptx/converter/index.d.ts +1 -1
  29. package/dist/pptx/converter/index.mjs +8 -5
  30. package/dist/pptx/index.cjs +1699 -989
  31. package/dist/pptx/index.d.ts +5 -4
  32. package/dist/pptx/index.mjs +1698 -990
  33. package/dist/pptx/ui/index.cjs +510 -0
  34. package/dist/pptx/ui/index.d.ts +80 -0
  35. package/dist/pptx/ui/index.d.ts.map +1 -0
  36. package/dist/pptx/ui/index.mjs +499 -0
  37. package/package.json +15 -4
  38. package/dist/pptx/chunks/index-BtBj3VG1.d.ts.map +0 -1
  39. package/dist/pptx/chunks/index-D0yGoLyw.d.ts.map +0 -1
  40. package/dist/pptx/chunks/text-operations-GuisjlbR.d.ts.map +0 -1
@@ -1,4 +1,5 @@
1
- import { $ as PptxThemeOption, $t as PptxCustomProperty, Ai as PptxChartChrome, Ar as PptxSmartArtConnection, Ba as CustomGeometryPath, C as PptxSlide, Ca as PptxChartStyleDefinition, Cn as PptxAnimationPreset, Co as PptxThemeColorRef, Ct as PptxElement, D as PptxSmartTagsReference, Eo as ConnectorArrowType, Et as PptxElementWithText, Ga as GeometryAdjustmentHandle, Gi as PptxChartGradientFill, Ha as CustomGeometryRawData, In as PptxNativeAnimation, J as PptxNotesMaster, Jt as PptxAppProperties, K as PptxLayoutPreview, Ki as PptxChartHistogramOptions, Kr as PptxSmartArtQuickStyle, La as AdjustHandlePolar, Lt as ZoomPptxElement, Mn as PptxElementAnimation, Mr as PptxSmartArtDrawingShape, Mt as SmartArtPptxElement, No as XmlObject, Ot as PptxImageLikeElement, P as PptxViewProperties, Pt as TablePptxElement, Q as PptxTextStyleLevels, Qa as PptxImageProperties, Qn as PptxSlideTransition, Qt as PptxCoreProperties, Ra as AdjustHandleXY, S as PptxSection, Sr as PptxTableCellStyle, T as PptxSlideSize, Ut as PlaceholderDefaults, V as PptxEmbeddedFontList, Vr as PptxSmartArtColorTransform, W as PptxHandoutMaster, Wa as CustomGeometryTextRect, Wt as PlaceholderTextLevelStyle, X as PptxSlideLayout, Xa as PptxImageEffects, Xt as PptxCommentAuthor, Y as PptxPlaceholderFrame, Yt as PptxComment, Z as PptxSlideMaster, Zr as PptxSmartArtNodeStyle, Zt as PptxCompatibilityWarning, _ as PptxLayoutOption, _a as PptxExternalData, _r as ParsedTableStyleMap, _t as MediaPptxElement, a as MergeOptions, ao as TextStyle, ar as PptxTransitionType, at as PptxThemeFontScheme, b as PptxPhotoAlbum, bi as PptxSmartArtChrome, bt as OlePptxElement, c as PptxCustomShow, cn as MediaBookmark, ct as PptxThemeObjectDefaults, d as PptxData, da as PptxChartType, dr as ParsedTableStyleBorders, dt as ConnectorPptxElement, ea as PptxChartOfPieOptions, ei as PptxSmartArtTextRun, en as PptxModernCommentAuthor, eo as ResolvedStyleMatrix, et as PptxTheme, f as PptxEmbeddedFont, fn as PptxMediaReferenceKind, g as PptxKinsoku, ga as PptxEmbeddedWorkbookData, gt as InkPptxElement, h as PptxHeaderFooter, ia as PptxChartSeries, io as TextSegment, ji as PptxChartData, jo as StrokeDashType, jr as PptxSmartArtData, ki as PptxChartBoxWhiskerOptions, kn as PptxAnimationTrigger, ko as PptxShapeLocks, l as PptxCustomXmlPart, lr as ParsedTableBackground, m as PptxExportOptions, ma as PptxChartWaterfallOptions, mt as GroupPptxElement, na as PptxChartRegionMapOptions, nn as PptxTagCollection, no as BulletInfo, nt as PptxThemeEffectStyle, oa as PptxChartStyle, ot as PptxThemeFormatScheme, pa as PptxChartView3D, pr as ParsedTableStyleFill, pt as ContentPartPptxElement, q as PptxMasterTextStyles, rt as PptxThemeFillStyle, s as PptxActiveXControl, sa as PptxChartTreemapOptions, sn as PptxAction, st as PptxThemeLineStyle, t as FindResult, to as ShapeStyle, tt as PptxThemeColorScheme, u as PptxCustomerData, ut as ChartPptxElement, v as PptxModernCommentPart, va as PptxChartUserShape, vt as Model3DPptxElement, w as PptxSlideBackgroundPattern, wr as PptxTableData, x as PptxPresentationProperties, y as PptxModifyVerifier, yr as ParsedTableStyleText, za as ConnectionSite } from "./text-operations-GuisjlbR.js";
1
+ import { $ as PptxThemeOption, $i as PptxChartMarkerSymbol, $t as PptxCustomProperty, Ai as PptxChartChrome, Ao as XmlObject, Ar as PptxSmartArtConnection, Ba as CustomGeometryPath, C as PptxSlide, Ca as PptxChartStyleDefinition, Cn as PptxAnimationPreset, Co as ConnectorArrowType, Ct as PptxElement, D as PptxSmartTagsReference, Eo as PptxShapeLocks, Et as PptxElementWithText, Ga as GeometryAdjustmentHandle, Gi as PptxChartGradientFill, Ha as CustomGeometryRawData, Hi as PptxChartErrBars, In as PptxNativeAnimation, J as PptxNotesMaster, Jt as PptxAppProperties, K as PptxLayoutPreview, Ki as PptxChartHistogramOptions, Kr as PptxSmartArtQuickStyle, La as AdjustHandlePolar, Lt as ZoomPptxElement, Mi as PptxChartDataLabel, Mn as PptxElementAnimation, Mr as PptxSmartArtDrawingShape, Mt as SmartArtPptxElement, Ni as PptxChartDataLabelOptions, Oo as StrokeDashType, Ot as PptxImageLikeElement, P as PptxViewProperties, Pt as TablePptxElement, Q as PptxTextStyleLevels, Qa as PptxImageProperties, Qi as PptxChartMarker, Qn as PptxSlideTransition, Qt as PptxCoreProperties, Ra as AdjustHandleXY, S as PptxSection, Sr as PptxTableCellStyle, T as PptxSlideSize, Ti as PptxChartAxisFormatting, Ut as PlaceholderDefaults, V as PptxEmbeddedFontList, Vr as PptxSmartArtColorTransform, W as PptxHandoutMaster, Wa as CustomGeometryTextRect, Wt as PlaceholderTextLevelStyle, X as PptxSlideLayout, Xa as PptxImageEffects, Xt as PptxCommentAuthor, Y as PptxPlaceholderFrame, Yt as PptxComment, Z as PptxSlideMaster, Zr as PptxSmartArtNodeStyle, Zt as PptxCompatibilityWarning, _ as PptxLayoutOption, _a as PptxExternalData, _r as ParsedTableStyleMap, _t as MediaPptxElement, a as MergeOptions, aa as PptxChartShapeProps, ao as TextStyle, ar as PptxTransitionType, at as PptxThemeFontScheme, b as PptxPhotoAlbum, bi as PptxSmartArtChrome, bt as OlePptxElement, c as PptxCustomShow, ca as PptxChartTrendline, cn as MediaBookmark, ct as PptxThemeObjectDefaults, d as PptxData, da as PptxChartType, dr as ParsedTableStyleBorders, dt as ConnectorPptxElement, ea as PptxChartOfPieOptions, ei as PptxSmartArtTextRun, en as PptxModernCommentAuthor, eo as ResolvedStyleMatrix, et as PptxTheme, f as PptxEmbeddedFont, fn as PptxMediaReferenceKind, g as PptxKinsoku, ga as PptxEmbeddedWorkbookData, gt as InkPptxElement, h as PptxHeaderFooter, ia as PptxChartSeries, io as TextSegment, ji as PptxChartData, jr as PptxSmartArtData, ki as PptxChartBoxWhiskerOptions, kn as PptxAnimationTrigger, l as PptxCustomXmlPart, lr as ParsedTableBackground, m as PptxExportOptions, ma as PptxChartWaterfallOptions, mt as GroupPptxElement, na as PptxChartRegionMapOptions, nn as PptxTagCollection, no as BulletInfo, nt as PptxThemeEffectStyle, oa as PptxChartStyle, ot as PptxThemeFormatScheme, pa as PptxChartView3D, pr as ParsedTableStyleFill, pt as ContentPartPptxElement, q as PptxMasterTextStyles, rt as PptxThemeFillStyle, s as PptxActiveXControl, sa as PptxChartTreemapOptions, sn as PptxAction, st as PptxThemeLineStyle, t as FindResult, to as ShapeStyle, tt as PptxThemeColorScheme, u as PptxCustomerData, ut as ChartPptxElement, v as PptxModernCommentPart, va as PptxChartUserShape, vt as Model3DPptxElement, w as PptxSlideBackgroundPattern, wr as PptxTableData, x as PptxPresentationProperties, y as PptxModifyVerifier, yr as ParsedTableStyleText, za as ConnectionSite } from "./text-operations-BzdehTeY.js";
2
+ import { t as PptxThemeColorRef } from "./color-ref-BM66NGFP.js";
2
3
  import { XMLBuilder, XMLParser } from "fast-xml-parser";
3
4
  import JSZip from "jszip";
4
5
  import { convertMetafileToDataUrl } from "emf-converter";
@@ -108,6 +109,511 @@ type ChartGradientInput = {
108
109
  */
109
110
  declare function toChartGradientFill(input: ChartGradientInput): PptxChartGradientFill;
110
111
  //#endregion
112
+ //#region src/pptx/core/builders/sdk/chart-layout-input.d.ts
113
+ /**
114
+ * Chart-group spacing and geometry. `null` clears a value (a loaded chart
115
+ * then drops the element; a new chart falls back to its default).
116
+ */
117
+ interface ChartGroupOptionsInput {
118
+ /** Gap between bar clusters, % of bar width (`ST_GapAmount`, 0..500). Bar, bar3D, ofPie. */
119
+ gapWidth?: number | null;
120
+ /** Overlap of bars within a cluster, % (`ST_Overlap`, -100..100). Bar (2-D) only. */
121
+ overlap?: number | null;
122
+ /** First slice angle, degrees clockwise from 12 o'clock (`ST_FirstSliceAng`, 0..360). Pie, doughnut. */
123
+ firstSliceAngle?: number | null;
124
+ /** Doughnut hole size, % of the diameter (`ST_HoleSize`, 1..90). Doughnut only. */
125
+ holeSize?: number | null;
126
+ }
127
+ /**
128
+ * Chart-area or plot-area format. `fill` is a hex colour, `'none'` or a
129
+ * gradient; `border` is a hex colour or `'none'`; `null` clears either.
130
+ * `roundedCorners` applies to the chart area only (PowerPoint draws rounded
131
+ * corners when it is unset, so pass `false` for square ones).
132
+ */
133
+ interface ChartAreaFormatInput {
134
+ fill?: string | ChartGradientInput | null;
135
+ border?: string | null;
136
+ roundedCorners?: boolean | null;
137
+ }
138
+ //#endregion
139
+ //#region src/pptx/core/builders/sdk/chart-operations.d.ts
140
+ /**
141
+ * Change the chart type of an existing chart element.
142
+ * Preserves series data and categories.
143
+ *
144
+ * @param element - The chart element to modify.
145
+ * @param newType - The new chart type.
146
+ *
147
+ * @example
148
+ * ```ts
149
+ * setChartType(chartEl, "line");
150
+ * ```
151
+ */
152
+ declare function setChartType(element: ChartPptxElement, newType: PptxChartType): void;
153
+ /**
154
+ * Add a data series to an existing chart.
155
+ *
156
+ * @param element - The chart element to modify.
157
+ * @param series - The series to add (name, values, optional color).
158
+ *
159
+ * @example
160
+ * ```ts
161
+ * addChartSeries(chartEl, { name: "Q2", values: [50, 60, 70], color: "#FF0000" });
162
+ * ```
163
+ */
164
+ declare function addChartSeries(element: ChartPptxElement, series: {
165
+ name: string;
166
+ values: number[];
167
+ color?: string;
168
+ }): void;
169
+ /**
170
+ * Remove a data series by index.
171
+ *
172
+ * @param element - The chart element to modify.
173
+ * @param seriesIndex - Zero-based index of the series to remove.
174
+ * @throws {RangeError} If `seriesIndex` is out of bounds.
175
+ *
176
+ * @example
177
+ * ```ts
178
+ * removeChartSeries(chartEl, 0);
179
+ * ```
180
+ */
181
+ declare function removeChartSeries(element: ChartPptxElement, seriesIndex: number): void;
182
+ /**
183
+ * Update chart categories.
184
+ *
185
+ * @param element - The chart element to modify.
186
+ * @param categories - The new category labels.
187
+ *
188
+ * @example
189
+ * ```ts
190
+ * setChartCategories(chartEl, ["Jan", "Feb", "Mar"]);
191
+ * ```
192
+ */
193
+ declare function setChartCategories(element: ChartPptxElement, categories: string[]): void;
194
+ /**
195
+ * Update series values by index.
196
+ *
197
+ * @param element - The chart element to modify.
198
+ * @param seriesIndex - Zero-based index of the series to update.
199
+ * @param values - The new data values for the series.
200
+ * @throws {RangeError} If `seriesIndex` is out of bounds.
201
+ *
202
+ * @example
203
+ * ```ts
204
+ * updateChartSeriesValues(chartEl, 0, [100, 200, 300]);
205
+ * ```
206
+ */
207
+ declare function updateChartSeriesValues(element: ChartPptxElement, seriesIndex: number, values: number[]): void;
208
+ /**
209
+ * Set chart title.
210
+ *
211
+ * @param element - The chart element to modify.
212
+ * @param title - The new title string.
213
+ *
214
+ * @example
215
+ * ```ts
216
+ * setChartTitle(chartEl, "Revenue by Quarter");
217
+ * ```
218
+ */
219
+ declare function setChartTitle(element: ChartPptxElement, title: string): void;
220
+ /**
221
+ * Set chart grouping (clustered, stacked, percentStacked).
222
+ *
223
+ * @param element - The chart element to modify.
224
+ * @param grouping - The new grouping mode.
225
+ *
226
+ * @example
227
+ * ```ts
228
+ * setChartGrouping(chartEl, "stacked");
229
+ * ```
230
+ */
231
+ declare function setChartGrouping(element: ChartPptxElement, grouping: 'clustered' | 'stacked' | 'percentStacked'): void;
232
+ /**
233
+ * Legend placement, matching OOXML `ST_LegendPos`.
234
+ * `b` bottom, `tr` top-right, `l` left, `r` right, `t` top.
235
+ */
236
+ type PptxChartLegendPosition = 'b' | 'tr' | 'l' | 'r' | 't';
237
+ /**
238
+ * Show/hide the chart legend and/or set its position. Edits round-trip to
239
+ * the saved `.pptx` (`c:legend` / `c:legendPos`).
240
+ *
241
+ * @param element - The chart element to modify.
242
+ * @param options - `show` toggles legend visibility; `position` sets placement.
243
+ * Setting a `position` without an explicit `show` turns the legend on.
244
+ *
245
+ * @example
246
+ * ```ts
247
+ * setChartLegend(chartEl, { show: true, position: "r" });
248
+ * setChartLegend(chartEl, { show: false });
249
+ * ```
250
+ */
251
+ declare function setChartLegend(element: ChartPptxElement, options: {
252
+ show?: boolean;
253
+ position?: PptxChartLegendPosition;
254
+ }): void;
255
+ /**
256
+ * Show/hide chart-level data labels and/or set their content and position.
257
+ * Edits round-trip to the saved `.pptx` (`c:dLbls` under each chart-type
258
+ * container).
259
+ *
260
+ * @param element - The chart element to modify.
261
+ * @param edit - `show` toggles all data labels; the `show*` flags pick which
262
+ * content appears; `position` sets placement. Setting any content flag or a
263
+ * position turns labels on when not already set.
264
+ *
265
+ * @example
266
+ * ```ts
267
+ * setChartDataLabels(chartEl, { show: true, showValue: true, position: "outEnd" });
268
+ * setChartDataLabels(chartEl, { show: false });
269
+ * ```
270
+ */
271
+ declare function setChartDataLabels(element: ChartPptxElement, edit: {
272
+ show?: boolean;
273
+ showValue?: boolean;
274
+ showCategory?: boolean;
275
+ showSeriesName?: boolean;
276
+ showPercent?: boolean;
277
+ showLegendKey?: boolean;
278
+ position?: PptxChartDataLabelOptions['position'];
279
+ }): void;
280
+ /**
281
+ * Set (or clear) the primary trendline on a chart series. Edits round-trip to
282
+ * the saved `.pptx` (`c:trendline` inside the series).
283
+ *
284
+ * Pass a {@link PptxChartTrendline} to add/replace the series' trendline, or
285
+ * `null` to remove it. This manages a single trendline per series (the common
286
+ * case); charts with multiple trendlines on one series can be edited via the
287
+ * `series.trendlines` array directly.
288
+ *
289
+ * @example
290
+ * ```ts
291
+ * setChartSeriesTrendline(chartEl, 0, { trendlineType: "linear", displayEq: true });
292
+ * setChartSeriesTrendline(chartEl, 0, null); // remove
293
+ * ```
294
+ */
295
+ declare function setChartSeriesTrendline(element: ChartPptxElement, seriesIndex: number, trendline: PptxChartTrendline | null): void;
296
+ /**
297
+ * Set (or clear) the error bars on a chart series. Edits round-trip to the
298
+ * saved `.pptx` (`c:errBars` inside the series).
299
+ *
300
+ * Pass a {@link PptxChartErrBars} to add/replace the series' error bars, or
301
+ * `null` to remove them. This manages a single error-bar definition per series
302
+ * (the common case); charts with both X and Y error bars can be edited via the
303
+ * `series.errBars` array directly.
304
+ *
305
+ * @example
306
+ * ```ts
307
+ * setChartSeriesErrorBars(chartEl, 0, { direction: "y", barType: "both", valType: "percentage", val: 5 });
308
+ * setChartSeriesErrorBars(chartEl, 0, null); // remove
309
+ * ```
310
+ */
311
+ declare function setChartSeriesErrorBars(element: ChartPptxElement, seriesIndex: number, errBars: PptxChartErrBars | null): void;
312
+ /** Axis kinds that can be addressed by {@link setChartAxis}. */
313
+ type PptxChartAxisType = PptxChartAxisFormatting['axisType'];
314
+ /**
315
+ * Editable axis-formatting properties. Each field is optional:
316
+ * - omit a field to leave it unchanged,
317
+ * - pass a value to set it,
318
+ * - pass `null` (for the numeric fields) or `''` (for `numberFormat`) to
319
+ * clear it so the axis falls back to its automatic behaviour.
320
+ */
321
+ interface ChartAxisEdit {
322
+ min?: number | null;
323
+ max?: number | null;
324
+ majorUnit?: number | null;
325
+ minorUnit?: number | null;
326
+ orientation?: PptxChartAxisFormatting['orientation'] | null;
327
+ numberFormat?: string;
328
+ tickLabelPosition?: 'high' | 'low' | 'nextTo' | 'none';
329
+ /** Axis title text. Pass `null` or `''` to remove the title. */
330
+ title?: string | null;
331
+ /** Toggle major gridlines. */
332
+ majorGridlines?: boolean;
333
+ /** Toggle minor gridlines. */
334
+ minorGridlines?: boolean;
335
+ /** Value-axis display units (built-in scale name or `'custom'`); `null` clears. */
336
+ displayUnits?: PptxChartAxisFormatting['displayUnits'] | null;
337
+ /** Custom display-unit divisor (used when `displayUnits` is `'custom'`). */
338
+ displayUnitsValue?: number | null;
339
+ /** Display-unit label text/layout/shape options. `null` removes the label. */
340
+ displayUnitsLabel?: PptxChartAxisFormatting['displayUnitsLabel'];
341
+ /** Show or hide (`c:delete`) the axis. */
342
+ visible?: boolean;
343
+ }
344
+ /**
345
+ * Edit value/category axis formatting that round-trips to the saved `.pptx`
346
+ * (`c:min`/`c:max` scaling, `c:majorUnit`/`c:minorUnit`, `c:numFmt`,
347
+ * `c:tickLblPos`, `c:delete` via `visible`).
348
+ *
349
+ * Finds the first axis of `axisType` in `chartData.axes`, creating an entry
350
+ * if none exists. Note that newly created axes only serialize for charts that
351
+ * already contain a matching axis in the source XML (the save pipeline links
352
+ * edits by the parsed axis id), which is the normal case for loaded charts.
353
+ *
354
+ * @example
355
+ * ```ts
356
+ * setChartAxis(chartEl, "valAx", { min: 0, max: 100, majorUnit: 20 });
357
+ * setChartAxis(chartEl, "valAx", { min: null }); // clear the override
358
+ * setChartAxis(chartEl, "catAx", { visible: false }); // hide the axis
359
+ * ```
360
+ */
361
+ declare function setChartAxis(element: ChartPptxElement, axisType: PptxChartAxisType, edit: ChartAxisEdit): void;
362
+ /**
363
+ * Update a single data point value in a chart series.
364
+ *
365
+ * @param element - The chart element to modify.
366
+ * @param seriesIndex - Zero-based index of the series.
367
+ * @param pointIndex - Zero-based index of the data point (category).
368
+ * @param value - The new numeric value.
369
+ * @throws {RangeError} If either index is out of bounds.
370
+ *
371
+ * @example
372
+ * ```ts
373
+ * updateChartDataPoint(chartEl, 0, 2, 42);
374
+ * ```
375
+ */
376
+ declare function updateChartDataPoint(element: ChartPptxElement, seriesIndex: number, pointIndex: number, value: number): void;
377
+ /**
378
+ * Add a new category to the chart, appending a default value of `0`
379
+ * to every series so that data dimensions remain consistent.
380
+ *
381
+ * @param element - The chart element to modify.
382
+ * @param categoryName - The label for the new category.
383
+ *
384
+ * @example
385
+ * ```ts
386
+ * addChartCategory(chartEl, "Q4");
387
+ * ```
388
+ */
389
+ declare function addChartCategory(element: ChartPptxElement, categoryName: string): void;
390
+ /**
391
+ * Remove a category by index, also removing the corresponding value
392
+ * from every series.
393
+ *
394
+ * @param element - The chart element to modify.
395
+ * @param categoryIndex - Zero-based index of the category to remove.
396
+ * @throws {RangeError} If `categoryIndex` is out of bounds.
397
+ *
398
+ * @example
399
+ * ```ts
400
+ * removeChartCategory(chartEl, 0);
401
+ * ```
402
+ */
403
+ declare function removeChartCategory(element: ChartPptxElement, categoryIndex: number): void;
404
+ /**
405
+ * Set (or clear) the solid fill colour of a chart series. Edits round-trip to
406
+ * the saved `.pptx` (`c:spPr > a:solidFill > a:srgbClr` inside the series).
407
+ *
408
+ * Pass a hex colour (`#RRGGBB` or `RRGGBB`, case-insensitive) to set the
409
+ * series colour, or `null`/`undefined` to clear it so the series falls back to
410
+ * its automatic theme colour.
411
+ *
412
+ * Also clears any series gradient (`setChartSeriesGradient`): solid colour
413
+ * and gradient are one fill choice, so the last call wins.
414
+ *
415
+ * @param element - The chart element to modify.
416
+ * @param seriesIndex - Zero-based index of the series to recolour.
417
+ * @param color - Hex colour string, or `null`/`undefined` to clear.
418
+ * @throws {RangeError} If `seriesIndex` is out of bounds.
419
+ *
420
+ * @example
421
+ * ```ts
422
+ * setChartSeriesColor(chartEl, 0, "#4472C4");
423
+ * setChartSeriesColor(chartEl, 0, null); // clear -> back to theme colour
424
+ * ```
425
+ */
426
+ declare function setChartSeriesColor(element: ChartPptxElement, seriesIndex: number, color: string | null | undefined): void;
427
+ /**
428
+ * Enable or disable logarithmic scaling on an axis, optionally setting the log
429
+ * base. Round-trips to the saved `.pptx` (`c:scaling/c:logBase`).
430
+ *
431
+ * Pass `{ enabled: true, base: 10 }` to turn on a base-10 log scale, or
432
+ * `{ enabled: false }` to revert to linear scaling (which removes `c:logBase`).
433
+ *
434
+ * @example
435
+ * ```ts
436
+ * setChartAxisLogScale(chartEl, "valAx", { enabled: true, base: 10 });
437
+ * setChartAxisLogScale(chartEl, "valAx", { enabled: false });
438
+ * ```
439
+ */
440
+ declare function setChartAxisLogScale(element: ChartPptxElement, axisType: PptxChartAxisType, opts: {
441
+ enabled: boolean;
442
+ base?: number;
443
+ }): void;
444
+ /** Editable axis-title font styling. Omit a field to leave it unchanged; pass `null` to clear it. */
445
+ interface ChartAxisTitleStyleEdit {
446
+ fontFamily?: string | null;
447
+ fontSize?: number | null;
448
+ fontBold?: boolean;
449
+ fontColor?: string | null;
450
+ }
451
+ /**
452
+ * Edit the font styling (family, size, bold, colour) of an axis title. The
453
+ * title TEXT itself is edited via {@link setChartAxis}'s `title` field; this
454
+ * controls only its appearance. Round-trips to the saved `.pptx`
455
+ * (`c:title/c:txPr` run properties).
456
+ *
457
+ * @example
458
+ * ```ts
459
+ * setChartAxisTitleStyle(chartEl, "valAx", { fontFamily: "Calibri", fontSize: 12, fontBold: true });
460
+ * ```
461
+ */
462
+ declare function setChartAxisTitleStyle(element: ChartPptxElement, axisType: PptxChartAxisType, edit: ChartAxisTitleStyleEdit): void;
463
+ /** Editable gridline line styling (colour, width in points, dash style). */
464
+ interface ChartGridlineStyleEdit {
465
+ color?: string | null;
466
+ width?: number | null;
467
+ dashStyle?: string | null;
468
+ }
469
+ /**
470
+ * Edit the line styling (colour, width, dash style) of an axis's major or minor
471
+ * gridlines. Setting any style implicitly turns the gridlines on. Round-trips
472
+ * to the saved `.pptx` (`c:majorGridlines/c:spPr` or `c:minorGridlines/c:spPr`).
473
+ *
474
+ * @example
475
+ * ```ts
476
+ * setChartAxisGridlineStyle(chartEl, "valAx", "major", { color: "#CCCCCC", width: 0.75, dashStyle: "dash" });
477
+ * ```
478
+ */
479
+ declare function setChartAxisGridlineStyle(element: ChartPptxElement, axisType: PptxChartAxisType, which: 'major' | 'minor', edit: ChartGridlineStyleEdit): void;
480
+ /**
481
+ * Set (or clear) the marker on a chart series. Markers apply to line, scatter,
482
+ * bubble, and radar charts. Round-trips to the saved `.pptx` (`c:marker` inside
483
+ * the series).
484
+ *
485
+ * Pass a {@link PptxChartMarker} to set the marker, a partial marker patch to
486
+ * merge into the existing one, or `null` to remove the marker entirely.
487
+ *
488
+ * @example
489
+ * ```ts
490
+ * setChartSeriesMarker(chartEl, 0, { symbol: "circle", size: 7, spPr: { fillColor: "#FF0000" } });
491
+ * setChartSeriesMarker(chartEl, 1, { symbol: "none" });
492
+ * setChartSeriesMarker(chartEl, 0, null); // remove
493
+ * ```
494
+ */
495
+ declare function setChartSeriesMarker(element: ChartPptxElement, seriesIndex: number, marker: PptxChartMarker | {
496
+ symbol?: PptxChartMarkerSymbol;
497
+ size?: number;
498
+ fillColor?: string;
499
+ } | null): void;
500
+ /**
501
+ * Set (or clear) the per-series chart type for a combo chart. When set, the
502
+ * series is plotted with `seriesType` (e.g. a `line` series within an otherwise
503
+ * `bar` chart). Pass `null` to clear it so the series uses the chart-level type.
504
+ *
505
+ * Setting a per-series type also promotes the chart to `combo` so that the save
506
+ * pipeline emits multiple chart-type containers.
507
+ *
508
+ * @example
509
+ * ```ts
510
+ * setChartSeriesChartType(chartEl, 1, "line");
511
+ * setChartSeriesChartType(chartEl, 1, null); // revert to chart-level type
512
+ * ```
513
+ */
514
+ declare function setChartSeriesChartType(element: ChartPptxElement, seriesIndex: number, seriesType: PptxChartType | null): void;
515
+ /**
516
+ * Set (or clear) the fill colour of a single data point, overriding the series
517
+ * colour for that point only. Round-trips to the saved `.pptx`
518
+ * (`c:dPt/c:spPr/a:solidFill` keyed by `c:idx`).
519
+ *
520
+ * Pass a hex colour to set the fill, or `null` to remove the per-point fill
521
+ * (dropping the whole `c:dPt` override when nothing else is set on it).
522
+ * Setting a colour also clears a per-point gradient
523
+ * (`setChartDataPointGradient`); the last call wins.
524
+ *
525
+ * @example
526
+ * ```ts
527
+ * setChartDataPointFill(chartEl, 0, 2, "#FF0000");
528
+ * setChartDataPointFill(chartEl, 0, 2, null); // clear
529
+ * ```
530
+ */
531
+ declare function setChartDataPointFill(element: ChartPptxElement, seriesIndex: number, pointIndex: number, color: string | null): void;
532
+ /**
533
+ * Set (or clear) the explosion (slice pull-out distance, 0-100) of a single pie
534
+ * or doughnut data point. Round-trips to the saved `.pptx`
535
+ * (`c:dPt/c:explosion` keyed by `c:idx`).
536
+ *
537
+ * Pass `null` to remove the explosion (dropping the `c:dPt` override when
538
+ * nothing else is set on it).
539
+ *
540
+ * @example
541
+ * ```ts
542
+ * setChartDataPointExplosion(chartEl, 0, 1, 25);
543
+ * setChartDataPointExplosion(chartEl, 0, 1, null); // clear
544
+ * ```
545
+ */
546
+ declare function setChartDataPointExplosion(element: ChartPptxElement, seriesIndex: number, pointIndex: number, explosion: number | null): void;
547
+ /**
548
+ * Set (or clear) the marker override for a single data point, overriding the
549
+ * series-level marker for that point only. Round-trips to the saved `.pptx`
550
+ * (`c:dPt/c:marker` keyed by `c:idx`).
551
+ *
552
+ * Pass a marker patch to set/merge the override, or `null` to remove it
553
+ * (dropping the whole `c:dPt` override when nothing else is set on it).
554
+ *
555
+ * @example
556
+ * ```ts
557
+ * setChartDataPointMarker(chartEl, 0, 2, { symbol: "circle", size: 7, fillColor: "#FF0000" });
558
+ * setChartDataPointMarker(chartEl, 0, 2, null); // clear
559
+ * ```
560
+ */
561
+ declare function setChartDataPointMarker(element: ChartPptxElement, seriesIndex: number, pointIndex: number, marker: {
562
+ symbol?: PptxChartMarkerSymbol;
563
+ size?: number;
564
+ fillColor?: string;
565
+ } | null): void;
566
+ /** Editable per-data-point label fields. Omit a field to leave it unchanged. */
567
+ interface ChartDataPointLabelEdit {
568
+ /** Show the numeric value (`c:showVal`). */
569
+ showValue?: boolean;
570
+ /** Show the category name (`c:showCatName`). */
571
+ showCategory?: boolean;
572
+ /** Show the series name (`c:showSerName`). */
573
+ showSeriesName?: boolean;
574
+ /** Show the percentage (`c:showPercent`). */
575
+ showPercent?: boolean;
576
+ /** Show the legend key swatch (`c:showLegendKey`). */
577
+ showLegendKey?: boolean;
578
+ /** Label position (`c:dLblPos`). */
579
+ position?: PptxChartDataLabel['position'];
580
+ /** Custom label text override (`c:tx`). Pass `''` to clear it. */
581
+ text?: string;
582
+ /**
583
+ * This label's own shape formatting (`c:dLbl/c:spPr`: fill/line colour,
584
+ * width, dash style). Pass `null` to remove it, merging into the existing
585
+ * override when both are set.
586
+ */
587
+ spPr?: PptxChartShapeProps | null;
588
+ /**
589
+ * This label's own font (`c:dLbl/c:txPr`). Pass `null` to remove it,
590
+ * merging into the existing override when both are set.
591
+ */
592
+ txPr?: PptxChartDataLabel['txPr'] | null;
593
+ }
594
+ /**
595
+ * Set (or clear) the individual data-label override for a single data point of a
596
+ * series, independent of the series-level data labels. Round-trips to the saved
597
+ * `.pptx` (`c:dLbl` keyed by `c:idx` inside the series' `c:dLbls`).
598
+ *
599
+ * Pass a {@link ChartDataPointLabelEdit} to add/merge the override for that
600
+ * point, or `null` to remove it (reverting the point to the series default).
601
+ *
602
+ * @param element - The chart element to modify.
603
+ * @param seriesIndex - Zero-based index of the series.
604
+ * @param pointIndex - Zero-based index of the data point (category).
605
+ * @param edit - The label fields to set, or `null` to remove the override.
606
+ * @throws {RangeError} If `seriesIndex` is out of bounds.
607
+ *
608
+ * @example
609
+ * ```ts
610
+ * setChartDataPointLabel(chartEl, 0, 2, { showValue: true, position: "outEnd" });
611
+ * setChartDataPointLabel(chartEl, 0, 2, { text: "Peak" });
612
+ * setChartDataPointLabel(chartEl, 0, 2, null); // remove the override
613
+ * ```
614
+ */
615
+ declare function setChartDataPointLabel(element: ChartPptxElement, seriesIndex: number, pointIndex: number, edit: ChartDataPointLabelEdit | null): void;
616
+ //#endregion
111
617
  //#region src/pptx/core/builders/sdk/types.d.ts
112
618
  /** Position and size in pixels. Converted to EMU internally when needed. */
113
619
  interface ElementPosition {
@@ -278,6 +784,20 @@ interface ChartInput {
278
784
  grouping?: 'clustered' | 'stacked' | 'percentStacked';
279
785
  /** Bar series direction (`c:barDir`): vertical columns (default) or horizontal bars. */
280
786
  barDirection?: 'col' | 'bar';
787
+ /** Bar cluster gap, % of bar width (`c:gapWidth`, 0..500; default 150). Bar, bar3D, ofPie. */
788
+ gapWidth?: number;
789
+ /** Bar overlap within a cluster, % (`c:overlap`, -100..100). 2-D bar only. */
790
+ overlap?: number;
791
+ /** First slice angle in degrees (`c:firstSliceAng`, 0..360). Pie, doughnut. */
792
+ firstSliceAngle?: number;
793
+ /** Doughnut hole size, % (`c:holeSize`, 1..90; default 50). Doughnut only. */
794
+ holeSize?: number;
795
+ /** Chart-area fill, border and rounded corners (`c:chartSpace/c:spPr`, `c:roundedCorners`). */
796
+ chartArea?: ChartAreaFormatInput;
797
+ /** Plot-area fill and border (`c:plotArea/c:spPr`). */
798
+ plotArea?: ChartAreaFormatInput;
799
+ /** Axis edits by axis type, as `setChartAxis` takes them (e.g. `{ valAx: { visible: false } }`). */
800
+ axes?: Partial<Record<PptxChartAxisType, ChartAxisEdit>>;
281
801
  }
282
802
  interface ChartOptions extends Partial<ElementPosition> {}
283
803
  interface ConnectorOptions extends Partial<ElementPosition> {
@@ -4076,15 +4596,13 @@ declare class PptxHandlerRuntime$91 extends PptxHandlerRuntime$92 {
4076
4596
  */
4077
4597
  protected parseViewProperties(): Promise<PptxViewProperties | undefined>;
4078
4598
  /**
4079
- * Resolve the `c:spPr` fill of a chart container (`c:chartSpace` or
4080
- * `c:plotArea`) to a colour string, or the literal `'none'` for
4081
- * `<a:noFill/>`. Returns `undefined` when the container declares no fill at
4082
- * all, which leaves the choice to the renderer.
4083
- *
4084
- * `<a:noFill/>` parses to the empty STRING, so presence - not truthiness -
4085
- * has to decide.
4599
+ * Resolve the `c:spPr` fill and border of a chart container
4600
+ * (`c:chartSpace` or `c:plotArea`) to a colour string, or the literal
4601
+ * `'none'` for `<a:noFill/>`; `undefined` when the container declares
4602
+ * nothing, which leaves the choice to the renderer. The save path reads it
4603
+ * back with the same function (`chart-area-format.ts`).
4086
4604
  */
4087
- private parseChartContainerFill;
4605
+ private parseChartContainerFormat;
4088
4606
  /**
4089
4607
  * Extract chart style metadata from chart XML.
4090
4608
  */
@@ -9621,5 +10139,5 @@ declare class PptxJsonConverter {
9621
10139
  */
9622
10140
  declare function applyImportedPptxData(base: PptxData, imported: PptxData): PptxData;
9623
10141
  //#endregion
9624
- export { duplicateLayout as $, StrokeInput as $i, convertMetafileToDataUrl as $n, PptxNativeAnimationService as $r, PptxShapeStyleExtractorContext as $t, SlideProcessor as A, PptxSlideBuilder as Ai, buildSlideReferenceRemap as An, DiagramRelationshipIds as Ar, PptxElementXmlBuilderOptions as At, generateMediaFilename as B, ChartInput as Bi, PptxPresentationSaveBuilder as Bn, PptxRuntimeDependencyFactoryInput as Br, PptxBuilderFactoryContext as Bt, PptxJsonAssetStats as C, IPptxHandlerRuntime as Ci, PptxCommentAuthorsXmlFactoryInit as Cn, parseSignatureXml as Cr, diffSlides as Ct, SvgExportOptions as D, PptxSaveFormat as Di, PptxSlideRelationshipRegistry as Dn, EncryptionOptions as Dr, createAutoNumberSequence as Dt, isPptxJsonText as E, PptxHandlerSaveOptions as Ei, PptxSlideCommentRelationshipInfo as En, EncryptionInfo as Er, breakAutoNumberRun as Et, deriveOutputPath as F, PresentationBuilderResult as Fi, PptxSaveMediaKind as Fn, applySections as Fr, IPptxXmlFactoryProvider as Ft, DuplicateMasterSuccess as G, FillInput as Gi, PptxContentTypesSlideMediaBuildInput as Gn, PRESET_TO_OOXML as Gr, IPptxMediaDataParser as Gt, ConversionResult as H, ChartSeriesInput as Hi, IPptxContentTypesBuilder as Hn, OOXML_TO_PRESET_EMPH as Hr, IPptxGraphicFrameParser as Ht, getDirectory as I, buildBlankPresentationArchive as Ii, PptxSaveState as In, parseCustomShows as Ir, ITextShapeXmlFactory as It, insertSlideMaster as J, MediaOptions as Ji, PptxConnectorParserContext as Jn, OoxmlPresetMapping as Jr, IPptxTableDataParser as Jt, deleteSlideMaster as K, GroupOptions as Ki, IPptxConnectorParser as Kn, ooxmlToPresetName as Kr, PptxMediaDataParser as Kt, normalizePath as L, SlideBuilder as Li, PptxSaveStateBuilder as Ln, IPptxRuntimeDependencyFactory as Lr, IXmlElementFactory as Lt, PptxConverterOptions as M, PptxSlideNotesBuilder as Mi, PptxPresentationSlidesReconciler as Mn, parseDiagramRelationshipIds as Mr, IConnectorXmlFactory as Mt, PptxMarkdownConverter as N, PptxXmlBuilder as Ni, PptxPresentationSlidesReconcilerInput as Nn, PptxSlideReferenceRemap as Nr, IMediaGraphicFrameXmlFactory as Nt, SvgExporter as O, ZipBombError as Oi, PptxSlideRelationshipRegistryOptions as On, EncryptionScheme as Or, nextAutoNumber as Ot, DocumentConverter as P, PresentationBuilder as Pi, PptxCommentAuthorDescriptor as Pn, applyCustomShows as Pr, IPictureXmlFactory as Pt, deleteLayout as Q, ShapeOptions as Qi, IFactory as Qn, IPptxNativeAnimationService as Qr, PptxShapeStyleExtractor as Qt, MediaContext as R, AnimationInput as Ri, IPptxPresentationSaveBuilder as Rn, PptxRuntimeDependencyBundle as Rr, MediaGraphicFrameXmlFactoryInit as Rt, PPTX_JSON_VERSION as S, DEFAULT_MAX_UNCOMPRESSED_BYTES as Si, IPptxSlideCommentsXmlFactory as Sn, getSignaturePathsToStrip as Sr, diffPresentations as St, decodePptxJsonText as T, PptxHandlerLoadOptions as Ti, IPptxSlideRelationshipRegistry as Tn, EncryptionAlgorithm as Tr, PptxHandlerRuntime as Tt, FileSystemAdapter as U, ConnectorOptions as Ui, PptxContentTypesBuilder as Un, OOXML_TO_PRESET_ENTR as Ur, PptxGraphicFrameParser as Ut, ConversionOptions as V, ChartOptions as Vi, PptxPresentationSaveBuilderOptions as Vn, IPptxAnimationWriteService as Vr, TextShapeXmlFactoryInit as Vt, DuplicateMasterResult as W, ElementPosition as Wi, PptxContentTypesCommentBuildInput as Wn, OOXML_TO_PRESET_EXIT as Wr, PptxGraphicFrameParserContext as Wt, DuplicateLayoutResult as X, PresentationThemeInput as Xi, PptxSaveConstantsFactory as Xn, PptxSlideTransitionService as Xr, PptxTableDataParserContext as Xt, renameSlideMaster as Y, PresentationOptions as Yi, PptxSaveConstants as Yn, IPptxSlideTransitionService as Yr, PptxTableDataParser as Yt, DuplicateLayoutSuccess as Z, ShadowInput as Zi, createPptxSaveConstants as Zn, PptxSlideTransitionServiceOptions as Zr, IPptxShapeStyleExtractor as Zt, decodeJsonValue as _, IPptxCompatibilityService as _i, PptxCommentAuthorsXmlFactory as _n, SignatureCertificateInfo as _r, TemplateData as _t, deserializePptxFromJson as a, TextSegmentInput as aa, PptxSlideLoaderService as ai, PptxSlideBackgroundBuilderInput as an, detectStrictConformance as ar, LayoutCreationResult as at, PPTX_JSON_FORMAT as b, PptxHandlerRuntimeFactory as bi, IPptxCommentAuthorsXmlFactory as bn, SignatureStatus as br, PropertyChange as bt, pptxDataFromJsonDocument as c, ChartGradientInput as ca, PptxMediaTimingMap as ci, PptxSlideNotesPartUpdaterInput as cn, normalizeNamespaceUri as cr, createLayout as ct, serializePptxToJson as d, PptxThemePreset as da, PptxSlideNotesResult as di, IPptxElementTransformUpdater as dn, AlternateContentBlock as dr, findLayoutByType as dt, TableCellInput as ea, IPptxEditorAnimationService as ei, IPptxColorStyleCodec as en, ResolveChartColor as er, insertLayout as et, PRESENTATION_FIELD_KEYS as f, THEME_PRESETS as fa, IPptxTemplateBackgroundService as fi, PptxElementTransformUpdater as fn, SHAPE_TREE_ELEMENT_TAGS as fr, generateLayoutXml as ft, bytesToBase64 as g, CompatibilityWarningInput as gi, PptxCommentXmlFactoryProvider as gn, ParsedSignature as gr, mailMerge as gt, base64ToBytes as h, PptxDocumentPropertiesUpdater as hi, PptxSlideCommentPartWriterInput as hn, unwrapAlternateContent as hr, findPlaceholders as ht, PptxJsonFormatError as i, TextOptions as ia, PptxXmlLookupService as ii, PptxSlideBackgroundBuilder as in, convertXmlToStrict as ir, MasterLayoutCrudSuccess as it, SlideProcessorOptions as j, PptxSlideElementsBuilder as ji, IPptxPresentationSlidesReconciler as jn, applyDiagramRelationshipIds as jr, ConnectorXmlFactoryInit as jt, SlideMetadataRenderer as k, IPptxXmlBuilder as ki, SlideReferenceRemapInput as kn, StandardEncryptionInfo as kr, PptxElementXmlBuilder as kt, PptxJsonSerializeOptions as l, ChartGradientStopInput as la, PptxSlideLoaderParams as li, IPptxSlideMediaRelationshipBuilder as ln, normalizeStrictXml as lr, createLayouts as lt, JsonAssetAccumulator as m, PptxTemplateBackgroundState as mi, PptxSlideCommentPartWriter as mn, selectAlternateContentBranch as mr, applyTemplate as mt, PptxJsonConverterOptions as n, TableOptions as na, PptxEditorAnimationServiceOptions as ni, PptxColorStyleCodecContext as nn, OoxmlConformanceClass as nr, MasterLayoutCrudFailure as nt, parsePptxJson as o, TextStyleInput as oa, IPptxSlideLoaderService as oi, IPptxSlideNotesPartUpdater as on, isStrictNamespaceUri as or, LayoutDefinition as ot, PRESENTATION_FIELD_NAMES as p, PptxTemplateBackgroundService as pi, IPptxSlideCommentPartWriter as pn, reapplyAlternateContentToTree as pr, Presentation as pt, duplicateSlideMaster as q, ImageOptions as qi, PptxConnectorParser as qn, resolveOoxmlPresetMapping as qr, PptxMediaDataParserContext as qt, applyImportedPptxData as r, TableRowInput as ra, IPptxXmlLookupService as ri, IPptxSlideBackgroundBuilder as rn, containsConvertibleStrictNamespaceAttribute as rr, MasterLayoutCrudResult as rt, parsePptxJsonDocument as s, TransitionInput as sa, PptxMediaTimingEntry as si, PptxSlideNotesPartUpdater as sn, isTransitionalNamespaceUri as sr, PlaceholderDefinition as st, PptxJsonConverter as t, TableInput as ta, PptxEditorAnimationService as ti, PptxColorStyleCodec as tn, parsePresentationSmartTags as tr, renameLayout as tt, buildPptxJsonDocument as u, toChartGradientFill as ua, PptxSlideLoaderThemeOverride as ui, PptxSlideMediaRelationshipBuilder as un, toStrictNamespaceUri as ur, findLayoutByName as ut, encodeJsonValue as v, PptxCompatibilityService as vi, PptxSlideCommentsXmlFactory as vn, SignatureDetectionResult as vr, ElementDiff as vt, PptxJsonDocument as w, MAX_ZIP_ENTRY_COUNT as wi, PptxSlideCommentsXmlFactoryInit as wn, verifySignatureDigests as wr, PptxHandler as wt, PPTX_JSON_MIME_TYPE as x, createDefaultPptxHandlerRuntime as xi, IPptxCommentXmlFactoryProvider as xn, detectDigitalSignatures as xr, SlideDiff as xt, PPTX_JSON_FILE_EXTENSION as y, IPptxHandlerRuntimeFactory as yi, ICoreXmlElementFactory as yn, SignatureReference as yr, PresentationDiff as yt, dataUrlToMediaBytes as z, BackgroundInput as zi, PptxPresentationSaveBuildInput as zn, PptxRuntimeDependencyFactory as zr, PictureXmlFactoryInit as zt };
9625
- //# sourceMappingURL=index-BtBj3VG1.d.ts.map
10142
+ export { duplicateLayout as $, StrokeInput as $i, convertMetafileToDataUrl as $n, PptxNativeAnimationService as $r, PptxShapeStyleExtractorContext as $t, SlideProcessor as A, setChartSeriesChartType as Aa, PptxSlideBuilder as Ai, buildSlideReferenceRemap as An, DiagramRelationshipIds as Ar, PptxElementXmlBuilderOptions as At, generateMediaFilename as B, ChartGroupOptionsInput as Ba, ChartInput as Bi, PptxPresentationSaveBuilder as Bn, PptxRuntimeDependencyFactoryInput as Br, PptxBuilderFactoryContext as Bt, PptxJsonAssetStats as C, setChartDataLabels as Ca, IPptxHandlerRuntime as Ci, PptxCommentAuthorsXmlFactoryInit as Cn, parseSignatureXml as Cr, diffSlides as Ct, SvgExportOptions as D, setChartDataPointMarker as Da, PptxSaveFormat as Di, PptxSlideRelationshipRegistry as Dn, EncryptionOptions as Dr, createAutoNumberSequence as Dt, isPptxJsonText as E, setChartDataPointLabel as Ea, PptxHandlerSaveOptions as Ei, PptxSlideCommentRelationshipInfo as En, EncryptionInfo as Er, breakAutoNumberRun as Et, deriveOutputPath as F, setChartTitle as Fa, PresentationBuilderResult as Fi, PptxSaveMediaKind as Fn, applySections as Fr, IPptxXmlFactoryProvider as Ft, DuplicateMasterSuccess as G, THEME_PRESETS as Ga, FillInput as Gi, PptxContentTypesSlideMediaBuildInput as Gn, PRESET_TO_OOXML as Gr, IPptxMediaDataParser as Gt, ConversionResult as H, ChartGradientStopInput as Ha, ChartSeriesInput as Hi, IPptxContentTypesBuilder as Hn, OOXML_TO_PRESET_EMPH as Hr, IPptxGraphicFrameParser as Ht, getDirectory as I, setChartType as Ia, buildBlankPresentationArchive as Ii, PptxSaveState as In, parseCustomShows as Ir, ITextShapeXmlFactory as It, insertSlideMaster as J, MediaOptions as Ji, PptxConnectorParserContext as Jn, OoxmlPresetMapping as Jr, IPptxTableDataParser as Jt, deleteSlideMaster as K, GroupOptions as Ki, IPptxConnectorParser as Kn, ooxmlToPresetName as Kr, PptxMediaDataParser as Kt, normalizePath as L, updateChartDataPoint as La, SlideBuilder as Li, PptxSaveStateBuilder as Ln, IPptxRuntimeDependencyFactory as Lr, IXmlElementFactory as Lt, PptxConverterOptions as M, setChartSeriesErrorBars as Ma, PptxSlideNotesBuilder as Mi, PptxPresentationSlidesReconciler as Mn, parseDiagramRelationshipIds as Mr, IConnectorXmlFactory as Mt, PptxMarkdownConverter as N, setChartSeriesMarker as Na, PptxXmlBuilder as Ni, PptxPresentationSlidesReconcilerInput as Nn, PptxSlideReferenceRemap as Nr, IMediaGraphicFrameXmlFactory as Nt, SvgExporter as O, setChartGrouping as Oa, ZipBombError as Oi, PptxSlideRelationshipRegistryOptions as On, EncryptionScheme as Or, nextAutoNumber as Ot, DocumentConverter as P, setChartSeriesTrendline as Pa, PresentationBuilder as Pi, PptxCommentAuthorDescriptor as Pn, applyCustomShows as Pr, IPictureXmlFactory as Pt, deleteLayout as Q, ShapeOptions as Qi, IFactory as Qn, IPptxNativeAnimationService as Qr, PptxShapeStyleExtractor as Qt, MediaContext as R, updateChartSeriesValues as Ra, AnimationInput as Ri, IPptxPresentationSaveBuilder as Rn, PptxRuntimeDependencyBundle as Rr, MediaGraphicFrameXmlFactoryInit as Rt, PPTX_JSON_VERSION as S, setChartCategories as Sa, DEFAULT_MAX_UNCOMPRESSED_BYTES as Si, IPptxSlideCommentsXmlFactory as Sn, getSignaturePathsToStrip as Sr, diffPresentations as St, decodePptxJsonText as T, setChartDataPointFill as Ta, PptxHandlerLoadOptions as Ti, IPptxSlideRelationshipRegistry as Tn, EncryptionAlgorithm as Tr, PptxHandlerRuntime as Tt, FileSystemAdapter as U, toChartGradientFill as Ua, ConnectorOptions as Ui, PptxContentTypesBuilder as Un, OOXML_TO_PRESET_ENTR as Ur, PptxGraphicFrameParser as Ut, ConversionOptions as V, ChartGradientInput as Va, ChartOptions as Vi, PptxPresentationSaveBuilderOptions as Vn, IPptxAnimationWriteService as Vr, TextShapeXmlFactoryInit as Vt, DuplicateMasterResult as W, PptxThemePreset as Wa, ElementPosition as Wi, PptxContentTypesCommentBuildInput as Wn, OOXML_TO_PRESET_EXIT as Wr, PptxGraphicFrameParserContext as Wt, DuplicateLayoutResult as X, PresentationThemeInput as Xi, PptxSaveConstantsFactory as Xn, PptxSlideTransitionService as Xr, PptxTableDataParserContext as Xt, renameSlideMaster as Y, PresentationOptions as Yi, PptxSaveConstants as Yn, IPptxSlideTransitionService as Yr, PptxTableDataParser as Yt, DuplicateLayoutSuccess as Z, ShadowInput as Zi, createPptxSaveConstants as Zn, PptxSlideTransitionServiceOptions as Zr, IPptxShapeStyleExtractor as Zt, decodeJsonValue as _, removeChartSeries as _a, IPptxCompatibilityService as _i, PptxCommentAuthorsXmlFactory as _n, SignatureCertificateInfo as _r, TemplateData as _t, deserializePptxFromJson as a, TextSegmentInput as aa, PptxSlideLoaderService as ai, PptxSlideBackgroundBuilderInput as an, detectStrictConformance as ar, LayoutCreationResult as at, PPTX_JSON_FORMAT as b, setChartAxisLogScale as ba, PptxHandlerRuntimeFactory as bi, IPptxCommentAuthorsXmlFactory as bn, SignatureStatus as br, PropertyChange as bt, pptxDataFromJsonDocument as c, ChartAxisEdit as ca, PptxMediaTimingMap as ci, PptxSlideNotesPartUpdaterInput as cn, normalizeNamespaceUri as cr, createLayout as ct, serializePptxToJson as d, ChartGridlineStyleEdit as da, PptxSlideNotesResult as di, IPptxElementTransformUpdater as dn, AlternateContentBlock as dr, findLayoutByType as dt, TableCellInput as ea, IPptxEditorAnimationService as ei, IPptxColorStyleCodec as en, ResolveChartColor as er, insertLayout as et, PRESENTATION_FIELD_KEYS as f, PptxChartAxisType as fa, IPptxTemplateBackgroundService as fi, PptxElementTransformUpdater as fn, SHAPE_TREE_ELEMENT_TAGS as fr, generateLayoutXml as ft, bytesToBase64 as g, removeChartCategory as ga, CompatibilityWarningInput as gi, PptxCommentXmlFactoryProvider as gn, ParsedSignature as gr, mailMerge as gt, base64ToBytes as h, addChartSeries as ha, PptxDocumentPropertiesUpdater as hi, PptxSlideCommentPartWriterInput as hn, unwrapAlternateContent as hr, findPlaceholders as ht, PptxJsonFormatError as i, TextOptions as ia, PptxXmlLookupService as ii, PptxSlideBackgroundBuilder as in, convertXmlToStrict as ir, MasterLayoutCrudSuccess as it, SlideProcessorOptions as j, setChartSeriesColor as ja, PptxSlideElementsBuilder as ji, IPptxPresentationSlidesReconciler as jn, applyDiagramRelationshipIds as jr, ConnectorXmlFactoryInit as jt, SlideMetadataRenderer as k, setChartLegend as ka, IPptxXmlBuilder as ki, SlideReferenceRemapInput as kn, StandardEncryptionInfo as kr, PptxElementXmlBuilder as kt, PptxJsonSerializeOptions as l, ChartAxisTitleStyleEdit as la, PptxSlideLoaderParams as li, IPptxSlideMediaRelationshipBuilder as ln, normalizeStrictXml as lr, createLayouts as lt, JsonAssetAccumulator as m, addChartCategory as ma, PptxTemplateBackgroundState as mi, PptxSlideCommentPartWriter as mn, selectAlternateContentBranch as mr, applyTemplate as mt, PptxJsonConverterOptions as n, TableOptions as na, PptxEditorAnimationServiceOptions as ni, PptxColorStyleCodecContext as nn, OoxmlConformanceClass as nr, MasterLayoutCrudFailure as nt, parsePptxJson as o, TextStyleInput as oa, IPptxSlideLoaderService as oi, IPptxSlideNotesPartUpdater as on, isStrictNamespaceUri as or, LayoutDefinition as ot, PRESENTATION_FIELD_NAMES as p, PptxChartLegendPosition as pa, PptxTemplateBackgroundService as pi, IPptxSlideCommentPartWriter as pn, reapplyAlternateContentToTree as pr, Presentation as pt, duplicateSlideMaster as q, ImageOptions as qi, PptxConnectorParser as qn, resolveOoxmlPresetMapping as qr, PptxMediaDataParserContext as qt, applyImportedPptxData as r, TableRowInput as ra, IPptxXmlLookupService as ri, IPptxSlideBackgroundBuilder as rn, containsConvertibleStrictNamespaceAttribute as rr, MasterLayoutCrudResult as rt, parsePptxJsonDocument as s, TransitionInput as sa, PptxMediaTimingEntry as si, PptxSlideNotesPartUpdater as sn, isTransitionalNamespaceUri as sr, PlaceholderDefinition as st, PptxJsonConverter as t, TableInput as ta, PptxEditorAnimationService as ti, PptxColorStyleCodec as tn, parsePresentationSmartTags as tr, renameLayout as tt, buildPptxJsonDocument as u, ChartDataPointLabelEdit as ua, PptxSlideLoaderThemeOverride as ui, PptxSlideMediaRelationshipBuilder as un, toStrictNamespaceUri as ur, findLayoutByName as ut, encodeJsonValue as v, setChartAxis as va, PptxCompatibilityService as vi, PptxSlideCommentsXmlFactory as vn, SignatureDetectionResult as vr, ElementDiff as vt, PptxJsonDocument as w, setChartDataPointExplosion as wa, MAX_ZIP_ENTRY_COUNT as wi, PptxSlideCommentsXmlFactoryInit as wn, verifySignatureDigests as wr, PptxHandler as wt, PPTX_JSON_MIME_TYPE as x, setChartAxisTitleStyle as xa, createDefaultPptxHandlerRuntime as xi, IPptxCommentXmlFactoryProvider as xn, detectDigitalSignatures as xr, SlideDiff as xt, PPTX_JSON_FILE_EXTENSION as y, setChartAxisGridlineStyle as ya, IPptxHandlerRuntimeFactory as yi, ICoreXmlElementFactory as yn, SignatureReference as yr, PresentationDiff as yt, dataUrlToMediaBytes as z, ChartAreaFormatInput as za, BackgroundInput as zi, PptxPresentationSaveBuildInput as zn, PptxRuntimeDependencyFactory as zr, PictureXmlFactoryInit as zt };
10143
+ //# sourceMappingURL=index-DHoPgFcH.d.ts.map