@types/office-js-preview 1.0.552 → 1.0.554

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: Fri, 31 Jan 2025 18:02:56 GMT
11
+ * Last updated: Wed, 05 Feb 2025 23:02:38 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -22995,7 +22995,7 @@ declare namespace Office {
22995
22995
  /**
22996
22996
  * Provides methods to manage an item's session data.
22997
22997
  *
22998
- * **Important**: The entire SessionData object is limited to 50,000 characters per add-in.
22998
+ * Session data is specific to a single mail item. It isn't shared among multiple items even if the same add-in is used to set or retrieve data.
22999
22999
  *
23000
23000
  * @remarks
23001
23001
  * [Api set: Mailbox 1.11]
@@ -23003,6 +23003,8 @@ declare namespace Office {
23003
23003
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
23004
23004
  *
23005
23005
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
23006
+ *
23007
+ * **Important**: For each mail item, the entire SessionData object is limited to 50,000 characters per add-in.
23006
23008
  */
23007
23009
  interface SessionData {
23008
23010
  /**
@@ -23048,7 +23050,7 @@ declare namespace Office {
23048
23050
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter,
23049
23051
  * `asyncResult`, which is an `Office.AsyncResult` object.
23050
23052
  */
23051
- getAllAsync(callback: (asyncResult: Office.AsyncResult<string>) => void): void;
23053
+ getAllAsync(callback: (asyncResult: Office.AsyncResult<object>) => void): void;
23052
23054
  /**
23053
23055
  * Gets the session data value of the specified key.
23054
23056
  *
@@ -23099,15 +23101,15 @@ declare namespace Office {
23099
23101
  /**
23100
23102
  * Sets a session data key-value pair.
23101
23103
  *
23102
- * **Important**: The entire SessionData object is limited to 50,000 characters per add-in.
23103
- *
23104
23104
  * @remarks
23105
23105
  * [Api set: Mailbox 1.11]
23106
23106
  *
23107
23107
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
23108
23108
  *
23109
23109
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
23110
-
23110
+ *
23111
+ * **Important**: For each mail item, the entire SessionData object is limited to 50,000 characters per add-in.
23112
+ *
23111
23113
  * @param name - The session data key.
23112
23114
  * @param value - The session data value as a string.
23113
23115
  * @param options - An object literal that contains one or more of the following properties:-
@@ -23119,15 +23121,15 @@ declare namespace Office {
23119
23121
  /**
23120
23122
  * Sets a session data key-value pair.
23121
23123
  *
23122
- * **Important**: The entire SessionData object is limited to 50,000 characters per add-in.
23123
- *
23124
23124
  * @remarks
23125
23125
  * [Api set: Mailbox 1.11]
23126
23126
  *
23127
23127
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
23128
23128
  *
23129
23129
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
23130
-
23130
+ *
23131
+ * **Important**: For each mail item, the entire SessionData object is limited to 50,000 characters per add-in.
23132
+ *
23131
23133
  * @param name - The session data key.
23132
23134
  * @param value - The session data value as a string.
23133
23135
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
@@ -129335,6 +129337,155 @@ declare namespace PowerPoint {
129335
129337
  */
129336
129338
  toJSON(): PowerPoint.Interfaces.CustomXmlPartCollectionData;
129337
129339
  }
129340
+ /**
129341
+ * Specifies the type of a placeholder.
129342
+ *
129343
+ * @remarks
129344
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129345
+ * @beta
129346
+ */
129347
+ enum PlaceholderType {
129348
+ /**
129349
+ * The placeholder is unsupported.
129350
+ * @remarks
129351
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129352
+ * @beta
129353
+ */
129354
+ unsupported = "Unsupported",
129355
+ /**
129356
+ * The placeholder is for a date.
129357
+ * @remarks
129358
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129359
+ * @beta
129360
+ */
129361
+ date = "Date",
129362
+ /**
129363
+ * The placeholder is for a slide number.
129364
+ * @remarks
129365
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129366
+ * @beta
129367
+ */
129368
+ slideNumber = "SlideNumber",
129369
+ /**
129370
+ * The placeholder is for a footer.
129371
+ * @remarks
129372
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129373
+ * @beta
129374
+ */
129375
+ footer = "Footer",
129376
+ /**
129377
+ * The placeholder is for a header.
129378
+ * @remarks
129379
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129380
+ * @beta
129381
+ */
129382
+ header = "Header",
129383
+ /**
129384
+ * The placeholder is for a title.
129385
+ * @remarks
129386
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129387
+ * @beta
129388
+ */
129389
+ title = "Title",
129390
+ /**
129391
+ * The placeholder is for a body.
129392
+ * @remarks
129393
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129394
+ * @beta
129395
+ */
129396
+ body = "Body",
129397
+ /**
129398
+ * The placeholder is for a center title.
129399
+ * @remarks
129400
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129401
+ * @beta
129402
+ */
129403
+ centerTitle = "CenterTitle",
129404
+ /**
129405
+ * The placeholder is for a subtitle.
129406
+ * @remarks
129407
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129408
+ * @beta
129409
+ */
129410
+ subtitle = "Subtitle",
129411
+ /**
129412
+ * The placeholder is for a vertical title.
129413
+ * @remarks
129414
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129415
+ * @beta
129416
+ */
129417
+ verticalTitle = "VerticalTitle",
129418
+ /**
129419
+ * The placeholder is for a vertical body.
129420
+ * @remarks
129421
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129422
+ * @beta
129423
+ */
129424
+ verticalBody = "VerticalBody",
129425
+ /**
129426
+ * The placeholder is for generic content.
129427
+ * @remarks
129428
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129429
+ * @beta
129430
+ */
129431
+ content = "Content",
129432
+ /**
129433
+ * The placeholder is for a chart.
129434
+ * @remarks
129435
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129436
+ * @beta
129437
+ */
129438
+ chart = "Chart",
129439
+ /**
129440
+ * The placeholder is for a table.
129441
+ * @remarks
129442
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129443
+ * @beta
129444
+ */
129445
+ table = "Table",
129446
+ /**
129447
+ * The placeholder is for an online picture.
129448
+ * @remarks
129449
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129450
+ * @beta
129451
+ */
129452
+ onlinePicture = "OnlinePicture",
129453
+ /**
129454
+ * The placeholder is for a SmartArt.
129455
+ * @remarks
129456
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129457
+ * @beta
129458
+ */
129459
+ smartArt = "SmartArt",
129460
+ /**
129461
+ * The placeholder is for media.
129462
+ * @remarks
129463
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129464
+ * @beta
129465
+ */
129466
+ media = "Media",
129467
+ /**
129468
+ * The placeholder is for generic vertical content.
129469
+ * @remarks
129470
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129471
+ * @beta
129472
+ */
129473
+ verticalContent = "VerticalContent",
129474
+ /**
129475
+ * The placeholder is for a picture.
129476
+ * @remarks
129477
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129478
+ * @beta
129479
+ */
129480
+ picture = "Picture",
129481
+ /**
129482
+ * The placeholder is for a cameo.
129483
+ * @remarks
129484
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129485
+ * @beta
129486
+ */
129487
+ cameo = "Cameo",
129488
+ }
129338
129489
  /**
129339
129490
  * Specifies the type of a shape.
129340
129491
  *
@@ -129457,6 +129608,60 @@ declare namespace PowerPoint {
129457
129608
  */
129458
129609
  textBox = "TextBox",
129459
129610
  }
