@types/office-js-preview 1.0.523 → 1.0.525

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.
@@ -8,7 +8,7 @@ This package contains type definitions for office-js-preview (https://github.com
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 24 Oct 2024 18:02:45 GMT
11
+ * Last updated: Mon, 28 Oct 2024 16:38:07 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -124182,6 +124182,86 @@ declare namespace PowerPoint {
124182
124182
  */
124183
124183
  width?: number;
124184
124184
  }
124185
+ /**
124186
+ * Specifies the dash style for a line.
124187
+ *
124188
+ * @remarks
124189
+ * [Api set: PowerPointApi 1.4]
124190
+ */
124191
+ enum ShapeLineDashStyle {
124192
+ /**
124193
+ * The dash line pattern.
124194
+ * @remarks
124195
+ * [Api set: PowerPointApi 1.4]
124196
+ */
124197
+ dash = "Dash",
124198
+ /**
124199
+ * The dash-dot line pattern.
124200
+ * @remarks
124201
+ * [Api set: PowerPointApi 1.4]
124202
+ */
124203
+ dashDot = "DashDot",
124204
+ /**
124205
+ * The dash-dot-dot line pattern.
124206
+ * @remarks
124207
+ * [Api set: PowerPointApi 1.4]
124208
+ */
124209
+ dashDotDot = "DashDotDot",
124210
+ /**
124211
+ * The long dash line pattern.
124212
+ * @remarks
124213
+ * [Api set: PowerPointApi 1.4]
124214
+ */
124215
+ longDash = "LongDash",
124216
+ /**
124217
+ * The long dash-dot line pattern.
124218
+ * @remarks
124219
+ * [Api set: PowerPointApi 1.4]
124220
+ */
124221
+ longDashDot = "LongDashDot",
124222
+ /**
124223
+ * The round dot line pattern.
124224
+ * @remarks
124225
+ * [Api set: PowerPointApi 1.4]
124226
+ */
124227
+ roundDot = "RoundDot",
124228
+ /**
124229
+ * The solid line pattern.
124230
+ * @remarks
124231
+ * [Api set: PowerPointApi 1.4]
124232
+ */
124233
+ solid = "Solid",
124234
+ /**
124235
+ * The square dot line pattern.
124236
+ * @remarks
124237
+ * [Api set: PowerPointApi 1.4]
124238
+ */
124239
+ squareDot = "SquareDot",
124240
+ /**
124241
+ * The long dash-dot-dot line pattern.
124242
+ * @remarks
124243
+ * [Api set: PowerPointApi 1.4]
124244
+ */
124245
+ longDashDotDot = "LongDashDotDot",
124246
+ /**
124247
+ * The system dash line pattern.
124248
+ * @remarks
124249
+ * [Api set: PowerPointApi 1.4]
124250
+ */
124251
+ systemDash = "SystemDash",
124252
+ /**
124253
+ * The system dot line pattern.
124254
+ * @remarks
124255
+ * [Api set: PowerPointApi 1.4]
124256
+ */
124257
+ systemDot = "SystemDot",
124258
+ /**
124259
+ * The system dash-dot line pattern.
124260
+ * @remarks
124261
+ * [Api set: PowerPointApi 1.4]
124262
+ */
124263
+ systemDashDot = "SystemDashDot",
124264
+ }
124185
124265
  /**
124186
124266
  * The type of underline applied to a font.
124187
124267
  *
@@ -124342,90 +124422,10 @@ declare namespace PowerPoint {
124342
124422
  */
124343
124423
  thaiDistributed = "ThaiDistributed",
124344
124424
  }
