@types/office-js 1.0.557 → 1.0.559
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 +10 -10
- 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, 18 Nov 2025 22:02:08 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js/index.d.ts
CHANGED
|
@@ -5841,10 +5841,10 @@ declare namespace Office {
|
|
|
5841
5841
|
*
|
|
5842
5842
|
* *Supported FileTypes, by platform*
|
|
5843
5843
|
* <table>
|
|
5844
|
-
* <tr><th> </th><th> Office on the web
|
|
5845
|
-
* <tr><td><strong> Excel </strong></td><td><code>
|
|
5846
|
-
* <tr><td><strong> PowerPoint </strong></td><td><code>Compressed</code>
|
|
5847
|
-
* <tr><td><strong> Word </strong></td><td
|
|
5844
|
+
* <tr><th> </th><th> Office on the web </th><th> Office on Windows </th><th> Office on Mac </th><th> Office on iPad </th></tr>
|
|
5845
|
+
* <tr><td><strong> Excel </strong></td><td><code>Pdf</code> </td><td><code>Compressed</code>, <code>Pdf</code>, <code>Text</code></td><td><code>Compressed</code>, <code>Pdf</code>, <code>Text</code></td><td> Not supported </td></tr>
|
|
5846
|
+
* <tr><td><strong> PowerPoint </strong></td><td><code>Compressed</code> </td><td><code>Compressed</code>, <code>Pdf</code> </td><td><code>Compressed</code>, <code>Pdf</code> </td><td><code>Compressed</code>, <code>Pdf</code></td></tr>
|
|
5847
|
+
* <tr><td><strong> Word </strong></td><td> Not supported </td><td><code>Compressed</code>, <code>Pdf</code>, <code>Text</code></td><td><code>Compressed</code>, <code>Pdf</code>, <code>Text</code></td><td><code>Compressed</code>, <code>Pdf</code></td></tr>
|
|
5848
5848
|
* </table>
|
|
5849
5849
|
*
|
|
5850
5850
|
* @param fileType The format in which the file will be returned
|
|
@@ -5876,10 +5876,10 @@ declare namespace Office {
|
|
|
5876
5876
|
*
|
|
5877
5877
|
* *Supported FileTypes, by platform*
|
|
5878
5878
|
* <table>
|
|
5879
|
-
* <tr><th> </th><th> Office on the web
|
|
5880
|
-
* <tr><td><strong> Excel </strong></td><td><code>
|
|
5881
|
-
* <tr><td><strong> PowerPoint </strong></td><td><code>Compressed</code>
|
|
5882
|
-
* <tr><td><strong> Word </strong></td><td
|
|
5879
|
+
* <tr><th> </th><th> Office on the web </th><th> Office on Windows </th><th> Office on Mac </th><th> Office on iPad </th></tr>
|
|
5880
|
+
* <tr><td><strong> Excel </strong></td><td><code>Pdf</code> </td><td><code>Compressed</code>, <code>Pdf</code>, <code>Text</code></td><td><code>Compressed</code>, <code>Pdf</code>, <code>Text</code></td><td> Not supported </td></tr>
|
|
5881
|
+
* <tr><td><strong> PowerPoint </strong></td><td><code>Compressed</code> </td><td><code>Compressed</code>, <code>Pdf</code> </td><td><code>Compressed</code>, <code>Pdf</code> </td><td><code>Compressed</code>, <code>Pdf</code></td></tr>
|
|
5882
|
+
* <tr><td><strong> Word </strong></td><td> Not supported </td><td><code>Compressed</code>, <code>Pdf</code>, <code>Text</code></td><td><code>Compressed</code>, <code>Pdf</code>, <code>Text</code></td><td><code>Compressed</code>, <code>Pdf</code></td></tr>
|
|
5883
5883
|
* </table>
|
|
5884
5884
|
*
|
|
5885
5885
|
* @param fileType The format in which the file will be returned
|
|
@@ -8604,12 +8604,12 @@ declare namespace Office {
|
|
|
8604
8604
|
*
|
|
8605
8605
|
* - **Web (Word)**: 330 px
|
|
8606
8606
|
*
|
|
8607
|
-
* - **Windows**: 51 px
|
|
8607
|
+
* - **Windows, Mac**: 51 px
|
|
8608
8608
|
*
|
|
8609
8609
|
* If you pass a width beyond the minimum and maximum constraints, the task pane isn't resized and no error is shown.
|
|
8610
8610
|
*
|
|
8611
8611
|
* @param width The width of a task pane in pixels. The minimum and maximum constraints vary by platform. In Excel on the web, the width must be between
|
|
8612
|
-
* 350 and 500 px (inclusive). In Word on the web, the width must be between 330 and 500 px (inclusive). In Office on Windows, the width
|
|
8612
|
+
* 350 and 500 px (inclusive). In Word on the web, the width must be between 330 and 500 px (inclusive). In Office on Windows and on Mac, the width
|
|
8613
8613
|
* must be between 51 px and 50% of the client window.
|
|
8614
8614
|
*/
|
|
8615
8615
|
setWidth(width: number): void;
|
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.559",
|
|
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",
|
|
@@ -46,6 +46,6 @@
|
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
48
|
"peerDependencies": {},
|
|
49
|
-
"typesPublisherContentHash": "
|
|
49
|
+
"typesPublisherContentHash": "b4844532a83dc369a8fdf9c6e95a763c658af3adfcf229469adb04e11323eed8",
|
|
50
50
|
"typeScriptVersion": "5.2"
|
|
51
51
|
}
|