@types/office-js-preview 1.0.551 → 1.0.553

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, 30 Jan 2025 20:33:16 GMT
11
+ * Last updated: Mon, 03 Feb 2025 19:02:53 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -100173,6 +100173,8 @@ declare namespace Word {
100173
100173
  *
100174
100174
  * @remarks
100175
100175
  * [Api set: WordApi 1.7]
100176
+ *
100177
+ * Important: This API requires a Microsoft 365 subscription in order to work properly because of an underlying service's requirement. For more about this, see {@link https://github.com/OfficeDev/office-js/issues/4953 | GitHub issue 4953}.
100176
100178
  */
100177
100179
  getAnnotations(): Word.AnnotationCollection;
100178
100180
  /**
@@ -100300,6 +100302,8 @@ declare namespace Word {
100300
100302
  * @remarks
100301
100303
  * [Api set: WordApi 1.7]
100302
100304
  *
100305
+ * Important: This API requires a Microsoft 365 subscription in order to work properly because of an underlying service's requirement. For more about this, see {@link https://github.com/OfficeDev/office-js/issues/4953 | GitHub issue 4953}.
100306
+ *
100303
100307
  * @param annotations Annotations to set.
100304
100308
  * @returns An array of the inserted annotations identifiers.
100305
100309
  */
@@ -129331,6 +129335,155 @@ declare namespace PowerPoint {
129331
129335
  */
129332
129336
  toJSON(): PowerPoint.Interfaces.CustomXmlPartCollectionData;
129333
129337
  }
129338
+ /**
129339
+ * Specifies the type of a placeholder.
129340
+ *
129341
+ * @remarks
129342
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129343
+ * @beta
129344
+ */
129345
+ enum PlaceholderType {
129346
+ /**
129347
+ * The placeholder is unsupported.
129348
+ * @remarks
129349
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129350
+ * @beta
129351
+ */
129352
+ unsupported = "Unsupported",
129353
+ /**
129354
+ * The placeholder is for a date.
129355
+ * @remarks
129356
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129357
+ * @beta
129358
+ */
129359
+ date = "Date",
129360
+ /**
129361
+ * The placeholder is for a slide number.
129362
+ * @remarks
129363
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129364
+ * @beta
129365
+ */
129366
+ slideNumber = "SlideNumber",
129367
+ /**
129368
+ * The placeholder is for a footer.
129369
+ * @remarks
129370
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129371
+ * @beta
129372
+ */
129373
+ footer = "Footer",
129374
+ /**
129375
+ * The placeholder is for a header.
129376
+ * @remarks
129377
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129378
+ * @beta
129379
+ */
129380
+ header = "Header",
129381
+ /**
129382
+ * The placeholder is for a title.
129383
+ * @remarks
129384
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129385
+ * @beta
129386
+ */
129387
+ title = "Title",
129388
+ /**
129389
+ * The placeholder is for a body.
129390
+ * @remarks
129391
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129392
+ * @beta
129393
+ */
129394
+ body = "Body",
129395
+ /**
129396
+ * The placeholder is for a center title.
129397
+ * @remarks
129398
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129399
+ * @beta
129400
+ */
129401
+ centerTitle = "CenterTitle",
129402
+ /**
129403
+ * The placeholder is for a subtitle.
129404
+ * @remarks
129405
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129406
+ * @beta
129407
+ */
129408
+ subtitle = "Subtitle",
129409
+ /**
129410
+ * The placeholder is for a vertical title.
129411
+ * @remarks
129412
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129413
+ * @beta
129414
+ */
129415
+ verticalTitle = "VerticalTitle",
129416
+ /**
129417
+ * The placeholder is for a vertical body.
129418
+ * @remarks
129419
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129420
+ * @beta
129421
+ */
129422
+ verticalBody = "VerticalBody",
129423
+ /**
129424
+ * The placeholder is for generic content.
129425
+ * @remarks
129426
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129427
+ * @beta
129428
+ */
129429
+ content = "Content",
129430
+ /**
129431
+ * The placeholder is for a chart.
129432
+ * @remarks
129433
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129434
+ * @beta
129435
+ */
129436
+ chart = "Chart",
129437
+ /**
129438
+ * The placeholder is for a table.
129439
+ * @remarks
129440
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129441
+ * @beta
129442
+ */
129443
+ table = "Table",
129444
+ /**
129445
+ * The placeholder is for an online picture.
129446
+ * @remarks
129447
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129448
+ * @beta
129449
+ */
129450
+ onlinePicture = "OnlinePicture",
129451
+ /**
129452
+ * The placeholder is for a SmartArt.
129453
+ * @remarks
129454
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129455
+ * @beta
129456
+ */
129457
+ smartArt = "SmartArt",
129458
+ /**
129459
+ * The placeholder is for media.
129460
+ * @remarks
129461
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129462
+ * @beta
129463
+ */
129464
+ media = "Media",
129465
+ /**
129466
+ * The placeholder is for generic vertical content.
129467
+ * @remarks
129468
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129469
+ * @beta
129470
+ */
129471
+ verticalContent = "VerticalContent",
129472
+ /**
129473
+ * The placeholder is for a picture.
129474
+ * @remarks
129475
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129476
+ * @beta
129477
+ */
129478
+ picture = "Picture",
129479
+ /**
129480
+ * The placeholder is for a cameo.
129481
+ * @remarks
129482
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129483
+ * @beta
129484
+ */
129485
+ cameo = "Cameo",
129486
+ }
129334
129487
  /**
129335
129488
  * Specifies the type of a shape.
129336
129489
  *
@@ -129453,6 +129606,60 @@ declare namespace PowerPoint {
129453
129606
  */
129454
129607
  textBox = "TextBox",
129455
129608
  }
