@types/office-js 1.0.498 → 1.0.500
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.
- office-js/README.md +1 -1
- office-js/index.d.ts +201 -201
- office-js/package.json +2 -2
office-js/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for office-js (https://github.com/OfficeD
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated: Mon, 12 May 2025
|
|
11
|
+
* Last updated: Mon, 12 May 2025 21:02:31 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js/index.d.ts
CHANGED
|
@@ -94839,7 +94839,7 @@ declare namespace Word {
|
|
|
94839
94839
|
*/
|
|
94840
94840
|
readonly parentTableOrNullObject: Word.Table;
|
|
94841
94841
|
/**
|
|
94842
|
-
* Gets the collection of shape objects anchored in the paragraph, including both inline and floating shapes. Currently, only the following shapes are supported: text boxes, geometric shapes, groups, pictures and canvases.
|
|
94842
|
+
* Gets the collection of shape objects anchored in the paragraph, including both inline and floating shapes. Currently, only the following shapes are supported: text boxes, geometric shapes, groups, pictures, and canvases.
|
|
94843
94843
|
*
|
|
94844
94844
|
* @remarks
|
|
94845
94845
|
* [Api set: WordApiDesktop 1.2]
|
|
@@ -95722,7 +95722,7 @@ declare namespace Word {
|
|
|
95722
95722
|
*/
|
|
95723
95723
|
readonly parentTableOrNullObject: Word.Table;
|
|
95724
95724
|
/**
|
|
95725
|
-
* Gets the collection of shape objects anchored in the range, including both inline and floating shapes. Currently, only the following shapes are supported: text boxes, geometric shapes, groups, pictures and canvases.
|
|
95725
|
+
* Gets the collection of shape objects anchored in the range, including both inline and floating shapes. Currently, only the following shapes are supported: text boxes, geometric shapes, groups, pictures, and canvases.
|
|
95726
95726
|
*
|
|
95727
95727
|
* @remarks
|
|
95728
95728
|
* [Api set: WordApiDesktop 1.2]
|
|
@@ -114424,7 +114424,7 @@ declare namespace Word {
|
|
|
114424
114424
|
id?: boolean;
|
|
114425
114425
|
}
|
|
114426
114426
|
/**
|
|
114427
|
-
* Contains a collection of {@link Word.Shape} objects. Currently, only the following shapes are supported: text boxes, geometric shapes, groups, pictures and canvases.
|
|
114427
|
+
* Contains a collection of {@link Word.Shape} objects. Currently, only the following shapes are supported: text boxes, geometric shapes, groups, pictures, and canvases.
|
|
114428
114428
|
*
|
|
114429
114429
|
* @remarks
|
|
114430
114430
|
* [Api set: WordApiDesktop 1.2]
|
|
@@ -127444,12 +127444,12 @@ declare namespace PowerPoint {
|
|
|
127444
127444
|
context: RequestContext;
|
|
127445
127445
|
/**
|
|
127446
127446
|
* 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:
|
|
127447
|
-
|
|
127448
|
-
|
|
127449
|
-
|
|
127450
|
-
|
|
127451
|
-
|
|
127452
|
-
|
|
127447
|
+
|
|
127448
|
+
- `true`: All the text has the **All Caps** attribute.
|
|
127449
|
+
|
|
127450
|
+
- `false`: None of the text has the **All Caps** attribute.
|
|
127451
|
+
|
|
127452
|
+
- `null`: Returned if some, but not all, of the text has the **All Caps** attribute.
|
|
127453
127453
|
*
|
|
127454
127454
|
* @remarks
|
|
127455
127455
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -127457,12 +127457,12 @@ declare namespace PowerPoint {
|
|
|
127457
127457
|
allCaps: boolean | null;
|
|
127458
127458
|
/**
|
|
127459
127459
|
* Specifies whether the text in the `TextRange` is set to bold. The possible values are as follows:
|
|
127460
|
-
|
|
127461
|
-
|
|
127462
|
-
|
|
127463
|
-
|
|
127464
|
-
|
|
127465
|
-
|
|
127460
|
+
|
|
127461
|
+
- `true`: All the text is bold.
|
|
127462
|
+
|
|
127463
|
+
- `false`: None of the text is bold.
|
|
127464
|
+
|
|
127465
|
+
- `null`: Returned if some, but not all, of the text is bold.
|
|
127466
127466
|
*
|
|
127467
127467
|
* @remarks
|
|
127468
127468
|
* [Api set: PowerPointApi 1.4]
|
|
@@ -127477,12 +127477,12 @@ declare namespace PowerPoint {
|
|
|
127477
127477
|
color: string | null;
|
|
127478
127478
|
/**
|
|
127479
127479
|
* Specifies whether the text in the `TextRange` is set to use the **Double strikethrough** attribute. The possible values are as follows:
|
|
127480
|
-
|
|
127481
|
-
|
|
127482
|
-
|
|
127483
|
-
|
|
127484
|
-
|
|
127485
|
-
|
|
127480
|
+
|
|
127481
|
+
- `true`: All the text has the **Double strikethrough** attribute.
|
|
127482
|
+
|
|
127483
|
+
- `false`: None of the text has the **Double strikethrough** attribute.
|
|
127484
|
+
|
|
127485
|
+
- `null`: Returned if some, but not all, of the text has the **Double strikethrough** attribute.
|
|
127486
127486
|
*
|
|
127487
127487
|
* @remarks
|
|
127488
127488
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -127490,12 +127490,12 @@ declare namespace PowerPoint {
|
|
|
127490
127490
|
doubleStrikethrough: boolean | null;
|
|
127491
127491
|
/**
|
|
127492
127492
|
* Specifies whether the text in the `TextRange` is set to italic. The possible values are as follows:
|
|
127493
|
-
|
|
127494
|
-
|
|
127495
|
-
|
|
127496
|
-
|
|
127497
|
-
|
|
127498
|
-
|
|
127493
|
+
|
|
127494
|
+
- `true`: All the text is italicized.
|
|
127495
|
+
|
|
127496
|
+
- `false`: None of the text is italicized.
|
|
127497
|
+
|
|
127498
|
+
- `null`: Returned if some, but not all, of the text is italicized.
|
|
127499
127499
|
*
|
|
127500
127500
|
* @remarks
|
|
127501
127501
|
* [Api set: PowerPointApi 1.4]
|
|
@@ -127517,12 +127517,12 @@ declare namespace PowerPoint {
|
|
|
127517
127517
|
size: number | null;
|
|
127518
127518
|
/**
|
|
127519
127519
|
* 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:
|
|
127520
|
-
|
|
127521
|
-
|
|
127522
|
-
|
|
127523
|
-
|
|
127524
|
-
|
|
127525
|
-
|
|
127520
|
+
|
|
127521
|
+
- `true`: All the text has the **Small Caps** attribute.
|
|
127522
|
+
|
|
127523
|
+
- `false`: None of the text has the **Small Caps** attribute.
|
|
127524
|
+
|
|
127525
|
+
- `null`: Returned if some, but not all, of the text has the **Small Caps** attribute.
|
|
127526
127526
|
*
|
|
127527
127527
|
* @remarks
|
|
127528
127528
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -127530,12 +127530,12 @@ declare namespace PowerPoint {
|
|
|
127530
127530
|
smallCaps: boolean | null;
|
|
127531
127531
|
/**
|
|
127532
127532
|
* Specifies whether the text in the `TextRange` is set to use the **Strikethrough** attribute. The possible values are as follows:
|
|
127533
|
-
|
|
127534
|
-
|
|
127535
|
-
|
|
127536
|
-
|
|
127537
|
-
|
|
127538
|
-
|
|
127533
|
+
|
|
127534
|
+
- `true`: All the text has the **Strikethrough** attribute.
|
|
127535
|
+
|
|
127536
|
+
- `false`: None of the text has the **Strikethrough** attribute.
|
|
127537
|
+
|
|
127538
|
+
- `null`: Returned if some, but not all, of the text has the **Strikethrough** attribute.
|
|
127539
127539
|
*
|
|
127540
127540
|
* @remarks
|
|
127541
127541
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -127543,12 +127543,12 @@ declare namespace PowerPoint {
|
|
|
127543
127543
|
strikethrough: boolean | null;
|
|
127544
127544
|
/**
|
|
127545
127545
|
* Specifies whether the text in the `TextRange` is set to use the **Subscript** attribute. The possible values are as follows:
|
|
127546
|
-
|
|
127547
|
-
|
|
127548
|
-
|
|
127549
|
-
|
|
127550
|
-
|
|
127551
|
-
|
|
127546
|
+
|
|
127547
|
+
- `true`: All the text has the **Subscript** attribute.
|
|
127548
|
+
|
|
127549
|
+
- `false`: None of the text has the **Subscript** attribute.
|
|
127550
|
+
|
|
127551
|
+
- `null`: Returned if some, but not all, of the text has the **Subscript** attribute.
|
|
127552
127552
|
*
|
|
127553
127553
|
* @remarks
|
|
127554
127554
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -127556,12 +127556,12 @@ declare namespace PowerPoint {
|
|
|
127556
127556
|
subscript: boolean | null;
|
|
127557
127557
|
/**
|
|
127558
127558
|
* Specifies whether the text in the `TextRange` is set to use the **Superscript** attribute. The possible values are as follows:
|
|
127559
|
-
|
|
127560
|
-
|
|
127561
|
-
|
|
127562
|
-
|
|
127563
|
-
|
|
127564
|
-
|
|
127559
|
+
|
|
127560
|
+
- `true`: All the text has the **Superscript** attribute.
|
|
127561
|
+
|
|
127562
|
+
- `false`: None of the text has the **Superscript** attribute.
|
|
127563
|
+
|
|
127564
|
+
- `null`: Returned if some, but not all, of the text has the **Superscript** attribute.
|
|
127565
127565
|
*
|
|
127566
127566
|
* @remarks
|
|
127567
127567
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -128888,7 +128888,7 @@ declare namespace PowerPoint {
|
|
|
128888
128888
|
*/
|
|
128889
128889
|
getItemAt(index: number): PowerPoint.SlideLayout;
|
|
128890
128890
|
/**
|
|
128891
|
-
* Gets a layout using its unique ID.
|
|
128891
|
+
* Gets a layout using its unique ID. If such a layout doesn't exist, an object with an `isNullObject` property set to true is returned. For further information,
|
|
128892
128892
|
see {@link https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods and properties}.
|
|
128893
128893
|
*
|
|
128894
128894
|
* @remarks
|
|
@@ -129232,7 +129232,7 @@ declare namespace PowerPoint {
|
|
|
129232
129232
|
* [Api set: PowerPointApi 1.8]
|
|
129233
129233
|
*
|
|
129234
129234
|
* @param options Optional. Options to specify the desired size of the slide image.
|
|
129235
|
-
* @returns A Base64 string of the slide image in PNG format.
|
|
129235
|
+
* @returns A Base64-encoded string of the slide image in PNG format.
|
|
129236
129236
|
*/
|
|
129237
129237
|
getImageAsBase64(options?: PowerPoint.SlideGetImageOptions): OfficeExtension.ClientResult<string>;
|
|
129238
129238
|
/**
|
|
@@ -129639,7 +129639,7 @@ declare namespace PowerPoint {
|
|
|
129639
129639
|
* @remarks
|
|
129640
129640
|
* [Api set: PowerPointApi 1.4]
|
|
129641
129641
|
*/
|
|
129642
|
-
horizontalAlignment: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed";
|
|
129642
|
+
horizontalAlignment: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed" | null;
|
|
129643
129643
|
/**
|
|
129644
129644
|
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
129645
129645
|
*
|
|
@@ -130981,12 +130981,12 @@ declare namespace PowerPoint {
|
|
|
130981
130981
|
interface ShapeFontUpdateData {
|
|
130982
130982
|
/**
|
|
130983
130983
|
* 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:
|
|
130984
|
-
|
|
130985
|
-
|
|
130986
|
-
|
|
130987
|
-
|
|
130988
|
-
|
|
130989
|
-
|
|
130984
|
+
|
|
130985
|
+
- `true`: All the text has the **All Caps** attribute.
|
|
130986
|
+
|
|
130987
|
+
- `false`: None of the text has the **All Caps** attribute.
|
|
130988
|
+
|
|
130989
|
+
- `null`: Returned if some, but not all, of the text has the **All Caps** attribute.
|
|
130990
130990
|
*
|
|
130991
130991
|
* @remarks
|
|
130992
130992
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -130994,12 +130994,12 @@ declare namespace PowerPoint {
|
|
|
130994
130994
|
allCaps?: boolean | null;
|
|
130995
130995
|
/**
|
|
130996
130996
|
* Specifies whether the text in the `TextRange` is set to bold. The possible values are as follows:
|
|
130997
|
-
|
|
130998
|
-
|
|
130999
|
-
|
|
131000
|
-
|
|
131001
|
-
|
|
131002
|
-
|
|
130997
|
+
|
|
130998
|
+
- `true`: All the text is bold.
|
|
130999
|
+
|
|
131000
|
+
- `false`: None of the text is bold.
|
|
131001
|
+
|
|
131002
|
+
- `null`: Returned if some, but not all, of the text is bold.
|
|
131003
131003
|
*
|
|
131004
131004
|
* @remarks
|
|
131005
131005
|
* [Api set: PowerPointApi 1.4]
|
|
@@ -131014,12 +131014,12 @@ declare namespace PowerPoint {
|
|
|
131014
131014
|
color?: string | null;
|
|
131015
131015
|
/**
|
|
131016
131016
|
* Specifies whether the text in the `TextRange` is set to use the **Double strikethrough** attribute. The possible values are as follows:
|
|
131017
|
-
|
|
131018
|
-
|
|
131019
|
-
|
|
131020
|
-
|
|
131021
|
-
|
|
131022
|
-
|
|
131017
|
+
|
|
131018
|
+
- `true`: All the text has the **Double strikethrough** attribute.
|
|
131019
|
+
|
|
131020
|
+
- `false`: None of the text has the **Double strikethrough** attribute.
|
|
131021
|
+
|
|
131022
|
+
- `null`: Returned if some, but not all, of the text has the **Double strikethrough** attribute.
|
|
131023
131023
|
*
|
|
131024
131024
|
* @remarks
|
|
131025
131025
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -131027,12 +131027,12 @@ declare namespace PowerPoint {
|
|
|
131027
131027
|
doubleStrikethrough?: boolean | null;
|
|
131028
131028
|
/**
|
|
131029
131029
|
* Specifies whether the text in the `TextRange` is set to italic. The possible values are as follows:
|
|
131030
|
-
|
|
131031
|
-
|
|
131032
|
-
|
|
131033
|
-
|
|
131034
|
-
|
|
131035
|
-
|
|
131030
|
+
|
|
131031
|
+
- `true`: All the text is italicized.
|
|
131032
|
+
|
|
131033
|
+
- `false`: None of the text is italicized.
|
|
131034
|
+
|
|
131035
|
+
- `null`: Returned if some, but not all, of the text is italicized.
|
|
131036
131036
|
*
|
|
131037
131037
|
* @remarks
|
|
131038
131038
|
* [Api set: PowerPointApi 1.4]
|
|
@@ -131054,12 +131054,12 @@ declare namespace PowerPoint {
|
|
|
131054
131054
|
size?: number | null;
|
|
131055
131055
|
/**
|
|
131056
131056
|
* 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:
|
|
131057
|
-
|
|
131058
|
-
|
|
131059
|
-
|
|
131060
|
-
|
|
131061
|
-
|
|
131062
|
-
|
|
131057
|
+
|
|
131058
|
+
- `true`: All the text has the **Small Caps** attribute.
|
|
131059
|
+
|
|
131060
|
+
- `false`: None of the text has the **Small Caps** attribute.
|
|
131061
|
+
|
|
131062
|
+
- `null`: Returned if some, but not all, of the text has the **Small Caps** attribute.
|
|
131063
131063
|
*
|
|
131064
131064
|
* @remarks
|
|
131065
131065
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -131067,12 +131067,12 @@ declare namespace PowerPoint {
|
|
|
131067
131067
|
smallCaps?: boolean | null;
|
|
131068
131068
|
/**
|
|
131069
131069
|
* Specifies whether the text in the `TextRange` is set to use the **Strikethrough** attribute. The possible values are as follows:
|
|
131070
|
-
|
|
131071
|
-
|
|
131072
|
-
|
|
131073
|
-
|
|
131074
|
-
|
|
131075
|
-
|
|
131070
|
+
|
|
131071
|
+
- `true`: All the text has the **Strikethrough** attribute.
|
|
131072
|
+
|
|
131073
|
+
- `false`: None of the text has the **Strikethrough** attribute.
|
|
131074
|
+
|
|
131075
|
+
- `null`: Returned if some, but not all, of the text has the **Strikethrough** attribute.
|
|
131076
131076
|
*
|
|
131077
131077
|
* @remarks
|
|
131078
131078
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -131080,12 +131080,12 @@ declare namespace PowerPoint {
|
|
|
131080
131080
|
strikethrough?: boolean | null;
|
|
131081
131081
|
/**
|
|
131082
131082
|
* Specifies whether the text in the `TextRange` is set to use the **Subscript** attribute. The possible values are as follows:
|
|
131083
|
-
|
|
131084
|
-
|
|
131085
|
-
|
|
131086
|
-
|
|
131087
|
-
|
|
131088
|
-
|
|
131083
|
+
|
|
131084
|
+
- `true`: All the text has the **Subscript** attribute.
|
|
131085
|
+
|
|
131086
|
+
- `false`: None of the text has the **Subscript** attribute.
|
|
131087
|
+
|
|
131088
|
+
- `null`: Returned if some, but not all, of the text has the **Subscript** attribute.
|
|
131089
131089
|
*
|
|
131090
131090
|
* @remarks
|
|
131091
131091
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -131093,12 +131093,12 @@ declare namespace PowerPoint {
|
|
|
131093
131093
|
subscript?: boolean | null;
|
|
131094
131094
|
/**
|
|
131095
131095
|
* Specifies whether the text in the `TextRange` is set to use the **Superscript** attribute. The possible values are as follows:
|
|
131096
|
-
|
|
131097
|
-
|
|
131098
|
-
|
|
131099
|
-
|
|
131100
|
-
|
|
131101
|
-
|
|
131096
|
+
|
|
131097
|
+
- `true`: All the text has the **Superscript** attribute.
|
|
131098
|
+
|
|
131099
|
+
- `false`: None of the text has the **Superscript** attribute.
|
|
131100
|
+
|
|
131101
|
+
- `null`: Returned if some, but not all, of the text has the **Superscript** attribute.
|
|
131102
131102
|
*
|
|
131103
131103
|
* @remarks
|
|
131104
131104
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -131215,7 +131215,7 @@ declare namespace PowerPoint {
|
|
|
131215
131215
|
* @remarks
|
|
131216
131216
|
* [Api set: PowerPointApi 1.4]
|
|
131217
131217
|
*/
|
|
131218
|
-
horizontalAlignment?: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed";
|
|
131218
|
+
horizontalAlignment?: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed" | null;
|
|
131219
131219
|
}
|
|
131220
131220
|
/** An interface for updating data on the `TextRange` object, for use in `textRange.set({ ... })`. */
|
|
131221
131221
|
interface TextRangeUpdateData {
|
|
@@ -131533,12 +131533,12 @@ declare namespace PowerPoint {
|
|
|
131533
131533
|
interface ShapeFontData {
|
|
131534
131534
|
/**
|
|
131535
131535
|
* 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:
|
|
131536
|
-
|
|
131537
|
-
|
|
131538
|
-
|
|
131539
|
-
|
|
131540
|
-
|
|
131541
|
-
|
|
131536
|
+
|
|
131537
|
+
- `true`: All the text has the **All Caps** attribute.
|
|
131538
|
+
|
|
131539
|
+
- `false`: None of the text has the **All Caps** attribute.
|
|
131540
|
+
|
|
131541
|
+
- `null`: Returned if some, but not all, of the text has the **All Caps** attribute.
|
|
131542
131542
|
*
|
|
131543
131543
|
* @remarks
|
|
131544
131544
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -131546,12 +131546,12 @@ declare namespace PowerPoint {
|
|
|
131546
131546
|
allCaps?: boolean | null;
|
|
131547
131547
|
/**
|
|
131548
131548
|
* Specifies whether the text in the `TextRange` is set to bold. The possible values are as follows:
|
|
131549
|
-
|
|
131550
|
-
|
|
131551
|
-
|
|
131552
|
-
|
|
131553
|
-
|
|
131554
|
-
|
|
131549
|
+
|
|
131550
|
+
- `true`: All the text is bold.
|
|
131551
|
+
|
|
131552
|
+
- `false`: None of the text is bold.
|
|
131553
|
+
|
|
131554
|
+
- `null`: Returned if some, but not all, of the text is bold.
|
|
131555
131555
|
*
|
|
131556
131556
|
* @remarks
|
|
131557
131557
|
* [Api set: PowerPointApi 1.4]
|
|
@@ -131566,12 +131566,12 @@ declare namespace PowerPoint {
|
|
|
131566
131566
|
color?: string | null;
|
|
131567
131567
|
/**
|
|
131568
131568
|
* Specifies whether the text in the `TextRange` is set to use the **Double strikethrough** attribute. The possible values are as follows:
|
|
131569
|
-
|
|
131570
|
-
|
|
131571
|
-
|
|
131572
|
-
|
|
131573
|
-
|
|
131574
|
-
|
|
131569
|
+
|
|
131570
|
+
- `true`: All the text has the **Double strikethrough** attribute.
|
|
131571
|
+
|
|
131572
|
+
- `false`: None of the text has the **Double strikethrough** attribute.
|
|
131573
|
+
|
|
131574
|
+
- `null`: Returned if some, but not all, of the text has the **Double strikethrough** attribute.
|
|
131575
131575
|
*
|
|
131576
131576
|
* @remarks
|
|
131577
131577
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -131579,12 +131579,12 @@ declare namespace PowerPoint {
|
|
|
131579
131579
|
doubleStrikethrough?: boolean | null;
|
|
131580
131580
|
/**
|
|
131581
131581
|
* Specifies whether the text in the `TextRange` is set to italic. The possible values are as follows:
|
|
131582
|
-
|
|
131583
|
-
|
|
131584
|
-
|
|
131585
|
-
|
|
131586
|
-
|
|
131587
|
-
|
|
131582
|
+
|
|
131583
|
+
- `true`: All the text is italicized.
|
|
131584
|
+
|
|
131585
|
+
- `false`: None of the text is italicized.
|
|
131586
|
+
|
|
131587
|
+
- `null`: Returned if some, but not all, of the text is italicized.
|
|
131588
131588
|
*
|
|
131589
131589
|
* @remarks
|
|
131590
131590
|
* [Api set: PowerPointApi 1.4]
|
|
@@ -131606,12 +131606,12 @@ declare namespace PowerPoint {
|
|
|
131606
131606
|
size?: number | null;
|
|
131607
131607
|
/**
|
|
131608
131608
|
* 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:
|
|
131609
|
-
|
|
131610
|
-
|
|
131611
|
-
|
|
131612
|
-
|
|
131613
|
-
|
|
131614
|
-
|
|
131609
|
+
|
|
131610
|
+
- `true`: All the text has the **Small Caps** attribute.
|
|
131611
|
+
|
|
131612
|
+
- `false`: None of the text has the **Small Caps** attribute.
|
|
131613
|
+
|
|
131614
|
+
- `null`: Returned if some, but not all, of the text has the **Small Caps** attribute.
|
|
131615
131615
|
*
|
|
131616
131616
|
* @remarks
|
|
131617
131617
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -131619,12 +131619,12 @@ declare namespace PowerPoint {
|
|
|
131619
131619
|
smallCaps?: boolean | null;
|
|
131620
131620
|
/**
|
|
131621
131621
|
* Specifies whether the text in the `TextRange` is set to use the **Strikethrough** attribute. The possible values are as follows:
|
|
131622
|
-
|
|
131623
|
-
|
|
131624
|
-
|
|
131625
|
-
|
|
131626
|
-
|
|
131627
|
-
|
|
131622
|
+
|
|
131623
|
+
- `true`: All the text has the **Strikethrough** attribute.
|
|
131624
|
+
|
|
131625
|
+
- `false`: None of the text has the **Strikethrough** attribute.
|
|
131626
|
+
|
|
131627
|
+
- `null`: Returned if some, but not all, of the text has the **Strikethrough** attribute.
|
|
131628
131628
|
*
|
|
131629
131629
|
* @remarks
|
|
131630
131630
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -131632,12 +131632,12 @@ declare namespace PowerPoint {
|
|
|
131632
131632
|
strikethrough?: boolean | null;
|
|
131633
131633
|
/**
|
|
131634
131634
|
* Specifies whether the text in the `TextRange` is set to use the **Subscript** attribute. The possible values are as follows:
|
|
131635
|
-
|
|
131636
|
-
|
|
131637
|
-
|
|
131638
|
-
|
|
131639
|
-
|
|
131640
|
-
|
|
131635
|
+
|
|
131636
|
+
- `true`: All the text has the **Subscript** attribute.
|
|
131637
|
+
|
|
131638
|
+
- `false`: None of the text has the **Subscript** attribute.
|
|
131639
|
+
|
|
131640
|
+
- `null`: Returned if some, but not all, of the text has the **Subscript** attribute.
|
|
131641
131641
|
*
|
|
131642
131642
|
* @remarks
|
|
131643
131643
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -131645,12 +131645,12 @@ declare namespace PowerPoint {
|
|
|
131645
131645
|
subscript?: boolean | null;
|
|
131646
131646
|
/**
|
|
131647
131647
|
* Specifies whether the text in the `TextRange` is set to use the **Superscript** attribute. The possible values are as follows:
|
|
131648
|
-
|
|
131649
|
-
|
|
131650
|
-
|
|
131651
|
-
|
|
131652
|
-
|
|
131653
|
-
|
|
131648
|
+
|
|
131649
|
+
- `true`: All the text has the **Superscript** attribute.
|
|
131650
|
+
|
|
131651
|
+
- `false`: None of the text has the **Superscript** attribute.
|
|
131652
|
+
|
|
131653
|
+
- `null`: Returned if some, but not all, of the text has the **Superscript** attribute.
|
|
131654
131654
|
*
|
|
131655
131655
|
* @remarks
|
|
131656
131656
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -131896,7 +131896,7 @@ declare namespace PowerPoint {
|
|
|
131896
131896
|
* @remarks
|
|
131897
131897
|
* [Api set: PowerPointApi 1.4]
|
|
131898
131898
|
*/
|
|
131899
|
-
horizontalAlignment?: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed";
|
|
131899
|
+
horizontalAlignment?: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed" | null;
|
|
131900
131900
|
}
|
|
131901
131901
|
/** An interface describing the data returned by calling `textRange.toJSON()`. */
|
|
131902
131902
|
interface TextRangeData {
|
|
@@ -132428,12 +132428,12 @@ declare namespace PowerPoint {
|
|
|
132428
132428
|
$all?: boolean;
|
|
132429
132429
|
/**
|
|
132430
132430
|
* 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:
|
|
132431
|
-
|
|
132432
|
-
|
|
132433
|
-
|
|
132434
|
-
|
|
132435
|
-
|
|
132436
|
-
|
|
132431
|
+
|
|
132432
|
+
- `true`: All the text has the **All Caps** attribute.
|
|
132433
|
+
|
|
132434
|
+
- `false`: None of the text has the **All Caps** attribute.
|
|
132435
|
+
|
|
132436
|
+
- `null`: Returned if some, but not all, of the text has the **All Caps** attribute.
|
|
132437
132437
|
*
|
|
132438
132438
|
* @remarks
|
|
132439
132439
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -132441,12 +132441,12 @@ declare namespace PowerPoint {
|
|
|
132441
132441
|
allCaps?: boolean;
|
|
132442
132442
|
/**
|
|
132443
132443
|
* Specifies whether the text in the `TextRange` is set to bold. The possible values are as follows:
|
|
132444
|
-
|
|
132445
|
-
|
|
132446
|
-
|
|
132447
|
-
|
|
132448
|
-
|
|
132449
|
-
|
|
132444
|
+
|
|
132445
|
+
- `true`: All the text is bold.
|
|
132446
|
+
|
|
132447
|
+
- `false`: None of the text is bold.
|
|
132448
|
+
|
|
132449
|
+
- `null`: Returned if some, but not all, of the text is bold.
|
|
132450
132450
|
*
|
|
132451
132451
|
* @remarks
|
|
132452
132452
|
* [Api set: PowerPointApi 1.4]
|
|
@@ -132461,12 +132461,12 @@ declare namespace PowerPoint {
|
|
|
132461
132461
|
color?: boolean;
|
|
132462
132462
|
/**
|
|
132463
132463
|
* Specifies whether the text in the `TextRange` is set to use the **Double strikethrough** attribute. The possible values are as follows:
|
|
132464
|
-
|
|
132465
|
-
|
|
132466
|
-
|
|
132467
|
-
|
|
132468
|
-
|
|
132469
|
-
|
|
132464
|
+
|
|
132465
|
+
- `true`: All the text has the **Double strikethrough** attribute.
|
|
132466
|
+
|
|
132467
|
+
- `false`: None of the text has the **Double strikethrough** attribute.
|
|
132468
|
+
|
|
132469
|
+
- `null`: Returned if some, but not all, of the text has the **Double strikethrough** attribute.
|
|
132470
132470
|
*
|
|
132471
132471
|
* @remarks
|
|
132472
132472
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -132474,12 +132474,12 @@ declare namespace PowerPoint {
|
|
|
132474
132474
|
doubleStrikethrough?: boolean;
|
|
132475
132475
|
/**
|
|
132476
132476
|
* Specifies whether the text in the `TextRange` is set to italic. The possible values are as follows:
|
|
132477
|
-
|
|
132478
|
-
|
|
132479
|
-
|
|
132480
|
-
|
|
132481
|
-
|
|
132482
|
-
|
|
132477
|
+
|
|
132478
|
+
- `true`: All the text is italicized.
|
|
132479
|
+
|
|
132480
|
+
- `false`: None of the text is italicized.
|
|
132481
|
+
|
|
132482
|
+
- `null`: Returned if some, but not all, of the text is italicized.
|
|
132483
132483
|
*
|
|
132484
132484
|
* @remarks
|
|
132485
132485
|
* [Api set: PowerPointApi 1.4]
|
|
@@ -132501,12 +132501,12 @@ declare namespace PowerPoint {
|
|
|
132501
132501
|
size?: boolean;
|
|
132502
132502
|
/**
|
|
132503
132503
|
* 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:
|
|
132504
|
-
|
|
132505
|
-
|
|
132506
|
-
|
|
132507
|
-
|
|
132508
|
-
|
|
132509
|
-
|
|
132504
|
+
|
|
132505
|
+
- `true`: All the text has the **Small Caps** attribute.
|
|
132506
|
+
|
|
132507
|
+
- `false`: None of the text has the **Small Caps** attribute.
|
|
132508
|
+
|
|
132509
|
+
- `null`: Returned if some, but not all, of the text has the **Small Caps** attribute.
|
|
132510
132510
|
*
|
|
132511
132511
|
* @remarks
|
|
132512
132512
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -132514,12 +132514,12 @@ declare namespace PowerPoint {
|
|
|
132514
132514
|
smallCaps?: boolean;
|
|
132515
132515
|
/**
|
|
132516
132516
|
* Specifies whether the text in the `TextRange` is set to use the **Strikethrough** attribute. The possible values are as follows:
|
|
132517
|
-
|
|
132518
|
-
|
|
132519
|
-
|
|
132520
|
-
|
|
132521
|
-
|
|
132522
|
-
|
|
132517
|
+
|
|
132518
|
+
- `true`: All the text has the **Strikethrough** attribute.
|
|
132519
|
+
|
|
132520
|
+
- `false`: None of the text has the **Strikethrough** attribute.
|
|
132521
|
+
|
|
132522
|
+
- `null`: Returned if some, but not all, of the text has the **Strikethrough** attribute.
|
|
132523
132523
|
*
|
|
132524
132524
|
* @remarks
|
|
132525
132525
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -132527,12 +132527,12 @@ declare namespace PowerPoint {
|
|
|
132527
132527
|
strikethrough?: boolean;
|
|
132528
132528
|
/**
|
|
132529
132529
|
* Specifies whether the text in the `TextRange` is set to use the **Subscript** attribute. The possible values are as follows:
|
|
132530
|
-
|
|
132531
|
-
|
|
132532
|
-
|
|
132533
|
-
|
|
132534
|
-
|
|
132535
|
-
|
|
132530
|
+
|
|
132531
|
+
- `true`: All the text has the **Subscript** attribute.
|
|
132532
|
+
|
|
132533
|
+
- `false`: None of the text has the **Subscript** attribute.
|
|
132534
|
+
|
|
132535
|
+
- `null`: Returned if some, but not all, of the text has the **Subscript** attribute.
|
|
132536
132536
|
*
|
|
132537
132537
|
* @remarks
|
|
132538
132538
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -132540,12 +132540,12 @@ declare namespace PowerPoint {
|
|
|
132540
132540
|
subscript?: boolean;
|
|
132541
132541
|
/**
|
|
132542
132542
|
* Specifies whether the text in the `TextRange` is set to use the **Superscript** attribute. The possible values are as follows:
|
|
132543
|
-
|
|
132544
|
-
|
|
132545
|
-
|
|
132546
|
-
|
|
132547
|
-
|
|
132548
|
-
|
|
132543
|
+
|
|
132544
|
+
- `true`: All the text has the **Superscript** attribute.
|
|
132545
|
+
|
|
132546
|
+
- `false`: None of the text has the **Superscript** attribute.
|
|
132547
|
+
|
|
132548
|
+
- `null`: Returned if some, but not all, of the text has the **Superscript** attribute.
|
|
132549
132549
|
*
|
|
132550
132550
|
* @remarks
|
|
132551
132551
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -133850,7 +133850,7 @@ declare namespace PowerPoint {
|
|
|
133850
133850
|
}
|
|
133851
133851
|
declare namespace PowerPoint {
|
|
133852
133852
|
/**
|
|
133853
|
-
* Creates and opens a new presentation. Optionally, the presentation can be
|
|
133853
|
+
* Creates and opens a new presentation. Optionally, the presentation can be prepopulated with a Base64-encoded .pptx file.
|
|
133854
133854
|
*
|
|
133855
133855
|
* [Api set: PowerPointApi 1.1]
|
|
133856
133856
|
*
|
office-js/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.500",
|
|
4
4
|
"description": "TypeScript definitions for office-js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -46,6 +46,6 @@
|
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
48
|
"peerDependencies": {},
|
|
49
|
-
"typesPublisherContentHash": "
|
|
49
|
+
"typesPublisherContentHash": "6dbe98977d7b323938dfc110399bd5ddba435c0830eb733e82e88d06ae175c4e",
|
|
50
50
|
"typeScriptVersion": "5.1"
|
|
51
51
|
}
|