@office-kit/pptx 0.12.0 → 0.13.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # pptx-kit
2
2
 
3
+ ## 0.13.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 104f7d2: Read and render the transparency of solid fills and outlines.
8
+
9
+ `@office-kit/pptx` adds `getShapeFillOpacity`, `getShapeStrokeOpacity`, and
10
+ `resolveDrawingColorOpacity`, which resolve `<a:alpha>` / `<a:alphaMod>` /
11
+ `<a:alphaOff>` on a color to a 0–1 opacity. `getShapeFillColorResolved` and
12
+ `getShapeStrokeColorResolved` keep returning the plain `#RRGGBB`.
13
+
14
+ `@office-kit/pptx-preview` now emits `fill-opacity` / `stroke-opacity` for
15
+ translucent solid fills and outlines, including artwork inherited from slide
16
+ layouts and masters. A semi-transparent shape layered over a gradient or the
17
+ slide background previously rendered as an opaque block that hid whatever sat
18
+ beneath it.
19
+
3
20
  ## 0.12.0
4
21
 
5
22
  ### Minor Changes
@@ -12839,6 +12839,26 @@ const resolveDrawingColor = (colorEl, theme, clrMap) => {
12839
12839
  if (!baseHex) return null;
12840
12840
  return applyColorTransforms(baseHex, parseColorTransforms(colorEl));
12841
12841
  };
