@types/office-js-preview 1.0.563 → 1.0.565

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: Tue, 25 Feb 2025 01:29:27 GMT
11
+ * Last updated: Thu, 27 Feb 2025 19:32:14 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -23435,6 +23435,73 @@ declare namespace Office {
23435
23435
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
23436
23436
  */
23437
23437
  interface SpamReportingEventCompletedOptions {
23438
+ /**
23439
+ * When you use the {@link https://learn.microsoft.com/javascript/api/outlook/office.mailboxevent#outlook-office-mailboxevent-completed-member(1) | completed method} to signal that a reported message has finished processing,
23440
+ * this property specifies the ID of the task pane that opens after the message is processed.
23441
+ *
23442
+ * @remarks
23443
+ *
23444
+ * [Api set: Mailbox preview]
23445
+ *
23446
+ * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level (Outlook)}**: **read item**
23447
+ *
23448
+ * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
23449
+ *
23450
+ * **Important**:
23451
+ *
23452
+ * - The `commandId` option is currently in preview in Outlook on the web and on Windows (new and classic). To preview this feature in classic Outlook on Windows,
23453
+ * install Version 2411 (Build 18227.20034) or later. Then, join the
23454
+ * {@link https://techcommunity.microsoft.com/blog/microsoft365insiderblog/join-the-microsoft-365-insider-program-on-windows/4206638 | Microsoft 365 Insider program}
23455
+ * and select the **Beta Channel** option. To learn how to implement this in your spam-reporting add-in, see
23456
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/spam-reporting#open-a-task-pane-after-reporting-a-message-preview | Open a task pane after reporting a message (preview)}.
23457
+ *
23458
+ * - The `commandId` value must match the task pane ID specified in the manifest of your add-in. In an add-in only manifest,
23459
+ * the ID is specified in the `id` attribute of the {@link https://learn.microsoft.com/javascript/api/manifest/control | Control} element that represents the task pane.
23460
+ * The `commandId` property isn't currently supported in a spam-reporting add-in that uses a unified manifest for Microsoft 365.
23461
+ *
23462
+ * - If you configure the `commandId` option in the `event.completed` call, a post-processing dialog isn't shown to the user
23463
+ * even if the `showPostProcessingDialog` option is specified in the call.
23464
+ *
23465
+ * - If you implement a task pane to open after a reported message is processed, when the `event.completed` call occurs, any task pane that's open or pinned is closed.
23466
+ *
23467
+ * @beta
23468
+ */
23469
+ commandId?: string;
23470
+ /**
23471
+ * When you use the {@link https://learn.microsoft.com/javascript/api/outlook/office.mailboxevent#outlook-office-mailboxevent-completed-member(1) | completed method} to signal that a reported message has finished processing,
23472
+ * this property specifies any JSON data passed to the add-in's task pane after the message is processed.
23473
+ *
23474
+ * @remarks
23475
+ *
23476
+ * [Api set: Mailbox preview]
23477
+ *
23478
+ * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level (Outlook)}**: **read item**
23479
+ *
23480
+ * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
23481
+ *
23482
+ * **Important**:
23483
+ *
23484
+ * - The `contextData` option is currently in preview in Outlook on the web and on Windows (new and classic). To preview this feature in classic Outlook on Windows,
23485
+ * install Version 2411 (Build 18227.20034) or later. Then, join the
23486
+ * {@link https://techcommunity.microsoft.com/blog/microsoft365insiderblog/join-the-microsoft-365-insider-program-on-windows/4206638 | Microsoft 365 Insider program}
23487
+ * and select the **Beta Channel** option. To learn how to implement this in your spam-reporting add-in, see
23488
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/spam-reporting#open-a-task-pane-after-reporting-a-message-preview | Open a task pane after reporting a message (preview)}.
23489
+ *
23490
+ * - If you specify the `contextData` option in your `event.completed` call, you must also assign a task pane ID to the `commandId` option.
23491
+ * Otherwise, the JSON data assigned to `contextData` is ignored.
23492
+ *
23493
+ * - If you configure the `commandId` and `contextData` options in the `event.completed` call, a post-processing dialog isn't shown to the user
23494
+ * even if the `showPostProcessingDialog` option is specified in the call.
23495
+ *
23496
+ * - If you implement a task pane to open after a reported message is processed, when the `event.completed` call occurs, any task pane that's open or pinned is closed.
23497
+ *
23498
+ * - To retrieve the value of the `contextData` property, you must call `Office.context.mailbox.item.getInitializationContextAsync` in the JavaScript implementation
23499
+ * of your task pane. If you create a JSON string using `JSON.stringify()` and assign it to the `contextData` property, you must parse the string using
23500
+ * `JSON.parse()` once you retrieve it.
23501
+ *
23502
+ * @beta
23503
+ */
23504
+ contextData?: any;
23438
23505
  /**
23439
23506
  * When you use the {@link https://learn.microsoft.com/javascript/api/outlook/office.mailboxevent#outlook-office-mailboxevent-completed-member(1) | completed method} to signal that a reported message has finished processing,
23440
23507
  * this property specifies the Outlook mailbox folder to which the message will be moved.
@@ -23477,6 +23544,9 @@ declare namespace Office {
23477
23544
  * - If the property is set to `Office.MailboxEnums.MoveSpamItemTo.CustomFolder`, you must specify the name of the folder to which
23478
23545
  * the message will be moved in the `folderName` property of the `event.completed` call. Otherwise, the `moveItemTo` property will default to
23479
23546
  * `Office.MailboxEnums.MoveSpamItemTo.JunkFolder` and move the reported message to the **Junk Email** folder.
23547
+ *
23548
+ * - If you configure the `commandId` and `contextData` options in the `event.completed` call to open a task pane after a user selects the **Report** option from the preprocessing dialog,
23549
+ * you must set the `moveItemTo` option to `Office.MailboxEnums.MoveSpamItemTo.NoMove`. Otherwise, the task pane won't open.
23480
23550
  */
23481
23551
  moveItemTo?: MailboxEnums.MoveSpamItemTo;
23482
23552
  /**
@@ -23538,6 +23608,9 @@ declare namespace Office {
23538
23608
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level (Outlook)}**: **read item**
23539
23609
  *
23540
23610
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
23611
+ *
23612
+ * **Important**: If you configure the `commandId` and `contextData` options in the `event.completed` call to open a task pane after a user selects the **Report** option from the preprocessing dialog,
23613
+ * a post-processing dialog isn't shown to the user. This behavior applies even if the `showPostProcessingDialog` is specified in the `event.completed` call.
23541
23614
  */
23542
23615
  showPostProcessingDialog?: object;
23543
23616
  }
@@ -133476,7 +133549,27 @@ declare namespace PowerPoint {
133476
133549
  /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
133477
133550
  context: RequestContext;
133478
133551
  /**
133479
- * Specifies the bold status of font. Returns `null` if the `TextRange` contains both bold and non-bold text fragments.
133552
+ * Specifies whether the text in the `TextRange` is set to use the **All Caps** attribute which makes lowercase letters appear as uppercase letters. The possible values are as follows:
133553
+ *
133554
+ * - `true`: All the text has the **All Caps** attribute.
133555
+ *
133556
+ * - `false`: None of the text has the **All Caps** attribute.
133557
+ *
133558
+ * - `null`: Returned if some, but not all, of the text has the **All Caps** attribute.
133559
+ *
133560
+ * @remarks
133561
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
133562
+ * @beta
133563
+ */
133564
+ allCaps: boolean | null;
133565
+ /**
133566
+ * Specifies whether the text in the `TextRange` is set to bold. The possible values are as follows:
133567
+ *
133568
+ * - `true`: All the text is bold.
133569
+ *
133570
+ * - `false`: None of the text is bold.
133571
+ *
133572
+ * - `null`: Returned if some, but not all, of the text is bold.
133480
133573
  *
133481
133574
  * @remarks
133482
133575
  * [Api set: PowerPointApi 1.4]
@@ -133490,7 +133583,27 @@ declare namespace PowerPoint {
133490
133583
  */
133491
133584
  color: string | null;
133492
133585
  /**
133493
- * Specifies the italic status of font. Returns 'null' if the 'TextRange' contains both italic and non-italic text fragments.
133586
+ * Specifies whether the text in the `TextRange` is set to use the **Double strikethrough** attribute. The possible values are as follows:
133587
+ *
133588
+ * - `true`: All the text has the **Double strikethrough** attribute.
133589
+ *
133590
+ * - `false`: None of the text has the **Double strikethrough** attribute.
133591
+ *
133592
+ * - `null`: Returned if some, but not all, of the text has the **Double strikethrough** attribute.
133593
+ *
133594
+ * @remarks
133595
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
133596
+ * @beta
133597
+ */
133598
+ doubleStrikethrough: boolean | null;
133599
+ /**
133600
+ * Specifies whether the text in the `TextRange` is set to italic. The possible values are as follows:
133601
+ *
133602
+ * - `true`: All the text is italicized.
133603
+ *
133604
+ * - `false`: None of the text is italicized.
133605
+ *
133606
+ * - `null`: Returned if some, but not all, of the text is italicized.
133494
133607
  *
133495
133608
  * @remarks
133496
133609
  * [Api set: PowerPointApi 1.4]
@@ -133510,6 +133623,62 @@ declare namespace PowerPoint {
133510
133623
  * [Api set: PowerPointApi 1.4]
133511
133624
  */
133512
133625
  size: number | null;
133626
+ /**
133627
+ * Specifies whether the text in the `TextRange` is set to use the **Small Caps** attribute which makes lowercase letters appear as small uppercase letters. The possible values are as follows:
133628
+ *
133629
+ * - `true`: All the text has the **Small Caps** attribute.
133630
+ *
133631
+ * - `false`: None of the text has the **Small Caps** attribute.
133632
+ *
133633
+ * - `null`: Returned if some, but not all, of the text has the **Small Caps** attribute.
133634
+ *
133635
+ * @remarks
133636
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
133637
+ * @beta
133638
+ */
133639
+ smallCaps: boolean | null;
133640
+ /**
133641
+ * Specifies whether the text in the `TextRange` is set to use the **Strikethrough** attribute. The possible values are as follows:
133642
+ *
133643
+ * - `true`: All the text has the **Strikethrough** attribute.
133644
+ *
133645
+ * - `false`: None of the text has the **Strikethrough** attribute.
133646
+ *
133647
+ * - `null`: Returned if some, but not all, of the text has the **Strikethrough** attribute.
133648
+ *
133649
+ * @remarks
133650
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
133651
+ * @beta
133652
+ */
133653
+ strikethrough: boolean | null;
133654
+ /**
133655
+ * Specifies whether the text in the `TextRange` is set to use the **Subscript** attribute. The possible values are as follows:
133656
+ *
133657
+ * - `true`: All the text has the **Subscript** attribute.
133658
+ *
133659
+ * - `false`: None of the text has the **Subscript** attribute.
133660
+ *
133661
+ * - `null`: Returned if some, but not all, of the text has the **Subscript** attribute.
133662
+ *
133663
+ * @remarks
133664
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
133665
+ * @beta
133666
+ */
133667
+ subscript: boolean | null;
133668
+ /**
133669
+ * Specifies whether the text in the `TextRange` is set to use the **Superscript** attribute. The possible values are as follows:
133670
+ *
133671
+ * - `true`: All the text has the **Superscript** attribute.
133672
+ *
133673
+ * - `false`: None of the text has the **Superscript** attribute.
133674
+ *
133675
+ * - `null`: Returned if some, but not all, of the text has the **Superscript** attribute.
133676
+ *
133677
+ * @remarks
133678
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
133679
+ * @beta
133680
+ */
133681
+ superscript: boolean | null;
133513
133682
  /**
133514
133683
  * Specifies the type of underline applied to the font. Returns `null` if the `TextRange` contains text fragments with different underline styles. See {@link PowerPoint.ShapeFontUnderlineStyle} for details.
133515
133684
  *
@@ -135998,7 +136167,27 @@ declare namespace PowerPoint {
135998
136167
  /** An interface for updating data on the `ShapeFont` object, for use in `shapeFont.set({ ... })`. */
135999
136168
  interface ShapeFontUpdateData {
136000
136169
  /**
136001
- * Specifies the bold status of font. Returns `null` if the `TextRange` contains both bold and non-bold text fragments.
136170
+ * Specifies whether the text in the `TextRange` is set to use the **All Caps** attribute which makes lowercase letters appear as uppercase letters. The possible values are as follows:
136171
+ *
136172
+ * - `true`: All the text has the **All Caps** attribute.
136173
+ *
136174
+ * - `false`: None of the text has the **All Caps**attribute.
136175
+ *
136176
+ * - `null`: Some, but not all, of the text has the **All Caps** attribute.
136177
+ *
136178
+ * @remarks
136179
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
136180
+ * @beta
136181
+ */
136182
+ allCaps?: boolean | null;
136183
+ /**
136184
+ * Specifies whether the text in the `TextRange` is set to bold. The possible values are as follows:
136185
+ *
136186
+ * - `true`: All the text is bold.
136187
+ *
136188
+ * - `false`: None of the text is bold.
136189
+ *
136190
+ * - `null`: Returned if some, but not all, of the text is bold.
136002
136191
  *
136003
136192
  * @remarks
136004
136193
  * [Api set: PowerPointApi 1.4]
@@ -136012,7 +136201,27 @@ declare namespace PowerPoint {
136012
136201
  */
136013
136202
  color?: string | null;
136014
136203
  /**
136015
- * Specifies the italic status of font. Returns 'null' if the 'TextRange' contains both italic and non-italic text fragments.
136204
+ * Specifies whether the text in the `TextRange` is set to use the **Double strikethrough** attribute. The possible values are as follows:
136205
+ *
136206
+ * - `true`: All the text has the **Double strikethrough** attribute.
136207
+ *
136208
+ * - `false`: None of the text has the **Double strikethrough** attribute.
136209
+ *
136210
+ * - `null`: Returned if some, but not all, of the text has the **Double strikethrough** attribute.
136211
+ *
136212
+ * @remarks
136213
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
136214
+ * @beta
136215
+ */
136216
+ doubleStrikethrough?: boolean | null;
136217
+ /**
136218
+ * Specifies whether the text in the `TextRange` is set to italic. The possible values are as follows:
136219
+ *
136220
+ * - `true`: All the text is italicized.
136221
+ *
136222
+ * - `false`: None of the text is italicized.
136223
+ *
136224
+ * - `null`: Returned if some, but not all, of the text is italicized.
136016
136225
  *
136017
136226
  * @remarks
136018
136227
  * [Api set: PowerPointApi 1.4]
@@ -136032,6 +136241,62 @@ declare namespace PowerPoint {
136032
136241
  * [Api set: PowerPointApi 1.4]
136033
136242
  */
136034
136243
  size?: number | null;
136244
+ /**
136245
+ * Specifies whether the text in the `TextRange` is set to use the **Small Caps** attribute which makes lowercase letters appear as small uppercase letters. The possible values are as follows:
136246
+ *
136247
+ * - `true`: All the text has the **Small Caps** attribute.
136248
+ *
136249
+ * - `false`: None of the text has the **Small Caps** attribute.
136250
+ *
136251
+ * - `null`: Returned if some, but not all, of the text has the **Small Caps** attribute.
136252
+ *
136253
+ * @remarks
136254
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
136255
+ * @beta
136256
+ */
136257
+ smallCaps?: boolean | null;
136258
+ /**
136259
+ * Specifies whether the text in the `TextRange` is set to use the **Strikethrough** attribute. The possible values are as follows:
136260
+ *
136261
+ * - `true`: All the text has the **Strikethrough** attribute.
136262
+ *
136263
+ * - `false`: None of the text has the **Strikethrough** attribute.
136264
+ *
136265
+ * - `null`: Returned if some, but not all, of the text has the **Strikethrough** attribute.
136266
+ *
136267
+ * @remarks
136268
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
136269
+ * @beta
136270
+ */
136271
+ strikethrough?: boolean | null;
136272
+ /**
136273
+ * Specifies whether the text in the `TextRange` is set to use the **Subscript** attribute. The possible values are as follows:
136274
+ *
136275
+ * - `true`: All the text has the **Subscript** attribute.
136276
+ *
136277
+ * - `false`: None of the text has the **Subscript** attribute.
136278
+ *
136279
+ * - `null`: Returned if some, but not all, of the text has the **Subscript** attribute.
136280
+ *
136281
+ * @remarks
136282
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
136283
+ * @beta
136284
+ */
136285
+ subscript?: boolean | null;
136286
+ /**
136287
+ * Specifies whether the text in the `TextRange` is set to use the **Superscript** attribute. The possible values are as follows:
136288
+ *
136289
+ * - `true`: All the text has the **Superscript** attribute.
136290
+ *
136291
+ * - `false`: None of the text has the **Superscript** attribute.
136292
+ *
136293
+ * - `null`: Returned if some, but not all, of the text has the **Superscript** attribute.
136294
+ *
136295
+ * @remarks
136296
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
136297
+ * @beta
136298
+ */
136299
+ superscript?: boolean | null;
136035
136300
  /**
136036
136301
  * Specifies the type of underline applied to the font. Returns `null` if the `TextRange` contains text fragments with different underline styles. See {@link PowerPoint.ShapeFontUnderlineStyle} for details.
136037
136302
  *
@@ -136444,7 +136709,27 @@ declare namespace PowerPoint {
136444
136709
  /** An interface describing the data returned by calling `shapeFont.toJSON()`. */
136445
136710
  interface ShapeFontData {
136446
136711
  /**
136447
- * Specifies the bold status of font. Returns `null` if the `TextRange` contains both bold and non-bold text fragments.
136712
+ * Specifies whether the text in the `TextRange` is set to use the **All Caps** attribute which makes lowercase letters appear as uppercase letters. The possible values are as follows:
136713
+ *
136714
+ * - `true`: All the text has the **All Caps** attribute.
136715
+ *
136716
+ * - `false`: None of the text has the **All Caps**attribute.
136717
+ *
136718
+ * - `null`: Some, but not all, of the text has the **All Caps** attribute.
136719
+ *
136720
+ * @remarks
136721
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
136722
+ * @beta
136723
+ */
136724
+ allCaps?: boolean | null;
136725
+ /**
136726
+ * Specifies whether the text in the `TextRange` is set to bold. The possible values are as follows:
136727
+ *
136728
+ * - `true`: All the text is bold.
136729
+ *
136730
+ * - `false`: None of the text is bold.
136731
+ *
136732
+ * - `null`: Returned if some, but not all, of the text is bold.
136448
136733
  *
136449
136734
  * @remarks
136450
136735
  * [Api set: PowerPointApi 1.4]
@@ -136458,7 +136743,27 @@ declare namespace PowerPoint {
136458
136743
  */
136459
136744
  color?: string | null;
136460
136745
  /**
136461
- * Specifies the italic status of font. Returns 'null' if the 'TextRange' contains both italic and non-italic text fragments.
136746
+ * Specifies whether the text in the `TextRange` is set to use the **Double strikethrough** attribute. The possible values are as follows:
136747
+ *
136748
+ * - `true`: All the text has the **Double strikethrough** attribute.
136749
+ *
136750
+ * - `false`: None of the text has the **Double strikethrough** attribute.
136751
+ *
136752
+ * - `null`: Returned if some, but not all, of the text has the **Double strikethrough** attribute.
136753
+ *
136754
+ * @remarks
136755
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
136756
+ * @beta
136757
+ */
136758
+ doubleStrikethrough?: boolean | null;
136759
+ /**
136760
+ * Specifies whether the text in the `TextRange` is set to italic. The possible values are as follows:
136761
+ *
136762
+ * - `true`: All the text is italicized.
136763
+ *
136764
+ * - `false`: None of the text is italicized.
136765
+ *
136766
+ * - `null`: Returned if some, but not all, of the text is italicized.
136462
136767
  *
136463
136768
  * @remarks
136464
136769
  * [Api set: PowerPointApi 1.4]
@@ -136478,6 +136783,62 @@ declare namespace PowerPoint {
136478
136783
  * [Api set: PowerPointApi 1.4]
136479
136784
  */
136480
136785
  size?: number | null;
136786
+ /**
136787
+ * Specifies whether the text in the `TextRange` is set to use the **Small Caps** attribute which makes lowercase letters appear as small uppercase letters. The possible values are as follows:
136788
+ *
136789
+ * - `true`: All the text has the **Small Caps** attribute.
136790
+ *
136791
+ * - `false`: None of the text has the **Small Caps** attribute.
136792
+ *
136793
+ * - `null`: Returned if some, but not all, of the text has the **Small Caps** attribute.
136794
+ *
136795
+ * @remarks
136796
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
136797
+ * @beta
136798
+ */
136799
+ smallCaps?: boolean | null;
136800
+ /**
136801
+ * Specifies whether the text in the `TextRange` is set to use the **Strikethrough** attribute. The possible values are as follows:
136802
+ *
136803
+ * - `true`: All the text has the **Strikethrough** attribute.
136804
+ *
136805
+ * - `false`: None of the text has the **Strikethrough** attribute.
136806
+ *
136807
+ * - `null`: Returned if some, but not all, of the text has the **Strikethrough** attribute.
136808
+ *
136809
+ * @remarks
136810
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
136811
+ * @beta
136812
+ */
136813
+ strikethrough?: boolean | null;
136814
+ /**
136815
+ * Specifies whether the text in the `TextRange` is set to use the **Subscript** attribute. The possible values are as follows:
136816
+ *
136817
+ * - `true`: All the text has the **Subscript** attribute.
136818
+ *
136819
+ * - `false`: None of the text has the **Subscript** attribute.
136820
+ *
136821
+ * - `null`: Returned if some, but not all, of the text has the **Subscript** attribute.
136822
+ *
136823
+ * @remarks
136824
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
136825
+ * @beta
136826
+ */
136827
+ subscript?: boolean | null;
136828
+ /**
136829
+ * Specifies whether the text in the `TextRange` is set to use the **Superscript** attribute. The possible values are as follows:
136830
+ *
136831
+ * - `true`: All the text has the **Superscript** attribute.
136832
+ *
136833
+ * - `false`: None of the text has the **Superscript** attribute.
136834
+ *
136835
+ * - `null`: Returned if some, but not all, of the text has the **Superscript** attribute.
136836
+ *
136837
+ * @remarks
136838
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
136839
+ * @beta
136840
+ */
136841
+ superscript?: boolean | null;
136481
136842
  /**
136482
136843
  * Specifies the type of underline applied to the font. Returns `null` if the `TextRange` contains text fragments with different underline styles. See {@link PowerPoint.ShapeFontUnderlineStyle} for details.
136483
136844
  *
@@ -137159,7 +137520,27 @@ declare namespace PowerPoint {
137159
137520
  */
137160
137521
  $all?: boolean;
137161
137522
  /**
137162
- * Specifies the bold status of font. Returns `null` if the `TextRange` contains both bold and non-bold text fragments.
137523
+ * Specifies whether the text in the `TextRange` is set to use the **All Caps** attribute which makes lowercase letters appear as uppercase letters. The possible values are as follows:
137524
+ *
137525
+ * - `true`: All the text has the **All Caps** attribute.
137526
+ *
137527
+ * - `false`: None of the text has the **All Caps**attribute.
137528
+ *
137529
+ * - `null`: Some, but not all, of the text has the **All Caps** attribute.
137530
+ *
137531
+ * @remarks
137532
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
137533
+ * @beta
137534
+ */
137535
+ allCaps?: boolean;
137536
+ /**
137537
+ * Specifies whether the text in the `TextRange` is set to bold. The possible values are as follows:
137538
+ *
137539
+ * - `true`: All the text is bold.
137540
+ *
137541
+ * - `false`: None of the text is bold.
137542
+ *
137543
+ * - `null`: Returned if some, but not all, of the text is bold.
137163
137544
  *
137164
137545
  * @remarks
137165
137546
  * [Api set: PowerPointApi 1.4]
@@ -137173,7 +137554,27 @@ declare namespace PowerPoint {
137173
137554
  */
137174
137555
  color?: boolean;
137175
137556
  /**
137176
- * Specifies the italic status of font. Returns 'null' if the 'TextRange' contains both italic and non-italic text fragments.
137557
+ * Specifies whether the text in the `TextRange` is set to use the **Double strikethrough** attribute. The possible values are as follows:
137558
+ *
137559
+ * - `true`: All the text has the **Double strikethrough** attribute.
137560
+ *
137561
+ * - `false`: None of the text has the **Double strikethrough** attribute.
137562
+ *
137563
+ * - `null`: Returned if some, but not all, of the text has the **Double strikethrough** attribute.
137564
+ *
137565
+ * @remarks
137566
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
137567
+ * @beta
137568
+ */
137569
+ doubleStrikethrough?: boolean;
137570
+ /**
137571
+ * Specifies whether the text in the `TextRange` is set to italic. The possible values are as follows:
137572
+ *
137573
+ * - `true`: All the text is italicized.
137574
+ *
137575
+ * - `false`: None of the text is italicized.
137576
+ *
137577
+ * - `null`: Returned if some, but not all, of the text is italicized.
137177
137578
  *
137178
137579
  * @remarks
137179
137580
  * [Api set: PowerPointApi 1.4]
@@ -137193,6 +137594,56 @@ declare namespace PowerPoint {
137193
137594
  * [Api set: PowerPointApi 1.4]
137194
137595
  */
137195
137596
  size?: boolean;
137597
+ /**
137598
+ * Specifies whether the text in the `TextRange` is set to use the **Small Caps** attribute which makes lowercase letters appear as small uppercase letters. The possible values are as follows:
137599
+ *
137600
+ * - `true`: All the text has the **Small Caps** attribute.
137601
+ *
137602
+ * - `false`: None of the text has the **Small Caps** attribute.
137603
+ *
137604
+ * - `null`: Returned if some, but not all, of the text has the **Small Caps** attribute.
137605
+ *
137606
+ * @remarks
137607
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
137608
+ * @beta
137609
+ */
137610
+ smallCaps?: boolean;
137611
+ /**
137612
+ * Specifies whether the text in the `TextRange` is set to use the **Strikethrough** attribute. The possible values are as follows:
137613
+ *
137614
+ * - `true`: All the text has the **Strikethrough** attribute.
137615
+ *
137616
+ * - `false`: None of the text has the **Strikethrough** attribute.
137617
+ *
137618
+ * - `null`: Returned if some, but not all, of the text has the **Strikethrough** attribute.
137619
+ *
137620
+ * @remarks
137621
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
137622
+ * @beta
137623
+ */
137624
+ strikethrough?: boolean;
137625
+ /**
137626
+ * Specifies whether the text in the `TextRange` is set to use the **Subscript** attribute. The possible values are as follows:
137627
+ *
137628
+ * - `true`: All the text has the **Subscript** attribute.
137629
+ *
137630
+ * - `false`: None of the text has the **Subscript** attribute.
137631
+ *
137632
+ * - `null`: Returned if some, but not all, of the text has the **Subscript** attribute.
137633
+ *
137634
+ * @remarks
137635
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
137636
+ * @beta
137637
+ */
137638
+ subscript?: boolean;
137639
+ /**
137640
+ * Specifies the superscript status of the font. Returns `null` if the `TextRange` contains both superscript and non-superscript text fragments.
137641
+ *
137642
+ * @remarks
137643
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
137644
+ * @beta
137645
+ */
137646
+ superscript?: boolean;
137196
137647
  /**
137197
137648
  * Specifies the type of underline applied to the font. Returns `null` if the `TextRange` contains text fragments with different underline styles. See {@link PowerPoint.ShapeFontUnderlineStyle} for details.
137198
137649
  *
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.563",
3
+ "version": "1.0.565",
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": "8d0c223fdb7d32b1da987bfa4ae5d7aabe1a8fa6ccfde14a6326467d0466e85c",
49
+ "typesPublisherContentHash": "896e9c26e25a4e3d2baf139a5d6e61f0fd591fef7b14211c3ead26d67904f132",
50
50
  "typeScriptVersion": "5.0",
51
51
  "nonNpm": true
52
52
  }