124345
- /**
124346
- * Specifies the dash style for a line.
124347
- *
124348
- * @remarks
124349
- * [Api set: PowerPointApi 1.4]
124350
- */
124351
- enum ShapeLineDashStyle {
124352
- /**
124353
- * The dash line pattern.
124354
- * @remarks
124355
- * [Api set: PowerPointApi 1.4]
124356
- */
124357
- dash = "Dash",
124358
- /**
124359
- * The dash-dot line pattern.
124360
- * @remarks
124361
- * [Api set: PowerPointApi 1.4]
124362
- */
124363
- dashDot = "DashDot",
124364
- /**
124365
- * The dash-dot-dot line pattern.
124366
- * @remarks
124367
- * [Api set: PowerPointApi 1.4]
124368
- */
124369
- dashDotDot = "DashDotDot",
124370
- /**
124371
- * The long dash line pattern.
124372
- * @remarks
124373
- * [Api set: PowerPointApi 1.4]
124374
- */
124375
- longDash = "LongDash",
124376
- /**
124377
- * The long dash-dot line pattern.
124378
- * @remarks
124379
- * [Api set: PowerPointApi 1.4]
124380
- */
124381
- longDashDot = "LongDashDot",
124382
- /**
124383
- * The round dot line pattern.
124384
- * @remarks
124385
- * [Api set: PowerPointApi 1.4]
124386
- */
124387
- roundDot = "RoundDot",
124388
- /**
124389
- * The solid line pattern.
124390
- * @remarks
124391
- * [Api set: PowerPointApi 1.4]
124392
- */
124393
- solid = "Solid",
124394
- /**
124395
- * The square dot line pattern.
124396
- * @remarks
124397
- * [Api set: PowerPointApi 1.4]
124398
- */
124399
- squareDot = "SquareDot",
124400
- /**
124401
- * The long dash-dot-dot line pattern.
124402
- * @remarks
124403
- * [Api set: PowerPointApi 1.4]
124404
- */
124405
- longDashDotDot = "LongDashDotDot",
124406
- /**
124407
- * The system dash line pattern.
124408
- * @remarks
124409
- * [Api set: PowerPointApi 1.4]
124410
- */
124411
- systemDash = "SystemDash",
124412
- /**
124413
- * The system dot line pattern.
124414
- * @remarks
124415
- * [Api set: PowerPointApi 1.4]
124416
- */
124417
- systemDot = "SystemDot",
124418
- /**
124419
- * The system dash-dot line pattern.
124420
- * @remarks
124421
- * [Api set: PowerPointApi 1.4]
124422
- */
124423
- systemDashDot = "SystemDashDot",
124424
- }
124425
124425
  /**
124426
124426
  * Represents the vertical alignment of a {@link PowerPoint.TextFrame} in a {@link PowerPoint.Shape}.
124427
124427
  If one the centered options are selected, the contents of the `TextFrame` will be centered horizontally within the `Shape` as a group.
124428
- To change the horizontal alignment of a text, see {@link PowerPoint.ParagraphFormat} and {@link PowerPoint.ParagraphHorizontalAlignment }.
124428
+ To change the horizontal alignment of a text, see {@link PowerPoint.ParagraphFormat} and {@link PowerPoint.ParagraphHorizontalAlignment}.
124429
124429
  *
124430
124430
  * @remarks
124431
124431
  * [Api set: PowerPointApi 1.4]
@@ -125345,35 +125345,127 @@ declare namespace PowerPoint {
125345
125345
  */
125346
125346
  unsupported = "Unsupported",
125347
125347
  /**
125348
- * The shape is an image
125348
+ * The shape is an image.
125349
125349
  * @remarks
125350
125350
  * [Api set: PowerPointApi 1.4]
125351
125351
  */
125352
125352
  image = "Image",
125353
125353
  /**
125354
- * The shape is a geometric shape such as rectangle
125354
+ * The shape is a geometric shape such as rectangle.
125355
125355
  * @remarks
125356
125356
  * [Api set: PowerPointApi 1.4]
125357
125357
  */
125358
125358
  geometricShape = "GeometricShape",
125359
125359
  /**
125360
- * The shape is a group shape which contains sub-shapes
125360
+ * The shape is a group shape which contains sub-shapes.
125361
125361
  * @remarks
125362
125362
  * [Api set: PowerPointApi 1.4]
125363
125363
  */
125364
125364
  group = "Group",
125365
125365
  /**
125366
- * The shape is a line
125366
+ * The shape is a line.
125367
125367
  * @remarks
125368
125368
  * [Api set: PowerPointApi 1.4]
125369
125369
  */
125370
125370
  line = "Line",
125371
125371
  /**
125372
- * The shape is a table
125372
+ * The shape is a table.
125373
125373
  * @remarks
125374
- * [Api set: PowerPointApi 1.4]
125374
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
125375
+ * @beta
125375
125376
  */
125376
125377
  table = "Table",