129609
+ /**
129610
+ * Represents the properties of a `placeholder` shape.
129611
+ *
129612
+ * @remarks
129613
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129614
+ * @beta
129615
+ */
129616
+ class PlaceholderFormat extends OfficeExtension.ClientObject {
129617
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
129618
+ context: RequestContext;
129619
+ /**
129620
+ * Gets the type of the shape contained within the placeholder. See {@link PowerPoint.ShapeType} for details.
129621
+ Returns `null` if the placeholder is empty.
129622
+ *
129623
+ * @remarks
129624
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129625
+ * @beta
129626
+ */
129627
+ readonly containedType: ShapeType | null;
129628
+ /**
129629
+ * Returns the type of this placeholder. See {@link PowerPoint.PlaceholderType} for details.
129630
+ *
129631
+ * @remarks
129632
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129633
+ * @beta
129634
+ */
129635
+ readonly type: PowerPoint.PlaceholderType | "Unsupported" | "Date" | "SlideNumber" | "Footer" | "Header" | "Title" | "Body" | "CenterTitle" | "Subtitle" | "VerticalTitle" | "VerticalBody" | "Content" | "Chart" | "Table" | "OnlinePicture" | "SmartArt" | "Media" | "VerticalContent" | "Picture" | "Cameo";
129636
+ /**
129637
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
129638
+ *
129639
+ * @param options Provides options for which properties of the object to load.
129640
+ */
129641
+ load(options?: PowerPoint.Interfaces.PlaceholderFormatLoadOptions): PowerPoint.PlaceholderFormat;
129642
+ /**
129643
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
129644
+ *
129645
+ * @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
129646
+ */
129647
+ load(propertyNames?: string | string[]): PowerPoint.PlaceholderFormat;
129648
+ /**
129649
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
129650
+ *
129651
+ * @param propertyNamesAndPaths `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
129652
+ */
129653
+ load(propertyNamesAndPaths?: {
129654
+ select?: string;
129655
+ expand?: string;
129656
+ }): PowerPoint.PlaceholderFormat;
129657
+ /**
129658
+ * Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that's passed to it.)
129659
+ * Whereas the original `PowerPoint.PlaceholderFormat` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.PlaceholderFormatData`) that contains shallow copies of any loaded child properties from the original object.
129660
+ */
129661
+ toJSON(): PowerPoint.Interfaces.PlaceholderFormatData;
129662
+ }
129456
129663
  /**
129457
129664
  * Represents a single hyperlink.
129458
129665
  *
@@ -132767,6 +132974,15 @@ declare namespace PowerPoint {
132767
132974
  * @beta
132768
132975
  */
132769
132976
  readonly parentGroup: PowerPoint.Shape;
