@types/office-js 1.0.345 → 1.0.347

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 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: Tue, 26 Sep 2023 21:05:48 GMT
11
+ * Last updated: Mon, 02 Oct 2023 14:35:13 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
@@ -84017,6 +84017,8 @@ declare namespace Word {
84017
84017
  * @remarks
84018
84018
  * [Api set: WordApi 1.1]
84019
84019
  *
84020
+ * Note: Insertion isn't supported if the document being inserted contains an ActiveX control (likely in a form field). Consider replacing such a form field with a content control or other option appropriate for your scenario.
84021
+ *
84020
84022
  * @param base64File Required. The Base64-encoded content of a .docx file.
84021
84023
  * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
84022
84024
  */
@@ -84944,6 +84946,8 @@ declare namespace Word {
84944
84946
  * @remarks
84945
84947
  * [Api set: WordApi 1.1]
84946
84948
  *
84949
+ * Note: Insertion isn't supported if the document being inserted contains an ActiveX control (likely in a form field). Consider replacing such a form field with a content control or other option appropriate for your scenario.
84950
+ *
84947
84951
  * @param base64File Required. The Base64-encoded content of a .docx file.
84948
84952
  * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
84949
84953
  */
@@ -86073,6 +86077,8 @@ declare namespace Word {
86073
86077
  * @remarks
86074
86078
  * [Api set: WordApi 1.5]
86075
86079
  *
86080
+ * Note: Insertion isn't supported if the document being inserted contains an ActiveX control (likely in a form field). Consider replacing such a form field with a content control or other option appropriate for your scenario.
86081
+ *
86076
86082
  * @param base64File Required. The Base64-encoded content of a .docx file.
86077
86083
  * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
86078
86084
  * @param insertFileOptions Optional. The additional properties that should be imported to the destination document.
@@ -86299,6 +86305,8 @@ declare namespace Word {
86299
86305
  * @remarks
86300
86306
  * [Api set: WordApiHiddenDocument 1.5]
86301
86307
  *
86308
+ * Note: Insertion isn't supported if the document being inserted contains an ActiveX control (likely in a form field). Consider replacing such a form field with a content control or other option appropriate for your scenario.
86309
+ *
86302
86310
  * @param base64File Required. The Base64-encoded content of a .docx file.
86303
86311
  * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
86304
86312
  * @param insertFileOptions Optional. The additional properties that should be imported to the destination document.
@@ -87102,6 +87110,8 @@ declare namespace Word {
87102
87110
  * @remarks
87103
87111
  * [Api set: WordApi 1.2]
87104
87112
  *
87113
+ * Note: Insertion isn't supported if the document being inserted contains an ActiveX control (likely in a form field). Consider replacing such a form field with a content control or other option appropriate for your scenario.
87114
+ *
87105
87115
  * @param base64File Required. The Base64-encoded content of a .docx file.
87106
87116
  * @param insertLocation Required. The value must be 'Before' or 'After'.
87107
87117
  */
@@ -88191,6 +88201,8 @@ declare namespace Word {
88191
88201
  * @remarks
88192
88202
  * [Api set: WordApi 1.1]
88193
88203
  *
88204
+ * Note: Insertion isn't supported if the document being inserted contains an ActiveX control (likely in a form field). Consider replacing such a form field with a content control or other option appropriate for your scenario.
88205
+ *
88194
88206
  * @param base64File Required. The Base64-encoded content of a .docx file.
88195
88207
  * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
88196
88208
  */
@@ -88885,7 +88897,9 @@ declare namespace Word {
88885
88897
  * @remarks
88886
88898
  * [Api set: WordApi 1.4]
88887
88899
  *
88888
- * @param name Required. The bookmark name, which is case-insensitive. If the name starts with an underscore character, the bookmark is an hidden one.
88900
+ * Note: The conditions of inserting a bookmark are similar to doing so in the Word UI. To learn more about managing bookmarks in the Word UI, see {@link https://support.microsoft.com/office/f68d781f-0150-4583-a90e-a4009d99c2a0 | Add or delete bookmarks in a Word document or Outlook message}.
88901
+ *
88902
+ * @param name Required. The case-insensitive bookmark name. Only alphanumeric and underscore characters are supported. It must begin with a letter but if you want to tag the bookmark as hidden, then start the name with an underscore character. Names can't be longer than 40 characters.
88889
88903
  */
88890
88904
  insertBookmark(name: string): void;
88891
88905
  /**
@@ -88958,6 +88972,8 @@ declare namespace Word {
88958
88972
  * @remarks
88959
88973
  * [Api set: WordApi 1.1]
88960
88974
  *
88975
+ * Note: Insertion isn't supported if the document being inserted contains an ActiveX control (likely in a form field). Consider replacing such a form field with a content control or other option appropriate for your scenario.
88976
+ *
88961
88977
  * @param base64File Required. The Base64-encoded content of a .docx file.
88962
88978
  * @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
88963
88979
  */
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.345",
3
+ "version": "1.0.347",
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": "55085473e1c7c69cb0ae52e9987149d09be8b4536c66a4b90bccdb7756052db1",
48
+ "typesPublisherContentHash": "2d46e846d75f0008ccc90d679636463520f7ef01078ba23432c6260187262c53",
49
49
  "typeScriptVersion": "4.5"
50
50
  }