@types/office-js 1.0.313 → 1.0.315
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 +35 -48
- 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: Tue, 31 Jan 2023 21:32:38 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
|
@@ -239,20 +239,17 @@ declare namespace Office {
|
|
|
239
239
|
*
|
|
240
240
|
* **Support details**
|
|
241
241
|
*
|
|
242
|
-
* A capital Y in the following matrix indicates that this object is supported in the corresponding Office application.
|
|
243
|
-
* An empty cell indicates that the Office application doesn't support this object.
|
|
244
|
-
*
|
|
245
242
|
* For more information about Office application and server requirements, see
|
|
246
243
|
* {@link https://learn.microsoft.com/office/dev/add-ins/concepts/requirements-for-running-office-add-ins | Requirements for running Office Add-ins}.
|
|
247
244
|
*
|
|
248
245
|
* *Supported applications, by platform*
|
|
249
246
|
* <table>
|
|
250
247
|
* <tr><th> </th><th> Office on Windows </th><th> Office in web browser </th><th> Office on iPad </th><th> Outlook on mobile devices </th><th> Office on Mac </th></tr>
|
|
251
|
-
* <tr><td><strong> Excel </strong></td><td>
|
|
252
|
-
* <tr><td><strong> Outlook </strong></td><td>
|
|
253
|
-
* <tr><td><strong> PowerPoint </strong></td><td>
|
|
254
|
-
* <tr><td><strong> Project </strong></td><td>
|
|
255
|
-
* <tr><td><strong> Word </strong></td><td>
|
|
248
|
+
* <tr><td><strong> Excel </strong></td><td> Supported </td><td> Supported </td><td> Supported </td><td> </td><td> Supported </td></tr>
|
|
249
|
+
* <tr><td><strong> Outlook </strong></td><td> Supported </td><td> Supported </td><td> </td><td> Supported </td><td> Supported </td></tr>
|
|
250
|
+
* <tr><td><strong> PowerPoint </strong></td><td> Supported </td><td> Supported </td><td> Supported </td><td> </td><td> Supported </td></tr>
|
|
251
|
+
* <tr><td><strong> Project </strong></td><td> Supported </td><td> </td><td> </td><td> </td><td> Supported </td></tr>
|
|
252
|
+
* <tr><td><strong> Word </strong></td><td> Supported </td><td> Supported </td><td> Supported </td><td> </td><td> Supported </td></tr>
|
|
256
253
|
* </table>
|
|
257
254
|
*/
|
|
258
255
|
var context: Context;
|
|
@@ -274,20 +271,17 @@ declare namespace Office {
|
|
|
274
271
|
*
|
|
275
272
|
* **Support details**
|
|
276
273
|
*
|
|
277
|
-
* A capital Y in the following matrix indicates that this function is supported in the corresponding Office application.
|
|
278
|
-
* An empty cell indicates that the Office application doesn't support this function.
|
|
279
|
-
*
|
|
280
274
|
* For more information about Office application and server requirements, see
|
|
281
275
|
* {@link https://learn.microsoft.com/office/dev/add-ins/concepts/requirements-for-running-office-add-ins | Requirements for running Office Add-ins}.
|
|
282
276
|
*
|
|
283
277
|
* *Supported applications, by platform*
|
|
284
278
|
* <table>
|
|
285
279
|
* <tr><th> </th><th> Office on Windows </th><th> Office in web browser </th><th> Office on iPad </th><th> Outlook on mobile devices </th><th> Office on Mac </th></tr>
|
|
286
|
-
* <tr><td><strong> Excel </strong></td><td>
|
|
287
|
-
* <tr><td><strong> Outlook </strong></td><td>
|
|
288
|
-
* <tr><td><strong> PowerPoint </strong></td><td>
|
|
289
|
-
* <tr><td><strong> Project </strong></td><td>
|
|
290
|
-
* <tr><td><strong> Word </strong></td><td>
|
|
280
|
+
* <tr><td><strong> Excel </strong></td><td> Supported </td><td> Supported </td><td> Supported </td><td> </td><td> Supported </td></tr>
|
|
281
|
+
* <tr><td><strong> Outlook </strong></td><td> Supported </td><td> Supported </td><td> </td><td> Supported </td><td> Supported </td></tr>
|
|
282
|
+
* <tr><td><strong> PowerPoint </strong></td><td> Supported </td><td> Supported </td><td> Supported </td><td> </td><td> Supported </td></tr>
|
|
283
|
+
* <tr><td><strong> Project </strong></td><td> Supported </td><td> </td><td> </td><td> </td><td> Supported </td></tr>
|
|
284
|
+
* <tr><td><strong> Word </strong></td><td> Supported </td><td> Supported </td><td> Supported </td><td> </td><td> Supported </td></tr>
|
|
291
285
|
* </table>
|
|
292
286
|
*
|
|
293
287
|
* @param reason Indicates how the app was initialized.
|
|
@@ -311,20 +305,17 @@ declare namespace Office {
|
|
|
311
305
|
*
|
|
312
306
|
* **Support details**
|
|
313
307
|
*
|
|
314
|
-
* A capital Y in the following matrix indicates that this function is supported in the corresponding Office application.
|
|
315
|
-
* An empty cell indicates that the Office application doesn't support this function.
|
|
316
|
-
*
|
|
317
308
|
* For more information about Office application and server requirements, see
|
|
318
309
|
* {@link https://learn.microsoft.com/office/dev/add-ins/concepts/requirements-for-running-office-add-ins | Requirements for running Office Add-ins}.
|
|
319
310
|
*
|
|
320
311
|
* *Supported applications, by platform*
|
|
321
312
|
* <table>
|
|
322
313
|
* <tr><th> </th><th> Office on Windows </th><th> Office in web browser </th><th> Office on iPad </th><th> Outlook on mobile devices </th><th> Office on Mac </th></tr>
|
|
323
|
-
* <tr><td><strong> Excel </strong></td><td>
|
|
324
|
-
* <tr><td><strong> Outlook </strong></td><td>
|
|
325
|
-
* <tr><td><strong> PowerPoint </strong></td><td>
|
|
326
|
-
* <tr><td><strong> Project </strong></td><td>
|
|
327
|
-
* <tr><td><strong> Word </strong></td><td>
|
|
314
|
+
* <tr><td><strong> Excel </strong></td><td> Supported </td><td> Supported </td><td> Supported </td><td> </td><td> </td></tr>
|
|
315
|
+
* <tr><td><strong> Outlook </strong></td><td> Supported </td><td> Supported </td><td> </td><td> Supported </td><td> Supported </td></tr>
|
|
316
|
+
* <tr><td><strong> PowerPoint </strong></td><td> Supported </td><td> Supported </td><td> Supported </td><td> </td><td> </td></tr>
|
|
317
|
+
* <tr><td><strong> Project </strong></td><td> Supported </td><td> </td><td> </td><td> </td><td> </td></tr>
|
|
318
|
+
* <tr><td><strong> Word </strong></td><td> Supported </td><td> Supported </td><td> Supported </td><td> </td><td> </td></tr>
|
|
328
319
|
* </table>
|
|
329
320
|
*
|
|
330
321
|
* @param useShortNamespace True to use the shortcut alias; otherwise false to disable it. The default is true.
|
|
@@ -869,20 +860,17 @@ declare namespace Office {
|
|
|
869
860
|
*
|
|
870
861
|
* **Support details**
|
|
871
862
|
*
|
|
872
|
-
* A capital Y in the following matrix indicates that this property is supported in the corresponding Office application.
|
|
873
|
-
* An empty cell indicates that the Office application doesn't support this property.
|
|
874
|
-
*
|
|
875
863
|
* For more information about Office application and server requirements, see
|
|
876
864
|
* {@link https://learn.microsoft.com/office/dev/add-ins/concepts/requirements-for-running-office-add-ins | Requirements for running Office Add-ins}.
|
|
877
865
|
*
|
|
878
866
|
* *Supported applications, by platform*
|
|
879
867
|
* <table>
|
|
880
868
|
* <tr><th> </th><th> Office on Windows </th><th> Office in web browser </th><th> Office on iPad </th><th> Outlook on mobile devices </th><th> Office on Mac </th></tr>
|
|
881
|
-
* <tr><td><strong> Excel </strong></td><td>
|
|
882
|
-
* <tr><td><strong> Outlook </strong></td><td>
|
|
883
|
-
* <tr><td><strong> PowerPoint </strong></td><td>
|
|
884
|
-
* <tr><td><strong> Project </strong></td><td>
|
|
885
|
-
* <tr><td><strong> Word </strong></td><td>
|
|
869
|
+
* <tr><td><strong> Excel </strong></td><td> Supported </td><td> Supported </td><td> Supported </td><td> </td><td> </td></tr>
|
|
870
|
+
* <tr><td><strong> Outlook </strong></td><td> Supported </td><td> Supported </td><td> </td><td> Supported </td><td> Supported </td></tr>
|
|
871
|
+
* <tr><td><strong> PowerPoint </strong></td><td> Supported </td><td> Supported </td><td> Supported </td><td> </td><td> </td></tr>
|
|
872
|
+
* <tr><td><strong> Project </strong></td><td> Supported </td><td> </td><td> </td><td> </td><td> </td></tr>
|
|
873
|
+
* <tr><td><strong> Word </strong></td><td> Supported </td><td> Supported </td><td> Supported </td><td> </td><td> </td></tr>
|
|
886
874
|
* </table>
|
|
887
875
|
*/
|
|
888
876
|
contentLanguage: string;
|
|
@@ -910,20 +898,17 @@ declare namespace Office {
|
|
|
910
898
|
*
|
|
911
899
|
* **Support details**
|
|
912
900
|
*
|
|
913
|
-
* A capital Y in the following matrix indicates that this property is supported in the corresponding Office application.
|
|
914
|
-
* An empty cell indicates that the Office application doesn't support this property.
|
|
915
|
-
*
|
|
916
901
|
* For more information about Office application and server requirements, see
|
|
917
902
|
* {@link https://learn.microsoft.com/office/dev/add-ins/concepts/requirements-for-running-office-add-ins | Requirements for running Office Add-ins}.
|
|
918
903
|
*
|
|
919
904
|
* *Supported applications, by platform*
|
|
920
905
|
* <table>
|
|
921
906
|
* <tr><th> </th><th> Office on Windows </th><th> Office in web browser </th><th> Office on iPad </th><th> Outlook on mobile devices </th><th> Office on Mac </th></tr>
|
|
922
|
-
* <tr><td><strong> Excel </strong></td><td>
|
|
923
|
-
* <tr><td><strong> Outlook </strong></td><td>
|
|
924
|
-
* <tr><td><strong> PowerPoint </strong></td><td>
|
|
925
|
-
* <tr><td><strong> Project </strong></td><td>
|
|
926
|
-
* <tr><td><strong> Word </strong></td><td>
|
|
907
|
+
* <tr><td><strong> Excel </strong></td><td> Supported </td><td> Supported </td><td> Supported </td><td> </td><td> Supported </td></tr>
|
|
908
|
+
* <tr><td><strong> Outlook </strong></td><td> Supported </td><td> Supported </td><td> </td><td> Supported </td><td> Supported </td></tr>
|
|
909
|
+
* <tr><td><strong> PowerPoint </strong></td><td> Supported </td><td> Supported </td><td> Supported </td><td> </td><td> Supported </td></tr>
|
|
910
|
+
* <tr><td><strong> Project </strong></td><td> Supported </td><td> </td><td> </td><td> </td><td> Supported </td></tr>
|
|
911
|
+
* <tr><td><strong> Word </strong></td><td> Supported </td><td> </td><td> Supported </td><td> </td><td> Supported </td></tr>
|
|
927
912
|
* </table>
|
|
928
913
|
*/
|
|
929
914
|
displayLanguage: string;
|
|
@@ -1986,9 +1971,14 @@ declare namespace Office {
|
|
|
1986
1971
|
*
|
|
1987
1972
|
* @remarks
|
|
1988
1973
|
*
|
|
1989
|
-
*
|
|
1990
|
-
*
|
|
1991
|
-
*
|
|
1974
|
+
* *Supported applications, by platform*
|
|
1975
|
+
* <table>
|
|
1976
|
+
* <tr><th> </th><th> Office on Windows </th><th> Office on the web </th></tr>
|
|
1977
|
+
* <tr><td><strong> Excel </strong></td><td> Supported </td><td> </td></tr>
|
|
1978
|
+
* <tr><td><strong> Outlook </strong></td><td> Preview </td><td> </td></tr>
|
|
1979
|
+
* <tr><td><strong> PowerPoint </strong></td><td> Supported </td><td> </td></tr>
|
|
1980
|
+
* <tr><td><strong> Word </strong></td><td> Supported </td><td> Supported </td></tr>
|
|
1981
|
+
* </table>
|
|
1992
1982
|
*/
|
|
1993
1983
|
interface OfficeTheme {
|
|
1994
1984
|
/**
|
|
@@ -2068,17 +2058,14 @@ declare namespace Office {
|
|
|
2068
2058
|
*
|
|
2069
2059
|
* **Support details**
|
|
2070
2060
|
*
|
|
2071
|
-
* A capital Y in the following matrix indicates that this function is supported in the corresponding Office application.
|
|
2072
|
-
* An empty cell indicates that the Office application doesn't support this function.
|
|
2073
|
-
*
|
|
2074
2061
|
* For more information about Office application and server requirements, see
|
|
2075
2062
|
* {@link https://learn.microsoft.com/office/dev/add-ins/concepts/requirements-for-running-office-add-ins | Requirements for running Office Add-ins}.
|
|
2076
2063
|
*
|
|
2077
2064
|
* *Supported applications, by platform*
|
|
2078
2065
|
* <table>
|
|
2079
2066
|
* <tr><th> </th><th> Office on Windows </th><th> Office in web browser </th><th> Office on iPad </th></tr>
|
|
2080
|
-
* <tr><td><strong> Excel </strong></td><td>
|
|
2081
|
-
* <tr><td><strong> Word </strong></td><td>
|
|
2067
|
+
* <tr><td><strong> Excel </strong></td><td> Supported </td><td> Supported </td><td> Supported </td></tr>
|
|
2068
|
+
* <tr><td><strong> Word </strong></td><td> Supported </td><td> </td><td> Supported </td></tr>
|
|
2082
2069
|
* </table>
|
|
2083
2070
|
*/
|
|
2084
2071
|
function select(expression: string, callback?: (result: AsyncResult<any>) => void): Binding;
|
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.315",
|
|
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": "6591a77cf83f6778dc0b8e1d2a068bfbaeaae5aa0f9d7d0d1f551c4c8ef08eee",
|
|
49
49
|
"typeScriptVersion": "4.2"
|
|
50
50
|
}
|