132977
+ /**
132978
+ * Returns the properties that apply specifically to this placeholder.
132979
+ If the shape type isn't `placeholder`, then this method returns the `GeneralException` error.
132980
+ *
132981
+ * @remarks
132982
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
132983
+ * @beta
132984
+ */
132985
+ readonly placeholderFormat: PowerPoint.PlaceholderFormat;
132770
132986
  /**
132771
132987
  * Returns a collection of tags in the shape.
132772
132988
  *
@@ -133952,6 +134168,26 @@ declare namespace PowerPoint {
133952
134168
  interface CustomXmlPartCollectionData {
133953
134169
  items?: PowerPoint.Interfaces.CustomXmlPartData[];
133954
134170
  }
134171
+ /** An interface describing the data returned by calling `placeholderFormat.toJSON()`. */
134172
+ interface PlaceholderFormatData {
134173
+ /**
134174
+ * Gets the type of the shape contained within the placeholder. See {@link PowerPoint.ShapeType} for details.
134175
+ Returns `null` if the placeholder is empty.
134176
+ *
134177
+ * @remarks
134178
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
134179
+ * @beta
134180
+ */
134181
+ containedType?: ShapeType | null;
134182
+ /**
134183
+ * Returns the type of this placeholder. See {@link PowerPoint.PlaceholderType} for details.
134184
+ *
134185
+ * @remarks
134186
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
134187
+ * @beta
134188
+ */
134189
+ type?: PowerPoint.PlaceholderType | "Unsupported" | "Date" | "SlideNumber" | "Footer" | "Header" | "Title" | "Body" | "CenterTitle" | "Subtitle" | "VerticalTitle" | "VerticalBody" | "Content" | "Chart" | "Table" | "OnlinePicture" | "SmartArt" | "Media" | "VerticalContent" | "Picture" | "Cameo";
134190
+ }
133955
134191
  /** An interface describing the data returned by calling `hyperlink.toJSON()`. */
133956
134192
  interface HyperlinkData {
133957
134193
  /**
@@ -134588,6 +134824,36 @@ declare namespace PowerPoint {
134588
134824
  */
134589
134825
  namespaceUri?: boolean;
134590
134826
  }
134827
+ /**
134828
+ * Represents the properties of a `placeholder` shape.
134829
+ *
134830
+ * @remarks
134831
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
134832
+ * @beta
134833
+ */
134834
+ interface PlaceholderFormatLoadOptions {
134835
+ /**
134836
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
134837
+ */
134838
+ $all?: boolean;
134839
+ /**
134840
+ * Gets the type of the shape contained within the placeholder. See {@link PowerPoint.ShapeType} for details.
134841
+ Returns `null` if the placeholder is empty.
134842
+ *
134843
+ * @remarks
134844
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
134845
+ * @beta
134846
+ */
134847
+ containedType?: boolean;
134848
+ /**
134849
+ * Returns the type of this placeholder. See {@link PowerPoint.PlaceholderType} for details.
134850
+ *
134851
+ * @remarks
134852
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
134853
+ * @beta
134854
+ */
134855
+ type?: boolean;
134856
+ }
134591
134857
  /**
134592
134858
  * Represents a single hyperlink.
134593
134859
  *
@@ -134739,43 +135005,52 @@ declare namespace PowerPoint {
134739
135005
  */
134740
135006
  $all?: boolean;
134741
135007
  /**
134742
- * For EACH ITEM in the collection: Returns the fill formatting of this shape.
134743
- *
134744
- * @remarks
134745
- * [Api set: PowerPointApi 1.4]
134746
- */
135008
+ * For EACH ITEM in the collection: Returns the fill formatting of this shape.
135009
+ *
135010
+ * @remarks
135011
+ * [Api set: PowerPointApi 1.4]
135012
+ */
134747
135013
  fill?: PowerPoint.Interfaces.ShapeFillLoadOptions;
134748
135014
  /**
134749
- * For EACH ITEM in the collection: Returns the `ShapeGroup` associated with the shape.
135015
+ * For EACH ITEM in the collection: Returns the `ShapeGroup` associated with the shape.
134750
135016
  If the shape type isn't `group`, then this method returns the `GeneralException` error.
134751
- *
134752
- * @remarks
134753
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
134754
- * @beta
134755
- */
135017
+ *
135018
+ * @remarks
135019
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
135020
+ * @beta
135021
+ */
134756
135022
  group?: PowerPoint.Interfaces.ShapeGroupLoadOptions;
134757
135023
  /**
134758
- * For EACH ITEM in the collection: Returns the line formatting of this shape.
134759
- *
134760
- * @remarks
134761
- * [Api set: PowerPointApi 1.4]
134762
- */
135024
+ * For EACH ITEM in the collection: Returns the line formatting of this shape.
135025
+ *
135026
+ * @remarks
135027
+ * [Api set: PowerPointApi 1.4]
135028
+ */
134763
135029
  lineFormat?: PowerPoint.Interfaces.ShapeLineFormatLoadOptions;