129611
+ /**
129612
+ * Represents the properties of a `placeholder` shape.
129613
+ *
129614
+ * @remarks
129615
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129616
+ * @beta
129617
+ */
129618
+ class PlaceholderFormat extends OfficeExtension.ClientObject {
129619
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
129620
+ context: RequestContext;
129621
+ /**
129622
+ * Gets the type of the shape contained within the placeholder. See {@link PowerPoint.ShapeType} for details.
129623
+ Returns `null` if the placeholder is empty.
129624
+ *
129625
+ * @remarks
129626
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129627
+ * @beta
129628
+ */
129629
+ readonly containedType: ShapeType | null;
129630
+ /**
129631
+ * Returns the type of this placeholder. See {@link PowerPoint.PlaceholderType} for details.
129632
+ *
129633
+ * @remarks
129634
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
129635
+ * @beta
129636
+ */
129637
+ readonly type: PowerPoint.PlaceholderType | "Unsupported" | "Date" | "SlideNumber" | "Footer" | "Header" | "Title" | "Body" | "CenterTitle" | "Subtitle" | "VerticalTitle" | "VerticalBody" | "Content" | "Chart" | "Table" | "OnlinePicture" | "SmartArt" | "Media" | "VerticalContent" | "Picture" | "Cameo";
129638
+ /**
129639
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
129640
+ *
129641
+ * @param options Provides options for which properties of the object to load.
129642
+ */
129643
+ load(options?: PowerPoint.Interfaces.PlaceholderFormatLoadOptions): PowerPoint.PlaceholderFormat;
129644
+ /**
129645
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
129646
+ *
129647
+ * @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
129648
+ */
129649
+ load(propertyNames?: string | string[]): PowerPoint.PlaceholderFormat;
129650
+ /**
129651
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
129652
+ *
129653
+ * @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.
129654
+ */
129655
+ load(propertyNamesAndPaths?: {
129656
+ select?: string;
129657
+ expand?: string;
129658
+ }): PowerPoint.PlaceholderFormat;
129659
+ /**
129660
+ * 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.)
129661
+ * 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.
129662
+ */
129663
+ toJSON(): PowerPoint.Interfaces.PlaceholderFormatData;
129664
+ }
129460
129665
  /**
129461
129666
  * Represents a single hyperlink.
129462
129667
  *
@@ -132771,6 +132976,15 @@ declare namespace PowerPoint {
132771
132976
  * @beta
132772
132977
  */
