@types/office-js-preview 1.0.285 → 1.0.288

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.
@@ -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-preview.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 08 Feb 2022 23:01:24 GMT
11
+ * Last updated: Tue, 08 Mar 2022 20:31:43 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
14
14
 
@@ -2189,7 +2189,7 @@ declare namespace Office {
2189
2189
  */
2190
2190
  enum EventType {
2191
2191
  /**
2192
- * A Document.ActiveViewChanged event was raised.
2192
+ * A Document.ActiveViewChanged event was raised in PowerPoint.
2193
2193
  *
2194
2194
  * @remarks
2195
2195
  *
@@ -2365,9 +2365,13 @@ declare namespace Office {
2365
2365
  */
2366
2366
  Text,
2367
2367
  /**
2368
- * Returns the entire document (.pptx, .docx, or .xlsx) in Office Open XML (OOXML) format as a byte array.
2368
+ * Returns the entire document (.pptx, .docx, .xlsx, or .xlsm) in Office Open XML (OOXML) format as a byte array.
2369
+ *
2370
+ * Note: The .xslm file type is supported in Excel on Windows and Mac. It's not supported in Excel on the web.
2371
+ * 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.
2372
+ * 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.
2369
2373
  */
2370
- Compressed,
2374
+ Compressed,
2371
2375
  /**
2372
2376
  * Returns the entire document in PDF format as a byte array.
2373
2377
  */
@@ -3925,8 +3929,8 @@ declare namespace Office {
3925
3929
  * @param options Provides an option for preserving context data of any type, unchanged, for use in a callback.
3926
3930
  * @param callback Optional. A function that is invoked when the callback returns, whose only parameter is of type {@link Office.AsyncResult}.
3927
3931
  * The `value` property of the result is the state of the presentation's current view.
3928
- * The value returned can be either "edit" or "read". "edit" corresponds to any of the views in which you can edit slides,
3929
- * such as Normal or Outline View. "read" corresponds to either Slide Show or Reading View.
3932
+ * The value returned can be either "edit" or "read". "edit" corresponds to any of the views in which you can edit slides:
3933
+ * Normal, Slide Sorter, or Outline View. "read" corresponds to either Slide Show or Reading View.
3930
3934
  */
3931
3935
  getActiveViewAsync(options?: Office.AsyncContextOptions, callback?: (result: AsyncResult<"edit" | "read">) => void): void;
3932
3936
  /**
@@ -3940,8 +3944,8 @@ declare namespace Office {
3940
3944
  *
3941
3945
  * @param callback Optional. A function that is invoked when the callback returns, whose only parameter is of type {@link Office.AsyncResult}.
3942
3946
  * The `value` property of the result is the state of the presentation's current view.
3943
- * The value returned can be either "edit" or "read". "edit" corresponds to any of the views in which you can edit slides,
3944
- * such as Normal or Outline View. "read" corresponds to either Slide Show or Reading View.
3947
+ * The value returned can be either "edit" or "read". "edit" corresponds to any of the views in which you can edit slides:
3948
+ * Normal, Slide Sorter, or Outline View. "read" corresponds to either Slide Show or Reading View.
3945
3949
  */
3946
3950
  getActiveViewAsync(callback?: (result: AsyncResult<"edit" | "read">) => void): void;
3947
3951
  /**
@@ -4117,7 +4121,7 @@ declare namespace Office {
4117
4121
  * <td>`Office.CoercionType.SlideRange`</td>
4118
4122
  * </tr>
4119
4123
  * <tr>
4120
- * <td>Excel, PowerPoint, and Word</td>
4124
+ * <td>Excel on Windows and Mac, PowerPoint on Windows, Mac, and the web, and Word on Windows and Mac</td>
4121
4125
  * <td>`Office.CoercionType.XmlSvg`</td>
4122
4126
  * </tr>
4123
4127
  * </table>
@@ -4209,7 +4213,7 @@ declare namespace Office {
4209
4213
  * <td>`Office.CoercionType.SlideRange`</td>
4210
4214
  * </tr>
4211
4215
  * <tr>
4212
- * <td>Excel, PowerPoint, and Word</td>
4216
+ * <td>Excel on Windows and Mac, PowerPoint on Windows, Mac, and the web, and Word on Windows and Mac</td>
4213
4217
  * <td>`Office.CoercionType.XmlSvg`</td>
4214
4218
  * </tr>
4215
4219
  * </table>
@@ -4449,7 +4453,7 @@ declare namespace Office {
4449
4453
  * <td>`Office.CoercionType.SlideRange`</td>
4450
4454
  * </tr>
4451
4455
  * <tr>
4452
- * <td>Excel, PowerPoint, and Word</td>
4456
+ * <td>Excel on Windows and Mac, PowerPoint on Windows, Mac, and the web, and Word on Windows and Mac</td>
4453
4457
  * <td>`Office.CoercionType.XmlSvg`</td>
4454
4458
  * </tr>
4455
4459
  * </table>
@@ -4638,7 +4642,7 @@ declare namespace Office {
4638
4642
  * <td>`Office.CoercionType.SlideRange`</td>
4639
4643
  * </tr>
4640
4644
  * <tr>
4641
- * <td>Excel, PowerPoint, and Word</td>
4645
+ * <td>Excel on Windows and Mac, PowerPoint on Windows, Mac, and the web, and Word on Windows and Mac</td>
4642
4646
  * <td>`Office.CoercionType.XmlSvg`</td>
4643
4647
  * </tr>
4644
4648
  * </table>
@@ -94545,7 +94549,7 @@ declare namespace Word {
94545
94549
  * Gets or sets a value that indicates whether the comment text is bold.
94546
94550
  *
94547
94551
  * @remarks
94548
- * [Api set: WordApi BETA (PREVIEW ONLY)]
94552
+ * [Api set: WordApiOnline BETA (PREVIEW ONLY)]
94549
94553
  * @beta
94550
94554
  */
94551
94555
  bold?: boolean;
@@ -94553,7 +94557,7 @@ declare namespace Word {
94553
94557
  * Gets the first hyperlink in the range, or sets a hyperlink on the range. All hyperlinks in the range are deleted when you set a new hyperlink on the range.
94554
94558
  *
94555
94559
  * @remarks
94556
- * [Api set: WordApi BETA (PREVIEW ONLY)]
94560
+ * [Api set: WordApiOnline BETA (PREVIEW ONLY)]
94557
94561
  * @beta
94558
94562
  */
94559
94563
  hyperlink?: boolean;
@@ -94561,7 +94565,7 @@ declare namespace Word {
94561
94565
  * Checks whether the range length is zero. Read-only.
94562
94566
  *
94563
94567
  * @remarks
94564
- * [Api set: WordApi BETA (PREVIEW ONLY)]
94568
+ * [Api set: WordApiOnline BETA (PREVIEW ONLY)]
94565
94569
  * @beta
94566
94570
  */
94567
94571
  isEmpty?: boolean;
@@ -94569,7 +94573,7 @@ declare namespace Word {
94569
94573
  * Gets or sets a value that indicates whether the comment text is italicized.
94570
94574
  *
94571
94575
  * @remarks
94572
- * [Api set: WordApi BETA (PREVIEW ONLY)]
94576
+ * [Api set: WordApiOnline BETA (PREVIEW ONLY)]
94573
94577
  * @beta
94574
94578
  */
94575
94579
  italic?: boolean;
@@ -94577,7 +94581,7 @@ declare namespace Word {
94577
94581
  * Gets or sets a value that indicates whether the comment text has a strikethrough.
94578
94582
  *
94579
94583
  * @remarks
94580
- * [Api set: WordApi BETA (PREVIEW ONLY)]
94584
+ * [Api set: WordApiOnline BETA (PREVIEW ONLY)]
94581
94585
  * @beta
94582
94586
  */
94583
94587
  strikeThrough?: boolean;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.285",
3
+ "version": "1.0.288",
4
4
  "description": "TypeScript definitions for Office.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
6
6
  "license": "MIT",
@@ -45,6 +45,6 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "32342552e4c60db51979f7c40163de81bcdff6fffd2b5c14efb97475896e68d0",
49
- "typeScriptVersion": "3.8"
48
+ "typesPublisherContentHash": "e0f588f913d78b8e7259c290ab8502cebc45c2428743360250ddfe6e480a4f71",
49
+ "typeScriptVersion": "3.9"
50
50
  }