@types/office-js 1.0.238 → 1.0.241
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 +16 -12
- office-js/package.json +3 -3
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: Fri, 18 Mar 2022 15:31:47 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
|
@@ -912,11 +912,11 @@ declare namespace Office {
|
|
|
912
912
|
*/
|
|
913
913
|
code: number;
|
|
914
914
|
/**
|
|
915
|
-
* Gets
|
|
915
|
+
* Gets a detailed description of the error.
|
|
916
916
|
*/
|
|
917
917
|
message: string;
|
|
918
918
|
/**
|
|
919
|
-
* Gets
|
|
919
|
+
* Gets the name of the error.
|
|
920
920
|
*/
|
|
921
921
|
name: string;
|
|
922
922
|
}
|
|
@@ -2090,7 +2090,7 @@ declare namespace Office {
|
|
|
2090
2090
|
*/
|
|
2091
2091
|
enum EventType {
|
|
2092
2092
|
/**
|
|
2093
|
-
* A Document.ActiveViewChanged event was raised.
|
|
2093
|
+
* A Document.ActiveViewChanged event was raised in PowerPoint.
|
|
2094
2094
|
*
|
|
2095
2095
|
* @remarks
|
|
2096
2096
|
*
|
|
@@ -2255,7 +2255,11 @@ declare namespace Office {
|
|
|
2255
2255
|
*/
|
|
2256
2256
|
Text,
|
|
2257
2257
|
/**
|
|
2258
|
-
* Returns the entire document (.pptx, .docx, or .
|
|
2258
|
+
* Returns the entire document (.pptx, .docx, .xlsx, or .xlsm) in Office Open XML (OOXML) format as a byte array.
|
|
2259
|
+
*
|
|
2260
|
+
* Note: The .xslm file type is supported in Excel on Windows and Mac. It's not supported in Excel on the web.
|
|
2261
|
+
* In Excel on Windows, the file slices from the `getFileAsync` method include the VBA signature files for .xslm file types. The VBA signature files are vbaProjectSignature.bin, vbaProbjectSignatureAgile.bin, and vbaProjectSignatureV3.bin.
|
|
2262
|
+
* In Excel on Mac, the file slices from the `getFileAsync` method don't include the VBA signature files, because this platform doesn't support the VBA signature feature.
|
|
2259
2263
|
*/
|
|
2260
2264
|
Compressed,
|
|
2261
2265
|
/**
|
|
@@ -3815,8 +3819,8 @@ declare namespace Office {
|
|
|
3815
3819
|
* @param options Provides an option for preserving context data of any type, unchanged, for use in a callback.
|
|
3816
3820
|
* @param callback Optional. A function that is invoked when the callback returns, whose only parameter is of type {@link Office.AsyncResult}.
|
|
3817
3821
|
* The `value` property of the result is the state of the presentation's current view.
|
|
3818
|
-
* The value returned can be either "edit" or "read". "edit" corresponds to any of the views in which you can edit slides
|
|
3819
|
-
*
|
|
3822
|
+
* The value returned can be either "edit" or "read". "edit" corresponds to any of the views in which you can edit slides:
|
|
3823
|
+
* Normal, Slide Sorter, or Outline View. "read" corresponds to either Slide Show or Reading View.
|
|
3820
3824
|
*/
|
|
3821
3825
|
getActiveViewAsync(options?: Office.AsyncContextOptions, callback?: (result: AsyncResult<"edit" | "read">) => void): void;
|
|
3822
3826
|
/**
|
|
@@ -3830,8 +3834,8 @@ declare namespace Office {
|
|
|
3830
3834
|
*
|
|
3831
3835
|
* @param callback Optional. A function that is invoked when the callback returns, whose only parameter is of type {@link Office.AsyncResult}.
|
|
3832
3836
|
* The `value` property of the result is the state of the presentation's current view.
|
|
3833
|
-
* The value returned can be either "edit" or "read". "edit" corresponds to any of the views in which you can edit slides
|
|
3834
|
-
*
|
|
3837
|
+
* The value returned can be either "edit" or "read". "edit" corresponds to any of the views in which you can edit slides:
|
|
3838
|
+
* Normal, Slide Sorter, or Outline View. "read" corresponds to either Slide Show or Reading View.
|
|
3835
3839
|
*/
|
|
3836
3840
|
getActiveViewAsync(callback?: (result: AsyncResult<"edit" | "read">) => void): void;
|
|
3837
3841
|
/**
|
|
@@ -4007,7 +4011,7 @@ declare namespace Office {
|
|
|
4007
4011
|
* <td>`Office.CoercionType.SlideRange`</td>
|
|
4008
4012
|
* </tr>
|
|
4009
4013
|
* <tr>
|
|
4010
|
-
* <td>Excel, PowerPoint, and Word</td>
|
|
4014
|
+
* <td>Excel on Windows and Mac, PowerPoint on Windows, Mac, and the web, and Word on Windows and Mac</td>
|
|
4011
4015
|
* <td>`Office.CoercionType.XmlSvg`</td>
|
|
4012
4016
|
* </tr>
|
|
4013
4017
|
* </table>
|
|
@@ -4099,7 +4103,7 @@ declare namespace Office {
|
|
|
4099
4103
|
* <td>`Office.CoercionType.SlideRange`</td>
|
|
4100
4104
|
* </tr>
|
|
4101
4105
|
* <tr>
|
|
4102
|
-
* <td>Excel, PowerPoint, and Word</td>
|
|
4106
|
+
* <td>Excel on Windows and Mac, PowerPoint on Windows, Mac, and the web, and Word on Windows and Mac</td>
|
|
4103
4107
|
* <td>`Office.CoercionType.XmlSvg`</td>
|
|
4104
4108
|
* </tr>
|
|
4105
4109
|
* </table>
|
|
@@ -4339,7 +4343,7 @@ declare namespace Office {
|
|
|
4339
4343
|
* <td>`Office.CoercionType.SlideRange`</td>
|
|
4340
4344
|
* </tr>
|
|
4341
4345
|
* <tr>
|
|
4342
|
-
* <td>Excel, PowerPoint, and Word</td>
|
|
4346
|
+
* <td>Excel on Windows and Mac, PowerPoint on Windows, Mac, and the web, and Word on Windows and Mac</td>
|
|
4343
4347
|
* <td>`Office.CoercionType.XmlSvg`</td>
|
|
4344
4348
|
* </tr>
|
|
4345
4349
|
* </table>
|
|
@@ -4528,7 +4532,7 @@ declare namespace Office {
|
|
|
4528
4532
|
* <td>`Office.CoercionType.SlideRange`</td>
|
|
4529
4533
|
* </tr>
|
|
4530
4534
|
* <tr>
|
|
4531
|
-
* <td>Excel, PowerPoint, and Word</td>
|
|
4535
|
+
* <td>Excel on Windows and Mac, PowerPoint on Windows, Mac, and the web, and Word on Windows and Mac</td>
|
|
4532
4536
|
* <td>`Office.CoercionType.XmlSvg`</td>
|
|
4533
4537
|
* </tr>
|
|
4534
4538
|
* </table>
|
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.241",
|
|
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": "
|
|
49
|
-
"typeScriptVersion": "3.
|
|
48
|
+
"typesPublisherContentHash": "07fd2b39cf6c5b08aa8473555cf929db4fff7fd91df817716591ae837d892409",
|
|
49
|
+
"typeScriptVersion": "3.9"
|
|
50
50
|
}
|