@office-kit/pptx 0.18.5 → 0.20.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 +23 -0
- package/README.md +43 -11
- package/dist/{api-C-0kjwO_.js → api-CifcS36d.js} +46 -30
- package/dist/api-CifcS36d.js.map +1 -0
- package/dist/{index-C7AWT-mg.d.ts → index-CfANfMvY.d.ts} +303 -230
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/node.d.ts +2 -2
- package/dist/node.js +2 -2
- package/package.json +1 -1
- package/dist/api-C-0kjwO_.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @office-kit/pptx
|
|
2
2
|
|
|
3
|
+
## 0.20.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 04eda82: Colors are now a type, not a string. `Color` (`#RRGGBB`, the `#RGB` shorthand, a theme token such as `accent1`, or the `scheme:`-prefixed form) replaces `string` on every authoring call that takes one — shape and table fills, slide backgrounds, strokes, shadows, glows, gradient stops, connectors and run formats — so `'reddish'` or a mistyped `'accnet1'` is a compile error instead of a run-time throw. Chart colors take `HexColor`, which enforces what the docs already said: a chart series must resolve to a concrete sRGB value and cannot carry a theme token.
|
|
8
|
+
|
|
9
|
+
The `#` is now required. Bare `RRGGBB` was one of four accepted spellings of the same thing, and admitting it collapsed the union back to `string`, taking every other color check down with it. The runtime parser still accepts it, so untyped JavaScript callers are unaffected.
|
|
10
|
+
|
|
11
|
+
`@office-kit/pptx-dsl` picks this up too: `fill`, `stroke`, `background`, `stripeFill` and cell borders are typed the same way, so a bad color in a TSX deck fails `npm run check` rather than the export.
|
|
12
|
+
|
|
13
|
+
Reading stays permissive, since a deck authored elsewhere can carry a scheme token outside its theme. `getShapeRunFormat` and friends now return `ReadTextFormat`, and the gradient readers return `ReadGradientFill` / `ReadGradientStop` — same shapes, with colors as `string`. To write a color you read back, pass it through the new `asColor`, which returns `null` when the value is not one this library can emit.
|
|
14
|
+
|
|
15
|
+
## 0.19.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- 3eecc92: Rename `setShapeBullets` to `setShapeBulletStyle`. The old plural name read like it set the list's _content_, so calls meant to create a bulleted list reached for it and silently got back an unchanged, text-less shape. The new name says what the function actually does: it restyles the bullet glyph on paragraphs that already exist. Bulleted text is still authored in one call — `setShapeText(shape, 'A\nB\nC', { bullets: 'bullet' })`.
|
|
20
|
+
- cb702c1: Placeholder lookups and slide transitions now reject an unknown token at compile time instead of at runtime.
|
|
21
|
+
|
|
22
|
+
`findSlidePlaceholder`, `findSlidePlaceholders` and `findLayoutsWithPlaceholderType` take the closed `ST_PlaceholderType` set (exported as `PlaceholderType`) rather than `string`, so a shape's display name or a typo no longer type-checks and then silently finds nothing. `setSlidePlaceholders` keys its `byType` record the same way, so a misspelled key is no longer skipped in silence.
|
|
23
|
+
|
|
24
|
+
`TransitionEffect` gains the five spec effects it was missing — `comb`, `pull`, `random`, `strips` and `wheel` — and `TransitionOptions.effect` drops its `| string` escape, so a mistyped effect is a type error rather than a runtime throw. Reading stays permissive: `getSlideTransition` returns the new `SlideTransition` type, whose `effect` is still `string`, because a deck authored elsewhere can carry an effect this library does not model.
|
|
25
|
+
|
|
3
26
|
## 0.18.5
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
Read, edit, and write `.pptx` (PowerPoint / Office Open XML Presentation) files
|
|
8
8
|
from TypeScript, in **Node.js and the browser**, from a single ESM bundle.
|
|
9
9
|
|
|
10
|
+
**[Create slides with AI](#create-slides-with-ai-and-live-preview)** ·
|
|
10
11
|
**[Documentation](https://office-kit.github.io/pptx/)** ·
|
|
11
12
|
**[Playground](https://office-kit.github.io/pptx/playground)** (inspect a deck in your browser) ·
|
|
12
13
|
**[REPL](https://office-kit.github.io/pptx/repl)** (write code, watch the deck redraw)
|
|
@@ -26,17 +27,48 @@ const out: Uint8Array = await savePresentation(pres);
|
|
|
26
27
|
> not frozen: a breaking change can land in a minor (`0.x`) release, so pin a
|
|
27
28
|
> version or an exact range.
|
|
28
29
|
|
|
29
|
-
##
|
|
30
|
+
## Create slides with AI and live preview
|
|
31
|
+
|
|
32
|
+
Create presentations in TSX with a live browser preview and Claude Code or Codex
|
|
33
|
+
beside the slide. Select an area and ask the agent to change it, edit text
|
|
34
|
+
directly, and export an editable PowerPoint file. Changes are saved in the TSX
|
|
35
|
+
source; saving a source file also updates the preview.
|
|
36
|
+
|
|
37
|
+
Requires Node.js 22.18 or later. Create a project and start the preview in one
|
|
38
|
+
command (macOS/Linux):
|
|
30
39
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
`CLAUDE.md` authoring guide.
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
+
```sh
|
|
41
|
+
npx --yes @office-kit/pptx-dev@latest init my-slides && cd my-slides && npm install && npm run dev
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Open the local URL printed by the server. The generated project includes
|
|
45
|
+
`deck.tsx`, individual slides, a shared theme and a `CLAUDE.md` authoring guide.
|
|
46
|
+
For later sessions, run this inside the project:
|
|
47
|
+
|
|
48
|
+
```sh
|
|
49
|
+
npx office-pptx dev deck.tsx
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
`npm run dev` starts the same preview. To update an existing project's dev tools,
|
|
53
|
+
stop the server, then run:
|
|
54
|
+
|
|
55
|
+
```sh
|
|
56
|
+
npm install -D @office-kit/pptx-dev@latest
|
|
57
|
+
npm run dev
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Run `npm run check` to type-check the deck and `npm run build` to export
|
|
61
|
+
`deck.pptx`. AI editing uses your locally installed and authenticated Claude Code
|
|
62
|
+
or Codex CLI. After edits, changed-slide screenshots are supplied to the agent
|
|
63
|
+
for design review; capture requires Chrome or Playwright Chromium.
|
|
64
|
+
|
|
65
|
+
See the [preview and agent setup](packages/dev/README.md),
|
|
66
|
+
[selection, text editing and visual review](packages/dev/README.md#edit-from-the-slide),
|
|
67
|
+
and [TSX element reference](packages/dsl/README.md). To let Claude Code handle
|
|
68
|
+
project setup as well, follow the
|
|
69
|
+
[skill installation guide](https://office-kit.github.io/pptx/docs/authoring).
|
|
70
|
+
|
|
71
|
+
## Why this library
|
|
40
72
|
|
|
41
73
|
- **It reads as well as it writes.** Open a deck made in PowerPoint, Keynote,
|
|
42
74
|
or Google Slides, change it, and save it. Every setter has a getter, and
|
|
@@ -591,7 +623,7 @@ shown together.
|
|
|
591
623
|
| Comments | `addSlideComment`, `getSlideComments`, `removeSlideComment`, `getCommentAuthors`, `getCommentText` / `getCommentAuthor` / `getCommentPosition` |
|
|
592
624
|
| Shape authoring | `addSlideTextBox`, `addSlideShape`, `addSlideLine`, `addSlideTable`, `addSlideImage`, `addSlideMedia`, `addSlideChart` |
|
|
593
625
|
| Shape lookup | `findShapeByName`, `findShapesByName`, `findShapesByKind`, `findShapeInPresentation`, `getAllShapes`, `getSlideShapes` |
|
|
594
|
-
| Shape text | `setShapeText`, `setShapeParagraphs`, `
|
|
626
|
+
| Shape text | `setShapeText`, `setShapeParagraphs`, `setShapeBulletStyle`, `setShapeAlignment`, `setShapeTextFormat`, `setShapeHyperlink` / `getShapeHyperlink` |
|
|
595
627
|
| Per-paragraph | `setParagraphAlignment` / `getParagraphAlignment`, `setParagraphLevel` / `getParagraphLevel`, `setParagraphBullet` / `getParagraphBullet`, `setParagraphSpacing` / `getParagraphSpacing`, `setParagraphLineSpacing` / `getParagraphLineSpacing`, `getParagraphEndFormat` |
|
|
596
628
|
| Per-run text | `setShapeRunText` / `getShapeRunText`, `setShapeRunFormat` / `getShapeRunFormat`, `getShapeParagraphCount`, `getShapeRunCount` |
|
|
597
629
|
| Text frame | `setShapeTextAnchor` / `getShapeTextAnchor`, `setShapeTextMargins` / `getShapeTextMargins` |
|
|
@@ -2071,6 +2071,16 @@ const buildColorElement = (value) => {
|
|
|
2071
2071
|
if (parsed === null) throw new Error(`unrecognized color: ${value}`);
|
|
2072
2072
|
return parsed.kind === "srgb" ? elem(NAME_SRGB_CLR$4, { attrs: [attr(ATTR_VAL$9, parsed.hex)] }) : elem(NAME_SCHEME_CLR$2, { attrs: [attr(ATTR_VAL$9, parsed.token)] });
|
|
2073
2073
|
};
|
|
2074
|
+
/**
|
|
2075
|
+
* Narrows a color read back from a deck to one that can be written again,
|
|
2076
|
+
* or `null` when it is not a color this library can emit.
|
|
2077
|
+
*
|
|
2078
|
+
* The readers surface `<a:schemeClr val>` verbatim, so a round-trip
|
|
2079
|
+
* (`setX(getX(...))`) has to pass through a check somewhere; doing it here
|
|
2080
|
+
* keeps that single `Color` assertion backed by the same parser that
|
|
2081
|
+
* `buildColorElement` uses.
|
|
2082
|
+
*/
|
|
2083
|
+
const asColor = (value) => parseColor(value) === null ? null : value;
|
|
2074
2084
|
//#endregion
|
|
2075
2085
|
//#region src/internal/drawingml/text-format.ts
|
|
2076
2086
|
NS.dml;
|
|
@@ -2512,7 +2522,7 @@ const applyBulletToParagraph = (paragraph, style) => {
|
|
|
2512
2522
|
applyNormalizedBullet(paragraph, normalizeBulletStyle(style, "setParagraphBullet"));
|
|
2513
2523
|
};
|
|
2514
2524
|
const applyBulletToAllParagraphs = (txBody, style) => {
|
|
2515
|
-
const normalized = normalizeBulletStyle(style, "
|
|
2525
|
+
const normalized = normalizeBulletStyle(style, "setShapeBulletStyle");
|
|
2516
2526
|
for (const p of txBody.children) {
|
|
2517
2527
|
if (p.kind !== "element" || p.name.namespaceURI !== NAME_P_FOR_BULLET.namespaceURI || p.name.localName !== "p") continue;
|
|
2518
2528
|
applyNormalizedBullet(p, normalized);
|
|
@@ -4488,6 +4498,35 @@ const ATTR_ADV_TM = qname("", "advTm", "");
|
|
|
4488
4498
|
const ATTR_DIR = qname("", "dir", "");
|
|
4489
4499
|
const ATTR_ORIENT = qname("", "orient", "");
|
|
4490
4500
|
const ATTR_THRU_BLK = qname("", "thruBlk", "");
|
|
4501
|
+
/**
|
|
4502
|
+
* Every transition effect element name in `CT_SlideTransition`'s choice
|
|
4503
|
+
* (ECMA-376 pml.xsd). The token is emitted verbatim as `<p:{token}/>`, so this
|
|
4504
|
+
* list is both the type's domain and the write-time validation domain —
|
|
4505
|
+
* keeping them one declaration stops them drifting apart.
|
|
4506
|
+
*/
|
|
4507
|
+
const TRANSITION_EFFECTS = [
|
|
4508
|
+
"blinds",
|
|
4509
|
+
"checker",
|
|
4510
|
+
"circle",
|
|
4511
|
+
"dissolve",
|
|
4512
|
+
"comb",
|
|
4513
|
+
"cover",
|
|
4514
|
+
"cut",
|
|
4515
|
+
"diamond",
|
|
4516
|
+
"fade",
|
|
4517
|
+
"newsflash",
|
|
4518
|
+
"plus",
|
|
4519
|
+
"pull",
|
|
4520
|
+
"push",
|
|
4521
|
+
"random",
|
|
4522
|
+
"randomBar",
|
|
4523
|
+
"split",
|
|
4524
|
+
"strips",
|
|
4525
|
+
"wedge",
|
|
4526
|
+
"wheel",
|
|
4527
|
+
"wipe",
|
|
4528
|
+
"zoom"
|
|
4529
|
+
];
|
|
4491
4530
|
const DIR_ORIENT = new Set(["horz", "vert"]);
|
|
4492
4531
|
const DIR_SIDE = new Set([
|
|
4493
4532
|
"l",
|
|
@@ -4517,29 +4556,6 @@ const DIR_DOMAINS = {
|
|
|
4517
4556
|
split: DIR_IN_OUT
|
|
4518
4557
|
};
|
|
4519
4558
|
const THRU_BLK_EFFECTS = new Set(["fade", "cut"]);
|
|
4520
|
-
const TRANSITION_EFFECTS = [
|
|
4521
|
-
"blinds",
|
|
4522
|
-
"checker",
|
|
4523
|
-
"circle",
|
|
4524
|
-
"dissolve",
|
|
4525
|
-
"comb",
|
|
4526
|
-
"cover",
|
|
4527
|
-
"cut",
|
|
4528
|
-
"diamond",
|
|
4529
|
-
"fade",
|
|
4530
|
-
"newsflash",
|
|
4531
|
-
"plus",
|
|
4532
|
-
"pull",
|
|
4533
|
-
"push",
|
|
4534
|
-
"random",
|
|
4535
|
-
"randomBar",
|
|
4536
|
-
"split",
|
|
4537
|
-
"strips",
|
|
4538
|
-
"wedge",
|
|
4539
|
-
"wheel",
|
|
4540
|
-
"wipe",
|
|
4541
|
-
"zoom"
|
|
4542
|
-
];
|
|
4543
4559
|
const buildEffectElement = (opts) => {
|
|
4544
4560
|
if (opts.effect === "none") return null;
|
|
4545
4561
|
const name = qname("p", oneOf(opts.effect, TRANSITION_EFFECTS, "setSlideTransition: effect"), NS.pml);
|
|
@@ -14483,7 +14499,7 @@ const setParagraphAlignment = (shape, paragraphIndex, align) => {
|
|
|
14483
14499
|
* Used in tandem with bullets to author nested lists:
|
|
14484
14500
|
*
|
|
14485
14501
|
* setShapeText(shape, 'Item 1\nNested\nItem 2');
|
|
14486
|
-
*
|
|
14502
|
+
* setShapeBulletStyle(shape, 'bullet');
|
|
14487
14503
|
* setParagraphLevel(shape, 1, 1); // indent the second line
|
|
14488
14504
|
*/
|
|
14489
14505
|
const setParagraphLevel = (shape, paragraphIndex, level) => {
|
|
@@ -14814,7 +14830,7 @@ const getParagraphBulletStyle = (pres, shape, paragraphIndex) => {
|
|
|
14814
14830
|
};
|
|
14815
14831
|
/**
|
|
14816
14832
|
* Sets the bullet style on a single paragraph. Same `BulletStyle` shape
|
|
14817
|
-
* as `
|
|
14833
|
+
* as `setShapeBulletStyle` — pass `'bullet'` / `'number'` / `'none'` or an
|
|
14818
14834
|
* object like `{ char: '◆' }` / `{ autoNum: 'romanLcPeriod' }`.
|
|
14819
14835
|
*/
|
|
14820
14836
|
const setParagraphBullet = (shape, paragraphIndex, style) => {
|
|
@@ -17627,7 +17643,7 @@ const setShapeTextMargins = (shape, margins) => {
|
|
|
17627
17643
|
commitAndRefresh(shape);
|
|
17628
17644
|
};
|
|
17629
17645
|
/** Sets the bullet style on every paragraph in the shape's text body. */
|
|
17630
|
-
const
|
|
17646
|
+
const setShapeBulletStyle = (shape, style) => {
|
|
17631
17647
|
applyBulletToAllParagraphs(requireTxBody(shape), style);
|
|
17632
17648
|
commitAndRefresh(shape);
|
|
17633
17649
|
};
|
|
@@ -19602,8 +19618,8 @@ const getShapeMedia = (shape) => {
|
|
|
19602
19618
|
const findShapesWithMedia = (slide) => slide[SLIDE_SHAPES].filter((shape) => getShapeMedia(shape) !== null);
|
|
19603
19619
|
//#endregion
|
|
19604
19620
|
//#region src/api/index.ts
|
|
19605
|
-
const VERSION = "0.
|
|
19621
|
+
const VERSION = "0.20.0";
|
|
19606
19622
|
//#endregion
|
|
19607
|
-
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 };
|
|
19623
|
+
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, cm 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, pt as Dc, findSlidesByLayoutPartName as Di, getSlideShapes as Dn, setTableCellParagraphs as Do, setShapeImageFill as Dr, getSlideBackgroundGradientFill as Ds, setShapeAlignment as Dt, findSlideByTitle as E, getSlidesWithOverlap as Ea, mm 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, setShapeBulletStyle 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, savePresentation 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, inches 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, createPresentation 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, emu 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, loadPresentation 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, asColor 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 };
|
|
19608
19624
|
|
|
19609
|
-
//# sourceMappingURL=api-
|
|
19625
|
+
//# sourceMappingURL=api-CifcS36d.js.map
|