Skip to content

Commit d177495

Browse files
authored
[office-js, office-js-preview] Add PPT Doc string updates from the CDN (DefinitelyTyped#75179)
1 parent 306ff87 commit d177495

2 files changed

Lines changed: 13 additions & 8 deletions

File tree

types/office-js-preview/index.d.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196393,12 +196393,14 @@ declare namespace PowerPoint {
196393196393
enum ThemeColor {
196394196394
/**
196395196395
* Specifies a mixed theme color.
196396+
Not applicable as input to {@link PowerPoint.ThemeColorScheme | ThemeColorScheme.getThemeColor} nor {@link PowerPoint.ThemeColorScheme| ThemeColorScheme.setThemeColor}.
196396196397
* @remarks
196397196398
* [Api set: PowerPointApi 1.10]
196398196399
*/
196399196400
mixed = "Mixed",
196400196401
/**
196401196402
* Specifies no theme color.
196403+
Not applicable as input to {@link PowerPoint.ThemeColorScheme | ThemeColorScheme.getThemeColor} nor {@link PowerPoint.ThemeColorScheme| ThemeColorScheme.setThemeColor}.
196402196404
* @remarks
196403196405
* [Api set: PowerPointApi 1.10]
196404196406
*/
@@ -196491,7 +196493,7 @@ declare namespace PowerPoint {
196491196493
* @remarks
196492196494
* [Api set: PowerPointApi 1.10]
196493196495
*
196494-
* @param color The theme color.
196496+
* @param color The theme color. The values `none` and `mixed` are invalid for this API.
196495196497
* @returns The color value in #RRGGBB format (e.g., "FFA500").
196496196498
*/
196497196499
getThemeColor(color: PowerPoint.ThemeColor): OfficeExtension.ClientResult<string>;
@@ -196501,7 +196503,7 @@ declare namespace PowerPoint {
196501196503
* @remarks
196502196504
* [Api set: PowerPointApi 1.10]
196503196505
*
196504-
* @param color The theme color.
196506+
* @param color The theme color. The values `none` and `mixed` are invalid for this API.
196505196507
* @returns The color value in #RRGGBB format (e.g., "FFA500").
196506196508
*/
196507196509
getThemeColor(color: "Mixed" | "None" | "Accent1" | "Accent2" | "Accent3" | "Accent4" | "Accent5" | "Accent6" | "Dark1" | "Dark2" | "FollowedHyperlink" | "Hyperlink" | "Light1" | "Light2"): OfficeExtension.ClientResult<string>;
@@ -196511,7 +196513,7 @@ declare namespace PowerPoint {
196511196513
* @remarks
196512196514
* [Api set: PowerPointApi 1.10]
196513196515
*
196514-
* @param color The theme color.
196516+
* @param color The theme color. The values `none` and `mixed` are invalid for this API.
196515196517
* @param rgbColor The color value in #RRGGBB format (e.g., "FFA500") or as a named HTML color (e.g., "orange").
196516196518
*/
196517196519
setThemeColor(color: PowerPoint.ThemeColor, rgbColor: string): void;
@@ -196521,7 +196523,7 @@ declare namespace PowerPoint {
196521196523
* @remarks
196522196524
* [Api set: PowerPointApi 1.10]
196523196525
*
196524-
* @param color The theme color.
196526+
* @param color The theme color. The values `none` and `mixed` are invalid for this API.
196525196527
* @param rgbColor The color value in #RRGGBB format (e.g., "FFA500") or as a named HTML color (e.g., "orange").
196526196528
*/
196527196529
setThemeColor(color: "Mixed" | "None" | "Accent1" | "Accent2" | "Accent3" | "Accent4" | "Accent5" | "Accent6" | "Dark1" | "Dark2" | "FollowedHyperlink" | "Hyperlink" | "Light1" | "Light2", rgbColor: string): void;

types/office-js/index.d.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185881,12 +185881,14 @@ declare namespace PowerPoint {
185881185881
enum ThemeColor {
185882185882
/**
185883185883
* Specifies a mixed theme color.
185884+
Not applicable as input to {@link PowerPoint.ThemeColorScheme | ThemeColorScheme.getThemeColor} nor {@link PowerPoint.ThemeColorScheme| ThemeColorScheme.setThemeColor}.
185884185885
* @remarks
185885185886
* [Api set: PowerPointApi 1.10]
185886185887
*/
185887185888
mixed = "Mixed",
185888185889
/**
185889185890
* Specifies no theme color.
185891+
Not applicable as input to {@link PowerPoint.ThemeColorScheme | ThemeColorScheme.getThemeColor} nor {@link PowerPoint.ThemeColorScheme| ThemeColorScheme.setThemeColor}.
185890185892
* @remarks
185891185893
* [Api set: PowerPointApi 1.10]
185892185894
*/
@@ -185979,7 +185981,7 @@ declare namespace PowerPoint {
185979185981
* @remarks
185980185982
* [Api set: PowerPointApi 1.10]
185981185983
*
185982-
* @param color The theme color.
185984+
* @param color The theme color. The values `none` and `mixed` are invalid for this API.
185983185985
* @returns The color value in #RRGGBB format (e.g., "FFA500").
185984185986
*/
185985185987
getThemeColor(color: PowerPoint.ThemeColor): OfficeExtension.ClientResult<string>;
@@ -185989,7 +185991,7 @@ declare namespace PowerPoint {
185989185991
* @remarks
185990185992
* [Api set: PowerPointApi 1.10]
185991185993
*
185992-
* @param color The theme color.
185994+
* @param color The theme color. The values `none` and `mixed` are invalid for this API.
185993185995
* @returns The color value in #RRGGBB format (e.g., "FFA500").
185994185996
*/
185995185997
getThemeColor(color: "Mixed" | "None" | "Accent1" | "Accent2" | "Accent3" | "Accent4" | "Accent5" | "Accent6" | "Dark1" | "Dark2" | "FollowedHyperlink" | "Hyperlink" | "Light1" | "Light2"): OfficeExtension.ClientResult<string>;
@@ -185999,7 +186001,7 @@ declare namespace PowerPoint {
185999186001
* @remarks
186000186002
* [Api set: PowerPointApi 1.10]
186001186003
*
186002-
* @param color The theme color.
186004+
* @param color The theme color. The values `none` and `mixed` are invalid for this API.
186003186005
* @param rgbColor The color value in #RRGGBB format (e.g., "FFA500") or as a named HTML color (e.g., "orange").
186004186006
*/
186005186007
setThemeColor(color: PowerPoint.ThemeColor, rgbColor: string): void;
@@ -186009,7 +186011,7 @@ declare namespace PowerPoint {
186009186011
* @remarks
186010186012
* [Api set: PowerPointApi 1.10]
186011186013
*
186012-
* @param color The theme color.
186014+
* @param color The theme color. The values `none` and `mixed` are invalid for this API.
186013186015
* @param rgbColor The color value in #RRGGBB format (e.g., "FFA500") or as a named HTML color (e.g., "orange").
186014186016
*/
186015186017
setThemeColor(color: "Mixed" | "None" | "Accent1" | "Accent2" | "Accent3" | "Accent4" | "Accent5" | "Accent6" | "Dark1" | "Dark2" | "FollowedHyperlink" | "Hyperlink" | "Light1" | "Light2", rgbColor: string): void;
@@ -192755,6 +192757,7 @@ declare namespace PowerPoint {
192755192757
constructor(url?: string);
192756192758
readonly presentation: Presentation;
192757192759
readonly application: Application;
192760+
readonly sensitivityLabelsCatalog: any;
192758192761
}
192759192762
/**
192760192763
* Executes a batch script that performs actions on the PowerPoint object model, using a new RequestContext. When the promise is resolved, any tracked objects that were automatically allocated during execution will be released.

0 commit comments

Comments
 (0)