@types/office-js-preview 1.0.562 → 1.0.564

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, 21 Feb 2025 19:32:15 GMT
11
+ * Last updated: Tue, 25 Feb 2025 20:02:36 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -8434,10 +8434,9 @@ declare namespace Office {
8434
8434
  */
8435
8435
  interface TextBinding extends Binding { }
8436
8436
  /**
8437
- * Provides objects and methods that you can use to create and manipulate UI components, such as dialog boxes, in your Office Add-ins.
8437
+ * Provides objects and methods to create and manipulate UI components, such as dialog boxes, in your Office Add-ins.
8438
8438
  *
8439
- * Visit "{@link https://learn.microsoft.com/office/dev/add-ins/develop/dialog-api-in-office-add-ins | Use the Dialog API in your Office Add-ins}"
8440
- * for more information.
8439
+ * For guidance on how to configure dialog boxes, see {@link https://learn.microsoft.com/office/dev/add-ins/develop/dialog-api-in-office-add-ins | Use the Dialog API in your Office Add-ins}.
8441
8440
  */
8442
8441
  interface UI {
8443
8442
  /**
@@ -8488,60 +8487,23 @@ declare namespace Office {
8488
8487
  * if you're using the add-in only manifest. If you're using the unified manifest for Microsoft 365, see
8489
8488
  * {@link https://learn.microsoft.com/office/dev/add-ins/develop/unified-manifest-overview | Office Add-ins with the unified app manifest for Microsoft 365}.
8490
8489
  *
8491
- * The initial page must be on the same domain as the parent page (the startAddress parameter). After the initial page loads, you can go to
8492
- * other domains.
8493
- *
8494
- * Any page calling `Office.context.ui.messageParent` must also be on the same domain as the parent page.
8495
- *
8496
- * **Design considerations**:
8497
- *
8498
- * The following design considerations apply to dialog boxes.
8499
- *
8500
- * - An Office Add-in task pane can have only one dialog box open at any time. Multiple dialogs can be open at the same time from Add-in
8501
- * Commands (custom ribbon buttons or menu items).
8502
- *
8503
- * - Every dialog box can be moved and resized by the user.
8504
- *
8505
- * - Every dialog box is centered on the screen when opened.
8506
- *
8507
- * - Dialog boxes appear on top of the application and in the order in which they were created.
8508
- *
8509
- * Use a dialog box to:
8490
+ * **Important**:
8510
8491
  *
8511
- * - Display authentication pages to collect user credentials.
8492
+ * - The initial page must be on the same domain as the parent page (the startAddress parameter). After the initial page loads, you can go to
8493
+ * other domains.
8512
8494
  *
8513
- * - Display an error/progress/input screen from a ShowTaskpane or ExecuteAction command.
8495
+ * - Any page calling `Office.context.ui.messageParent` must also be on the same domain as the parent page.
8514
8496
  *
8515
- * - Temporarily increase the surface area that a user has available to complete a task.
8497
+ * - To learn about rules, limitations, and best practices for the Office Dialog API, see
8498
+ * {@link https://learn.microsoft.com/office/dev/add-ins/develop/dialog-best-practices | Best practices and rules for the Office dialog API}.
8516
8499
  *
8517
- * Do not use a dialog box to interact with a document. Use a task pane instead.
8500
+ * - For information on errors and how to handle them, see
8501
+ * {@link https://learn.microsoft.com/office/dev/add-ins/develop/dialog-handle-errors-events | Handle errors and events in the Office dialog box}.
8518
8502
  *
8519
- * **displayDialogAsync Errors**
8503
+ * - In Outlook on the web and new Outlook on Windows, don't set the {@link https://developer.mozilla.org/docs/Web/API/Window/name | window.name} property
8504
+ * when configuring a dialog in your add-in. The `window.name` property is used by these Outlook clients to maintain functionality across page redirects.
8520
8505
  *
8521
- * <table>
8522
- * <tr>
8523
- * <th>Code number</th>
8524
- * <th>Meaning</th>
8525
- * </tr>
8526
- * <tr>
8527
- * <td>12004</td>
8528
- * <td>The domain of the URL passed to displayDialogAsync isn't trusted. The domain must be either the same domain as the host page (including protocol and port number), or it must be registered in the <code>AppDomains</code> section of the add-in manifest.</td>
8529
- * </tr>
8530
- * <tr>
8531
- * <td>12005</td>
8532
- * <td>The URL passed to displayDialogAsync uses the HTTP protocol. HTTPS is required. (In some versions of Office, the error message returned with 12005 is the same one returned for 12004.)</td>
8533
- * </tr>
8534
- * <tr>
8535
- * <td>12007</td>
8536
- * <td>A dialog box is already opened from the task pane. A task pane add-in can only have one dialog box open at a time.</td>
8537
- * </tr>
8538
- * <tr>
8539
- * <td>12009</td>
8540
- * <td>The user chose to ignore the dialog box. This error can occur in online versions of Office, where users may choose not to allow an add-in to present a dialog.</td>
8541
- * </tr>
8542
- * </table>
8543
- *
8544
- * In the callback function passed to the displayDialogAsync method, you can use the properties of the AsyncResult object to return the
8506
+ * - In the callback function passed to the displayDialogAsync method, you can use the properties of the AsyncResult object to return the
8545
8507
  * following information.
8546
8508
  *
8547
8509
  * <table>
@@ -8591,60 +8553,23 @@ declare namespace Office {
8591
8553
  * if you're using the add-in only manifest. If you're using the unified manifest for Microsoft 365, see
8592
8554
  * {@link https://learn.microsoft.com/office/dev/add-ins/develop/unified-manifest-overview | Office Add-ins with the unified app manifest for Microsoft 365}.
8593
8555
  *
8594
- * The initial page must be on the same domain as the parent page (the startAddress parameter). After the initial page loads, you can go to
8595
- * other domains.
8596
- *
8597
- * Any page calling `Office.context.ui.messageParent` must also be on the same domain as the parent page.
8598
- *
8599
- * **Design considerations**:
8600
- *
8601
- * The following design considerations apply to dialog boxes.
8602
- *
8603
- * - An Office Add-in task pane can have only one dialog box open at any time. Multiple dialogs can be open at the same time from Add-in
8604
- * Commands (custom ribbon buttons or menu items).
8605
- *
8606
- * - Every dialog box can be moved and resized by the user.
8607
- *
8608
- * - Every dialog box is centered on the screen when opened.
8609
- *
8610
- * - Dialog boxes appear on top of the application and in the order in which they were created.
8611
- *
8612
- * Use a dialog box to:
8556
+ * **Important**:
8613
8557
  *
8614
- * - Display authentication pages to collect user credentials.
8558
+ * - The initial page must be on the same domain as the parent page (the startAddress parameter). After the initial page loads, you can go to
8559
+ * other domains.
8615
8560
  *
8616
- * - Display an error/progress/input screen from a ShowTaskpane or ExecuteAction command.
8561
+ * - Any page calling `Office.context.ui.messageParent` must also be on the same domain as the parent page.
8617
8562
  *
8618
- * - Temporarily increase the surface area that a user has available to complete a task.
8563
+ * - To learn about rules, limitations, and best practices for the Office Dialog API, see
8564
+ * {@link https://learn.microsoft.com/office/dev/add-ins/develop/dialog-best-practices | Best practices and rules for the Office dialog API}.
8619
8565
  *
8620
- * Do not use a dialog box to interact with a document. Use a task pane instead.
8566
+ * - For information on errors and how to handle them, see
8567
+ * {@link https://learn.microsoft.com/office/dev/add-ins/develop/dialog-handle-errors-events | Handle errors and events in the Office dialog box}.
8621
8568
  *
8622
- * **displayDialogAsync Errors**
8569
+ * - In Outlook on the web and new Outlook on Windows, don't set the {@link https://developer.mozilla.org/docs/Web/API/Window/name | window.name} property
8570
+ * when configuring a dialog in your add-in. The `window.name` property is used by these Outlook clients to maintain functionality across page redirects.
8623
8571
  *
8624
- * <table>
8625
- * <tr>
8626
- * <th>Code number</th>
8627
- * <th>Meaning</th>
8628
- * </tr>
8629
- * <tr>
8630
- * <td>12004</td>
8631
- * <td>The domain of the URL passed to displayDialogAsync isn't trusted. The domain must be either the same domain as the host page (including protocol and port number), or it must be registered in the <code>AppDomains</code> section of the add-in manifest.</td>
8632
- * </tr>
8633
- * <tr>
8634
- * <td>12005</td>
8635
- * <td>The URL passed to displayDialogAsync uses the HTTP protocol. HTTPS is required. (In some versions of Office, the error message returned with 12005 is the same one returned for 12004.)</td>
8636
- * </tr>
8637
- * <tr>
8638
- * <td>12007</td>
8639
- * <td>A dialog box is already opened from the task pane. A task pane add-in can only have one dialog box open at a time.</td>
8640
- * </tr>
8641
- * <tr>
8642
- * <td>12009</td>
8643
- * <td>The user chose to ignore the dialog box. This error can occur in online versions of Office, where users may choose not to allow an add-in to present a dialog.</td>
8644
- * </tr>
8645
- * </table>
8646
- *
8647
- * In the callback function passed to the displayDialogAsync method, you can use the properties of the AsyncResult object to return the
8572
+ * - In the callback function passed to the displayDialogAsync method, you can use the properties of the AsyncResult object to return the
8648
8573
  * following information.
8649
8574
  *
8650
8575
  * <table>
@@ -133551,7 +133476,27 @@ declare namespace PowerPoint {
133551
133476
  /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
133552
133477
  context: RequestContext;
133553
133478
  /**
133554
- * Specifies the bold status of font. Returns `null` if the `TextRange` contains both bold and non-bold text fragments.
133479
+ * 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:
133480
+ *
133481
+ * - `true`: All the text has the **All Caps** attribute.
133482
+ *
133483
+ * - `false`: None of the text has the **All Caps** attribute.
133484
+ *
133485
+ * - `null`: Returned if some, but not all, of the text has the **All Caps** attribute.
133486
+ *
133487
+ * @remarks
133488
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
133489
+ * @beta
133490
+ */
133491
+ allCaps: boolean | null;
133492
+ /**
133493
+ * Specifies whether the text in the `TextRange` is set to bold. The possible values are as follows:
133494
+ *
133495
+ * - `true`: All the text is bold.
133496
+ *
133497
+ * - `false`: None of the text is bold.
133498
+ *
133499
+ * - `null`: Returned if some, but not all, of the text is bold.
133555
133500
  *
133556
133501
  * @remarks
133557
133502
  * [Api set: PowerPointApi 1.4]
@@ -133565,7 +133510,27 @@ declare namespace PowerPoint {
133565
133510
  */
133566
133511
  color: string | null;
133567
133512
  /**
133568
- * Specifies the italic status of font. Returns 'null' if the 'TextRange' contains both italic and non-italic text fragments.
133513
+ * Specifies whether the text in the `TextRange` is set to use the **Double strikethrough** attribute. The possible values are as follows:
133514
+ *
133515
+ * - `true`: All the text has the **Double strikethrough** attribute.
133516
+ *
133517
+ * - `false`: None of the text has the **Double strikethrough** attribute.
133518
+ *
133519
+ * - `null`: Returned if some, but not all, of the text has the **Double strikethrough** attribute.
133520
+ *
133521
+ * @remarks
133522
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
133523
+ * @beta
133524
+ */
133525
+ doubleStrikethrough: boolean | null;
133526
+ /**
133527
+ * Specifies whether the text in the `TextRange` is set to italic. The possible values are as follows:
133528
+ *
133529
+ * - `true`: All the text is italicized.
133530
+ *
133531
+ * - `false`: None of the text is italicized.
133532
+ *
133533
+ * - `null`: Returned if some, but not all, of the text is italicized.
133569
133534
  *
133570
133535
  * @remarks
133571
133536
  * [Api set: PowerPointApi 1.4]
@@ -133585,6 +133550,62 @@ declare namespace PowerPoint {
133585
133550
  * [Api set: PowerPointApi 1.4]
133586
133551
  */
133587
133552
  size: number | null;
133553
+ /**
133554
+ * 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:
133555
+ *
133556
+ * - `true`: All the text has the **Small Caps** attribute.
133557
+ *
133558
+ * - `false`: None of the text has the **Small Caps** attribute.
133559
+ *
133560
+ * - `null`: Returned if some, but not all, of the text has the **Small Caps** attribute.
133561
+ *
133562
+ * @remarks
133563
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
133564
+ * @beta
133565
+ */
133566
+ smallCaps: boolean | null;
133567
+ /**
133568
+ * Specifies whether the text in the `TextRange` is set to use the **Strikethrough** attribute. The possible values are as follows:
133569
+ *
133570
+ * - `true`: All the text has the **Strikethrough** attribute.
133571
+ *
133572
+ * - `false`: None of the text has the **Strikethrough** attribute.
133573
+ *
133574
+ * - `null`: Returned if some, but not all, of the text has the **Strikethrough** attribute.
133575
+ *
133576
+ * @remarks
133577
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
133578
+ * @beta
133579
+ */
133580
+ strikethrough: boolean | null;
133581
+ /**
133582
+ * Specifies whether the text in the `TextRange` is set to use the **Subscript** attribute. The possible values are as follows:
133583
+ *
133584
+ * - `true`: All the text has the **Subscript** attribute.
133585
+ *
133586
+ * - `false`: None of the text has the **Subscript** attribute.
133587
+ *
133588
+ * - `null`: Returned if some, but not all, of the text has the **Subscript** attribute.
133589
+ *
133590
+ * @remarks
133591
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
133592
+ * @beta
133593
+ */
133594
+ subscript: boolean | null;
133595
+ /**
133596
+ * Specifies whether the text in the `TextRange` is set to use the **Superscript** attribute. The possible values are as follows:
133597
+ *
133598
+ * - `true`: All the text has the **Superscript** attribute.
133599
+ *
133600
+ * - `false`: None of the text has the **Superscript** attribute.
133601
+ *
133602
+ * - `null`: Returned if some, but not all, of the text has the **Superscript** attribute.
133603
+ *
133604
+ * @remarks
133605
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
133606
+ * @beta
133607
+ */
133608
+ superscript: boolean | null;
133588
133609
  /**
133589
133610
  * 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.
133590
133611
  *
@@ -136073,7 +136094,27 @@ declare namespace PowerPoint {
136073
136094
  /** An interface for updating data on the `ShapeFont` object, for use in `shapeFont.set({ ... })`. */
136074
136095
  interface ShapeFontUpdateData {
136075
136096
  /**
136076
- * Specifies the bold status of font. Returns `null` if the `TextRange` contains both bold and non-bold text fragments.
136097
+ * 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:
136098
+ *
136099
+ * - `true`: All the text has the **All Caps** attribute.
136100
+ *
136101
+ * - `false`: None of the text has the **All Caps**attribute.
136102
+ *
136103
+ * - `null`: Some, but not all, of the text has the **All Caps** attribute.
136104
+ *
136105
+ * @remarks
136106
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
136107
+ * @beta
136108
+ */
136109
+ allCaps?: boolean | null;
136110
+ /**
136111
+ * Specifies whether the text in the `TextRange` is set to bold. The possible values are as follows:
136112
+ *
136113
+ * - `true`: All the text is bold.
136114
+ *
136115
+ * - `false`: None of the text is bold.
136116
+ *
136117
+ * - `null`: Returned if some, but not all, of the text is bold.
136077
136118
  *
136078
136119
  * @remarks
136079
136120
  * [Api set: PowerPointApi 1.4]
@@ -136087,7 +136128,27 @@ declare namespace PowerPoint {
136087
136128
  */
136088
136129
  color?: string | null;
136089
136130
  /**
136090
- * Specifies the italic status of font. Returns 'null' if the 'TextRange' contains both italic and non-italic text fragments.
136131
+ * Specifies whether the text in the `TextRange` is set to use the **Double strikethrough** attribute. The possible values are as follows:
136132
+ *
136133
+ * - `true`: All the text has the **Double strikethrough** attribute.
136134
+ *
136135
+ * - `false`: None of the text has the **Double strikethrough** attribute.
136136
+ *
136137
+ * - `null`: Returned if some, but not all, of the text has the **Double strikethrough** attribute.
136138
+ *
136139
+ * @remarks
136140
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
136141
+ * @beta
136142
+ */
136143
+ doubleStrikethrough?: boolean | null;
136144
+ /**
136145
+ * Specifies whether the text in the `TextRange` is set to italic. The possible values are as follows:
136146
+ *
136147
+ * - `true`: All the text is italicized.
136148
+ *
136149
+ * - `false`: None of the text is italicized.
136150
+ *
136151
+ * - `null`: Returned if some, but not all, of the text is italicized.
136091
136152
  *
136092
136153
  * @remarks
136093
136154
  * [Api set: PowerPointApi 1.4]
@@ -136107,6 +136168,62 @@ declare namespace PowerPoint {
136107
136168
  * [Api set: PowerPointApi 1.4]
136108
136169
  */
136109
136170
  size?: number | null;
136171
+ /**
136172
+ * 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:
136173
+ *
136174
+ * - `true`: All the text has the **Small Caps** attribute.
136175
+ *
136176
+ * - `false`: None of the text has the **Small Caps** attribute.
136177
+ *
136178
+ * - `null`: Returned if some, but not all, of the text has the **Small Caps** attribute.
136179
+ *
136180
+ * @remarks
136181
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
136182
+ * @beta
136183
+ */
136184
+ smallCaps?: boolean | null;
136185
+ /**
136186
+ * Specifies whether the text in the `TextRange` is set to use the **Strikethrough** attribute. The possible values are as follows:
136187
+ *
136188
+ * - `true`: All the text has the **Strikethrough** attribute.
136189
+ *
136190
+ * - `false`: None of the text has the **Strikethrough** attribute.
136191
+ *
136192
+ * - `null`: Returned if some, but not all, of the text has the **Strikethrough** attribute.
136193
+ *
136194
+ * @remarks
136195
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
136196
+ * @beta
136197
+ */
136198
+ strikethrough?: boolean | null;
136199
+ /**
136200
+ * Specifies whether the text in the `TextRange` is set to use the **Subscript** attribute. The possible values are as follows:
136201
+ *
136202
+ * - `true`: All the text has the **Subscript** attribute.
136203
+ *
136204
+ * - `false`: None of the text has the **Subscript** attribute.
136205
+ *
136206
+ * - `null`: Returned if some, but not all, of the text has the **Subscript** attribute.
136207
+ *
136208
+ * @remarks
136209
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
136210
+ * @beta
136211
+ */
136212
+ subscript?: boolean | null;
136213
+ /**
136214
+ * Specifies whether the text in the `TextRange` is set to use the **Superscript** attribute. The possible values are as follows:
136215
+ *
136216
+ * - `true`: All the text has the **Superscript** attribute.
136217
+ *
136218
+ * - `false`: None of the text has the **Superscript** attribute.
136219
+ *
136220
+ * - `null`: Returned if some, but not all, of the text has the **Superscript** attribute.
136221
+ *
136222
+ * @remarks
136223
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
136224
+ * @beta
136225
+ */
136226
+ superscript?: boolean | null;
136110
136227
  /**
136111
136228
  * 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.
136112
136229
  *
@@ -136519,7 +136636,27 @@ declare namespace PowerPoint {
136519
136636
  /** An interface describing the data returned by calling `shapeFont.toJSON()`. */
136520
136637
  interface ShapeFontData {
136521
136638
  /**
136522
- * Specifies the bold status of font. Returns `null` if the `TextRange` contains both bold and non-bold text fragments.
136639
+ * 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:
136640
+ *
136641
+ * - `true`: All the text has the **All Caps** attribute.
136642
+ *
136643
+ * - `false`: None of the text has the **All Caps**attribute.
136644
+ *
136645
+ * - `null`: Some, but not all, of the text has the **All Caps** attribute.
136646
+ *
136647
+ * @remarks
136648
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
136649
+ * @beta
136650
+ */
136651
+ allCaps?: boolean | null;
136652
+ /**
136653
+ * Specifies whether the text in the `TextRange` is set to bold. The possible values are as follows:
136654
+ *
136655
+ * - `true`: All the text is bold.
136656
+ *
136657
+ * - `false`: None of the text is bold.
136658
+ *
136659
+ * - `null`: Returned if some, but not all, of the text is bold.
136523
136660
  *
136524
136661
  * @remarks
136525
136662
  * [Api set: PowerPointApi 1.4]
@@ -136533,7 +136670,27 @@ declare namespace PowerPoint {
136533
136670
  */
136534
136671
  color?: string | null;
136535
136672
  /**
136536
- * Specifies the italic status of font. Returns 'null' if the 'TextRange' contains both italic and non-italic text fragments.
136673
+ * Specifies whether the text in the `TextRange` is set to use the **Double strikethrough** attribute. The possible values are as follows:
136674
+ *
136675
+ * - `true`: All the text has the **Double strikethrough** attribute.
136676
+ *
136677
+ * - `false`: None of the text has the **Double strikethrough** attribute.
136678
+ *
136679
+ * - `null`: Returned if some, but not all, of the text has the **Double strikethrough** attribute.
136680
+ *
136681
+ * @remarks
136682
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
136683
+ * @beta
136684
+ */
136685
+ doubleStrikethrough?: boolean | null;
136686
+ /**
136687
+ * Specifies whether the text in the `TextRange` is set to italic. The possible values are as follows:
136688
+ *
136689
+ * - `true`: All the text is italicized.
136690
+ *
136691
+ * - `false`: None of the text is italicized.
136692
+ *
136693
+ * - `null`: Returned if some, but not all, of the text is italicized.
136537
136694
  *
136538
136695
  * @remarks
136539
136696
  * [Api set: PowerPointApi 1.4]
@@ -136553,6 +136710,62 @@ declare namespace PowerPoint {
136553
136710
  * [Api set: PowerPointApi 1.4]
136554
136711
  */
136555
136712
  size?: number | null;
136713
+ /**
136714
+ * 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:
136715
+ *
136716
+ * - `true`: All the text has the **Small Caps** attribute.
136717
+ *
136718
+ * - `false`: None of the text has the **Small Caps** attribute.
136719
+ *
136720
+ * - `null`: Returned if some, but not all, of the text has the **Small Caps** attribute.
136721
+ *
136722
+ * @remarks
136723
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
136724
+ * @beta
136725
+ */
136726
+ smallCaps?: boolean | null;
136727
+ /**
136728
+ * Specifies whether the text in the `TextRange` is set to use the **Strikethrough** attribute. The possible values are as follows:
136729
+ *
136730
+ * - `true`: All the text has the **Strikethrough** attribute.
136731
+ *
136732
+ * - `false`: None of the text has the **Strikethrough** attribute.
136733
+ *
136734
+ * - `null`: Returned if some, but not all, of the text has the **Strikethrough** attribute.
136735
+ *
136736
+ * @remarks
136737
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
136738
+ * @beta
136739
+ */
136740
+ strikethrough?: boolean | null;
136741
+ /**
136742
+ * Specifies whether the text in the `TextRange` is set to use the **Subscript** attribute. The possible values are as follows:
136743
+ *
136744
+ * - `true`: All the text has the **Subscript** attribute.
136745
+ *
136746
+ * - `false`: None of the text has the **Subscript** attribute.
136747
+ *
136748
+ * - `null`: Returned if some, but not all, of the text has the **Subscript** attribute.
136749
+ *
136750
+ * @remarks
136751
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
136752
+ * @beta
136753
+ */
136754
+ subscript?: boolean | null;
136755
+ /**
136756
+ * Specifies whether the text in the `TextRange` is set to use the **Superscript** attribute. The possible values are as follows:
136757
+ *
136758
+ * - `true`: All the text has the **Superscript** attribute.
136759
+ *
136760
+ * - `false`: None of the text has the **Superscript** attribute.
136761
+ *
136762
+ * - `null`: Returned if some, but not all, of the text has the **Superscript** attribute.
136763
+ *
136764
+ * @remarks
136765
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
136766
+ * @beta
136767
+ */
136768
+ superscript?: boolean | null;
136556
136769
  /**
136557
136770
  * 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.
136558
136771
  *
@@ -137234,7 +137447,27 @@ declare namespace PowerPoint {
137234
137447
  */
137235
137448
  $all?: boolean;
137236
137449
  /**
137237
- * Specifies the bold status of font. Returns `null` if the `TextRange` contains both bold and non-bold text fragments.
137450
+ * 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:
137451
+ *
137452
+ * - `true`: All the text has the **All Caps** attribute.
137453
+ *
137454
+ * - `false`: None of the text has the **All Caps**attribute.
137455
+ *
137456
+ * - `null`: Some, but not all, of the text has the **All Caps** attribute.
137457
+ *
137458
+ * @remarks
137459
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
137460
+ * @beta
137461
+ */
137462
+ allCaps?: boolean;
137463
+ /**
137464
+ * Specifies whether the text in the `TextRange` is set to bold. The possible values are as follows:
137465
+ *
137466
+ * - `true`: All the text is bold.
137467
+ *
137468
+ * - `false`: None of the text is bold.
137469
+ *
137470
+ * - `null`: Returned if some, but not all, of the text is bold.
137238
137471
  *
137239
137472
  * @remarks
137240
137473
  * [Api set: PowerPointApi 1.4]
@@ -137248,7 +137481,27 @@ declare namespace PowerPoint {
137248
137481
  */
137249
137482
  color?: boolean;
137250
137483
  /**
137251
- * Specifies the italic status of font. Returns 'null' if the 'TextRange' contains both italic and non-italic text fragments.
137484
+ * Specifies whether the text in the `TextRange` is set to use the **Double strikethrough** attribute. The possible values are as follows:
137485
+ *
137486
+ * - `true`: All the text has the **Double strikethrough** attribute.
137487
+ *
137488
+ * - `false`: None of the text has the **Double strikethrough** attribute.
137489
+ *
137490
+ * - `null`: Returned if some, but not all, of the text has the **Double strikethrough** attribute.
137491
+ *
137492
+ * @remarks
137493
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
137494
+ * @beta
137495
+ */
137496
+ doubleStrikethrough?: boolean;
137497
+ /**
137498
+ * Specifies whether the text in the `TextRange` is set to italic. The possible values are as follows:
137499
+ *
137500
+ * - `true`: All the text is italicized.
137501
+ *
137502
+ * - `false`: None of the text is italicized.
137503
+ *
137504
+ * - `null`: Returned if some, but not all, of the text is italicized.
137252
137505
  *
137253
137506
  * @remarks
137254
137507
  * [Api set: PowerPointApi 1.4]
@@ -137268,6 +137521,56 @@ declare namespace PowerPoint {
137268
137521
  * [Api set: PowerPointApi 1.4]
137269
137522
  */
137270
137523
  size?: boolean;
137524
+ /**
137525
+ * 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:
137526
+ *
137527
+ * - `true`: All the text has the **Small Caps** attribute.
137528
+ *
137529
+ * - `false`: None of the text has the **Small Caps** attribute.
137530
+ *
137531
+ * - `null`: Returned if some, but not all, of the text has the **Small Caps** attribute.
137532
+ *
137533
+ * @remarks
137534
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
137535
+ * @beta
137536
+ */
137537
+ smallCaps?: boolean;
137538
+ /**
137539
+ * Specifies whether the text in the `TextRange` is set to use the **Strikethrough** attribute. The possible values are as follows:
137540
+ *
137541
+ * - `true`: All the text has the **Strikethrough** attribute.
137542
+ *
137543
+ * - `false`: None of the text has the **Strikethrough** attribute.
137544
+ *
137545
+ * - `null`: Returned if some, but not all, of the text has the **Strikethrough** attribute.
137546
+ *
137547
+ * @remarks
137548
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
137549
+ * @beta
137550
+ */
137551
+ strikethrough?: boolean;
137552
+ /**
137553
+ * Specifies whether the text in the `TextRange` is set to use the **Subscript** attribute. The possible values are as follows:
137554
+ *
137555
+ * - `true`: All the text has the **Subscript** attribute.
137556
+ *
137557
+ * - `false`: None of the text has the **Subscript** attribute.
137558
+ *
137559
+ * - `null`: Returned if some, but not all, of the text has the **Subscript** attribute.
137560
+ *
137561
+ * @remarks
137562
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
137563
+ * @beta
137564
+ */
137565
+ subscript?: boolean;
137566
+ /**
137567
+ * Specifies the superscript status of the font. Returns `null` if the `TextRange` contains both superscript and non-superscript text fragments.
137568
+ *
137569
+ * @remarks
137570
+ * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
137571
+ * @beta
137572
+ */
137573
+ superscript?: boolean;
137271
137574
  /**
137272
137575
  * 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.
137273
137576
  *
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.562",
3
+ "version": "1.0.564",
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": "a206510bb14900749e70e88a9ccb1f4e0312544a348169db1ff85a21a2fe52b5",
49
+ "typesPublisherContentHash": "49424e04f3e544871645d4ae3da29c74a05fa178b43601fa3c67d412d932deb5",
50
50
  "typeScriptVersion": "5.0",
51
51
  "nonNpm": true
52
52
  }