132773
132978
  readonly parentGroup: PowerPoint.Shape;
132979
+ /**
132980
+ * Returns the properties that apply specifically to this placeholder.
132981
+ If the shape type isn't `placeholder`, then this method returns the `GeneralException` error.
132982
+ *
132983
+ * @remarks
132984
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
132985
+ * @beta
132986
+ */
132987
+ readonly placeholderFormat: PowerPoint.PlaceholderFormat;
132774
132988
  /**
132775
132989
  * Returns a collection of tags in the shape.
132776
132990
  *
@@ -133956,6 +134170,26 @@ declare namespace PowerPoint {
133956
134170
  interface CustomXmlPartCollectionData {
133957
134171
  items?: PowerPoint.Interfaces.CustomXmlPartData[];
133958
134172
  }
134173
+ /** An interface describing the data returned by calling `placeholderFormat.toJSON()`. */
134174
+ interface PlaceholderFormatData {
134175
+ /**
134176
+ * Gets the type of the shape contained within the placeholder. See {@link PowerPoint.ShapeType} for details.
134177
+ Returns `null` if the placeholder is empty.
134178
+ *
134179
+ * @remarks
134180
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
134181
+ * @beta
134182
+ */
134183
+ containedType?: ShapeType | null;
134184
+ /**
134185
+ * Returns the type of this placeholder. See {@link PowerPoint.PlaceholderType} for details.
134186
+ *
134187
+ * @remarks
134188
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
134189
+ * @beta
134190
+ */
134191
+ type?: PowerPoint.PlaceholderType | "Unsupported" | "Date" | "SlideNumber" | "Footer" | "Header" | "Title" | "Body" | "CenterTitle" | "Subtitle" | "VerticalTitle" | "VerticalBody" | "Content" | "Chart" | "Table" | "OnlinePicture" | "SmartArt" | "Media" | "VerticalContent" | "Picture" | "Cameo";
134192
+ }
133959
134193
  /** An interface describing the data returned by calling `hyperlink.toJSON()`. */
