@office-kit/pptx 0.18.2 → 0.18.4
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 +18 -0
- package/dist/{api-CXMliYZu.js → api-DTzymnGv.js} +57 -13
- package/dist/api-DTzymnGv.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/node.js +1 -1
- package/package.json +1 -1
- package/dist/api-CXMliYZu.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @office-kit/pptx
|
|
2
2
|
|
|
3
|
+
## 0.18.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 7b15e41: fix: removing or replacing a link left its relationship behind on the slide
|
|
8
|
+
|
|
9
|
+
`setShapeClickAction(shape, null)`, `setShapeHyperlink(shape, null)` and `setShapeRunHyperlink(…, null)` deleted the `<a:hlinkClick>` but kept the `hyperlink` / `slide` relationship it pointed at, and replacing a link added a second one beside the first. The orphan stayed in `_rels`, so the URL remained in the saved file and a slide jump kept its target slide alive as a dependency: after removing that target, `duplicateSlide` failed with `Cannot duplicate missing dependency /ppt/slides/slideN.xml`.
|
|
10
|
+
|
|
11
|
+
Each of the three setters now releases a link relationship once nothing on the slide points at it. A relationship other runs still use is kept, and relationships of every other type are untouched.
|
|
12
|
+
|
|
13
|
+
## 0.18.3
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- 9b8f8a0: Reduce preview latency on large TSX decks by avoiding repeated parsing of existing slides, themes and relationships. Keep existing slide handles live when appending or duplicating slides.
|
|
18
|
+
|
|
19
|
+
Verify builds when an embedded agent finishes and return failures to Claude Code or Codex for up to three automatic repair attempts. Support Shift+Enter in the Claude terminal and provide native TSX agenda examples and foreground/background contrast guidance.
|
|
20
|
+
|
|
3
21
|
## 0.18.2
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -1141,6 +1141,15 @@ const TEXT_DECODER$1 = new TextDecoder();
|
|
|
1141
1141
|
const TEXT_ENCODER$3 = new TextEncoder();
|
|
1142
1142
|
const decode$2 = (b) => TEXT_DECODER$1.decode(b);
|
|
1143
1143
|
const encode$3 = (s) => TEXT_ENCODER$3.encode(s);
|
|
1144
|
+
const parsedRels = /* @__PURE__ */ new WeakMap();
|
|
1145
|
+
const readRels = (bytes) => {
|
|
1146
|
+
let rels = parsedRels.get(bytes);
|
|
1147
|
+
if (!rels) {
|
|
1148
|
+
rels = parseRels(decode$2(bytes));
|
|
1149
|
+
parsedRels.set(bytes, rels);
|
|
1150
|
+
}
|
|
1151
|
+
return { items: rels.items.map((item) => ({ ...item })) };
|
|
1152
|
+
};
|
|
1144
1153
|
const CONTENT_TYPES_PART = "[Content_Types].xml";
|
|
1145
1154
|
/**
|
|
1146
1155
|
* In-memory model of an OPC package. Construct via `OpcPackage.load(bytes)`
|
|
@@ -1271,7 +1280,7 @@ var OpcPackage = class OpcPackage {
|
|
|
1271
1280
|
const relsName = relsPartNameFor(forPart);
|
|
1272
1281
|
const part = this.getPart(relsName);
|
|
1273
1282
|
if (part === null) return null;
|
|
1274
|
-
return
|
|
1283
|
+
return readRels(part.data);
|
|
1275
1284
|
}
|
|
1276
1285
|
/**
|
|
1277
1286
|
* Writes relationships for the given part. Creates the sibling `.rels`
|
|
@@ -1297,7 +1306,7 @@ var OpcPackage = class OpcPackage {
|
|
|
1297
1306
|
rootRels() {
|
|
1298
1307
|
const part = this.getPart(partName("/_rels/.rels"));
|
|
1299
1308
|
if (part === null) return null;
|
|
1300
|
-
return
|
|
1309
|
+
return readRels(part.data);
|
|
1301
1310
|
}
|
|
1302
1311
|
/** Convenience: write package-root relationships. */
|
|
1303
1312
|
setRootRels(rels) {
|
|
@@ -4967,6 +4976,20 @@ const commitAndRefresh = (shape) => {
|
|
|
4967
4976
|
commitSlideData(shape[SHAPE_SLIDE]);
|
|
4968
4977
|
refreshSlideData(shape[SHAPE_SLIDE]);
|
|
4969
4978
|
};
|
|
4979
|
+
const LINK_REL_TYPES = new Set([REL_TYPES.hyperlink, REL_TYPES.slide]);
|
|
4980
|
+
/** Drops the slide's link rels that no element references any more. */
|
|
4981
|
+
const releaseUnusedLinkRels = (slide) => {
|
|
4982
|
+
const pkg = slide[INTERNAL_PACKAGE];
|
|
4983
|
+
const rels = pkg.getRels(slide[SLIDE_PART_NAME]);
|
|
4984
|
+
if (rels === null) return;
|
|
4985
|
+
const referenced = /* @__PURE__ */ new Set();
|
|
4986
|
+
walkElements(slide[SLIDE_DOCUMENT].root, (element) => {
|
|
4987
|
+
for (const a of element.attrs) if (a.name.namespaceURI === NS.officeDocRels) referenced.add(a.value);
|
|
4988
|
+
});
|
|
4989
|
+
const kept = rels.items.filter((rel) => !LINK_REL_TYPES.has(rel.type) || referenced.has(rel.id));
|
|
4990
|
+
if (kept.length === rels.items.length) return;
|
|
4991
|
+
pkg.setRels(slide[SLIDE_PART_NAME], { items: kept });
|
|
4992
|
+
};
|
|
4970
4993
|
const requireSpTree = (slide) => {
|
|
4971
4994
|
const cSld = firstChildElement(slide[SLIDE_DOCUMENT].root, NAME_CSLD);
|
|
4972
4995
|
if (!cSld) throw new Error("slide has no <p:cSld>");
|
|
@@ -5047,6 +5070,15 @@ const readSchemeSlot = (parent, local) => {
|
|
|
5047
5070
|
* will land if a concrete user need shows up.
|
|
5048
5071
|
*/
|
|
5049
5072
|
const getPresentationTheme = (pres) => themeFromPackage(pres[INTERNAL_PACKAGE]);
|
|
5073
|
+
const readRoots = /* @__PURE__ */ new WeakMap();
|
|
5074
|
+
const readRoot = (bytes) => {
|
|
5075
|
+
let root = readRoots.get(bytes);
|
|
5076
|
+
if (!root) {
|
|
5077
|
+
root = parseXml(decode$1(bytes)).root;
|
|
5078
|
+
readRoots.set(bytes, root);
|
|
5079
|
+
}
|
|
5080
|
+
return root;
|
|
5081
|
+
};
|
|
5050
5082
|
const resolveRelTarget = (from, target) => target.startsWith("/") ? partName(target) : resolveTarget(from, target);
|
|
5051
5083
|
/** The theme part `from` relates to, or `null` when it has no theme rel. */
|
|
5052
5084
|
const themePartRelatedTo = (pkg, from) => {
|
|
@@ -5060,7 +5092,7 @@ const firstSlideMasterPartName = (pkg) => {
|
|
|
5060
5092
|
const presPart = pkg.getPart(PRES_PART_NAME);
|
|
5061
5093
|
const presRels = pkg.getRels(PRES_PART_NAME);
|
|
5062
5094
|
if (presPart === null || presRels === null) return null;
|
|
5063
|
-
const firstId = firstChildElement(
|
|
5095
|
+
const firstId = firstChildElement(readRoot(presPart.data), NAME_SLD_MASTER_ID_LST)?.children.find((c) => c.kind === "element");
|
|
5064
5096
|
const rId = firstId?.kind === "element" ? getAttrValue(firstId, ATTR_R_ID$1) : null;
|
|
5065
5097
|
const rel = presRels.items.find((r) => r.type === REL_TYPES.slideMaster && (rId === null || r.id === rId)) ?? presRels.items.find((r) => r.type === REL_TYPES.slideMaster);
|
|
5066
5098
|
return rel ? resolveRelTarget(PRES_PART_NAME, rel.target) : null;
|
|
@@ -5090,8 +5122,7 @@ const deckThemePart = (pkg) => {
|
|
|
5090
5122
|
const themeFromPackage = (pkg) => {
|
|
5091
5123
|
const themePart = deckThemePart(pkg);
|
|
5092
5124
|
if (!themePart) return null;
|
|
5093
|
-
const
|
|
5094
|
-
const themeElements = firstChildElement(root, NAME_THEME_ELEMENTS);
|
|
5125
|
+
const themeElements = firstChildElement(readRoot(themePart.data), NAME_THEME_ELEMENTS);
|
|
5095
5126
|
if (!themeElements) return null;
|
|
5096
5127
|
const clrScheme = firstChildElement(themeElements, NAME_CLR_SCHEME);
|
|
5097
5128
|
if (!clrScheme) return null;
|
|
@@ -5128,8 +5159,7 @@ const getPresentationFonts = (pres) => {
|
|
|
5128
5159
|
const pkg = pres[INTERNAL_PACKAGE];
|
|
5129
5160
|
const themePart = deckThemePart(pkg);
|
|
5130
5161
|
if (!themePart) return null;
|
|
5131
|
-
const
|
|
5132
|
-
const themeElements = firstChildElement(root, NAME_THEME_ELEMENTS);
|
|
5162
|
+
const themeElements = firstChildElement(readRoot(themePart.data), NAME_THEME_ELEMENTS);
|
|
5133
5163
|
if (!themeElements) return null;
|
|
5134
5164
|
const fontScheme = firstChildElement(themeElements, qname("a", "fontScheme", NS.dml));
|
|
5135
5165
|
if (!fontScheme) return null;
|
|
@@ -5773,6 +5803,7 @@ const setShapeClickAction = (shape, action) => {
|
|
|
5773
5803
|
removeExistingHlinkClick(cNvPr);
|
|
5774
5804
|
if (action === null) {
|
|
5775
5805
|
commitAndRefresh(shape);
|
|
5806
|
+
releaseUnusedLinkRels(shape[SHAPE_SLIDE]);
|
|
5776
5807
|
return;
|
|
5777
5808
|
}
|
|
5778
5809
|
const slide = shape[SHAPE_SLIDE];
|
|
@@ -5836,6 +5867,7 @@ const setShapeClickAction = (shape, action) => {
|
|
|
5836
5867
|
if (actionAttr !== null) attrs.push(attr(qname("", "action", ""), actionAttr));
|
|
5837
5868
|
cNvPr.children.push(elem(NAME_HLINK_CLICK_FN, { attrs }));
|
|
5838
5869
|
commitAndRefresh(shape);
|
|
5870
|
+
releaseUnusedLinkRels(slide);
|
|
5839
5871
|
};
|
|
5840
5872
|
//#endregion
|
|
5841
5873
|
//#region src/internal/chartml/enum-validation.ts
|
|
@@ -10665,6 +10697,7 @@ const setShapeHyperlink = (shape, url, tooltip) => {
|
|
|
10665
10697
|
})(), tooltip);
|
|
10666
10698
|
}
|
|
10667
10699
|
commitAndRefresh(shape);
|
|
10700
|
+
releaseUnusedLinkRels(slide);
|
|
10668
10701
|
};
|
|
10669
10702
|
//#endregion
|
|
10670
10703
|
//#region src/api/fn/layouts.ts
|
|
@@ -14304,6 +14337,7 @@ const setShapeRunHyperlink = (shape, paragraphIndex, runIndex, url, tooltip) =>
|
|
|
14304
14337
|
rPr.children.push(elem(qname("a", "hlinkClick", NS.dml), { attrs: hlinkAttrs }));
|
|
14305
14338
|
}
|
|
14306
14339
|
commitAndRefresh(shape);
|
|
14340
|
+
releaseUnusedLinkRels(shape[SHAPE_SLIDE]);
|
|
14307
14341
|
};
|
|
14308
14342
|
/**
|
|
14309
14343
|
* Reads the external URL on a single run's `<a:hlinkClick>`. Per-run
|
|
@@ -18100,8 +18134,9 @@ const getSlides = (pres) => {
|
|
|
18100
18134
|
const presRoot = parseXml(decode$1(presPart.data)).root;
|
|
18101
18135
|
const presModel = readPresentationPart(presRoot);
|
|
18102
18136
|
const out = [];
|
|
18137
|
+
const relsById = new Map(presRels.items.map((rel) => [rel.id, rel]));
|
|
18103
18138
|
for (const sld of presModel.slides) {
|
|
18104
|
-
const rel =
|
|
18139
|
+
const rel = relsById.get(sld.rId);
|
|
18105
18140
|
if (!rel) throw new Error(`presentation.xml.rels missing entry for ${sld.rId}`);
|
|
18106
18141
|
const target = rel.target;
|
|
18107
18142
|
const slideName = partName(target.startsWith("/") ? target : `/ppt/${target}`);
|
|
@@ -18843,7 +18878,11 @@ const addSlide = (pres, options) => {
|
|
|
18843
18878
|
pkg.setRels(PRES_PART_NAME, presRels);
|
|
18844
18879
|
sldIdLst.children.push(elem(NAME_SLD_ID$1, { attrs: [attr(ATTR_ID$2, String(newSldId)), attr(ATTR_R_ID$1, newRId)] }));
|
|
18845
18880
|
presPart.data = encode$1(serializeXml(presDoc));
|
|
18846
|
-
pres._slidesCache
|
|
18881
|
+
if (pres._slidesCache !== null) {
|
|
18882
|
+
const added = buildSlideData(pkg, newSlidePartName, slideBytes);
|
|
18883
|
+
pres._slidesCache = [...pres._slidesCache, added];
|
|
18884
|
+
return added;
|
|
18885
|
+
}
|
|
18847
18886
|
const slides = getSlides(pres);
|
|
18848
18887
|
const last = slides[slides.length - 1];
|
|
18849
18888
|
if (!last) throw new Error("addSlide: post-condition failed; slide not in cache");
|
|
@@ -18999,7 +19038,8 @@ const duplicateSlide = (pres, slide) => {
|
|
|
18999
19038
|
const sldIdLst = ensureSldIdLst(presDoc.root);
|
|
19000
19039
|
const newSldId = allocateSldId(sldIdLst);
|
|
19001
19040
|
const slideN = allocateSlideN(pkg);
|
|
19002
|
-
|
|
19041
|
+
const newSlidePartName = partName(`/ppt/slides/slide${slideN}.xml`);
|
|
19042
|
+
duplicatePartGraph(pkg, sourcePartName, newSlidePartName, new Set([
|
|
19003
19043
|
REL_TYPES.slideLayout,
|
|
19004
19044
|
REL_TYPES.slideMaster,
|
|
19005
19045
|
REL_TYPES.notesMaster,
|
|
@@ -19022,7 +19062,11 @@ const duplicateSlide = (pres, slide) => {
|
|
|
19022
19062
|
pkg.setRels(PRES_PART_NAME, presRels);
|
|
19023
19063
|
sldIdLst.children.push(elem(NAME_SLD_ID$1, { attrs: [attr(ATTR_ID$2, String(newSldId)), attr(ATTR_R_ID$1, newRId)] }));
|
|
19024
19064
|
presPart.data = encode$1(serializeXml(presDoc));
|
|
19025
|
-
pres._slidesCache
|
|
19065
|
+
if (pres._slidesCache !== null) {
|
|
19066
|
+
const added = buildSlideData(pkg, newSlidePartName, pkg.getPart(newSlidePartName).data);
|
|
19067
|
+
pres._slidesCache = [...pres._slidesCache, added];
|
|
19068
|
+
return added;
|
|
19069
|
+
}
|
|
19026
19070
|
const slides = getSlides(pres);
|
|
19027
19071
|
const dup = slides[slides.length - 1];
|
|
19028
19072
|
if (!dup) throw new Error("duplicateSlide: post-condition failed");
|
|
@@ -19520,8 +19564,8 @@ const getShapeMedia = (shape) => {
|
|
|
19520
19564
|
const findShapesWithMedia = (slide) => slide[SLIDE_SHAPES].filter((shape) => getShapeMedia(shape) !== null);
|
|
19521
19565
|
//#endregion
|
|
19522
19566
|
//#region src/api/index.ts
|
|
19523
|
-
const VERSION = "0.18.
|
|
19567
|
+
const VERSION = "0.18.4";
|
|
19524
19568
|
//#endregion
|
|
19525
19569
|
export { replaceTokensInPresentation as $, getTableCellAnchor as $a, appendSlideNotes as $i, getShapePreset as $n, getSlideLayoutType as $o, getShapeParagraphCount as $r, findCommentsByAuthor as $s, getShapeStroke as $t, getOutlineText as A, removeSlideNotes as Aa, getShapeImageBiLevelThreshold as Ai, setSlideLayout as An, setTableCellTextFormat as Ao, setShapePatternFill as Ar, getSlideColorMapOverride as As, setShapeText as At, getSlideLayoutCount as B, getPackageSize as Ba, getShapeImagePartName as Bi, getShapeAltTitle as Bn, getPresentationCreated as Bo, getShapeRunFormat as Br, getSlideMasterBackgroundPatternFill as Bs, findShapesByEffect as Bt, setSlideSections as C, getSlidesWithHyperlinks as Ca, emu as Cc, findFlippedShapes as Ci, getShapeSlide as Cn, setTableCellAnchor as Co, setShapeAdjustValues as Cr, getEffectiveColorMap as Cs, getShapeTextColumns as Ct, findSlidesByNotes as D, getSlidesWithTables as Da, findSlidesByLayoutPartName as Di, getSlideShapes as Dn, setTableCellParagraphs as Do, setShapeImageFill as Dr, getSlideBackgroundGradientFill as Ds, setShapeAlignment as Dt, findSlideByTitle as E, getSlidesWithOverlap as Ea, pt as Ec, findSlidesByLayoutName as Ei, getSlideLayout as En, setTableCellMargins as Eo, setShapeGradientFill as Er, getSlideBackground as Es, getShapeTextWrap as Et, getShapeAt as F, setSlideTransition as Fa, getShapeImageDuotone as Fi, getGroupChildren as Fn, getThumbnail as Fo, setShapeStrokeArrow as Fr, getSlideLayoutBackgroundShapes as Fs, setShapeTextDirection as Ft, getSlideXmlString as G, setMediaPartBytes as Ga, setShapeImageContrast as Gi, getShapeDescription as Gn, touchModified as Go, getParagraphBulletImageBytes as Gr, setShapeClickAction as Gs, setShapeShadow as Gt, getSlidePartName as H, getSlideMediaPartNames as Ha, hasShapeText as Hi, getShapeBoundsResolved as Hn, incrementRevision as Ho, resolveDrawingColorOpacity as Hr, setSlideBackground as Hs, getShapeEffects as Ht, getSlideAt as I, _internalPackageOf as Ia, getShapeImageFillBytes as Ii, getGroupTransform as In, removeThumbnail as Io, setShapeStrokeCap as Ir, getSlideLayoutShapes as Is, setShapeTextFormat as It, isSlideHidden as J, clearTableCellFill as Ja, SLIDE_SIZE_16_10 as Ji, getShapeKind as Jn, findSlideLayoutByPartName as Jo, getParagraphIndent as Jr, clearAllSlideComments as Js, getShapeFill as Jt, getSlides as K, slidesUsingMediaPart as Ka, setShapeImageCrop as Ki, getShapeFlip as Kn, findLayoutsWithPlaceholderType as Ko, getParagraphBulletStyle as Kr, setShapeImage as Ks, getShapeGradientFill as Kt, getSlideCount as L, compactPackage as La, getShapeImageFormat as Li, getMaxShapeId as Ln, setThumbnail as Lo, setShapeStrokeCompound as Lr, getSlideMasterBackground as Ls, setShapeTextMargins as Lt, getPresentationText as M, setSlideNotes as Ma, getShapeImageBytes as Mi, centerShapeOnSlide as Mn, setTableRowHeight as Mo, setShapeRotation as Mr, getSlideLayoutBackgroundGradientFill as Ms, setShapeTextAutoFit as Mt, getPresentationTextLength as N, clearSlideTransition as Na, getShapeImageContrast as Ni, findShapesAtPoint as Nn, setTableStyleFlags as No, setShapeSize as Nr, getSlideLayoutBackgroundImageBytes as Ns, setShapeTextBodyRotationDeg as Nt, findSlidesByText as O, getVisibleSlides as Oa, findSlidesByLayoutType as Oi, getSlidesWithEmptyPlaceholders as On, setTableCellText as Oo, setShapeNoFill as Or, getSlideBackgroundImageBytes as Os, setShapeBullets as Ot, getPresentationTextLengthsBySlide as P, getSlideTransition as Pa, getShapeImageCrop as Pi, findShapesInRect as Pn, setTableStyleId as Po, setShapeStroke as Pr, getSlideLayoutBackgroundPatternFill as Ps, setShapeTextColumns as Pt, replaceTextInSlideNotes as Q, getTableCellAlignment as Qa, setSlideSize as Qi, getShapePosition as Qn, getSlideLayoutPlaceholders as Qo, getShapeHyperlinkTooltip as Qr, findCommentsBefore as Qs, getShapeFillOpacity as Qt, getSlideIndex as R, getMediaParts as Ra, getShapeImageLinkUrl as Ri, getMaxShapeIdInPresentation as Rn, getCoreProperties as Ro, setShapeStrokeDash as Rr, getSlideMasterBackgroundGradientFill as Rs, setShapeTextWrap as Rt, getSlideSections as S, getSlidesWithComments as Sa, cm as Sc, setShapeAnimation as Si, getShapeIndex as Sn, setTableCellAlignment as So, getShapeStrokeDash as Sr, setChartSpec as Ss, getShapeTextBodyRotationDeg as St, findSlideByText as T, getSlidesWithNotes as Ta, mm as Tc, findShapesOutsideCanvas as Ti, getShapesBounds as Tn, setTableCellFill as To, setShapeFlip as Tr, clearSlideBackground as Ts, getShapeTextMargins as Tt, getSlideText as U, listPackageParts as Ua, isShapeImageGrayscale as Ui, getShapeCenter as Un, setCoreProperties as Uo, getParagraphAlignment as Ur, setSlideBackgroundImage as Us, getShapeEffectsEffective as Ut, getSlideOutline as V, getPresentationSummary as Va, hasShapeImage as Vi, getShapeBounds as Vn, getPresentationModified as Vo, resolveDrawingColor as Vr, getSlideMasterShapes as Vs, getShapeEffect as Vt, getSlideTextLength as W, readPackagePart as Wa, setShapeImageBrightness as Wi, getShapeCustomGeometry as Wn, setExtendedProperties as Wo, getParagraphBullet as Wr, getShapeClickAction as Ws, setShapeGlow as Wt, replaceTextInPresentation as X, getSlideTables as Xa, SLIDE_SIZE_4_3 as Xi, getShapePlaceholderIdx as Xn, getSlideLayoutName as Xo, getParagraphLineSpacing as Xr, findCommentAuthorByName as Xs, getShapeFillColorResolved as Xt, replaceTextInNotes as Y, getPresentationTableCountsBySlide as Ya, SLIDE_SIZE_16_9 as Yi, getShapeName as Yn, findSlideLayoutByType as Yo, getParagraphLevel as Yr, clearSlideComments as Ys, getShapeFillColor as Yt, replaceTextInSlide as Z, getTableCell as Za, getSlideSize as Zi, getShapePlaceholderType as Zn, getSlideLayoutPartName as Zo, getParagraphSpacing as Zr, findCommentsAfter as Zs, getShapeFillEffective as Zt, moveSlide as _, getPresentationNotesLengthsBySlide as _a, setPresentationFonts as _c, setSlidePlaceholders as _i, findShapesByText as _n, isChartShape as _o, shapesOverlap as _r, getShapeChartKind as _s, appendShapeText as _t, groupShapes as a, findSlidesWithChartTrendlines as aa, getCommentPosition as ac, getShapeRunText as ai, getShapeStrokeJoin as an, getTableCellSpan as ao, getSlideMasterPartNames as ar, getShapeHyperlink as as, addSlideShape as at, sortSlides as b, getSlideNotesLength as ba, loadPresentation as bc, findShapesWithAnimation as bi, findSlidePlaceholderByIdx as bn, removeTableColumn as bo, getShapePatternFill as br, getShapeChartSpec as bs, getShapeTextAutoFit as bt, addContentSlide as c, getAllHyperlinks as ca, getCommentsSortedByDate as cc, setParagraphBullet as ci, findEmptyPlaceholders as cn, getTableCells as co, isShapeHidden as cr, setShapeRunFormat as cs, bringShapeForward as ct, addSlideAt as d, getAllTables as da, getPresentationCommenters as dc, setParagraphSpacing as di, findShapeByText as dn, getTableRowHeights as do, pointInShape as dr, findChartsBySeriesName as ds, copyShape as dt, clearAllHyperlinks as ea, findCommentsByText as ec, getShapeParagraphElements as ei, getShapeStrokeCap as en, getTableCellBorders as eo, getShapeRotation as er, getSlideLayoutUsageCounts as es, searchSlides as et, addTitleSlide as f, getDistinctHyperlinkUrls as fa, getSlideCommentAuthors as fc, setShapeRunHyperlink as fi, findShapeInPresentation as fn, getTableSize as fo, renameShape as fr, findChartsWithDataLabels as fs, getShapeZIndex as ft, mergePresentations as g, getPresentationNotesLength as ga, getPresentationTheme as gc, setSlideBody as gi, findShapesByPreset as gn, insertTableRow as go, setShapeHidden as gr, getShapeChartCategories as gs, setShapeZIndex as gt, importSlide as h, getPresentationHyperlinkCountsBySlide as ha, getPresentationFonts as hc, getSlideTitle as hi, findShapesByName as hn, insertTableColumn as ho, setShapeDescription as hr, getPresentationChartKindCounts as hs, sendShapeToBack as ht, getShapeMedia as i, findSlidesWithChartKind as ia, getCommentDate as ic, getShapeRunHyperlinkTooltip as ii, getShapeStrokeEffective as in, getTableCellPosition as io, getSlideMasterPartName as ir, getParagraphPropertiesEffective as is, addSlideLine as it, getPresentationShapeCountsBySlide as j, replaceHyperlink as ja, getShapeImageBrightness as ji, translateShapes as jn, setTableColumnWidth as jo, setShapePosition as jr, getSlideLayoutBackground as js, setShapeTextAnchor as jt, getAllShapes as k, hasSlideNotes as ka, getPresentationImageCountsBySlide as ki, replaceTokensInSlide as kn, setTableCellTextDirection as ko, setShapeNoStroke as kr, getSlideBackgroundPatternFill as ks, setShapeParagraphs as kt, addSectionHeaderSlide as l, getAllImages as la, getPresentationCommentCountsByAuthor as lc, setParagraphLevel as li, findShapeById as ln, getTableColumnWidths as lo, isShapePlaceholder as lr, addSlideChart as ls, bringShapeToFront as lt, duplicateSlideAt as m, getHiddenSlides as ma, removeSlideComment as mc, getSlideBody as mi, findShapesByKind as mn, getTableStyleId as mo, setShapeBounds as mr, getPresentationChartCountsBySlide as ms, sendShapeBackward as mt, addSlideMedia as n, clearSlideHyperlinks as na, getCommentAuthor as nc, getShapeRunCount as ni, getShapeStrokeColorResolved as nn, getTableCellMargins as no, getShapeText as nr, getSlideLayouts as ns, slideHasAnimations as nt, ungroupShapes as o, getAllCharts as oa, getCommentSlide as oc, isParagraphBulletPicture as oi, getShapeStrokeOpacity as on, getTableCellText as oo, getSlideMasterUsageCounts as or, getShapeRunFormatEffective as os, addSlideTable as ot, duplicateSlide as p, getEmptySlides as pa, getSlideComments as pc, setShapeRunText as pi, findShapesByHyperlink as pn, getTableStyleFlags as po, setShapeAltTitle as pr, findChartsWithTrendlines as ps, removeShape as pt, getSlidesByLayout as q, validatePresentation as qa, setShapeImageOpacity as qi, getShapeId as qn, findSlideLayout as qo, getParagraphEndFormat as qr, addSlideComment as qs, getShapeGradientFillEffective as qt, findShapesWithMedia as r, findSlidesByHyperlink as ra, getCommentAuthors as rc, getShapeRunHyperlink as ri, getShapeStrokeCompound as rn, getTableCellParagraphs as ro, getSlideMasterCount as rr, getUnusedSlideLayouts as rs, addSlideImage as rt, addBlankSlide as s, getAllComments as sa, getCommentText as sc, setParagraphAlignment as si, getShapeStrokeWidth as sn, getTableCellTextDirection as so, getUnusedSlideMasters as sr, setShapeHyperlink as ss, addSlideTextBox as st, VERSION as t, clearAllSlideNotes as ta, findSlidesWithCommentsByAuthor as tc, getShapeRunClickAction as ti, getShapeStrokeColor as tn, getTableCellFill as to, getShapeSize as tr, getSlideLayoutUsageCountsByType as ts, setSlideHidden as tt, addSlide as u, getAllNotes as ua, getPresentationCommentCountsBySlide as uc, setParagraphLineSpacing as ui, findShapeByName as un, getTableDimensions as uo, isShapeTextBox as ur, findChartByKind as us, clearSlideShapes as ut, removeSlide as v, getPresentationNotesText as va, setPresentationTheme as vc, setSlideTitle as vi, findShapesWithHyperlinks as vn, isTableShape as vo, clearShapeFill as vr, getShapeChartSeriesNames as vs, getShapeBodyPrEffective as vt, findSlideByPartName as w, getSlidesWithImages as wa, inches as wc, findOverlappingShapePairs as wi, getShapeXmlString as wn, setTableCellBorders as wo, setShapeFill as wr, resolveDeckBodyTextColor as ws, getShapeTextDirection as wt, swapSlides as x, getSlidesWithCharts as xa, savePresentation as xc, getShapeAnimation as xi, findSlidePlaceholders as xn, removeTableRow as xo, getShapeStrokeArrow as xr, getSlideCharts as xs, getShapeTextAutoFitParams as xt, reverseSlides as y, getSlideNotes as ya, createPresentation as yc, clearSlideAnimations as yi, findSlidePlaceholder as yn, mergeTableCells as yo, clearShapeStroke as yr, getShapeChartSeriesValues as ys, getShapeTextAnchor as yt, getSlideInfo as z, getOrphanMediaPartNames as za, getShapeImageOpacity as zi, getShapeAdjustValues as zn, getExtendedProperties as zo, setShapeStrokeJoin as zr, getSlideMasterBackgroundImageBytes as zs, clearShapeEffects as zt };
|
|
19526
19570
|
|
|
19527
|
-
//# sourceMappingURL=api-
|
|
19571
|
+
//# sourceMappingURL=api-DTzymnGv.js.map
|