@office-kit/pptx 0.16.0 → 0.16.1
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 +11 -1
- package/README.md +13 -2
- package/dist/{api-DQEn2Bo4.js → api-Dt6q_IAv.js} +96 -13
- package/dist/api-Dt6q_IAv.js.map +1 -0
- package/dist/{index-BHQiXp61.d.ts → index-mFv1-sf4.d.ts} +4 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/node.js +1 -1
- package/package.json +1 -1
- package/dist/api-DQEn2Bo4.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @office-kit/pptx
|
|
2
|
+
|
|
3
|
+
## 0.16.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- b8adc13: Duplicated slides now have independent charts, embedded workbooks and notes.
|
|
8
|
+
Editing a duplicate no longer changes the original's chart or notes. Unknown
|
|
9
|
+
owned dependency parts are copied too, including cyclic relationships. Layouts,
|
|
10
|
+
masters, themes and media remain shared. Invalid missing dependencies fail before
|
|
11
|
+
parts are added.
|
|
2
12
|
|
|
3
13
|
## 0.16.0
|
|
4
14
|
|
package/README.md
CHANGED
|
@@ -28,6 +28,16 @@ const out: Uint8Array = await savePresentation(pres);
|
|
|
28
28
|
|
|
29
29
|
## Why this library
|
|
30
30
|
|
|
31
|
+
For declarative TSX authoring, use the companion
|
|
32
|
+
[`@office-kit/pptx-dsl`](packages/dsl) and
|
|
33
|
+
[`@office-kit/pptx-dev`](packages/dev) packages. They provide typed elements,
|
|
34
|
+
template editing, a local watch preview and PPTX export, with no React or Vue
|
|
35
|
+
runtime. The dev package initializes a project with VSCode tasks and a
|
|
36
|
+
`CLAUDE.md` authoring guide. Start with the
|
|
37
|
+
[step-by-step authoring guide](https://office-kit.github.io/pptx/docs/authoring):
|
|
38
|
+
the CLI and DSL are not yet published to npm, so it includes a verified
|
|
39
|
+
source-checkout installation.
|
|
40
|
+
|
|
31
41
|
- **It reads as well as it writes.** Open a deck made in PowerPoint, Keynote,
|
|
32
42
|
or Google Slides, change it, and save it. Every setter has a getter, and
|
|
33
43
|
there are deck-wide queries (find every hyperlink, every comment by an
|
|
@@ -319,7 +329,7 @@ setShapeText(findSlidePlaceholder(slide, 'ctrTitle')!, 'Authored with @office-ki
|
|
|
319
329
|
const out: Uint8Array = await savePresentation(pres);
|
|
320
330
|
```
|
|
321
331
|
|
|
322
|
-
###
|
|
332
|
+
### Add slides to your own template
|
|
323
333
|
|
|
324
334
|
```ts
|
|
325
335
|
import {
|
|
@@ -336,7 +346,8 @@ import {
|
|
|
336
346
|
setShapeText,
|
|
337
347
|
} from '@office-kit/pptx';
|
|
338
348
|
|
|
339
|
-
|
|
349
|
+
// Layout names come from the template; list them with getSlideLayouts(pres).
|
|
350
|
+
const pres = await loadPresentation(await fetch('/template.pptx').then((r) => r.arrayBuffer()));
|
|
340
351
|
|
|
341
352
|
const titleLayout = findSlideLayout(pres, 'Title Slide')!;
|
|
342
353
|
const slide1 = addSlide(pres, { layout: titleLayout });
|
|
@@ -8154,8 +8154,9 @@ const validateChartSpecAxes = (spec) => {
|
|
|
8154
8154
|
};
|
|
8155
8155
|
/**
|
|
8156
8156
|
* Adds a chart to the slide. Returns the new shape handle (kind
|
|
8157
|
-
* `graphicFrame`).
|
|
8158
|
-
* `
|
|
8157
|
+
* `graphicFrame`). Authorable chart kinds: `bar`, `column`, `line`,
|
|
8158
|
+
* `pie`, `doughnut`, `area`. `scatter`, `radar` and `bubble` are read +
|
|
8159
|
+
* render only and are rejected here — see `ChartKind`.
|
|
8159
8160
|
*
|
|
8160
8161
|
* Side effects:
|
|
8161
8162
|
*
|
|
@@ -16747,6 +16748,80 @@ const setSlideSections = (pres, sections) => {
|
|
|
16747
16748
|
presPart.data = encode$1(serializeXml(doc));
|
|
16748
16749
|
};
|
|
16749
16750
|
//#endregion
|
|
16751
|
+
//#region src/internal/parts/duplicate-graph.ts
|
|
16752
|
+
/** Clone owned dependencies without interpreting their bodies or relationship types. */
|
|
16753
|
+
function duplicatePartGraph(pkg, source, destination, sharedTypes) {
|
|
16754
|
+
const parts = new Map(pkg.parts.map((part) => [part.name.toLowerCase(), part]));
|
|
16755
|
+
const occupied = new Set(parts.keys());
|
|
16756
|
+
const copies = new Map([[source.toLowerCase(), destination]]);
|
|
16757
|
+
const pending = [source];
|
|
16758
|
+
const planned = [];
|
|
16759
|
+
const encoder = new TextEncoder();
|
|
16760
|
+
const decoder = new TextDecoder();
|
|
16761
|
+
occupied.add(destination.toLowerCase());
|
|
16762
|
+
const counters = /* @__PURE__ */ new Map();
|
|
16763
|
+
const allocate = (name) => {
|
|
16764
|
+
const dot = name.lastIndexOf(".");
|
|
16765
|
+
const split = dot > name.lastIndexOf("/") ? dot : name.length;
|
|
16766
|
+
const stem = name.slice(0, split);
|
|
16767
|
+
const extension = name.slice(split);
|
|
16768
|
+
let n = counters.get(name.toLowerCase()) ?? 1;
|
|
16769
|
+
let candidate;
|
|
16770
|
+
do
|
|
16771
|
+
candidate = partName(`${stem}-copy${n++}${extension}`);
|
|
16772
|
+
while (occupied.has(candidate.toLowerCase()));
|
|
16773
|
+
counters.set(name.toLowerCase(), n);
|
|
16774
|
+
occupied.add(candidate.toLowerCase());
|
|
16775
|
+
return candidate;
|
|
16776
|
+
};
|
|
16777
|
+
for (let index = 0; index < pending.length; index++) {
|
|
16778
|
+
const name = pending[index];
|
|
16779
|
+
const part = parts.get(name.toLowerCase());
|
|
16780
|
+
if (!part) throw new Error(`Cannot duplicate missing dependency ${name}`);
|
|
16781
|
+
const copy = copies.get(name.toLowerCase());
|
|
16782
|
+
planned.push({
|
|
16783
|
+
name: copy,
|
|
16784
|
+
contentType: part.contentType,
|
|
16785
|
+
data: new Uint8Array(part.data)
|
|
16786
|
+
});
|
|
16787
|
+
const relsPart = parts.get(relsPartNameFor(name).toLowerCase());
|
|
16788
|
+
if (!relsPart) continue;
|
|
16789
|
+
const doc = parseXml(decoder.decode(relsPart.data));
|
|
16790
|
+
for (const element of doc.root.children) {
|
|
16791
|
+
if (element.kind !== "element" || element.name.localName !== "Relationship" || element.name.namespaceURI !== NS.relationships) continue;
|
|
16792
|
+
const target = element.attrs.find((attribute) => attribute.name.namespaceURI === "" && attribute.name.localName === "Target");
|
|
16793
|
+
const type = element.attrs.find((attribute) => attribute.name.namespaceURI === "" && attribute.name.localName === "Type")?.value;
|
|
16794
|
+
const mode = element.attrs.find((attribute) => attribute.name.namespaceURI === "" && attribute.name.localName === "TargetMode")?.value;
|
|
16795
|
+
if (!target || !type) throw new Error(`Invalid relationship in ${relsPart.name}`);
|
|
16796
|
+
if (mode === "External") continue;
|
|
16797
|
+
const resolved = resolveTarget(name, target.value);
|
|
16798
|
+
if (!parts.has(resolved.toLowerCase())) throw new Error(`Cannot duplicate missing dependency ${resolved}`);
|
|
16799
|
+
let mapped = copies.get(resolved.toLowerCase());
|
|
16800
|
+
if (!mapped && !sharedTypes.has(type)) {
|
|
16801
|
+
mapped = allocate(resolved);
|
|
16802
|
+
copies.set(resolved.toLowerCase(), mapped);
|
|
16803
|
+
pending.push(resolved);
|
|
16804
|
+
}
|
|
16805
|
+
element.attrs = element.attrs.map((attribute) => attribute === target ? {
|
|
16806
|
+
...attribute,
|
|
16807
|
+
value: mapped ?? resolved
|
|
16808
|
+
} : attribute);
|
|
16809
|
+
}
|
|
16810
|
+
planned.push({
|
|
16811
|
+
name: relsPartNameFor(copy),
|
|
16812
|
+
contentType: relsPart.contentType,
|
|
16813
|
+
data: encoder.encode(serializeXml(doc))
|
|
16814
|
+
});
|
|
16815
|
+
}
|
|
16816
|
+
const names = new Set(parts.keys());
|
|
16817
|
+
for (const part of planned) {
|
|
16818
|
+
const key = part.name.toLowerCase();
|
|
16819
|
+
if (names.has(key)) throw new Error(`Cannot duplicate into existing part ${part.name}`);
|
|
16820
|
+
names.add(key);
|
|
16821
|
+
}
|
|
16822
|
+
for (const part of planned) pkg.addPart(part.name, part.contentType, part.data);
|
|
16823
|
+
}
|
|
16824
|
+
//#endregion
|
|
16750
16825
|
//#region src/api/fn/slide-deck.ts
|
|
16751
16826
|
const ensureSldIdLst = (presentationRoot) => {
|
|
16752
16827
|
const existing = firstChildElement(presentationRoot, NAME_SLD_ID_LST$1);
|
|
@@ -17038,25 +17113,33 @@ const moveSlide = (pres, slide, toIndex) => {
|
|
|
17038
17113
|
/**
|
|
17039
17114
|
* Duplicates a slide. Returns the new `SlideData` appended to deck order.
|
|
17040
17115
|
*
|
|
17041
|
-
*
|
|
17042
|
-
*
|
|
17043
|
-
*
|
|
17116
|
+
* Charts, embedded workbooks, notes and other owned dependencies are copied.
|
|
17117
|
+
* Layouts, masters, themes, media and links to other slides remain shared.
|
|
17118
|
+
* Unknown dependency bodies are retained without interpreting their content.
|
|
17044
17119
|
*/
|
|
17045
17120
|
const duplicateSlide = (pres, slide) => {
|
|
17046
17121
|
const pkg = pres[INTERNAL_PACKAGE];
|
|
17122
|
+
if (slide[INTERNAL_PACKAGE] !== pkg) throw new Error("duplicateSlide: slide belongs to another presentation");
|
|
17047
17123
|
const sourcePartName = slide[SLIDE_PART_NAME];
|
|
17048
|
-
|
|
17049
|
-
if (!sourcePart) throw new Error(`duplicateSlide: source ${sourcePartName} not found`);
|
|
17124
|
+
if (!pkg.getPart(sourcePartName)) throw new Error(`duplicateSlide: source ${sourcePartName} not found`);
|
|
17050
17125
|
const presPart = pkg.getPart(PRES_PART_NAME);
|
|
17051
17126
|
if (!presPart) throw new Error("presentation.xml missing");
|
|
17052
17127
|
const presDoc = parseXml(decode$1(presPart.data));
|
|
17053
17128
|
const sldIdLst = ensureSldIdLst(presDoc.root);
|
|
17054
17129
|
const newSldId = allocateSldId(sldIdLst);
|
|
17055
17130
|
const slideN = allocateSlideN(pkg);
|
|
17056
|
-
|
|
17057
|
-
|
|
17058
|
-
|
|
17059
|
-
|
|
17131
|
+
duplicatePartGraph(pkg, sourcePartName, partName(`/ppt/slides/slide${slideN}.xml`), new Set([
|
|
17132
|
+
REL_TYPES.slideLayout,
|
|
17133
|
+
REL_TYPES.slideMaster,
|
|
17134
|
+
REL_TYPES.notesMaster,
|
|
17135
|
+
REL_TYPES.handoutMaster,
|
|
17136
|
+
REL_TYPES.theme,
|
|
17137
|
+
REL_TYPES.slide,
|
|
17138
|
+
REL_TYPES.image,
|
|
17139
|
+
REL_TYPES.media,
|
|
17140
|
+
REL_TYPES.video,
|
|
17141
|
+
REL_TYPES.audio
|
|
17142
|
+
]));
|
|
17060
17143
|
const presRels = pkg.getRels(PRES_PART_NAME) ?? emptyRels();
|
|
17061
17144
|
const newRId = nextRelId(presRels.items.map((r) => r.id));
|
|
17062
17145
|
presRels.items.push({
|
|
@@ -17354,8 +17437,8 @@ const ungroupShapes = (group) => {
|
|
|
17354
17437
|
};
|
|
17355
17438
|
//#endregion
|
|
17356
17439
|
//#region src/api/index.ts
|
|
17357
|
-
const VERSION = "0.16.
|
|
17440
|
+
const VERSION = "0.16.1";
|
|
17358
17441
|
//#endregion
|
|
17359
17442
|
export { slideHasAnimations as $, getTableCellMargins as $a, clearSlideHyperlinks as $i, getShapeText as $n, getSlideLayouts as $o, getShapeRunCount as $r, getCommentAuthor as $s, getShapeStrokeColorResolved as $t, getPresentationTextLength as A, clearSlideTransition as Aa, getShapeImageContrast as Ai, findShapesAtPoint as An, setTableStyleFlags as Ao, setShapeSize as Ar, getSlideLayoutBackgroundImageBytes as As, setShapeTextBodyRotationDeg as At, getSlideText as B, listPackageParts as Ba, isShapeImageGrayscale as Bi, getShapeCenter as Bn, setCoreProperties as Bo, getParagraphAlignment as Br, setSlideBackgroundImage as Bs, getShapeEffectsEffective as Bt, findSlideByTitle as C, getSlidesWithOverlap as Ca, pt as Cc, findSlidesByLayoutName as Ci, getSlideLayout as Cn, setTableCellMargins as Co, setShapeGradientFill as Cr, getSlideBackground as Cs, getShapeTextWrap as Ct, getOutlineText as D, removeSlideNotes as Da, getShapeImageBiLevelThreshold as Di, setSlideLayout as Dn, setTableCellTextFormat as Do, setShapePatternFill as Dr, getSlideColorMapOverride as Ds, setShapeText as Dt, getAllShapes as E, hasSlideNotes as Ea, getPresentationImageCountsBySlide as Ei, replaceTokensInSlide as En, setTableCellTextDirection as Eo, setShapeNoStroke as Er, getSlideBackgroundPatternFill as Es, setShapeParagraphs as Et, getSlideIndex as F, getMediaParts as Fa, getShapeImageLinkUrl as Fi, getMaxShapeIdInPresentation as Fn, getCoreProperties as Fo, setShapeStrokeDash as Fr, getSlideMasterBackgroundGradientFill as Fs, setShapeTextWrap as Ft, isSlideHidden as G, clearTableCellFill as Ga, SLIDE_SIZE_16_10 as Gi, getShapeKind as Gn, findSlideLayoutByPartName as Go, getParagraphIndent as Gr, clearAllSlideComments as Gs, getShapeFill as Gt, getSlideXmlString as H, setMediaPartBytes as Ha, setShapeImageContrast as Hi, getShapeDescription as Hn, touchModified as Ho, getParagraphBulletImageBytes as Hr, setShapeClickAction as Hs, setShapeShadow as Ht, getSlideInfo as I, getOrphanMediaPartNames as Ia, getShapeImageOpacity as Ii, getShapeAdjustValues as In, getExtendedProperties as Io, setShapeStrokeJoin as Ir, getSlideMasterBackgroundImageBytes as Is, clearShapeEffects as It, replaceTextInSlide as J, getTableCell as Ja, getSlideSize as Ji, getShapePlaceholderType as Jn, getSlideLayoutPartName as Jo, getParagraphSpacing as Jr, findCommentsAfter as Js, getShapeFillEffective as Jt, replaceTextInNotes as K, getPresentationTableCountsBySlide as Ka, SLIDE_SIZE_16_9 as Ki, getShapeName as Kn, findSlideLayoutByType as Ko, getParagraphLevel as Kr, clearSlideComments as Ks, getShapeFillColor as Kt, getSlideLayoutCount as L, getPackageSize as La, getShapeImagePartName as Li, getShapeAltTitle as Ln, getPresentationCreated as Lo, getShapeRunFormat as Lr, getSlideMasterBackgroundPatternFill as Ls, findShapesByEffect as Lt, getShapeAt as M, setSlideTransition as Ma, getShapeImageDuotone as Mi, getGroupChildren as Mn, getThumbnail as Mo, setShapeStrokeArrow as Mr, getSlideLayoutBackgroundShapes as Ms, setShapeTextDirection as Mt, getSlideAt as N, _internalPackageOf as Na, getShapeImageFillBytes as Ni, getGroupTransform as Nn, removeThumbnail as No, setShapeStrokeCap as Nr, getSlideLayoutShapes as Ns, setShapeTextFormat as Nt, getPresentationShapeCountsBySlide as O, replaceHyperlink as Oa, getShapeImageBrightness as Oi, translateShapes as On, setTableColumnWidth as Oo, setShapePosition as Or, getSlideLayoutBackground as Os, setShapeTextAnchor as Ot, getSlideCount as P, compactPackage as Pa, getShapeImageFormat as Pi, getMaxShapeId as Pn, setThumbnail as Po, setShapeStrokeCompound as Pr, getSlideMasterBackground as Ps, setShapeTextMargins as Pt, setSlideHidden as Q, getTableCellFill as Qa, clearAllSlideNotes as Qi, getShapeSize as Qn, getSlideLayoutUsageCountsByType as Qo, getShapeRunClickAction as Qr, findSlidesWithCommentsByAuthor as Qs, getShapeStrokeColor as Qt, getSlideOutline as R, getPresentationSummary as Ra, hasShapeImage as Ri, getShapeBounds as Rn, getPresentationModified as Ro, resolveDrawingColor as Rr, getSlideMasterShapes as Rs, getShapeEffect as Rt, findSlideByText as S, getSlidesWithNotes as Sa, mm as Sc, findShapesOutsideCanvas as Si, getShapesBounds as Sn, setTableCellFill as So, setShapeFlip as Sr, clearSlideBackground as Ss, getShapeTextMargins as St, findSlidesByText as T, getVisibleSlides as Ta, findSlidesByLayoutType as Ti, getSlidesWithEmptyPlaceholders as Tn, setTableCellText as To, setShapeNoFill as Tr, getSlideBackgroundImageBytes as Ts, setShapeBullets as Tt, getSlides as U, slidesUsingMediaPart as Ua, setShapeImageCrop as Ui, getShapeFlip as Un, findLayoutsWithPlaceholderType as Uo, getParagraphBulletStyle as Ur, setShapeImage as Us, getShapeGradientFill as Ut, getSlideTextLength as V, readPackagePart as Va, setShapeImageBrightness as Vi, getShapeCustomGeometry as Vn, setExtendedProperties as Vo, getParagraphBullet as Vr, getShapeClickAction as Vs, setShapeGlow as Vt, getSlidesByLayout as W, validatePresentation as Wa, setShapeImageOpacity as Wi, getShapeId as Wn, findSlideLayout as Wo, getParagraphEndFormat as Wr, addSlideComment as Ws, getShapeGradientFillEffective as Wt, replaceTokensInPresentation as X, getTableCellAnchor as Xa, appendSlideNotes as Xi, getShapePreset as Xn, getSlideLayoutType as Xo, getShapeParagraphCount as Xr, findCommentsByAuthor as Xs, getShapeStroke as Xt, replaceTextInSlideNotes as Y, getTableCellAlignment as Ya, setSlideSize as Yi, getShapePosition as Yn, getSlideLayoutPlaceholders as Yo, getShapeHyperlinkTooltip as Yr, findCommentsBefore as Ys, getShapeFillOpacity as Yt, searchSlides as Z, getTableCellBorders as Za, clearAllHyperlinks as Zi, getShapeRotation as Zn, getSlideLayoutUsageCounts as Zo, getShapeParagraphElements as Zr, findCommentsByText as Zs, getShapeStrokeCap as Zt, sortSlides as _, getSlideNotesLength as _a, loadPresentation as _c, findShapesWithAnimation as _i, findSlidePlaceholderByIdx as _n, removeTableColumn as _o, getShapePatternFill as _r, getShapeChartSpec as _s, getShapeTextAutoFit as _t, addContentSlide as a, getAllHyperlinks as aa, getCommentsSortedByDate as ac, setParagraphBullet as ai, findEmptyPlaceholders as an, getTableCells as ao, isShapeHidden as ar, setShapeRunFormat as as, bringShapeForward as at, setSlideSections as b, getSlidesWithHyperlinks as ba, emu as bc, findFlippedShapes as bi, getShapeSlide as bn, setTableCellAnchor as bo, setShapeAdjustValues as br, getEffectiveColorMap as bs, getShapeTextColumns as bt, addSlideAt as c, getAllTables as ca, getPresentationCommenters as cc, setParagraphSpacing as ci, findShapeByText as cn, getTableRowHeights as co, pointInShape as cr, findChartsBySeriesName as cs, copyShape as ct, duplicateSlideAt as d, getHiddenSlides as da, removeSlideComment as dc, getSlideBody as di, findShapesByKind as dn, getTableStyleId as do, setShapeBounds as dr, getPresentationChartCountsBySlide as ds, sendShapeBackward as dt, findSlidesByHyperlink as ea, getCommentAuthors as ec, getShapeRunHyperlink as ei, getShapeStrokeCompound as en, getTableCellParagraphs as eo, getSlideMasterCount as er, getUnusedSlideLayouts as es, addSlideImage as et, importSlide as f, getPresentationHyperlinkCountsBySlide as fa, getPresentationFonts as fc, getSlideTitle as fi, findShapesByName as fn, insertTableColumn as fo, setShapeDescription as fr, getPresentationChartKindCounts as fs, sendShapeToBack as ft, reverseSlides as g, getSlideNotes as ga, createPresentation as gc, clearSlideAnimations as gi, findSlidePlaceholder as gn, mergeTableCells as go, clearShapeStroke as gr, getShapeChartSeriesValues as gs, getShapeTextAnchor as gt, removeSlide as h, getPresentationNotesText as ha, setPresentationTheme as hc, setSlideTitle as hi, findShapesWithHyperlinks as hn, isTableShape as ho, clearShapeFill as hr, getShapeChartSeriesNames as hs, getShapeBodyPrEffective as ht, addBlankSlide as i, getAllComments as ia, getCommentText as ic, setParagraphAlignment as ii, getShapeStrokeWidth as in, getTableCellTextDirection as io, getUnusedSlideMasters as ir, setShapeHyperlink as is, addSlideTextBox as it, getPresentationTextLengthsBySlide as j, getSlideTransition as ja, getShapeImageCrop as ji, findShapesInRect as jn, setTableStyleId as jo, setShapeStroke as jr, getSlideLayoutBackgroundPatternFill as js, setShapeTextColumns as jt, getPresentationText as k, setSlideNotes as ka, getShapeImageBytes as ki, centerShapeOnSlide as kn, setTableRowHeight as ko, setShapeRotation as kr, getSlideLayoutBackgroundGradientFill as ks, setShapeTextAutoFit as kt, addTitleSlide as l, getDistinctHyperlinkUrls as la, getSlideCommentAuthors as lc, setShapeRunHyperlink as li, findShapeInPresentation as ln, getTableSize as lo, renameShape as lr, findChartsWithDataLabels as ls, getShapeZIndex as lt, moveSlide as m, getPresentationNotesLengthsBySlide as ma, setPresentationFonts as mc, setSlidePlaceholders as mi, findShapesByText as mn, isChartShape as mo, shapesOverlap as mr, getShapeChartKind as ms, appendShapeText as mt, groupShapes as n, findSlidesWithChartTrendlines as na, getCommentPosition as nc, getShapeRunText as ni, getShapeStrokeJoin as nn, getTableCellSpan as no, getSlideMasterPartNames as nr, getShapeHyperlink as ns, addSlideShape as nt, addSectionHeaderSlide as o, getAllImages as oa, getPresentationCommentCountsByAuthor as oc, setParagraphLevel as oi, findShapeById as on, getTableColumnWidths as oo, isShapePlaceholder as or, addSlideChart as os, bringShapeToFront as ot, mergePresentations as p, getPresentationNotesLength as pa, getPresentationTheme as pc, setSlideBody as pi, findShapesByPreset as pn, insertTableRow as po, setShapeHidden as pr, getShapeChartCategories as ps, setShapeZIndex as pt, replaceTextInPresentation as q, getSlideTables as qa, SLIDE_SIZE_4_3 as qi, getShapePlaceholderIdx as qn, getSlideLayoutName as qo, getParagraphLineSpacing as qr, findCommentAuthorByName as qs, getShapeFillColorResolved as qt, ungroupShapes as r, getAllCharts as ra, getCommentSlide as rc, isParagraphBulletPicture as ri, getShapeStrokeOpacity as rn, getTableCellText as ro, getSlideMasterUsageCounts as rr, getShapeRunFormatEffective as rs, addSlideTable as rt, addSlide as s, getAllNotes as sa, getPresentationCommentCountsBySlide as sc, setParagraphLineSpacing as si, findShapeByName as sn, getTableDimensions as so, isShapeTextBox as sr, findChartByKind as ss, clearSlideShapes as st, VERSION as t, findSlidesWithChartKind as ta, getCommentDate as tc, getShapeRunHyperlinkTooltip as ti, getShapeStrokeEffective as tn, getTableCellPosition as to, getSlideMasterPartName as tr, getParagraphPropertiesEffective as ts, addSlideLine as tt, duplicateSlide as u, getEmptySlides as ua, getSlideComments as uc, setShapeRunText as ui, findShapesByHyperlink as un, getTableStyleFlags as uo, setShapeAltTitle as ur, findChartsWithTrendlines as us, removeShape as ut, swapSlides as v, getSlidesWithCharts as va, savePresentation as vc, getShapeAnimation as vi, findSlidePlaceholders as vn, removeTableRow as vo, getShapeStrokeArrow as vr, getSlideCharts as vs, getShapeTextAutoFitParams as vt, findSlidesByNotes as w, getSlidesWithTables as wa, findSlidesByLayoutPartName as wi, getSlideShapes as wn, setTableCellParagraphs as wo, setShapeImageFill as wr, getSlideBackgroundGradientFill as ws, setShapeAlignment as wt, findSlideByPartName as x, getSlidesWithImages as xa, inches as xc, findOverlappingShapePairs as xi, getShapeXmlString as xn, setTableCellBorders as xo, setShapeFill as xr, resolveDeckBodyTextColor as xs, getShapeTextDirection as xt, getSlideSections as y, getSlidesWithComments as ya, cm as yc, setShapeAnimation as yi, getShapeIndex as yn, setTableCellAlignment as yo, getShapeStrokeDash as yr, setChartSpec as ys, getShapeTextBodyRotationDeg as yt, getSlidePartName as z, getSlideMediaPartNames as za, hasShapeText as zi, getShapeBoundsResolved as zn, incrementRevision as zo, resolveDrawingColorOpacity as zr, setSlideBackground as zs, getShapeEffects as zt };
|
|
17360
17443
|
|
|
17361
|
-
//# sourceMappingURL=api-
|
|
17444
|
+
//# sourceMappingURL=api-Dt6q_IAv.js.map
|