Skip to content

Commit 6d7af13

Browse files
[office-js] [office-js-preview] (PowerPoint) Updates from CDN (DefinitelyTyped#73917)
1 parent 9e7369b commit 6d7af13

File tree

2 files changed

+66
-10
lines changed

2 files changed

+66
-10
lines changed

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

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190847,6 +190847,8 @@ declare namespace Visio {
190847190847

190848190848
declare namespace PowerPoint {
190849190849
/**
190850+
* Represents the PowerPoint application that manages the presentation.
190851+
*
190850190852
* @remarks
190851190853
* [Api set: PowerPointApi 1.0]
190852190854
*/
@@ -190866,6 +190868,10 @@ declare namespace PowerPoint {
190866190868
};
190867190869
}
190868190870
/**
190871+
* The `Presentation` object is the top-level object with one or more slides that contain the contents of the presentation.
190872+
To learn more about the PowerPoint object model,
190873+
see {@link https://learn.microsoft.com/office/dev/add-ins/powerpoint/core-concepts | PowerPoint JavaScript object model}.
190874+
*
190869190875
* @remarks
190870190876
* [Api set: PowerPointApi 1.0]
190871190877
*/
@@ -190929,6 +190935,12 @@ declare namespace PowerPoint {
190929190935
* [Api set: PowerPointApi 1.5]
190930190936
*/
190931190937
readonly id: string;
190938+
/**
190939+
* Returns the title of the presentation.
190940+
*
190941+
* @remarks
190942+
* [Api set: PowerPointApi 1.0]
190943+
*/
190932190944
readonly title: string;
190933190945
/**
190934190946
* Returns the selected shapes in the current slide of the presentation.
@@ -192998,8 +193010,8 @@ declare namespace PowerPoint {
192998193010
*/
192999193011
getCount(): OfficeExtension.ClientResult<number>;
193000193012
/**
193001-
* Gets a hyperlink using its zero-based index in the collection. An error is thrown if the index is out of range.
193002-
Throws an `InvalidArgument` exception when the index is out of range.
193013+
* Gets a hyperlink using its zero-based index in the collection.
193014+
Throws an `InvalidArgument` exception if the index is out of range.
193003193015
*
193004193016
* @remarks
193005193017
* [Api set: PowerPointApi 1.6]
@@ -198445,8 +198457,8 @@ declare namespace PowerPoint {
198445198457
delete(): void;
198446198458
/**
198447198459
* Exports the slide to its own presentation file, returned as Base64-encoded data.
198448-
*
198449-
* Note: This method is optimized to export a single slide. Exporting multiple slides can impact performance.
198460+
198461+
Note: This method is optimized to export a single slide. Exporting multiple slides can impact performance.
198450198462
*
198451198463
* @remarks
198452198464
* [Api set: PowerPointApi 1.8]
@@ -200888,6 +200900,12 @@ declare namespace PowerPoint {
200888200900
* [Api set: PowerPointApi 1.5]
200889200901
*/
200890200902
id?: string;
200903+
/**
200904+
* Returns the title of the presentation.
200905+
*
200906+
* @remarks
200907+
* [Api set: PowerPointApi 1.0]
200908+
*/
200891200909
title?: string;
200892200910
}
200893200911
/** An interface describing the data returned by calling `adjustments.toJSON()`. */
@@ -202064,6 +202082,10 @@ declare namespace PowerPoint {
202064202082
items?: PowerPoint.Interfaces.SlideMasterData[];
202065202083
}
202066202084
/**
202085+
* The `Presentation` object is the top-level object with one or more slides that contain the contents of the presentation.
202086+
To learn more about the PowerPoint object model,
202087+
see {@link https://learn.microsoft.com/office/dev/add-ins/powerpoint/core-concepts | PowerPoint JavaScript object model}.
202088+
*
202067202089
* @remarks
202068202090
* [Api set: PowerPointApi 1.0]
202069202091
*/
@@ -202094,6 +202116,12 @@ declare namespace PowerPoint {
202094202116
* [Api set: PowerPointApi 1.5]
202095202117
*/
202096202118
id?: boolean;
202119+
/**
202120+
* Returns the title of the presentation.
202121+
*
202122+
* @remarks
202123+
* [Api set: PowerPointApi 1.0]
202124+
*/
202097202125
title?: boolean;
202098202126
}
202099202127
/**

types/office-js/index.d.ts

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -154438,6 +154438,8 @@ declare namespace Visio {
154438154438

154439154439
declare namespace PowerPoint {
154440154440
/**
154441+
* Represents the PowerPoint application that manages the presentation.
154442+
*
154441154443
* @remarks
154442154444
* [Api set: PowerPointApi 1.0]
154443154445
*/
@@ -154457,6 +154459,10 @@ declare namespace PowerPoint {
154457154459
};
154458154460
}
154459154461
/**
154462+
* The `Presentation` object is the top-level object with one or more slides that contain the contents of the presentation.
154463+
To learn more about the PowerPoint object model,
154464+
see {@link https://learn.microsoft.com/office/dev/add-ins/powerpoint/core-concepts | PowerPoint JavaScript object model}.
154465+
*
154460154466
* @remarks
154461154467
* [Api set: PowerPointApi 1.0]
154462154468
*/
@@ -154512,6 +154518,12 @@ declare namespace PowerPoint {
154512154518
* [Api set: PowerPointApi 1.5]
154513154519
*/
154514154520
readonly id: string;
154521+
/**
154522+
* Returns the title of the presentation.
154523+
*
154524+
* @remarks
154525+
* [Api set: PowerPointApi 1.0]
154526+
*/
154515154527
readonly title: string;
154516154528
/**
154517154529
* Returns the selected shapes in the current slide of the presentation.
@@ -155949,8 +155961,8 @@ declare namespace PowerPoint {
155949155961
*/
155950155962
getCount(): OfficeExtension.ClientResult<number>;
155951155963
/**
155952-
* Gets a hyperlink using its zero-based index in the collection. An error is thrown if the index is out of range.
155953-
Throws an `InvalidArgument` exception when the index is out of range.
155964+
* Gets a hyperlink using its zero-based index in the collection.
155965+
Throws an `InvalidArgument` exception if the index is out of range.
155954155966
*
155955155967
* @remarks
155956155968
* [Api set: PowerPointApi 1.6]
@@ -160072,8 +160084,8 @@ declare namespace PowerPoint {
160072160084
delete(): void;
160073160085
/**
160074160086
* Exports the slide to its own presentation file, returned as Base64-encoded data.
160075-
*
160076-
* Note: This method is optimized to export a single slide. Exporting multiple slides can impact performance.
160087+
160088+
Note: This method is optimized to export a single slide. Exporting multiple slides can impact performance.
160077160089
*
160078160090
* @remarks
160079160091
* [Api set: PowerPointApi 1.8]
@@ -161215,12 +161227,12 @@ declare namespace PowerPoint {
161215161227
/** Gets the loaded child items in this collection. */
161216161228
readonly items: PowerPoint.Slide[];
161217161229
/**
161218-
* Adds a new slide at the end of the collection.
161230+
* Adds a new slide to the collection.
161219161231
*
161220161232
* @remarks
161221161233
* [Api set: PowerPointApi 1.3]
161222161234
*
161223-
* @param options The options that define the theme of the new slide.
161235+
* @param options Optional. Options for configuring the properties of the new slide.
161224161236
*/
161225161237
add(options?: PowerPoint.AddSlideOptions): void;
161226161238
/**
@@ -162131,6 +162143,12 @@ declare namespace PowerPoint {
162131162143
* [Api set: PowerPointApi 1.5]
162132162144
*/
162133162145
id?: string;
162146+
/**
162147+
* Returns the title of the presentation.
162148+
*
162149+
* @remarks
162150+
* [Api set: PowerPointApi 1.0]
162151+
*/
162134162152
title?: string;
162135162153
}
162136162154
/** An interface describing the data returned by calling `customXmlPart.toJSON()`. */
@@ -163086,6 +163104,10 @@ declare namespace PowerPoint {
163086163104
items?: PowerPoint.Interfaces.SlideMasterData[];
163087163105
}
163088163106
/**
163107+
* The `Presentation` object is the top-level object with one or more slides that contain the contents of the presentation.
163108+
To learn more about the PowerPoint object model,
163109+
see {@link https://learn.microsoft.com/office/dev/add-ins/powerpoint/core-concepts | PowerPoint JavaScript object model}.
163110+
*
163089163111
* @remarks
163090163112
* [Api set: PowerPointApi 1.0]
163091163113
*/
@@ -163108,6 +163130,12 @@ declare namespace PowerPoint {
163108163130
* [Api set: PowerPointApi 1.5]
163109163131
*/
163110163132
id?: boolean;
163133+
/**
163134+
* Returns the title of the presentation.
163135+
*
163136+
* @remarks
163137+
* [Api set: PowerPointApi 1.0]
163138+
*/
163111163139
title?: boolean;
163112163140
}
163113163141
/**

0 commit comments

Comments
 (0)