125378
+ /**
125379
+ * The shape is a callout.
125380
+ * @remarks
125381
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
125382
+ * @beta
125383
+ */
125384
+ callout = "Callout",
125385
+ /**
125386
+ * The shape is a chart.
125387
+ * @remarks
125388
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
125389
+ * @beta
125390
+ */
125391
+ chart = "Chart",
125392
+ /**
125393
+ * The shape is a content Office Add-in.
125394
+ * @remarks
125395
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
125396
+ * @beta
125397
+ */
125398
+ contentApp = "ContentApp",
125399
+ /**
125400
+ * The shape is a diagram.
125401
+ * @remarks
125402
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
125403
+ * @beta
125404
+ */
125405
+ diagram = "Diagram",
125406
+ /**
125407
+ * The shape is a freeform object.
125408
+ * @remarks
125409
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
125410
+ * @beta
125411
+ */
125412
+ freeform = "Freeform",
125413
+ /**
125414
+ * The shape is a graphic.
125415
+ * @remarks
125416
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
125417
+ * @beta
125418
+ */
125419
+ graphic = "Graphic",
125420
+ /**
125421
+ * The shape is an ink object.
125422
+ * @remarks
125423
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
125424
+ * @beta
125425
+ */
125426
+ ink = "Ink",
125427
+ /**
125428
+ * The shape is a media object.
125429
+ * @remarks
125430
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
125431
+ * @beta
125432
+ */
125433
+ media = "Media",
125434
+ /**
125435
+ * The shape is a 3D model.
125436
+ * @remarks
125437
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
125438
+ * @beta
125439
+ */
125440
+ model3D = "Model3D",
125441
+ /**
125442
+ * The shape is an OLE (Object Linking and Embedding) object.
125443
+ * @remarks
125444
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
125445
+ * @beta
125446
+ */
125447
+ ole = "Ole",
125448
+ /**
125449
+ * The shape is a placeholder.
125450
+ * @remarks
125451
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
125452
+ * @beta
125453
+ */
125454
+ placeholder = "Placeholder",
125455
+ /**
125456
+ * The shape is a SmartArt graphic.
125457
+ * @remarks
125458
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
125459
+ * @beta
125460
+ */
125461
+ smartArt = "SmartArt",
125462
+ /**
125463
+ * The shape is a text box.
125464
+ * @remarks
125465
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
125466
+ * @beta
125467
+ */
125468
+ textBox = "TextBox",
125377
125469
  }
125378
125470
  /**
125379
125471
  * Determines the type of automatic sizing allowed.
@@ -125874,7 +125966,7 @@ declare namespace PowerPoint {
125874
125966
  * @remarks
125875
125967
  * [Api set: PowerPointApi 1.4]
125876
125968
  */
125877
- readonly type: PowerPoint.ShapeType | "Unsupported" | "Image" | "GeometricShape" | "Group" | "Line" | "Table";
125969
+ readonly type: PowerPoint.ShapeType | "Unsupported" | "Image" | "GeometricShape" | "Group" | "Line" | "Table" | "Callout" | "Chart" | "ContentApp" | "Diagram" | "Freeform" | "Graphic" | "Ink" | "Media" | "Model3D" | "Ole" | "Placeholder" | "SmartArt" | "TextBox";
125878
125970
  /**
125879
125971
  * Specifies the width, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative value.
125880
125972
  *
@@ -126466,9 +126558,8 @@ declare namespace PowerPoint {
126466
126558
  */
126467
126559
  getItemAt(index: number): PowerPoint.Slide;
126468
126560
  /**
126469
- * 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,
126470
- see {@link https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods
126471
- and properties}.
126561
+ * 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
126562
+ {@link https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods and properties}.
126472
126563
  *
126473
126564
  * @remarks
126474
126565
  * [Api set: PowerPointApi 1.2]
@@ -126541,9 +126632,8 @@ declare namespace PowerPoint {
126541
126632
  */
126542
126633
  getItemAt(index: number): PowerPoint.Slide;
126543
126634
  /**
126544
- * 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,
126545
- see {@link https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods
126546
- and properties}.
126635
+ * 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
126636
+ {@link https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods and properties}.
126547
126637
  *
126548
126638
  * @remarks
126549
126639
  * [Api set: PowerPointApi 1.5]
@@ -127466,7 +127556,7 @@ declare namespace PowerPoint {
127466
127556
  * @remarks
127467
127557
  * [Api set: PowerPointApi 1.4]
127468
127558
  */
127469
- type?: PowerPoint.ShapeType | "Unsupported" | "Image" | "GeometricShape" | "Group" | "Line" | "Table";
127559
+ type?: PowerPoint.ShapeType | "Unsupported" | "Image" | "GeometricShape" | "Group" | "Line" | "Table" | "Callout" | "Chart" | "ContentApp" | "Diagram" | "Freeform" | "Graphic" | "Ink" | "Media" | "Model3D" | "Ole" | "Placeholder" | "SmartArt" | "TextBox";
127470
127560
  /**
127471
127561
  * Specifies the width, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative value.
127472
127562
  *
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.523",
3
+ "version": "1.0.525",
4
4
  "description": "TypeScript definitions for office-js-preview",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
6
6
  "license": "MIT",
@@ -46,7 +46,7 @@
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
48
  "peerDependencies": {},
49
- "typesPublisherContentHash": "283b1051ca1471f34157b1c513eb6eb2521b7c3cc00f42971b304be4f99b9b52",
49
+ "typesPublisherContentHash": "5d15e3b16ea115a508d69bf32c4ce720518d7f8429fd7b90a49c90e6fc453962",
50
50
  "typeScriptVersion": "4.8",
51
51
  "nonNpm": true
52
52
  }