133960
134194
  interface HyperlinkData {
133961
134195
  /**
@@ -134592,6 +134826,36 @@ declare namespace PowerPoint {
134592
134826
  */
134593
134827
  namespaceUri?: boolean;
134594
134828
  }
134829
+ /**
134830
+ * Represents the properties of a `placeholder` shape.
134831
+ *
134832
+ * @remarks
134833
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
134834
+ * @beta
134835
+ */
134836
+ interface PlaceholderFormatLoadOptions {
134837
+ /**
134838
+ 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`).
134839
+ */
134840
+ $all?: boolean;
134841
+ /**
134842
+ * Gets the type of the shape contained within the placeholder. See {@link PowerPoint.ShapeType} for details.
134843
+ Returns `null` if the placeholder is empty.
134844
+ *
134845
+ * @remarks
134846
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
134847
+ * @beta
134848
+ */
134849
+ containedType?: boolean;
134850
+ /**
134851
+ * Returns the type of this placeholder. See {@link PowerPoint.PlaceholderType} for details.
134852
+ *
134853
+ * @remarks
134854
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
134855
+ * @beta
134856
+ */
134857
+ type?: boolean;
134858
+ }
134595
134859
  /**
134596
134860
  * Represents a single hyperlink.
134597
134861
  *
@@ -134743,43 +135007,52 @@ declare namespace PowerPoint {
134743
135007
  */
134744
135008
  $all?: boolean;
134745
135009
  /**
134746
- * For EACH ITEM in the collection: Returns the fill formatting of this shape.
134747
- *
134748
- * @remarks
134749
- * [Api set: PowerPointApi 1.4]
134750
- */
135010
+ * For EACH ITEM in the collection: Returns the fill formatting of this shape.
135011
+ *
135012
+ * @remarks
135013
+ * [Api set: PowerPointApi 1.4]
135014
+ */
134751
135015
  fill?: PowerPoint.Interfaces.ShapeFillLoadOptions;
134752
135016
  /**
134753
- * For EACH ITEM in the collection: Returns the `ShapeGroup` associated with the shape.
135017
+ * For EACH ITEM in the collection: Returns the `ShapeGroup` associated with the shape.
134754
135018
  If the shape type isn't `group`, then this method returns the `GeneralException` error.
134755
- *
134756
- * @remarks
134757
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
134758
- * @beta
134759
- */
135019
+ *
135020
+ * @remarks
135021
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
135022
+ * @beta
135023
+ */
134760
135024
  group?: PowerPoint.Interfaces.ShapeGroupLoadOptions;
134761
135025
  /**
134762
- * For EACH ITEM in the collection: Returns the line formatting of this shape.
134763
- *
134764
- * @remarks
134765
- * [Api set: PowerPointApi 1.4]
134766
- */
135026
+ * For EACH ITEM in the collection: Returns the line formatting of this shape.
135027
+ *
135028
+ * @remarks
135029
+ * [Api set: PowerPointApi 1.4]
135030
+ */
134767
135031
  lineFormat?: PowerPoint.Interfaces.ShapeLineFormatLoadOptions;
134768
135032
  /**
134769
- * For EACH ITEM in the collection: Returns the parent group of this shape.
135033
+ * For EACH ITEM in the collection: Returns the parent group of this shape.
134770
135034
  If the shape isn't part of a group, then this method returns the `GeneralException` error.
134771
- *
134772
- * @remarks
134773
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
134774
- * @beta
134775
- */
135035
+ *
135036
+ * @remarks
135037
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
135038
+ * @beta
135039
+ */
134776
135040
  parentGroup?: PowerPoint.Interfaces.ShapeLoadOptions;