12842
+ /**
12843
+ * Resolves the opacity a DrawingML color element carries through its
12844
+ * `<a:alpha>` / `<a:alphaMod>` / `<a:alphaOff>` children (ECMA-376
12845
+ * §20.1.2.3.1–3) to a `0`–`1` fraction, applied in document order from a
12846
+ * fully opaque base. Returns `null` when the element has no alpha
12847
+ * transform — PowerPoint paints that opaque, but callers can still tell
12848
+ * "unspecified" apart from an explicit `1`.
12849
+ *
12850
+ * Kept separate from `resolveDrawingColor` because alpha never changes the
12851
+ * `#RRGGBB`; OOXML encodes the two independently and renderers emit the
12852
+ * opacity next to the color (`fill-opacity` / `stroke-opacity`).
12853
+ */
12854
+ const resolveDrawingColorOpacity = (colorEl) => {
12855
+ if (colorEl.name.namespaceURI !== NS.dml) return null;
12856
+ let opacity = null;
12857
+ for (const t of parseColorTransforms(colorEl)) if (t.kind === "alpha") opacity = t.val;
12858
+ else if (t.kind === "alphaMod") opacity = (opacity ?? 1) * t.val;
12859
+ else if (t.kind === "alphaOff") opacity = (opacity ?? 1) + t.val;
12860
+ return opacity === null ? null : Math.max(0, Math.min(1, opacity));
12861
+ };
12842
12862
  const parseRPrLikeElement = (rPr, ctx) => {
12843
12863
  const out = {};
12844
12864
  const sz = getAttrValue(rPr, qname("", "sz", ""));
@@ -14162,6 +14182,21 @@ const replaceTokensInSlide = (slide, tokens) => {
14162
14182
  };
14163
14183
  //#endregion
14164
14184
  //#region src/api/fn/shape-read-paint.ts
14185
+ const solidFillColorElement = (container) => {
14186
+ const solid = firstChildElement(container, qname("a", "solidFill", NS.dml));
14187
+ if (!solid) return null;
14188
+ for (const inner of solid.children) if (inner.kind === "element" && inner.name.namespaceURI === NS.dml) return inner;
14189
+ return null;
14190
+ };
14191
+ const fillColorElement = (shape) => {
14192
+ const spPr = firstChildElement(shape[SHAPE_ELEMENT], qname("p", "spPr", NS.pml));
14193
+ return spPr ? solidFillColorElement(spPr) : null;
14194
+ };
14195
+ const strokeColorElement = (shape) => {
14196
+ const spPr = firstChildElement(shape[SHAPE_ELEMENT], qname("p", "spPr", NS.pml));
14197
+ const ln = spPr ? firstChildElement(spPr, qname("a", "ln", NS.dml)) : null;
14198
+ return ln ? solidFillColorElement(ln) : null;
14199
+ };
14165
14200
  /**
14166
14201
  * Convenience over `getShapeStroke(shape)`: returns the solid-
14167
14202
  * stroke color (`#RRGGBB` / `scheme:<token>`) or `null` when the
@@ -14193,17 +14228,19 @@ const getShapeStrokeWidth = (shape) => {
14193
14228
  * color, not the base one.
14194
14229
  */
14195
14230
  const getShapeStrokeColorResolved = (pres, shape) => {
14196
- const spPr = firstChildElement(shape[SHAPE_ELEMENT], qname("p", "spPr", NS.pml));
14197
- if (!spPr) return null;
14198
- const ln = firstChildElement(spPr, qname("a", "ln", NS.dml));
14199
- if (!ln) return null;
14200
- const solid = firstChildElement(ln, qname("a", "solidFill", NS.dml));
14201
- if (!solid) return null;
14202
- for (const inner of solid.children) {
14203
- if (inner.kind !== "element" || inner.name.namespaceURI !== NS.dml) continue;
14204
- return resolveDrawingColor(inner, getPresentationTheme(pres));
14205
- }
14206
- return null;
14231
+ const color = strokeColorElement(shape);
14232
+ return color ? resolveDrawingColor(color, getPresentationTheme(pres)) : null;
14233
+ };
14234
+ /**
14235
+ * Returns the opacity (`0`–`1`) of the shape's own solid outline, read from
14236
+ * the `<a:alpha>` / `<a:alphaMod>` / `<a:alphaOff>` children of its color
14237
+ * element, or `null` when the outline isn't a solid color or carries no
14238
+ * alpha transform (PowerPoint draws it fully opaque). Companion to
14239
+ * `getShapeStrokeColorResolved`, which never carries the alpha channel.
14240
+ */
14241
+ const getShapeStrokeOpacity = (shape) => {
14242
+ const color = strokeColorElement(shape);
14243
+ return color ? resolveDrawingColorOpacity(color) : null;
14207
14244
  };
14208
14245
  /**
14209
14246
  * Reads the stroke's line cap style — `'rnd'` (round), `'sq'` (square),
@@ -14385,15 +14422,20 @@ const getShapeFillColor = (shape) => {
14385
14422
  * need the color PowerPoint actually paints should call this.
14386
14423
  */
14387
14424
  const getShapeFillColorResolved = (pres, shape) => {
14388
- const spPr = firstChildElement(shape[SHAPE_ELEMENT], qname("p", "spPr", NS.pml));
14389
- if (!spPr) return null;
14390
- const solid = firstChildElement(spPr, qname("a", "solidFill", NS.dml));
14391
- if (!solid) return null;
14392
- for (const inner of solid.children) {
14393
- if (inner.kind !== "element" || inner.name.namespaceURI !== NS.dml) continue;
14394
- return resolveDrawingColor(inner, getPresentationTheme(pres));
14395
- }
14396
- return null;
14425
+ const color = fillColorElement(shape);
14426
+ return color ? resolveDrawingColor(color, getPresentationTheme(pres)) : null;
14427
+ };
14428
+ /**
14429
+ * Returns the opacity (`0`–`1`) of the shape's own solid fill, read from
14430
+ * the `<a:alpha>` / `<a:alphaMod>` / `<a:alphaOff>` children of its color
14431
+ * element, or `null` when the fill isn't solid or carries no alpha
14432
+ * transform (PowerPoint paints it fully opaque). Companion to
14433
+ * `getShapeFillColorResolved`, which never carries the alpha channel —
14434
+ * OOXML encodes color and alpha independently.
14435
+ */
14436
+ const getShapeFillOpacity = (shape) => {
14437
+ const color = fillColorElement(shape);
14438
+ return color ? resolveDrawingColorOpacity(color) : null;
14397
14439
  };
14398
14440
  /**
14399
14441
  * Same as `getShapeFill` but walks the layout → master placeholder
@@ -16958,8 +17000,8 @@ const ungroupShapes = (group) => {
16958
17000
  };
16959
17001
  //#endregion
16960
17002
  //#region src/api/index.ts
16961
- const VERSION = "0.12.0";
17003
+ const VERSION = "0.13.0";
16962
17004
  //#endregion
16963
- export { slideHasAnimations as $, getTableCellTextDirection as $a, getAllComments as $i, getSlideMasterPartNames as $n, setShapeRunFormat as $o, setParagraphAlignment as $r, getCommentsSortedByDate as $s, getShapeStrokeEffective as $t, getPresentationTextLength as A, getMediaParts as Aa, getShapeImageLinkUrl as Ai, getGroupTransform as An, getExtendedProperties as Ao, setShapeStrokeCap as Ar, getSlideMasterBackgroundImageBytes as As, setShapeTextColumns as At, getSlideText as B, clearTableCellFill as Ba, SLIDE_SIZE_16_10 as Bi, getShapeFlip as Bn, findSlideLayoutByType as Bo, getParagraphIndent as Br, clearSlideComments as Bs, setShapeGlow as Bt, findSlideByTitle as C, replaceHyperlink as Ca, getShapeImageBrightness as Ci, replaceTokensInSlide as Cn, setTableRowHeight as Co, setShapeNoStroke as Cr, getSlideLayoutBackgroundGradientFill as Cs, getShapeTextWrap as Ct, getOutlineText as D, setSlideTransition as Da, getShapeImageDuotone as Di, findShapesAtPoint as Dn, removeThumbnail as Do, setShapeSize as Dr, getSlideLayoutShapes as Ds, setShapeTextAnchor as Dt, getAllShapes as E, getSlideTransition as Ea, getShapeImageCrop as Ei, centerShapeOnSlide as En, getThumbnail as Eo, setShapeRotation as Er, getSlideLayoutBackgroundShapes as Es, setShapeText as Et, getSlideIndex as F, listPackageParts as Fa, isShapeImageGrayscale as Fi, getShapeBounds as Fn, setExtendedProperties as Fo, resolveDrawingColor as Fr, getShapeClickAction as Fs, clearShapeEffects as Ft, isSlideHidden as G, getTableCellAnchor as Ga, appendSlideNotes as Gi, getShapePlaceholderType as Gn, getSlideLayoutUsageCounts as Go, getShapeParagraphCount as Gr, findCommentsByText as Gs, getShapeFillColor as Gt, getSlideXmlString as H, getSlideTables as Ha, SLIDE_SIZE_4_3 as Hi, getShapeKind as Hn, getSlideLayoutPartName as Ho, getParagraphLineSpacing as Hr, findCommentsAfter as Hs, getShapeGradientFill as Ht, getSlideInfo as I, readPackagePart as Ia, setShapeImageBrightness as Ii, getShapeBoundsResolved as In, touchModified as Io, getParagraphAlignment as Ir, setShapeClickAction as Is, findShapesByEffect as It, replaceTextInSlide as J, getTableCellMargins as Ja, clearSlideHyperlinks as Ji, getShapeRotation as Jn, getUnusedSlideLayouts as Jo, getShapeRunCount as Jr, getCommentAuthors as Js, getShapeStroke as Jt, replaceTextInNotes as K, getTableCellBorders as Ka, clearAllHyperlinks as Ki, getShapePosition as Kn, getSlideLayoutUsageCountsByType as Ko, getShapeParagraphElements as Kr, findSlidesWithCommentsByAuthor as Ks, getShapeFillColorResolved as Kt, getSlideLayoutCount as L, setMediaPartBytes as La, setShapeImageContrast as Li, getShapeCenter as Ln, findLayoutsWithPlaceholderType as Lo, getParagraphBullet as Lr, setShapeImage as Ls, getShapeEffect as Lt, getShapeAt as M, getPackageSize as Ma, getShapeImagePartName as Mi, getMaxShapeIdInPresentation as Mn, getPresentationModified as Mo, setShapeStrokeDash as Mr, getSlideMasterShapes as Ms, setShapeTextFormat as Mt, getSlideAt as N, getPresentationSummary as Na, hasShapeImage as Ni, getShapeAdjustValues as Nn, incrementRevision as No, setShapeStrokeJoin as Nr, setSlideBackground as Ns, setShapeTextMargins as Nt, getPresentationShapeCountsBySlide as O, _internalPackageOf as Oa, getShapeImageFillBytes as Oi, findShapesInRect as On, setThumbnail as Oo, setShapeStroke as Or, getSlideMasterBackground as Os, setShapeTextAutoFit as Ot, getSlideCount as P, getSlideMediaPartNames as Pa, hasShapeText as Pi, getShapeAltTitle as Pn, setCoreProperties as Po, getShapeRunFormat as Pr, setSlideBackgroundImage as Ps, setShapeTextWrap as Pt, setSlideHidden as Q, getTableCellText as Qa, getAllCharts as Qi, getSlideMasterPartName as Qn, setShapeHyperlink as Qo, isParagraphBulletPicture as Qr, getCommentText as Qs, getShapeStrokeCompound as Qt, getSlideOutline as R, slidesUsingMediaPart as Ra, setShapeImageCrop as Ri, getShapeCustomGeometry as Rn, findSlideLayout as Ro, getParagraphBulletImageBytes as Rr, addSlideComment as Rs, getShapeEffects as Rt, findSlideByText as S, removeSlideNotes as Sa, getShapeImageBiLevelThreshold as Si, getSlidesWithEmptyPlaceholders as Sn, setTableColumnWidth as So, setShapeNoFill as Sr, getSlideLayoutBackground as Ss, getShapeTextMargins as St, findSlidesByText as T, clearSlideTransition as Ta, getShapeImageContrast as Ti, translateShapes as Tn, setTableStyleId as To, setShapePosition as Tr, getSlideLayoutBackgroundPatternFill as Ts, setShapeBullets as Tt, getSlides as U, getTableCell as Ua, getSlideSize as Ui, getShapeName as Un, getSlideLayoutPlaceholders as Uo, getParagraphSpacing as Ur, findCommentsBefore as Us, getShapeGradientFillEffective as Ut, getSlideTextLength as V, getPresentationTableCountsBySlide as Va, SLIDE_SIZE_16_9 as Vi, getShapeId as Vn, getSlideLayoutName as Vo, getParagraphLevel as Vr, findCommentAuthorByName as Vs, setShapeShadow as Vt, getSlidesByLayout as W, getTableCellAlignment as Wa, setSlideSize as Wi, getShapePlaceholderIdx as Wn, getSlideLayoutType as Wo, getShapeHyperlinkTooltip as Wr, findCommentsByAuthor as Ws, getShapeFill as Wt, replaceTokensInPresentation as X, getTableCellPosition as Xa, findSlidesWithChartKind as Xi, getShapeText as Xn, getShapeHyperlink as Xo, getShapeRunHyperlinkTooltip as Xr, getCommentPosition as Xs, getShapeStrokeColor as Xt, replaceTextInSlideNotes as Y, getTableCellParagraphs as Ya, findSlidesByHyperlink as Yi, getShapeSize as Yn, getParagraphPropertiesEffective as Yo, getShapeRunHyperlink as Yr, getCommentDate as Ys, getShapeStrokeCap as Yt, searchSlides as Z, getTableCellSpan as Za, findSlidesWithChartTrendlines as Zi, getSlideMasterCount as Zn, getShapeRunFormatEffective as Zo, getShapeRunText as Zr, getCommentSlide as Zs, getShapeStrokeColorResolved as Zt, sortSlides as _, getSlidesWithNotes as _a, pt as _c, findShapesOutsideCanvas as _i, getShapeSlide as _n, setTableCellFill as _o, setShapeAdjustValues as _r, getSlideBackground as _s, getShapeTextAutoFit as _t, addContentSlide as a, getEmptySlides as aa, removeSlideComment as ac, setShapeRunText as ai, findShapeByText as an, getTableStyleFlags as ao, pointInShape as ar, getPresentationChartCountsBySlide as as, bringShapeForward as at, setSlideSections as b, getVisibleSlides as ba, findSlidesByLayoutType as bi, getSlideLayout as bn, setTableCellTextDirection as bo, setShapeGradientFill as br, getSlideBackgroundPatternFill as bs, getShapeTextColumns as bt, addSlideAt as c, getPresentationNotesLength as ca, setPresentationFonts as cc, setSlideBody as ci, findShapesByKind as cn, insertTableRow as co, setShapeBounds as cr, getShapeChartKind as cs, copyShape as ct, duplicateSlideAt as d, getSlideNotes as da, loadPresentation as dc, clearSlideAnimations as di, findShapesByText as dn, mergeTableCells as do, shapesOverlap as dr, getShapeChartSpec as ds, sendShapeBackward as dt, getAllHyperlinks as ea, getPresentationCommentCountsByAuthor as ec, setParagraphBullet as ei, getShapeStrokeJoin as en, getTableCells as eo, getSlideMasterUsageCounts as er, addSlideChart as es, addSlideImage as et, importSlide as f, getSlideNotesLength as fa, savePresentation as fc, findShapesWithAnimation as fi, findShapesWithHyperlinks as fn, removeTableColumn as fo, clearShapeFill as fr, getSlideCharts as fs, sendShapeToBack as ft, reverseSlides as g, getSlidesWithImages as ga, mm as gc, findOverlappingShapePairs as gi, getShapeIndex as gn, setTableCellBorders as go, getShapeStrokeDash as gr, clearSlideBackground as gs, getShapeTextAnchor as gt, removeSlide as h, getSlidesWithHyperlinks as ha, inches as hc, findFlippedShapes as hi, findSlidePlaceholders as hn, setTableCellAnchor as ho, getShapeStrokeArrow as hr, resolveDeckBodyTextColor as hs, getShapeBodyPrEffective as ht, addBlankSlide as i, getDistinctHyperlinkUrls as ia, getSlideComments as ic, setShapeRunHyperlink as ii, findShapeByName as in, getTableSize as io, isShapeTextBox as ir, findChartsWithTrendlines as is, addSlideTextBox as it, getPresentationTextLengthsBySlide as j, getOrphanMediaPartNames as ja, getShapeImageOpacity as ji, getMaxShapeId as jn, getPresentationCreated as jo, setShapeStrokeCompound as jr, getSlideMasterBackgroundPatternFill as js, setShapeTextDirection as jt, getPresentationText as k, compactPackage as ka, getShapeImageFormat as ki, getGroupChildren as kn, getCoreProperties as ko, setShapeStrokeArrow as kr, getSlideMasterBackgroundGradientFill as ks, setShapeTextBodyRotationDeg as kt, addTitleSlide as l, getPresentationNotesLengthsBySlide as la, setPresentationTheme as lc, setSlidePlaceholders as li, findShapesByName as ln, isChartShape as lo, setShapeDescription as lr, getShapeChartSeriesNames as ls, getShapeZIndex as lt, moveSlide as m, getSlidesWithComments as ma, emu as mc, setShapeAnimation as mi, findSlidePlaceholderByIdx as mn, setTableCellAlignment as mo, getShapePatternFill as mr, getEffectiveColorMap as ms, appendShapeText as mt, groupShapes as n, getAllNotes as na, getPresentationCommenters as nc, setParagraphLineSpacing as ni, findEmptyPlaceholders as nn, getTableDimensions as no, isShapeHidden as nr, findChartsBySeriesName as ns, addSlideShape as nt, addSectionHeaderSlide as o, getHiddenSlides as oa, getPresentationFonts as oc, getSlideBody as oi, findShapeInPresentation as on, getTableStyleId as oo, renameShape as or, getPresentationChartKindCounts as os, bringShapeToFront as ot, mergePresentations as p, getSlidesWithCharts as pa, cm as pc, getShapeAnimation as pi, findSlidePlaceholder as pn, removeTableRow as po, clearShapeStroke as pr, setChartSpec as ps, setShapeZIndex as pt, replaceTextInPresentation as q, getTableCellFill as qa, clearAllSlideNotes as qi, getShapePreset as qn, getSlideLayouts as qo, getShapeRunClickAction as qr, getCommentAuthor as qs, getShapeFillEffective as qt, ungroupShapes as r, getAllTables as ra, getSlideCommentAuthors as rc, setParagraphSpacing as ri, findShapeById as rn, getTableRowHeights as ro, isShapePlaceholder as rr, findChartsWithDataLabels as rs, addSlideTable as rt, addSlide as s, getPresentationHyperlinkCountsBySlide as sa, getPresentationTheme as sc, getSlideTitle as si, findShapesByHyperlink as sn, insertTableColumn as so, setShapeAltTitle as sr, getShapeChartCategories as ss, clearSlideShapes as st, VERSION as t, getAllImages as ta, getPresentationCommentCountsBySlide as tc, setParagraphLevel as ti, getShapeStrokeWidth as tn, getTableColumnWidths as to, getUnusedSlideMasters as tr, findChartByKind as ts, addSlideLine as tt, duplicateSlide as u, getPresentationNotesText as ua, createPresentation as uc, setSlideTitle as ui, findShapesByPreset as un, isTableShape as uo, setShapeHidden as ur, getShapeChartSeriesValues as us, removeShape as ut, swapSlides as v, getSlidesWithOverlap as va, findSlidesByLayoutName as vi, getShapeXmlString as vn, setTableCellMargins as vo, setShapeFill as vr, getSlideBackgroundGradientFill as vs, getShapeTextAutoFitParams as vt, findSlidesByNotes as w, setSlideNotes as wa, getShapeImageBytes as wi, setSlideLayout as wn, setTableStyleFlags as wo, setShapePatternFill as wr, getSlideLayoutBackgroundImageBytes as ws, setShapeAlignment as wt, findSlideByPartName as x, hasSlideNotes as xa, getPresentationImageCountsBySlide as xi, getSlideShapes as xn, setTableCellTextFormat as xo, setShapeImageFill as xr, getSlideColorMapOverride as xs, getShapeTextDirection as xt, getSlideSections as y, getSlidesWithTables as ya, findSlidesByLayoutPartName as yi, getShapesBounds as yn, setTableCellText as yo, setShapeFlip as yr, getSlideBackgroundImageBytes as ys, getShapeTextBodyRotationDeg as yt, getSlidePartName as z, validatePresentation as za, setShapeImageOpacity as zi, getShapeDescription as zn, findSlideLayoutByPartName as zo, getParagraphBulletStyle as zr, clearAllSlideComments as zs, getShapeEffectsEffective as zt };
17005
+ export { slideHasAnimations as $, getTableCellPosition as $a, findSlidesWithChartKind as $i, getSlideMasterCount as $n, getShapeHyperlink as $o, getShapeRunHyperlinkTooltip as $r, getCommentPosition as $s, getShapeStrokeCompound as $t, getPresentationTextLength as A, setSlideTransition as Aa, getShapeImageDuotone as Ai, findShapesInRect as An, removeThumbnail as Ao, setShapeStroke as Ar, getSlideLayoutShapes as As, setShapeTextColumns as At, getSlideText as B, setMediaPartBytes as Ba, setShapeImageContrast as Bi, getShapeCustomGeometry as Bn, findLayoutsWithPlaceholderType as Bo, getParagraphBullet as Br, setShapeImage as Bs, setShapeGlow as Bt, findSlideByTitle as C, getVisibleSlides as Ca, findSlidesByLayoutType as Ci, getSlideShapes as Cn, setTableCellTextDirection as Co, setShapeImageFill as Cr, getSlideBackgroundPatternFill as Cs, getShapeTextWrap as Ct, getOutlineText as D, setSlideNotes as Da, getShapeImageBytes as Di, translateShapes as Dn, setTableStyleFlags as Do, setShapePosition as Dr, getSlideLayoutBackgroundImageBytes as Ds, setShapeTextAnchor as Dt, getAllShapes as E, replaceHyperlink as Ea, getShapeImageBrightness as Ei, setSlideLayout as En, setTableRowHeight as Eo, setShapePatternFill as Er, getSlideLayoutBackgroundGradientFill as Es, setShapeText as Et, getSlideIndex as F, getPackageSize as Fa, getShapeImagePartName as Fi, getShapeAdjustValues as Fn, getPresentationModified as Fo, setShapeStrokeJoin as Fr, getSlideMasterShapes as Fs, clearShapeEffects as Ft, isSlideHidden as G, getSlideTables as Ga, SLIDE_SIZE_4_3 as Gi, getShapeName as Gn, getSlideLayoutPartName as Go, getParagraphLineSpacing as Gr, findCommentsAfter as Gs, getShapeFillColor as Gt, getSlideXmlString as H, validatePresentation as Ha, setShapeImageOpacity as Hi, getShapeFlip as Hn, findSlideLayoutByPartName as Ho, getParagraphBulletStyle as Hr, clearAllSlideComments as Hs, getShapeGradientFill as Ht, getSlideInfo as I, getPresentationSummary as Ia, hasShapeImage as Ii, getShapeAltTitle as In, incrementRevision as Io, getShapeRunFormat as Ir, setSlideBackground as Is, findShapesByEffect as It, replaceTextInSlide as J, getTableCellAnchor as Ja, appendSlideNotes as Ji, getShapePosition as Jn, getSlideLayoutUsageCounts as Jo, getShapeParagraphCount as Jr, findCommentsByText as Js, getShapeFillOpacity as Jt, replaceTextInNotes as K, getTableCell as Ka, getSlideSize as Ki, getShapePlaceholderIdx as Kn, getSlideLayoutPlaceholders as Ko, getParagraphSpacing as Kr, findCommentsBefore as Ks, getShapeFillColorResolved as Kt, getSlideLayoutCount as L, getSlideMediaPartNames as La, hasShapeText as Li, getShapeBounds as Ln, setCoreProperties as Lo, resolveDrawingColor as Lr, setSlideBackgroundImage as Ls, getShapeEffect as Lt, getShapeAt as M, compactPackage as Ma, getShapeImageFormat as Mi, getGroupTransform as Mn, getCoreProperties as Mo, setShapeStrokeCap as Mr, getSlideMasterBackgroundGradientFill as Ms, setShapeTextFormat as Mt, getSlideAt as N, getMediaParts as Na, getShapeImageLinkUrl as Ni, getMaxShapeId as Nn, getExtendedProperties as No, setShapeStrokeCompound as Nr, getSlideMasterBackgroundImageBytes as Ns, setShapeTextMargins as Nt, getPresentationShapeCountsBySlide as O, clearSlideTransition as Oa, getShapeImageContrast as Oi, centerShapeOnSlide as On, setTableStyleId as Oo, setShapeRotation as Or, getSlideLayoutBackgroundPatternFill as Os, setShapeTextAutoFit as Ot, getSlideCount as P, getOrphanMediaPartNames as Pa, getShapeImageOpacity as Pi, getMaxShapeIdInPresentation as Pn, getPresentationCreated as Po, setShapeStrokeDash as Pr, getSlideMasterBackgroundPatternFill as Ps, setShapeTextWrap as Pt, setSlideHidden as Q, getTableCellParagraphs as Qa, findSlidesByHyperlink as Qi, getShapeText as Qn, getParagraphPropertiesEffective as Qo, getShapeRunHyperlink as Qr, getCommentDate as Qs, getShapeStrokeColorResolved as Qt, getSlideOutline as R, listPackageParts as Ra, isShapeImageGrayscale as Ri, getShapeBoundsResolved as Rn, setExtendedProperties as Ro, resolveDrawingColorOpacity as Rr, getShapeClickAction as Rs, getShapeEffects as Rt, findSlideByText as S, getSlidesWithTables as Sa, findSlidesByLayoutPartName as Si, getSlideLayout as Sn, setTableCellText as So, setShapeGradientFill as Sr, getSlideBackgroundImageBytes as Ss, getShapeTextMargins as St, findSlidesByText as T, removeSlideNotes as Ta, getShapeImageBiLevelThreshold as Ti, replaceTokensInSlide as Tn, setTableColumnWidth as To, setShapeNoStroke as Tr, getSlideLayoutBackground as Ts, setShapeBullets as Tt, getSlides as U, clearTableCellFill as Ua, SLIDE_SIZE_16_10 as Ui, getShapeId as Un, findSlideLayoutByType as Uo, getParagraphIndent as Ur, clearSlideComments as Us, getShapeGradientFillEffective as Ut, getSlideTextLength as V, slidesUsingMediaPart as Va, setShapeImageCrop as Vi, getShapeDescription as Vn, findSlideLayout as Vo, getParagraphBulletImageBytes as Vr, addSlideComment as Vs, setShapeShadow as Vt, getSlidesByLayout as W, getPresentationTableCountsBySlide as Wa, SLIDE_SIZE_16_9 as Wi, getShapeKind as Wn, getSlideLayoutName as Wo, getParagraphLevel as Wr, findCommentAuthorByName as Ws, getShapeFill as Wt, replaceTokensInPresentation as X, getTableCellFill as Xa, clearAllSlideNotes as Xi, getShapeRotation as Xn, getSlideLayouts as Xo, getShapeRunClickAction as Xr, getCommentAuthor as Xs, getShapeStrokeCap as Xt, replaceTextInSlideNotes as Y, getTableCellBorders as Ya, clearAllHyperlinks as Yi, getShapePreset as Yn, getSlideLayoutUsageCountsByType as Yo, getShapeParagraphElements as Yr, findSlidesWithCommentsByAuthor as Ys, getShapeStroke as Yt, searchSlides as Z, getTableCellMargins as Za, clearSlideHyperlinks as Zi, getShapeSize as Zn, getUnusedSlideLayouts as Zo, getShapeRunCount as Zr, getCommentAuthors as Zs, getShapeStrokeColor as Zt, sortSlides as _, getSlidesWithComments as _a, emu as _c, setShapeAnimation as _i, findSlidePlaceholders as _n, setTableCellAlignment as _o, getShapeStrokeArrow as _r, getEffectiveColorMap as _s, getShapeTextAutoFit as _t, addContentSlide as a, getAllNotes as aa, getPresentationCommenters as ac, setParagraphLineSpacing as ai, findShapeById as an, getTableDimensions as ao, isShapePlaceholder as ar, findChartsBySeriesName as as, bringShapeForward as at, setSlideSections as b, getSlidesWithNotes as ba, pt as bc, findShapesOutsideCanvas as bi, getShapeXmlString as bn, setTableCellFill as bo, setShapeFill as br, getSlideBackground as bs, getShapeTextColumns as bt, addSlideAt as c, getEmptySlides as ca, removeSlideComment as cc, setShapeRunText as ci, findShapeInPresentation as cn, getTableStyleFlags as co, renameShape as cr, getPresentationChartCountsBySlide as cs, copyShape as ct, duplicateSlideAt as d, getPresentationNotesLength as da, setPresentationFonts as dc, setSlideBody as di, findShapesByName as dn, insertTableRow as do, setShapeDescription as dr, getShapeChartKind as ds, sendShapeBackward as dt, findSlidesWithChartTrendlines as ea, getCommentSlide as ec, getShapeRunText as ei, getShapeStrokeEffective as en, getTableCellSpan as eo, getSlideMasterPartName as er, getShapeRunFormatEffective as es, addSlideImage as et, importSlide as f, getPresentationNotesLengthsBySlide as fa, setPresentationTheme as fc, setSlidePlaceholders as fi, findShapesByPreset as fn, isChartShape as fo, setShapeHidden as fr, getShapeChartSeriesNames as fs, sendShapeToBack as ft, reverseSlides as g, getSlidesWithCharts as ga, cm as gc, getShapeAnimation as gi, findSlidePlaceholderByIdx as gn, removeTableRow as go, getShapePatternFill as gr, setChartSpec as gs, getShapeTextAnchor as gt, removeSlide as h, getSlideNotesLength as ha, savePresentation as hc, findShapesWithAnimation as hi, findSlidePlaceholder as hn, removeTableColumn as ho, clearShapeStroke as hr, getSlideCharts as hs, getShapeBodyPrEffective as ht, addBlankSlide as i, getAllImages as ia, getPresentationCommentCountsBySlide as ic, setParagraphLevel as ii, findEmptyPlaceholders as in, getTableColumnWidths as io, isShapeHidden as ir, findChartByKind as is, addSlideTextBox as it, getPresentationTextLengthsBySlide as j, _internalPackageOf as ja, getShapeImageFillBytes as ji, getGroupChildren as jn, setThumbnail as jo, setShapeStrokeArrow as jr, getSlideMasterBackground as js, setShapeTextDirection as jt, getPresentationText as k, getSlideTransition as ka, getShapeImageCrop as ki, findShapesAtPoint as kn, getThumbnail as ko, setShapeSize as kr, getSlideLayoutBackgroundShapes as ks, setShapeTextBodyRotationDeg as kt, addTitleSlide as l, getHiddenSlides as la, getPresentationFonts as lc, getSlideBody as li, findShapesByHyperlink as ln, getTableStyleId as lo, setShapeAltTitle as lr, getPresentationChartKindCounts as ls, getShapeZIndex as lt, moveSlide as m, getSlideNotes as ma, loadPresentation as mc, clearSlideAnimations as mi, findShapesWithHyperlinks as mn, mergeTableCells as mo, clearShapeFill as mr, getShapeChartSpec as ms, appendShapeText as mt, groupShapes as n, getAllComments as na, getCommentsSortedByDate as nc, setParagraphAlignment as ni, getShapeStrokeOpacity as nn, getTableCellTextDirection as no, getSlideMasterUsageCounts as nr, setShapeRunFormat as ns, addSlideShape as nt, addSectionHeaderSlide as o, getAllTables as oa, getSlideCommentAuthors as oc, setParagraphSpacing as oi, findShapeByName as on, getTableRowHeights as oo, isShapeTextBox as or, findChartsWithDataLabels as os, bringShapeToFront as ot, mergePresentations as p, getPresentationNotesText as pa, createPresentation as pc, setSlideTitle as pi, findShapesByText as pn, isTableShape as po, shapesOverlap as pr, getShapeChartSeriesValues as ps, setShapeZIndex as pt, replaceTextInPresentation as q, getTableCellAlignment as qa, setSlideSize as qi, getShapePlaceholderType as qn, getSlideLayoutType as qo, getShapeHyperlinkTooltip as qr, findCommentsByAuthor as qs, getShapeFillEffective as qt, ungroupShapes as r, getAllHyperlinks as ra, getPresentationCommentCountsByAuthor as rc, setParagraphBullet as ri, getShapeStrokeWidth as rn, getTableCells as ro, getUnusedSlideMasters as rr, addSlideChart as rs, addSlideTable as rt, addSlide as s, getDistinctHyperlinkUrls as sa, getSlideComments as sc, setShapeRunHyperlink as si, findShapeByText as sn, getTableSize as so, pointInShape as sr, findChartsWithTrendlines as ss, clearSlideShapes as st, VERSION as t, getAllCharts as ta, getCommentText as tc, isParagraphBulletPicture as ti, getShapeStrokeJoin as tn, getTableCellText as to, getSlideMasterPartNames as tr, setShapeHyperlink as ts, addSlideLine as tt, duplicateSlide as u, getPresentationHyperlinkCountsBySlide as ua, getPresentationTheme as uc, getSlideTitle as ui, findShapesByKind as un, insertTableColumn as uo, setShapeBounds as ur, getShapeChartCategories as us, removeShape as ut, swapSlides as v, getSlidesWithHyperlinks as va, inches as vc, findFlippedShapes as vi, getShapeIndex as vn, setTableCellAnchor as vo, getShapeStrokeDash as vr, resolveDeckBodyTextColor as vs, getShapeTextAutoFitParams as vt, findSlidesByNotes as w, hasSlideNotes as wa, getPresentationImageCountsBySlide as wi, getSlidesWithEmptyPlaceholders as wn, setTableCellTextFormat as wo, setShapeNoFill as wr, getSlideColorMapOverride as ws, setShapeAlignment as wt, findSlideByPartName as x, getSlidesWithOverlap as xa, findSlidesByLayoutName as xi, getShapesBounds as xn, setTableCellMargins as xo, setShapeFlip as xr, getSlideBackgroundGradientFill as xs, getShapeTextDirection as xt, getSlideSections as y, getSlidesWithImages as ya, mm as yc, findOverlappingShapePairs as yi, getShapeSlide as yn, setTableCellBorders as yo, setShapeAdjustValues as yr, clearSlideBackground as ys, getShapeTextBodyRotationDeg as yt, getSlidePartName as z, readPackagePart as za, setShapeImageBrightness as zi, getShapeCenter as zn, touchModified as zo, getParagraphAlignment as zr, setShapeClickAction as zs, getShapeEffectsEffective as zt };
16964
17006
 
16965
- //# sourceMappingURL=api-CJkBUILx.js.map
17007
+ //# sourceMappingURL=api-BfZ3bkVf.js.map