@types/office-js 1.0.321 → 1.0.323
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 +23 -19
- 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: Wed, 03 May 2023 18:02:49 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
|
@@ -8897,7 +8897,7 @@ declare namespace Office {
|
|
|
8897
8897
|
/**
|
|
8898
8898
|
* Specifies the recipient is an SMTP email address that isn't on the Exchange server. It also refers to a recipient added from a personal Outlook address book.
|
|
8899
8899
|
*
|
|
8900
|
-
* **
|
|
8900
|
+
* **Important**: In Outlook on Windows (starting with Version 2210 (Build 15813.20002)), on Mac, and on the web, Global Address Book (GAL) recipients saved to a personal address book return
|
|
8901
8901
|
* the `ExternalUser` value, even if their SMTP email address appears on the Exchange server. Recipients return a `User` value only if they're directly
|
|
8902
8902
|
* added or resolved against the GAL.
|
|
8903
8903
|
*/
|
|
@@ -8905,6 +8905,10 @@ declare namespace Office {
|
|
|
8905
8905
|
/**
|
|
8906
8906
|
* Specifies the recipient isn't one of the other recipient types. It also refers to a recipient that isn't resolved against the Exchange address book,
|
|
8907
8907
|
* and is therefore treated as an external SMTP address.
|
|
8908
|
+
*
|
|
8909
|
+
* **Important**: In Outlook on Android and on iOS, Global Address Book (GAL) recipients saved to a personal address book return
|
|
8910
|
+
* the `Other` value, even if their SMTP email address appears on the Exchange server. Recipients return a `User` value only if they're directly
|
|
8911
|
+
* added or resolved against the GAL.
|
|
8908
8912
|
*/
|
|
8909
8913
|
Other = "other"
|
|
8910
8914
|
}
|
|
@@ -82859,12 +82863,12 @@ declare namespace Word {
|
|
|
82859
82863
|
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
82860
82864
|
context: RequestContext;
|
|
82861
82865
|
/**
|
|
82862
|
-
* Creates a new document by using an optional
|
|
82866
|
+
* Creates a new document by using an optional Base64-encoded .docx file.
|
|
82863
82867
|
*
|
|
82864
82868
|
* @remarks
|
|
82865
82869
|
* [Api set: WordApi 1.3]
|
|
82866
82870
|
*
|
|
82867
|
-
* @param base64File Optional. The
|
|
82871
|
+
* @param base64File Optional. The Base64-encoded .docx file. The default value is null.
|
|
82868
82872
|
*/
|
|
82869
82873
|
createDocument(base64File?: string): Word.DocumentCreated;
|
|
82870
82874
|
/**
|
|
@@ -83095,7 +83099,7 @@ declare namespace Word {
|
|
|
83095
83099
|
*/
|
|
83096
83100
|
insertBreak(breakType: Word.BreakType | "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: Word.InsertLocation.start | Word.InsertLocation.end | "Start" | "End"): void;
|
|
83097
83101
|
/**
|
|
83098
|
-
* Wraps the
|
|
83102
|
+
* Wraps the Body object with a Rich Text content control.
|
|
83099
83103
|
*
|
|
83100
83104
|
* @remarks
|
|
83101
83105
|
* [Api set: WordApi 1.1]
|
|
@@ -83107,7 +83111,7 @@ declare namespace Word {
|
|
|
83107
83111
|
* @remarks
|
|
83108
83112
|
* [Api set: WordApi 1.1]
|
|
83109
83113
|
*
|
|
83110
|
-
* @param base64File Required. The
|
|
83114
|
+
* @param base64File Required. The Base64-encoded content of a .docx file.
|
|
83111
83115
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
83112
83116
|
*/
|
|
83113
83117
|
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
|
|
@@ -83127,7 +83131,7 @@ declare namespace Word {
|
|
|
83127
83131
|
* @remarks
|
|
83128
83132
|
* [Api set: WordApi 1.2]
|
|
83129
83133
|
*
|
|
83130
|
-
* @param base64EncodedImage Required. The
|
|
83134
|
+
* @param base64EncodedImage Required. The Base64-encoded image to be inserted in the body.
|
|
83131
83135
|
* @param insertLocation Required. The value must be 'Start' or 'End'.
|
|
83132
83136
|
*/
|
|
83133
83137
|
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation.start | Word.InsertLocation.end | "Start" | "End"): Word.InlinePicture;
|
|
@@ -84023,7 +84027,7 @@ declare namespace Word {
|
|
|
84023
84027
|
* @remarks
|
|
84024
84028
|
* [Api set: WordApi 1.1]
|
|
84025
84029
|
*
|
|
84026
|
-
* @param base64File Required. The
|
|
84030
|
+
* @param base64File Required. The Base64-encoded content of a .docx file.
|
|
84027
84031
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
84028
84032
|
*/
|
|
84029
84033
|
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
|
|
@@ -84043,7 +84047,7 @@ declare namespace Word {
|
|
|
84043
84047
|
* @remarks
|
|
84044
84048
|
* [Api set: WordApi 1.2]
|
|
84045
84049
|
*
|
|
84046
|
-
* @param base64EncodedImage Required. The
|
|
84050
|
+
* @param base64EncodedImage Required. The Base64-encoded image to be inserted in the content control.
|
|
84047
84051
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
84048
84052
|
*/
|
|
84049
84053
|
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.InlinePicture;
|
|
@@ -84220,12 +84224,12 @@ declare namespace Word {
|
|
|
84220
84224
|
*/
|
|
84221
84225
|
getByTitle(title: string): Word.ContentControlCollection;
|
|
84222
84226
|
/**
|
|
84223
|
-
* Gets the content controls that have the specified types
|
|
84227
|
+
* Gets the content controls that have the specified types.
|
|
84224
84228
|
*
|
|
84225
84229
|
* @remarks
|
|
84226
84230
|
* [Api set: WordApi 1.3]
|
|
84227
84231
|
*
|
|
84228
|
-
* @param types Required. An array of content control types
|
|
84232
|
+
* @param types Required. An array of content control types.
|
|
84229
84233
|
*/
|
|
84230
84234
|
getByTypes(types: Word.ContentControlType[]): Word.ContentControlCollection;
|
|
84231
84235
|
/**
|
|
@@ -85826,7 +85830,7 @@ declare namespace Word {
|
|
|
85826
85830
|
*/
|
|
85827
85831
|
delete(): void;
|
|
85828
85832
|
/**
|
|
85829
|
-
* Gets the
|
|
85833
|
+
* Gets the Base64-encoded string representation of the inline image.
|
|
85830
85834
|
*
|
|
85831
85835
|
* @remarks
|
|
85832
85836
|
* [Api set: WordApi 1.1]
|
|
@@ -85878,7 +85882,7 @@ declare namespace Word {
|
|
|
85878
85882
|
* @remarks
|
|
85879
85883
|
* [Api set: WordApi 1.2]
|
|
85880
85884
|
*
|
|
85881
|
-
* @param base64File Required. The
|
|
85885
|
+
* @param base64File Required. The Base64-encoded content of a .docx file.
|
|
85882
85886
|
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
85883
85887
|
*/
|
|
85884
85888
|
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After"): Word.Range;
|
|
@@ -85898,7 +85902,7 @@ declare namespace Word {
|
|
|
85898
85902
|
* @remarks
|
|
85899
85903
|
* [Api set: WordApi 1.2]
|
|
85900
85904
|
*
|
|
85901
|
-
* @param base64EncodedImage Required. The
|
|
85905
|
+
* @param base64EncodedImage Required. The Base64-encoded image to be inserted.
|
|
85902
85906
|
* @param insertLocation Required. The value must be 'Replace', 'Before', or 'After'.
|
|
85903
85907
|
*/
|
|
85904
85908
|
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.before | Word.InsertLocation.after | "Replace" | "Before" | "After"): Word.InlinePicture;
|
|
@@ -86940,7 +86944,7 @@ declare namespace Word {
|
|
|
86940
86944
|
*/
|
|
86941
86945
|
insertBreak(breakType: Word.BreakType | "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After"): void;
|
|
86942
86946
|
/**
|
|
86943
|
-
* Wraps the
|
|
86947
|
+
* Wraps the Paragraph object with a rich text content control.
|
|
86944
86948
|
*
|
|
86945
86949
|
* @remarks
|
|
86946
86950
|
* [Api set: WordApi 1.1]
|
|
@@ -86952,7 +86956,7 @@ declare namespace Word {
|
|
|
86952
86956
|
* @remarks
|
|
86953
86957
|
* [Api set: WordApi 1.1]
|
|
86954
86958
|
*
|
|
86955
|
-
* @param base64File Required. The
|
|
86959
|
+
* @param base64File Required. The Base64-encoded content of a .docx file.
|
|
86956
86960
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
86957
86961
|
*/
|
|
86958
86962
|
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
|
|
@@ -86972,7 +86976,7 @@ declare namespace Word {
|
|
|
86972
86976
|
* @remarks
|
|
86973
86977
|
* [Api set: WordApi 1.1]
|
|
86974
86978
|
*
|
|
86975
|
-
* @param base64EncodedImage Required. The
|
|
86979
|
+
* @param base64EncodedImage Required. The Base64-encoded image to be inserted.
|
|
86976
86980
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
86977
86981
|
*/
|
|
86978
86982
|
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.InlinePicture;
|
|
@@ -87509,7 +87513,7 @@ declare namespace Word {
|
|
|
87509
87513
|
*/
|
|
87510
87514
|
insertComment(commentText: string): Word.Comment;
|
|
87511
87515
|
/**
|
|
87512
|
-
* Wraps the
|
|
87516
|
+
* Wraps the Range object with a rich text content control.
|
|
87513
87517
|
*
|
|
87514
87518
|
* @remarks
|
|
87515
87519
|
* [Api set: WordApi 1.1]
|
|
@@ -87530,7 +87534,7 @@ declare namespace Word {
|
|
|
87530
87534
|
* @remarks
|
|
87531
87535
|
* [Api set: WordApi 1.1]
|
|
87532
87536
|
*
|
|
87533
|
-
* @param base64File Required. The
|
|
87537
|
+
* @param base64File Required. The Base64-encoded content of a .docx file.
|
|
87534
87538
|
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
87535
87539
|
*/
|
|
87536
87540
|
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation | "Replace" | "Start" | "End" | "Before" | "After"): Word.Range;
|
|
@@ -87559,7 +87563,7 @@ declare namespace Word {
|
|
|
87559
87563
|
* @remarks
|
|
87560
87564
|
* [Api set: WordApi 1.2]
|
|
87561
87565
|
*
|
|
87562
|
-
* @param base64EncodedImage Required. The
|
|
87566
|
+
* @param base64EncodedImage Required. The Base64-encoded image to be inserted.
|
|
87563
87567
|
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
87564
87568
|
*/
|
|
87565
87569
|
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation | "Replace" | "Start" | "End" | "Before" | "After"): Word.InlinePicture;
|
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.323",
|
|
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": "
|
|
48
|
+
"typesPublisherContentHash": "d78dc8a3b496915c6a791e2f319d730f8fdacb47e3d30a718376085a4cfa4c70",
|
|
49
49
|
"typeScriptVersion": "4.3"
|
|
50
50
|
}
|