@types/office-js 1.0.484 → 1.0.485
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 +8 -30
- 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: Fri, 28 Mar 2025 14:36:00 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js/index.d.ts
CHANGED
|
@@ -89358,7 +89358,7 @@ declare namespace Word {
|
|
|
89358
89358
|
* @remarks
|
|
89359
89359
|
* [Api set: WordApi 1.1]
|
|
89360
89360
|
*
|
|
89361
|
-
*
|
|
89361
|
+
* 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.
|
|
89362
89362
|
*
|
|
89363
89363
|
* @param base64File Required. The Base64-encoded content of a .docx file.
|
|
89364
89364
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
@@ -90580,7 +90580,7 @@ declare namespace Word {
|
|
|
90580
90580
|
* @remarks
|
|
90581
90581
|
* [Api set: WordApi 1.1]
|
|
90582
90582
|
*
|
|
90583
|
-
*
|
|
90583
|
+
* 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.
|
|
90584
90584
|
*
|
|
90585
90585
|
* @param base64File Required. The Base64-encoded content of a .docx file.
|
|
90586
90586
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
@@ -95639,7 +95639,7 @@ declare namespace Word {
|
|
|
95639
95639
|
*/
|
|
95640
95640
|
delete(): void;
|
|
95641
95641
|
/**
|
|
95642
|
-
* Returns a new range that extends from this range in either direction to cover another range. This range isn't changed. Throws an `ItemNotFound` error if the two ranges
|
|
95642
|
+
* Returns a new range that extends from this range in either direction to cover another range. This range isn't changed. Throws an `ItemNotFound` error if the two ranges don't have a union.
|
|
95643
95643
|
*
|
|
95644
95644
|
* @remarks
|
|
95645
95645
|
* [Api set: WordApi 1.3]
|
|
@@ -95847,19 +95847,8 @@ declare namespace Word {
|
|
|
95847
95847
|
* @remarks
|
|
95848
95848
|
* [Api set: WordApi 1.5]
|
|
95849
95849
|
*
|
|
95850
|
-
* Important:
|
|
95851
|
-
*
|
|
95852
|
-
* In Word on Windows and on Mac, the API supports inserting and managing all types listed in {@link Word.FieldType} except `Word.FieldType.others`.
|
|
95853
|
-
*
|
|
95854
|
-
* In Word on the web, the API supports inserting and managing the following field types.
|
|
95855
|
-
*
|
|
95856
|
-
* - `Word.FieldType.addin`
|
|
95857
|
-
*
|
|
95858
|
-
* - `Word.FieldType.date`
|
|
95859
|
-
*
|
|
95860
|
-
* - `Word.FieldType.hyperlink`
|
|
95861
|
-
*
|
|
95862
|
-
* - `Word.FieldType.toc`
|
|
95850
|
+
* Important: In Word on Windows and on Mac, the API supports inserting and managing all types listed in {@link Word.FieldType} except `Word.FieldType.others`.
|
|
95851
|
+
* In Word on the web, fields are mainly read-only. To learn more, see {@link https://learn.microsoft.com/office/dev/add-ins/word/fields-guidance | Use fields in your Word add-in}.
|
|
95863
95852
|
*
|
|
95864
95853
|
* @param insertLocation Required. The location relative to the range where the field will be inserted. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
95865
95854
|
* @param fieldType Optional. Can be any FieldType constant. The default value is Empty.
|
|
@@ -95873,19 +95862,8 @@ declare namespace Word {
|
|
|
95873
95862
|
* @remarks
|
|
95874
95863
|
* [Api set: WordApi 1.5]
|
|
95875
95864
|
*
|
|
95876
|
-
* Important:
|
|
95877
|
-
*
|
|
95878
|
-
* In Word on Windows and on Mac, the API supports inserting and managing all types listed in {@link Word.FieldType} except `Word.FieldType.others`.
|
|
95879
|
-
*
|
|
95880
|
-
* In Word on the web, the API supports inserting and managing the following field types.
|
|
95881
|
-
*
|
|
95882
|
-
* - `Word.FieldType.addin`
|
|
95883
|
-
*
|
|
95884
|
-
* - `Word.FieldType.date`
|
|
95885
|
-
*
|
|
95886
|
-
* - `Word.FieldType.hyperlink`
|
|
95887
|
-
*
|
|
95888
|
-
* - `Word.FieldType.toc`
|
|
95865
|
+
* Important: In Word on Windows and on Mac, the API supports inserting and managing all types listed in {@link Word.FieldType} except `Word.FieldType.others`.
|
|
95866
|
+
* In Word on the web, fields are mainly read-only. To learn more, see {@link https://learn.microsoft.com/office/dev/add-ins/word/fields-guidance | Use fields in your Word add-in}.
|
|
95889
95867
|
*
|
|
95890
95868
|
* @param insertLocation Required. The location relative to the range where the field will be inserted. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
95891
95869
|
* @param fieldType Optional. Can be any FieldType constant. The default value is Empty.
|
|
@@ -95899,7 +95877,7 @@ declare namespace Word {
|
|
|
95899
95877
|
* @remarks
|
|
95900
95878
|
* [Api set: WordApi 1.1]
|
|
95901
95879
|
*
|
|
95902
|
-
*
|
|
95880
|
+
* 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.
|
|
95903
95881
|
*
|
|
95904
95882
|
* @param base64File Required. The Base64-encoded content of a .docx file.
|
|
95905
95883
|
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
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.485",
|
|
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": "596dc9a8608bd7f0ec2f6201da7c62e972f530c93ae4d1c3a3d8346c16550859",
|
|
50
50
|
"typeScriptVersion": "5.0"
|
|
51
51
|
}
|