pptx-vanilla-viewer 3.8.0 → 3.9.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 +75 -0
- package/dist/{ai-panel-LYVZCC6W.cjs → ai-panel-OROOTY7Z.cjs} +1 -1
- package/dist/{ai-panel-HYSMSKDR.js → ai-panel-XUPYRSVB.js} +1 -1
- package/dist/{chunk-DO3P32RM.js → chunk-3QOOZR4M.js} +3 -3
- package/dist/{chunk-Q4GMEOAI.cjs → chunk-5YHVN3PP.cjs} +445 -458
- package/dist/{chunk-DXLLCHZP.js → chunk-6U56MSXT.js} +445 -458
- package/dist/{chunk-NK7KOKX2.cjs → chunk-FGF6WJ3F.cjs} +3 -3
- package/dist/{chunk-BAZT6KJZ.cjs → chunk-IQ7MDPEN.cjs} +38 -38
- package/dist/{chunk-LLTNOSPY.js → chunk-JCYH4YT3.js} +38 -38
- package/dist/i18n/de.cjs +276 -9
- package/dist/i18n/de.mjs +276 -9
- package/dist/i18n/es.cjs +276 -9
- package/dist/i18n/es.mjs +276 -9
- package/dist/i18n/fr.cjs +276 -9
- package/dist/i18n/fr.mjs +276 -9
- package/dist/i18n/zh-CN.cjs +279 -12
- package/dist/i18n/zh-CN.mjs +279 -12
- package/dist/index.cjs +162 -86
- package/dist/index.d.ts +54 -33
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +162 -86
- package/dist/internals.cjs +1 -1
- package/dist/internals.d.ts +1 -1
- package/dist/internals.js +1 -1
- package/dist/styles.css +76 -0
- package/dist/{transition-overlay-DB7RDVkV.d.ts → transition-overlay-D57AQXCk.d.ts} +693 -13
- package/dist/transition-overlay-D57AQXCk.d.ts.map +1 -0
- package/package.json +3 -2
- package/dist/transition-overlay-DB7RDVkV.d.ts.map +0 -1
|
@@ -2,7 +2,7 @@ import "fast-xml-parser";
|
|
|
2
2
|
import "jszip";
|
|
3
3
|
import { Doc } from "yjs";
|
|
4
4
|
import "opentype.js";
|
|
5
|
-
//#region ../core/dist/text-operations-
|
|
5
|
+
//#region ../core/dist/text-operations-ClQyeifS.d.ts
|
|
6
6
|
//#region src/core/types/actions.d.ts
|
|
7
7
|
/**
|
|
8
8
|
* Action types: hyperlinks, slide jumps, macros, and action buttons.
|
|
@@ -2017,6 +2017,16 @@ interface TextStyle {
|
|
|
2017
2017
|
textReflectionEndOpacity?: number;
|
|
2018
2018
|
/** Text reflection offset distance in px. */
|
|
2019
2019
|
textReflectionOffset?: number;
|
|
2020
|
+
/**
|
|
2021
|
+
* Text reflection end position (`@endPos`) as a 0-1 fraction of the text
|
|
2022
|
+
* height the fade reaches. Mirrors `ShapeStyle.reflectionEndPosition`.
|
|
2023
|
+
*/
|
|
2024
|
+
textReflectionEndPosition?: number;
|
|
2025
|
+
/**
|
|
2026
|
+
* Text reflection offset direction (`@dir`) in degrees. Mirrors
|
|
2027
|
+
* `ShapeStyle.reflectionDirection`.
|
|
2028
|
+
*/
|
|
2029
|
+
textReflectionDirection?: number;
|
|
2020
2030
|
/**
|
|
2021
2031
|
* Text reflection fade direction (`a:rPr/a:effectLst/a:reflection/@fadeDir`)
|
|
2022
2032
|
* in degrees. Mirrors `ShapeStyle.reflectionFadeDirection`.
|
|
@@ -2335,6 +2345,21 @@ interface TextSegment {
|
|
|
2335
2345
|
* populated; unrelated fields fall back to the shape-level style.
|
|
2336
2346
|
*/
|
|
2337
2347
|
paragraphProperties?: TextStyle;
|
|
2348
|
+
/**
|
|
2349
|
+
* The paragraph this segment starts authored an EMPTY `<a:pPr/>`. Only
|
|
2350
|
+
* meaningful on the first segment of a paragraph. The writer re-emits the
|
|
2351
|
+
* empty element when it has no paragraph property of its own to write, so
|
|
2352
|
+
* a rewritten slide keeps the markup PowerPoint wrote.
|
|
2353
|
+
*/
|
|
2354
|
+
emptyParagraphPropertiesAuthored?: boolean;
|
|
2355
|
+
/**
|
|
2356
|
+
* The paragraph this segment starts has no run content and authored no
|
|
2357
|
+
* `a:endParaRPr` (a bare `<a:p/>`, possibly with an `a:pPr`). Only
|
|
2358
|
+
* meaningful on the first segment of a paragraph. It stops the writer
|
|
2359
|
+
* inventing an empty run or an `<a:endParaRPr lang="en-US"/>` stub for a
|
|
2360
|
+
* paragraph that still has no content when saved.
|
|
2361
|
+
*/
|
|
2362
|
+
bareParagraph?: boolean;
|
|
2338
2363
|
/**
|
|
2339
2364
|
* Phonetic annotation text from `a:ruby > a:rt` (e.g. furigana, pinyin).
|
|
2340
2365
|
* When present, the renderer should wrap the base text with an HTML `<ruby>` tag.
|
|
@@ -7939,6 +7964,84 @@ interface PptxThemeOption {
|
|
|
7939
7964
|
name?: string;
|
|
7940
7965
|
}
|
|
7941
7966
|
//#endregion
|
|
7967
|
+
//#region src/core/types/animation-behavior.d.ts
|
|
7968
|
+
/** Timing of one behaviour, from its own `p:cBhvr/p:cTn`. */
|
|
7969
|
+
interface PptxAnimationBehaviorTiming {
|
|
7970
|
+
/** `p:cTn/@dur` in ms; absent when `indefinite` or unset. */
|
|
7971
|
+
durationMs?: number;
|
|
7972
|
+
/** Start offset in ms from `p:stCondLst/p:cond/@delay`, relative to the effect start. */
|
|
7973
|
+
delayMs?: number;
|
|
7974
|
+
/** `p:cTn/@accel` as a 0..1 fraction of the behaviour's duration. */
|
|
7975
|
+
accel?: number;
|
|
7976
|
+
/** `p:cTn/@decel` as a 0..1 fraction of the behaviour's duration. */
|
|
7977
|
+
decel?: number;
|
|
7978
|
+
/** `p:cTn/@autoRev`: play forward, then backward, doubling the active time. */
|
|
7979
|
+
autoReverse?: boolean;
|
|
7980
|
+
/** `p:cTn/@repeatCount` in plain iterations (OOXML stores thousandths). */
|
|
7981
|
+
repeatCount?: number;
|
|
7982
|
+
/** `p:cTn/@tmFilter`: the raw `"t,v; t,v; ..."` time remapping list. */
|
|
7983
|
+
tmFilter?: string;
|
|
7984
|
+
}
|
|
7985
|
+
interface BehaviorBase {
|
|
7986
|
+
/** Lower-cased `p:attrNameLst` entries, in document order. */
|
|
7987
|
+
attrNames: string[];
|
|
7988
|
+
/** `p:cBhvr/@additive` (`base`, `sum`, `repl`, `mult`, `none`). */
|
|
7989
|
+
additive?: string;
|
|
7990
|
+
timing: PptxAnimationBehaviorTiming;
|
|
7991
|
+
}
|
|
7992
|
+
/** `p:set`: a discrete value held from the behaviour's start. */
|
|
7993
|
+
interface PptxSetBehavior extends BehaviorBase {
|
|
7994
|
+
kind: 'set';
|
|
7995
|
+
value: string | number | boolean;
|
|
7996
|
+
}
|
|
7997
|
+
/** `p:anim`: a `p:tavLst` ramp or a `from`/`to`/`by` formula ramp. */
|
|
7998
|
+
interface PptxAnimBehavior extends BehaviorBase {
|
|
7999
|
+
kind: 'anim';
|
|
8000
|
+
calcMode?: 'discrete' | 'lin' | 'fmla';
|
|
8001
|
+
valueType?: string;
|
|
8002
|
+
from?: string;
|
|
8003
|
+
to?: string;
|
|
8004
|
+
by?: string;
|
|
8005
|
+
keyframes: PptxAnimationKeyframe[];
|
|
8006
|
+
}
|
|
8007
|
+
/** `p:animEffect`: a filter transition (`fade`, `wipe(down)`...). */
|
|
8008
|
+
interface PptxAnimEffectBehavior extends BehaviorBase {
|
|
8009
|
+
kind: 'animEffect';
|
|
8010
|
+
filter?: string;
|
|
8011
|
+
transition?: 'in' | 'out' | 'none';
|
|
8012
|
+
}
|
|
8013
|
+
/** A `p:animScale` factor pair (1 = unscaled) or a `p:animMotion` offset (slide fractions). */
|
|
8014
|
+
interface PptxBehaviorPoint {
|
|
8015
|
+
x: number;
|
|
8016
|
+
y: number;
|
|
8017
|
+
}
|
|
8018
|
+
/** `p:animScale`: scale factors as fractions (OOXML stores percent*1000, so `100000` = 1). */
|
|
8019
|
+
interface PptxAnimScaleBehavior extends BehaviorBase {
|
|
8020
|
+
kind: 'animScale';
|
|
8021
|
+
from?: PptxBehaviorPoint;
|
|
8022
|
+
to?: PptxBehaviorPoint;
|
|
8023
|
+
by?: PptxBehaviorPoint;
|
|
8024
|
+
zoomContents?: boolean;
|
|
8025
|
+
}
|
|
8026
|
+
/** `p:animRot`: rotation in degrees (OOXML stores 60000ths). */
|
|
8027
|
+
interface PptxAnimRotBehavior extends BehaviorBase {
|
|
8028
|
+
kind: 'animRot';
|
|
8029
|
+
from?: number;
|
|
8030
|
+
to?: number;
|
|
8031
|
+
by?: number;
|
|
8032
|
+
}
|
|
8033
|
+
/** `p:animMotion`: a path (slide fractions) or a `from`/`to`/`by` offset. */
|
|
8034
|
+
interface PptxAnimMotionBehavior extends BehaviorBase {
|
|
8035
|
+
kind: 'animMotion';
|
|
8036
|
+
path?: string;
|
|
8037
|
+
origin?: string;
|
|
8038
|
+
from?: PptxBehaviorPoint;
|
|
8039
|
+
to?: PptxBehaviorPoint;
|
|
8040
|
+
by?: PptxBehaviorPoint;
|
|
8041
|
+
}
|
|
8042
|
+
/** One behaviour child of an effect, tagged by its OOXML element. */
|
|
8043
|
+
type PptxAnimationBehavior = PptxSetBehavior | PptxAnimBehavior | PptxAnimEffectBehavior | PptxAnimScaleBehavior | PptxAnimRotBehavior | PptxAnimMotionBehavior;
|
|
8044
|
+
//#endregion
|
|
7942
8045
|
//#region src/core/types/animation.d.ts
|
|
7943
8046
|
/**
|
|
7944
8047
|
* Built-in animation preset names used for entrance, exit, and emphasis effects.
|
|
@@ -8490,6 +8593,14 @@ interface PptxNativeAnimation {
|
|
|
8490
8593
|
* shared playback (round-trip/typed-model only so far).
|
|
8491
8594
|
*/
|
|
8492
8595
|
setAnimations?: PptxSetAnimation[];
|
|
8596
|
+
/**
|
|
8597
|
+
* Every behaviour child of this effect (`p:set`, `p:anim`, `p:animEffect`,
|
|
8598
|
+
* `p:animScale`, `p:animRot`, `p:animMotion`) with its own timing, as
|
|
8599
|
+
* authored. The single-valued fields above flatten a composed preset;
|
|
8600
|
+
* this keeps the whole tree so playback can follow what PowerPoint wrote
|
|
8601
|
+
* (see `animation-behavior-player` in `pptx-viewer-shared`).
|
|
8602
|
+
*/
|
|
8603
|
+
behaviors?: PptxAnimationBehavior[];
|
|
8493
8604
|
}
|
|
8494
8605
|
/**
|
|
8495
8606
|
* One `p:set` discrete (non-interpolated) attribute assignment composed
|
|
@@ -10590,7 +10701,7 @@ interface PptxEmbeddedFont {
|
|
|
10590
10701
|
originalPartBytes?: Uint8Array;
|
|
10591
10702
|
}
|
|
10592
10703
|
//#endregion
|
|
10593
|
-
//#region ../core/dist/index-
|
|
10704
|
+
//#region ../core/dist/index-DmVG5xJ8.d.ts
|
|
10594
10705
|
//#region src/core/types/theme-presets.d.ts
|
|
10595
10706
|
/**
|
|
10596
10707
|
* A complete theme preset that can be applied to a presentation.
|
|
@@ -12106,7 +12217,7 @@ interface AccessibilityIssue {
|
|
|
12106
12217
|
/** Supported merge shape operations (matching PowerPoint's Merge Shapes menu). */
|
|
12107
12218
|
type MergeShapeOperation = 'union' | 'intersect' | 'subtract' | 'fragment' | 'combine';
|
|
12108
12219
|
//#endregion
|
|
12109
|
-
//#region ../shared/dist/index-
|
|
12220
|
+
//#region ../shared/dist/index-DDHixrsQ.d.ts
|
|
12110
12221
|
//#region src/theme/types.d.ts
|
|
12111
12222
|
/**
|
|
12112
12223
|
* Theme configuration types for the PowerPoint viewer.
|
|
@@ -13980,6 +14091,13 @@ type ToolbarButtonId = 'share' | 'broadcast' | 'export' | 'undo' | 'redo' | 'rec
|
|
|
13980
14091
|
/** A top-level ribbon tab. `record` intentionally shares its id with the quick-access Record button above: both surface the same recording feature, so hiding one hides the other. */
|
|
13981
14092
|
type ToolbarTabId = 'file' | 'home' | 'insert' | 'draw' | 'design' | 'transitions' | 'animations' | 'slideShow' | 'record' | 'review' | 'view' | 'help';
|
|
13982
14093
|
type ToolbarActionId = ToolbarButtonId | ToolbarTabId;
|
|
14094
|
+
/**
|
|
14095
|
+
* PowerPoint's contextual tabs: they join the tab row only while the
|
|
14096
|
+
* selection is of their kind (see `contextualTabsForElement` in
|
|
14097
|
+
* `ribbon-galleries/`). Kept apart from `ToolbarTabId` because they are not
|
|
14098
|
+
* part of the fixed tab order every binding renders.
|
|
14099
|
+
*/
|
|
14100
|
+
type RibbonContextualTabId = 'shapeFormat' | 'pictureFormat' | 'tableDesign' | 'chartDesign' | 'smartArtDesign';
|
|
13983
14101
|
//#endregion
|
|
13984
14102
|
//#region src/render/options/viewer-options.d.ts
|
|
13985
14103
|
/**
|
|
@@ -14196,6 +14314,511 @@ type FreeformToolKind = 'freeformShape' | 'curve';
|
|
|
14196
14314
|
*/
|
|
14197
14315
|
type ViewerOptionsTabId = 'general' | 'proofing' | 'save' | 'language' | 'accessibility' | 'advanced' | 'ribbon' | 'quickAccess' | 'addIns' | 'trust';
|
|
14198
14316
|
//#endregion
|
|
14317
|
+
//#region src/render/customization/ribbon-control-catalog.d.ts
|
|
14318
|
+
declare const RIBBON_CONTROL_CATALOG: {
|
|
14319
|
+
readonly home: {
|
|
14320
|
+
readonly clipboard: {
|
|
14321
|
+
readonly label: 'Clipboard';
|
|
14322
|
+
readonly controls: {
|
|
14323
|
+
readonly paste: 'Paste';
|
|
14324
|
+
readonly cut: 'Cut';
|
|
14325
|
+
readonly copy: 'Copy';
|
|
14326
|
+
readonly formatPainter: 'Format Painter';
|
|
14327
|
+
};
|
|
14328
|
+
};
|
|
14329
|
+
readonly slides: {
|
|
14330
|
+
readonly label: 'Slides';
|
|
14331
|
+
readonly controls: {
|
|
14332
|
+
readonly newSlide: 'New Slide';
|
|
14333
|
+
readonly layout: 'Layout';
|
|
14334
|
+
readonly reset: 'Reset';
|
|
14335
|
+
readonly section: 'Section';
|
|
14336
|
+
readonly slideTemplates: 'Slide templates';
|
|
14337
|
+
};
|
|
14338
|
+
};
|
|
14339
|
+
readonly font: {
|
|
14340
|
+
readonly label: 'Font';
|
|
14341
|
+
readonly controls: {
|
|
14342
|
+
readonly fontFamily: 'Font';
|
|
14343
|
+
readonly fontSize: 'Font Size';
|
|
14344
|
+
readonly increaseFontSize: 'Increase Font Size';
|
|
14345
|
+
readonly decreaseFontSize: 'Decrease Font Size';
|
|
14346
|
+
readonly clearFormatting: 'Clear All Formatting';
|
|
14347
|
+
readonly bold: 'Bold';
|
|
14348
|
+
readonly italic: 'Italic';
|
|
14349
|
+
readonly underline: 'Underline';
|
|
14350
|
+
readonly strikethrough: 'Strikethrough';
|
|
14351
|
+
readonly shadow: 'Text Shadow';
|
|
14352
|
+
readonly characterSpacing: 'Character Spacing';
|
|
14353
|
+
readonly changeCase: 'Change Case';
|
|
14354
|
+
readonly fontColor: 'Font Color';
|
|
14355
|
+
readonly highlightColor: 'Text Highlight Color';
|
|
14356
|
+
readonly superscript: 'Superscript';
|
|
14357
|
+
readonly subscript: 'Subscript';
|
|
14358
|
+
};
|
|
14359
|
+
};
|
|
14360
|
+
readonly paragraph: {
|
|
14361
|
+
readonly label: 'Paragraph';
|
|
14362
|
+
readonly controls: {
|
|
14363
|
+
readonly bullets: 'Bullets (toggle and gallery)';
|
|
14364
|
+
readonly numbering: 'Numbering (toggle and gallery)';
|
|
14365
|
+
readonly decreaseIndent: 'Decrease List Level';
|
|
14366
|
+
readonly increaseIndent: 'Increase List Level';
|
|
14367
|
+
readonly lineSpacing: 'Line Spacing';
|
|
14368
|
+
readonly alignLeft: 'Align Left';
|
|
14369
|
+
readonly alignCenter: 'Center';
|
|
14370
|
+
readonly alignRight: 'Align Right';
|
|
14371
|
+
readonly justify: 'Justify';
|
|
14372
|
+
readonly columns: 'Columns';
|
|
14373
|
+
readonly textDirection: 'Text Direction';
|
|
14374
|
+
readonly alignText: 'Align Text';
|
|
14375
|
+
};
|
|
14376
|
+
};
|
|
14377
|
+
readonly drawing: {
|
|
14378
|
+
readonly label: 'Drawing';
|
|
14379
|
+
readonly controls: {
|
|
14380
|
+
readonly shapes: 'Shapes';
|
|
14381
|
+
readonly arrange: 'Arrange';
|
|
14382
|
+
readonly quickStyles: 'Quick Styles (Shape Styles gallery)';
|
|
14383
|
+
readonly shapeFill: 'Shape Fill';
|
|
14384
|
+
readonly shapeOutline: 'Shape Outline';
|
|
14385
|
+
readonly shapeEffects: 'Shape Effects gallery';
|
|
14386
|
+
};
|
|
14387
|
+
};
|
|
14388
|
+
readonly arrange: {
|
|
14389
|
+
readonly label: 'Arrange';
|
|
14390
|
+
readonly controls: {
|
|
14391
|
+
readonly bringForward: 'Bring Forward';
|
|
14392
|
+
readonly sendBackward: 'Send Backward';
|
|
14393
|
+
readonly bringToFront: 'Bring to Front';
|
|
14394
|
+
readonly sendToBack: 'Send to Back';
|
|
14395
|
+
readonly flipHorizontal: 'Flip Horizontal';
|
|
14396
|
+
readonly flipVertical: 'Flip Vertical';
|
|
14397
|
+
readonly duplicate: 'Duplicate';
|
|
14398
|
+
readonly delete: 'Delete';
|
|
14399
|
+
readonly group: 'Group';
|
|
14400
|
+
readonly ungroup: 'Ungroup';
|
|
14401
|
+
readonly align: 'Align';
|
|
14402
|
+
readonly mergeShapes: 'Merge Shapes';
|
|
14403
|
+
readonly crop: 'Crop';
|
|
14404
|
+
readonly outlineWidth: 'Outline width';
|
|
14405
|
+
};
|
|
14406
|
+
};
|
|
14407
|
+
readonly editing: {
|
|
14408
|
+
readonly label: 'Editing';
|
|
14409
|
+
readonly controls: {
|
|
14410
|
+
readonly find: 'Find';
|
|
14411
|
+
readonly replace: 'Replace';
|
|
14412
|
+
readonly select: 'Select';
|
|
14413
|
+
};
|
|
14414
|
+
};
|
|
14415
|
+
};
|
|
14416
|
+
readonly insert: {
|
|
14417
|
+
readonly slides: {
|
|
14418
|
+
readonly label: 'Slides';
|
|
14419
|
+
readonly controls: {
|
|
14420
|
+
readonly newSlide: 'New Slide';
|
|
14421
|
+
};
|
|
14422
|
+
};
|
|
14423
|
+
readonly tables: {
|
|
14424
|
+
readonly label: 'Tables';
|
|
14425
|
+
readonly controls: {
|
|
14426
|
+
readonly table: 'Table';
|
|
14427
|
+
};
|
|
14428
|
+
};
|
|
14429
|
+
readonly images: {
|
|
14430
|
+
readonly label: 'Images';
|
|
14431
|
+
readonly controls: {
|
|
14432
|
+
readonly pictures: 'Pictures';
|
|
14433
|
+
};
|
|
14434
|
+
};
|
|
14435
|
+
readonly illustrations: {
|
|
14436
|
+
readonly label: 'Illustrations';
|
|
14437
|
+
readonly controls: {
|
|
14438
|
+
readonly shapes: 'Shapes';
|
|
14439
|
+
readonly smartArt: 'SmartArt';
|
|
14440
|
+
readonly chart: 'Chart';
|
|
14441
|
+
};
|
|
14442
|
+
};
|
|
14443
|
+
readonly links: {
|
|
14444
|
+
readonly label: 'Links';
|
|
14445
|
+
readonly controls: {
|
|
14446
|
+
readonly link: 'Link';
|
|
14447
|
+
readonly action: 'Action button';
|
|
14448
|
+
};
|
|
14449
|
+
};
|
|
14450
|
+
readonly comments: {
|
|
14451
|
+
readonly label: 'Comments';
|
|
14452
|
+
readonly controls: {
|
|
14453
|
+
readonly comment: 'Comment';
|
|
14454
|
+
};
|
|
14455
|
+
};
|
|
14456
|
+
readonly text: {
|
|
14457
|
+
readonly label: 'Text';
|
|
14458
|
+
readonly controls: {
|
|
14459
|
+
readonly textBox: 'Text Box';
|
|
14460
|
+
readonly field: 'Header, date, slide number field';
|
|
14461
|
+
};
|
|
14462
|
+
};
|
|
14463
|
+
readonly symbols: {
|
|
14464
|
+
readonly label: 'Symbols';
|
|
14465
|
+
readonly controls: {
|
|
14466
|
+
readonly equation: 'Equation';
|
|
14467
|
+
readonly symbol: 'Symbol';
|
|
14468
|
+
};
|
|
14469
|
+
};
|
|
14470
|
+
readonly media: {
|
|
14471
|
+
readonly label: 'Media';
|
|
14472
|
+
readonly controls: {
|
|
14473
|
+
readonly media: 'Video / Audio';
|
|
14474
|
+
};
|
|
14475
|
+
};
|
|
14476
|
+
};
|
|
14477
|
+
readonly draw: {
|
|
14478
|
+
readonly tools: {
|
|
14479
|
+
readonly label: 'Drawing Tools';
|
|
14480
|
+
readonly controls: {
|
|
14481
|
+
readonly select: 'Select';
|
|
14482
|
+
readonly pen: 'Pen';
|
|
14483
|
+
readonly highlighter: 'Highlighter';
|
|
14484
|
+
readonly eraser: 'Eraser';
|
|
14485
|
+
readonly penColor: 'Pen colour';
|
|
14486
|
+
readonly penWidth: 'Pen width';
|
|
14487
|
+
};
|
|
14488
|
+
};
|
|
14489
|
+
readonly convert: {
|
|
14490
|
+
readonly label: 'Convert';
|
|
14491
|
+
readonly controls: {
|
|
14492
|
+
readonly inkToShape: 'Ink to Shape';
|
|
14493
|
+
};
|
|
14494
|
+
};
|
|
14495
|
+
};
|
|
14496
|
+
readonly design: {
|
|
14497
|
+
readonly themes: {
|
|
14498
|
+
readonly label: 'Themes';
|
|
14499
|
+
readonly controls: {
|
|
14500
|
+
readonly browseThemes: 'Themes gallery';
|
|
14501
|
+
readonly editTheme: 'Edit theme';
|
|
14502
|
+
};
|
|
14503
|
+
};
|
|
14504
|
+
readonly variants: {
|
|
14505
|
+
readonly label: 'Variants';
|
|
14506
|
+
readonly controls: {
|
|
14507
|
+
readonly colors: 'Variants: Colors gallery';
|
|
14508
|
+
readonly fonts: 'Variants: Fonts gallery';
|
|
14509
|
+
};
|
|
14510
|
+
};
|
|
14511
|
+
readonly customize: {
|
|
14512
|
+
readonly label: 'Customize';
|
|
14513
|
+
readonly controls: {
|
|
14514
|
+
readonly slideSize: 'Slide Size';
|
|
14515
|
+
readonly formatBackground: 'Format Background';
|
|
14516
|
+
};
|
|
14517
|
+
};
|
|
14518
|
+
};
|
|
14519
|
+
readonly transitions: {
|
|
14520
|
+
readonly preview: {
|
|
14521
|
+
readonly label: 'Preview';
|
|
14522
|
+
readonly controls: {
|
|
14523
|
+
readonly preview: 'Preview';
|
|
14524
|
+
};
|
|
14525
|
+
};
|
|
14526
|
+
readonly transitionToThisSlide: {
|
|
14527
|
+
readonly label: 'Transition to This Slide';
|
|
14528
|
+
readonly controls: {
|
|
14529
|
+
readonly gallery: 'Transition gallery';
|
|
14530
|
+
readonly effectOptions: 'Effect Options';
|
|
14531
|
+
};
|
|
14532
|
+
};
|
|
14533
|
+
readonly timing: {
|
|
14534
|
+
readonly label: 'Timing';
|
|
14535
|
+
readonly controls: {
|
|
14536
|
+
readonly sound: 'Sound';
|
|
14537
|
+
readonly duration: 'Duration';
|
|
14538
|
+
readonly applyToAll: 'Apply To All';
|
|
14539
|
+
readonly advanceOnClick: 'On Mouse Click';
|
|
14540
|
+
readonly advanceAfter: 'After';
|
|
14541
|
+
};
|
|
14542
|
+
};
|
|
14543
|
+
};
|
|
14544
|
+
readonly animations: {
|
|
14545
|
+
readonly preview: {
|
|
14546
|
+
readonly label: 'Preview';
|
|
14547
|
+
readonly controls: {
|
|
14548
|
+
readonly preview: 'Preview';
|
|
14549
|
+
};
|
|
14550
|
+
};
|
|
14551
|
+
readonly animation: {
|
|
14552
|
+
readonly label: 'Animation';
|
|
14553
|
+
readonly controls: {
|
|
14554
|
+
readonly gallery: 'Animation gallery';
|
|
14555
|
+
readonly effectOptions: 'Effect Options';
|
|
14556
|
+
};
|
|
14557
|
+
};
|
|
14558
|
+
readonly motionPath: {
|
|
14559
|
+
readonly label: 'Motion Paths';
|
|
14560
|
+
readonly controls: {
|
|
14561
|
+
readonly gallery: 'Motion path gallery';
|
|
14562
|
+
};
|
|
14563
|
+
};
|
|
14564
|
+
readonly advancedAnimation: {
|
|
14565
|
+
readonly label: 'Advanced Animation';
|
|
14566
|
+
readonly controls: {
|
|
14567
|
+
readonly addAnimation: 'Add Animation';
|
|
14568
|
+
readonly animationPane: 'Animation Pane';
|
|
14569
|
+
readonly trigger: 'Trigger';
|
|
14570
|
+
readonly animationPainter: 'Animation Painter';
|
|
14571
|
+
readonly remove: 'Remove animation';
|
|
14572
|
+
};
|
|
14573
|
+
};
|
|
14574
|
+
readonly timing: {
|
|
14575
|
+
readonly label: 'Timing';
|
|
14576
|
+
readonly controls: {
|
|
14577
|
+
readonly start: 'Start';
|
|
14578
|
+
readonly duration: 'Duration';
|
|
14579
|
+
readonly delay: 'Delay';
|
|
14580
|
+
readonly reorder: 'Reorder';
|
|
14581
|
+
};
|
|
14582
|
+
};
|
|
14583
|
+
};
|
|
14584
|
+
readonly slideShow: {
|
|
14585
|
+
readonly startSlideShow: {
|
|
14586
|
+
readonly label: 'Start Slide Show';
|
|
14587
|
+
readonly controls: {
|
|
14588
|
+
readonly fromBeginning: 'From Beginning';
|
|
14589
|
+
readonly fromCurrent: 'From Current Slide';
|
|
14590
|
+
readonly customShow: 'Custom Slide Show';
|
|
14591
|
+
};
|
|
14592
|
+
};
|
|
14593
|
+
readonly present: {
|
|
14594
|
+
readonly label: 'Present';
|
|
14595
|
+
readonly controls: {
|
|
14596
|
+
readonly presenterView: 'Presenter View';
|
|
14597
|
+
readonly broadcast: 'Present Online';
|
|
14598
|
+
};
|
|
14599
|
+
};
|
|
14600
|
+
readonly setUp: {
|
|
14601
|
+
readonly label: 'Set Up';
|
|
14602
|
+
readonly controls: {
|
|
14603
|
+
readonly setUpSlideShow: 'Set Up Slide Show';
|
|
14604
|
+
readonly hideSlide: 'Hide Slide';
|
|
14605
|
+
readonly rehearseTimings: 'Rehearse Timings';
|
|
14606
|
+
readonly record: 'Record';
|
|
14607
|
+
readonly rehearseWithCoach: 'Rehearse with Coach';
|
|
14608
|
+
};
|
|
14609
|
+
};
|
|
14610
|
+
readonly captions: {
|
|
14611
|
+
readonly label: 'Captions & Subtitles';
|
|
14612
|
+
readonly controls: {
|
|
14613
|
+
readonly subtitles: 'Always Use Subtitles';
|
|
14614
|
+
readonly subtitleSettings: 'Subtitle Settings';
|
|
14615
|
+
};
|
|
14616
|
+
};
|
|
14617
|
+
};
|
|
14618
|
+
readonly record: {
|
|
14619
|
+
readonly camera: {
|
|
14620
|
+
readonly label: 'Camera';
|
|
14621
|
+
readonly controls: {
|
|
14622
|
+
readonly cameo: 'Cameo';
|
|
14623
|
+
};
|
|
14624
|
+
};
|
|
14625
|
+
readonly record: {
|
|
14626
|
+
readonly label: 'Record';
|
|
14627
|
+
readonly controls: {
|
|
14628
|
+
readonly fromBeginning: 'From Beginning';
|
|
14629
|
+
readonly fromCurrent: 'From Current Slide';
|
|
14630
|
+
};
|
|
14631
|
+
};
|
|
14632
|
+
readonly manage: {
|
|
14633
|
+
readonly label: 'Manage';
|
|
14634
|
+
readonly controls: {
|
|
14635
|
+
readonly clear: 'Clear';
|
|
14636
|
+
readonly reset: 'Reset to Cameo';
|
|
14637
|
+
};
|
|
14638
|
+
};
|
|
14639
|
+
readonly help: {
|
|
14640
|
+
readonly label: 'Help';
|
|
14641
|
+
readonly controls: {
|
|
14642
|
+
readonly learnMore: 'Learn more';
|
|
14643
|
+
};
|
|
14644
|
+
};
|
|
14645
|
+
};
|
|
14646
|
+
readonly review: {
|
|
14647
|
+
readonly proofing: {
|
|
14648
|
+
readonly label: 'Proofing';
|
|
14649
|
+
readonly controls: {
|
|
14650
|
+
readonly spelling: 'Spelling';
|
|
14651
|
+
readonly thesaurus: 'Thesaurus';
|
|
14652
|
+
};
|
|
14653
|
+
};
|
|
14654
|
+
readonly accessibility: {
|
|
14655
|
+
readonly label: 'Accessibility';
|
|
14656
|
+
readonly controls: {
|
|
14657
|
+
readonly check: 'Check Accessibility';
|
|
14658
|
+
};
|
|
14659
|
+
};
|
|
14660
|
+
readonly language: {
|
|
14661
|
+
readonly label: 'Language';
|
|
14662
|
+
readonly controls: {
|
|
14663
|
+
readonly translate: 'Translate';
|
|
14664
|
+
};
|
|
14665
|
+
};
|
|
14666
|
+
readonly comments: {
|
|
14667
|
+
readonly label: 'Comments';
|
|
14668
|
+
readonly controls: {
|
|
14669
|
+
readonly newComment: 'New Comment';
|
|
14670
|
+
readonly delete: 'Delete';
|
|
14671
|
+
readonly previous: 'Previous';
|
|
14672
|
+
readonly next: 'Next';
|
|
14673
|
+
readonly showComments: 'Show Comments';
|
|
14674
|
+
};
|
|
14675
|
+
};
|
|
14676
|
+
readonly compare: {
|
|
14677
|
+
readonly label: 'Compare';
|
|
14678
|
+
readonly controls: {
|
|
14679
|
+
readonly compare: 'Compare';
|
|
14680
|
+
readonly markAllRead: 'Mark all read';
|
|
14681
|
+
};
|
|
14682
|
+
};
|
|
14683
|
+
readonly protect: {
|
|
14684
|
+
readonly label: 'Protect';
|
|
14685
|
+
readonly controls: {
|
|
14686
|
+
readonly readOnly: 'Read-only';
|
|
14687
|
+
readonly restrictPermission: 'Restrict Permission';
|
|
14688
|
+
};
|
|
14689
|
+
};
|
|
14690
|
+
readonly ink: {
|
|
14691
|
+
readonly label: 'Ink';
|
|
14692
|
+
readonly controls: {
|
|
14693
|
+
readonly hideInk: 'Hide Ink';
|
|
14694
|
+
};
|
|
14695
|
+
};
|
|
14696
|
+
};
|
|
14697
|
+
readonly view: {
|
|
14698
|
+
readonly presentationViews: {
|
|
14699
|
+
readonly label: 'Presentation Views';
|
|
14700
|
+
readonly controls: {
|
|
14701
|
+
readonly normal: 'Normal';
|
|
14702
|
+
readonly outline: 'Outline View';
|
|
14703
|
+
readonly slideSorter: 'Slide Sorter';
|
|
14704
|
+
readonly notesPage: 'Notes Page';
|
|
14705
|
+
readonly readingView: 'Reading View';
|
|
14706
|
+
};
|
|
14707
|
+
};
|
|
14708
|
+
readonly masterViews: {
|
|
14709
|
+
readonly label: 'Master Views';
|
|
14710
|
+
readonly controls: {
|
|
14711
|
+
readonly slideMaster: 'Slide Master';
|
|
14712
|
+
readonly handoutMaster: 'Handout Master';
|
|
14713
|
+
readonly notesMaster: 'Notes Master';
|
|
14714
|
+
};
|
|
14715
|
+
};
|
|
14716
|
+
readonly show: {
|
|
14717
|
+
readonly label: 'Show';
|
|
14718
|
+
readonly controls: {
|
|
14719
|
+
readonly ruler: 'Ruler';
|
|
14720
|
+
readonly gridlines: 'Gridlines';
|
|
14721
|
+
readonly guides: 'Guides';
|
|
14722
|
+
readonly snapToGrid: 'Snap to Grid';
|
|
14723
|
+
readonly snapToShape: 'Snap to Shape';
|
|
14724
|
+
readonly addGuide: 'Add horizontal / vertical guide';
|
|
14725
|
+
readonly selectionPane: 'Selection Pane';
|
|
14726
|
+
readonly eyedropper: 'Eyedropper';
|
|
14727
|
+
readonly notes: 'Notes';
|
|
14728
|
+
};
|
|
14729
|
+
};
|
|
14730
|
+
readonly zoom: {
|
|
14731
|
+
readonly label: 'Zoom';
|
|
14732
|
+
readonly controls: {
|
|
14733
|
+
readonly zoom: 'Zoom';
|
|
14734
|
+
readonly fitToWindow: 'Fit to Window';
|
|
14735
|
+
};
|
|
14736
|
+
};
|
|
14737
|
+
readonly window: {
|
|
14738
|
+
readonly label: 'Window';
|
|
14739
|
+
readonly controls: {
|
|
14740
|
+
readonly templateEditing: 'Edit template elements';
|
|
14741
|
+
readonly macros: 'Macros';
|
|
14742
|
+
};
|
|
14743
|
+
};
|
|
14744
|
+
};
|
|
14745
|
+
readonly help: {
|
|
14746
|
+
readonly help: {
|
|
14747
|
+
readonly label: 'Help';
|
|
14748
|
+
readonly controls: {
|
|
14749
|
+
readonly options: 'Options';
|
|
14750
|
+
readonly keyboardShortcuts: 'Keyboard shortcuts';
|
|
14751
|
+
readonly accessibility: 'Accessibility checker';
|
|
14752
|
+
};
|
|
14753
|
+
};
|
|
14754
|
+
};
|
|
14755
|
+
readonly shapeFormat: {
|
|
14756
|
+
readonly shapeStyles: {
|
|
14757
|
+
readonly label: 'Shape Styles';
|
|
14758
|
+
readonly controls: {
|
|
14759
|
+
readonly gallery: 'Shape Styles gallery';
|
|
14760
|
+
readonly shapeEffects: 'Shape Effects gallery';
|
|
14761
|
+
};
|
|
14762
|
+
};
|
|
14763
|
+
readonly wordArtStyles: {
|
|
14764
|
+
readonly label: 'WordArt Styles';
|
|
14765
|
+
readonly controls: {
|
|
14766
|
+
readonly gallery: 'WordArt Styles gallery';
|
|
14767
|
+
};
|
|
14768
|
+
};
|
|
14769
|
+
};
|
|
14770
|
+
readonly pictureFormat: {
|
|
14771
|
+
readonly pictureStyles: {
|
|
14772
|
+
readonly label: 'Picture Styles';
|
|
14773
|
+
readonly controls: {
|
|
14774
|
+
readonly gallery: 'Picture Styles gallery';
|
|
14775
|
+
readonly pictureEffects: 'Picture Effects gallery';
|
|
14776
|
+
};
|
|
14777
|
+
};
|
|
14778
|
+
};
|
|
14779
|
+
readonly tableDesign: {
|
|
14780
|
+
readonly tableStyles: {
|
|
14781
|
+
readonly label: 'Table Styles';
|
|
14782
|
+
readonly controls: {
|
|
14783
|
+
readonly gallery: 'Table Styles gallery';
|
|
14784
|
+
};
|
|
14785
|
+
};
|
|
14786
|
+
};
|
|
14787
|
+
readonly chartDesign: {
|
|
14788
|
+
readonly chartLayouts: {
|
|
14789
|
+
readonly label: 'Chart Layouts';
|
|
14790
|
+
readonly controls: {
|
|
14791
|
+
readonly quickLayout: 'Quick Layout gallery';
|
|
14792
|
+
};
|
|
14793
|
+
};
|
|
14794
|
+
readonly chartStyles: {
|
|
14795
|
+
readonly label: 'Chart Styles';
|
|
14796
|
+
readonly controls: {
|
|
14797
|
+
readonly changeColors: 'Change Colors gallery';
|
|
14798
|
+
readonly gallery: 'Chart Styles gallery';
|
|
14799
|
+
};
|
|
14800
|
+
};
|
|
14801
|
+
};
|
|
14802
|
+
readonly smartArtDesign: {
|
|
14803
|
+
readonly smartArtStyles: {
|
|
14804
|
+
readonly label: 'SmartArt Styles';
|
|
14805
|
+
readonly controls: {
|
|
14806
|
+
readonly changeColors: 'Change Colors gallery';
|
|
14807
|
+
readonly gallery: 'SmartArt Styles gallery';
|
|
14808
|
+
};
|
|
14809
|
+
};
|
|
14810
|
+
};
|
|
14811
|
+
};
|
|
14812
|
+
//#endregion
|
|
14813
|
+
//#region src/render/customization/ribbon-control-ids.d.ts
|
|
14814
|
+
type Catalog = typeof RIBBON_CONTROL_CATALOG;
|
|
14815
|
+
/** `<tab>.<group>`, for example `home.font`. */
|
|
14816
|
+
type RibbonGroupId = { [T in keyof Catalog]: { [G in keyof Catalog[T]]: `${T & string}.${G & string}`; }[keyof Catalog[T]]; }[keyof Catalog];
|
|
14817
|
+
/** `<tab>.<group>.<control>`, for example `home.font.bold`. */
|
|
14818
|
+
type RibbonControlId = { [T in keyof Catalog]: { [G in keyof Catalog[T]]: Catalog[T][G] extends {
|
|
14819
|
+
controls: infer C;
|
|
14820
|
+
} ? `${T & string}.${G & string}.${keyof C & string}` : never; }[keyof Catalog[T]]; }[keyof Catalog];
|
|
14821
|
+
//#endregion
|
|
14199
14822
|
//#region src/render/customization/customization-types.d.ts
|
|
14200
14823
|
/** Keys of an options group whose value is a primitive (not an array). */
|
|
14201
14824
|
type PrimitiveKeys<T> = { [K in keyof T]: T[K] extends ViewerOptionPrimitive ? K : never; }[keyof T] & string;
|
|
@@ -14220,10 +14843,20 @@ type OptionsSectionId = `${ViewerOptionsTabId}.${string}`;
|
|
|
14220
14843
|
type OptionsSettingValues = Partial<Record<OptionsSettingId, ViewerOptionPrimitive>>;
|
|
14221
14844
|
/** Ribbon and toolbar customisation. */
|
|
14222
14845
|
interface RibbonCustomization {
|
|
14223
|
-
/**
|
|
14224
|
-
|
|
14225
|
-
|
|
14226
|
-
|
|
14846
|
+
/**
|
|
14847
|
+
* Ribbon tabs to remove (the File tab included, unlike Customize Ribbon),
|
|
14848
|
+
* and contextual tabs (`shapeFormat`, `pictureFormat`, ...) that should
|
|
14849
|
+
* never appear.
|
|
14850
|
+
*/
|
|
14851
|
+
hiddenTabs?: readonly (ToolbarTabId | RibbonContextualTabId)[];
|
|
14852
|
+
/** Groups inside a tab to remove, as `<tab>.<group>` (`home.font`). */
|
|
14853
|
+
hiddenGroups?: readonly RibbonGroupId[];
|
|
14854
|
+
/**
|
|
14855
|
+
* Controls to remove: a top-level toolbar button / control cluster
|
|
14856
|
+
* (`share`, `zoom`, ...) or any ribbon control as
|
|
14857
|
+
* `<tab>.<group>.<control>` (`home.font.bold`).
|
|
14858
|
+
*/
|
|
14859
|
+
hiddenButtons?: readonly (ToolbarButtonId | RibbonControlId)[];
|
|
14227
14860
|
}
|
|
14228
14861
|
/** File > Options (the Settings dialog) customisation. */
|
|
14229
14862
|
interface OptionsCustomization {
|
|
@@ -14422,6 +15055,12 @@ interface ResolvedKeyboardCustomization {
|
|
|
14422
15055
|
/** The normalised, set-based view of a customisation. Treat as immutable. */
|
|
14423
15056
|
interface ResolvedCustomization {
|
|
14424
15057
|
hiddenActions: ReadonlySet<ToolbarActionId>;
|
|
15058
|
+
/** Contextual tabs (`shapeFormat`, ...) the host never wants shown. */
|
|
15059
|
+
hiddenContextualTabs: ReadonlySet<RibbonContextualTabId>;
|
|
15060
|
+
/** Catalogued ribbon groups to hide (`ribbon.hiddenGroups`). */
|
|
15061
|
+
hiddenRibbonGroups: ReadonlySet<RibbonGroupId>;
|
|
15062
|
+
/** Catalogued ribbon controls to hide (the `<tab>.<group>.<control>` part of `ribbon.hiddenButtons`). */
|
|
15063
|
+
hiddenRibbonControls: ReadonlySet<RibbonControlId>;
|
|
14425
15064
|
hiddenOptionsPages: ReadonlySet<OptionsPageId>;
|
|
14426
15065
|
hiddenOptionsSections: ReadonlySet<OptionsSectionId>;
|
|
14427
15066
|
hiddenSettings: ReadonlySet<OptionsSettingId>;
|
|
@@ -14452,10 +15091,18 @@ interface ViewerCustomizationApi {
|
|
|
14452
15091
|
updateCustomization(patch: ViewerCustomization): void;
|
|
14453
15092
|
/** Drop every customisation, back to the stock UI. */
|
|
14454
15093
|
resetCustomization(): void;
|
|
14455
|
-
|
|
14456
|
-
|
|
14457
|
-
|
|
14458
|
-
|
|
15094
|
+
/** Hide a fixed tab, or stop a contextual tab (`shapeFormat`, ...) from appearing. */
|
|
15095
|
+
hideRibbonTab(tab: ToolbarTabId | RibbonContextualTabId): void;
|
|
15096
|
+
showRibbonTab(tab: ToolbarTabId | RibbonContextualTabId): void;
|
|
15097
|
+
/** Hide a group inside a tab (`home.font`). */
|
|
15098
|
+
hideRibbonGroup(group: RibbonGroupId): void;
|
|
15099
|
+
showRibbonGroup(group: RibbonGroupId): void;
|
|
15100
|
+
/** Hide a top-level toolbar button or any ribbon control (`home.font.bold`). */
|
|
15101
|
+
hideToolbarButton(button: ToolbarButtonId | RibbonControlId): void;
|
|
15102
|
+
showToolbarButton(button: ToolbarButtonId | RibbonControlId): void;
|
|
15103
|
+
/** Alias of `hideToolbarButton` for a ribbon control id. */
|
|
15104
|
+
hideRibbonControl(control: RibbonControlId): void;
|
|
15105
|
+
showRibbonControl(control: RibbonControlId): void;
|
|
14459
15106
|
hideOptionsPage(page: OptionsPageId): void;
|
|
14460
15107
|
showOptionsPage(page: OptionsPageId): void;
|
|
14461
15108
|
hideOptionsSection(section: OptionsSectionId): void;
|
|
@@ -14491,6 +15138,39 @@ interface ViewerCustomizationController {
|
|
|
14491
15138
|
/** Subscribe to every change; returns the unsubscribe function. */
|
|
14492
15139
|
subscribe(listener: () => void): () => void;
|
|
14493
15140
|
}
|
|
15141
|
+
/**
|
|
15142
|
+
* What a gallery needs to know about the deck and the selection. Bindings
|
|
15143
|
+
* build it once per render from state they already hold.
|
|
15144
|
+
*/
|
|
15145
|
+
interface RibbonGalleryContext {
|
|
15146
|
+
/** The primary selected element, or null. */
|
|
15147
|
+
element: PptxElement | null;
|
|
15148
|
+
/** `PptxData.themeColorMap`: scheme key -> hex. */
|
|
15149
|
+
themeColorMap?: Readonly<Record<string, string>>;
|
|
15150
|
+
/** `PptxData.theme`. */
|
|
15151
|
+
theme?: PptxTheme;
|
|
15152
|
+
/**
|
|
15153
|
+
* The handler's `resolveStyleMatrixReferences`, bound. Shape Styles use it
|
|
15154
|
+
* to resolve `<p:style>` exactly as the load path does; without it they
|
|
15155
|
+
* fall back to an approximation from `themeColorMap`.
|
|
15156
|
+
*/
|
|
15157
|
+
resolveStyleMatrix?: (styleXml: XmlObject) => ResolvedStyleMatrix;
|
|
15158
|
+
}
|
|
15159
|
+
/** What a pick asks the binding to do. */
|
|
15160
|
+
type RibbonGalleryApplyResult = {
|
|
15161
|
+
kind: 'element';
|
|
15162
|
+
elementId: string;
|
|
15163
|
+
/** Merge onto the element with the binding's normal update + history path. */
|
|
15164
|
+
patch: Partial<PptxElement>;
|
|
15165
|
+
} | {
|
|
15166
|
+
kind: 'themeColorScheme';
|
|
15167
|
+
colorScheme: PptxThemeColorScheme;
|
|
15168
|
+
name: string;
|
|
15169
|
+
} | {
|
|
15170
|
+
kind: 'themeFontScheme';
|
|
15171
|
+
fontScheme: PptxThemeFontScheme;
|
|
15172
|
+
name: string;
|
|
15173
|
+
};
|
|
14494
15174
|
//#endregion
|
|
14495
15175
|
//#region src/render/inline-text-commit.d.ts
|
|
14496
15176
|
/**
|
|
@@ -14674,5 +15354,5 @@ interface TransitionOverlayParams {
|
|
|
14674
15354
|
*/
|
|
14675
15355
|
declare function playTransitionOverlay(params: TransitionOverlayParams): () => void;
|
|
14676
15356
|
//#endregion
|
|
14677
|
-
export { KeyboardCustomization as $,
|
|
14678
|
-
//# sourceMappingURL=transition-overlay-
|
|
15357
|
+
export { KeyboardCustomization as $, defaultRadius as $n, PptxTagCollection as $r, TRANSITION_SPEED_DURATION_MS as $t, CssStyleMap as A, getP14TransitionAnimations as An, PptxCoreProperties as Ar, RibbonContextualTabId as At, ElementUpdateOptions as B, rememberSessionDeck as Bn, PptxLayoutPreview as Br, SLIDE_TRANSITION_KEYFRAMES_CSS as Bt, CollaborationTransport as C, ZoomNavigationTarget as Cn, PptxAnimationTrigger as Cr, RANDOM_ELIGIBLE_TYPES as Ct, ContextMenuCustomization as D, describeCollaborationShellState as Dn, PptxCommentAuthor as Dr, ResolvedCustomization as Dt, ContextMenuCommandId as E, createImageElementFromFile as En, PptxComment as Er, RemoteCursor as Et, ELEMENT_CONTEXT_MENU_COMMAND_IDS as F, loadPresentationDeck as Fn, PptxElementAnimation as Fr, RibbonGroupId as Ft, FreeformToolKind as G, resolveTransitionDurationMs as Gn, PptxSection as Gr, ShareDefaults as Gt, ExternalCollaborationSession as H, resolveDirection8 as Hn, PptxModifyVerifier as Hr, SavedPresentationFormat as Ht, EditorKeyActionName as I, loadSessionDeck as In, PptxEmbeddedFont as Ir, RibbonTransitionDraft as It, INSTANT as J, savedPresentationFileName as Jn, PptxSlideTransition as Jr, SlideSizeRescaleMode as Jt, GradientState as K, resolveWheelSpokeCount as Kn, PptxSlide as Kr, ShortcutChord as Kt, ElementAnimationState as L, overlayInlineTextSnapshot as Ln, PptxHandoutMaster as Lr, RulerUnit as Lt, DEFAULT_TRANSITION_DURATION_MS as M, getSlideTransitionAnimations as Mn, PptxCustomShow as Mr, RibbonCustomization as Mt, EASE as N, isLegacyBinaryPresentation as Nn, PptxData as Nr, RibbonGalleryApplyResult as Nt, CropElementUpdate as O, forgetSessionDeck as On, PptxCommentMention as Or, ResolvedDirection as Ot, EDITOR_SHORTCUT_ACTION_IDS as P, isSupportedPresentationFile as Pn, PptxElement as Pr, RibbonGalleryContext as Pt, InsertChartKind as Q, defaultCssVars as Qn, PptxTableData as Qr, TOOLBAR_BUTTON_IDS as Qt, ElementClipboardPayload as R, parsePresentationSessionId as Rn, PptxHeaderFooter as Rr, RunProgramNotice as Rt, CollaborationShellState as S, WHEEL_SPOKE_COUNTS as Sn, PptxAnimationTimingCurve as Sr, PrintSettings as St, ConnectionStatus as T, canInteractWithElement as Tn, PptxChartData as Tr, ReadOnlyRecommendation as Tt, ExternalCollaborationSnapshot as U, resolveOrientation as Un, PptxNotesMaster as Ur, SessionDeck as Ut, ExternalCollaborationAwareness as V, resolveDirection as Vn, PptxModernCommentAuthor as Vr, SanitizedPresence as Vt, FieldSubstitutionContext as W, resolveSlideTransition as Wn, PptxPresentationProperties as Wr, ShapePresetType as Wt, InlineTextEditSnapshot as X, ViewerTheme as Xn, PptxSmartArtNodeStyle as Xr, SlideTransitionAnimations as Xt, InlineListReadResult as Y, ThemeCatalogEntry as Yn, PptxSmartArtData as Yr, SlideTemplateId as Yt, InlineTextSelection as Z, ViewerThemeColors as Zn, PptxTableCellStyle as Zr, StrokeToInkElementOpts as Zt, ChartPartRef as _, ViewerOptionsStore as _n, PptxAnimationDirection as _r, PasteSpecialFormat as _t, AnimationGroup as a, PptxThemeOption as ai, VIEWER_EXPORT_FORMAT_IDS as an, MergeShapeOperation as ar, OPTIONS_SECTION_IDS as at, CollaborationLivePatcher as b, ViewportFitOptions as bn, PptxAnimationSequence as br, PresentationPointerTool as bt, BACKSTAGE_PAGE_IDS as c, ShapeStyle as ci, ViewerCustomization as cn, PptxSaveFormat as cr, OptionsPageId as ct, BackstagePage as d, SmartArtLayoutType as di, ViewerDialogId as dn, MasterViewTab as dr, OptionsSettingValues as dt, PptxTextStyleLevels as ei, TextAdvancedChanges as en, defaultThemeColors as er, MasterViewCrudAction as et, CANVAS_CONTEXT_MENU_COMMAND_IDS as f, TablePptxElement as fi, ViewerExportFormatId as fn, MediaPptxElement as fr, P14_TRANSITION_KEYFRAMES as ft, ChangeCaseMode as g, ViewerOptionPrimitive as gn, PptxAfterAnimationAction as gr, PRESENTATION_OPEN_EXTENSIONS as gt, CanvasSize as h, XmlObject as hi, ViewerMode as hn, ParsedTableStyleMap as hr, PPTX_OPEN_ACCEPT as ht, AlignEdge as i, PptxThemeFontScheme as ii, VIEWER_DIALOG_IDS as in, AccessibilityIssue as ir, OPTIONS_PAGE_IDS as it, DEFAULT_MORPH_DURATION_MS as j, getSessionTabId as jn, PptxCustomProperty as jr, RibbonControlId as jt, CropSession as k, getCinematicTransitionAnimations as kn, PptxCompatibilityWarning as kr, ResolvedDirection8 as kt, BackstageCardId as l, SmartArtColorScheme as li, ViewerCustomizationApi as ln, SvgExportOptions as lr, OptionsSectionId as lt, CanvasContextMenuCommandId as m, TextStyle as mi, ViewerFontSource as mn, OlePptxElement as mr, P14_TRANSITION_KEYFRAMES_ALL as mt, playTransitionOverlay as n, PptxThemeColorRef as ni, ToolbarButtonId as nn, vermilionDarkTheme as nr, MobileSheetKey as nt, AutosaveRecord as o, PptxTransitionType as oi, VIEWER_FEATURE_IDS as on, PptxHandler as or, OPTIONS_SETTING_IDS as ot, CINEMATIC_TRANSITION_KEYFRAMES as p, TextSegment as pi, ViewerFeatureId as pn, OleObjectType as pr, P14_TRANSITION_KEYFRAMES_2 as pt, Guide as q, restoreSessionDeck as qn, PptxSlideMaster as qr, SlideSizeEmu as qt, AccountAuthConfig as r, PptxThemeColorScheme as ri, ToolbarTabId as rn, vermilionLightTheme as rr, ModifyPasswordCheckResult as rt, BACKSTAGE_CARD_IDS as s, PptxViewProperties as si, VIEWER_PANEL_IDS as sn, PptxHandlerSaveOptions as sr, OptionsCustomization as st, TransitionOverlayParams as t, PptxTheme as ti, ToolbarActionId as tn, themeToCssVars as tr, MasterViewCrudActionId as tt, BackstageCustomization as u, SmartArtLayout as ui, ViewerCustomizationController as un, ElementAction as ur, OptionsSettingId as ut, CollabLoadOrigin as v, ViewerPanelId as vn, PptxAnimationPreset as vr, PowerPointViewerAPI as vt, CompatibilityWarningToast as w, buildInlineTextCommitPatch as wn, PptxAppProperties as wr, RIBBON_TAB_IDS as wt, CollaborationRole as x, ViewportFitPadding as xn, PptxAnimationTimelineAnchor as xr, PresentationSnapshot as xt, CollaborationConfig as y, ViewerQuickAccessOptions as yn, PptxAnimationRepeatMode as yr, PresentationBlackout as yt, ElementUpdate as z, presentationBaseName as zn, PptxImageEffects as zr, SLIDE_TRANSITION_KEYFRAMES as zt };
|
|
15358
|
+
//# sourceMappingURL=transition-overlay-D57AQXCk.d.ts.map
|