134777
135041
  /**
134778
- * For EACH ITEM in the collection: Returns the text frame object of this shape.
134779
- *
134780
- * @remarks
134781
- * [Api set: PowerPointApi 1.4]
134782
- */
135042
+ * For EACH ITEM in the collection: Returns the properties that apply specifically to this placeholder.
135043
+ If the shape type isn't `placeholder`, then this method returns the `GeneralException` error.
135044
+ *
135045
+ * @remarks
135046
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
135047
+ * @beta
135048
+ */
135049
+ placeholderFormat?: PowerPoint.Interfaces.PlaceholderFormatLoadOptions;
135050
+ /**
135051
+ * For EACH ITEM in the collection: Returns the text frame object of this shape.
135052
+ *
135053
+ * @remarks
135054
+ * [Api set: PowerPointApi 1.4]
135055
+ */
134783
135056
  textFrame?: PowerPoint.Interfaces.TextFrameLoadOptions;
134784
135057
  /**
134785
135058
  * For EACH ITEM in the collection: Specifies the height, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative value.
@@ -135044,43 +135317,52 @@ declare namespace PowerPoint {
135044
135317
  */
135045
135318
  $all?: boolean;
135046
135319
  /**
135047
- * For EACH ITEM in the collection: Returns the fill formatting of this shape.
135048
- *
135049
- * @remarks
135050
- * [Api set: PowerPointApi 1.5]
135051
- */
135320
+ * For EACH ITEM in the collection: Returns the fill formatting of this shape.
135321
+ *
135322
+ * @remarks
135323
+ * [Api set: PowerPointApi 1.5]
135324
+ */
135052
135325
  fill?: PowerPoint.Interfaces.ShapeFillLoadOptions;
135053
135326
  /**
135054
- * For EACH ITEM in the collection: Returns the `ShapeGroup` associated with the shape.
135055
- If the shape type isn't `group`, then this method returns the `GeneralException` error.
135056
- *
135057
- * @remarks
135058
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
135059
- * @beta
135060
- */
135327
+ * For EACH ITEM in the collection: Returns the `ShapeGroup` associated with the shape.
135328
+ If the shape type isn't `group`, then this method returns the `GeneralException` error.
135329
+ *
135330
+ * @remarks
135331
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
135332
+ * @beta
135333
+ */
135061
135334
  group?: PowerPoint.Interfaces.ShapeGroupLoadOptions;
135062
135335
  /**
135063
- * For EACH ITEM in the collection: Returns the line formatting of this shape.
135064
- *
135065
- * @remarks
135066
- * [Api set: PowerPointApi 1.5]
135067
- */
135336
+ * For EACH ITEM in the collection: Returns the line formatting of this shape.
135337
+ *
135338
+ * @remarks
135339
+ * [Api set: PowerPointApi 1.5]
135340
+ */
135068
135341
  lineFormat?: PowerPoint.Interfaces.ShapeLineFormatLoadOptions;
135069
135342
  /**
135070
- * For EACH ITEM in the collection: Returns the parent group of this shape.
135343
+ * For EACH ITEM in the collection: Returns the parent group of this shape.
135071
135344
  If the shape isn't part of a group, then this method returns the `GeneralException` error.
135072
- *
135073
- * @remarks
135074
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
135075
- * @beta
135076
- */
135345
+ *
135346
+ * @remarks
135347
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
135348
+ * @beta
135349
+ */
135077
135350
  parentGroup?: PowerPoint.Interfaces.ShapeLoadOptions;
135078
135351
  /**
135079
- * For EACH ITEM in the collection: Returns the text frame object of this shape.
135080
- *
135081
- * @remarks
135082
- * [Api set: PowerPointApi 1.5]
135083
- */
135352
+ * For EACH ITEM in the collection: Returns the properties that apply specifically to this placeholder.
135353
+ If the shape type isn't `placeholder`, then this method returns the `GeneralException` error.
135354
+ *
135355
+ * @remarks
135356
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
135357
+ * @beta
135358
+ */
135359
+ placeholderFormat?: PowerPoint.Interfaces.PlaceholderFormatLoadOptions;
135360
+ /**
135361
+ * For EACH ITEM in the collection: Returns the text frame object of this shape.
135362
+ *
135363
+ * @remarks
135364
+ * [Api set: PowerPointApi 1.5]
135365
+ */
135084
135366
  textFrame?: PowerPoint.Interfaces.TextFrameLoadOptions;