134764
135030
  /**
134765
- * For EACH ITEM in the collection: Returns the parent group of this shape.
135031
+ * For EACH ITEM in the collection: Returns the parent group of this shape.
134766
135032
  If the shape isn't part of a group, then this method returns the `GeneralException` error.
134767
- *
134768
- * @remarks
134769
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
134770
- * @beta
134771
- */
135033
+ *
135034
+ * @remarks
135035
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
135036
+ * @beta
135037
+ */
134772
135038
  parentGroup?: PowerPoint.Interfaces.ShapeLoadOptions;
134773
135039
  /**
134774
- * For EACH ITEM in the collection: Returns the text frame object of this shape.
134775
- *
134776
- * @remarks
134777
- * [Api set: PowerPointApi 1.4]
134778
- */
135040
+ * For EACH ITEM in the collection: Returns the properties that apply specifically to this placeholder.
135041
+ If the shape type isn't `placeholder`, then this method returns the `GeneralException` error.
135042
+ *
135043
+ * @remarks
135044
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
135045
+ * @beta
135046
+ */
135047
+ placeholderFormat?: PowerPoint.Interfaces.PlaceholderFormatLoadOptions;
135048
+ /**
135049
+ * For EACH ITEM in the collection: Returns the text frame object of this shape.
135050
+ *
135051
+ * @remarks
135052
+ * [Api set: PowerPointApi 1.4]
135053
+ */
134779
135054
  textFrame?: PowerPoint.Interfaces.TextFrameLoadOptions;
134780
135055
  /**
134781
135056
  * For EACH ITEM in the collection: Specifies the height, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative value.
@@ -135040,43 +135315,52 @@ declare namespace PowerPoint {
135040
135315
  */
135041
135316
  $all?: boolean;
135042
135317
  /**
135043
- * For EACH ITEM in the collection: Returns the fill formatting of this shape.
135044
- *
135045
- * @remarks
135046
- * [Api set: PowerPointApi 1.5]
135047
- */
135318
+ * For EACH ITEM in the collection: Returns the fill formatting of this shape.
135319
+ *
135320
+ * @remarks
135321
+ * [Api set: PowerPointApi 1.5]
135322
+ */
135048
135323
  fill?: PowerPoint.Interfaces.ShapeFillLoadOptions;
135049
135324
  /**
135050
- * For EACH ITEM in the collection: Returns the `ShapeGroup` associated with the shape.
135051
- If the shape type isn't `group`, then this method returns the `GeneralException` error.
135052
- *
135053
- * @remarks
135054
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
135055
- * @beta
135056
- */
135325
+ * For EACH ITEM in the collection: Returns the `ShapeGroup` associated with the shape.
135326
+ If the shape type isn't `group`, then this method returns the `GeneralException` error.
135327
+ *
135328
+ * @remarks
135329
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
135330
+ * @beta
135331
+ */
135057
135332
  group?: PowerPoint.Interfaces.ShapeGroupLoadOptions;
135058
135333
  /**
135059
- * For EACH ITEM in the collection: Returns the line formatting of this shape.
135060
- *
135061
- * @remarks
135062
- * [Api set: PowerPointApi 1.5]
135063
- */
135334
+ * For EACH ITEM in the collection: Returns the line formatting of this shape.
135335
+ *
135336
+ * @remarks
135337
+ * [Api set: PowerPointApi 1.5]
135338
+ */
135064
135339
  lineFormat?: PowerPoint.Interfaces.ShapeLineFormatLoadOptions;
135065
135340
  /**
135066
- * For EACH ITEM in the collection: Returns the parent group of this shape.
135341
+ * For EACH ITEM in the collection: Returns the parent group of this shape.
135067
135342
  If the shape isn't part of a group, then this method returns the `GeneralException` error.
135068
- *
135069
- * @remarks
135070
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
135071
- * @beta
135072
- */
135343
+ *
135344
+ * @remarks
135345
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
135346
+ * @beta
135347
+ */
135073
135348
  parentGroup?: PowerPoint.Interfaces.ShapeLoadOptions;
