@office-kit/pptx 0.18.5 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +48 -0
- package/README.md +43 -11
- package/dist/{api-C-0kjwO_.js → api-On7UeTT-.js} +315 -48
- package/dist/api-On7UeTT-.js.map +1 -0
- package/dist/{index-C7AWT-mg.d.ts → index-VCK9yZV2.d.ts} +488 -234
- 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
|
@@ -190,8 +190,17 @@ interface XmlDocument {
|
|
|
190
190
|
epilog: ReadonlyArray<XmlComment | XmlPI>;
|
|
191
191
|
}
|
|
192
192
|
//#endregion
|
|
193
|
+
//#region src/internal/enum-values.d.ts
|
|
194
|
+
declare const PLACEHOLDER_TYPES: readonly ["title", "body", "ctrTitle", "subTitle", "dt", "sldNum", "ftr", "hdr", "obj", "chart", "tbl", "clipArt", "dgm", "media", "sldImg", "pic"];
|
|
195
|
+
//#endregion
|
|
193
196
|
//#region src/internal/presentationml/slide-part.d.ts
|
|
194
197
|
type ShapeKind = 'shape' | 'picture' | 'group' | 'graphicFrame' | 'connector';
|
|
198
|
+
/**
|
|
199
|
+
* Placeholder token from `<p:ph type="...">` (ECMA-376 `ST_PlaceholderType`).
|
|
200
|
+
* Placeholder lookups take this closed set, while `SlideShape.placeholderType`
|
|
201
|
+
* stays `string | null`: a loaded deck can carry a value outside it.
|
|
202
|
+
*/
|
|
203
|
+
type PlaceholderType = (typeof PLACEHOLDER_TYPES)[number];
|
|
195
204
|
interface SlideShape {
|
|
196
205
|
readonly kind: ShapeKind;
|
|
197
206
|
/** OOXML internal numeric id, unique within the slide's shape tree. */
|
|
@@ -251,211 +260,35 @@ interface SlideLayoutPart {
|
|
|
251
260
|
*/
|
|
252
261
|
type PresetShape = 'rect' | 'roundRect' | 'ellipse' | 'triangle' | 'rtTriangle' | 'diamond' | 'parallelogram' | 'trapezoid' | 'pentagon' | 'hexagon' | 'heptagon' | 'octagon' | 'decagon' | 'star4' | 'star5' | 'star6' | 'star7' | 'star8' | 'star10' | 'star12' | 'star16' | 'star24' | 'star32' | 'rightArrow' | 'leftArrow' | 'upArrow' | 'downArrow' | 'leftRightArrow' | 'upDownArrow' | 'bentArrow' | 'curvedRightArrow' | 'curvedLeftArrow' | 'curvedUpArrow' | 'curvedDownArrow' | 'cloud' | 'heart' | 'lightningBolt' | 'sun' | 'moon' | 'bracketPair' | 'bracePair' | 'leftBracket' | 'rightBracket' | 'leftBrace' | 'rightBrace' | 'cube' | 'can' | 'donut' | 'noSmoking' | 'plus' | 'mathPlus' | 'mathMinus' | 'mathMultiply' | 'mathDivide' | 'mathEqual' | 'mathNotEqual';
|
|
253
262
|
//#endregion
|
|
254
|
-
//#region src/internal/
|
|
263
|
+
//#region src/internal/drawingml/color.d.ts
|
|
264
|
+
declare const SCHEME_COLOR_TOKENS: readonly ["bg1", "tx1", "bg2", "tx2", "accent1", "accent2", "accent3", "accent4", "accent5", "accent6", "hlink", "folHlink", "phClr", "lt1", "dk1", "lt2", "dk2"];
|
|
265
|
+
/** A theme color slot (`<a:schemeClr val="..."/>`). */
|
|
266
|
+
type SchemeColorToken = (typeof SCHEME_COLOR_TOKENS)[number];
|
|
255
267
|
/**
|
|
256
|
-
*
|
|
257
|
-
* `<p:transition>`. The list covers the effects all current PowerPoint
|
|
258
|
-
* versions emit; pass any other ECMA-376-permitted local name as a raw
|
|
259
|
-
* string for forward compatibility.
|
|
260
|
-
*/
|
|
261
|
-
type TransitionEffect = 'none' | 'fade' | 'push' | 'cover' | 'wipe' | 'split' | 'cut' | 'dissolve' | 'checker' | 'blinds' | 'randomBar' | 'zoom' | 'circle' | 'diamond' | 'plus' | 'wedge' | 'newsflash';
|
|
262
|
-
interface TransitionOptions {
|
|
263
|
-
effect: TransitionEffect | string;
|
|
264
|
-
/** Effect speed. Defaults to omitted (PowerPoint treats absence as `med`). */
|
|
265
|
-
speed?: 'slow' | 'med' | 'fast';
|
|
266
|
-
/**
|
|
267
|
-
* Direction, valid only for effects that carry a `dir` attribute and only
|
|
268
|
-
* within that effect's domain (validated on write):
|
|
269
|
-
* - `blinds`/`checker`/`comb`/`randomBar`: `horz` | `vert`
|
|
270
|
-
* - `push`/`wipe`: `l` | `r` | `u` | `d`
|
|
271
|
-
* - `cover`/`pull`: the above plus `lu` | `ru` | `ld` | `rd`
|
|
272
|
-
* - `strips`: `lu` | `ru` | `ld` | `rd`
|
|
273
|
-
* - `zoom`/`split`: `in` | `out`
|
|
274
|
-
* A mismatched effect/direction pair throws; on any other effect a stray
|
|
275
|
-
* `direction` is ignored.
|
|
276
|
-
*/
|
|
277
|
-
direction?: string;
|
|
278
|
-
/** For `split`: orientation token (`horz` / `vert`). */
|
|
279
|
-
orientation?: 'horz' | 'vert';
|
|
280
|
-
/** For `fade`: pass `true` to fade through black. */
|
|
281
|
-
thruBlack?: boolean;
|
|
282
|
-
/** Whether clicking advances; default `true` (PowerPoint's default). */
|
|
283
|
-
advanceOnClick?: boolean;
|
|
284
|
-
/**
|
|
285
|
-
* Milliseconds to auto-advance after this slide. Omit for click-only
|
|
286
|
-
* advance.
|
|
287
|
-
*/
|
|
288
|
-
advanceAfterMs?: number;
|
|
289
|
-
}
|
|
290
|
-
//#endregion
|
|
291
|
-
//#region src/internal/presentationml/animation-builder.d.ts
|
|
292
|
-
/** What kind of effect to apply. v1 covers the four most-used presets. */
|
|
293
|
-
type AnimationEffect = 'fadeIn' | 'fadeOut' | 'appear' | 'disappear';
|
|
294
|
-
interface AnimationOptions {
|
|
295
|
-
/** Which preset effect to apply. */
|
|
296
|
-
readonly effect: AnimationEffect;
|
|
297
|
-
/** Animation length in milliseconds. Defaults to 500ms. */
|
|
298
|
-
readonly durationMs?: number;
|
|
299
|
-
}
|
|
300
|
-
//#endregion
|
|
301
|
-
//#region src/internal/presentationml/comments-part.d.ts
|
|
302
|
-
interface CommentAuthor {
|
|
303
|
-
/** Unique within the author list (also referenced by `<p:cm authorId="…">`). */
|
|
304
|
-
readonly id: number;
|
|
305
|
-
readonly name: string;
|
|
306
|
-
readonly initials: string;
|
|
307
|
-
/** Highest `idx` value this author has used; bumped on every new comment. */
|
|
308
|
-
readonly lastIdx: number;
|
|
309
|
-
/** Optional color index into the package's theme; preserved verbatim. */
|
|
310
|
-
readonly clrIdx: number | null;
|
|
311
|
-
}
|
|
312
|
-
interface CommentPosition {
|
|
313
|
-
readonly x: number;
|
|
314
|
-
readonly y: number;
|
|
315
|
-
}
|
|
316
|
-
interface SlideComment {
|
|
317
|
-
/** Author id (matches `CommentAuthor.id`). */
|
|
318
|
-
readonly authorId: number;
|
|
319
|
-
/** Per-author monotonic index. */
|
|
320
|
-
readonly idx: number;
|
|
321
|
-
/** ISO-8601 timestamp string as it appeared on disk; may be `null`. */
|
|
322
|
-
readonly dt: string | null;
|
|
323
|
-
readonly text: string;
|
|
324
|
-
readonly position: CommentPosition | null;
|
|
325
|
-
}
|
|
326
|
-
//#endregion
|
|
327
|
-
//#region src/api/_internal-symbols.d.ts
|
|
328
|
-
declare const INTERNAL_PACKAGE: unique symbol;
|
|
329
|
-
declare const SLIDE_PART_NAME: unique symbol;
|
|
330
|
-
declare const SLIDE_DOCUMENT: unique symbol;
|
|
331
|
-
declare const SLIDE_PART: unique symbol;
|
|
332
|
-
declare const SLIDE_SHAPES: unique symbol;
|
|
333
|
-
declare const SHAPE_SLIDE: unique symbol;
|
|
334
|
-
declare const SHAPE_ELEMENT: unique symbol;
|
|
335
|
-
declare const SHAPE_SNAPSHOT: unique symbol;
|
|
336
|
-
declare const LAYOUT_PART_NAME: unique symbol;
|
|
337
|
-
declare const LAYOUT_PART: unique symbol;
|
|
338
|
-
declare const COMMENT_SLIDE: unique symbol;
|
|
339
|
-
declare const COMMENT_SNAPSHOT: unique symbol;
|
|
340
|
-
declare const CELL_TABLE: unique symbol;
|
|
341
|
-
declare const CELL_ELEMENT: unique symbol;
|
|
342
|
-
declare const CELL_ROW: unique symbol;
|
|
343
|
-
declare const CELL_COL: unique symbol;
|
|
344
|
-
/**
|
|
345
|
-
* Opaque handle to a loaded / created presentation. Constructed via
|
|
346
|
-
* `loadPresentation` / `createPresentation`; passed positionally to
|
|
347
|
-
* every fn-API helper.
|
|
348
|
-
*/
|
|
349
|
-
interface PresentationData {
|
|
350
|
-
readonly [INTERNAL_PACKAGE]: OpcPackage;
|
|
351
|
-
/** @internal — populated lazily by `getSlides`. */
|
|
352
|
-
_slidesCache: unknown[] | null;
|
|
353
|
-
}
|
|
354
|
-
/** Data shape backing every `Slide` value. */
|
|
355
|
-
interface SlideData {
|
|
356
|
-
readonly [INTERNAL_PACKAGE]: OpcPackage;
|
|
357
|
-
readonly [SLIDE_PART_NAME]: PartName;
|
|
358
|
-
[SLIDE_DOCUMENT]: XmlDocument;
|
|
359
|
-
[SLIDE_PART]: SlidePart;
|
|
360
|
-
[SLIDE_SHAPES]: SlideShapeData[];
|
|
361
|
-
}
|
|
362
|
-
/** Data shape backing every `SlideShape` value. */
|
|
363
|
-
interface SlideShapeData {
|
|
364
|
-
readonly [SHAPE_SLIDE]: SlideData;
|
|
365
|
-
[SHAPE_ELEMENT]: XmlElement;
|
|
366
|
-
[SHAPE_SNAPSHOT]: SlidePart['shapes'][number];
|
|
367
|
-
}
|
|
368
|
-
/** Data shape backing every `SlideLayout` value. */
|
|
369
|
-
interface SlideLayoutData {
|
|
370
|
-
readonly [LAYOUT_PART_NAME]: PartName;
|
|
371
|
-
readonly [LAYOUT_PART]: SlideLayoutPart;
|
|
372
|
-
}
|
|
373
|
-
/**
|
|
374
|
-
* Opaque handle for one comment on a slide. The `author` is resolved
|
|
375
|
-
* on read against the package-level `commentAuthors.xml`.
|
|
376
|
-
*/
|
|
377
|
-
interface SlideCommentData {
|
|
378
|
-
readonly [COMMENT_SLIDE]: SlideData;
|
|
379
|
-
readonly [COMMENT_SNAPSHOT]: SlideComment;
|
|
380
|
-
readonly author: CommentAuthor;
|
|
381
|
-
}
|
|
382
|
-
/**
|
|
383
|
-
* Opaque handle for one cell of a table graphic-frame shape. Carries
|
|
384
|
-
* its zero-based row/column position plus the parent table shape so
|
|
385
|
-
* mutations can commit back through the standard slide path.
|
|
386
|
-
*/
|
|
387
|
-
interface TableCellData {
|
|
388
|
-
readonly [CELL_TABLE]: SlideShapeData;
|
|
389
|
-
readonly [CELL_ELEMENT]: XmlElement;
|
|
390
|
-
readonly [CELL_ROW]: number;
|
|
391
|
-
readonly [CELL_COL]: number;
|
|
392
|
-
}
|
|
393
|
-
//#endregion
|
|
394
|
-
//#region src/api/fn/package-io.d.ts
|
|
395
|
-
/**
|
|
396
|
-
* Anything that can be turned into a `Uint8Array` of PPTX bytes:
|
|
268
|
+
* An sRGB color, `#RRGGBB` or the 3-digit `#RGB` shorthand.
|
|
397
269
|
*
|
|
398
|
-
*
|
|
399
|
-
*
|
|
400
|
-
*
|
|
270
|
+
* TypeScript cannot spell "six hex digits", so a malformed body such as
|
|
271
|
+
* `'#zzzzzz'` still type-checks and is rejected at run time. Requiring the
|
|
272
|
+
* `#` is what stops the union collapsing to `string` and taking every other
|
|
273
|
+
* color mistake down with it.
|
|
401
274
|
*/
|
|
402
|
-
type
|
|
403
|
-
/**
|
|
404
|
-
* Loads an existing `.pptx` and returns a `PresentationData` value.
|
|
405
|
-
*/
|
|
406
|
-
declare const loadPresentation: (input: PresentationInput) => Promise<PresentationData>;
|
|
407
|
-
/** Slide-canvas aspect ratio for {@link createPresentation}. */
|
|
408
|
-
type PresentationSize = '16:9' | '4:3';
|
|
409
|
-
/**
|
|
410
|
-
* Creates a fresh, immediately-authorable `PresentationData`.
|
|
411
|
-
*
|
|
412
|
-
* The returned deck carries a slide master, the Office theme, and three
|
|
413
|
-
* slide layouts — `'Blank'`, `'Title Slide'`, and `'Title and Content'` —
|
|
414
|
-
* but no slides yet. Add one with {@link addSlide} (or the
|
|
415
|
-
* `addBlankSlide` / `addTitleSlide` / `addContentSlide` helpers), then
|
|
416
|
-
* `savePresentation` to emit a `.pptx` that opens cleanly in PowerPoint,
|
|
417
|
-
* Keynote, Google Slides, and LibreOffice.
|
|
418
|
-
*
|
|
419
|
-
* @param options.size Slide aspect ratio. `'16:9'` (12192000×6858000 EMU,
|
|
420
|
-
* PowerPoint's modern default) or `'4:3'` (9144000×6858000). Defaults to
|
|
421
|
-
* `'16:9'`.
|
|
422
|
-
*/
|
|
423
|
-
declare const createPresentation: (options?: {
|
|
424
|
-
size?: PresentationSize;
|
|
425
|
-
}) => PresentationData;
|
|
426
|
-
/**
|
|
427
|
-
* Serializes a presentation back to PPTX bytes.
|
|
428
|
-
*/
|
|
429
|
-
declare const savePresentation: (pres: PresentationData) => Promise<Uint8Array>;
|
|
430
|
-
//#endregion
|
|
431
|
-
//#region src/api/fn/sections.d.ts
|
|
432
|
-
/** One section in the deck. `slides` is a snapshot at read time. */
|
|
433
|
-
interface SlideSection {
|
|
434
|
-
readonly name: string;
|
|
435
|
-
readonly slides: ReadonlyArray<SlideData>;
|
|
436
|
-
}
|
|
275
|
+
type HexColor = `#${string}`;
|
|
437
276
|
/**
|
|
438
|
-
*
|
|
439
|
-
*
|
|
440
|
-
*
|
|
441
|
-
* are dropped silently; empty arrays are preserved.
|
|
442
|
-
*
|
|
443
|
-
* Returns an empty array when no sectionLst is present.
|
|
277
|
+
* Any color an authoring call accepts. Contexts that cannot resolve a theme
|
|
278
|
+
* slot — chart series fills, which must carry a concrete sRGB value — take
|
|
279
|
+
* `HexColor` instead.
|
|
444
280
|
*/
|
|
445
|
-
|
|
281
|
+
type Color = HexColor | SchemeColorToken | `scheme:${SchemeColorToken}`;
|
|
446
282
|
/**
|
|
447
|
-
*
|
|
448
|
-
*
|
|
449
|
-
* section; we synthesize a deterministic-ish one based on index +
|
|
450
|
-
* timestamp for v1).
|
|
283
|
+
* Narrows a color read back from a deck to one that can be written again,
|
|
284
|
+
* or `null` when it is not a color this library can emit.
|
|
451
285
|
*
|
|
452
|
-
*
|
|
453
|
-
*
|
|
286
|
+
* The readers surface `<a:schemeClr val>` verbatim, so a round-trip
|
|
287
|
+
* (`setX(getX(...))`) has to pass through a check somewhere; doing it here
|
|
288
|
+
* keeps that single `Color` assertion backed by the same parser that
|
|
289
|
+
* `buildColorElement` uses.
|
|
454
290
|
*/
|
|
455
|
-
declare const
|
|
456
|
-
name: string;
|
|
457
|
-
slides: ReadonlyArray<SlideData>;
|
|
458
|
-
}>) => void;
|
|
291
|
+
declare const asColor: (value: string) => Color | null;
|
|
459
292
|
//#endregion
|
|
460
293
|
//#region src/internal/drawingml/text-format.d.ts
|
|
461
294
|
interface TextFormat {
|
|
@@ -480,7 +313,7 @@ interface TextFormat {
|
|
|
480
313
|
* Color. Accepts `#RRGGBB`, `RRGGBB`, an ECMA-376 scheme color token
|
|
481
314
|
* (`tx1`, `accent1`, ...), or `null` to clear.
|
|
482
315
|
*/
|
|
483
|
-
color?:
|
|
316
|
+
color?: Color | null;
|
|
484
317
|
bold?: boolean;
|
|
485
318
|
italic?: boolean;
|
|
486
319
|
/**
|
|
@@ -521,8 +354,17 @@ interface TextFormat {
|
|
|
521
354
|
* Highlight color (cell-fill style background per run). Same color
|
|
522
355
|
* format as `color`. Mirrors `<a:rPr><a:highlight>…</a:highlight></a:rPr>`.
|
|
523
356
|
*/
|
|
524
|
-
highlight?:
|
|
357
|
+
highlight?: Color | null;
|
|
525
358
|
}
|
|
359
|
+
/**
|
|
360
|
+
* A run format read back from a deck. `color` and `highlight` widen to
|
|
361
|
+
* `string`: when no theme is supplied, or a token is not in the scheme, the
|
|
362
|
+
* readers surface the raw `<a:schemeClr val>` token as-is.
|
|
363
|
+
*/
|
|
364
|
+
type ReadTextFormat = Omit<TextFormat, 'color' | 'highlight'> & {
|
|
365
|
+
color?: string | null;
|
|
366
|
+
highlight?: string | null;
|
|
367
|
+
};
|
|
526
368
|
//#endregion
|
|
527
369
|
//#region src/internal/drawingml/text-body-mutation.d.ts
|
|
528
370
|
/**
|
|
@@ -581,8 +423,8 @@ interface ParagraphSpec {
|
|
|
581
423
|
interface GradientStop {
|
|
582
424
|
/** Position on the gradient axis, 0-1. */
|
|
583
425
|
readonly offset: number;
|
|
584
|
-
/** `#RRGGBB`,
|
|
585
|
-
readonly color:
|
|
426
|
+
/** `#RRGGBB`, the `#RGB` shorthand, or a theme color token. */
|
|
427
|
+
readonly color: Color;
|
|
586
428
|
}
|
|
587
429
|
interface GradientFillOptions {
|
|
588
430
|
/** Two or more color stops along the axis. */
|
|
@@ -613,6 +455,17 @@ interface GradientFillOptions {
|
|
|
613
455
|
readonly bottom: number;
|
|
614
456
|
};
|
|
615
457
|
}
|
|
458
|
+
/**
|
|
459
|
+
* A gradient read back from a deck. Stop colors widen to `string`: the
|
|
460
|
+
* readers surface a scheme token verbatim, including one outside the theme,
|
|
461
|
+
* rather than dropping it.
|
|
462
|
+
*/
|
|
463
|
+
type ReadGradientStop = Omit<GradientStop, 'color'> & {
|
|
464
|
+
readonly color: string;
|
|
465
|
+
};
|
|
466
|
+
type ReadGradientFill = Omit<GradientFillOptions, 'stops'> & {
|
|
467
|
+
readonly stops: ReadonlyArray<ReadGradientStop>;
|
|
468
|
+
};
|
|
616
469
|
/** Every `ST_PresetPatternVal` token (ECMA-376 dml-main.xsd). */
|
|
617
470
|
declare const PATTERN_PRESETS: readonly ["pct5", "pct10", "pct20", "pct25", "pct30", "pct40", "pct50", "pct60", "pct70", "pct75", "pct80", "pct90", "horz", "vert", "ltHorz", "ltVert", "dkHorz", "dkVert", "narHorz", "narVert", "dashHorz", "dashVert", "cross", "dnDiag", "upDiag", "ltDnDiag", "ltUpDiag", "dkDnDiag", "dkUpDiag", "wdDnDiag", "wdUpDiag", "dashDnDiag", "dashUpDiag", "diagCross", "smCheck", "lgCheck", "smGrid", "lgGrid", "dotGrid", "smConfetti", "lgConfetti", "horzBrick", "diagBrick", "solidDmnd", "openDmnd", "dotDmnd", "plaid", "sphere", "weave", "divot", "shingle", "wave", "trellis", "zigZag"];
|
|
618
471
|
/** One of ECMA-376's `ST_PresetPatternVal` tokens (`pct50`, `dkUpDiag`, ...). */
|
|
@@ -629,7 +482,7 @@ interface PatternFillOptions {
|
|
|
629
482
|
//#region src/internal/drawingml/effects.d.ts
|
|
630
483
|
interface ShadowOptions {
|
|
631
484
|
/** `#RRGGBB`, bare `RRGGBB`, or scheme token. Defaults to black. */
|
|
632
|
-
readonly color?:
|
|
485
|
+
readonly color?: Color;
|
|
633
486
|
/** Edge blur in EMU. Defaults to 50800 (4pt). */
|
|
634
487
|
readonly blurEmu?: number;
|
|
635
488
|
/** Offset distance in EMU. Defaults to 38100 (3pt). */
|
|
@@ -644,7 +497,7 @@ interface ShadowOptions {
|
|
|
644
497
|
}
|
|
645
498
|
interface GlowOptions {
|
|
646
499
|
/** `#RRGGBB`, bare `RRGGBB`, or scheme token. */
|
|
647
|
-
readonly color:
|
|
500
|
+
readonly color: Color;
|
|
648
501
|
/** Glow radius in EMU. Defaults to 63500 (5pt). */
|
|
649
502
|
readonly radiusEmu?: number;
|
|
650
503
|
}
|
|
@@ -732,6 +585,226 @@ interface Size {
|
|
|
732
585
|
readonly h: number;
|
|
733
586
|
}
|
|
734
587
|
//#endregion
|
|
588
|
+
//#region src/internal/presentationml/transition-builder.d.ts
|
|
589
|
+
/**
|
|
590
|
+
* Every transition effect element name in `CT_SlideTransition`'s choice
|
|
591
|
+
* (ECMA-376 pml.xsd). The token is emitted verbatim as `<p:{token}/>`, so this
|
|
592
|
+
* list is both the type's domain and the write-time validation domain —
|
|
593
|
+
* keeping them one declaration stops them drifting apart.
|
|
594
|
+
*/
|
|
595
|
+
declare const TRANSITION_EFFECTS: readonly ["blinds", "checker", "circle", "dissolve", "comb", "cover", "cut", "diamond", "fade", "newsflash", "plus", "pull", "push", "random", "randomBar", "split", "strips", "wedge", "wheel", "wipe", "zoom"];
|
|
596
|
+
/**
|
|
597
|
+
* Transition effect token. Maps to a `<p:{token}/>` child of
|
|
598
|
+
* `<p:transition>`, except `'none'`: that is the library-level sentinel for
|
|
599
|
+
* "no effect element", which the schema's choice has no member for.
|
|
600
|
+
*/
|
|
601
|
+
type TransitionEffect = 'none' | (typeof TRANSITION_EFFECTS)[number];
|
|
602
|
+
interface TransitionOptions {
|
|
603
|
+
effect: TransitionEffect;
|
|
604
|
+
/** Effect speed. Defaults to omitted (PowerPoint treats absence as `med`). */
|
|
605
|
+
speed?: 'slow' | 'med' | 'fast';
|
|
606
|
+
/**
|
|
607
|
+
* Direction, valid only for effects that carry a `dir` attribute and only
|
|
608
|
+
* within that effect's domain (validated on write):
|
|
609
|
+
* - `blinds`/`checker`/`comb`/`randomBar`: `horz` | `vert`
|
|
610
|
+
* - `push`/`wipe`: `l` | `r` | `u` | `d`
|
|
611
|
+
* - `cover`/`pull`: the above plus `lu` | `ru` | `ld` | `rd`
|
|
612
|
+
* - `strips`: `lu` | `ru` | `ld` | `rd`
|
|
613
|
+
* - `zoom`/`split`: `in` | `out`
|
|
614
|
+
* A mismatched effect/direction pair throws; on any other effect a stray
|
|
615
|
+
* `direction` is ignored.
|
|
616
|
+
*/
|
|
617
|
+
direction?: string;
|
|
618
|
+
/** For `split`: orientation token (`horz` / `vert`). */
|
|
619
|
+
orientation?: 'horz' | 'vert';
|
|
620
|
+
/** For `fade`: pass `true` to fade through black. */
|
|
621
|
+
thruBlack?: boolean;
|
|
622
|
+
/** Whether clicking advances; default `true` (PowerPoint's default). */
|
|
623
|
+
advanceOnClick?: boolean;
|
|
624
|
+
/**
|
|
625
|
+
* Milliseconds to auto-advance after this slide. Omit for click-only
|
|
626
|
+
* advance.
|
|
627
|
+
*/
|
|
628
|
+
advanceAfterMs?: number;
|
|
629
|
+
}
|
|
630
|
+
/**
|
|
631
|
+
* A transition read back from a deck. `effect` widens to `string` because a
|
|
632
|
+
* file authored elsewhere can carry an effect element this library does not
|
|
633
|
+
* model; writing one still requires a `TransitionEffect`.
|
|
634
|
+
*/
|
|
635
|
+
type SlideTransition = Omit<TransitionOptions, 'effect'> & {
|
|
636
|
+
effect: string;
|
|
637
|
+
};
|
|
638
|
+
//#endregion
|
|
639
|
+
//#region src/internal/presentationml/animation-builder.d.ts
|
|
640
|
+
/** What kind of effect to apply. v1 covers the four most-used presets. */
|
|
641
|
+
type AnimationEffect = 'fadeIn' | 'fadeOut' | 'appear' | 'disappear';
|
|
642
|
+
interface AnimationOptions {
|
|
643
|
+
/** Which preset effect to apply. */
|
|
644
|
+
readonly effect: AnimationEffect;
|
|
645
|
+
/** Animation length in milliseconds. Defaults to 500ms. */
|
|
646
|
+
readonly durationMs?: number;
|
|
647
|
+
}
|
|
648
|
+
//#endregion
|
|
649
|
+
//#region src/internal/presentationml/comments-part.d.ts
|
|
650
|
+
interface CommentAuthor {
|
|
651
|
+
/** Unique within the author list (also referenced by `<p:cm authorId="…">`). */
|
|
652
|
+
readonly id: number;
|
|
653
|
+
readonly name: string;
|
|
654
|
+
readonly initials: string;
|
|
655
|
+
/** Highest `idx` value this author has used; bumped on every new comment. */
|
|
656
|
+
readonly lastIdx: number;
|
|
657
|
+
/** Optional color index into the package's theme; preserved verbatim. */
|
|
658
|
+
readonly clrIdx: number | null;
|
|
659
|
+
}
|
|
660
|
+
interface CommentPosition {
|
|
661
|
+
readonly x: number;
|
|
662
|
+
readonly y: number;
|
|
663
|
+
}
|
|
664
|
+
interface SlideComment {
|
|
665
|
+
/** Author id (matches `CommentAuthor.id`). */
|
|
666
|
+
readonly authorId: number;
|
|
667
|
+
/** Per-author monotonic index. */
|
|
668
|
+
readonly idx: number;
|
|
669
|
+
/** ISO-8601 timestamp string as it appeared on disk; may be `null`. */
|
|
670
|
+
readonly dt: string | null;
|
|
671
|
+
readonly text: string;
|
|
672
|
+
readonly position: CommentPosition | null;
|
|
673
|
+
}
|
|
674
|
+
//#endregion
|
|
675
|
+
//#region src/api/_internal-symbols.d.ts
|
|
676
|
+
declare const INTERNAL_PACKAGE: unique symbol;
|
|
677
|
+
declare const SLIDE_PART_NAME: unique symbol;
|
|
678
|
+
declare const SLIDE_DOCUMENT: unique symbol;
|
|
679
|
+
declare const SLIDE_PART: unique symbol;
|
|
680
|
+
declare const SLIDE_SHAPES: unique symbol;
|
|
681
|
+
declare const SHAPE_SLIDE: unique symbol;
|
|
682
|
+
declare const SHAPE_ELEMENT: unique symbol;
|
|
683
|
+
declare const SHAPE_SNAPSHOT: unique symbol;
|
|
684
|
+
declare const LAYOUT_PART_NAME: unique symbol;
|
|
685
|
+
declare const LAYOUT_PART: unique symbol;
|
|
686
|
+
declare const COMMENT_SLIDE: unique symbol;
|
|
687
|
+
declare const COMMENT_SNAPSHOT: unique symbol;
|
|
688
|
+
declare const CELL_TABLE: unique symbol;
|
|
689
|
+
declare const CELL_ELEMENT: unique symbol;
|
|
690
|
+
declare const CELL_ROW: unique symbol;
|
|
691
|
+
declare const CELL_COL: unique symbol;
|
|
692
|
+
/**
|
|
693
|
+
* Opaque handle to a loaded / created presentation. Constructed via
|
|
694
|
+
* `loadPresentation` / `createPresentation`; passed positionally to
|
|
695
|
+
* every fn-API helper.
|
|
696
|
+
*/
|
|
697
|
+
interface PresentationData {
|
|
698
|
+
readonly [INTERNAL_PACKAGE]: OpcPackage;
|
|
699
|
+
/** @internal — populated lazily by `getSlides`. */
|
|
700
|
+
_slidesCache: unknown[] | null;
|
|
701
|
+
}
|
|
702
|
+
/** Data shape backing every `Slide` value. */
|
|
703
|
+
interface SlideData {
|
|
704
|
+
readonly [INTERNAL_PACKAGE]: OpcPackage;
|
|
705
|
+
readonly [SLIDE_PART_NAME]: PartName;
|
|
706
|
+
[SLIDE_DOCUMENT]: XmlDocument;
|
|
707
|
+
[SLIDE_PART]: SlidePart;
|
|
708
|
+
[SLIDE_SHAPES]: SlideShapeData[];
|
|
709
|
+
}
|
|
710
|
+
/** Data shape backing every `SlideShape` value. */
|
|
711
|
+
interface SlideShapeData {
|
|
712
|
+
readonly [SHAPE_SLIDE]: SlideData;
|
|
713
|
+
[SHAPE_ELEMENT]: XmlElement;
|
|
714
|
+
[SHAPE_SNAPSHOT]: SlidePart['shapes'][number];
|
|
715
|
+
}
|
|
716
|
+
/** Data shape backing every `SlideLayout` value. */
|
|
717
|
+
interface SlideLayoutData {
|
|
718
|
+
readonly [LAYOUT_PART_NAME]: PartName;
|
|
719
|
+
readonly [LAYOUT_PART]: SlideLayoutPart;
|
|
720
|
+
}
|
|
721
|
+
/**
|
|
722
|
+
* Opaque handle for one comment on a slide. The `author` is resolved
|
|
723
|
+
* on read against the package-level `commentAuthors.xml`.
|
|
724
|
+
*/
|
|
725
|
+
interface SlideCommentData {
|
|
726
|
+
readonly [COMMENT_SLIDE]: SlideData;
|
|
727
|
+
readonly [COMMENT_SNAPSHOT]: SlideComment;
|
|
728
|
+
readonly author: CommentAuthor;
|
|
729
|
+
}
|
|
730
|
+
/**
|
|
731
|
+
* Opaque handle for one cell of a table graphic-frame shape. Carries
|
|
732
|
+
* its zero-based row/column position plus the parent table shape so
|
|
733
|
+
* mutations can commit back through the standard slide path.
|
|
734
|
+
*/
|
|
735
|
+
interface TableCellData {
|
|
736
|
+
readonly [CELL_TABLE]: SlideShapeData;
|
|
737
|
+
readonly [CELL_ELEMENT]: XmlElement;
|
|
738
|
+
readonly [CELL_ROW]: number;
|
|
739
|
+
readonly [CELL_COL]: number;
|
|
740
|
+
}
|
|
741
|
+
//#endregion
|
|
742
|
+
//#region src/api/fn/package-io.d.ts
|
|
743
|
+
/**
|
|
744
|
+
* Anything that can be turned into a `Uint8Array` of PPTX bytes:
|
|
745
|
+
*
|
|
746
|
+
* - `Uint8Array` — used as-is.
|
|
747
|
+
* - `ArrayBuffer` — wrapped without copying.
|
|
748
|
+
* - `Blob` or `File` — read via `arrayBuffer()`.
|
|
749
|
+
*/
|
|
750
|
+
type PresentationInput = Uint8Array | ArrayBuffer | Blob;
|
|
751
|
+
/**
|
|
752
|
+
* Loads an existing `.pptx` and returns a `PresentationData` value.
|
|
753
|
+
*/
|
|
754
|
+
declare const loadPresentation: (input: PresentationInput) => Promise<PresentationData>;
|
|
755
|
+
/** Slide-canvas aspect ratio for {@link createPresentation}. */
|
|
756
|
+
type PresentationSize = '16:9' | '4:3';
|
|
757
|
+
/**
|
|
758
|
+
* Creates a fresh, immediately-authorable `PresentationData`.
|
|
759
|
+
*
|
|
760
|
+
* The returned deck carries a slide master, the Office theme, and three
|
|
761
|
+
* slide layouts — `'Blank'`, `'Title Slide'`, and `'Title and Content'` —
|
|
762
|
+
* but no slides yet. Add one with {@link addSlide} (or the
|
|
763
|
+
* `addBlankSlide` / `addTitleSlide` / `addContentSlide` helpers), then
|
|
764
|
+
* `savePresentation` to emit a `.pptx` that opens cleanly in PowerPoint,
|
|
765
|
+
* Keynote, Google Slides, and LibreOffice.
|
|
766
|
+
*
|
|
767
|
+
* @param options.size Slide aspect ratio. `'16:9'` (12192000×6858000 EMU,
|
|
768
|
+
* PowerPoint's modern default) or `'4:3'` (9144000×6858000). Defaults to
|
|
769
|
+
* `'16:9'`.
|
|
770
|
+
*/
|
|
771
|
+
declare const createPresentation: (options?: {
|
|
772
|
+
size?: PresentationSize;
|
|
773
|
+
}) => PresentationData;
|
|
774
|
+
/**
|
|
775
|
+
* Serializes a presentation back to PPTX bytes.
|
|
776
|
+
*/
|
|
777
|
+
declare const savePresentation: (pres: PresentationData) => Promise<Uint8Array>;
|
|
778
|
+
//#endregion
|
|
779
|
+
//#region src/api/fn/sections.d.ts
|
|
780
|
+
/** One section in the deck. `slides` is a snapshot at read time. */
|
|
781
|
+
interface SlideSection {
|
|
782
|
+
readonly name: string;
|
|
783
|
+
readonly slides: ReadonlyArray<SlideData>;
|
|
784
|
+
}
|
|
785
|
+
/**
|
|
786
|
+
* Returns every section defined in `<p14:sectionLst>`, with each
|
|
787
|
+
* section's slides resolved to `SlideData` handles via the
|
|
788
|
+
* presentation's `<p:sldIdLst>`. Sections referencing missing slides
|
|
789
|
+
* are dropped silently; empty arrays are preserved.
|
|
790
|
+
*
|
|
791
|
+
* Returns an empty array when no sectionLst is present.
|
|
792
|
+
*/
|
|
793
|
+
declare const getSlideSections: (pres: PresentationData) => ReadonlyArray<SlideSection>;
|
|
794
|
+
/**
|
|
795
|
+
* Replaces the deck's section list with `sections`. Each section is
|
|
796
|
+
* given a fresh GUID `id` attribute (PowerPoint generates one per
|
|
797
|
+
* section; we synthesize a deterministic-ish one based on index +
|
|
798
|
+
* timestamp for v1).
|
|
799
|
+
*
|
|
800
|
+
* Pass `[]` to clear all sections — the helper drops the
|
|
801
|
+
* `<p14:sectionLst>` extension entirely when no sections remain.
|
|
802
|
+
*/
|
|
803
|
+
declare const setSlideSections: (pres: PresentationData, sections: ReadonlyArray<{
|
|
804
|
+
name: string;
|
|
805
|
+
slides: ReadonlyArray<SlideData>;
|
|
806
|
+
}>) => void;
|
|
807
|
+
//#endregion
|
|
735
808
|
//#region src/api/fn/shape-read-base.d.ts
|
|
736
809
|
declare const getShapeKind: (shape: SlideShapeData) => ShapeKind;
|
|
737
810
|
declare const getShapeId: (shape: SlideShapeData) => number;
|
|
@@ -1057,7 +1130,7 @@ declare const getSlideLayout: (slide: SlideData) => SlideLayoutData | null;
|
|
|
1057
1130
|
* if no match). Shapes whose `<p:ph>` omits an explicit type default to
|
|
1058
1131
|
* `'body'` per ECMA-376 §19.7.10.
|
|
1059
1132
|
*/
|
|
1060
|
-
declare const findSlidePlaceholder: (slide: SlideData, type:
|
|
1133
|
+
declare const findSlidePlaceholder: (slide: SlideData, type: PlaceholderType) => SlideShapeData | null;
|
|
1061
1134
|
/**
|
|
1062
1135
|
* Returns every placeholder shape on the slide whose text body is
|
|
1063
1136
|
* empty. Useful for "spot the slots that still need filling" UIs
|
|
@@ -1100,7 +1173,7 @@ declare const findSlidePlaceholderByIdx: (slide: SlideData, idx: number) => Slid
|
|
|
1100
1173
|
* Like `findSlidePlaceholder`, omitted `<p:ph type>` is treated as
|
|
1101
1174
|
* `body` per ECMA-376 §19.7.10.
|
|
1102
1175
|
*/
|
|
1103
|
-
declare const findSlidePlaceholders: (slide: SlideData, type:
|
|
1176
|
+
declare const findSlidePlaceholders: (slide: SlideData, type: PlaceholderType) => ReadonlyArray<SlideShapeData>;
|
|
1104
1177
|
/**
|
|
1105
1178
|
* First shape on the slide whose `cNvPr@name` matches `name`. Accepts
|
|
1106
1179
|
* either a literal string (exact-equality) or a `RegExp` for pattern
|
|
@@ -1333,7 +1406,7 @@ declare const getShapeFill: (shape: SlideShapeData) => ShapeFill;
|
|
|
1333
1406
|
* other fill kind, including `inherit` — the function does not walk the
|
|
1334
1407
|
* layout / master cascade. Use `getShapeGradientFillEffective` for that.
|
|
1335
1408
|
*/
|
|
1336
|
-
declare const getShapeGradientFill: (shape: SlideShapeData) =>
|
|
1409
|
+
declare const getShapeGradientFill: (shape: SlideShapeData) => ReadGradientFill | null;
|
|
1337
1410
|
/**
|
|
1338
1411
|
* Same as `getShapeGradientFill` but walks the layout → master
|
|
1339
1412
|
* placeholder cascade when the shape itself carries no `<a:gradFill>`.
|
|
@@ -1346,7 +1419,7 @@ declare const getShapeGradientFill: (shape: SlideShapeData) => GradientFillOptio
|
|
|
1346
1419
|
* not modelled by the core yet, so those still report `inherit` and
|
|
1347
1420
|
* fall through here.
|
|
1348
1421
|
*/
|
|
1349
|
-
declare const getShapeGradientFillEffective: (pres: PresentationData, shape: SlideShapeData) =>
|
|
1422
|
+
declare const getShapeGradientFillEffective: (pres: PresentationData, shape: SlideShapeData) => ReadGradientFill | null;
|
|
1350
1423
|
//#endregion
|
|
1351
1424
|
//#region src/api/fn/shape-fill-stroke.d.ts
|
|
1352
1425
|
/** Sets the shape's position in EMU. Companion to `setShapeSize`. */
|
|
@@ -1380,7 +1453,7 @@ declare const setShapeFlip: (shape: SlideShapeData, options: {
|
|
|
1380
1453
|
vertical?: boolean;
|
|
1381
1454
|
}) => void;
|
|
1382
1455
|
/** Sets a solid fill on the shape (color in `#RRGGBB` or scheme token). */
|
|
1383
|
-
declare const setShapeFill: (shape: SlideShapeData, color:
|
|
1456
|
+
declare const setShapeFill: (shape: SlideShapeData, color: Color) => void;
|
|
1384
1457
|
/**
|
|
1385
1458
|
* Sets a linear gradient fill on the shape. Stops must lie in `[0, 1]`;
|
|
1386
1459
|
* `angleDeg` defaults to `90` (top → bottom).
|
|
@@ -1438,7 +1511,7 @@ declare const setShapeNoFill: (shape: SlideShapeData) => void;
|
|
|
1438
1511
|
declare const clearShapeFill: (shape: SlideShapeData) => void;
|
|
1439
1512
|
/** Sets a solid-color outline on the shape. */
|
|
1440
1513
|
declare const setShapeStroke: (shape: SlideShapeData, options: {
|
|
1441
|
-
color?:
|
|
1514
|
+
color?: Color;
|
|
1442
1515
|
widthEmu?: number;
|
|
1443
1516
|
}) => void;
|
|
1444
1517
|
/** Sets an explicit "no outline" on the shape. */
|
|
@@ -1813,7 +1886,7 @@ declare const setShapeTextMargins: (shape: SlideShapeData, margins: {
|
|
|
1813
1886
|
bottom?: number;
|
|
1814
1887
|
}) => void;
|
|
1815
1888
|
/** Sets the bullet style on every paragraph in the shape's text body. */
|
|
1816
|
-
declare const
|
|
1889
|
+
declare const setShapeBulletStyle: (shape: SlideShapeData, style: BulletStyle) => void;
|
|
1817
1890
|
/** Sets the horizontal alignment of every paragraph in the shape's text. */
|
|
1818
1891
|
declare const setShapeAlignment: (shape: SlideShapeData, align: ParagraphAlignment) => void;
|
|
1819
1892
|
/**
|
|
@@ -2600,8 +2673,13 @@ interface ChartSecondaryValueAxis {
|
|
|
2600
2673
|
readonly tickLabelPos?: 'none' | 'low' | 'high' | 'nextTo';
|
|
2601
2674
|
readonly crossBetween?: 'between' | 'midCat';
|
|
2602
2675
|
}
|
|
2603
|
-
/**
|
|
2604
|
-
|
|
2676
|
+
/**
|
|
2677
|
+
* Every field a chart can carry, with no cross-field rules applied — the
|
|
2678
|
+
* shape `readChartSpec` returns. A deck authored elsewhere can combine
|
|
2679
|
+
* fields that this library would never write together, so the read type
|
|
2680
|
+
* stays permissive; `ChartSpec` is the closed, write-side domain.
|
|
2681
|
+
*/
|
|
2682
|
+
interface ReadChartSpec {
|
|
2605
2683
|
readonly kind: ChartKind;
|
|
2606
2684
|
/** Category labels along the x-axis (or pie slice labels for `kind: 'pie'`). */
|
|
2607
2685
|
readonly categories: ReadonlyArray<string>;
|
|
@@ -3070,6 +3148,182 @@ interface ChartSpec {
|
|
|
3070
3148
|
readonly categoryAxisLineHidden?: boolean;
|
|
3071
3149
|
}
|
|
3072
3150
|
//#endregion
|
|
3151
|
+
//#region src/internal/chartml/chart-spec.d.ts
|
|
3152
|
+
/** Field of a chart whose availability depends on the kind. */
|
|
3153
|
+
type SpecField = Exclude<keyof ReadChartSpec, 'kind' | 'series'>;
|
|
3154
|
+
/**
|
|
3155
|
+
* A kind's field set: `K` as declared on `ReadChartSpec`, and every other
|
|
3156
|
+
* field closed off. The `?: never` arms are what turn a field the kind
|
|
3157
|
+
* cannot draw into a compile error.
|
|
3158
|
+
*/
|
|
3159
|
+
type Fields<K extends SpecField> = Pick<ReadChartSpec, K> & { readonly [P in Exclude<SpecField, K>]?: never };
|
|
3160
|
+
/** Per-variant field sets; the variant types below are derived from these. */
|
|
3161
|
+
declare const VARIANT_FIELDS: {
|
|
3162
|
+
readonly combo: readonly ["categories", "title", "titleStyle", "titleOverlay", "titleLayout", "dataLabels", "legend", "plotAreaLayout", "plotAreaFill", "plotAreaStrokeColor", "chartAreaFill", "chartAreaStrokeColor", "plotVisibleCellsOnly", "dispBlanksAs", "date1904", "language", "roundedCorners", "chartStyle", "varyColors", "valueAxis", "valueAxisTitle", "valueAxisTitleStyle", "valueAxisTitleRotationDeg", "valueAxisLabelStyle", "valueAxisLabelRotationDeg", "valueAxisHidden", "valueAxisMajorGridlines", "valueAxisMinorGridlines", "valueAxisMajorGridlineColor", "valueAxisMinorGridlineColor", "valueAxisMajorGridlineWidthEmu", "valueAxisMinorGridlineWidthEmu", "valueAxisMajorTickMark", "valueAxisMinorTickMark", "valueAxisTickLabelPos", "valueAxisLineColor", "valueAxisLineWidthEmu", "valueAxisLineHidden", "valueAxisOrientation", "valueAxisCrosses", "valueAxisCrossBetween", "categoryAxisTitle", "categoryAxisTitleStyle", "categoryAxisTitleRotationDeg", "categoryAxisLabelStyle", "categoryAxisLabelRotationDeg", "categoryAxisHidden", "categoryAxisMajorGridlines", "categoryAxisMinorGridlines", "categoryAxisMajorGridlineColor", "categoryAxisMinorGridlineColor", "categoryAxisMajorGridlineWidthEmu", "categoryAxisMinorGridlineWidthEmu", "categoryAxisMajorTickMark", "categoryAxisMinorTickMark", "categoryAxisTickLabelPos", "categoryAxisLineColor", "categoryAxisLineWidthEmu", "categoryAxisLineHidden", "categoryAxisOrientation", "categoryAxisNumberFormat", "categoryAxisTickLabelSkip", "categoryAxisTickMarkSkip", "categoryAxisLabelOffset", "categoryAxisLabelAlign", "categoryAxisNoMultiLevelLabel", "categoryAxisDate", "categoryAxisScaling", "categoryGroupLevels", "dataTable", "grouping", "gapWidthPct", "overlapPct", "dropLines", "hiLowLines", "lineMarkers", "upDownBars", "secondaryValueAxis"];
|
|
3163
|
+
readonly bar3D: readonly ["categories", "title", "titleStyle", "titleOverlay", "titleLayout", "dataLabels", "legend", "plotAreaLayout", "plotAreaFill", "plotAreaStrokeColor", "chartAreaFill", "chartAreaStrokeColor", "plotVisibleCellsOnly", "dispBlanksAs", "date1904", "language", "roundedCorners", "chartStyle", "varyColors", "valueAxis", "valueAxisTitle", "valueAxisTitleStyle", "valueAxisTitleRotationDeg", "valueAxisLabelStyle", "valueAxisLabelRotationDeg", "valueAxisHidden", "valueAxisMajorGridlines", "valueAxisMinorGridlines", "valueAxisMajorGridlineColor", "valueAxisMinorGridlineColor", "valueAxisMajorGridlineWidthEmu", "valueAxisMinorGridlineWidthEmu", "valueAxisMajorTickMark", "valueAxisMinorTickMark", "valueAxisTickLabelPos", "valueAxisLineColor", "valueAxisLineWidthEmu", "valueAxisLineHidden", "valueAxisOrientation", "valueAxisCrosses", "valueAxisCrossBetween", "categoryAxisTitle", "categoryAxisTitleStyle", "categoryAxisTitleRotationDeg", "categoryAxisLabelStyle", "categoryAxisLabelRotationDeg", "categoryAxisHidden", "categoryAxisMajorGridlines", "categoryAxisMinorGridlines", "categoryAxisMajorGridlineColor", "categoryAxisMinorGridlineColor", "categoryAxisMajorGridlineWidthEmu", "categoryAxisMinorGridlineWidthEmu", "categoryAxisMajorTickMark", "categoryAxisMinorTickMark", "categoryAxisTickLabelPos", "categoryAxisLineColor", "categoryAxisLineWidthEmu", "categoryAxisLineHidden", "categoryAxisOrientation", "categoryAxisNumberFormat", "categoryAxisTickLabelSkip", "categoryAxisTickMarkSkip", "categoryAxisLabelOffset", "categoryAxisLabelAlign", "categoryAxisNoMultiLevelLabel", "categoryAxisDate", "categoryAxisScaling", "categoryGroupLevels", "dataTable", "grouping", "gapWidthPct", "gapDepthPct", "bar3DShape", "seriesAxis", "view3D"];
|
|
3164
|
+
readonly lineArea3D: readonly ["categories", "title", "titleStyle", "titleOverlay", "titleLayout", "dataLabels", "legend", "plotAreaLayout", "plotAreaFill", "plotAreaStrokeColor", "chartAreaFill", "chartAreaStrokeColor", "plotVisibleCellsOnly", "dispBlanksAs", "date1904", "language", "roundedCorners", "chartStyle", "varyColors", "valueAxis", "valueAxisTitle", "valueAxisTitleStyle", "valueAxisTitleRotationDeg", "valueAxisLabelStyle", "valueAxisLabelRotationDeg", "valueAxisHidden", "valueAxisMajorGridlines", "valueAxisMinorGridlines", "valueAxisMajorGridlineColor", "valueAxisMinorGridlineColor", "valueAxisMajorGridlineWidthEmu", "valueAxisMinorGridlineWidthEmu", "valueAxisMajorTickMark", "valueAxisMinorTickMark", "valueAxisTickLabelPos", "valueAxisLineColor", "valueAxisLineWidthEmu", "valueAxisLineHidden", "valueAxisOrientation", "valueAxisCrosses", "valueAxisCrossBetween", "categoryAxisTitle", "categoryAxisTitleStyle", "categoryAxisTitleRotationDeg", "categoryAxisLabelStyle", "categoryAxisLabelRotationDeg", "categoryAxisHidden", "categoryAxisMajorGridlines", "categoryAxisMinorGridlines", "categoryAxisMajorGridlineColor", "categoryAxisMinorGridlineColor", "categoryAxisMajorGridlineWidthEmu", "categoryAxisMinorGridlineWidthEmu", "categoryAxisMajorTickMark", "categoryAxisMinorTickMark", "categoryAxisTickLabelPos", "categoryAxisLineColor", "categoryAxisLineWidthEmu", "categoryAxisLineHidden", "categoryAxisOrientation", "categoryAxisNumberFormat", "categoryAxisTickLabelSkip", "categoryAxisTickMarkSkip", "categoryAxisLabelOffset", "categoryAxisLabelAlign", "categoryAxisNoMultiLevelLabel", "categoryAxisDate", "categoryAxisScaling", "categoryGroupLevels", "dataTable", "grouping", "dropLines", "gapDepthPct", "seriesAxis", "view3D"];
|
|
3165
|
+
readonly pie: readonly ["categories", "title", "titleStyle", "titleOverlay", "titleLayout", "dataLabels", "legend", "plotAreaLayout", "plotAreaFill", "plotAreaStrokeColor", "chartAreaFill", "chartAreaStrokeColor", "plotVisibleCellsOnly", "dispBlanksAs", "date1904", "language", "roundedCorners", "chartStyle", "varyColors", "firstSliceAngleDeg"];
|
|
3166
|
+
readonly ofPie: readonly ["categories", "title", "titleStyle", "titleOverlay", "titleLayout", "dataLabels", "legend", "plotAreaLayout", "plotAreaFill", "plotAreaStrokeColor", "chartAreaFill", "chartAreaStrokeColor", "plotVisibleCellsOnly", "dispBlanksAs", "date1904", "language", "roundedCorners", "chartStyle", "varyColors", "ofPie"];
|
|
3167
|
+
readonly pie3D: readonly ["categories", "title", "titleStyle", "titleOverlay", "titleLayout", "dataLabels", "legend", "plotAreaLayout", "plotAreaFill", "plotAreaStrokeColor", "chartAreaFill", "chartAreaStrokeColor", "plotVisibleCellsOnly", "dispBlanksAs", "date1904", "language", "roundedCorners", "chartStyle", "varyColors", "view3D"];
|
|
3168
|
+
readonly doughnut: readonly ["categories", "title", "titleStyle", "titleOverlay", "titleLayout", "dataLabels", "legend", "plotAreaLayout", "plotAreaFill", "plotAreaStrokeColor", "chartAreaFill", "chartAreaStrokeColor", "plotVisibleCellsOnly", "dispBlanksAs", "date1904", "language", "roundedCorners", "chartStyle", "varyColors", "firstSliceAngleDeg", "holeSizePct"];
|
|
3169
|
+
readonly scatter: readonly ["categories", "title", "titleStyle", "titleOverlay", "titleLayout", "dataLabels", "legend", "plotAreaLayout", "plotAreaFill", "plotAreaStrokeColor", "chartAreaFill", "chartAreaStrokeColor", "plotVisibleCellsOnly", "dispBlanksAs", "date1904", "language", "roundedCorners", "chartStyle", "varyColors", "valueAxis", "valueAxisTitle", "valueAxisTitleStyle", "valueAxisTitleRotationDeg", "valueAxisLabelStyle", "valueAxisLabelRotationDeg", "valueAxisHidden", "valueAxisMajorGridlines", "valueAxisMinorGridlines", "valueAxisMajorGridlineColor", "valueAxisMinorGridlineColor", "valueAxisMajorGridlineWidthEmu", "valueAxisMinorGridlineWidthEmu", "valueAxisMajorTickMark", "valueAxisMinorTickMark", "valueAxisTickLabelPos", "valueAxisLineColor", "valueAxisLineWidthEmu", "valueAxisLineHidden", "valueAxisOrientation", "valueAxisCrosses", "valueAxisCrossBetween", "categoryAxisTitle", "categoryAxisTitleStyle", "categoryAxisTitleRotationDeg", "categoryAxisLabelStyle", "categoryAxisLabelRotationDeg", "categoryAxisHidden", "categoryAxisMajorGridlines", "categoryAxisMinorGridlines", "categoryAxisMajorGridlineColor", "categoryAxisMinorGridlineColor", "categoryAxisMajorGridlineWidthEmu", "categoryAxisMinorGridlineWidthEmu", "categoryAxisMajorTickMark", "categoryAxisMinorTickMark", "categoryAxisTickLabelPos", "categoryAxisLineColor", "categoryAxisLineWidthEmu", "categoryAxisLineHidden", "categoryAxisOrientation", "categoryAxisNumberFormat", "categoryAxisScaling", "scatterStyle"];
|
|
3170
|
+
readonly bubble: readonly ["categories", "title", "titleStyle", "titleOverlay", "titleLayout", "dataLabels", "legend", "plotAreaLayout", "plotAreaFill", "plotAreaStrokeColor", "chartAreaFill", "chartAreaStrokeColor", "plotVisibleCellsOnly", "dispBlanksAs", "date1904", "language", "roundedCorners", "chartStyle", "varyColors", "valueAxis", "valueAxisTitle", "valueAxisTitleStyle", "valueAxisTitleRotationDeg", "valueAxisLabelStyle", "valueAxisLabelRotationDeg", "valueAxisHidden", "valueAxisMajorGridlines", "valueAxisMinorGridlines", "valueAxisMajorGridlineColor", "valueAxisMinorGridlineColor", "valueAxisMajorGridlineWidthEmu", "valueAxisMinorGridlineWidthEmu", "valueAxisMajorTickMark", "valueAxisMinorTickMark", "valueAxisTickLabelPos", "valueAxisLineColor", "valueAxisLineWidthEmu", "valueAxisLineHidden", "valueAxisOrientation", "valueAxisCrosses", "valueAxisCrossBetween", "categoryAxisTitle", "categoryAxisTitleStyle", "categoryAxisTitleRotationDeg", "categoryAxisLabelStyle", "categoryAxisLabelRotationDeg", "categoryAxisHidden", "categoryAxisMajorGridlines", "categoryAxisMinorGridlines", "categoryAxisMajorGridlineColor", "categoryAxisMinorGridlineColor", "categoryAxisMajorGridlineWidthEmu", "categoryAxisMinorGridlineWidthEmu", "categoryAxisMajorTickMark", "categoryAxisMinorTickMark", "categoryAxisTickLabelPos", "categoryAxisLineColor", "categoryAxisLineWidthEmu", "categoryAxisLineHidden", "categoryAxisOrientation", "categoryAxisNumberFormat", "categoryAxisScaling", "bubbleScale", "bubbleSizeRepresents", "bubble3D", "showNegativeBubbles"];
|
|
3171
|
+
readonly radar: readonly ["categories", "title", "titleStyle", "titleOverlay", "titleLayout", "dataLabels", "legend", "plotAreaLayout", "plotAreaFill", "plotAreaStrokeColor", "chartAreaFill", "chartAreaStrokeColor", "plotVisibleCellsOnly", "dispBlanksAs", "date1904", "language", "roundedCorners", "chartStyle", "varyColors", "valueAxis", "valueAxisTitle", "valueAxisTitleStyle", "valueAxisTitleRotationDeg", "valueAxisLabelStyle", "valueAxisLabelRotationDeg", "valueAxisHidden", "valueAxisMajorGridlines", "valueAxisMinorGridlines", "valueAxisMajorGridlineColor", "valueAxisMinorGridlineColor", "valueAxisMajorGridlineWidthEmu", "valueAxisMinorGridlineWidthEmu", "valueAxisMajorTickMark", "valueAxisMinorTickMark", "valueAxisTickLabelPos", "valueAxisLineColor", "valueAxisLineWidthEmu", "valueAxisLineHidden", "valueAxisOrientation", "valueAxisCrosses", "valueAxisCrossBetween", "categoryAxisTitle", "categoryAxisTitleStyle", "categoryAxisTitleRotationDeg", "categoryAxisLabelStyle", "categoryAxisLabelRotationDeg", "categoryAxisHidden", "categoryAxisMajorGridlines", "categoryAxisMinorGridlines", "categoryAxisMajorGridlineColor", "categoryAxisMinorGridlineColor", "categoryAxisMajorGridlineWidthEmu", "categoryAxisMinorGridlineWidthEmu", "categoryAxisMajorTickMark", "categoryAxisMinorTickMark", "categoryAxisTickLabelPos", "categoryAxisLineColor", "categoryAxisLineWidthEmu", "categoryAxisLineHidden", "categoryAxisOrientation", "categoryAxisNumberFormat", "categoryAxisTickLabelSkip", "categoryAxisTickMarkSkip", "categoryAxisLabelOffset", "categoryAxisLabelAlign", "categoryAxisNoMultiLevelLabel", "categoryAxisDate", "categoryAxisScaling", "categoryGroupLevels", "dataTable", "radarStyle"];
|
|
3172
|
+
readonly stock: readonly ["categories", "title", "titleStyle", "titleOverlay", "titleLayout", "dataLabels", "legend", "plotAreaLayout", "plotAreaFill", "plotAreaStrokeColor", "chartAreaFill", "chartAreaStrokeColor", "plotVisibleCellsOnly", "dispBlanksAs", "date1904", "language", "roundedCorners", "chartStyle", "varyColors", "valueAxis", "valueAxisTitle", "valueAxisTitleStyle", "valueAxisTitleRotationDeg", "valueAxisLabelStyle", "valueAxisLabelRotationDeg", "valueAxisHidden", "valueAxisMajorGridlines", "valueAxisMinorGridlines", "valueAxisMajorGridlineColor", "valueAxisMinorGridlineColor", "valueAxisMajorGridlineWidthEmu", "valueAxisMinorGridlineWidthEmu", "valueAxisMajorTickMark", "valueAxisMinorTickMark", "valueAxisTickLabelPos", "valueAxisLineColor", "valueAxisLineWidthEmu", "valueAxisLineHidden", "valueAxisOrientation", "valueAxisCrosses", "valueAxisCrossBetween", "categoryAxisTitle", "categoryAxisTitleStyle", "categoryAxisTitleRotationDeg", "categoryAxisLabelStyle", "categoryAxisLabelRotationDeg", "categoryAxisHidden", "categoryAxisMajorGridlines", "categoryAxisMinorGridlines", "categoryAxisMajorGridlineColor", "categoryAxisMinorGridlineColor", "categoryAxisMajorGridlineWidthEmu", "categoryAxisMinorGridlineWidthEmu", "categoryAxisMajorTickMark", "categoryAxisMinorTickMark", "categoryAxisTickLabelPos", "categoryAxisLineColor", "categoryAxisLineWidthEmu", "categoryAxisLineHidden", "categoryAxisOrientation", "categoryAxisNumberFormat", "categoryAxisTickLabelSkip", "categoryAxisTickMarkSkip", "categoryAxisLabelOffset", "categoryAxisLabelAlign", "categoryAxisNoMultiLevelLabel", "categoryAxisDate", "categoryAxisScaling", "categoryGroupLevels", "dataTable", "dropLines", "hiLowLines"];
|
|
3173
|
+
readonly candlestick: readonly ["categories", "title", "titleStyle", "titleOverlay", "titleLayout", "dataLabels", "legend", "plotAreaLayout", "plotAreaFill", "plotAreaStrokeColor", "chartAreaFill", "chartAreaStrokeColor", "plotVisibleCellsOnly", "dispBlanksAs", "date1904", "language", "roundedCorners", "chartStyle", "varyColors", "valueAxis", "valueAxisTitle", "valueAxisTitleStyle", "valueAxisTitleRotationDeg", "valueAxisLabelStyle", "valueAxisLabelRotationDeg", "valueAxisHidden", "valueAxisMajorGridlines", "valueAxisMinorGridlines", "valueAxisMajorGridlineColor", "valueAxisMinorGridlineColor", "valueAxisMajorGridlineWidthEmu", "valueAxisMinorGridlineWidthEmu", "valueAxisMajorTickMark", "valueAxisMinorTickMark", "valueAxisTickLabelPos", "valueAxisLineColor", "valueAxisLineWidthEmu", "valueAxisLineHidden", "valueAxisOrientation", "valueAxisCrosses", "valueAxisCrossBetween", "categoryAxisTitle", "categoryAxisTitleStyle", "categoryAxisTitleRotationDeg", "categoryAxisLabelStyle", "categoryAxisLabelRotationDeg", "categoryAxisHidden", "categoryAxisMajorGridlines", "categoryAxisMinorGridlines", "categoryAxisMajorGridlineColor", "categoryAxisMinorGridlineColor", "categoryAxisMajorGridlineWidthEmu", "categoryAxisMinorGridlineWidthEmu", "categoryAxisMajorTickMark", "categoryAxisMinorTickMark", "categoryAxisTickLabelPos", "categoryAxisLineColor", "categoryAxisLineWidthEmu", "categoryAxisLineHidden", "categoryAxisOrientation", "categoryAxisNumberFormat", "categoryAxisTickLabelSkip", "categoryAxisTickMarkSkip", "categoryAxisLabelOffset", "categoryAxisLabelAlign", "categoryAxisNoMultiLevelLabel", "categoryAxisDate", "categoryAxisScaling", "categoryGroupLevels", "dataTable", "dropLines", "hiLowLines", "upDownBars"];
|
|
3174
|
+
readonly surface: readonly ["categories", "title", "titleStyle", "titleOverlay", "titleLayout", "dataLabels", "legend", "plotAreaLayout", "plotAreaFill", "plotAreaStrokeColor", "chartAreaFill", "chartAreaStrokeColor", "plotVisibleCellsOnly", "dispBlanksAs", "date1904", "language", "roundedCorners", "chartStyle", "varyColors", "valueAxis", "valueAxisTitle", "valueAxisTitleStyle", "valueAxisTitleRotationDeg", "valueAxisLabelStyle", "valueAxisLabelRotationDeg", "valueAxisHidden", "valueAxisMajorGridlines", "valueAxisMinorGridlines", "valueAxisMajorGridlineColor", "valueAxisMinorGridlineColor", "valueAxisMajorGridlineWidthEmu", "valueAxisMinorGridlineWidthEmu", "valueAxisMajorTickMark", "valueAxisMinorTickMark", "valueAxisTickLabelPos", "valueAxisLineColor", "valueAxisLineWidthEmu", "valueAxisLineHidden", "valueAxisOrientation", "valueAxisCrosses", "valueAxisCrossBetween", "categoryAxisTitle", "categoryAxisTitleStyle", "categoryAxisTitleRotationDeg", "categoryAxisLabelStyle", "categoryAxisLabelRotationDeg", "categoryAxisHidden", "categoryAxisMajorGridlines", "categoryAxisMinorGridlines", "categoryAxisMajorGridlineColor", "categoryAxisMinorGridlineColor", "categoryAxisMajorGridlineWidthEmu", "categoryAxisMinorGridlineWidthEmu", "categoryAxisMajorTickMark", "categoryAxisMinorTickMark", "categoryAxisTickLabelPos", "categoryAxisLineColor", "categoryAxisLineWidthEmu", "categoryAxisLineHidden", "categoryAxisOrientation", "categoryAxisNumberFormat", "categoryAxisTickLabelSkip", "categoryAxisTickMarkSkip", "categoryAxisLabelOffset", "categoryAxisLabelAlign", "categoryAxisNoMultiLevelLabel", "categoryAxisDate", "categoryAxisScaling", "categoryGroupLevels", "dataTable", "surfaceContour", "surfaceWireframe", "view3D", "seriesAxis"];
|
|
3175
|
+
};
|
|
3176
|
+
/** Name of one arm of {@link ChartSpec}. */
|
|
3177
|
+
type ChartVariant = keyof typeof VARIANT_FIELDS;
|
|
3178
|
+
type VariantField<V extends ChartVariant> = (typeof VARIANT_FIELDS)[V][number];
|
|
3179
|
+
/**
|
|
3180
|
+
* Series channels and combo placement are the only parts of a series that
|
|
3181
|
+
* depend on the chart kind; name, styling and per-point overrides are shared.
|
|
3182
|
+
*/
|
|
3183
|
+
type ChartSeriesCommon = Omit<ChartSeries, 'xValues' | 'bubbleSizes' | 'chartKind' | 'secondaryAxis'>;
|
|
3184
|
+
/** A series plotted as one value channel against the categories. */
|
|
3185
|
+
type PlainChartSeries = ChartSeriesCommon & {
|
|
3186
|
+
readonly xValues?: never;
|
|
3187
|
+
readonly bubbleSizes?: never;
|
|
3188
|
+
readonly chartKind?: never;
|
|
3189
|
+
readonly secondaryAxis?: never;
|
|
3190
|
+
};
|
|
3191
|
+
/**
|
|
3192
|
+
* A series on a bar / column / line / area chart. Those four share a plot
|
|
3193
|
+
* area, so a series can be drawn as another of them (`chartKind`) or moved
|
|
3194
|
+
* to the secondary value axis.
|
|
3195
|
+
*/
|
|
3196
|
+
type ComboChartSeries = ChartSeriesCommon & {
|
|
3197
|
+
readonly xValues?: never;
|
|
3198
|
+
readonly bubbleSizes?: never;
|
|
3199
|
+
readonly chartKind?: 'bar' | 'column' | 'line' | 'area';
|
|
3200
|
+
readonly secondaryAxis?: boolean;
|
|
3201
|
+
};
|
|
3202
|
+
/** A scatter series: an x channel paired with the y channel. */
|
|
3203
|
+
type ScatterChartSeries = ChartSeriesCommon & {
|
|
3204
|
+
readonly xValues: ReadonlyArray<number | null>;
|
|
3205
|
+
readonly bubbleSizes?: never;
|
|
3206
|
+
readonly chartKind?: never;
|
|
3207
|
+
readonly secondaryAxis?: never;
|
|
3208
|
+
};
|
|
3209
|
+
/** A bubble series: x, y, and the size channel that scales each bubble. */
|
|
3210
|
+
type BubbleChartSeries = ChartSeriesCommon & {
|
|
3211
|
+
readonly xValues: ReadonlyArray<number | null>;
|
|
3212
|
+
readonly bubbleSizes: ReadonlyArray<number | null>;
|
|
3213
|
+
readonly chartKind?: never;
|
|
3214
|
+
readonly secondaryAxis?: never;
|
|
3215
|
+
};
|
|
3216
|
+
/**
|
|
3217
|
+
* A category axis is either discrete — optionally grouped into outer
|
|
3218
|
+
* levels — or a date axis. Only a numeric axis has a scale, so
|
|
3219
|
+
* `categoryAxisScaling` rides with the date form.
|
|
3220
|
+
*/
|
|
3221
|
+
type CategoryAxisMode = {
|
|
3222
|
+
readonly categoryAxisDate: ChartDateAxis; /** Date-serial range of the axis; only `min` / `max` apply. */
|
|
3223
|
+
readonly categoryAxisScaling?: ChartAxisScaling;
|
|
3224
|
+
readonly categoryGroupLevels?: never;
|
|
3225
|
+
} | {
|
|
3226
|
+
readonly categoryAxisDate?: never;
|
|
3227
|
+
readonly categoryAxisScaling?: never;
|
|
3228
|
+
readonly categoryGroupLevels?: ReadonlyArray<ReadonlyArray<string>>;
|
|
3229
|
+
};
|
|
3230
|
+
/**
|
|
3231
|
+
* A bar / column / line / area chart. Because the four share a plot area,
|
|
3232
|
+
* every series-level and group-level control of the family is available
|
|
3233
|
+
* whichever of them is the base kind — that is what makes a combo chart.
|
|
3234
|
+
*/
|
|
3235
|
+
type ComboChartSpec = Fields<VariantField<'combo'>> & CategoryAxisMode & {
|
|
3236
|
+
readonly kind: 'bar' | 'column' | 'line' | 'area';
|
|
3237
|
+
readonly series: ReadonlyArray<ComboChartSeries>;
|
|
3238
|
+
};
|
|
3239
|
+
/** A 3-D bar / column chart (`<c:bar3DChart>`). */
|
|
3240
|
+
type Bar3DChartSpec = Fields<VariantField<'bar3D'>> & CategoryAxisMode & {
|
|
3241
|
+
readonly kind: 'bar' | 'column';
|
|
3242
|
+
readonly series: ReadonlyArray<PlainChartSeries>; /** Its presence is what selects the 3-D element; a combo cannot be 3-D. */
|
|
3243
|
+
readonly view3D: ChartView3D;
|
|
3244
|
+
};
|
|
3245
|
+
/**
|
|
3246
|
+
* A 3-D line / area chart. High-low lines, up/down bars and point markers
|
|
3247
|
+
* have no 3-D element to live in.
|
|
3248
|
+
*/
|
|
3249
|
+
type LineArea3DChartSpec = Fields<VariantField<'lineArea3D'>> & CategoryAxisMode & {
|
|
3250
|
+
readonly kind: 'line' | 'area';
|
|
3251
|
+
readonly series: ReadonlyArray<PlainChartSeries>;
|
|
3252
|
+
readonly view3D: ChartView3D;
|
|
3253
|
+
};
|
|
3254
|
+
/** A pie chart. One series, one slice per category. */
|
|
3255
|
+
type PieChartSpec = Fields<VariantField<'pie'>> & {
|
|
3256
|
+
readonly kind: 'pie';
|
|
3257
|
+
readonly series: readonly [PlainChartSeries];
|
|
3258
|
+
};
|
|
3259
|
+
/** A pie-of-pie / bar-of-pie chart (`<c:ofPieChart>`). */
|
|
3260
|
+
type OfPieChartSpec = Fields<VariantField<'ofPie'>> & {
|
|
3261
|
+
readonly kind: 'pie';
|
|
3262
|
+
readonly series: readonly [PlainChartSeries];
|
|
3263
|
+
readonly ofPie: ChartOfPie;
|
|
3264
|
+
};
|
|
3265
|
+
/** A 3-D pie (`<c:pie3DChart>`), which turns with the camera rather than `firstSliceAngleDeg`. */
|
|
3266
|
+
type Pie3DChartSpec = Fields<VariantField<'pie3D'>> & {
|
|
3267
|
+
readonly kind: 'pie';
|
|
3268
|
+
readonly series: readonly [PlainChartSeries];
|
|
3269
|
+
readonly view3D: ChartView3D;
|
|
3270
|
+
};
|
|
3271
|
+
/** A doughnut chart. */
|
|
3272
|
+
type DoughnutChartSpec = Fields<VariantField<'doughnut'>> & {
|
|
3273
|
+
readonly kind: 'doughnut';
|
|
3274
|
+
readonly series: readonly [PlainChartSeries];
|
|
3275
|
+
};
|
|
3276
|
+
/** A scatter chart: both axes are numeric, so there are no categories to group. */
|
|
3277
|
+
type ScatterChartSpec = Fields<VariantField<'scatter'>> & {
|
|
3278
|
+
readonly kind: 'scatter';
|
|
3279
|
+
readonly series: ReadonlyArray<ScatterChartSeries>;
|
|
3280
|
+
};
|
|
3281
|
+
/** A bubble chart: a scatter chart whose third channel scales each marker. */
|
|
3282
|
+
type BubbleChartSpec = Fields<VariantField<'bubble'>> & {
|
|
3283
|
+
readonly kind: 'bubble';
|
|
3284
|
+
readonly series: ReadonlyArray<BubbleChartSeries>;
|
|
3285
|
+
};
|
|
3286
|
+
/** A radar chart. */
|
|
3287
|
+
type RadarChartSpec = Fields<VariantField<'radar'>> & CategoryAxisMode & {
|
|
3288
|
+
readonly kind: 'radar';
|
|
3289
|
+
readonly series: ReadonlyArray<PlainChartSeries>;
|
|
3290
|
+
};
|
|
3291
|
+
/** A stock chart plotted from high, low and close. */
|
|
3292
|
+
type StockChartSpec = Fields<VariantField<'stock'>> & CategoryAxisMode & {
|
|
3293
|
+
readonly kind: 'stock';
|
|
3294
|
+
readonly series: readonly [PlainChartSeries, PlainChartSeries, PlainChartSeries];
|
|
3295
|
+
};
|
|
3296
|
+
/**
|
|
3297
|
+
* A candlestick chart: a stock chart with an open series, whose up / down
|
|
3298
|
+
* bars span open → close.
|
|
3299
|
+
*/
|
|
3300
|
+
type CandlestickChartSpec = Fields<VariantField<'candlestick'>> & CategoryAxisMode & {
|
|
3301
|
+
readonly kind: 'stock';
|
|
3302
|
+
readonly series: readonly [PlainChartSeries, PlainChartSeries, PlainChartSeries, PlainChartSeries];
|
|
3303
|
+
};
|
|
3304
|
+
/** A surface chart. Its three axes make `view3D` a camera, not a subtype switch. */
|
|
3305
|
+
type SurfaceChartSpec = Fields<VariantField<'surface'>> & CategoryAxisMode & {
|
|
3306
|
+
readonly kind: 'surface';
|
|
3307
|
+
readonly series: ReadonlyArray<PlainChartSeries>;
|
|
3308
|
+
};
|
|
3309
|
+
/**
|
|
3310
|
+
* A chart this library can draw. Each kind carries only the fields its
|
|
3311
|
+
* OOXML element has, so a field the chart cannot show is a compile error
|
|
3312
|
+
* rather than a value that serializes into nothing — or into a deck
|
|
3313
|
+
* PowerPoint offers to repair.
|
|
3314
|
+
*
|
|
3315
|
+
* `readChartSpec` returns the permissive `ReadChartSpec` instead, because a
|
|
3316
|
+
* deck authored elsewhere can combine fields no kind allows; narrow one back
|
|
3317
|
+
* with {@link isChartSpec}.
|
|
3318
|
+
*/
|
|
3319
|
+
type ChartSpec = ComboChartSpec | Bar3DChartSpec | LineArea3DChartSpec | PieChartSpec | OfPieChartSpec | Pie3DChartSpec | DoughnutChartSpec | ScatterChartSpec | BubbleChartSpec | RadarChartSpec | StockChartSpec | CandlestickChartSpec | SurfaceChartSpec;
|
|
3320
|
+
/**
|
|
3321
|
+
* Whether a spec read back from a deck also inhabits the write-side
|
|
3322
|
+
* {@link ChartSpec}. A deck authored elsewhere can combine fields no kind
|
|
3323
|
+
* draws, so a read-modify-write pass has to narrow before it writes.
|
|
3324
|
+
*/
|
|
3325
|
+
declare const isChartSpec: (spec: ReadChartSpec) => spec is ChartSpec;
|
|
3326
|
+
//#endregion
|
|
3073
3327
|
//#region src/api/fn/charts.d.ts
|
|
3074
3328
|
declare const addSlideChart: (slide: SlideData, opts: {
|
|
3075
3329
|
spec: ChartSpec;
|
|
@@ -3087,7 +3341,7 @@ declare const addSlideChart: (slide: SlideData, opts: {
|
|
|
3087
3341
|
*/
|
|
3088
3342
|
interface SlideChartData {
|
|
3089
3343
|
readonly shape: SlideShapeData;
|
|
3090
|
-
readonly spec:
|
|
3344
|
+
readonly spec: ReadChartSpec | null;
|
|
3091
3345
|
}
|
|
3092
3346
|
/**
|
|
3093
3347
|
* Replaces the chart definition on an existing graphic-frame chart
|
|
@@ -3148,7 +3402,7 @@ declare const getShapeChartSeriesNames: (shape: SlideShapeData) => ReadonlyArray
|
|
|
3148
3402
|
* `series[].bubbleSizes`).
|
|
3149
3403
|
*/
|
|
3150
3404
|
declare const getShapeChartSeriesValues: (shape: SlideShapeData, seriesName: string) => ReadonlyArray<number | null> | null;
|
|
3151
|
-
declare const getShapeChartSpec: (shape: SlideShapeData) =>
|
|
3405
|
+
declare const getShapeChartSpec: (shape: SlideShapeData) => ReadChartSpec | null;
|
|
3152
3406
|
/**
|
|
3153
3407
|
* Returns every chart on the slide that carries a series whose name
|
|
3154
3408
|
* equals `seriesName` exactly. Useful for "find the revenue chart"
|
|
@@ -3517,7 +3771,7 @@ interface TableCellParagraph {
|
|
|
3517
3771
|
* Literal format of the paragraph-end mark (`<a:endParaRPr>`), or `null`
|
|
3518
3772
|
* when absent — the only format a paragraph with no `elements` carries.
|
|
3519
3773
|
*/
|
|
3520
|
-
readonly endFormat:
|
|
3774
|
+
readonly endFormat: ReadTextFormat | null;
|
|
3521
3775
|
}
|
|
3522
3776
|
/**
|
|
3523
3777
|
* Reads a cell's text as structured paragraphs — each carrying its
|
|
@@ -3535,7 +3789,7 @@ interface TableCellParagraph {
|
|
|
3535
3789
|
*/
|
|
3536
3790
|
declare const getTableCellParagraphs: (cell: TableCellData) => ReadonlyArray<TableCellParagraph>;
|
|
3537
3791
|
/** Sets a solid background color on a cell (`<a:tcPr><a:solidFill>`). */
|
|
3538
|
-
declare const setTableCellFill: (cell: TableCellData, color:
|
|
3792
|
+
declare const setTableCellFill: (cell: TableCellData, color: Color) => void;
|
|
3539
3793
|
/** Removes any background fill from a cell. */
|
|
3540
3794
|
declare const clearTableCellFill: (cell: TableCellData) => void;
|
|
3541
3795
|
/**
|
|
@@ -4007,7 +4261,7 @@ declare const setSlideTitle: (slide: SlideData, title: string) => void;
|
|
|
4007
4261
|
* Useful for template-fill workflows where the caller has all the
|
|
4008
4262
|
* data in one struct.
|
|
4009
4263
|
*/
|
|
4010
|
-
declare const setSlidePlaceholders: (slide: SlideData, byType: Readonly<Record<
|
|
4264
|
+
declare const setSlidePlaceholders: (slide: SlideData, byType: Readonly<Partial<Record<PlaceholderType, string>>>) => void;
|
|
4011
4265
|
/**
|
|
4012
4266
|
* Writes `text` into the first body placeholder on the slide.
|
|
4013
4267
|
* Newlines start a new paragraph (each becomes its own bullet on
|
|
@@ -4041,15 +4295,15 @@ declare const getShapeParagraphCount: (shape: SlideShapeData) => number;
|
|
|
4041
4295
|
type ShapeParagraphElement = {
|
|
4042
4296
|
readonly kind: 'r';
|
|
4043
4297
|
readonly text: string;
|
|
4044
|
-
readonly format:
|
|
4298
|
+
readonly format: ReadTextFormat | null;
|
|
4045
4299
|
} | {
|
|
4046
4300
|
readonly kind: 'fld';
|
|
4047
4301
|
readonly text: string;
|
|
4048
|
-
readonly format:
|
|
4302
|
+
readonly format: ReadTextFormat | null;
|
|
4049
4303
|
readonly type: string | null;
|
|
4050
4304
|
} | {
|
|
4051
4305
|
readonly kind: 'br';
|
|
4052
|
-
readonly format:
|
|
4306
|
+
readonly format: ReadTextFormat | null;
|
|
4053
4307
|
};
|
|
4054
4308
|
/**
|
|
4055
4309
|
* Returns the inline children of a paragraph in document order — runs,
|
|
@@ -4063,7 +4317,7 @@ declare const getShapeParagraphElements: (shape: SlideShapeData, paragraphIndex:
|
|
|
4063
4317
|
* `null` when the paragraph carries none. It is the only format a paragraph
|
|
4064
4318
|
* with no runs carries. The write side is `setShapeParagraphs`' `endFormat`.
|
|
4065
4319
|
*/
|
|
4066
|
-
declare const getParagraphEndFormat: (shape: SlideShapeData, paragraphIndex: number) =>
|
|
4320
|
+
declare const getParagraphEndFormat: (shape: SlideShapeData, paragraphIndex: number) => ReadTextFormat | null;
|
|
4067
4321
|
/**
|
|
4068
4322
|
* Number of text runs in the given paragraph. Throws on out-of-range
|
|
4069
4323
|
* paragraph index or non-text shapes.
|
|
@@ -4131,7 +4385,7 @@ declare const setParagraphAlignment: (shape: SlideShapeData, paragraphIndex: num
|
|
|
4131
4385
|
* Used in tandem with bullets to author nested lists:
|
|
4132
4386
|
*
|
|
4133
4387
|
* setShapeText(shape, 'Item 1\nNested\nItem 2');
|
|
4134
|
-
*
|
|
4388
|
+
* setShapeBulletStyle(shape, 'bullet');
|
|
4135
4389
|
* setParagraphLevel(shape, 1, 1); // indent the second line
|
|
4136
4390
|
*/
|
|
4137
4391
|
declare const setParagraphLevel: (shape: SlideShapeData, paragraphIndex: number, level: number) => void;
|
|
@@ -4273,7 +4527,7 @@ declare const getParagraphBulletStyle: (pres: PresentationData, shape: SlideShap
|
|
|
4273
4527
|
};
|
|
4274
4528
|
/**
|
|
4275
4529
|
* Sets the bullet style on a single paragraph. Same `BulletStyle` shape
|
|
4276
|
-
* as `
|
|
4530
|
+
* as `setShapeBulletStyle` — pass `'bullet'` / `'number'` / `'none'` or an
|
|
4277
4531
|
* object like `{ char: '◆' }` / `{ autoNum: 'romanLcPeriod' }`.
|
|
4278
4532
|
*/
|
|
4279
4533
|
declare const setParagraphBullet: (shape: SlideShapeData, paragraphIndex: number, style: BulletStyle) => void;
|
|
@@ -4417,10 +4671,10 @@ declare const resolveDrawingColorOpacity: (colorEl: XmlElement) => number | null
|
|
|
4417
4671
|
* Use `getShapeRunFormatEffective` if you want the resolved format
|
|
4418
4672
|
* after walking the placeholder / lstStyle / master inheritance chain.
|
|
4419
4673
|
*/
|
|
4420
|
-
declare const getShapeRunFormat: (shape: SlideShapeData, paragraphIndex: number, runIndex: number) =>
|
|
4674
|
+
declare const getShapeRunFormat: (shape: SlideShapeData, paragraphIndex: number, runIndex: number) => ReadTextFormat | null;
|
|
4421
4675
|
//#endregion
|
|
4422
4676
|
//#region src/api/fn/shape-paragraph.d.ts
|
|
4423
|
-
declare const getShapeRunFormatEffective: (pres: PresentationData, shape: SlideShapeData, paragraphIndex: number, runIndex: number) =>
|
|
4677
|
+
declare const getShapeRunFormatEffective: (pres: PresentationData, shape: SlideShapeData, paragraphIndex: number, runIndex: number) => ReadTextFormat;
|
|
4424
4678
|
/** Effective paragraph properties returned by `getParagraphPropertiesEffective`. */
|
|
4425
4679
|
interface ParagraphProperties {
|
|
4426
4680
|
/** Horizontal alignment per `ParagraphAlignment`. */
|
|
@@ -4596,7 +4850,7 @@ declare const addSlideLine: (slide: SlideData, opts: {
|
|
|
4596
4850
|
x: Emu;
|
|
4597
4851
|
y: Emu;
|
|
4598
4852
|
};
|
|
4599
|
-
color?:
|
|
4853
|
+
color?: Color;
|
|
4600
4854
|
widthEmu?: number;
|
|
4601
4855
|
name?: string;
|
|
4602
4856
|
}) => SlideShapeData;
|
|
@@ -4716,7 +4970,7 @@ declare const findSlideLayout: (pres: PresentationData, name: string | RegExp) =
|
|
|
4716
4970
|
* `'ftr'`, etc.). Useful for "find every layout that can host a
|
|
4717
4971
|
* body" lookups before `addSlide`.
|
|
4718
4972
|
*/
|
|
4719
|
-
declare const findLayoutsWithPlaceholderType: (pres: PresentationData, type:
|
|
4973
|
+
declare const findLayoutsWithPlaceholderType: (pres: PresentationData, type: PlaceholderType) => ReadonlyArray<SlideLayoutData>;
|
|
4720
4974
|
/**
|
|
4721
4975
|
* Finds the first slide layout with the given `<p:sldLayout type="...">`
|
|
4722
4976
|
* token. Unlike `findSlideLayout` (which matches the user-visible
|
|
@@ -5510,7 +5764,7 @@ declare const getSlideMasterBackgroundPatternFill: (pres: PresentationData, layo
|
|
|
5510
5764
|
* `<p:bgPr><a:gradFill>`. Same shape as `getSlideBackgroundGradientFill`
|
|
5511
5765
|
* for slides.
|
|
5512
5766
|
*/
|
|
5513
|
-
declare const getSlideLayoutBackgroundGradientFill: (layout: SlideLayoutData) =>
|
|
5767
|
+
declare const getSlideLayoutBackgroundGradientFill: (layout: SlideLayoutData) => ReadGradientFill | null;
|
|
5514
5768
|
/**
|
|
5515
5769
|
* Reads the slide master's gradient background when present. Mirrors
|
|
5516
5770
|
* `getSlideLayoutBackgroundGradientFill`; returns `null` for any other
|
|
@@ -5518,7 +5772,7 @@ declare const getSlideLayoutBackgroundGradientFill: (layout: SlideLayoutData) =>
|
|
|
5518
5772
|
* report `'gradient'` inherit can now get the master's gradient
|
|
5519
5773
|
* projected via `gradientDef`.
|
|
5520
5774
|
*/
|
|
5521
|
-
declare const getSlideMasterBackgroundGradientFill: (pres: PresentationData, layout: SlideLayoutData) =>
|
|
5775
|
+
declare const getSlideMasterBackgroundGradientFill: (pres: PresentationData, layout: SlideLayoutData) => ReadGradientFill | null;
|
|
5522
5776
|
/**
|
|
5523
5777
|
* Reads the slide master's background. Same discriminated union as
|
|
5524
5778
|
* `getSlideBackground` / `getSlideLayoutBackground`. Walks one rel up
|
|
@@ -5537,7 +5791,7 @@ declare const getSlideLayoutBackground: (layout: SlideLayoutData) => SlideBackgr
|
|
|
5537
5791
|
* background kind. Shape identical to `getShapeGradientFill` so renderers
|
|
5538
5792
|
* can use the same projection logic for slide backgrounds.
|
|
5539
5793
|
*/
|
|
5540
|
-
declare const getSlideBackgroundGradientFill: (slide: SlideData) =>
|
|
5794
|
+
declare const getSlideBackgroundGradientFill: (slide: SlideData) => ReadGradientFill | null;
|
|
5541
5795
|
/**
|
|
5542
5796
|
* Returns the pattern preset + theme-resolved colors when the slide
|
|
5543
5797
|
* carries a `<p:bgPr><a:pattFill>` background. Returns `null` for any
|
|
@@ -5571,7 +5825,7 @@ declare const getSlideLayoutBackgroundImageBytes: (pres: PresentationData, layou
|
|
|
5571
5825
|
*/
|
|
5572
5826
|
declare const getSlideMasterBackgroundImageBytes: (pres: PresentationData, layout: SlideLayoutData) => Uint8Array | null;
|
|
5573
5827
|
/** Sets a solid fill on the slide's background. */
|
|
5574
|
-
declare const setSlideBackground: (slide: SlideData, color:
|
|
5828
|
+
declare const setSlideBackground: (slide: SlideData, color: Color) => void;
|
|
5575
5829
|
/**
|
|
5576
5830
|
* Sets a picture as the slide's background. Embeds `bytes` as a new
|
|
5577
5831
|
* media part, wires a slide → image rel, and replaces any prior
|
|
@@ -5617,7 +5871,7 @@ declare const resolveDeckBodyTextColor: (slide: SlideData) => string | null;
|
|
|
5617
5871
|
* `<p:transition>` is present). The returned shape mirrors what
|
|
5618
5872
|
* `setSlideTransition` accepts.
|
|
5619
5873
|
*/
|
|
5620
|
-
declare const getSlideTransition: (slide: SlideData) =>
|
|
5874
|
+
declare const getSlideTransition: (slide: SlideData) => SlideTransition | null;
|
|
5621
5875
|
/** Sets the slide's transition effect. */
|
|
5622
5876
|
declare const setSlideTransition: (slide: SlideData, options: TransitionOptions) => void;
|
|
5623
5877
|
/** Removes any existing transition on the slide. */
|
|
@@ -5939,5 +6193,5 @@ declare const SLIDE_SIZE_16_10: SlideSize;
|
|
|
5939
6193
|
//#region src/api/index.d.ts
|
|
5940
6194
|
declare const VERSION: string;
|
|
5941
6195
|
//#endregion
|
|
5942
|
-
export { SlideBackground as $, getShapeChartSeriesValues as $a, getShapeCustomGeometry as $c, TableCellBorders as $i, createPresentation as $l, addSlideLine as $n, appendShapeText as $o, setShapeRunText as $r, getShapeGradientFillEffective as $s, getPresentationShapeCountsBySlide as $t, getPresentationHyperlinkCountsBySlide as A, setTableCellAnchor as Aa, getShapeIndex as Ac, isShapeImageGrayscale as Ai, GeomPoint as Al, ExtendedProperties as An, clearSlideComments as Ao, getParagraphBullet as Ar, clearShapeFill as As, addSectionHeaderSlide as At, getSlidesWithNotes as B, setTableStyleFlags as Ba, ShapeBounds as Bc, getMediaParts as Bi, PatternFillOptions as Bl, findLayoutsWithPlaceholderType as Bn, getCommentPosition as Bo, getShapeParagraphElements as Br, setShapeNoFill as Bs, reverseSlides as Bt, getAllHyperlinks as C, insertTableRow as Ca, findShapesByName as Cc, getShapeImageFillBytes as Ci, setShapeBounds as Cl, setSlideHidden as Cn, ShapeClickAction as Co, PresentationTheme as Cr, clearShapeEffects as Cs, addSlideMedia as Ct, mm as Cu, getDistinctHyperlinkUrls as D, removeTableColumn as Da, findSlidePlaceholder as Dc, getShapeImagePartName as Di, CustomGeometry as Dl, removeThumbnail as Dn, setShapeImage as Do, setPresentationTheme as Dr, getShapeEffectsEffective as Ds, ungroupShapes as Dt, getAllTables as E, mergeTableCells as Ea, findShapesWithHyperlinks as Ec, getShapeImageOpacity as Ei, shapesOverlap as El, getThumbnail as En, ImageFit as Eo, setPresentationFonts as Er, getShapeEffects as Es, groupShapes as Et, getSlideNotesLength as F, setTableCellText as Fa, getSlideShapes as Fc, MediaPart as Fi, LineEndType as Fl, incrementRevision as Fn, findCommentsByText as Fo, getParagraphLevel as Fr, setShapeAdjustValues as Fs, duplicateSlideAt as Ft, removeSlideNotes as G, findChartsBySeriesName as Ga, getGroupTransform as Gc, listPackageParts as Gi, ParagraphSpec as Gl, getSlideLayoutPartName as Gn, getPresentationCommentCountsBySlide as Go, getShapeRunText as Gr, setShapeSize as Gs, SlideOutlineEntry as Gt, getSlidesWithTables as H, SlideChartData as Ha, findShapesAtPoint as Hc, getPackageSize as Hi, BulletStyle as Hl, findSlideLayoutByPartName as Hn, getCommentText as Ho, getShapeRunCount as Hr, setShapePatternFill as Hs, swapSlides as Ht, getSlidesWithCharts as I, setTableCellTextDirection as Ia, getSlidesWithEmptyPlaceholders as Ic, PackagePartInfo as Ii, GlowOptions as Il, setCoreProperties as In, findSlidesWithCommentsByAuthor as Io, getParagraphLineSpacing as Ir, setShapeFill as Is, importSlide as It, clearSlideTransition as J, getPresentationChartCountsBySlide as Ja, getShapeAdjustValues as Jc, slidesUsingMediaPart as Ji, SlideSection as Jl, getSlideLayoutUsageCounts as Jn, getSlideComments as Jo, setParagraphBullet as Jr, setShapeStrokeCap as Js, findSlideByTitle as Jt, replaceHyperlink as K, findChartsWithDataLabels as Ka, getMaxShapeId as Kc, readPackagePart as Ki, RunSpec as Kl, getSlideLayoutPlaceholders as Kn, getPresentationCommenters as Ko, isParagraphBulletPicture as Kr, setShapeStroke as Ks, findSlideByPartName as Kt, getSlidesWithComments as L, setTableCellTextFormat as La, replaceTokensInSlide as Lc, PresentationSummary as Li, ShadowOptions as Ll, setExtendedProperties as Ln, getCommentAuthor as Lo, getParagraphSpacing as Lr, setShapeFlip as Ls, mergePresentations as Lt, getPresentationNotesLengthsBySlide as M, setTableCellFill as Ma, getShapeXmlString as Mc, setShapeImageContrast as Mi, ArrowOptions as Ml, getExtendedProperties as Mn, findCommentsAfter as Mo, getParagraphBulletStyle as Mr, getShapePatternFill as Ms, addSlideAt as Mt, getPresentationNotesText as N, setTableCellMargins as Na, getShapesBounds as Nc, setShapeImageCrop as Ni, LineDash as Nl, getPresentationCreated as Nn, findCommentsBefore as No, getParagraphEndFormat as Nr, getShapeStrokeArrow as Ns, addTitleSlide as Nt, getEmptySlides as O, removeTableRow as Oa, findSlidePlaceholderByIdx as Oc, hasShapeImage as Oi, GeomCommand as Ol, setThumbnail as On, addSlideComment as Oo, ShapeParagraphElement as Or, setShapeGlow as Os, addBlankSlide as Ot, getSlideNotes as P, setTableCellParagraphs as Pa, getSlideLayout as Pc, setShapeImageOpacity as Pi, LineEndSize as Pl, getPresentationModified as Pn, findCommentsByAuthor as Po, getParagraphIndent as Pr, getShapeStrokeDash as Ps, duplicateSlide as Pt, resolveDeckBodyTextColor as Q, getShapeChartSeriesNames as Qa, getShapeCenter as Qc, TableCellBorder as Qi, PresentationSize as Ql, addSlideImage as Qn, TextWrap as Qo, setShapeRunHyperlink as Qr, getShapeGradientFill as Qs, getOutlineText as Qt, getSlidesWithHyperlinks as R, setTableColumnWidth as Ra, setSlideLayout as Rc, _internalPackageOf as Ri, GradientFillOptions as Rl, touchModified as Rn, getCommentAuthors as Ro, getShapeHyperlinkTooltip as Rr, setShapeGradientFill as Rs, moveSlide as Rt, getAllComments as S, insertTableColumn as Sa, findShapesByKind as Sc, getShapeImageDuotone as Si, setShapeAltTitle as Sl, searchSlides as Sn, ChartView3D as So, PresentationFontsInput as Sr, ShapeEffectAny as Ss, SlideMediaSource as St, inches as Su, getAllNotes as T, isTableShape as Ta, findShapesByText as Tc, getShapeImageLinkUrl as Ti, setShapeHidden as Tl, PresentationThumbnail as Tn, setShapeClickAction as To, getPresentationTheme as Tr, getShapeEffect as Ts, getShapeMedia as Tt, getVisibleSlides as U, addSlideChart as Ua, findShapesInRect as Uc, getPresentationSummary as Ui, ParagraphAlignment as Ul, findSlideLayoutByType as Un, getCommentsSortedByDate as Uo, getShapeRunHyperlink as Ur, setShapePosition as Us, AllShapesEntry as Ut, getSlidesWithOverlap as V, setTableStyleId as Va, centerShapeOnSlide as Vc, getOrphanMediaPartNames as Vi, PatternPreset as Vl, findSlideLayout as Vn, getCommentSlide as Vo, getShapeRunClickAction as Vr, setShapeNoStroke as Vs, sortSlides as Vt, hasSlideNotes as W, findChartByKind as Wa, getGroupChildren as Wc, getSlideMediaPartNames as Wi, ParagraphAlignmentToken as Wl, getSlideLayoutName as Wn, getPresentationCommentCountsByAuthor as Wo, getShapeRunHyperlinkTooltip as Wr, setShapeRotation as Ws, SlideInfo as Wt, setSlideTransition as X, getShapeChartCategories as Xa, getShapeBounds as Xc, IssueSeverity as Xi, setSlideSections as Xl, getSlideLayouts as Xn, TextAnchor as Xo, setParagraphLineSpacing as Xr, setShapeStrokeDash as Xs, findSlidesByText as Xt, getSlideTransition as Y, getPresentationChartKindCounts as Ya, getShapeAltTitle as Yc, validatePresentation as Yi, getSlideSections as Yl, getSlideLayoutUsageCountsByType as Yn, removeSlideComment as Yo, setParagraphLevel as Yr, setShapeStrokeCompound as Ys, findSlidesByNotes as Yt, getEffectiveColorMap as Z, getShapeChartKind as Za, getShapeBoundsResolved as Zc, ValidationIssue as Zi, PresentationInput as Zl, getUnusedSlideLayouts as Zn, TextAutoFit as Zo, setParagraphSpacing as Zr, setShapeStrokeJoin as Zs, getAllShapes as Zt, clearSlideHyperlinks as _, getTableDimensions as _a, findShapeById as _c, getShapeImageBiLevelThreshold as _i, isShapeHidden as _l, replaceTextInNotes as _n, ChartSpec as _o, setShapeRunFormat as _r, setShapeTextDirection as _s, getSlideMasterShapes as _t, VideoFormat as _u, SlideSize as a, getTableCellAlignment as aa, getShapeFillEffective as ac, clearSlideAnimations as ai, getShapePlaceholderIdx as al, getSlideCount as an, ChartDataLabels as ao, clearSlideShapes as ar, getShapeTextColumns as as, getSlideBackgroundPatternFill as at, SlideLayoutData as au, findSlidesWithChartTrendlines as b, getTableStyleFlags as ba, findShapeInPresentation as bc, getShapeImageContrast as bi, pointInShape as bl, replaceTextInSlideNotes as bn, ChartTrendline as bo, resolveDrawingColorOpacity as br, setShapeTextWrap as bs, ShapeMedia as bt, cm as bu, PresentationChartEntry as c, getTableCellFill as ca, getShapeStrokeCap as cc, setShapeAnimation as ci, getShapePreset as cl, getSlideLayoutCount as cn, ChartErrorBarAmount as co, removeShape as cr, getShapeTextWrap as cs, getSlideLayoutBackgroundGradientFill as ct, CommentAuthor as cu, PresentationImageEntry as d, getTableCellPosition as da, getShapeStrokeCompound as dc, findOverlappingShapePairs as di, getShapeText as dl, getSlideText as dn, ChartKind as do, setShapeZIndex as dr, setShapeParagraphs as ds, getSlideLayoutBackgroundShapes as dt, AnimationEffect as du, TableCellParagraph as ea, ShapeFill as ec, getSlideBody as ei, getShapeDescription as el, getPresentationText as en, getShapeChartSpec as eo, addSlideShape as er, getShapeBodyPrEffective as es, SlideLayoutBackgroundShape as et, loadPresentation as eu, PresentationNotesEntry as f, getTableCellSpan as fa, getShapeStrokeEffective as fc, findShapesOutsideCanvas as fi, getSlideMasterCount as fl, getSlideTextLength as fn, ChartManualLayout as fo, ParagraphProperties as fr, setShapeText as fs, getSlideLayoutShapes as ft, AnimationOptions as fu, clearAllSlideNotes as g, getTableColumnWidths as ga, findEmptyPlaceholders as gc, getPresentationImageCountsBySlide as gi, getUnusedSlideMasters as gl, isSlideHidden as gn, ChartSeriesAxis as go, setShapeHyperlink as gr, setShapeTextColumns as gs, getSlideMasterBackgroundPatternFill as gt, AudioFormat as gu, clearAllHyperlinks as h, getTableCells as ha, getShapeStrokeWidth as hc, findSlidesByLayoutType as hi, getSlideMasterUsageCounts as hl, getSlidesByLayout as hn, ChartSeries as ho, getShapeRunFormatEffective as hr, setShapeTextBodyRotationDeg as hs, getSlideMasterBackgroundImageBytes as ht, PresetShape as hu, SLIDE_SIZE_4_3 as i, getTableCell as ia, getShapeFillColorResolved as ic, setSlideTitle as ii, getShapeName as il, getSlideAt as in, ChartDataLabelPosition as io, bringShapeToFront as ir, getShapeTextBodyRotationDeg as is, getSlideBackgroundImageBytes as it, SlideData as iu, getPresentationNotesLength as j, setTableCellBorders as ja, getShapeSlide as jc, setShapeImageBrightness as ji, PathFillMode as jl, getCoreProperties as jn, findCommentAuthorByName as jo, getParagraphBulletImageBytes as jr, clearShapeStroke as js, addSlide as jt, getHiddenSlides as k, setTableCellAlignment as ka, findSlidePlaceholders as kc, hasShapeText as ki, GeomPath as kl, CoreProperties as kn, clearAllSlideComments as ko, getParagraphAlignment as kr, setShapeShadow as ks, addContentSlide as kt, PresentationCommentEntry as l, getTableCellMargins as la, getShapeStrokeColor as lc, ImageCrop as li, getShapeRotation as ll, getSlideOutline as ln, ChartErrorBars as lo, sendShapeBackward as lr, setShapeAlignment as ls, getSlideLayoutBackgroundImageBytes as lt, CommentPosition as lu, appendSlideNotes as m, getTableCellTextDirection as ma, getShapeStrokeOpacity as mc, findSlidesByLayoutPartName as mi, getSlideMasterPartNames as ml, getSlides as mn, ChartSecondaryValueAxis as mo, getShapeHyperlink as mr, setShapeTextAutoFit as ms, getSlideMasterBackgroundGradientFill as mt, TransitionOptions as mu, SLIDE_SIZE_16_10 as n, getPresentationTableCountsBySlide as na, getShapeFill as nc, setSlideBody as ni, getShapeId as nl, getPresentationTextLengthsBySlide as nn, setChartSpec as no, addSlideTextBox as nr, getShapeTextAutoFit as ns, getSlideBackground as nt, PresentationData as nu, getSlideSize as o, getTableCellAnchor as oa, getShapeFillOpacity as oc, findShapesWithAnimation as oi, getShapePlaceholderType as ol, getSlideIndex as on, ChartDataTable as oo, copyShape as or, getShapeTextDirection as os, getSlideColorMapOverride as ot, SlideShapeData as ou, PresentationTableEntry as p, getTableCellText as pa, getShapeStrokeJoin as pc, findSlidesByLayoutName as pi, getSlideMasterPartName as pl, getSlideXmlString as pn, ChartOfPie as po, getParagraphPropertiesEffective as pr, setShapeTextAnchor as ps, getSlideMasterBackground as pt, TransitionEffect as pu, setSlideNotes as q, findChartsWithTrendlines as qa, getMaxShapeIdInPresentation as qc, setMediaPartBytes as qi, TextFormat as ql, getSlideLayoutType as qn, getSlideCommentAuthors as qo, setParagraphAlignment as qr, setShapeStrokeArrow as qs, findSlideByText as qt, SLIDE_SIZE_16_9 as r, getSlideTables as ra, getShapeFillColor as rc, setSlidePlaceholders as ri, getShapeKind as rl, getShapeAt as rn, ChartAxisScaling as ro, bringShapeForward as rr, getShapeTextAutoFitParams as rs, getSlideBackgroundGradientFill as rt, SlideCommentData as ru, setSlideSize as s, getTableCellBorders as sa, getShapeStroke as sc, getShapeAnimation as si, getShapePosition as sl, getSlideInfo as sn, ChartDateAxis as so, getShapeZIndex as sr, getShapeTextMargins as ss, getSlideLayoutBackground as st, TableCellData as su, VERSION as t, clearTableCellFill as ta, ShapeStroke as tc, getSlideTitle as ti, getShapeFlip as tl, getPresentationTextLength as tn, getSlideCharts as to, addSlideTable as tr, getShapeTextAnchor as ts, clearSlideBackground as tt, savePresentation as tu, PresentationHyperlinkEntry as u, getTableCellParagraphs as ua, getShapeStrokeColorResolved as uc, findFlippedShapes as ui, getShapeSize as ul, getSlidePartName as un, ChartGrouping as uo, sendShapeToBack as ur, setShapeBullets as us, getSlideLayoutBackgroundPatternFill as ut, SlideComment as uu, findSlidesByHyperlink as v, getTableRowHeights as va, findShapeByName as vc, getShapeImageBrightness as vi, isShapePlaceholder as vl, replaceTextInPresentation as vn, ChartTextStyle as vo, getShapeRunFormat as vr, setShapeTextFormat as vs, setSlideBackground as vt, ImageFormat as vu, getAllImages as w, isChartShape as wa, findShapesByPreset as wc, getShapeImageFormat as wi, setShapeDescription as wl, slideHasAnimations as wn, getShapeClickAction as wo, getPresentationFonts as wr, findShapesByEffect as ws, findShapesWithMedia as wt, pt as wu, getAllCharts as x, getTableStyleId as xa, findShapesByHyperlink as xc, getShapeImageCrop as xi, renameShape as xl, replaceTokensInPresentation as xn, ChartUpDownBars as xo, PresentationFonts as xr, ShapeEffect as xs, SlideMediaOptions as xt, emu as xu, findSlidesWithChartKind as y, getTableSize as ya, findShapeByText as yc, getShapeImageBytes as yi, isShapeTextBox as yl, replaceTextInSlide as yn, ChartTimeUnit as yo, resolveDrawingColor as yr, setShapeTextMargins as ys, setSlideBackgroundImage as yt, Emu as yu, getSlidesWithImages as z, setTableRowHeight as za, translateShapes as zc, compactPackage as zi, GradientStop as zl, SlideLayoutPlaceholder as zn, getCommentDate as zo, getShapeParagraphCount as zr, setShapeImageFill as zs, removeSlide as zt };
|
|
5943
|
-
//# sourceMappingURL=index-
|
|
6196
|
+
export { SlideBackground as $, getShapeChartSeriesValues as $a, getShapesBounds as $c, TableCellBorders as $i, loadPresentation as $l, addSlideLine as $n, findCommentsBefore as $o, setShapeRunText as $r, getShapeStrokeArrow as $s, getPresentationShapeCountsBySlide as $t, pt as $u, getPresentationHyperlinkCountsBySlide as A, setTableCellAnchor as Aa, getShapeStrokeColorResolved as Ac, isShapeImageGrayscale as Ai, getShapeSize as Al, ExtendedProperties as An, ChartGrouping as Ao, getParagraphBullet as Ar, setShapeBulletStyle as As, addSectionHeaderSlide as At, ReadGradientFill as Au, getSlidesWithNotes as B, setTableStyleFlags as Ba, findShapeInPresentation as Bc, getMediaParts as Bi, pointInShape as Bl, findLayoutsWithPlaceholderType as Bn, ChartUpDownBars as Bo, getShapeParagraphElements as Br, setShapeTextWrap as Bs, reverseSlides as Bt, HexColor as Bu, getAllHyperlinks as C, insertTableRow as Ca, getShapeFillColor as Cc, getShapeImageFillBytes as Ci, getShapeKind as Cl, setSlideHidden as Cn, ChartAxisScaling as Co, PresentationTheme as Cr, getShapeTextAutoFitParams as Cs, addSlideMedia as Ct, LineEndType as Cu, getDistinctHyperlinkUrls as D, removeTableColumn as Da, getShapeStroke as Dc, getShapeImagePartName as Di, getShapePosition as Dl, removeThumbnail as Dn, ChartDateAxis as Do, setPresentationTheme as Dr, getShapeTextMargins as Ds, ungroupShapes as Dt, GradientStop as Du, getAllTables as E, mergeTableCells as Ea, getShapeFillOpacity as Ec, getShapeImageOpacity as Ei, getShapePlaceholderType as El, getThumbnail as En, ChartDataTable as Eo, setPresentationFonts as Er, getShapeTextDirection as Es, groupShapes as Et, GradientFillOptions as Eu, getSlideNotesLength as F, setTableCellText as Fa, getShapeStrokeWidth as Fc, MediaPart as Fi, getSlideMasterUsageCounts as Fl, incrementRevision as Fn, ChartSeries as Fo, getParagraphLevel as Fr, setShapeTextBodyRotationDeg as Fs, duplicateSlideAt as Ft, ParagraphSpec as Fu, removeSlideNotes as G, findChartsBySeriesName as Ga, findShapesByText as Gc, listPackageParts as Gi, setShapeHidden as Gl, getSlideLayoutPartName as Gn, setShapeClickAction as Go, getShapeRunText as Gr, getShapeEffect as Gs, SlideOutlineEntry as Gt, AudioFormat as Gu, getSlidesWithTables as H, SlideChartData as Ha, findShapesByKind as Hc, getPackageSize as Hi, setShapeAltTitle as Hl, findSlideLayoutByPartName as Hn, ReadChartSpec as Ho, getShapeRunCount as Hr, ShapeEffectAny as Hs, swapSlides as Ht, asColor as Hu, getSlidesWithCharts as I, setTableCellTextDirection as Ia, findEmptyPlaceholders as Ic, PackagePartInfo as Ii, getUnusedSlideMasters as Il, setCoreProperties as In, ChartSeriesAxis as Io, getParagraphLineSpacing as Ir, setShapeTextColumns as Is, importSlide as It, RunSpec as Iu, clearSlideTransition as J, getPresentationChartCountsBySlide as Ja, findSlidePlaceholderByIdx as Jc, slidesUsingMediaPart as Ji, getSlideSections as Jl, getSlideLayoutUsageCounts as Jn, addSlideComment as Jo, setParagraphBullet as Jr, setShapeGlow as Js, findSlideByTitle as Jt, Emu as Ju, replaceHyperlink as K, findChartsWithDataLabels as Ka, findShapesWithHyperlinks as Kc, readPackagePart as Ki, shapesOverlap as Kl, getSlideLayoutPlaceholders as Kn, ImageFit as Ko, isParagraphBulletPicture as Kr, getShapeEffects as Ks, findSlideByPartName as Kt, VideoFormat as Ku, getSlidesWithComments as L, setTableCellTextFormat as La, findShapeById as Lc, PresentationSummary as Li, isShapeHidden as Ll, setExtendedProperties as Ln, ChartTextStyle as Lo, getParagraphSpacing as Lr, setShapeTextDirection as Ls, mergePresentations as Lt, ReadTextFormat as Lu, getPresentationNotesLengthsBySlide as M, setTableCellFill as Ma, getShapeStrokeEffective as Mc, setShapeImageContrast as Mi, getSlideMasterCount as Ml, getExtendedProperties as Mn, ChartManualLayout as Mo, getParagraphBulletStyle as Mr, setShapeText as Ms, addSlideAt as Mt, BulletStyle as Mu, getPresentationNotesText as N, setTableCellMargins as Na, getShapeStrokeJoin as Nc, setShapeImageCrop as Ni, getSlideMasterPartName as Nl, getPresentationCreated as Nn, ChartOfPie as No, getParagraphEndFormat as Nr, setShapeTextAnchor as Ns, addTitleSlide as Nt, ParagraphAlignment as Nu, getEmptySlides as O, removeTableRow as Oa, getShapeStrokeCap as Oc, hasShapeImage as Oi, getShapePreset as Ol, setThumbnail as On, ChartErrorBarAmount as Oo, ShapeParagraphElement as Or, getShapeTextWrap as Os, addBlankSlide as Ot, PatternFillOptions as Ou, getSlideNotes as P, setTableCellParagraphs as Pa, getShapeStrokeOpacity as Pc, setShapeImageOpacity as Pi, getSlideMasterPartNames as Pl, getPresentationModified as Pn, ChartSecondaryValueAxis as Po, getParagraphIndent as Pr, setShapeTextAutoFit as Ps, duplicateSlide as Pt, ParagraphAlignmentToken as Pu, resolveDeckBodyTextColor as Q, getShapeChartSeriesNames as Qa, getShapeXmlString as Qc, TableCellBorder as Qi, createPresentation as Ql, addSlideImage as Qn, findCommentsAfter as Qo, setShapeRunHyperlink as Qr, getShapePatternFill as Qs, getOutlineText as Qt, mm as Qu, getSlidesWithHyperlinks as R, setTableColumnWidth as Ra, findShapeByName as Rc, _internalPackageOf as Ri, isShapePlaceholder as Rl, touchModified as Rn, ChartTimeUnit as Ro, getShapeHyperlinkTooltip as Rr, setShapeTextFormat as Rs, moveSlide as Rt, TextFormat as Ru, getAllComments as S, insertTableColumn as Sa, getShapeFill as Sc, getShapeImageDuotone as Si, getShapeId as Sl, searchSlides as Sn, isChartSpec as So, PresentationFontsInput as Sr, getShapeTextAutoFit as Ss, SlideMediaSource as St, LineEndSize as Su, getAllNotes as T, isTableShape as Ta, getShapeFillEffective as Tc, getShapeImageLinkUrl as Ti, getShapePlaceholderIdx as Tl, PresentationThumbnail as Tn, ChartDataLabels as To, getPresentationTheme as Tr, getShapeTextColumns as Ts, getShapeMedia as Tt, ShadowOptions as Tu, getVisibleSlides as U, addSlideChart as Ua, findShapesByName as Uc, getPresentationSummary as Ui, setShapeBounds as Ul, findSlideLayoutByType as Un, ShapeClickAction as Uo, getShapeRunHyperlink as Ur, clearShapeEffects as Us, AllShapesEntry as Ut, PresetShape as Uu, getSlidesWithOverlap as V, setTableStyleId as Va, findShapesByHyperlink as Vc, getOrphanMediaPartNames as Vi, renameShape as Vl, findSlideLayout as Vn, ChartView3D as Vo, getShapeRunClickAction as Vr, ShapeEffect as Vs, sortSlides as Vt, SchemeColorToken as Vu, hasSlideNotes as W, findChartByKind as Wa, findShapesByPreset as Wc, getSlideMediaPartNames as Wi, setShapeDescription as Wl, getSlideLayoutName as Wn, getShapeClickAction as Wo, getShapeRunHyperlinkTooltip as Wr, findShapesByEffect as Ws, SlideInfo as Wt, PlaceholderType as Wu, setSlideTransition as X, getShapeChartCategories as Xa, getShapeIndex as Xc, IssueSeverity as Xi, PresentationInput as Xl, getSlideLayouts as Xn, clearSlideComments as Xo, setParagraphLineSpacing as Xr, clearShapeFill as Xs, findSlidesByText as Xt, emu as Xu, getSlideTransition as Y, getPresentationChartKindCounts as Ya, findSlidePlaceholders as Yc, validatePresentation as Yi, setSlideSections as Yl, getSlideLayoutUsageCountsByType as Yn, clearAllSlideComments as Yo, setParagraphLevel as Yr, setShapeShadow as Ys, findSlidesByNotes as Yt, cm as Yu, getEffectiveColorMap as Z, getShapeChartKind as Za, getShapeSlide as Zc, ValidationIssue as Zi, PresentationSize as Zl, getUnusedSlideLayouts as Zn, findCommentAuthorByName as Zo, setParagraphSpacing as Zr, clearShapeStroke as Zs, getAllShapes as Zt, inches as Zu, clearSlideHyperlinks as _, getTableDimensions as _a, setShapeStrokeJoin as _c, getShapeImageBiLevelThreshold as _i, getShapeBoundsResolved as _l, replaceTextInNotes as _n, RadarChartSpec as _o, setShapeRunFormat as _r, TextAutoFit as _s, getSlideMasterShapes as _t, GeomPath as _u, SlideSize as a, getTableCellAlignment as aa, setShapeImageFill as ac, clearSlideAnimations as ai, translateShapes as al, getSlideCount as an, BubbleChartSpec as ao, clearSlideShapes as ar, getCommentDate as as, getSlideBackgroundPatternFill as at, SlideShapeData as au, findSlidesWithChartTrendlines as b, getTableStyleFlags as ba, ShapeFill as bc, getShapeImageContrast as bi, getShapeDescription as bl, replaceTextInSlideNotes as bn, StockChartSpec as bo, resolveDrawingColorOpacity as br, getShapeBodyPrEffective as bs, ShapeMedia as bt, ArrowOptions as bu, PresentationChartEntry as c, getTableCellFill as ca, setShapePatternFill as cc, setShapeAnimation as ci, findShapesAtPoint as cl, getSlideLayoutCount as cn, ChartVariant as co, removeShape as cr, getCommentText as cs, getSlideLayoutBackgroundGradientFill as ct, CommentPosition as cu, PresentationImageEntry as d, getTableCellPosition as da, setShapeSize as dc, findOverlappingShapePairs as di, getGroupTransform as dl, getSlideText as dn, DoughnutChartSpec as do, setShapeZIndex as dr, getPresentationCommentCountsBySlide as ds, getSlideLayoutBackgroundShapes as dt, AnimationOptions as du, TableCellParagraph as ea, getShapeStrokeDash as ec, getSlideBody as ei, getSlideLayout as el, getPresentationText as en, getShapeChartSpec as eo, addSlideShape as er, findCommentsByAuthor as es, SlideLayoutBackgroundShape as et, savePresentation as eu, PresentationNotesEntry as f, getTableCellSpan as fa, setShapeStroke as fc, findShapesOutsideCanvas as fi, getMaxShapeId as fl, getSlideTextLength as fn, LineArea3DChartSpec as fo, ParagraphProperties as fr, getPresentationCommenters as fs, getSlideLayoutShapes as ft, SlideTransition as fu, clearAllSlideNotes as g, getTableColumnWidths as ga, setShapeStrokeDash as gc, getPresentationImageCountsBySlide as gi, getShapeBounds as gl, isSlideHidden as gn, PlainChartSeries as go, setShapeHyperlink as gr, TextAnchor as gs, getSlideMasterBackgroundPatternFill as gt, GeomCommand as gu, clearAllHyperlinks as h, getTableCells as ha, setShapeStrokeCompound as hc, findSlidesByLayoutType as hi, getShapeAltTitle as hl, getSlidesByLayout as hn, PieChartSpec as ho, getShapeRunFormatEffective as hr, removeSlideComment as hs, getSlideMasterBackgroundImageBytes as ht, CustomGeometry as hu, SLIDE_SIZE_4_3 as i, getTableCell as ia, setShapeGradientFill as ic, setSlideTitle as ii, setSlideLayout as il, getSlideAt as in, BubbleChartSeries as io, bringShapeToFront as ir, getCommentAuthors as is, getSlideBackgroundImageBytes as it, SlideLayoutData as iu, getPresentationNotesLength as j, setTableCellBorders as ja, getShapeStrokeCompound as jc, setShapeImageBrightness as ji, getShapeText as jl, getCoreProperties as jn, ChartKind as jo, getParagraphBulletImageBytes as jr, setShapeParagraphs as js, addSlide as jt, ReadGradientStop as ju, getHiddenSlides as k, setTableCellAlignment as ka, getShapeStrokeColor as kc, hasShapeText as ki, getShapeRotation as kl, CoreProperties as kn, ChartErrorBars as ko, getParagraphAlignment as kr, setShapeAlignment as ks, addContentSlide as kt, PatternPreset as ku, PresentationCommentEntry as l, getTableCellMargins as la, setShapePosition as lc, ImageCrop as li, findShapesInRect as ll, getSlideOutline as ln, ComboChartSeries as lo, sendShapeBackward as lr, getCommentsSortedByDate as ls, getSlideLayoutBackgroundImageBytes as lt, SlideComment as lu, appendSlideNotes as m, getTableCellTextDirection as ma, setShapeStrokeCap as mc, findSlidesByLayoutPartName as mi, getShapeAdjustValues as ml, getSlides as mn, Pie3DChartSpec as mo, getShapeHyperlink as mr, getSlideComments as ms, getSlideMasterBackgroundGradientFill as mt, TransitionOptions as mu, SLIDE_SIZE_16_10 as n, getPresentationTableCountsBySlide as na, setShapeFill as nc, setSlideBody as ni, getSlidesWithEmptyPlaceholders as nl, getPresentationTextLengthsBySlide as nn, setChartSpec as no, addSlideTextBox as nr, findSlidesWithCommentsByAuthor as ns, getSlideBackground as nt, SlideCommentData as nu, getSlideSize as o, getTableCellAnchor as oa, setShapeNoFill as oc, findShapesWithAnimation as oi, ShapeBounds as ol, getSlideIndex as on, CandlestickChartSpec as oo, copyShape as or, getCommentPosition as os, getSlideColorMapOverride as ot, TableCellData as ou, PresentationTableEntry as p, getTableCellText as pa, setShapeStrokeArrow as pc, findSlidesByLayoutName as pi, getMaxShapeIdInPresentation as pl, getSlideXmlString as pn, OfPieChartSpec as po, getParagraphPropertiesEffective as pr, getSlideCommentAuthors as ps, getSlideMasterBackground as pt, TransitionEffect as pu, setSlideNotes as q, findChartsWithTrendlines as qa, findSlidePlaceholder as qc, setMediaPartBytes as qi, SlideSection as ql, getSlideLayoutType as qn, setShapeImage as qo, setParagraphAlignment as qr, getShapeEffectsEffective as qs, findSlideByText as qt, ImageFormat as qu, SLIDE_SIZE_16_9 as r, getSlideTables as ra, setShapeFlip as rc, setSlidePlaceholders as ri, replaceTokensInSlide as rl, getShapeAt as rn, Bar3DChartSpec as ro, bringShapeForward as rr, getCommentAuthor as rs, getSlideBackgroundGradientFill as rt, SlideData as ru, setSlideSize as s, getTableCellBorders as sa, setShapeNoStroke as sc, getShapeAnimation as si, centerShapeOnSlide as sl, getSlideInfo as sn, ChartSpec as so, getShapeZIndex as sr, getCommentSlide as ss, getSlideLayoutBackground as st, CommentAuthor as su, VERSION as t, clearTableCellFill as ta, setShapeAdjustValues as tc, getSlideTitle as ti, getSlideShapes as tl, getPresentationTextLength as tn, getSlideCharts as to, addSlideTable as tr, findCommentsByText as ts, clearSlideBackground as tt, PresentationData as tu, PresentationHyperlinkEntry as u, getTableCellParagraphs as ua, setShapeRotation as uc, findFlippedShapes as ui, getGroupChildren as ul, getSlidePartName as un, ComboChartSpec as uo, sendShapeToBack as ur, getPresentationCommentCountsByAuthor as us, getSlideLayoutBackgroundPatternFill as ut, AnimationEffect as uu, findSlidesByHyperlink as v, getTableRowHeights as va, getShapeGradientFill as vc, getShapeImageBrightness as vi, getShapeCenter as vl, replaceTextInPresentation as vn, ScatterChartSeries as vo, getShapeRunFormat as vr, TextWrap as vs, setSlideBackground as vt, GeomPoint as vu, getAllImages as w, isChartShape as wa, getShapeFillColorResolved as wc, getShapeImageFormat as wi, getShapeName as wl, slideHasAnimations as wn, ChartDataLabelPosition as wo, getPresentationFonts as wr, getShapeTextBodyRotationDeg as ws, findShapesWithMedia as wt, GlowOptions as wu, getAllCharts as x, getTableStyleId as xa, ShapeStroke as xc, getShapeImageCrop as xi, getShapeFlip as xl, replaceTokensInPresentation as xn, SurfaceChartSpec as xo, PresentationFonts as xr, getShapeTextAnchor as xs, SlideMediaOptions as xt, LineDash as xu, findSlidesWithChartKind as y, getTableSize as ya, getShapeGradientFillEffective as yc, getShapeImageBytes as yi, getShapeCustomGeometry as yl, replaceTextInSlide as yn, ScatterChartSpec as yo, resolveDrawingColor as yr, appendShapeText as ys, setSlideBackgroundImage as yt, PathFillMode as yu, getSlidesWithImages as z, setTableRowHeight as za, findShapeByText as zc, compactPackage as zi, isShapeTextBox as zl, SlideLayoutPlaceholder as zn, ChartTrendline as zo, getShapeParagraphCount as zr, setShapeTextMargins as zs, removeSlide as zt, Color as zu };
|
|
6197
|
+
//# sourceMappingURL=index-VCK9yZV2.d.ts.map
|