pptx-react-viewer 4.8.0 → 4.10.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 +139 -0
- package/dist/{AiChatPanel-4LMJIJUU.js → AiChatPanel-RBQFM6JK.js} +28 -28
- package/dist/AiChatPanel-RBQFM6JK.js.br +0 -0
- package/dist/AiChatPanel-RBQFM6JK.js.gz +0 -0
- package/dist/{AiChatPanel-XWYLYN26.mjs → AiChatPanel-SIEMT43N.mjs} +4 -4
- package/dist/AiChatPanel-SIEMT43N.mjs.br +0 -0
- package/dist/AiChatPanel-SIEMT43N.mjs.gz +0 -0
- package/dist/{Model3DScene-N6IZ7Q57.mjs → Model3DScene-HZ7SOUFQ.mjs} +1 -1
- package/dist/{Model3DScene-N6IZ7Q57.mjs.br → Model3DScene-HZ7SOUFQ.mjs.br} +0 -0
- package/dist/Model3DScene-HZ7SOUFQ.mjs.gz +0 -0
- package/dist/{Model3DScene-YAPQ5BCI.js → Model3DScene-ITAVIIVY.js} +2 -2
- package/dist/Model3DScene-ITAVIIVY.js.br +0 -0
- package/dist/Model3DScene-ITAVIIVY.js.gz +0 -0
- package/dist/{chunk-KHEJXP4I.mjs → chunk-3UZYGG6W.mjs} +2547 -1856
- package/dist/chunk-3UZYGG6W.mjs.br +0 -0
- package/dist/chunk-3UZYGG6W.mjs.gz +0 -0
- package/dist/{chunk-SOMUGI3Y.mjs → chunk-A5A6B2PA.mjs} +18 -14
- package/dist/chunk-A5A6B2PA.mjs.br +0 -0
- package/dist/chunk-A5A6B2PA.mjs.gz +0 -0
- package/dist/{chunk-YF2BQIW3.js → chunk-E5565MDK.js} +11989 -4273
- package/dist/chunk-E5565MDK.js.br +0 -0
- package/dist/chunk-E5565MDK.js.gz +0 -0
- package/dist/{chunk-YPDPSXPK.mjs → chunk-HDH4KFDK.mjs} +259 -0
- package/dist/chunk-HDH4KFDK.mjs.br +0 -0
- package/dist/chunk-HDH4KFDK.mjs.gz +0 -0
- package/dist/{chunk-LTBTG2QB.js → chunk-KPKO2ELT.js} +259 -0
- package/dist/chunk-KPKO2ELT.js.br +0 -0
- package/dist/chunk-KPKO2ELT.js.gz +0 -0
- package/dist/{chunk-SSXGPYBF.mjs → chunk-LMJU46E5.mjs} +34 -16
- package/dist/chunk-LMJU46E5.mjs.br +0 -0
- package/dist/chunk-LMJU46E5.mjs.gz +0 -0
- package/dist/{chunk-SAYZSUNQ.js → chunk-NTMJSTXL.js} +221 -203
- package/dist/chunk-NTMJSTXL.js.br +0 -0
- package/dist/chunk-NTMJSTXL.js.gz +0 -0
- package/dist/{chunk-UTP22QYH.js → chunk-PPDIZ3XP.js} +5 -5
- package/dist/chunk-PPDIZ3XP.js.br +0 -0
- package/dist/chunk-PPDIZ3XP.js.gz +0 -0
- package/dist/{chunk-Q4XJSJYI.mjs → chunk-WM33FDLD.mjs} +1 -1
- package/dist/chunk-WM33FDLD.mjs.br +0 -0
- package/dist/chunk-WM33FDLD.mjs.gz +0 -0
- package/dist/{chunk-NPZOVIHG.mjs → chunk-ZBFDEYLQ.mjs} +11968 -4273
- package/dist/chunk-ZBFDEYLQ.mjs.br +0 -0
- package/dist/chunk-ZBFDEYLQ.mjs.gz +0 -0
- package/dist/{chunk-NV2H57Q4.js → chunk-ZEQVK2FT.js} +4565 -3874
- package/dist/chunk-ZEQVK2FT.js.br +0 -0
- package/dist/chunk-ZEQVK2FT.js.gz +0 -0
- package/dist/{chunk-Q7NWWIPQ.js → chunk-ZI57KREY.js} +830 -826
- package/dist/chunk-ZI57KREY.js.br +0 -0
- package/dist/chunk-ZI57KREY.js.gz +0 -0
- package/dist/i18n/de.cjs +276 -9
- package/dist/i18n/de.cjs.br +0 -0
- package/dist/i18n/de.cjs.gz +0 -0
- package/dist/i18n/de.mjs +276 -9
- package/dist/i18n/de.mjs.br +0 -0
- package/dist/i18n/de.mjs.gz +0 -0
- package/dist/i18n/es.cjs +276 -9
- package/dist/i18n/es.cjs.br +0 -0
- package/dist/i18n/es.cjs.gz +0 -0
- package/dist/i18n/es.mjs +276 -9
- package/dist/i18n/es.mjs.br +0 -0
- package/dist/i18n/es.mjs.gz +0 -0
- package/dist/i18n/fr.cjs +276 -9
- package/dist/i18n/fr.cjs.br +0 -0
- package/dist/i18n/fr.cjs.gz +0 -0
- package/dist/i18n/fr.mjs +276 -9
- package/dist/i18n/fr.mjs.br +0 -0
- package/dist/i18n/fr.mjs.gz +0 -0
- package/dist/i18n/zh-CN.cjs +279 -12
- package/dist/i18n/zh-CN.cjs.br +0 -0
- package/dist/i18n/zh-CN.cjs.gz +0 -0
- package/dist/i18n/zh-CN.mjs +279 -12
- package/dist/i18n/zh-CN.mjs.br +0 -0
- package/dist/i18n/zh-CN.mjs.gz +0 -0
- package/dist/i18n.js +4 -4
- package/dist/i18n.js.br +0 -0
- package/dist/i18n.js.gz +0 -0
- package/dist/i18n.mjs +1 -1
- package/dist/i18n.mjs.br +0 -0
- package/dist/i18n.mjs.gz +0 -0
- package/dist/index.d.ts +683 -23
- package/dist/index.js +63 -63
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.br +0 -0
- package/dist/index.mjs.gz +0 -0
- package/dist/internals.d.ts +677 -14
- package/dist/internals.js +105 -105
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/internals.mjs +4 -4
- package/dist/internals.mjs.br +0 -0
- package/dist/internals.mjs.gz +0 -0
- package/dist/pptx-viewer.css +1 -1
- package/dist/pptx-viewer.css.br +0 -0
- package/dist/pptx-viewer.css.gz +0 -0
- package/dist/viewer/index.d.ts +677 -23
- package/dist/viewer/index.js +27 -27
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/viewer/index.mjs +6 -6
- package/dist/viewer/index.mjs.br +0 -0
- package/dist/viewer/index.mjs.gz +0 -0
- package/package.json +4 -3
- package/dist/AiChatPanel-4LMJIJUU.js.br +0 -0
- package/dist/AiChatPanel-4LMJIJUU.js.gz +0 -0
- package/dist/AiChatPanel-XWYLYN26.mjs.br +0 -0
- package/dist/AiChatPanel-XWYLYN26.mjs.gz +0 -0
- package/dist/Model3DScene-N6IZ7Q57.mjs.gz +0 -0
- package/dist/Model3DScene-YAPQ5BCI.js.br +0 -0
- package/dist/Model3DScene-YAPQ5BCI.js.gz +0 -0
- package/dist/chunk-KHEJXP4I.mjs.br +0 -0
- package/dist/chunk-KHEJXP4I.mjs.gz +0 -0
- package/dist/chunk-LTBTG2QB.js.br +0 -0
- package/dist/chunk-LTBTG2QB.js.gz +0 -0
- package/dist/chunk-NPZOVIHG.mjs.br +0 -0
- package/dist/chunk-NPZOVIHG.mjs.gz +0 -0
- package/dist/chunk-NV2H57Q4.js.br +0 -0
- package/dist/chunk-NV2H57Q4.js.gz +0 -0
- package/dist/chunk-Q4XJSJYI.mjs.br +0 -0
- package/dist/chunk-Q4XJSJYI.mjs.gz +0 -0
- package/dist/chunk-Q7NWWIPQ.js.br +0 -0
- package/dist/chunk-Q7NWWIPQ.js.gz +0 -0
- package/dist/chunk-SAYZSUNQ.js.br +0 -0
- package/dist/chunk-SAYZSUNQ.js.gz +0 -0
- package/dist/chunk-SOMUGI3Y.mjs.br +0 -0
- package/dist/chunk-SOMUGI3Y.mjs.gz +0 -0
- package/dist/chunk-SSXGPYBF.mjs.br +0 -0
- package/dist/chunk-SSXGPYBF.mjs.gz +0 -0
- package/dist/chunk-UTP22QYH.js.br +0 -0
- package/dist/chunk-UTP22QYH.js.gz +0 -0
- package/dist/chunk-YF2BQIW3.js.br +0 -0
- package/dist/chunk-YF2BQIW3.js.gz +0 -0
- package/dist/chunk-YPDPSXPK.mjs.br +0 -0
- package/dist/chunk-YPDPSXPK.mjs.gz +0 -0
package/dist/viewer/index.d.ts
CHANGED
|
@@ -1952,6 +1952,16 @@ interface TextStyle {
|
|
|
1952
1952
|
textReflectionEndOpacity?: number;
|
|
1953
1953
|
/** Text reflection offset distance in px. */
|
|
1954
1954
|
textReflectionOffset?: number;
|
|
1955
|
+
/**
|
|
1956
|
+
* Text reflection end position (`@endPos`) as a 0-1 fraction of the text
|
|
1957
|
+
* height the fade reaches. Mirrors `ShapeStyle.reflectionEndPosition`.
|
|
1958
|
+
*/
|
|
1959
|
+
textReflectionEndPosition?: number;
|
|
1960
|
+
/**
|
|
1961
|
+
* Text reflection offset direction (`@dir`) in degrees. Mirrors
|
|
1962
|
+
* `ShapeStyle.reflectionDirection`.
|
|
1963
|
+
*/
|
|
1964
|
+
textReflectionDirection?: number;
|
|
1955
1965
|
/**
|
|
1956
1966
|
* Text reflection fade direction (`a:rPr/a:effectLst/a:reflection/@fadeDir`)
|
|
1957
1967
|
* in degrees. Mirrors `ShapeStyle.reflectionFadeDirection`.
|
|
@@ -2270,6 +2280,21 @@ interface TextSegment {
|
|
|
2270
2280
|
* populated; unrelated fields fall back to the shape-level style.
|
|
2271
2281
|
*/
|
|
2272
2282
|
paragraphProperties?: TextStyle;
|
|
2283
|
+
/**
|
|
2284
|
+
* The paragraph this segment starts authored an EMPTY `<a:pPr/>`. Only
|
|
2285
|
+
* meaningful on the first segment of a paragraph. The writer re-emits the
|
|
2286
|
+
* empty element when it has no paragraph property of its own to write, so
|
|
2287
|
+
* a rewritten slide keeps the markup PowerPoint wrote.
|
|
2288
|
+
*/
|
|
2289
|
+
emptyParagraphPropertiesAuthored?: boolean;
|
|
2290
|
+
/**
|
|
2291
|
+
* The paragraph this segment starts has no run content and authored no
|
|
2292
|
+
* `a:endParaRPr` (a bare `<a:p/>`, possibly with an `a:pPr`). Only
|
|
2293
|
+
* meaningful on the first segment of a paragraph. It stops the writer
|
|
2294
|
+
* inventing an empty run or an `<a:endParaRPr lang="en-US"/>` stub for a
|
|
2295
|
+
* paragraph that still has no content when saved.
|
|
2296
|
+
*/
|
|
2297
|
+
bareParagraph?: boolean;
|
|
2273
2298
|
/**
|
|
2274
2299
|
* Phonetic annotation text from `a:ruby > a:rt` (e.g. furigana, pinyin).
|
|
2275
2300
|
* When present, the renderer should wrap the base text with an HTML `<ruby>` tag.
|
|
@@ -5759,10 +5784,17 @@ interface PptxSmartArtColorTransform extends PptxSmartArtDefinitionMetadata {
|
|
|
5759
5784
|
* palette (see `PptxSmartArtNode.styleRole` and `applySmartArtRoleColors`)
|
|
5760
5785
|
* instead of a generic cycled colour.
|
|
5761
5786
|
*/
|
|
5762
|
-
roleColors?: Record<string,
|
|
5763
|
-
|
|
5764
|
-
|
|
5765
|
-
|
|
5787
|
+
roleColors?: Record<string, SmartArtRoleColorList>;
|
|
5788
|
+
}
|
|
5789
|
+
/** One colour-transform `styleLbl`'s resolved colour lists. */
|
|
5790
|
+
interface SmartArtRoleColorList {
|
|
5791
|
+
fill: string[];
|
|
5792
|
+
line: string[];
|
|
5793
|
+
/**
|
|
5794
|
+
* `txFillClrLst`, when the label declares one (`revTx` -> `tx1`). A text
|
|
5795
|
+
* node's colour comes from here; see `smartart-merged-text-label`.
|
|
5796
|
+
*/
|
|
5797
|
+
textFill?: string[];
|
|
5766
5798
|
}
|
|
5767
5799
|
/** Typed CT_StyleDefinition metadata and legacy rendering hint. */
|
|
5768
5800
|
interface PptxSmartArtQuickStyle extends PptxSmartArtDefinitionMetadata {
|
|
@@ -6012,6 +6044,13 @@ interface PptxSmartArtDrawingShape extends PptxCustomPathProperties {
|
|
|
6012
6044
|
* shape body.
|
|
6013
6045
|
*/
|
|
6014
6046
|
text3d?: Text3DStyle;
|
|
6047
|
+
/**
|
|
6048
|
+
* The presentation style label (`presStyleLbl`: `node1`, `revTx`,
|
|
6049
|
+
* `sibTrans2D1`, ...) of the layout node a REGENERATED shape was laid out
|
|
6050
|
+
* from, when the layout engine reports it. Picks the quick-style label
|
|
6051
|
+
* whose 3D the shape takes; `undefined` on cached (parsed) shapes.
|
|
6052
|
+
*/
|
|
6053
|
+
styleLabel?: string;
|
|
6015
6054
|
}
|
|
6016
6055
|
/**
|
|
6017
6056
|
* Presentation layout variables from `dgm:prSet/dgm:presLayoutVars` (data model)
|
|
@@ -7864,6 +7903,84 @@ interface PptxThemeOption {
|
|
|
7864
7903
|
name?: string;
|
|
7865
7904
|
}
|
|
7866
7905
|
//#endregion
|
|
7906
|
+
//#region src/core/types/animation-behavior.d.ts
|
|
7907
|
+
/** Timing of one behaviour, from its own `p:cBhvr/p:cTn`. */
|
|
7908
|
+
interface PptxAnimationBehaviorTiming {
|
|
7909
|
+
/** `p:cTn/@dur` in ms; absent when `indefinite` or unset. */
|
|
7910
|
+
durationMs?: number;
|
|
7911
|
+
/** Start offset in ms from `p:stCondLst/p:cond/@delay`, relative to the effect start. */
|
|
7912
|
+
delayMs?: number;
|
|
7913
|
+
/** `p:cTn/@accel` as a 0..1 fraction of the behaviour's duration. */
|
|
7914
|
+
accel?: number;
|
|
7915
|
+
/** `p:cTn/@decel` as a 0..1 fraction of the behaviour's duration. */
|
|
7916
|
+
decel?: number;
|
|
7917
|
+
/** `p:cTn/@autoRev`: play forward, then backward, doubling the active time. */
|
|
7918
|
+
autoReverse?: boolean;
|
|
7919
|
+
/** `p:cTn/@repeatCount` in plain iterations (OOXML stores thousandths). */
|
|
7920
|
+
repeatCount?: number;
|
|
7921
|
+
/** `p:cTn/@tmFilter`: the raw `"t,v; t,v; ..."` time remapping list. */
|
|
7922
|
+
tmFilter?: string;
|
|
7923
|
+
}
|
|
7924
|
+
interface BehaviorBase {
|
|
7925
|
+
/** Lower-cased `p:attrNameLst` entries, in document order. */
|
|
7926
|
+
attrNames: string[];
|
|
7927
|
+
/** `p:cBhvr/@additive` (`base`, `sum`, `repl`, `mult`, `none`). */
|
|
7928
|
+
additive?: string;
|
|
7929
|
+
timing: PptxAnimationBehaviorTiming;
|
|
7930
|
+
}
|
|
7931
|
+
/** `p:set`: a discrete value held from the behaviour's start. */
|
|
7932
|
+
interface PptxSetBehavior extends BehaviorBase {
|
|
7933
|
+
kind: 'set';
|
|
7934
|
+
value: string | number | boolean;
|
|
7935
|
+
}
|
|
7936
|
+
/** `p:anim`: a `p:tavLst` ramp or a `from`/`to`/`by` formula ramp. */
|
|
7937
|
+
interface PptxAnimBehavior extends BehaviorBase {
|
|
7938
|
+
kind: 'anim';
|
|
7939
|
+
calcMode?: 'discrete' | 'lin' | 'fmla';
|
|
7940
|
+
valueType?: string;
|
|
7941
|
+
from?: string;
|
|
7942
|
+
to?: string;
|
|
7943
|
+
by?: string;
|
|
7944
|
+
keyframes: PptxAnimationKeyframe[];
|
|
7945
|
+
}
|
|
7946
|
+
/** `p:animEffect`: a filter transition (`fade`, `wipe(down)`...). */
|
|
7947
|
+
interface PptxAnimEffectBehavior extends BehaviorBase {
|
|
7948
|
+
kind: 'animEffect';
|
|
7949
|
+
filter?: string;
|
|
7950
|
+
transition?: 'in' | 'out' | 'none';
|
|
7951
|
+
}
|
|
7952
|
+
/** A `p:animScale` factor pair (1 = unscaled) or a `p:animMotion` offset (slide fractions). */
|
|
7953
|
+
interface PptxBehaviorPoint {
|
|
7954
|
+
x: number;
|
|
7955
|
+
y: number;
|
|
7956
|
+
}
|
|
7957
|
+
/** `p:animScale`: scale factors as fractions (OOXML stores percent*1000, so `100000` = 1). */
|
|
7958
|
+
interface PptxAnimScaleBehavior extends BehaviorBase {
|
|
7959
|
+
kind: 'animScale';
|
|
7960
|
+
from?: PptxBehaviorPoint;
|
|
7961
|
+
to?: PptxBehaviorPoint;
|
|
7962
|
+
by?: PptxBehaviorPoint;
|
|
7963
|
+
zoomContents?: boolean;
|
|
7964
|
+
}
|
|
7965
|
+
/** `p:animRot`: rotation in degrees (OOXML stores 60000ths). */
|
|
7966
|
+
interface PptxAnimRotBehavior extends BehaviorBase {
|
|
7967
|
+
kind: 'animRot';
|
|
7968
|
+
from?: number;
|
|
7969
|
+
to?: number;
|
|
7970
|
+
by?: number;
|
|
7971
|
+
}
|
|
7972
|
+
/** `p:animMotion`: a path (slide fractions) or a `from`/`to`/`by` offset. */
|
|
7973
|
+
interface PptxAnimMotionBehavior extends BehaviorBase {
|
|
7974
|
+
kind: 'animMotion';
|
|
7975
|
+
path?: string;
|
|
7976
|
+
origin?: string;
|
|
7977
|
+
from?: PptxBehaviorPoint;
|
|
7978
|
+
to?: PptxBehaviorPoint;
|
|
7979
|
+
by?: PptxBehaviorPoint;
|
|
7980
|
+
}
|
|
7981
|
+
/** One behaviour child of an effect, tagged by its OOXML element. */
|
|
7982
|
+
type PptxAnimationBehavior = PptxSetBehavior | PptxAnimBehavior | PptxAnimEffectBehavior | PptxAnimScaleBehavior | PptxAnimRotBehavior | PptxAnimMotionBehavior;
|
|
7983
|
+
//#endregion
|
|
7867
7984
|
//#region src/core/types/animation.d.ts
|
|
7868
7985
|
/**
|
|
7869
7986
|
* Built-in animation preset names used for entrance, exit, and emphasis effects.
|
|
@@ -8415,6 +8532,14 @@ interface PptxNativeAnimation {
|
|
|
8415
8532
|
* shared playback (round-trip/typed-model only so far).
|
|
8416
8533
|
*/
|
|
8417
8534
|
setAnimations?: PptxSetAnimation[];
|
|
8535
|
+
/**
|
|
8536
|
+
* Every behaviour child of this effect (`p:set`, `p:anim`, `p:animEffect`,
|
|
8537
|
+
* `p:animScale`, `p:animRot`, `p:animMotion`) with its own timing, as
|
|
8538
|
+
* authored. The single-valued fields above flatten a composed preset;
|
|
8539
|
+
* this keeps the whole tree so playback can follow what PowerPoint wrote
|
|
8540
|
+
* (see `animation-behavior-player` in `pptx-viewer-shared`).
|
|
8541
|
+
*/
|
|
8542
|
+
behaviors?: PptxAnimationBehavior[];
|
|
8418
8543
|
}
|
|
8419
8544
|
/**
|
|
8420
8545
|
* One `p:set` discrete (non-interpolated) attribute assignment composed
|
|
@@ -12506,6 +12631,8 @@ declare function loadAudienceContent(sessionId?: string): Promise<Uint8Array | n
|
|
|
12506
12631
|
* Remove stored audience content (cleanup).
|
|
12507
12632
|
*/
|
|
12508
12633
|
declare function clearAudienceContent(sessionId?: string): Promise<void>;
|
|
12634
|
+
//#endregion
|
|
12635
|
+
//#region src/render/editor-keymap.d.ts
|
|
12509
12636
|
/** A logical editor command produced by one key press. */
|
|
12510
12637
|
type EditorKeyActionName = 'undo' | 'redo' | 'copy' | 'cut' | 'paste' | 'duplicate' | 'delete' | 'selectAll' | 'group' | 'ungroup' | 'nudge' | 'prevSlide' | 'nextSlide' | 'escape' | 'find' | 'findReplace' | 'toggleShortcuts' | 'alignLeft' | 'alignCenter' | 'alignRight' | 'alignJustify' | 'increaseFontSize' | 'decreaseFontSize' | 'copyFormat' | 'pasteFormat' | 'newSlide' | 'hyperlink' | 'clearFormatting' | 'cycleSelectionNext' | 'cycleSelectionPrev' | 'pasteSpecial';
|
|
12511
12638
|
//#endregion
|
|
@@ -12592,6 +12719,13 @@ type ToolbarButtonId = 'share' | 'broadcast' | 'export' | 'undo' | 'redo' | 'rec
|
|
|
12592
12719
|
/** 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. */
|
|
12593
12720
|
type ToolbarTabId = 'file' | 'home' | 'insert' | 'draw' | 'design' | 'transitions' | 'animations' | 'slideShow' | 'record' | 'review' | 'view' | 'help';
|
|
12594
12721
|
type ToolbarActionId = ToolbarButtonId | ToolbarTabId;
|
|
12722
|
+
/**
|
|
12723
|
+
* PowerPoint's contextual tabs: they join the tab row only while the
|
|
12724
|
+
* selection is of their kind (see `contextualTabsForElement` in
|
|
12725
|
+
* `ribbon-galleries/`). Kept apart from `ToolbarTabId` because they are not
|
|
12726
|
+
* part of the fixed tab order every binding renders.
|
|
12727
|
+
*/
|
|
12728
|
+
type RibbonContextualTabId = 'shapeFormat' | 'pictureFormat' | 'tableDesign' | 'chartDesign' | 'smartArtDesign';
|
|
12595
12729
|
//#endregion
|
|
12596
12730
|
//#region src/render/options/viewer-options.d.ts
|
|
12597
12731
|
/**
|
|
@@ -12765,6 +12899,511 @@ type FreeformToolKind = 'freeformShape' | 'curve';
|
|
|
12765
12899
|
*/
|
|
12766
12900
|
type ViewerOptionsTabId = 'general' | 'proofing' | 'save' | 'language' | 'accessibility' | 'advanced' | 'ribbon' | 'quickAccess' | 'addIns' | 'trust';
|
|
12767
12901
|
//#endregion
|
|
12902
|
+
//#region src/render/customization/ribbon-control-catalog.d.ts
|
|
12903
|
+
declare const RIBBON_CONTROL_CATALOG: {
|
|
12904
|
+
readonly home: {
|
|
12905
|
+
readonly clipboard: {
|
|
12906
|
+
readonly label: 'Clipboard';
|
|
12907
|
+
readonly controls: {
|
|
12908
|
+
readonly paste: 'Paste';
|
|
12909
|
+
readonly cut: 'Cut';
|
|
12910
|
+
readonly copy: 'Copy';
|
|
12911
|
+
readonly formatPainter: 'Format Painter';
|
|
12912
|
+
};
|
|
12913
|
+
};
|
|
12914
|
+
readonly slides: {
|
|
12915
|
+
readonly label: 'Slides';
|
|
12916
|
+
readonly controls: {
|
|
12917
|
+
readonly newSlide: 'New Slide';
|
|
12918
|
+
readonly layout: 'Layout';
|
|
12919
|
+
readonly reset: 'Reset';
|
|
12920
|
+
readonly section: 'Section';
|
|
12921
|
+
readonly slideTemplates: 'Slide templates';
|
|
12922
|
+
};
|
|
12923
|
+
};
|
|
12924
|
+
readonly font: {
|
|
12925
|
+
readonly label: 'Font';
|
|
12926
|
+
readonly controls: {
|
|
12927
|
+
readonly fontFamily: 'Font';
|
|
12928
|
+
readonly fontSize: 'Font Size';
|
|
12929
|
+
readonly increaseFontSize: 'Increase Font Size';
|
|
12930
|
+
readonly decreaseFontSize: 'Decrease Font Size';
|
|
12931
|
+
readonly clearFormatting: 'Clear All Formatting';
|
|
12932
|
+
readonly bold: 'Bold';
|
|
12933
|
+
readonly italic: 'Italic';
|
|
12934
|
+
readonly underline: 'Underline';
|
|
12935
|
+
readonly strikethrough: 'Strikethrough';
|
|
12936
|
+
readonly shadow: 'Text Shadow';
|
|
12937
|
+
readonly characterSpacing: 'Character Spacing';
|
|
12938
|
+
readonly changeCase: 'Change Case';
|
|
12939
|
+
readonly fontColor: 'Font Color';
|
|
12940
|
+
readonly highlightColor: 'Text Highlight Color';
|
|
12941
|
+
readonly superscript: 'Superscript';
|
|
12942
|
+
readonly subscript: 'Subscript';
|
|
12943
|
+
};
|
|
12944
|
+
};
|
|
12945
|
+
readonly paragraph: {
|
|
12946
|
+
readonly label: 'Paragraph';
|
|
12947
|
+
readonly controls: {
|
|
12948
|
+
readonly bullets: 'Bullets (toggle and gallery)';
|
|
12949
|
+
readonly numbering: 'Numbering (toggle and gallery)';
|
|
12950
|
+
readonly decreaseIndent: 'Decrease List Level';
|
|
12951
|
+
readonly increaseIndent: 'Increase List Level';
|
|
12952
|
+
readonly lineSpacing: 'Line Spacing';
|
|
12953
|
+
readonly alignLeft: 'Align Left';
|
|
12954
|
+
readonly alignCenter: 'Center';
|
|
12955
|
+
readonly alignRight: 'Align Right';
|
|
12956
|
+
readonly justify: 'Justify';
|
|
12957
|
+
readonly columns: 'Columns';
|
|
12958
|
+
readonly textDirection: 'Text Direction';
|
|
12959
|
+
readonly alignText: 'Align Text';
|
|
12960
|
+
};
|
|
12961
|
+
};
|
|
12962
|
+
readonly drawing: {
|
|
12963
|
+
readonly label: 'Drawing';
|
|
12964
|
+
readonly controls: {
|
|
12965
|
+
readonly shapes: 'Shapes';
|
|
12966
|
+
readonly arrange: 'Arrange';
|
|
12967
|
+
readonly quickStyles: 'Quick Styles (Shape Styles gallery)';
|
|
12968
|
+
readonly shapeFill: 'Shape Fill';
|
|
12969
|
+
readonly shapeOutline: 'Shape Outline';
|
|
12970
|
+
readonly shapeEffects: 'Shape Effects gallery';
|
|
12971
|
+
};
|
|
12972
|
+
};
|
|
12973
|
+
readonly arrange: {
|
|
12974
|
+
readonly label: 'Arrange';
|
|
12975
|
+
readonly controls: {
|
|
12976
|
+
readonly bringForward: 'Bring Forward';
|
|
12977
|
+
readonly sendBackward: 'Send Backward';
|
|
12978
|
+
readonly bringToFront: 'Bring to Front';
|
|
12979
|
+
readonly sendToBack: 'Send to Back';
|
|
12980
|
+
readonly flipHorizontal: 'Flip Horizontal';
|
|
12981
|
+
readonly flipVertical: 'Flip Vertical';
|
|
12982
|
+
readonly duplicate: 'Duplicate';
|
|
12983
|
+
readonly delete: 'Delete';
|
|
12984
|
+
readonly group: 'Group';
|
|
12985
|
+
readonly ungroup: 'Ungroup';
|
|
12986
|
+
readonly align: 'Align';
|
|
12987
|
+
readonly mergeShapes: 'Merge Shapes';
|
|
12988
|
+
readonly crop: 'Crop';
|
|
12989
|
+
readonly outlineWidth: 'Outline width';
|
|
12990
|
+
};
|
|
12991
|
+
};
|
|
12992
|
+
readonly editing: {
|
|
12993
|
+
readonly label: 'Editing';
|
|
12994
|
+
readonly controls: {
|
|
12995
|
+
readonly find: 'Find';
|
|
12996
|
+
readonly replace: 'Replace';
|
|
12997
|
+
readonly select: 'Select';
|
|
12998
|
+
};
|
|
12999
|
+
};
|
|
13000
|
+
};
|
|
13001
|
+
readonly insert: {
|
|
13002
|
+
readonly slides: {
|
|
13003
|
+
readonly label: 'Slides';
|
|
13004
|
+
readonly controls: {
|
|
13005
|
+
readonly newSlide: 'New Slide';
|
|
13006
|
+
};
|
|
13007
|
+
};
|
|
13008
|
+
readonly tables: {
|
|
13009
|
+
readonly label: 'Tables';
|
|
13010
|
+
readonly controls: {
|
|
13011
|
+
readonly table: 'Table';
|
|
13012
|
+
};
|
|
13013
|
+
};
|
|
13014
|
+
readonly images: {
|
|
13015
|
+
readonly label: 'Images';
|
|
13016
|
+
readonly controls: {
|
|
13017
|
+
readonly pictures: 'Pictures';
|
|
13018
|
+
};
|
|
13019
|
+
};
|
|
13020
|
+
readonly illustrations: {
|
|
13021
|
+
readonly label: 'Illustrations';
|
|
13022
|
+
readonly controls: {
|
|
13023
|
+
readonly shapes: 'Shapes';
|
|
13024
|
+
readonly smartArt: 'SmartArt';
|
|
13025
|
+
readonly chart: 'Chart';
|
|
13026
|
+
};
|
|
13027
|
+
};
|
|
13028
|
+
readonly links: {
|
|
13029
|
+
readonly label: 'Links';
|
|
13030
|
+
readonly controls: {
|
|
13031
|
+
readonly link: 'Link';
|
|
13032
|
+
readonly action: 'Action button';
|
|
13033
|
+
};
|
|
13034
|
+
};
|
|
13035
|
+
readonly comments: {
|
|
13036
|
+
readonly label: 'Comments';
|
|
13037
|
+
readonly controls: {
|
|
13038
|
+
readonly comment: 'Comment';
|
|
13039
|
+
};
|
|
13040
|
+
};
|
|
13041
|
+
readonly text: {
|
|
13042
|
+
readonly label: 'Text';
|
|
13043
|
+
readonly controls: {
|
|
13044
|
+
readonly textBox: 'Text Box';
|
|
13045
|
+
readonly field: 'Header, date, slide number field';
|
|
13046
|
+
};
|
|
13047
|
+
};
|
|
13048
|
+
readonly symbols: {
|
|
13049
|
+
readonly label: 'Symbols';
|
|
13050
|
+
readonly controls: {
|
|
13051
|
+
readonly equation: 'Equation';
|
|
13052
|
+
readonly symbol: 'Symbol';
|
|
13053
|
+
};
|
|
13054
|
+
};
|
|
13055
|
+
readonly media: {
|
|
13056
|
+
readonly label: 'Media';
|
|
13057
|
+
readonly controls: {
|
|
13058
|
+
readonly media: 'Video / Audio';
|
|
13059
|
+
};
|
|
13060
|
+
};
|
|
13061
|
+
};
|
|
13062
|
+
readonly draw: {
|
|
13063
|
+
readonly tools: {
|
|
13064
|
+
readonly label: 'Drawing Tools';
|
|
13065
|
+
readonly controls: {
|
|
13066
|
+
readonly select: 'Select';
|
|
13067
|
+
readonly pen: 'Pen';
|
|
13068
|
+
readonly highlighter: 'Highlighter';
|
|
13069
|
+
readonly eraser: 'Eraser';
|
|
13070
|
+
readonly penColor: 'Pen colour';
|
|
13071
|
+
readonly penWidth: 'Pen width';
|
|
13072
|
+
};
|
|
13073
|
+
};
|
|
13074
|
+
readonly convert: {
|
|
13075
|
+
readonly label: 'Convert';
|
|
13076
|
+
readonly controls: {
|
|
13077
|
+
readonly inkToShape: 'Ink to Shape';
|
|
13078
|
+
};
|
|
13079
|
+
};
|
|
13080
|
+
};
|
|
13081
|
+
readonly design: {
|
|
13082
|
+
readonly themes: {
|
|
13083
|
+
readonly label: 'Themes';
|
|
13084
|
+
readonly controls: {
|
|
13085
|
+
readonly browseThemes: 'Themes gallery';
|
|
13086
|
+
readonly editTheme: 'Edit theme';
|
|
13087
|
+
};
|
|
13088
|
+
};
|
|
13089
|
+
readonly variants: {
|
|
13090
|
+
readonly label: 'Variants';
|
|
13091
|
+
readonly controls: {
|
|
13092
|
+
readonly colors: 'Variants: Colors gallery';
|
|
13093
|
+
readonly fonts: 'Variants: Fonts gallery';
|
|
13094
|
+
};
|
|
13095
|
+
};
|
|
13096
|
+
readonly customize: {
|
|
13097
|
+
readonly label: 'Customize';
|
|
13098
|
+
readonly controls: {
|
|
13099
|
+
readonly slideSize: 'Slide Size';
|
|
13100
|
+
readonly formatBackground: 'Format Background';
|
|
13101
|
+
};
|
|
13102
|
+
};
|
|
13103
|
+
};
|
|
13104
|
+
readonly transitions: {
|
|
13105
|
+
readonly preview: {
|
|
13106
|
+
readonly label: 'Preview';
|
|
13107
|
+
readonly controls: {
|
|
13108
|
+
readonly preview: 'Preview';
|
|
13109
|
+
};
|
|
13110
|
+
};
|
|
13111
|
+
readonly transitionToThisSlide: {
|
|
13112
|
+
readonly label: 'Transition to This Slide';
|
|
13113
|
+
readonly controls: {
|
|
13114
|
+
readonly gallery: 'Transition gallery';
|
|
13115
|
+
readonly effectOptions: 'Effect Options';
|
|
13116
|
+
};
|
|
13117
|
+
};
|
|
13118
|
+
readonly timing: {
|
|
13119
|
+
readonly label: 'Timing';
|
|
13120
|
+
readonly controls: {
|
|
13121
|
+
readonly sound: 'Sound';
|
|
13122
|
+
readonly duration: 'Duration';
|
|
13123
|
+
readonly applyToAll: 'Apply To All';
|
|
13124
|
+
readonly advanceOnClick: 'On Mouse Click';
|
|
13125
|
+
readonly advanceAfter: 'After';
|
|
13126
|
+
};
|
|
13127
|
+
};
|
|
13128
|
+
};
|
|
13129
|
+
readonly animations: {
|
|
13130
|
+
readonly preview: {
|
|
13131
|
+
readonly label: 'Preview';
|
|
13132
|
+
readonly controls: {
|
|
13133
|
+
readonly preview: 'Preview';
|
|
13134
|
+
};
|
|
13135
|
+
};
|
|
13136
|
+
readonly animation: {
|
|
13137
|
+
readonly label: 'Animation';
|
|
13138
|
+
readonly controls: {
|
|
13139
|
+
readonly gallery: 'Animation gallery';
|
|
13140
|
+
readonly effectOptions: 'Effect Options';
|
|
13141
|
+
};
|
|
13142
|
+
};
|
|
13143
|
+
readonly motionPath: {
|
|
13144
|
+
readonly label: 'Motion Paths';
|
|
13145
|
+
readonly controls: {
|
|
13146
|
+
readonly gallery: 'Motion path gallery';
|
|
13147
|
+
};
|
|
13148
|
+
};
|
|
13149
|
+
readonly advancedAnimation: {
|
|
13150
|
+
readonly label: 'Advanced Animation';
|
|
13151
|
+
readonly controls: {
|
|
13152
|
+
readonly addAnimation: 'Add Animation';
|
|
13153
|
+
readonly animationPane: 'Animation Pane';
|
|
13154
|
+
readonly trigger: 'Trigger';
|
|
13155
|
+
readonly animationPainter: 'Animation Painter';
|
|
13156
|
+
readonly remove: 'Remove animation';
|
|
13157
|
+
};
|
|
13158
|
+
};
|
|
13159
|
+
readonly timing: {
|
|
13160
|
+
readonly label: 'Timing';
|
|
13161
|
+
readonly controls: {
|
|
13162
|
+
readonly start: 'Start';
|
|
13163
|
+
readonly duration: 'Duration';
|
|
13164
|
+
readonly delay: 'Delay';
|
|
13165
|
+
readonly reorder: 'Reorder';
|
|
13166
|
+
};
|
|
13167
|
+
};
|
|
13168
|
+
};
|
|
13169
|
+
readonly slideShow: {
|
|
13170
|
+
readonly startSlideShow: {
|
|
13171
|
+
readonly label: 'Start Slide Show';
|
|
13172
|
+
readonly controls: {
|
|
13173
|
+
readonly fromBeginning: 'From Beginning';
|
|
13174
|
+
readonly fromCurrent: 'From Current Slide';
|
|
13175
|
+
readonly customShow: 'Custom Slide Show';
|
|
13176
|
+
};
|
|
13177
|
+
};
|
|
13178
|
+
readonly present: {
|
|
13179
|
+
readonly label: 'Present';
|
|
13180
|
+
readonly controls: {
|
|
13181
|
+
readonly presenterView: 'Presenter View';
|
|
13182
|
+
readonly broadcast: 'Present Online';
|
|
13183
|
+
};
|
|
13184
|
+
};
|
|
13185
|
+
readonly setUp: {
|
|
13186
|
+
readonly label: 'Set Up';
|
|
13187
|
+
readonly controls: {
|
|
13188
|
+
readonly setUpSlideShow: 'Set Up Slide Show';
|
|
13189
|
+
readonly hideSlide: 'Hide Slide';
|
|
13190
|
+
readonly rehearseTimings: 'Rehearse Timings';
|
|
13191
|
+
readonly record: 'Record';
|
|
13192
|
+
readonly rehearseWithCoach: 'Rehearse with Coach';
|
|
13193
|
+
};
|
|
13194
|
+
};
|
|
13195
|
+
readonly captions: {
|
|
13196
|
+
readonly label: 'Captions & Subtitles';
|
|
13197
|
+
readonly controls: {
|
|
13198
|
+
readonly subtitles: 'Always Use Subtitles';
|
|
13199
|
+
readonly subtitleSettings: 'Subtitle Settings';
|
|
13200
|
+
};
|
|
13201
|
+
};
|
|
13202
|
+
};
|
|
13203
|
+
readonly record: {
|
|
13204
|
+
readonly camera: {
|
|
13205
|
+
readonly label: 'Camera';
|
|
13206
|
+
readonly controls: {
|
|
13207
|
+
readonly cameo: 'Cameo';
|
|
13208
|
+
};
|
|
13209
|
+
};
|
|
13210
|
+
readonly record: {
|
|
13211
|
+
readonly label: 'Record';
|
|
13212
|
+
readonly controls: {
|
|
13213
|
+
readonly fromBeginning: 'From Beginning';
|
|
13214
|
+
readonly fromCurrent: 'From Current Slide';
|
|
13215
|
+
};
|
|
13216
|
+
};
|
|
13217
|
+
readonly manage: {
|
|
13218
|
+
readonly label: 'Manage';
|
|
13219
|
+
readonly controls: {
|
|
13220
|
+
readonly clear: 'Clear';
|
|
13221
|
+
readonly reset: 'Reset to Cameo';
|
|
13222
|
+
};
|
|
13223
|
+
};
|
|
13224
|
+
readonly help: {
|
|
13225
|
+
readonly label: 'Help';
|
|
13226
|
+
readonly controls: {
|
|
13227
|
+
readonly learnMore: 'Learn more';
|
|
13228
|
+
};
|
|
13229
|
+
};
|
|
13230
|
+
};
|
|
13231
|
+
readonly review: {
|
|
13232
|
+
readonly proofing: {
|
|
13233
|
+
readonly label: 'Proofing';
|
|
13234
|
+
readonly controls: {
|
|
13235
|
+
readonly spelling: 'Spelling';
|
|
13236
|
+
readonly thesaurus: 'Thesaurus';
|
|
13237
|
+
};
|
|
13238
|
+
};
|
|
13239
|
+
readonly accessibility: {
|
|
13240
|
+
readonly label: 'Accessibility';
|
|
13241
|
+
readonly controls: {
|
|
13242
|
+
readonly check: 'Check Accessibility';
|
|
13243
|
+
};
|
|
13244
|
+
};
|
|
13245
|
+
readonly language: {
|
|
13246
|
+
readonly label: 'Language';
|
|
13247
|
+
readonly controls: {
|
|
13248
|
+
readonly translate: 'Translate';
|
|
13249
|
+
};
|
|
13250
|
+
};
|
|
13251
|
+
readonly comments: {
|
|
13252
|
+
readonly label: 'Comments';
|
|
13253
|
+
readonly controls: {
|
|
13254
|
+
readonly newComment: 'New Comment';
|
|
13255
|
+
readonly delete: 'Delete';
|
|
13256
|
+
readonly previous: 'Previous';
|
|
13257
|
+
readonly next: 'Next';
|
|
13258
|
+
readonly showComments: 'Show Comments';
|
|
13259
|
+
};
|
|
13260
|
+
};
|
|
13261
|
+
readonly compare: {
|
|
13262
|
+
readonly label: 'Compare';
|
|
13263
|
+
readonly controls: {
|
|
13264
|
+
readonly compare: 'Compare';
|
|
13265
|
+
readonly markAllRead: 'Mark all read';
|
|
13266
|
+
};
|
|
13267
|
+
};
|
|
13268
|
+
readonly protect: {
|
|
13269
|
+
readonly label: 'Protect';
|
|
13270
|
+
readonly controls: {
|
|
13271
|
+
readonly readOnly: 'Read-only';
|
|
13272
|
+
readonly restrictPermission: 'Restrict Permission';
|
|
13273
|
+
};
|
|
13274
|
+
};
|
|
13275
|
+
readonly ink: {
|
|
13276
|
+
readonly label: 'Ink';
|
|
13277
|
+
readonly controls: {
|
|
13278
|
+
readonly hideInk: 'Hide Ink';
|
|
13279
|
+
};
|
|
13280
|
+
};
|
|
13281
|
+
};
|
|
13282
|
+
readonly view: {
|
|
13283
|
+
readonly presentationViews: {
|
|
13284
|
+
readonly label: 'Presentation Views';
|
|
13285
|
+
readonly controls: {
|
|
13286
|
+
readonly normal: 'Normal';
|
|
13287
|
+
readonly outline: 'Outline View';
|
|
13288
|
+
readonly slideSorter: 'Slide Sorter';
|
|
13289
|
+
readonly notesPage: 'Notes Page';
|
|
13290
|
+
readonly readingView: 'Reading View';
|
|
13291
|
+
};
|
|
13292
|
+
};
|
|
13293
|
+
readonly masterViews: {
|
|
13294
|
+
readonly label: 'Master Views';
|
|
13295
|
+
readonly controls: {
|
|
13296
|
+
readonly slideMaster: 'Slide Master';
|
|
13297
|
+
readonly handoutMaster: 'Handout Master';
|
|
13298
|
+
readonly notesMaster: 'Notes Master';
|
|
13299
|
+
};
|
|
13300
|
+
};
|
|
13301
|
+
readonly show: {
|
|
13302
|
+
readonly label: 'Show';
|
|
13303
|
+
readonly controls: {
|
|
13304
|
+
readonly ruler: 'Ruler';
|
|
13305
|
+
readonly gridlines: 'Gridlines';
|
|
13306
|
+
readonly guides: 'Guides';
|
|
13307
|
+
readonly snapToGrid: 'Snap to Grid';
|
|
13308
|
+
readonly snapToShape: 'Snap to Shape';
|
|
13309
|
+
readonly addGuide: 'Add horizontal / vertical guide';
|
|
13310
|
+
readonly selectionPane: 'Selection Pane';
|
|
13311
|
+
readonly eyedropper: 'Eyedropper';
|
|
13312
|
+
readonly notes: 'Notes';
|
|
13313
|
+
};
|
|
13314
|
+
};
|
|
13315
|
+
readonly zoom: {
|
|
13316
|
+
readonly label: 'Zoom';
|
|
13317
|
+
readonly controls: {
|
|
13318
|
+
readonly zoom: 'Zoom';
|
|
13319
|
+
readonly fitToWindow: 'Fit to Window';
|
|
13320
|
+
};
|
|
13321
|
+
};
|
|
13322
|
+
readonly window: {
|
|
13323
|
+
readonly label: 'Window';
|
|
13324
|
+
readonly controls: {
|
|
13325
|
+
readonly templateEditing: 'Edit template elements';
|
|
13326
|
+
readonly macros: 'Macros';
|
|
13327
|
+
};
|
|
13328
|
+
};
|
|
13329
|
+
};
|
|
13330
|
+
readonly help: {
|
|
13331
|
+
readonly help: {
|
|
13332
|
+
readonly label: 'Help';
|
|
13333
|
+
readonly controls: {
|
|
13334
|
+
readonly options: 'Options';
|
|
13335
|
+
readonly keyboardShortcuts: 'Keyboard shortcuts';
|
|
13336
|
+
readonly accessibility: 'Accessibility checker';
|
|
13337
|
+
};
|
|
13338
|
+
};
|
|
13339
|
+
};
|
|
13340
|
+
readonly shapeFormat: {
|
|
13341
|
+
readonly shapeStyles: {
|
|
13342
|
+
readonly label: 'Shape Styles';
|
|
13343
|
+
readonly controls: {
|
|
13344
|
+
readonly gallery: 'Shape Styles gallery';
|
|
13345
|
+
readonly shapeEffects: 'Shape Effects gallery';
|
|
13346
|
+
};
|
|
13347
|
+
};
|
|
13348
|
+
readonly wordArtStyles: {
|
|
13349
|
+
readonly label: 'WordArt Styles';
|
|
13350
|
+
readonly controls: {
|
|
13351
|
+
readonly gallery: 'WordArt Styles gallery';
|
|
13352
|
+
};
|
|
13353
|
+
};
|
|
13354
|
+
};
|
|
13355
|
+
readonly pictureFormat: {
|
|
13356
|
+
readonly pictureStyles: {
|
|
13357
|
+
readonly label: 'Picture Styles';
|
|
13358
|
+
readonly controls: {
|
|
13359
|
+
readonly gallery: 'Picture Styles gallery';
|
|
13360
|
+
readonly pictureEffects: 'Picture Effects gallery';
|
|
13361
|
+
};
|
|
13362
|
+
};
|
|
13363
|
+
};
|
|
13364
|
+
readonly tableDesign: {
|
|
13365
|
+
readonly tableStyles: {
|
|
13366
|
+
readonly label: 'Table Styles';
|
|
13367
|
+
readonly controls: {
|
|
13368
|
+
readonly gallery: 'Table Styles gallery';
|
|
13369
|
+
};
|
|
13370
|
+
};
|
|
13371
|
+
};
|
|
13372
|
+
readonly chartDesign: {
|
|
13373
|
+
readonly chartLayouts: {
|
|
13374
|
+
readonly label: 'Chart Layouts';
|
|
13375
|
+
readonly controls: {
|
|
13376
|
+
readonly quickLayout: 'Quick Layout gallery';
|
|
13377
|
+
};
|
|
13378
|
+
};
|
|
13379
|
+
readonly chartStyles: {
|
|
13380
|
+
readonly label: 'Chart Styles';
|
|
13381
|
+
readonly controls: {
|
|
13382
|
+
readonly changeColors: 'Change Colors gallery';
|
|
13383
|
+
readonly gallery: 'Chart Styles gallery';
|
|
13384
|
+
};
|
|
13385
|
+
};
|
|
13386
|
+
};
|
|
13387
|
+
readonly smartArtDesign: {
|
|
13388
|
+
readonly smartArtStyles: {
|
|
13389
|
+
readonly label: 'SmartArt Styles';
|
|
13390
|
+
readonly controls: {
|
|
13391
|
+
readonly changeColors: 'Change Colors gallery';
|
|
13392
|
+
readonly gallery: 'SmartArt Styles gallery';
|
|
13393
|
+
};
|
|
13394
|
+
};
|
|
13395
|
+
};
|
|
13396
|
+
};
|
|
13397
|
+
//#endregion
|
|
13398
|
+
//#region src/render/customization/ribbon-control-ids.d.ts
|
|
13399
|
+
type Catalog = typeof RIBBON_CONTROL_CATALOG;
|
|
13400
|
+
/** `<tab>.<group>`, for example `home.font`. */
|
|
13401
|
+
type RibbonGroupId = { [T in keyof Catalog]: { [G in keyof Catalog[T]]: `${T & string}.${G & string}`; }[keyof Catalog[T]]; }[keyof Catalog];
|
|
13402
|
+
/** `<tab>.<group>.<control>`, for example `home.font.bold`. */
|
|
13403
|
+
type RibbonControlId = { [T in keyof Catalog]: { [G in keyof Catalog[T]]: Catalog[T][G] extends {
|
|
13404
|
+
controls: infer C;
|
|
13405
|
+
} ? `${T & string}.${G & string}.${keyof C & string}` : never; }[keyof Catalog[T]]; }[keyof Catalog];
|
|
13406
|
+
//#endregion
|
|
12768
13407
|
//#region src/render/customization/customization-types.d.ts
|
|
12769
13408
|
/** Keys of an options group whose value is a primitive (not an array). */
|
|
12770
13409
|
type PrimitiveKeys<T> = { [K in keyof T]: T[K] extends ViewerOptionPrimitive ? K : never; }[keyof T] & string;
|
|
@@ -12789,10 +13428,20 @@ type OptionsSectionId = `${ViewerOptionsTabId}.${string}`;
|
|
|
12789
13428
|
type OptionsSettingValues = Partial<Record<OptionsSettingId, ViewerOptionPrimitive>>;
|
|
12790
13429
|
/** Ribbon and toolbar customisation. */
|
|
12791
13430
|
interface RibbonCustomization {
|
|
12792
|
-
/**
|
|
12793
|
-
|
|
12794
|
-
|
|
12795
|
-
|
|
13431
|
+
/**
|
|
13432
|
+
* Ribbon tabs to remove (the File tab included, unlike Customize Ribbon),
|
|
13433
|
+
* and contextual tabs (`shapeFormat`, `pictureFormat`, ...) that should
|
|
13434
|
+
* never appear.
|
|
13435
|
+
*/
|
|
13436
|
+
hiddenTabs?: readonly (ToolbarTabId | RibbonContextualTabId)[];
|
|
13437
|
+
/** Groups inside a tab to remove, as `<tab>.<group>` (`home.font`). */
|
|
13438
|
+
hiddenGroups?: readonly RibbonGroupId[];
|
|
13439
|
+
/**
|
|
13440
|
+
* Controls to remove: a top-level toolbar button / control cluster
|
|
13441
|
+
* (`share`, `zoom`, ...) or any ribbon control as
|
|
13442
|
+
* `<tab>.<group>.<control>` (`home.font.bold`).
|
|
13443
|
+
*/
|
|
13444
|
+
hiddenButtons?: readonly (ToolbarButtonId | RibbonControlId)[];
|
|
12796
13445
|
}
|
|
12797
13446
|
/** File > Options (the Settings dialog) customisation. */
|
|
12798
13447
|
interface OptionsCustomization {
|
|
@@ -12904,10 +13553,18 @@ interface ViewerCustomizationApi {
|
|
|
12904
13553
|
updateCustomization(patch: ViewerCustomization): void;
|
|
12905
13554
|
/** Drop every customisation, back to the stock UI. */
|
|
12906
13555
|
resetCustomization(): void;
|
|
12907
|
-
|
|
12908
|
-
|
|
12909
|
-
|
|
12910
|
-
|
|
13556
|
+
/** Hide a fixed tab, or stop a contextual tab (`shapeFormat`, ...) from appearing. */
|
|
13557
|
+
hideRibbonTab(tab: ToolbarTabId | RibbonContextualTabId): void;
|
|
13558
|
+
showRibbonTab(tab: ToolbarTabId | RibbonContextualTabId): void;
|
|
13559
|
+
/** Hide a group inside a tab (`home.font`). */
|
|
13560
|
+
hideRibbonGroup(group: RibbonGroupId): void;
|
|
13561
|
+
showRibbonGroup(group: RibbonGroupId): void;
|
|
13562
|
+
/** Hide a top-level toolbar button or any ribbon control (`home.font.bold`). */
|
|
13563
|
+
hideToolbarButton(button: ToolbarButtonId | RibbonControlId): void;
|
|
13564
|
+
showToolbarButton(button: ToolbarButtonId | RibbonControlId): void;
|
|
13565
|
+
/** Alias of `hideToolbarButton` for a ribbon control id. */
|
|
13566
|
+
hideRibbonControl(control: RibbonControlId): void;
|
|
13567
|
+
showRibbonControl(control: RibbonControlId): void;
|
|
12911
13568
|
hideOptionsPage(page: OptionsPageId): void;
|
|
12912
13569
|
showOptionsPage(page: OptionsPageId): void;
|
|
12913
13570
|
hideOptionsSection(section: OptionsSectionId): void;
|
|
@@ -13695,8 +14352,8 @@ interface PowerPointViewerProps extends ViewportFitOptions {
|
|
|
13695
14352
|
smartArt3D?: boolean;
|
|
13696
14353
|
/**
|
|
13697
14354
|
* Opt in to the interactive Three.js surface-chart renderer. When `true`,
|
|
13698
|
-
* `surface`/`surface3D` charts render as a
|
|
13699
|
-
*
|
|
14355
|
+
* `surface`/`surface3D` charts render as a WebGL mesh
|
|
14356
|
+
* instead of the static SVG isometric
|
|
13700
14357
|
* projection. Chart marks are not selectable/draggable in this mode.
|
|
13701
14358
|
* Requires the optional `three` peer dependency; when it is not installed
|
|
13702
14359
|
* (or the chart has no plottable grid), the viewer transparently falls back
|
|
@@ -13705,8 +14362,7 @@ interface PowerPointViewerProps extends ViewportFitOptions {
|
|
|
13705
14362
|
surfaceChart3D?: boolean;
|
|
13706
14363
|
/**
|
|
13707
14364
|
* Opt in to the interactive Three.js bar3D-chart renderer. When `true`,
|
|
13708
|
-
* `bar3D` charts render as
|
|
13709
|
-
* rotate, scroll to zoom) instead of the flat SVG oblique-projection
|
|
14365
|
+
* `bar3D` charts render as real box meshes instead of the flat SVG oblique-projection
|
|
13710
14366
|
* illusion. Chart marks are not selectable/draggable in this mode.
|
|
13711
14367
|
* Requires the optional `three` peer dependency; when it is not installed
|
|
13712
14368
|
* (or the chart has no plottable grid, or it is a horizontal 3-D Bar), the
|
|
@@ -13716,8 +14372,8 @@ interface PowerPointViewerProps extends ViewportFitOptions {
|
|
|
13716
14372
|
barChart3D?: boolean;
|
|
13717
14373
|
/**
|
|
13718
14374
|
* Opt in to the interactive Three.js line3D-chart renderer. When `true`,
|
|
13719
|
-
* `line3D` charts render as a
|
|
13720
|
-
* series, one per depth ("series") plane
|
|
14375
|
+
* `line3D` charts render as a real tube-path mesh per
|
|
14376
|
+
* series, one per depth ("series") plane,
|
|
13721
14377
|
* instead of the flat SVG oblique-projection illusion. Chart marks are not
|
|
13722
14378
|
* selectable/draggable in this mode. Requires the optional `three` peer
|
|
13723
14379
|
* dependency; when it is not installed (or the chart has no plottable
|
|
@@ -13727,9 +14383,8 @@ interface PowerPointViewerProps extends ViewportFitOptions {
|
|
|
13727
14383
|
lineChart3D?: boolean;
|
|
13728
14384
|
/**
|
|
13729
14385
|
* Opt in to the interactive Three.js area3D-chart renderer. When `true`,
|
|
13730
|
-
* `area3D` charts render as a
|
|
13731
|
-
* ribbon mesh per series, one per depth ("series") plane
|
|
13732
|
-
* scroll to zoom), instead of the flat SVG oblique-projection illusion.
|
|
14386
|
+
* `area3D` charts render as a real tube path + filled
|
|
14387
|
+
* ribbon mesh per series, one per depth ("series") plane, instead of the flat SVG oblique-projection illusion.
|
|
13733
14388
|
* Chart marks are not selectable/draggable in this mode. Requires the
|
|
13734
14389
|
* optional `three` peer dependency; when it is not installed (or the chart
|
|
13735
14390
|
* has no plottable grid), the viewer transparently falls back to the flat
|
|
@@ -13738,8 +14393,7 @@ interface PowerPointViewerProps extends ViewportFitOptions {
|
|
|
13738
14393
|
areaChart3D?: boolean;
|
|
13739
14394
|
/**
|
|
13740
14395
|
* Opt in to the interactive Three.js pie3D-chart renderer. When `true`,
|
|
13741
|
-
* `pie3D` charts render as
|
|
13742
|
-
* rotate, scroll to zoom) instead of the flat SVG oblique-projection
|
|
14396
|
+
* `pie3D` charts render as real wedge meshes instead of the flat SVG oblique-projection
|
|
13743
14397
|
* illusion. Chart marks are not selectable/draggable in this mode.
|
|
13744
14398
|
* Requires the optional `three` peer dependency; when it is not installed
|
|
13745
14399
|
* (or the chart has no plottable series), the viewer transparently falls
|