135074
135349
  /**
135075
- * For EACH ITEM in the collection: Returns the text frame object of this shape.
135076
- *
135077
- * @remarks
135078
- * [Api set: PowerPointApi 1.5]
135079
- */
135350
+ * For EACH ITEM in the collection: Returns the properties that apply specifically to this placeholder.
135351
+ If the shape type isn't `placeholder`, then this method returns the `GeneralException` error.
135352
+ *
135353
+ * @remarks
135354
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
135355
+ * @beta
135356
+ */
135357
+ placeholderFormat?: PowerPoint.Interfaces.PlaceholderFormatLoadOptions;
135358
+ /**
135359
+ * For EACH ITEM in the collection: Returns the text frame object of this shape.
135360
+ *
135361
+ * @remarks
135362
+ * [Api set: PowerPointApi 1.5]
135363
+ */
135080
135364
  textFrame?: PowerPoint.Interfaces.TextFrameLoadOptions;
135081
135365
  /**
135082
135366
  * For EACH ITEM in the collection: Specifies the height, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative value.
@@ -135406,43 +135690,52 @@ declare namespace PowerPoint {
135406
135690
  */
135407
135691
  $all?: boolean;
135408
135692
  /**
135409
- * Returns the fill formatting of this shape.
135410
- *
135411
- * @remarks
135412
- * [Api set: PowerPointApi 1.4]
135413
- */
135693
+ * Returns the fill formatting of this shape.
135694
+ *
135695
+ * @remarks
135696
+ * [Api set: PowerPointApi 1.4]
135697
+ */
135414
135698
  fill?: PowerPoint.Interfaces.ShapeFillLoadOptions;
135415
135699
  /**
135416
- * Returns the `ShapeGroup` associated with the shape.
135700
+ * Returns the `ShapeGroup` associated with the shape.
135417
135701
  If the shape type isn't `group`, then this method returns the `GeneralException` error.
135418
- *
135419
- * @remarks
135420
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
135421
- * @beta
135422
- */
135702
+ *
135703
+ * @remarks
135704
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
135705
+ * @beta
135706
+ */
135423
135707
  group?: PowerPoint.Interfaces.ShapeGroupLoadOptions;
135424
135708
  /**
135425
- * Returns the line formatting of this shape.
135426
- *
135427
- * @remarks
135428
- * [Api set: PowerPointApi 1.4]
135429
- */
135709
+ * Returns the line formatting of this shape.
135710
+ *
135711
+ * @remarks
135712
+ * [Api set: PowerPointApi 1.4]
135713
+ */
135430
135714
  lineFormat?: PowerPoint.Interfaces.ShapeLineFormatLoadOptions;
135431
135715
  /**
135432
- * Returns the parent group of this shape.
135716
+ * Returns the parent group of this shape.
135433
135717
  If the shape isn't part of a group, then this method returns the `GeneralException` error.
135434
- *
135435
- * @remarks
135436
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
135437
- * @beta
135438
- */
135718
+ *
135719
+ * @remarks
135720
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
135721
+ * @beta
135722
+ */
135439
135723
  parentGroup?: PowerPoint.Interfaces.ShapeLoadOptions;
135440
135724
  /**
135441
- * Returns the text frame object of this shape.
135442
- *
135443
- * @remarks
135444
- * [Api set: PowerPointApi 1.4]
135445
- */
135725
+ * Returns the properties that apply specifically to this placeholder.
135726
+ If the shape type isn't `placeholder`, then this method returns the `GeneralException` error.
135727
+ *
135728
+ * @remarks
135729
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
135730
+ * @beta
135731
+ */
135732
+ placeholderFormat?: PowerPoint.Interfaces.PlaceholderFormatLoadOptions;
135733
+ /**
135734
+ * Returns the text frame object of this shape.
135735
+ *
135736
+ * @remarks
135737
+ * [Api set: PowerPointApi 1.4]
135738
+ */
135446
135739
  textFrame?: PowerPoint.Interfaces.TextFrameLoadOptions;
135447
135740
  /**
135448
135741
  * Specifies the height, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative value.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.551",
3
+ "version": "1.0.553",
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": "d7d39afd06efc4547be5b721d15d1268bf7476782e34ed66f5a1221a43fb4db4",
49
+ "typesPublisherContentHash": "c38c6f15ff95ad31f5fe083a9497e688f7295fd34e28ccc4c991f18b223b060b",
50
50
  "typeScriptVersion": "5.0",
51
51
  "nonNpm": true
52
52
  }