@types/office-js 1.0.429 → 1.0.431
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 +101 -83
- 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: Mon, 30 Sep 2024 22:07:46 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js/index.d.ts
CHANGED
|
@@ -14791,7 +14791,13 @@ declare namespace Office {
|
|
|
14791
14791
|
* {@link Office.MessageCompose | MessageCompose}, {@link Office.MessageRead | MessageRead},
|
|
14792
14792
|
* {@link Office.AppointmentCompose | AppointmentCompose}, {@link Office.AppointmentRead | AppointmentRead}
|
|
14793
14793
|
*
|
|
14794
|
-
* **Important**:
|
|
14794
|
+
* **Important**:
|
|
14795
|
+
*
|
|
14796
|
+
* - When calling `Office.context.mailbox.item` on a message, note that the Reading Pane in the Outlook client must be turned on.
|
|
14797
|
+
* For guidance on how to configure the Reading Pane, see
|
|
14798
|
+
* {@link https://support.microsoft.com/office/2fd687ed-7fc4-4ae3-8eab-9f9b8c6d53f0 | Use and configure the Reading Pane to preview messages}.
|
|
14799
|
+
*
|
|
14800
|
+
* - `item` can be null if your add-in supports pinning the task pane. For details on how to handle, see
|
|
14795
14801
|
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/pinnable-taskpane#implement-the-event-handler | Implement a pinnable task pane in Outlook}.
|
|
14796
14802
|
*/
|
|
14797
14803
|
item?: Item & ItemCompose & ItemRead & Message & MessageCompose & MessageRead & Appointment & AppointmentCompose & AppointmentRead;
|
|
@@ -15983,10 +15989,16 @@ declare namespace Office {
|
|
|
15983
15989
|
/**
|
|
15984
15990
|
* The message compose mode of {@link Office.Item | Office.context.mailbox.item}.
|
|
15985
15991
|
*
|
|
15986
|
-
* **Important**:
|
|
15992
|
+
* **Important**:
|
|
15993
|
+
*
|
|
15994
|
+
* - This is an internal Outlook object, not directly exposed through existing interfaces.
|
|
15987
15995
|
* You should treat this as a mode of `Office.context.mailbox.item`. For more information, refer to the
|
|
15988
15996
|
* {@link https://learn.microsoft.com/javascript/api/requirement-sets/outlook/requirement-set-1.14/office.context.mailbox.item | Object Model} page.
|
|
15989
15997
|
*
|
|
15998
|
+
* - When calling `Office.context.mailbox.item` on a message, note that the Reading Pane in the Outlook client must be turned on.
|
|
15999
|
+
* For guidance on how to configure the Reading Pane, see
|
|
16000
|
+
* {@link https://support.microsoft.com/office/2fd687ed-7fc4-4ae3-8eab-9f9b8c6d53f0 | Use and configure the Reading Pane to preview messages}.
|
|
16001
|
+
*
|
|
15990
16002
|
* Parent interfaces:
|
|
15991
16003
|
*
|
|
15992
16004
|
* - {@link Office.ItemCompose | ItemCompose}
|
|
@@ -17468,10 +17480,16 @@ declare namespace Office {
|
|
|
17468
17480
|
/**
|
|
17469
17481
|
* The message read mode of {@link Office.Item | Office.context.mailbox.item}.
|
|
17470
17482
|
*
|
|
17471
|
-
* **Important**:
|
|
17483
|
+
* **Important**:
|
|
17484
|
+
*
|
|
17485
|
+
* - This is an internal Outlook object, not directly exposed through existing interfaces.
|
|
17472
17486
|
* You should treat this as a mode of `Office.context.mailbox.item`. For more information, refer to the
|
|
17473
17487
|
* {@link https://learn.microsoft.com/javascript/api/requirement-sets/outlook/requirement-set-1.14/office.context.mailbox.item | Object Model} page.
|
|
17474
17488
|
*
|
|
17489
|
+
* - When calling `Office.context.mailbox.item` on a message, note that the Reading Pane in the Outlook client must be turned on.
|
|
17490
|
+
* For guidance on how to configure the Reading Pane, see
|
|
17491
|
+
* {@link https://support.microsoft.com/office/2fd687ed-7fc4-4ae3-8eab-9f9b8c6d53f0 | Use and configure the Reading Pane to preview messages}.
|
|
17492
|
+
*
|
|
17475
17493
|
* Parent interfaces:
|
|
17476
17494
|
*
|
|
17477
17495
|
* - {@link Office.ItemRead | ItemRead}
|
|
@@ -118004,86 +118022,6 @@ declare namespace PowerPoint {
|
|
|
118004
118022
|
*/
|
|
118005
118023
|
width?: number;
|
|
118006
118024
|
}
|
|
118007
|
-
/**
|
|
118008
|
-
* Specifies the dash style for a line.
|
|
118009
|
-
*
|
|
118010
|
-
* @remarks
|
|
118011
|
-
* [Api set: PowerPointApi 1.4]
|
|
118012
|
-
*/
|
|
118013
|
-
enum ShapeLineDashStyle {
|
|
118014
|
-
/**
|
|
118015
|
-
* The dash line pattern
|
|
118016
|
-
* @remarks
|
|
118017
|
-
* [Api set: PowerPointApi 1.4]
|
|
118018
|
-
*/
|
|
118019
|
-
dash = "Dash",
|
|
118020
|
-
/**
|
|
118021
|
-
* The dash-dot line pattern
|
|
118022
|
-
* @remarks
|
|
118023
|
-
* [Api set: PowerPointApi 1.4]
|
|
118024
|
-
*/
|
|
118025
|
-
dashDot = "DashDot",
|
|
118026
|
-
/**
|
|
118027
|
-
* The dash-dot-dot line pattern
|
|
118028
|
-
* @remarks
|
|
118029
|
-
* [Api set: PowerPointApi 1.4]
|
|
118030
|
-
*/
|
|
118031
|
-
dashDotDot = "DashDotDot",
|
|
118032
|
-
/**
|
|
118033
|
-
* The long dash line pattern
|
|
118034
|
-
* @remarks
|
|
118035
|
-
* [Api set: PowerPointApi 1.4]
|
|
118036
|
-
*/
|
|
118037
|
-
longDash = "LongDash",
|
|
118038
|
-
/**
|
|
118039
|
-
* The long dash-dot line pattern
|
|
118040
|
-
* @remarks
|
|
118041
|
-
* [Api set: PowerPointApi 1.4]
|
|
118042
|
-
*/
|
|
118043
|
-
longDashDot = "LongDashDot",
|
|
118044
|
-
/**
|
|
118045
|
-
* The round dot line pattern
|
|
118046
|
-
* @remarks
|
|
118047
|
-
* [Api set: PowerPointApi 1.4]
|
|
118048
|
-
*/
|
|
118049
|
-
roundDot = "RoundDot",
|
|
118050
|
-
/**
|
|
118051
|
-
* The solid line pattern
|
|
118052
|
-
* @remarks
|
|
118053
|
-
* [Api set: PowerPointApi 1.4]
|
|
118054
|
-
*/
|
|
118055
|
-
solid = "Solid",
|
|
118056
|
-
/**
|
|
118057
|
-
* The square dot line pattern
|
|
118058
|
-
* @remarks
|
|
118059
|
-
* [Api set: PowerPointApi 1.4]
|
|
118060
|
-
*/
|
|
118061
|
-
squareDot = "SquareDot",
|
|
118062
|
-
/**
|
|
118063
|
-
* The long dash-dot-dot line pattern
|
|
118064
|
-
* @remarks
|
|
118065
|
-
* [Api set: PowerPointApi 1.4]
|
|
118066
|
-
*/
|
|
118067
|
-
longDashDotDot = "LongDashDotDot",
|
|
118068
|
-
/**
|
|
118069
|
-
* The system dash line pattern
|
|
118070
|
-
* @remarks
|
|
118071
|
-
* [Api set: PowerPointApi 1.4]
|
|
118072
|
-
*/
|
|
118073
|
-
systemDash = "SystemDash",
|
|
118074
|
-
/**
|
|
118075
|
-
* The system dot line pattern
|
|
118076
|
-
* @remarks
|
|
118077
|
-
* [Api set: PowerPointApi 1.4]
|
|
118078
|
-
*/
|
|
118079
|
-
systemDot = "SystemDot",
|
|
118080
|
-
/**
|
|
118081
|
-
* The system dash-dot line pattern
|
|
118082
|
-
* @remarks
|
|
118083
|
-
* [Api set: PowerPointApi 1.4]
|
|
118084
|
-
*/
|
|
118085
|
-
systemDashDot = "SystemDashDot",
|
|
118086
|
-
}
|
|
118087
118025
|
/**
|
|
118088
118026
|
* The type of underline applied to a font.
|
|
118089
118027
|
*
|
|
@@ -118244,6 +118182,86 @@ declare namespace PowerPoint {
|
|
|
118244
118182
|
*/
|
|
118245
118183
|
thaiDistributed = "ThaiDistributed",
|
|
118246
118184
|
}
|
|
118185
|
+
/**
|
|
118186
|
+
* Specifies the dash style for a line.
|
|
118187
|
+
*
|
|
118188
|
+
* @remarks
|
|
118189
|
+
* [Api set: PowerPointApi 1.4]
|
|
118190
|
+
*/
|
|
118191
|
+
enum ShapeLineDashStyle {
|
|
118192
|
+
/**
|
|
118193
|
+
* The dash line pattern.
|
|
118194
|
+
* @remarks
|
|
118195
|
+
* [Api set: PowerPointApi 1.4]
|
|
118196
|
+
*/
|
|
118197
|
+
dash = "Dash",
|
|
118198
|
+
/**
|
|
118199
|
+
* The dash-dot line pattern.
|
|
118200
|
+
* @remarks
|
|
118201
|
+
* [Api set: PowerPointApi 1.4]
|
|
118202
|
+
*/
|
|
118203
|
+
dashDot = "DashDot",
|
|
118204
|
+
/**
|
|
118205
|
+
* The dash-dot-dot line pattern.
|
|
118206
|
+
* @remarks
|
|
118207
|
+
* [Api set: PowerPointApi 1.4]
|
|
118208
|
+
*/
|
|
118209
|
+
dashDotDot = "DashDotDot",
|
|
118210
|
+
/**
|
|
118211
|
+
* The long dash line pattern.
|
|
118212
|
+
* @remarks
|
|
118213
|
+
* [Api set: PowerPointApi 1.4]
|
|
118214
|
+
*/
|
|
118215
|
+
longDash = "LongDash",
|
|
118216
|
+
/**
|
|
118217
|
+
* The long dash-dot line pattern.
|
|
118218
|
+
* @remarks
|
|
118219
|
+
* [Api set: PowerPointApi 1.4]
|
|
118220
|
+
*/
|
|
118221
|
+
longDashDot = "LongDashDot",
|
|
118222
|
+
/**
|
|
118223
|
+
* The round dot line pattern.
|
|
118224
|
+
* @remarks
|
|
118225
|
+
* [Api set: PowerPointApi 1.4]
|
|
118226
|
+
*/
|
|
118227
|
+
roundDot = "RoundDot",
|
|
118228
|
+
/**
|
|
118229
|
+
* The solid line pattern.
|
|
118230
|
+
* @remarks
|
|
118231
|
+
* [Api set: PowerPointApi 1.4]
|
|
118232
|
+
*/
|
|
118233
|
+
solid = "Solid",
|
|
118234
|
+
/**
|
|
118235
|
+
* The square dot line pattern.
|
|
118236
|
+
* @remarks
|
|
118237
|
+
* [Api set: PowerPointApi 1.4]
|
|
118238
|
+
*/
|
|
118239
|
+
squareDot = "SquareDot",
|
|
118240
|
+
/**
|
|
118241
|
+
* The long dash-dot-dot line pattern.
|
|
118242
|
+
* @remarks
|
|
118243
|
+
* [Api set: PowerPointApi 1.4]
|
|
118244
|
+
*/
|
|
118245
|
+
longDashDotDot = "LongDashDotDot",
|
|
118246
|
+
/**
|
|
118247
|
+
* The system dash line pattern.
|
|
118248
|
+
* @remarks
|
|
118249
|
+
* [Api set: PowerPointApi 1.4]
|
|
118250
|
+
*/
|
|
118251
|
+
systemDash = "SystemDash",
|
|
118252
|
+
/**
|
|
118253
|
+
* The system dot line pattern.
|
|
118254
|
+
* @remarks
|
|
118255
|
+
* [Api set: PowerPointApi 1.4]
|
|
118256
|
+
*/
|
|
118257
|
+
systemDot = "SystemDot",
|
|
118258
|
+
/**
|
|
118259
|
+
* The system dash-dot line pattern.
|
|
118260
|
+
* @remarks
|
|
118261
|
+
* [Api set: PowerPointApi 1.4]
|
|
118262
|
+
*/
|
|
118263
|
+
systemDashDot = "SystemDashDot",
|
|
118264
|
+
}
|
|
118247
118265
|
/**
|
|
118248
118266
|
* Represents the vertical alignment of a {@link PowerPoint.TextFrame} in a {@link PowerPoint.Shape}.
|
|
118249
118267
|
If one the centered options are selected, the contents of the `TextFrame` will be centered horizontally within the `Shape` as a group.
|
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.431",
|
|
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": "762be46c1c66bf9a6a0329494f6c3f7577b05ba71d8341f76c76063300dd7666",
|
|
49
49
|
"typeScriptVersion": "4.8"
|
|
50
50
|
}
|