@types/office-js 1.0.247 → 1.0.250
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.
- office-js/README.md +1 -1
- office-js/index.d.ts +415 -392
- office-js/package.json +2 -2
office-js/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for Office.js (https://github.com/OfficeD
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Sat, 23 Apr 2022 00:01:40 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
|
|
14
14
|
|
office-js/index.d.ts
CHANGED
|
@@ -8699,6 +8699,11 @@ declare namespace Office {
|
|
|
8699
8699
|
* [Api set: Mailbox 1.1]
|
|
8700
8700
|
*
|
|
8701
8701
|
* **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
|
|
8702
|
+
*
|
|
8703
|
+
* **Important**: A `recipientType` property value isn't returned by the
|
|
8704
|
+
* {@link https://docs.microsoft.com/javascript/api/outlook/office.from?view=outlook-js-1.7#outlook-office-from-getasync-member(1) | Office.context.mailbox.item.from.getAsync}
|
|
8705
|
+
* and {@link https://docs.microsoft.com/javascript/api/outlook/office.organizer?view=outlook-js-1.7#outlook-office-organizer-getasync-member(1) | Office.context.mailbox.item.organizer.getAsync} methods.
|
|
8706
|
+
* The email sender or appointment organizer is always a user whose email address is on the Exchange server.
|
|
8702
8707
|
*/
|
|
8703
8708
|
enum RecipientType {
|
|
8704
8709
|
/**
|
|
@@ -12565,6 +12570,12 @@ declare namespace Office {
|
|
|
12565
12570
|
appointmentResponse: MailboxEnums.ResponseType | string;
|
|
12566
12571
|
/**
|
|
12567
12572
|
* Gets the email address type of a recipient.
|
|
12573
|
+
*
|
|
12574
|
+
* @remarks
|
|
12575
|
+
* **Important**: A `recipientType` property value isn't returned by the
|
|
12576
|
+
* {@link https://docs.microsoft.com/javascript/api/outlook/office.from?view=outlook-js-1.7#outlook-office-from-getasync-member(1) | Office.context.mailbox.item.from.getAsync}
|
|
12577
|
+
* and {@link https://docs.microsoft.com/javascript/api/outlook/office.organizer?view=outlook-js-1.7#outlook-office-organizer-getasync-member(1) | Office.context.mailbox.item.organizer.getAsync} methods.
|
|
12578
|
+
* The email sender or appointment organizer is always a user whose email address is on the Exchange server.
|
|
12568
12579
|
*/
|
|
12569
12580
|
recipientType: MailboxEnums.RecipientType | string;
|
|
12570
12581
|
}
|
|
@@ -12815,6 +12826,9 @@ declare namespace Office {
|
|
|
12815
12826
|
*
|
|
12816
12827
|
* **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
12817
12828
|
*
|
|
12829
|
+
* **Important**: A `recipientType` property value isn't returned by the getAsync method.
|
|
12830
|
+
* The email sender is always a user whose email address is on the Exchange server.
|
|
12831
|
+
*
|
|
12818
12832
|
* @param options - An object literal that contains one or more of the following properties.
|
|
12819
12833
|
* `asyncContext`: Developers can provide any object they wish to access in the callback method.
|
|
12820
12834
|
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
|
@@ -12836,6 +12850,9 @@ declare namespace Office {
|
|
|
12836
12850
|
*
|
|
12837
12851
|
* **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
12838
12852
|
*
|
|
12853
|
+
* **Important**: A `recipientType` property value isn't returned by the getAsync method.
|
|
12854
|
+
* The email sender is always a user whose email address is on the Exchange server.
|
|
12855
|
+
*
|
|
12839
12856
|
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
|
12840
12857
|
* `asyncResult`, which is an `Office.AsyncResult` object.
|
|
12841
12858
|
* The `value` property of the result is the item's from value, as an `EmailAddressDetails` object.
|
|
@@ -13963,7 +13980,7 @@ declare namespace Office {
|
|
|
13963
13980
|
*
|
|
13964
13981
|
* The add-in should use the `ewsUrl` property to determine the correct URL to use when making EWS calls.
|
|
13965
13982
|
*
|
|
13966
|
-
* You can pass both the token and either an attachment identifier or item identifier to
|
|
13983
|
+
* You can pass both the token and either an attachment identifier or item identifier to an external system. That system uses
|
|
13967
13984
|
* the token as a bearer authorization token to call the Exchange Web Services (EWS)
|
|
13968
13985
|
* {@link https://docs.microsoft.com/exchange/client-developer/web-service-reference/getattachment-operation | GetAttachment} operation or
|
|
13969
13986
|
* {@link https://docs.microsoft.com/exchange/client-developer/web-service-reference/getitem-operation | GetItem} operation to return an
|
|
@@ -14003,7 +14020,7 @@ declare namespace Office {
|
|
|
14003
14020
|
*
|
|
14004
14021
|
* The token is returned as a string in the `asyncResult.value` property.
|
|
14005
14022
|
*
|
|
14006
|
-
* You can pass both the token and either an attachment identifier or item identifier to
|
|
14023
|
+
* You can pass both the token and either an attachment identifier or item identifier to an external system. That system uses
|
|
14007
14024
|
* the token as a bearer authorization token to call the Exchange Web Services (EWS)
|
|
14008
14025
|
* {@link https://docs.microsoft.com/exchange/client-developer/web-service-reference/getattachment-operation | GetAttachment} operation or
|
|
14009
14026
|
* {@link https://docs.microsoft.com/exchange/client-developer/web-service-reference/getitem-operation | GetItem} operation to return an
|
|
@@ -14051,7 +14068,7 @@ declare namespace Office {
|
|
|
14051
14068
|
* **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
|
|
14052
14069
|
*
|
|
14053
14070
|
* The `getUserIdentityTokenAsync` method returns a token that you can use to identify and
|
|
14054
|
-
* {@link https://docs.microsoft.com/office/dev/add-ins/outlook/authentication | authenticate the add-in and user with
|
|
14071
|
+
* {@link https://docs.microsoft.com/office/dev/add-ins/outlook/authentication | authenticate the add-in and user with an external system}.
|
|
14055
14072
|
*
|
|
14056
14073
|
* **Errors**:
|
|
14057
14074
|
*
|
|
@@ -16660,6 +16677,9 @@ declare namespace Office {
|
|
|
16660
16677
|
*
|
|
16661
16678
|
* **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
16662
16679
|
*
|
|
16680
|
+
* **Important**: A `recipientType` property value isn't returned by the getAsync method.
|
|
16681
|
+
* The appointment organizer is always a user whose email address is on the Exchange server.
|
|
16682
|
+
*
|
|
16663
16683
|
* @param options - An object literal that contains one or more of the following properties.
|
|
16664
16684
|
* `asyncContext`: Developers can provide any object they wish to access in the callback method.
|
|
16665
16685
|
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
|
@@ -16678,6 +16698,9 @@ declare namespace Office {
|
|
|
16678
16698
|
*
|
|
16679
16699
|
* **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
16680
16700
|
*
|
|
16701
|
+
* **Important**: A `recipientType` property value isn't returned by the getAsync method.
|
|
16702
|
+
* The appointment organizer is always a user whose email address is on the Exchange server.
|
|
16703
|
+
*
|
|
16681
16704
|
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
|
16682
16705
|
* `asyncResult`, which is an `AsyncResult` object. The `value` property of the result is the appointment's organizer value,
|
|
16683
16706
|
* as an `EmailAddressDetails` object.
|
|
@@ -96966,6 +96989,274 @@ declare namespace PowerPoint {
|
|
|
96966
96989
|
*/
|
|
96967
96990
|
targetSlideId?: string;
|
|
96968
96991
|
}
|
|
96992
|
+
/**
|
|
96993
|
+
* Represents the collection of shapes.
|
|
96994
|
+
*
|
|
96995
|
+
* @remarks
|
|
96996
|
+
* [Api set: PowerPointApi 1.3]
|
|
96997
|
+
*/
|
|
96998
|
+
class ShapeCollection extends OfficeExtension.ClientObject {
|
|
96999
|
+
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
97000
|
+
context: RequestContext;
|
|
97001
|
+
/** Gets the loaded child items in this collection. */
|
|
97002
|
+
readonly items: PowerPoint.Shape[];
|
|
97003
|
+
/**
|
|
97004
|
+
* Gets the number of shapes in the collection.
|
|
97005
|
+
*
|
|
97006
|
+
* @remarks
|
|
97007
|
+
* [Api set: PowerPointApi 1.3]
|
|
97008
|
+
* @returns The number of shapes in the collection.
|
|
97009
|
+
*/
|
|
97010
|
+
getCount(): OfficeExtension.ClientResult<number>;
|
|
97011
|
+
/**
|
|
97012
|
+
* Gets a shape using its unique ID. An error is thrown if the shape does not exist.
|
|
97013
|
+
*
|
|
97014
|
+
* @remarks
|
|
97015
|
+
* [Api set: PowerPointApi 1.3]
|
|
97016
|
+
*
|
|
97017
|
+
* @param key The ID of the shape.
|
|
97018
|
+
* @returns The shape with the unique ID. If such a shape does not exist, an error is thrown.
|
|
97019
|
+
*/
|
|
97020
|
+
getItem(key: string): PowerPoint.Shape;
|
|
97021
|
+
/**
|
|
97022
|
+
* Gets a shape using its zero-based index in the collection. An error is thrown if the index is out of range.
|
|
97023
|
+
*
|
|
97024
|
+
* @remarks
|
|
97025
|
+
* [Api set: PowerPointApi 1.3]
|
|
97026
|
+
*
|
|
97027
|
+
* @param index The index of the shape in the collection.
|
|
97028
|
+
* @returns The shape at the given index. An error is thrown if index is out of range.
|
|
97029
|
+
*/
|
|
97030
|
+
getItemAt(index: number): PowerPoint.Shape;
|
|
97031
|
+
/**
|
|
97032
|
+
* Gets a shape using its unique ID. If such a shape does not exist, an object with an `isNullObject` property set to true is returned.
|
|
97033
|
+
*
|
|
97034
|
+
* @remarks
|
|
97035
|
+
* [Api set: PowerPointApi 1.3]
|
|
97036
|
+
*
|
|
97037
|
+
* @param id The ID of the shape.
|
|
97038
|
+
* @returns The shape with the unique ID. If such a shape does not exist, an object with an `isNullObject` property set to true is returned.
|
|
97039
|
+
*/
|
|
97040
|
+
getItemOrNullObject(id: string): PowerPoint.Shape;
|
|
97041
|
+
/**
|
|
97042
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
97043
|
+
*
|
|
97044
|
+
* @param options Provides options for which properties of the object to load.
|
|
97045
|
+
*/
|
|
97046
|
+
load(options?: PowerPoint.Interfaces.ShapeCollectionLoadOptions & PowerPoint.Interfaces.CollectionLoadOptions): PowerPoint.ShapeCollection;
|
|
97047
|
+
/**
|
|
97048
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
97049
|
+
*
|
|
97050
|
+
* @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
|
|
97051
|
+
*/
|
|
97052
|
+
load(propertyNames?: string | string[]): PowerPoint.ShapeCollection;
|
|
97053
|
+
/**
|
|
97054
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
97055
|
+
*
|
|
97056
|
+
* @param propertyNamesAndPaths `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
|
|
97057
|
+
*/
|
|
97058
|
+
load(propertyNamesAndPaths?: OfficeExtension.LoadOption): PowerPoint.ShapeCollection;
|
|
97059
|
+
/**
|
|
97060
|
+
* Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
|
|
97061
|
+
* Whereas the original `PowerPoint.ShapeCollection` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.ShapeCollectionData`) that contains an "items" array with shallow copies of any loaded properties from the collection's items.
|
|
97062
|
+
*/
|
|
97063
|
+
toJSON(): PowerPoint.Interfaces.ShapeCollectionData;
|
|
97064
|
+
}
|
|
97065
|
+
/**
|
|
97066
|
+
* Represents the layout of a slide.
|
|
97067
|
+
*
|
|
97068
|
+
* @remarks
|
|
97069
|
+
* [Api set: PowerPointApi 1.3]
|
|
97070
|
+
*/
|
|
97071
|
+
class SlideLayout extends OfficeExtension.ClientObject {
|
|
97072
|
+
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
97073
|
+
context: RequestContext;
|
|
97074
|
+
/**
|
|
97075
|
+
* Returns a collection of shapes in the slide layout.
|
|
97076
|
+
*
|
|
97077
|
+
* @remarks
|
|
97078
|
+
* [Api set: PowerPointApi 1.3]
|
|
97079
|
+
*/
|
|
97080
|
+
readonly shapes: PowerPoint.ShapeCollection;
|
|
97081
|
+
/**
|
|
97082
|
+
* Gets the unique ID of the slide layout.
|
|
97083
|
+
*
|
|
97084
|
+
* @remarks
|
|
97085
|
+
* [Api set: PowerPointApi 1.3]
|
|
97086
|
+
*/
|
|
97087
|
+
readonly id: string;
|
|
97088
|
+
/**
|
|
97089
|
+
* Gets the name of the slide layout.
|
|
97090
|
+
*
|
|
97091
|
+
* @remarks
|
|
97092
|
+
* [Api set: PowerPointApi 1.3]
|
|
97093
|
+
*/
|
|
97094
|
+
readonly name: string;
|
|
97095
|
+
/**
|
|
97096
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
97097
|
+
*
|
|
97098
|
+
* @param options Provides options for which properties of the object to load.
|
|
97099
|
+
*/
|
|
97100
|
+
load(options?: PowerPoint.Interfaces.SlideLayoutLoadOptions): PowerPoint.SlideLayout;
|
|
97101
|
+
/**
|
|
97102
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
97103
|
+
*
|
|
97104
|
+
* @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
|
|
97105
|
+
*/
|
|
97106
|
+
load(propertyNames?: string | string[]): PowerPoint.SlideLayout;
|
|
97107
|
+
/**
|
|
97108
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
97109
|
+
*
|
|
97110
|
+
* @param propertyNamesAndPaths `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
|
|
97111
|
+
*/
|
|
97112
|
+
load(propertyNamesAndPaths?: {
|
|
97113
|
+
select?: string;
|
|
97114
|
+
expand?: string;
|
|
97115
|
+
}): PowerPoint.SlideLayout;
|
|
97116
|
+
/**
|
|
97117
|
+
* Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
|
|
97118
|
+
* Whereas the original PowerPoint.SlideLayout object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.SlideLayoutData`) that contains shallow copies of any loaded child properties from the original object.
|
|
97119
|
+
*/
|
|
97120
|
+
toJSON(): PowerPoint.Interfaces.SlideLayoutData;
|
|
97121
|
+
}
|
|
97122
|
+
/**
|
|
97123
|
+
* Represents the collection of layouts provided by the Slide Master for slides.
|
|
97124
|
+
*
|
|
97125
|
+
* @remarks
|
|
97126
|
+
* [Api set: PowerPointApi 1.3]
|
|
97127
|
+
*/
|
|
97128
|
+
class SlideLayoutCollection extends OfficeExtension.ClientObject {
|
|
97129
|
+
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
97130
|
+
context: RequestContext;
|
|
97131
|
+
/** Gets the loaded child items in this collection. */
|
|
97132
|
+
readonly items: PowerPoint.SlideLayout[];
|
|
97133
|
+
/**
|
|
97134
|
+
* Gets the number of layouts in the collection.
|
|
97135
|
+
*
|
|
97136
|
+
* @remarks
|
|
97137
|
+
* [Api set: PowerPointApi 1.3]
|
|
97138
|
+
* @returns The number of layouts in the collection.
|
|
97139
|
+
*/
|
|
97140
|
+
getCount(): OfficeExtension.ClientResult<number>;
|
|
97141
|
+
/**
|
|
97142
|
+
* Gets a layout using its unique ID.
|
|
97143
|
+
*
|
|
97144
|
+
* @remarks
|
|
97145
|
+
* [Api set: PowerPointApi 1.3]
|
|
97146
|
+
*
|
|
97147
|
+
* @param key The ID of the layout.
|
|
97148
|
+
* @returns The layout with the unique ID. If such a layout does not exist, an error is thrown.
|
|
97149
|
+
*/
|
|
97150
|
+
getItem(key: string): PowerPoint.SlideLayout;
|
|
97151
|
+
/**
|
|
97152
|
+
* Gets a layout using its zero-based index in the collection.
|
|
97153
|
+
*
|
|
97154
|
+
* @remarks
|
|
97155
|
+
* [Api set: PowerPointApi 1.3]
|
|
97156
|
+
*
|
|
97157
|
+
* @param index The index of the layout in the collection.
|
|
97158
|
+
* @returns The layout at the given index. An error is thrown if index is out of range.
|
|
97159
|
+
*/
|
|
97160
|
+
getItemAt(index: number): PowerPoint.SlideLayout;
|
|
97161
|
+
/**
|
|
97162
|
+
* Gets a layout using its unique ID. If such a layout does not exist, an object with an `isNullObject` property set to true is returned. For further information,
|
|
97163
|
+
see {@link https://docs.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods and properties}.
|
|
97164
|
+
*
|
|
97165
|
+
* @remarks
|
|
97166
|
+
* [Api set: PowerPointApi 1.3]
|
|
97167
|
+
*
|
|
97168
|
+
* @param id The ID of the layout.
|
|
97169
|
+
* @returns The layout with the unique ID.
|
|
97170
|
+
*/
|
|
97171
|
+
getItemOrNullObject(id: string): PowerPoint.SlideLayout;
|
|
97172
|
+
/**
|
|
97173
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
97174
|
+
*
|
|
97175
|
+
* @param options Provides options for which properties of the object to load.
|
|
97176
|
+
*/
|
|
97177
|
+
load(options?: PowerPoint.Interfaces.SlideLayoutCollectionLoadOptions & PowerPoint.Interfaces.CollectionLoadOptions): PowerPoint.SlideLayoutCollection;
|
|
97178
|
+
/**
|
|
97179
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
97180
|
+
*
|
|
97181
|
+
* @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
|
|
97182
|
+
*/
|
|
97183
|
+
load(propertyNames?: string | string[]): PowerPoint.SlideLayoutCollection;
|
|
97184
|
+
/**
|
|
97185
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
97186
|
+
*
|
|
97187
|
+
* @param propertyNamesAndPaths `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
|
|
97188
|
+
*/
|
|
97189
|
+
load(propertyNamesAndPaths?: OfficeExtension.LoadOption): PowerPoint.SlideLayoutCollection;
|
|
97190
|
+
/**
|
|
97191
|
+
* Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
|
|
97192
|
+
* Whereas the original `PowerPoint.SlideLayoutCollection` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.SlideLayoutCollectionData`) that contains an "items" array with shallow copies of any loaded properties from the collection's items.
|
|
97193
|
+
*/
|
|
97194
|
+
toJSON(): PowerPoint.Interfaces.SlideLayoutCollectionData;
|
|
97195
|
+
}
|
|
97196
|
+
/**
|
|
97197
|
+
* Represents the Slide Master of a slide.
|
|
97198
|
+
*
|
|
97199
|
+
* @remarks
|
|
97200
|
+
* [Api set: PowerPointApi 1.3]
|
|
97201
|
+
*/
|
|
97202
|
+
class SlideMaster extends OfficeExtension.ClientObject {
|
|
97203
|
+
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
97204
|
+
context: RequestContext;
|
|
97205
|
+
/**
|
|
97206
|
+
* Gets the collection of layouts provided by the Slide Master for slides.
|
|
97207
|
+
*
|
|
97208
|
+
* @remarks
|
|
97209
|
+
* [Api set: PowerPointApi 1.3]
|
|
97210
|
+
*/
|
|
97211
|
+
readonly layouts: PowerPoint.SlideLayoutCollection;
|
|
97212
|
+
/**
|
|
97213
|
+
* Returns a collection of shapes in the Slide Master.
|
|
97214
|
+
*
|
|
97215
|
+
* @remarks
|
|
97216
|
+
* [Api set: PowerPointApi 1.3]
|
|
97217
|
+
*/
|
|
97218
|
+
readonly shapes: PowerPoint.ShapeCollection;
|
|
97219
|
+
/**
|
|
97220
|
+
* Gets the unique ID of the Slide Master.
|
|
97221
|
+
*
|
|
97222
|
+
* @remarks
|
|
97223
|
+
* [Api set: PowerPointApi 1.3]
|
|
97224
|
+
*/
|
|
97225
|
+
readonly id: string;
|
|
97226
|
+
/**
|
|
97227
|
+
* Gets the unique name of the Slide Master.
|
|
97228
|
+
*
|
|
97229
|
+
* @remarks
|
|
97230
|
+
* [Api set: PowerPointApi 1.3]
|
|
97231
|
+
*/
|
|
97232
|
+
readonly name: string;
|
|
97233
|
+
/**
|
|
97234
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
97235
|
+
*
|
|
97236
|
+
* @param options Provides options for which properties of the object to load.
|
|
97237
|
+
*/
|
|
97238
|
+
load(options?: PowerPoint.Interfaces.SlideMasterLoadOptions): PowerPoint.SlideMaster;
|
|
97239
|
+
/**
|
|
97240
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
97241
|
+
*
|
|
97242
|
+
* @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
|
|
97243
|
+
*/
|
|
97244
|
+
load(propertyNames?: string | string[]): PowerPoint.SlideMaster;
|
|
97245
|
+
/**
|
|
97246
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
97247
|
+
*
|
|
97248
|
+
* @param propertyNamesAndPaths `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
|
|
97249
|
+
*/
|
|
97250
|
+
load(propertyNamesAndPaths?: {
|
|
97251
|
+
select?: string;
|
|
97252
|
+
expand?: string;
|
|
97253
|
+
}): PowerPoint.SlideMaster;
|
|
97254
|
+
/**
|
|
97255
|
+
* Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
|
|
97256
|
+
* Whereas the original PowerPoint.SlideMaster object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.SlideMasterData`) that contains shallow copies of any loaded child properties from the original object.
|
|
97257
|
+
*/
|
|
97258
|
+
toJSON(): PowerPoint.Interfaces.SlideMasterData;
|
|
97259
|
+
}
|
|
96969
97260
|
/**
|
|
96970
97261
|
* Represents a single tag in the slide.
|
|
96971
97262
|
*
|
|
@@ -97109,177 +97400,68 @@ declare namespace PowerPoint {
|
|
|
97109
97400
|
toJSON(): PowerPoint.Interfaces.TagCollectionData;
|
|
97110
97401
|
}
|
|
97111
97402
|
/**
|
|
97112
|
-
* Represents a single
|
|
97113
|
-
*
|
|
97114
|
-
* @remarks
|
|
97115
|
-
* [Api set: PowerPointApi 1.3]
|
|
97116
|
-
*/
|
|
97117
|
-
class Shape extends OfficeExtension.ClientObject {
|
|
97118
|
-
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
97119
|
-
context: RequestContext;
|
|
97120
|
-
/**
|
|
97121
|
-
* Returns a collection of tags in the shape.
|
|
97122
|
-
*
|
|
97123
|
-
* @remarks
|
|
97124
|
-
* [Api set: PowerPointApi 1.3]
|
|
97125
|
-
*/
|
|
97126
|
-
readonly tags: PowerPoint.TagCollection;
|
|
97127
|
-
/**
|
|
97128
|
-
* Gets the unique ID of the shape.
|
|
97129
|
-
*
|
|
97130
|
-
* @remarks
|
|
97131
|
-
* [Api set: PowerPointApi 1.3]
|
|
97132
|
-
*/
|
|
97133
|
-
readonly id: string;
|
|
97134
|
-
/**
|
|
97135
|
-
* Deletes the shape from the shape collection. Does nothing if the shape does not exist.
|
|
97136
|
-
*
|
|
97137
|
-
* @remarks
|
|
97138
|
-
* [Api set: PowerPointApi 1.3]
|
|
97139
|
-
*/
|
|
97140
|
-
delete(): void;
|
|
97141
|
-
/**
|
|
97142
|
-
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
97143
|
-
*
|
|
97144
|
-
* @param options Provides options for which properties of the object to load.
|
|
97145
|
-
*/
|
|
97146
|
-
load(options?: PowerPoint.Interfaces.ShapeLoadOptions): PowerPoint.Shape;
|
|
97147
|
-
/**
|
|
97148
|
-
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
97149
|
-
*
|
|
97150
|
-
* @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
|
|
97151
|
-
*/
|
|
97152
|
-
load(propertyNames?: string | string[]): PowerPoint.Shape;
|
|
97153
|
-
/**
|
|
97154
|
-
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
97155
|
-
*
|
|
97156
|
-
* @param propertyNamesAndPaths `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
|
|
97157
|
-
*/
|
|
97158
|
-
load(propertyNamesAndPaths?: {
|
|
97159
|
-
select?: string;
|
|
97160
|
-
expand?: string;
|
|
97161
|
-
}): PowerPoint.Shape;
|
|
97162
|
-
/**
|
|
97163
|
-
* Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
|
|
97164
|
-
* Whereas the original PowerPoint.Shape object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.ShapeData`) that contains shallow copies of any loaded child properties from the original object.
|
|
97165
|
-
*/
|
|
97166
|
-
toJSON(): PowerPoint.Interfaces.ShapeData;
|
|
97167
|
-
}
|
|
97168
|
-
/**
|
|
97169
|
-
* Represents the collection of shapes.
|
|
97403
|
+
* Represents a single slide of a presentation.
|
|
97170
97404
|
*
|
|
97171
97405
|
* @remarks
|
|
97172
|
-
* [Api set: PowerPointApi 1.
|
|
97406
|
+
* [Api set: PowerPointApi 1.2]
|
|
97173
97407
|
*/
|
|
97174
|
-
class
|
|
97408
|
+
class Slide extends OfficeExtension.ClientObject {
|
|
97175
97409
|
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
97176
97410
|
context: RequestContext;
|
|
97177
|
-
/** Gets the loaded child items in this collection. */
|
|
97178
|
-
readonly items: PowerPoint.Shape[];
|
|
97179
|
-
/**
|
|
97180
|
-
* Gets the number of shapes in the collection.
|
|
97181
|
-
*
|
|
97182
|
-
* @remarks
|
|
97183
|
-
* [Api set: PowerPointApi 1.3]
|
|
97184
|
-
* @returns The number of shapes in the collection.
|
|
97185
|
-
*/
|
|
97186
|
-
getCount(): OfficeExtension.ClientResult<number>;
|
|
97187
97411
|
/**
|
|
97188
|
-
* Gets
|
|
97412
|
+
* Gets the layout of the slide.
|
|
97189
97413
|
*
|
|
97190
97414
|
* @remarks
|
|
97191
97415
|
* [Api set: PowerPointApi 1.3]
|
|
97192
|
-
*
|
|
97193
|
-
* @param key The ID of the shape.
|
|
97194
|
-
* @returns The shape with the unique ID. If such a shape does not exist, an error is thrown.
|
|
97195
97416
|
*/
|
|
97196
|
-
|
|
97417
|
+
readonly layout: PowerPoint.SlideLayout;
|
|
97197
97418
|
/**
|
|
97198
|
-
*
|
|
97419
|
+
* Returns a collection of shapes in the slide.
|
|
97199
97420
|
*
|
|
97200
97421
|
* @remarks
|
|
97201
97422
|
* [Api set: PowerPointApi 1.3]
|
|
97202
|
-
*
|
|
97203
|
-
* @param index The index of the shape in the collection.
|
|
97204
|
-
* @returns The shape at the given index. An error is thrown if index is out of range.
|
|
97205
97423
|
*/
|
|
97206
|
-
|
|
97424
|
+
readonly shapes: PowerPoint.ShapeCollection;
|
|
97207
97425
|
/**
|
|
97208
|
-
* Gets
|
|
97426
|
+
* Gets the `SlideMaster` object that represents the slide's default content.
|
|
97209
97427
|
*
|
|
97210
97428
|
* @remarks
|
|
97211
97429
|
* [Api set: PowerPointApi 1.3]
|
|
97212
|
-
*
|
|
97213
|
-
* @param id The ID of the shape.
|
|
97214
|
-
* @returns The shape with the unique ID. If such a shape does not exist, an object with an `isNullObject` property set to true is returned.
|
|
97215
|
-
*/
|
|
97216
|
-
getItemOrNullObject(id: string): PowerPoint.Shape;
|
|
97217
|
-
/**
|
|
97218
|
-
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
97219
|
-
*
|
|
97220
|
-
* @param options Provides options for which properties of the object to load.
|
|
97221
|
-
*/
|
|
97222
|
-
load(options?: PowerPoint.Interfaces.ShapeCollectionLoadOptions & PowerPoint.Interfaces.CollectionLoadOptions): PowerPoint.ShapeCollection;
|
|
97223
|
-
/**
|
|
97224
|
-
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
97225
|
-
*
|
|
97226
|
-
* @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
|
|
97227
97430
|
*/
|
|
97228
|
-
|
|
97229
|
-
/**
|
|
97230
|
-
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
97231
|
-
*
|
|
97232
|
-
* @param propertyNamesAndPaths `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
|
|
97233
|
-
*/
|
|
97234
|
-
load(propertyNamesAndPaths?: OfficeExtension.LoadOption): PowerPoint.ShapeCollection;
|
|
97235
|
-
/**
|
|
97236
|
-
* Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
|
|
97237
|
-
* Whereas the original `PowerPoint.ShapeCollection` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.ShapeCollectionData`) that contains an "items" array with shallow copies of any loaded properties from the collection's items.
|
|
97238
|
-
*/
|
|
97239
|
-
toJSON(): PowerPoint.Interfaces.ShapeCollectionData;
|
|
97240
|
-
}
|
|
97241
|
-
/**
|
|
97242
|
-
* Represents the layout of a slide.
|
|
97243
|
-
*
|
|
97244
|
-
* @remarks
|
|
97245
|
-
* [Api set: PowerPointApi 1.3]
|
|
97246
|
-
*/
|
|
97247
|
-
class SlideLayout extends OfficeExtension.ClientObject {
|
|
97248
|
-
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
97249
|
-
context: RequestContext;
|
|
97431
|
+
readonly slideMaster: PowerPoint.SlideMaster;
|
|
97250
97432
|
/**
|
|
97251
|
-
* Returns a collection of
|
|
97433
|
+
* Returns a collection of tags in the slide.
|
|
97252
97434
|
*
|
|
97253
97435
|
* @remarks
|
|
97254
97436
|
* [Api set: PowerPointApi 1.3]
|
|
97255
97437
|
*/
|
|
97256
|
-
readonly
|
|
97438
|
+
readonly tags: PowerPoint.TagCollection;
|
|
97257
97439
|
/**
|
|
97258
|
-
* Gets the unique ID of the slide
|
|
97440
|
+
* Gets the unique ID of the slide.
|
|
97259
97441
|
*
|
|
97260
97442
|
* @remarks
|
|
97261
|
-
* [Api set: PowerPointApi 1.
|
|
97443
|
+
* [Api set: PowerPointApi 1.2]
|
|
97262
97444
|
*/
|
|
97263
97445
|
readonly id: string;
|
|
97264
97446
|
/**
|
|
97265
|
-
*
|
|
97447
|
+
* Deletes the slide from the presentation. Does nothing if the slide does not exist.
|
|
97266
97448
|
*
|
|
97267
97449
|
* @remarks
|
|
97268
|
-
* [Api set: PowerPointApi 1.
|
|
97450
|
+
* [Api set: PowerPointApi 1.2]
|
|
97269
97451
|
*/
|
|
97270
|
-
|
|
97452
|
+
delete(): void;
|
|
97271
97453
|
/**
|
|
97272
97454
|
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
97273
97455
|
*
|
|
97274
97456
|
* @param options Provides options for which properties of the object to load.
|
|
97275
97457
|
*/
|
|
97276
|
-
load(options?: PowerPoint.Interfaces.
|
|
97458
|
+
load(options?: PowerPoint.Interfaces.SlideLoadOptions): PowerPoint.Slide;
|
|
97277
97459
|
/**
|
|
97278
97460
|
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
97279
97461
|
*
|
|
97280
97462
|
* @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
|
|
97281
97463
|
*/
|
|
97282
|
-
load(propertyNames?: string | string[]): PowerPoint.
|
|
97464
|
+
load(propertyNames?: string | string[]): PowerPoint.Slide;
|
|
97283
97465
|
/**
|
|
97284
97466
|
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
97285
97467
|
*
|
|
@@ -97288,214 +97470,55 @@ declare namespace PowerPoint {
|
|
|
97288
97470
|
load(propertyNamesAndPaths?: {
|
|
97289
97471
|
select?: string;
|
|
97290
97472
|
expand?: string;
|
|
97291
|
-
}): PowerPoint.
|
|
97292
|
-
/**
|
|
97293
|
-
* Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
|
|
97294
|
-
* Whereas the original PowerPoint.SlideLayout object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.SlideLayoutData`) that contains shallow copies of any loaded child properties from the original object.
|
|
97295
|
-
*/
|
|
97296
|
-
toJSON(): PowerPoint.Interfaces.SlideLayoutData;
|
|
97297
|
-
}
|
|
97298
|
-
/**
|
|
97299
|
-
* Represents the collection of layouts provided by the Slide Master for slides.
|
|
97300
|
-
*
|
|
97301
|
-
* @remarks
|
|
97302
|
-
* [Api set: PowerPointApi 1.3]
|
|
97303
|
-
*/
|
|
97304
|
-
class SlideLayoutCollection extends OfficeExtension.ClientObject {
|
|
97305
|
-
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
97306
|
-
context: RequestContext;
|
|
97307
|
-
/** Gets the loaded child items in this collection. */
|
|
97308
|
-
readonly items: PowerPoint.SlideLayout[];
|
|
97309
|
-
/**
|
|
97310
|
-
* Gets the number of layouts in the collection.
|
|
97311
|
-
*
|
|
97312
|
-
* @remarks
|
|
97313
|
-
* [Api set: PowerPointApi 1.3]
|
|
97314
|
-
* @returns The number of layouts in the collection.
|
|
97315
|
-
*/
|
|
97316
|
-
getCount(): OfficeExtension.ClientResult<number>;
|
|
97317
|
-
/**
|
|
97318
|
-
* Gets a layout using its unique ID.
|
|
97319
|
-
*
|
|
97320
|
-
* @remarks
|
|
97321
|
-
* [Api set: PowerPointApi 1.3]
|
|
97322
|
-
*
|
|
97323
|
-
* @param key The ID of the layout.
|
|
97324
|
-
* @returns The layout with the unique ID. If such a layout does not exist, an error is thrown.
|
|
97325
|
-
*/
|
|
97326
|
-
getItem(key: string): PowerPoint.SlideLayout;
|
|
97327
|
-
/**
|
|
97328
|
-
* Gets a layout using its zero-based index in the collection.
|
|
97329
|
-
*
|
|
97330
|
-
* @remarks
|
|
97331
|
-
* [Api set: PowerPointApi 1.3]
|
|
97332
|
-
*
|
|
97333
|
-
* @param index The index of the layout in the collection.
|
|
97334
|
-
* @returns The layout at the given index. An error is thrown if index is out of range.
|
|
97335
|
-
*/
|
|
97336
|
-
getItemAt(index: number): PowerPoint.SlideLayout;
|
|
97337
|
-
/**
|
|
97338
|
-
* Gets a layout using its unique ID. If such a layout does not exist, an object with an `isNullObject` property set to true is returned. For further information,
|
|
97339
|
-
see {@link https://docs.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods and properties}.
|
|
97340
|
-
*
|
|
97341
|
-
* @remarks
|
|
97342
|
-
* [Api set: PowerPointApi 1.3]
|
|
97343
|
-
*
|
|
97344
|
-
* @param id The ID of the layout.
|
|
97345
|
-
* @returns The layout with the unique ID.
|
|
97346
|
-
*/
|
|
97347
|
-
getItemOrNullObject(id: string): PowerPoint.SlideLayout;
|
|
97348
|
-
/**
|
|
97349
|
-
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
97350
|
-
*
|
|
97351
|
-
* @param options Provides options for which properties of the object to load.
|
|
97352
|
-
*/
|
|
97353
|
-
load(options?: PowerPoint.Interfaces.SlideLayoutCollectionLoadOptions & PowerPoint.Interfaces.CollectionLoadOptions): PowerPoint.SlideLayoutCollection;
|
|
97354
|
-
/**
|
|
97355
|
-
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
97356
|
-
*
|
|
97357
|
-
* @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
|
|
97358
|
-
*/
|
|
97359
|
-
load(propertyNames?: string | string[]): PowerPoint.SlideLayoutCollection;
|
|
97360
|
-
/**
|
|
97361
|
-
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
97362
|
-
*
|
|
97363
|
-
* @param propertyNamesAndPaths `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
|
|
97364
|
-
*/
|
|
97365
|
-
load(propertyNamesAndPaths?: OfficeExtension.LoadOption): PowerPoint.SlideLayoutCollection;
|
|
97473
|
+
}): PowerPoint.Slide;
|
|
97366
97474
|
/**
|
|
97367
97475
|
* Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
|
|
97368
|
-
* Whereas the original
|
|
97476
|
+
* Whereas the original PowerPoint.Slide object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.SlideData`) that contains shallow copies of any loaded child properties from the original object.
|
|
97369
97477
|
*/
|
|
97370
|
-
toJSON(): PowerPoint.Interfaces.
|
|
97478
|
+
toJSON(): PowerPoint.Interfaces.SlideData;
|
|
97371
97479
|
}
|
|
97372
97480
|
/**
|
|
97373
|
-
* Represents
|
|
97481
|
+
* Represents a single shape in the slide.
|
|
97374
97482
|
*
|
|
97375
97483
|
* @remarks
|
|
97376
97484
|
* [Api set: PowerPointApi 1.3]
|
|
97377
97485
|
*/
|
|
97378
|
-
class
|
|
97486
|
+
class Shape extends OfficeExtension.ClientObject {
|
|
97379
97487
|
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
97380
97488
|
context: RequestContext;
|
|
97381
97489
|
/**
|
|
97382
|
-
*
|
|
97383
|
-
*
|
|
97384
|
-
* @remarks
|
|
97385
|
-
* [Api set: PowerPointApi 1.3]
|
|
97386
|
-
*/
|
|
97387
|
-
readonly layouts: PowerPoint.SlideLayoutCollection;
|
|
97388
|
-
/**
|
|
97389
|
-
* Returns a collection of shapes in the Slide Master.
|
|
97490
|
+
* Returns a collection of tags in the shape.
|
|
97390
97491
|
*
|
|
97391
97492
|
* @remarks
|
|
97392
97493
|
* [Api set: PowerPointApi 1.3]
|
|
97393
97494
|
*/
|
|
97394
|
-
readonly
|
|
97495
|
+
readonly tags: PowerPoint.TagCollection;
|
|
97395
97496
|
/**
|
|
97396
|
-
* Gets the unique ID of the
|
|
97497
|
+
* Gets the unique ID of the shape.
|
|
97397
97498
|
*
|
|
97398
97499
|
* @remarks
|
|
97399
97500
|
* [Api set: PowerPointApi 1.3]
|
|
97400
97501
|
*/
|
|
97401
97502
|
readonly id: string;
|
|
97402
97503
|
/**
|
|
97403
|
-
*
|
|
97404
|
-
*
|
|
97405
|
-
* @remarks
|
|
97406
|
-
* [Api set: PowerPointApi 1.3]
|
|
97407
|
-
*/
|
|
97408
|
-
readonly name: string;
|
|
97409
|
-
/**
|
|
97410
|
-
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
97411
|
-
*
|
|
97412
|
-
* @param options Provides options for which properties of the object to load.
|
|
97413
|
-
*/
|
|
97414
|
-
load(options?: PowerPoint.Interfaces.SlideMasterLoadOptions): PowerPoint.SlideMaster;
|
|
97415
|
-
/**
|
|
97416
|
-
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
97417
|
-
*
|
|
97418
|
-
* @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
|
|
97419
|
-
*/
|
|
97420
|
-
load(propertyNames?: string | string[]): PowerPoint.SlideMaster;
|
|
97421
|
-
/**
|
|
97422
|
-
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
97423
|
-
*
|
|
97424
|
-
* @param propertyNamesAndPaths `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
|
|
97425
|
-
*/
|
|
97426
|
-
load(propertyNamesAndPaths?: {
|
|
97427
|
-
select?: string;
|
|
97428
|
-
expand?: string;
|
|
97429
|
-
}): PowerPoint.SlideMaster;
|
|
97430
|
-
/**
|
|
97431
|
-
* Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
|
|
97432
|
-
* Whereas the original PowerPoint.SlideMaster object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.SlideMasterData`) that contains shallow copies of any loaded child properties from the original object.
|
|
97433
|
-
*/
|
|
97434
|
-
toJSON(): PowerPoint.Interfaces.SlideMasterData;
|
|
97435
|
-
}
|
|
97436
|
-
/**
|
|
97437
|
-
* Represents a single slide of a presentation.
|
|
97438
|
-
*
|
|
97439
|
-
* @remarks
|
|
97440
|
-
* [Api set: PowerPointApi 1.2]
|
|
97441
|
-
*/
|
|
97442
|
-
class Slide extends OfficeExtension.ClientObject {
|
|
97443
|
-
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
97444
|
-
context: RequestContext;
|
|
97445
|
-
/**
|
|
97446
|
-
* Gets the layout of the slide.
|
|
97447
|
-
*
|
|
97448
|
-
* @remarks
|
|
97449
|
-
* [Api set: PowerPointApi 1.3]
|
|
97450
|
-
*/
|
|
97451
|
-
readonly layout: PowerPoint.SlideLayout;
|
|
97452
|
-
/**
|
|
97453
|
-
* Returns a collection of shapes in the slide.
|
|
97454
|
-
*
|
|
97455
|
-
* @remarks
|
|
97456
|
-
* [Api set: PowerPointApi 1.3]
|
|
97457
|
-
*/
|
|
97458
|
-
readonly shapes: PowerPoint.ShapeCollection;
|
|
97459
|
-
/**
|
|
97460
|
-
* Gets the `SlideMaster` object that represents the slide's default content.
|
|
97461
|
-
*
|
|
97462
|
-
* @remarks
|
|
97463
|
-
* [Api set: PowerPointApi 1.3]
|
|
97464
|
-
*/
|
|
97465
|
-
readonly slideMaster: PowerPoint.SlideMaster;
|
|
97466
|
-
/**
|
|
97467
|
-
* Returns a collection of tags in the slide.
|
|
97504
|
+
* Deletes the shape from the shape collection. Does nothing if the shape does not exist.
|
|
97468
97505
|
*
|
|
97469
97506
|
* @remarks
|
|
97470
97507
|
* [Api set: PowerPointApi 1.3]
|
|
97471
97508
|
*/
|
|
97472
|
-
readonly tags: PowerPoint.TagCollection;
|
|
97473
|
-
/**
|
|
97474
|
-
* Gets the unique ID of the slide.
|
|
97475
|
-
*
|
|
97476
|
-
* @remarks
|
|
97477
|
-
* [Api set: PowerPointApi 1.2]
|
|
97478
|
-
*/
|
|
97479
|
-
readonly id: string;
|
|
97480
|
-
/**
|
|
97481
|
-
* Deletes the slide from the presentation. Does nothing if the slide does not exist.
|
|
97482
|
-
*
|
|
97483
|
-
* @remarks
|
|
97484
|
-
* [Api set: PowerPointApi 1.2]
|
|
97485
|
-
*/
|
|
97486
97509
|
delete(): void;
|
|
97487
97510
|
/**
|
|
97488
97511
|
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
97489
97512
|
*
|
|
97490
97513
|
* @param options Provides options for which properties of the object to load.
|
|
97491
97514
|
*/
|
|
97492
|
-
load(options?: PowerPoint.Interfaces.
|
|
97515
|
+
load(options?: PowerPoint.Interfaces.ShapeLoadOptions): PowerPoint.Shape;
|
|
97493
97516
|
/**
|
|
97494
97517
|
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
97495
97518
|
*
|
|
97496
97519
|
* @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
|
|
97497
97520
|
*/
|
|
97498
|
-
load(propertyNames?: string | string[]): PowerPoint.
|
|
97521
|
+
load(propertyNames?: string | string[]): PowerPoint.Shape;
|
|
97499
97522
|
/**
|
|
97500
97523
|
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
97501
97524
|
*
|
|
@@ -97504,12 +97527,12 @@ declare namespace PowerPoint {
|
|
|
97504
97527
|
load(propertyNamesAndPaths?: {
|
|
97505
97528
|
select?: string;
|
|
97506
97529
|
expand?: string;
|
|
97507
|
-
}): PowerPoint.
|
|
97530
|
+
}): PowerPoint.Shape;
|
|
97508
97531
|
/**
|
|
97509
97532
|
* Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
|
|
97510
|
-
* Whereas the original PowerPoint.
|
|
97533
|
+
* Whereas the original PowerPoint.Shape object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.ShapeData`) that contains shallow copies of any loaded child properties from the original object.
|
|
97511
97534
|
*/
|
|
97512
|
-
toJSON(): PowerPoint.Interfaces.
|
|
97535
|
+
toJSON(): PowerPoint.Interfaces.ShapeData;
|
|
97513
97536
|
}
|
|
97514
97537
|
/**
|
|
97515
97538
|
* Represents the collection of slides in the presentation.
|
|
@@ -97687,6 +97710,14 @@ declare namespace PowerPoint {
|
|
|
97687
97710
|
*/
|
|
97688
97711
|
$skip?: number;
|
|
97689
97712
|
}
|
|
97713
|
+
/** An interface for updating data on the ShapeCollection object, for use in `shapeCollection.set({ ... })`. */
|
|
97714
|
+
interface ShapeCollectionUpdateData {
|
|
97715
|
+
items?: PowerPoint.Interfaces.ShapeData[];
|
|
97716
|
+
}
|
|
97717
|
+
/** An interface for updating data on the SlideLayoutCollection object, for use in `slideLayoutCollection.set({ ... })`. */
|
|
97718
|
+
interface SlideLayoutCollectionUpdateData {
|
|
97719
|
+
items?: PowerPoint.Interfaces.SlideLayoutData[];
|
|
97720
|
+
}
|
|
97690
97721
|
/** An interface for updating data on the Tag object, for use in `tag.set({ ... })`. */
|
|
97691
97722
|
interface TagUpdateData {
|
|
97692
97723
|
/**
|
|
@@ -97701,14 +97732,6 @@ declare namespace PowerPoint {
|
|
|
97701
97732
|
interface TagCollectionUpdateData {
|
|
97702
97733
|
items?: PowerPoint.Interfaces.TagData[];
|
|
97703
97734
|
}
|
|
97704
|
-
/** An interface for updating data on the ShapeCollection object, for use in `shapeCollection.set({ ... })`. */
|
|
97705
|
-
interface ShapeCollectionUpdateData {
|
|
97706
|
-
items?: PowerPoint.Interfaces.ShapeData[];
|
|
97707
|
-
}
|
|
97708
|
-
/** An interface for updating data on the SlideLayoutCollection object, for use in `slideLayoutCollection.set({ ... })`. */
|
|
97709
|
-
interface SlideLayoutCollectionUpdateData {
|
|
97710
|
-
items?: PowerPoint.Interfaces.SlideLayoutData[];
|
|
97711
|
-
}
|
|
97712
97735
|
/** An interface for updating data on the SlideCollection object, for use in `slideCollection.set({ ... })`. */
|
|
97713
97736
|
interface SlideCollectionUpdateData {
|
|
97714
97737
|
items?: PowerPoint.Interfaces.SlideData[];
|
|
@@ -97721,37 +97744,6 @@ declare namespace PowerPoint {
|
|
|
97721
97744
|
interface PresentationData {
|
|
97722
97745
|
title?: string;
|
|
97723
97746
|
}
|
|
97724
|
-
/** An interface describing the data returned by calling `tag.toJSON()`. */
|
|
97725
|
-
interface TagData {
|
|
97726
|
-
/**
|
|
97727
|
-
* Gets the unique ID of the tag. The `key` is unique within the owning `TagCollection` and always stored as uppercase letters within the document.
|
|
97728
|
-
*
|
|
97729
|
-
* @remarks
|
|
97730
|
-
* [Api set: PowerPointApi 1.3]
|
|
97731
|
-
*/
|
|
97732
|
-
key?: string;
|
|
97733
|
-
/**
|
|
97734
|
-
* Gets the value of the tag.
|
|
97735
|
-
*
|
|
97736
|
-
* @remarks
|
|
97737
|
-
* [Api set: PowerPointApi 1.3]
|
|
97738
|
-
*/
|
|
97739
|
-
value?: string;
|
|
97740
|
-
}
|
|
97741
|
-
/** An interface describing the data returned by calling `tagCollection.toJSON()`. */
|
|
97742
|
-
interface TagCollectionData {
|
|
97743
|
-
items?: PowerPoint.Interfaces.TagData[];
|
|
97744
|
-
}
|
|
97745
|
-
/** An interface describing the data returned by calling `shape.toJSON()`. */
|
|
97746
|
-
interface ShapeData {
|
|
97747
|
-
/**
|
|
97748
|
-
* Gets the unique ID of the shape.
|
|
97749
|
-
*
|
|
97750
|
-
* @remarks
|
|
97751
|
-
* [Api set: PowerPointApi 1.3]
|
|
97752
|
-
*/
|
|
97753
|
-
id?: string;
|
|
97754
|
-
}
|
|
97755
97747
|
/** An interface describing the data returned by calling `shapeCollection.toJSON()`. */
|
|
97756
97748
|
interface ShapeCollectionData {
|
|
97757
97749
|
items?: PowerPoint.Interfaces.ShapeData[];
|
|
@@ -97794,6 +97786,27 @@ declare namespace PowerPoint {
|
|
|
97794
97786
|
*/
|
|
97795
97787
|
name?: string;
|
|
97796
97788
|
}
|
|
97789
|
+
/** An interface describing the data returned by calling `tag.toJSON()`. */
|
|
97790
|
+
interface TagData {
|
|
97791
|
+
/**
|
|
97792
|
+
* Gets the unique ID of the tag. The `key` is unique within the owning `TagCollection` and always stored as uppercase letters within the document.
|
|
97793
|
+
*
|
|
97794
|
+
* @remarks
|
|
97795
|
+
* [Api set: PowerPointApi 1.3]
|
|
97796
|
+
*/
|
|
97797
|
+
key?: string;
|
|
97798
|
+
/**
|
|
97799
|
+
* Gets the value of the tag.
|
|
97800
|
+
*
|
|
97801
|
+
* @remarks
|
|
97802
|
+
* [Api set: PowerPointApi 1.3]
|
|
97803
|
+
*/
|
|
97804
|
+
value?: string;
|
|
97805
|
+
}
|
|
97806
|
+
/** An interface describing the data returned by calling `tagCollection.toJSON()`. */
|
|
97807
|
+
interface TagCollectionData {
|
|
97808
|
+
items?: PowerPoint.Interfaces.TagData[];
|
|
97809
|
+
}
|
|
97797
97810
|
/** An interface describing the data returned by calling `slide.toJSON()`. */
|
|
97798
97811
|
interface SlideData {
|
|
97799
97812
|
/**
|
|
@@ -97804,6 +97817,16 @@ declare namespace PowerPoint {
|
|
|
97804
97817
|
*/
|
|
97805
97818
|
id?: string;
|
|
97806
97819
|
}
|
|
97820
|
+
/** An interface describing the data returned by calling `shape.toJSON()`. */
|
|
97821
|
+
interface ShapeData {
|
|
97822
|
+
/**
|
|
97823
|
+
* Gets the unique ID of the shape.
|
|
97824
|
+
*
|
|
97825
|
+
* @remarks
|
|
97826
|
+
* [Api set: PowerPointApi 1.3]
|
|
97827
|
+
*/
|
|
97828
|
+
id?: string;
|
|
97829
|
+
}
|
|
97807
97830
|
/** An interface describing the data returned by calling `slideCollection.toJSON()`. */
|
|
97808
97831
|
interface SlideCollectionData {
|
|
97809
97832
|
items?: PowerPoint.Interfaces.SlideData[];
|
|
@@ -97824,115 +97847,96 @@ declare namespace PowerPoint {
|
|
|
97824
97847
|
title?: boolean;
|
|
97825
97848
|
}
|
|
97826
97849
|
/**
|
|
97827
|
-
* Represents
|
|
97850
|
+
* Represents the collection of shapes.
|
|
97828
97851
|
*
|
|
97829
97852
|
* @remarks
|
|
97830
97853
|
* [Api set: PowerPointApi 1.3]
|
|
97831
97854
|
*/
|
|
97832
|
-
interface
|
|
97855
|
+
interface ShapeCollectionLoadOptions {
|
|
97833
97856
|
/**
|
|
97834
97857
|
Specifying `$all` for the LoadOptions loads all the scalar properties (e.g.: `Range.address`) but not the navigational properties (e.g.: `Range.format.fill.color`).
|
|
97835
97858
|
*/
|
|
97836
97859
|
$all?: boolean;
|
|
97837
97860
|
/**
|
|
97838
|
-
*
|
|
97839
|
-
*
|
|
97840
|
-
* @remarks
|
|
97841
|
-
* [Api set: PowerPointApi 1.3]
|
|
97842
|
-
*/
|
|
97843
|
-
key?: boolean;
|
|
97844
|
-
/**
|
|
97845
|
-
* Gets the value of the tag.
|
|
97861
|
+
* For EACH ITEM in the collection: Gets the unique ID of the shape.
|
|
97846
97862
|
*
|
|
97847
97863
|
* @remarks
|
|
97848
97864
|
* [Api set: PowerPointApi 1.3]
|
|
97849
97865
|
*/
|
|
97850
|
-
|
|
97866
|
+
id?: boolean;
|
|
97851
97867
|
}
|
|
97852
97868
|
/**
|
|
97853
|
-
* Represents the
|
|
97869
|
+
* Represents the layout of a slide.
|
|
97854
97870
|
*
|
|
97855
97871
|
* @remarks
|
|
97856
97872
|
* [Api set: PowerPointApi 1.3]
|
|
97857
97873
|
*/
|
|
97858
|
-
interface
|
|
97874
|
+
interface SlideLayoutLoadOptions {
|
|
97859
97875
|
/**
|
|
97860
97876
|
Specifying `$all` for the LoadOptions loads all the scalar properties (e.g.: `Range.address`) but not the navigational properties (e.g.: `Range.format.fill.color`).
|
|
97861
97877
|
*/
|
|
97862
97878
|
$all?: boolean;
|
|
97863
97879
|
/**
|
|
97864
|
-
*
|
|
97880
|
+
* Gets the unique ID of the slide layout.
|
|
97865
97881
|
*
|
|
97866
97882
|
* @remarks
|
|
97867
97883
|
* [Api set: PowerPointApi 1.3]
|
|
97868
97884
|
*/
|
|
97869
|
-
|
|
97885
|
+
id?: boolean;
|
|
97870
97886
|
/**
|
|
97871
|
-
*
|
|
97887
|
+
* Gets the name of the slide layout.
|
|
97872
97888
|
*
|
|
97873
97889
|
* @remarks
|
|
97874
97890
|
* [Api set: PowerPointApi 1.3]
|
|
97875
97891
|
*/
|
|
97876
|
-
|
|
97892
|
+
name?: boolean;
|
|
97877
97893
|
}
|
|
97878
97894
|
/**
|
|
97879
|
-
* Represents
|
|
97895
|
+
* Represents the collection of layouts provided by the Slide Master for slides.
|
|
97880
97896
|
*
|
|
97881
97897
|
* @remarks
|
|
97882
97898
|
* [Api set: PowerPointApi 1.3]
|
|
97883
97899
|
*/
|
|
97884
|
-
interface
|
|
97900
|
+
interface SlideLayoutCollectionLoadOptions {
|
|
97885
97901
|
/**
|
|
97886
97902
|
Specifying `$all` for the LoadOptions loads all the scalar properties (e.g.: `Range.address`) but not the navigational properties (e.g.: `Range.format.fill.color`).
|
|
97887
97903
|
*/
|
|
97888
97904
|
$all?: boolean;
|
|
97889
97905
|
/**
|
|
97890
|
-
* Gets the unique ID of the
|
|
97906
|
+
* For EACH ITEM in the collection: Gets the unique ID of the slide layout.
|
|
97891
97907
|
*
|
|
97892
97908
|
* @remarks
|
|
97893
97909
|
* [Api set: PowerPointApi 1.3]
|
|
97894
97910
|
*/
|
|
97895
97911
|
id?: boolean;
|
|
97896
|
-
}
|
|
97897
|
-
/**
|
|
97898
|
-
* Represents the collection of shapes.
|
|
97899
|
-
*
|
|
97900
|
-
* @remarks
|
|
97901
|
-
* [Api set: PowerPointApi 1.3]
|
|
97902
|
-
*/
|
|
97903
|
-
interface ShapeCollectionLoadOptions {
|
|
97904
|
-
/**
|
|
97905
|
-
Specifying `$all` for the LoadOptions loads all the scalar properties (e.g.: `Range.address`) but not the navigational properties (e.g.: `Range.format.fill.color`).
|
|
97906
|
-
*/
|
|
97907
|
-
$all?: boolean;
|
|
97908
97912
|
/**
|
|
97909
|
-
* For EACH ITEM in the collection: Gets the
|
|
97913
|
+
* For EACH ITEM in the collection: Gets the name of the slide layout.
|
|
97910
97914
|
*
|
|
97911
97915
|
* @remarks
|
|
97912
97916
|
* [Api set: PowerPointApi 1.3]
|
|
97913
97917
|
*/
|
|
97914
|
-
|
|
97918
|
+
name?: boolean;
|
|
97915
97919
|
}
|
|
97916
97920
|
/**
|
|
97917
|
-
* Represents the
|
|
97921
|
+
* Represents the Slide Master of a slide.
|
|
97918
97922
|
*
|
|
97919
97923
|
* @remarks
|
|
97920
97924
|
* [Api set: PowerPointApi 1.3]
|
|
97921
97925
|
*/
|
|
97922
|
-
interface
|
|
97926
|
+
interface SlideMasterLoadOptions {
|
|
97923
97927
|
/**
|
|
97924
97928
|
Specifying `$all` for the LoadOptions loads all the scalar properties (e.g.: `Range.address`) but not the navigational properties (e.g.: `Range.format.fill.color`).
|
|
97925
97929
|
*/
|
|
97926
97930
|
$all?: boolean;
|
|
97927
97931
|
/**
|
|
97928
|
-
* Gets the unique ID of the
|
|
97932
|
+
* Gets the unique ID of the Slide Master.
|
|
97929
97933
|
*
|
|
97930
97934
|
* @remarks
|
|
97931
97935
|
* [Api set: PowerPointApi 1.3]
|
|
97932
97936
|
*/
|
|
97933
97937
|
id?: boolean;
|
|
97934
97938
|
/**
|
|
97935
|
-
* Gets the name of the
|
|
97939
|
+
* Gets the unique name of the Slide Master.
|
|
97936
97940
|
*
|
|
97937
97941
|
* @remarks
|
|
97938
97942
|
* [Api set: PowerPointApi 1.3]
|
|
@@ -97940,56 +97944,56 @@ declare namespace PowerPoint {
|
|
|
97940
97944
|
name?: boolean;
|
|
97941
97945
|
}
|
|
97942
97946
|
/**
|
|
97943
|
-
* Represents
|
|
97947
|
+
* Represents a single tag in the slide.
|
|
97944
97948
|
*
|
|
97945
97949
|
* @remarks
|
|
97946
97950
|
* [Api set: PowerPointApi 1.3]
|
|
97947
97951
|
*/
|
|
97948
|
-
interface
|
|
97952
|
+
interface TagLoadOptions {
|
|
97949
97953
|
/**
|
|
97950
97954
|
Specifying `$all` for the LoadOptions loads all the scalar properties (e.g.: `Range.address`) but not the navigational properties (e.g.: `Range.format.fill.color`).
|
|
97951
97955
|
*/
|
|
97952
97956
|
$all?: boolean;
|
|
97953
97957
|
/**
|
|
97954
|
-
*
|
|
97958
|
+
* Gets the unique ID of the tag. The `key` is unique within the owning `TagCollection` and always stored as uppercase letters within the document.
|
|
97955
97959
|
*
|
|
97956
97960
|
* @remarks
|
|
97957
97961
|
* [Api set: PowerPointApi 1.3]
|
|
97958
97962
|
*/
|
|
97959
|
-
|
|
97963
|
+
key?: boolean;
|
|
97960
97964
|
/**
|
|
97961
|
-
*
|
|
97965
|
+
* Gets the value of the tag.
|
|
97962
97966
|
*
|
|
97963
97967
|
* @remarks
|
|
97964
97968
|
* [Api set: PowerPointApi 1.3]
|
|
97965
97969
|
*/
|
|
97966
|
-
|
|
97970
|
+
value?: boolean;
|
|
97967
97971
|
}
|
|
97968
97972
|
/**
|
|
97969
|
-
* Represents the
|
|
97973
|
+
* Represents the collection of tags.
|
|
97970
97974
|
*
|
|
97971
97975
|
* @remarks
|
|
97972
97976
|
* [Api set: PowerPointApi 1.3]
|
|
97973
97977
|
*/
|
|
97974
|
-
interface
|
|
97978
|
+
interface TagCollectionLoadOptions {
|
|
97975
97979
|
/**
|
|
97976
97980
|
Specifying `$all` for the LoadOptions loads all the scalar properties (e.g.: `Range.address`) but not the navigational properties (e.g.: `Range.format.fill.color`).
|
|
97977
97981
|
*/
|
|
97978
97982
|
$all?: boolean;
|
|
97979
97983
|
/**
|
|
97980
|
-
* Gets the unique ID of the
|
|
97984
|
+
* For EACH ITEM in the collection: Gets the unique ID of the tag. The `key` is unique within the owning `TagCollection` and always stored as uppercase letters within the document.
|
|
97981
97985
|
*
|
|
97982
97986
|
* @remarks
|
|
97983
97987
|
* [Api set: PowerPointApi 1.3]
|
|
97984
97988
|
*/
|
|
97985
|
-
|
|
97989
|
+
key?: boolean;
|
|
97986
97990
|
/**
|
|
97987
|
-
* Gets the
|
|
97991
|
+
* For EACH ITEM in the collection: Gets the value of the tag.
|
|
97988
97992
|
*
|
|
97989
97993
|
* @remarks
|
|
97990
97994
|
* [Api set: PowerPointApi 1.3]
|
|
97991
97995
|
*/
|
|
97992
|
-
|
|
97996
|
+
value?: boolean;
|
|
97993
97997
|
}
|
|
97994
97998
|
/**
|
|
97995
97999
|
* Represents a single slide of a presentation.
|
|
@@ -98024,6 +98028,25 @@ declare namespace PowerPoint {
|
|
|
98024
98028
|
*/
|
|
98025
98029
|
id?: boolean;
|
|
98026
98030
|
}
|
|
98031
|
+
/**
|
|
98032
|
+
* Represents a single shape in the slide.
|
|
98033
|
+
*
|
|
98034
|
+
* @remarks
|
|
98035
|
+
* [Api set: PowerPointApi 1.3]
|
|
98036
|
+
*/
|
|
98037
|
+
interface ShapeLoadOptions {
|
|
98038
|
+
/**
|
|
98039
|
+
Specifying `$all` for the LoadOptions loads all the scalar properties (e.g.: `Range.address`) but not the navigational properties (e.g.: `Range.format.fill.color`).
|
|
98040
|
+
*/
|
|
98041
|
+
$all?: boolean;
|
|
98042
|
+
/**
|
|
98043
|
+
* Gets the unique ID of the shape.
|
|
98044
|
+
*
|
|
98045
|
+
* @remarks
|
|
98046
|
+
* [Api set: PowerPointApi 1.3]
|
|
98047
|
+
*/
|
|
98048
|
+
id?: boolean;
|
|
98049
|
+
}
|
|
98027
98050
|
/**
|
|
98028
98051
|
* Represents the collection of slides in the presentation.
|
|
98029
98052
|
*
|
office-js/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.250",
|
|
4
4
|
"description": "TypeScript definitions for Office.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,6 +45,6 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "b8ed1d8ae88c2fca3caea2d19680f7c80ced9f20fbfb91e148d0e43c88c201be",
|
|
49
49
|
"typeScriptVersion": "3.9"
|
|
50
50
|
}
|