135085
135367
  /**
135086
135368
  * For EACH ITEM in the collection: Specifies the height, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative value.
@@ -135410,43 +135692,52 @@ declare namespace PowerPoint {
135410
135692
  */
135411
135693
  $all?: boolean;
135412
135694
  /**
135413
- * Returns the fill formatting of this shape.
135414
- *
135415
- * @remarks
135416
- * [Api set: PowerPointApi 1.4]
135417
- */
135695
+ * Returns the fill formatting of this shape.
135696
+ *
135697
+ * @remarks
135698
+ * [Api set: PowerPointApi 1.4]
135699
+ */
135418
135700
  fill?: PowerPoint.Interfaces.ShapeFillLoadOptions;
135419
135701
  /**
135420
- * Returns the `ShapeGroup` associated with the shape.
135702
+ * Returns the `ShapeGroup` associated with the shape.
135421
135703
  If the shape type isn't `group`, then this method returns the `GeneralException` error.
135422
- *
135423
- * @remarks
135424
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
135425
- * @beta
135426
- */
135704
+ *
135705
+ * @remarks
135706
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
135707
+ * @beta
135708
+ */
135427
135709
  group?: PowerPoint.Interfaces.ShapeGroupLoadOptions;
135428
135710
  /**
135429
- * Returns the line formatting of this shape.
135430
- *
135431
- * @remarks
135432
- * [Api set: PowerPointApi 1.4]
135433
- */
135711
+ * Returns the line formatting of this shape.
135712
+ *
135713
+ * @remarks
135714
+ * [Api set: PowerPointApi 1.4]
135715
+ */
135434
135716
  lineFormat?: PowerPoint.Interfaces.ShapeLineFormatLoadOptions;
135435
135717
  /**
135436
- * Returns the parent group of this shape.
135718
+ * Returns the parent group of this shape.
135437
135719
  If the shape isn't part of a group, then this method returns the `GeneralException` error.
135438
- *
135439
- * @remarks
135440
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
135441
- * @beta
135442
- */
135720
+ *
135721
+ * @remarks
135722
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
135723
+ * @beta
135724
+ */
135443
135725
  parentGroup?: PowerPoint.Interfaces.ShapeLoadOptions;
135444
135726
  /**
135445
- * Returns the text frame object of this shape.
135446
- *
135447
- * @remarks
135448
- * [Api set: PowerPointApi 1.4]
135449
- */
135727
+ * Returns the properties that apply specifically to this placeholder.
135728
+ If the shape type isn't `placeholder`, then this method returns the `GeneralException` error.
135729
+ *
135730
+ * @remarks
135731
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
135732
+ * @beta
135733
+ */
135734
+ placeholderFormat?: PowerPoint.Interfaces.PlaceholderFormatLoadOptions;
135735
+ /**
135736
+ * Returns the text frame object of this shape.
135737
+ *
135738
+ * @remarks
135739
+ * [Api set: PowerPointApi 1.4]
135740
+ */
135450
135741
  textFrame?: PowerPoint.Interfaces.TextFrameLoadOptions;
135451
135742
  /**
135452
135743
  * 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.552",
3
+ "version": "1.0.554",
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": "84a63ac5be4ef919345ea4d8c26db7b31182976c67ef6d8dc2c5e1b801138a1b",
49
+ "typesPublisherContentHash": "8e374d2438112f99d6d8f4e84a978d51d22c77093b103c3289efdff1bb1aaf2e",
50
50
  "typeScriptVersion": "5.0",
51
51
  "nonNpm": true
52
52
  }