@types/office-js 1.0.437 → 1.0.439
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 +91 -99
- 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, 28 Oct 2024 16:38:07 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js/index.d.ts
CHANGED
|
@@ -118093,6 +118093,86 @@ declare namespace PowerPoint {
|
|
|
118093
118093
|
*/
|
|
118094
118094
|
width?: number;
|
|
118095
118095
|
}
|
|
118096
|
+
/**
|
|
118097
|
+
* Specifies the dash style for a line.
|
|
118098
|
+
*
|
|
118099
|
+
* @remarks
|
|
118100
|
+
* [Api set: PowerPointApi 1.4]
|
|
118101
|
+
*/
|
|
118102
|
+
enum ShapeLineDashStyle {
|
|
118103
|
+
/**
|
|
118104
|
+
* The dash line pattern.
|
|
118105
|
+
* @remarks
|
|
118106
|
+
* [Api set: PowerPointApi 1.4]
|
|
118107
|
+
*/
|
|
118108
|
+
dash = "Dash",
|
|
118109
|
+
/**
|
|
118110
|
+
* The dash-dot line pattern.
|
|
118111
|
+
* @remarks
|
|
118112
|
+
* [Api set: PowerPointApi 1.4]
|
|
118113
|
+
*/
|
|
118114
|
+
dashDot = "DashDot",
|
|
118115
|
+
/**
|
|
118116
|
+
* The dash-dot-dot line pattern.
|
|
118117
|
+
* @remarks
|
|
118118
|
+
* [Api set: PowerPointApi 1.4]
|
|
118119
|
+
*/
|
|
118120
|
+
dashDotDot = "DashDotDot",
|
|
118121
|
+
/**
|
|
118122
|
+
* The long dash line pattern.
|
|
118123
|
+
* @remarks
|
|
118124
|
+
* [Api set: PowerPointApi 1.4]
|
|
118125
|
+
*/
|
|
118126
|
+
longDash = "LongDash",
|
|
118127
|
+
/**
|
|
118128
|
+
* The long dash-dot line pattern.
|
|
118129
|
+
* @remarks
|
|
118130
|
+
* [Api set: PowerPointApi 1.4]
|
|
118131
|
+
*/
|
|
118132
|
+
longDashDot = "LongDashDot",
|
|
118133
|
+
/**
|
|
118134
|
+
* The round dot line pattern.
|
|
118135
|
+
* @remarks
|
|
118136
|
+
* [Api set: PowerPointApi 1.4]
|
|
118137
|
+
*/
|
|
118138
|
+
roundDot = "RoundDot",
|
|
118139
|
+
/**
|
|
118140
|
+
* The solid line pattern.
|
|
118141
|
+
* @remarks
|
|
118142
|
+
* [Api set: PowerPointApi 1.4]
|
|
118143
|
+
*/
|
|
118144
|
+
solid = "Solid",
|
|
118145
|
+
/**
|
|
118146
|
+
* The square dot line pattern.
|
|
118147
|
+
* @remarks
|
|
118148
|
+
* [Api set: PowerPointApi 1.4]
|
|
118149
|
+
*/
|
|
118150
|
+
squareDot = "SquareDot",
|
|
118151
|
+
/**
|
|
118152
|
+
* The long dash-dot-dot line pattern.
|
|
118153
|
+
* @remarks
|
|
118154
|
+
* [Api set: PowerPointApi 1.4]
|
|
118155
|
+
*/
|
|
118156
|
+
longDashDotDot = "LongDashDotDot",
|
|
118157
|
+
/**
|
|
118158
|
+
* The system dash line pattern.
|
|
118159
|
+
* @remarks
|
|
118160
|
+
* [Api set: PowerPointApi 1.4]
|
|
118161
|
+
*/
|
|
118162
|
+
systemDash = "SystemDash",
|
|
118163
|
+
/**
|
|
118164
|
+
* The system dot line pattern.
|
|
118165
|
+
* @remarks
|
|
118166
|
+
* [Api set: PowerPointApi 1.4]
|
|
118167
|
+
*/
|
|
118168
|
+
systemDot = "SystemDot",
|
|
118169
|
+
/**
|
|
118170
|
+
* The system dash-dot line pattern.
|
|
118171
|
+
* @remarks
|
|
118172
|
+
* [Api set: PowerPointApi 1.4]
|
|
118173
|
+
*/
|
|
118174
|
+
systemDashDot = "SystemDashDot",
|
|
118175
|
+
}
|
|
118096
118176
|
/**
|
|
118097
118177
|
* The type of underline applied to a font.
|
|
118098
118178
|
*
|
|
@@ -118253,90 +118333,10 @@ declare namespace PowerPoint {
|
|
|
118253
118333
|
*/
|
|
118254
118334
|
thaiDistributed = "ThaiDistributed",
|
|
118255
118335
|
}
|
|
118256
|
-
/**
|
|
118257
|
-
* Specifies the dash style for a line.
|
|
118258
|
-
*
|
|
118259
|
-
* @remarks
|
|
118260
|
-
* [Api set: PowerPointApi 1.4]
|
|
118261
|
-
*/
|
|
118262
|
-
enum ShapeLineDashStyle {
|
|
118263
|
-
/**
|
|
118264
|
-
* The dash line pattern.
|
|
118265
|
-
* @remarks
|
|
118266
|
-
* [Api set: PowerPointApi 1.4]
|
|
118267
|
-
*/
|
|
118268
|
-
dash = "Dash",
|
|
118269
|
-
/**
|
|
118270
|
-
* The dash-dot line pattern.
|
|
118271
|
-
* @remarks
|
|
118272
|
-
* [Api set: PowerPointApi 1.4]
|
|
118273
|
-
*/
|
|
118274
|
-
dashDot = "DashDot",
|
|
118275
|
-
/**
|
|
118276
|
-
* The dash-dot-dot line pattern.
|
|
118277
|
-
* @remarks
|
|
118278
|
-
* [Api set: PowerPointApi 1.4]
|
|
118279
|
-
*/
|
|
118280
|
-
dashDotDot = "DashDotDot",
|
|
118281
|
-
/**
|
|
118282
|
-
* The long dash line pattern.
|
|
118283
|
-
* @remarks
|
|
118284
|
-
* [Api set: PowerPointApi 1.4]
|
|
118285
|
-
*/
|
|
118286
|
-
longDash = "LongDash",
|
|
118287
|
-
/**
|
|
118288
|
-
* The long dash-dot line pattern.
|
|
118289
|
-
* @remarks
|
|
118290
|
-
* [Api set: PowerPointApi 1.4]
|
|
118291
|
-
*/
|
|
118292
|
-
longDashDot = "LongDashDot",
|
|
118293
|
-
/**
|
|
118294
|
-
* The round dot line pattern.
|
|
118295
|
-
* @remarks
|
|
118296
|
-
* [Api set: PowerPointApi 1.4]
|
|
118297
|
-
*/
|
|
118298
|
-
roundDot = "RoundDot",
|
|
118299
|
-
/**
|
|
118300
|
-
* The solid line pattern.
|
|
118301
|
-
* @remarks
|
|
118302
|
-
* [Api set: PowerPointApi 1.4]
|
|
118303
|
-
*/
|
|
118304
|
-
solid = "Solid",
|
|
118305
|
-
/**
|
|
118306
|
-
* The square dot line pattern.
|
|
118307
|
-
* @remarks
|
|
118308
|
-
* [Api set: PowerPointApi 1.4]
|
|
118309
|
-
*/
|
|
118310
|
-
squareDot = "SquareDot",
|
|
118311
|
-
/**
|
|
118312
|
-
* The long dash-dot-dot line pattern.
|
|
118313
|
-
* @remarks
|
|
118314
|
-
* [Api set: PowerPointApi 1.4]
|
|
118315
|
-
*/
|
|
118316
|
-
longDashDotDot = "LongDashDotDot",
|
|
118317
|
-
/**
|
|
118318
|
-
* The system dash line pattern.
|
|
118319
|
-
* @remarks
|
|
118320
|
-
* [Api set: PowerPointApi 1.4]
|
|
118321
|
-
*/
|
|
118322
|
-
systemDash = "SystemDash",
|
|
118323
|
-
/**
|
|
118324
|
-
* The system dot line pattern.
|
|
118325
|
-
* @remarks
|
|
118326
|
-
* [Api set: PowerPointApi 1.4]
|
|
118327
|
-
*/
|
|
118328
|
-
systemDot = "SystemDot",
|
|
118329
|
-
/**
|
|
118330
|
-
* The system dash-dot line pattern.
|
|
118331
|
-
* @remarks
|
|
118332
|
-
* [Api set: PowerPointApi 1.4]
|
|
118333
|
-
*/
|
|
118334
|
-
systemDashDot = "SystemDashDot",
|
|
118335
|
-
}
|
|
118336
118336
|
/**
|
|
118337
118337
|
* Represents the vertical alignment of a {@link PowerPoint.TextFrame} in a {@link PowerPoint.Shape}.
|
|
118338
118338
|
If one the centered options are selected, the contents of the `TextFrame` will be centered horizontally within the `Shape` as a group.
|
|
118339
|
-
To change the horizontal alignment of a text, see {@link PowerPoint.ParagraphFormat} and {@link PowerPoint.ParagraphHorizontalAlignment
|
|
118339
|
+
To change the horizontal alignment of a text, see {@link PowerPoint.ParagraphFormat} and {@link PowerPoint.ParagraphHorizontalAlignment}.
|
|
118340
118340
|
*
|
|
118341
118341
|
* @remarks
|
|
118342
118342
|
* [Api set: PowerPointApi 1.4]
|
|
@@ -119178,35 +119178,29 @@ declare namespace PowerPoint {
|
|
|
119178
119178
|
*/
|
|
119179
119179
|
unsupported = "Unsupported",
|
|
119180
119180
|
/**
|
|
119181
|
-
* The shape is an image
|
|
119181
|
+
* The shape is an image.
|
|
119182
119182
|
* @remarks
|
|
119183
119183
|
* [Api set: PowerPointApi 1.4]
|
|
119184
119184
|
*/
|
|
119185
119185
|
image = "Image",
|
|
119186
119186
|
/**
|
|
119187
|
-
* The shape is a geometric shape such as rectangle
|
|
119187
|
+
* The shape is a geometric shape such as rectangle.
|
|
119188
119188
|
* @remarks
|
|
119189
119189
|
* [Api set: PowerPointApi 1.4]
|
|
119190
119190
|
*/
|
|
119191
119191
|
geometricShape = "GeometricShape",
|
|
119192
119192
|
/**
|
|
119193
|
-
* The shape is a group shape which contains sub-shapes
|
|
119193
|
+
* The shape is a group shape which contains sub-shapes.
|
|
119194
119194
|
* @remarks
|
|
119195
119195
|
* [Api set: PowerPointApi 1.4]
|
|
119196
119196
|
*/
|
|
119197
119197
|
group = "Group",
|
|
119198
119198
|
/**
|
|
119199
|
-
* The shape is a line
|
|
119199
|
+
* The shape is a line.
|
|
119200
119200
|
* @remarks
|
|
119201
119201
|
* [Api set: PowerPointApi 1.4]
|
|
119202
119202
|
*/
|
|
119203
119203
|
line = "Line",
|
|
119204
|
-
/**
|
|
119205
|
-
* The shape is a table
|
|
119206
|
-
* @remarks
|
|
119207
|
-
* [Api set: PowerPointApi 1.4]
|
|
119208
|
-
*/
|
|
119209
|
-
table = "Table",
|
|
119210
119204
|
}
|
|
119211
119205
|
/**
|
|
119212
119206
|
* Determines the type of automatic sizing allowed.
|
|
@@ -119699,7 +119693,7 @@ declare namespace PowerPoint {
|
|
|
119699
119693
|
* @remarks
|
|
119700
119694
|
* [Api set: PowerPointApi 1.4]
|
|
119701
119695
|
*/
|
|
119702
|
-
readonly type: PowerPoint.ShapeType | "Unsupported" | "Image" | "GeometricShape" | "Group" | "Line"
|
|
119696
|
+
readonly type: PowerPoint.ShapeType | "Unsupported" | "Image" | "GeometricShape" | "Group" | "Line";
|
|
119703
119697
|
/**
|
|
119704
119698
|
* Specifies the width, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative value.
|
|
119705
119699
|
*
|
|
@@ -119961,9 +119955,8 @@ declare namespace PowerPoint {
|
|
|
119961
119955
|
*/
|
|
119962
119956
|
getItemAt(index: number): PowerPoint.Slide;
|
|
119963
119957
|
/**
|
|
119964
|
-
* Gets a slide using its unique ID. If such a slide does not exist, an object with an `isNullObject` property set to true is returned. For further information,
|
|
119965
|
-
|
|
119966
|
-
and properties}.
|
|
119958
|
+
* Gets a slide using its unique ID. If such a slide does not exist, an object with an `isNullObject` property set to true is returned. For further information, see
|
|
119959
|
+
{@link https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods and properties}.
|
|
119967
119960
|
*
|
|
119968
119961
|
* @remarks
|
|
119969
119962
|
* [Api set: PowerPointApi 1.2]
|
|
@@ -120036,9 +120029,8 @@ declare namespace PowerPoint {
|
|
|
120036
120029
|
*/
|
|
120037
120030
|
getItemAt(index: number): PowerPoint.Slide;
|
|
120038
120031
|
/**
|
|
120039
|
-
* Gets a slide using its unique ID. If such a slide does not exist, an object with an `isNullObject` property set to true is returned. For further information,
|
|
120040
|
-
|
|
120041
|
-
and properties}.
|
|
120032
|
+
* Gets a slide using its unique ID. If such a slide does not exist, an object with an `isNullObject` property set to true is returned. For further information, see
|
|
120033
|
+
{@link https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods and properties}.
|
|
120042
120034
|
*
|
|
120043
120035
|
* @remarks
|
|
120044
120036
|
* [Api set: PowerPointApi 1.5]
|
|
@@ -120789,7 +120781,7 @@ declare namespace PowerPoint {
|
|
|
120789
120781
|
* @remarks
|
|
120790
120782
|
* [Api set: PowerPointApi 1.4]
|
|
120791
120783
|
*/
|
|
120792
|
-
type?: PowerPoint.ShapeType | "Unsupported" | "Image" | "GeometricShape" | "Group" | "Line"
|
|
120784
|
+
type?: PowerPoint.ShapeType | "Unsupported" | "Image" | "GeometricShape" | "Group" | "Line";
|
|
120793
120785
|
/**
|
|
120794
120786
|
* Specifies the width, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative value.
|
|
120795
120787
|
*
|
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.439",
|
|
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": "e398ac635e5fffc8c7e8dd00af65c64dbaef0db62908098893800b2d658ae5c7",
|
|
50
50
|
"typeScriptVersion": "4.8"
|
|
51
51
|
}
|