@types/office-js-preview 1.0.591 → 1.0.593
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-preview/README.md +1 -1
- office-js-preview/index.d.ts +2461 -203
- office-js-preview/package.json +2 -2
office-js-preview/index.d.ts
CHANGED
|
@@ -102786,7 +102786,7 @@ declare namespace Word {
|
|
|
102786
102786
|
*/
|
|
102787
102787
|
readonly parentTableOrNullObject: Word.Table;
|
|
102788
102788
|
/**
|
|
102789
|
-
* 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.
|
|
102789
|
+
* 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.
|
|
102790
102790
|
*
|
|
102791
102791
|
* @remarks
|
|
102792
102792
|
* [Api set: WordApiDesktop 1.2]
|
|
@@ -103719,7 +103719,7 @@ declare namespace Word {
|
|
|
103719
103719
|
*/
|
|
103720
103720
|
readonly parentTableOrNullObject: Word.Table;
|
|
103721
103721
|
/**
|
|
103722
|
-
* 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.
|
|
103722
|
+
* 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.
|
|
103723
103723
|
*
|
|
103724
103724
|
* @remarks
|
|
103725
103725
|
* [Api set: WordApiDesktop 1.2]
|
|
@@ -122682,7 +122682,7 @@ declare namespace Word {
|
|
|
122682
122682
|
id?: boolean;
|
|
122683
122683
|
}
|
|
122684
122684
|
/**
|
|
122685
|
-
* Contains a collection of {@link Word.Shape} objects. Currently, only the following shapes are supported: text boxes, geometric shapes, groups, pictures and canvases.
|
|
122685
|
+
* Contains a collection of {@link Word.Shape} objects. Currently, only the following shapes are supported: text boxes, geometric shapes, groups, pictures, and canvases.
|
|
122686
122686
|
*
|
|
122687
122687
|
* @remarks
|
|
122688
122688
|
* [Api set: WordApiDesktop 1.2]
|
|
@@ -135427,6 +135427,229 @@ declare namespace PowerPoint {
|
|
|
135427
135427
|
*/
|
|
135428
135428
|
systemDashDot = "SystemDashDot",
|
|
135429
135429
|
}
|
|
135430
|
+
/**
|
|
135431
|
+
* Represents the properties for a table cell border.
|
|
135432
|
+
*
|
|
135433
|
+
* @remarks
|
|
135434
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
135435
|
+
* @beta
|
|
135436
|
+
*/
|
|
135437
|
+
class Border extends OfficeExtension.ClientObject {
|
|
135438
|
+
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
135439
|
+
context: RequestContext;
|
|
135440
|
+
/**
|
|
135441
|
+
* Represents the line color in the hexadecimal format #RRGGBB (e.g., "FFA500") or as a named HTML color value (e.g., "orange").
|
|
135442
|
+
*
|
|
135443
|
+
* @remarks
|
|
135444
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
135445
|
+
* @beta
|
|
135446
|
+
*/
|
|
135447
|
+
color: string | undefined;
|
|
135448
|
+
/**
|
|
135449
|
+
* Represents the dash style of the line.
|
|
135450
|
+
*
|
|
135451
|
+
* @remarks
|
|
135452
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
135453
|
+
* @beta
|
|
135454
|
+
*/
|
|
135455
|
+
dashStyle: PowerPoint.ShapeLineDashStyle | "Dash" | "DashDot" | "DashDotDot" | "LongDash" | "LongDashDot" | "RoundDot" | "Solid" | "SquareDot" | "LongDashDotDot" | "SystemDash" | "SystemDot" | "SystemDashDot" | undefined;
|
|
135456
|
+
/**
|
|
135457
|
+
* Specifies the transparency percentage of the line as a value from 0.0 (opaque) through 1.0 (clear).
|
|
135458
|
+
*
|
|
135459
|
+
* @remarks
|
|
135460
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
135461
|
+
* @beta
|
|
135462
|
+
*/
|
|
135463
|
+
transparency: number | undefined;
|
|
135464
|
+
/**
|
|
135465
|
+
* Represents the weight of the line, in points.
|
|
135466
|
+
*
|
|
135467
|
+
* @remarks
|
|
135468
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
135469
|
+
* @beta
|
|
135470
|
+
*/
|
|
135471
|
+
weight: number | undefined;
|
|
135472
|
+
/**
|
|
135473
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
135474
|
+
*
|
|
135475
|
+
* @param options Provides options for which properties of the object to load.
|
|
135476
|
+
*/
|
|
135477
|
+
load(options?: PowerPoint.Interfaces.BorderLoadOptions): PowerPoint.Border;
|
|
135478
|
+
/**
|
|
135479
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
135480
|
+
*
|
|
135481
|
+
* @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
|
|
135482
|
+
*/
|
|
135483
|
+
load(propertyNames?: string | string[]): PowerPoint.Border;
|
|
135484
|
+
/**
|
|
135485
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
135486
|
+
*
|
|
135487
|
+
* @param propertyNamesAndPaths `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
|
|
135488
|
+
*/
|
|
135489
|
+
load(propertyNamesAndPaths?: {
|
|
135490
|
+
select?: string;
|
|
135491
|
+
expand?: string;
|
|
135492
|
+
}): PowerPoint.Border;
|
|
135493
|
+
/**
|
|
135494
|
+
* Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that's passed to it.)
|
|
135495
|
+
* Whereas the original `PowerPoint.Border` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.BorderData`) that contains shallow copies of any loaded child properties from the original object.
|
|
135496
|
+
*/
|
|
135497
|
+
toJSON(): PowerPoint.Interfaces.BorderData;
|
|
135498
|
+
}
|
|
135499
|
+
/**
|
|
135500
|
+
* Represents the borders for a table cell.
|
|
135501
|
+
*
|
|
135502
|
+
* @remarks
|
|
135503
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
135504
|
+
* @beta
|
|
135505
|
+
*/
|
|
135506
|
+
class Borders extends OfficeExtension.ClientObject {
|
|
135507
|
+
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
135508
|
+
context: RequestContext;
|
|
135509
|
+
/**
|
|
135510
|
+
* Gets the bottom border.
|
|
135511
|
+
*
|
|
135512
|
+
* @remarks
|
|
135513
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
135514
|
+
* @beta
|
|
135515
|
+
*/
|
|
135516
|
+
readonly bottom: PowerPoint.Border;
|
|
135517
|
+
/**
|
|
135518
|
+
* Gets the diagonal border (top-left to bottom-right).
|
|
135519
|
+
*
|
|
135520
|
+
* @remarks
|
|
135521
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
135522
|
+
* @beta
|
|
135523
|
+
*/
|
|
135524
|
+
readonly diagonalDown: PowerPoint.Border;
|
|
135525
|
+
/**
|
|
135526
|
+
* Gets the diagonal border (bottom-left to top-right).
|
|
135527
|
+
*
|
|
135528
|
+
* @remarks
|
|
135529
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
135530
|
+
* @beta
|
|
135531
|
+
*/
|
|
135532
|
+
readonly diagonalUp: PowerPoint.Border;
|
|
135533
|
+
/**
|
|
135534
|
+
* Gets the left border.
|
|
135535
|
+
*
|
|
135536
|
+
* @remarks
|
|
135537
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
135538
|
+
* @beta
|
|
135539
|
+
*/
|
|
135540
|
+
readonly left: PowerPoint.Border;
|
|
135541
|
+
/**
|
|
135542
|
+
* Gets the right border.
|
|
135543
|
+
*
|
|
135544
|
+
* @remarks
|
|
135545
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
135546
|
+
* @beta
|
|
135547
|
+
*/
|
|
135548
|
+
readonly right: PowerPoint.Border;
|
|
135549
|
+
/**
|
|
135550
|
+
* Gets the top border.
|
|
135551
|
+
*
|
|
135552
|
+
* @remarks
|
|
135553
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
135554
|
+
* @beta
|
|
135555
|
+
*/
|
|
135556
|
+
readonly top: PowerPoint.Border;
|
|
135557
|
+
/**
|
|
135558
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
135559
|
+
*
|
|
135560
|
+
* @param options Provides options for which properties of the object to load.
|
|
135561
|
+
*/
|
|
135562
|
+
load(options?: PowerPoint.Interfaces.BordersLoadOptions): PowerPoint.Borders;
|
|
135563
|
+
/**
|
|
135564
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
135565
|
+
*
|
|
135566
|
+
* @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
|
|
135567
|
+
*/
|
|
135568
|
+
load(propertyNames?: string | string[]): PowerPoint.Borders;
|
|
135569
|
+
/**
|
|
135570
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
135571
|
+
*
|
|
135572
|
+
* @param propertyNamesAndPaths `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
|
|
135573
|
+
*/
|
|
135574
|
+
load(propertyNamesAndPaths?: {
|
|
135575
|
+
select?: string;
|
|
135576
|
+
expand?: string;
|
|
135577
|
+
}): PowerPoint.Borders;
|
|
135578
|
+
/**
|
|
135579
|
+
* Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that's passed to it.)
|
|
135580
|
+
* Whereas the original `PowerPoint.Borders` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.BordersData`) that contains shallow copies of any loaded child properties from the original object.
|
|
135581
|
+
*/
|
|
135582
|
+
toJSON(): PowerPoint.Interfaces.BordersData;
|
|
135583
|
+
}
|
|
135584
|
+
/**
|
|
135585
|
+
* Represents the margins of a table cell.
|
|
135586
|
+
*
|
|
135587
|
+
* @remarks
|
|
135588
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
135589
|
+
* @beta
|
|
135590
|
+
*/
|
|
135591
|
+
class Margins extends OfficeExtension.ClientObject {
|
|
135592
|
+
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
135593
|
+
context: RequestContext;
|
|
135594
|
+
/**
|
|
135595
|
+
* Specifies the bottom margin in points.
|
|
135596
|
+
*
|
|
135597
|
+
* @remarks
|
|
135598
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
135599
|
+
* @beta
|
|
135600
|
+
*/
|
|
135601
|
+
bottom: number | undefined;
|
|
135602
|
+
/**
|
|
135603
|
+
* Specifies the left margin in points.
|
|
135604
|
+
*
|
|
135605
|
+
* @remarks
|
|
135606
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
135607
|
+
* @beta
|
|
135608
|
+
*/
|
|
135609
|
+
left: number | undefined;
|
|
135610
|
+
/**
|
|
135611
|
+
* Specifies the right margin in points.
|
|
135612
|
+
*
|
|
135613
|
+
* @remarks
|
|
135614
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
135615
|
+
* @beta
|
|
135616
|
+
*/
|
|
135617
|
+
right: number | undefined;
|
|
135618
|
+
/**
|
|
135619
|
+
* Specifies the top margin in points.
|
|
135620
|
+
*
|
|
135621
|
+
* @remarks
|
|
135622
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
135623
|
+
* @beta
|
|
135624
|
+
*/
|
|
135625
|
+
top: number | undefined;
|
|
135626
|
+
/**
|
|
135627
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
135628
|
+
*
|
|
135629
|
+
* @param options Provides options for which properties of the object to load.
|
|
135630
|
+
*/
|
|
135631
|
+
load(options?: PowerPoint.Interfaces.MarginsLoadOptions): PowerPoint.Margins;
|
|
135632
|
+
/**
|
|
135633
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
135634
|
+
*
|
|
135635
|
+
* @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
|
|
135636
|
+
*/
|
|
135637
|
+
load(propertyNames?: string | string[]): PowerPoint.Margins;
|
|
135638
|
+
/**
|
|
135639
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
135640
|
+
*
|
|
135641
|
+
* @param propertyNamesAndPaths `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
|
|
135642
|
+
*/
|
|
135643
|
+
load(propertyNamesAndPaths?: {
|
|
135644
|
+
select?: string;
|
|
135645
|
+
expand?: string;
|
|
135646
|
+
}): PowerPoint.Margins;
|
|
135647
|
+
/**
|
|
135648
|
+
* Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that's passed to it.)
|
|
135649
|
+
* Whereas the original `PowerPoint.Margins` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.MarginsData`) that contains shallow copies of any loaded child properties from the original object.
|
|
135650
|
+
*/
|
|
135651
|
+
toJSON(): PowerPoint.Interfaces.MarginsData;
|
|
135652
|
+
}
|
|
135430
135653
|
/**
|
|
135431
135654
|
* Represents the horizontal alignment of the {@link PowerPoint.TextFrame} in a {@link PowerPoint.Shape}.
|
|
135432
135655
|
*
|
|
@@ -135724,12 +135947,12 @@ declare namespace PowerPoint {
|
|
|
135724
135947
|
context: RequestContext;
|
|
135725
135948
|
/**
|
|
135726
135949
|
* 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:
|
|
135727
|
-
|
|
135728
|
-
|
|
135729
|
-
|
|
135730
|
-
|
|
135731
|
-
|
|
135732
|
-
|
|
135950
|
+
|
|
135951
|
+
- `true`: All the text has the **All Caps** attribute.
|
|
135952
|
+
|
|
135953
|
+
- `false`: None of the text has the **All Caps** attribute.
|
|
135954
|
+
|
|
135955
|
+
- `null`: Returned if some, but not all, of the text has the **All Caps** attribute.
|
|
135733
135956
|
*
|
|
135734
135957
|
* @remarks
|
|
135735
135958
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -135737,12 +135960,12 @@ declare namespace PowerPoint {
|
|
|
135737
135960
|
allCaps: boolean | null;
|
|
135738
135961
|
/**
|
|
135739
135962
|
* Specifies whether the text in the `TextRange` is set to bold. The possible values are as follows:
|
|
135740
|
-
|
|
135741
|
-
|
|
135742
|
-
|
|
135743
|
-
|
|
135744
|
-
|
|
135745
|
-
|
|
135963
|
+
|
|
135964
|
+
- `true`: All the text is bold.
|
|
135965
|
+
|
|
135966
|
+
- `false`: None of the text is bold.
|
|
135967
|
+
|
|
135968
|
+
- `null`: Returned if some, but not all, of the text is bold.
|
|
135746
135969
|
*
|
|
135747
135970
|
* @remarks
|
|
135748
135971
|
* [Api set: PowerPointApi 1.4]
|
|
@@ -135757,12 +135980,12 @@ declare namespace PowerPoint {
|
|
|
135757
135980
|
color: string | null;
|
|
135758
135981
|
/**
|
|
135759
135982
|
* Specifies whether the text in the `TextRange` is set to use the **Double strikethrough** attribute. The possible values are as follows:
|
|
135760
|
-
|
|
135761
|
-
|
|
135762
|
-
|
|
135763
|
-
|
|
135764
|
-
|
|
135765
|
-
|
|
135983
|
+
|
|
135984
|
+
- `true`: All the text has the **Double strikethrough** attribute.
|
|
135985
|
+
|
|
135986
|
+
- `false`: None of the text has the **Double strikethrough** attribute.
|
|
135987
|
+
|
|
135988
|
+
- `null`: Returned if some, but not all, of the text has the **Double strikethrough** attribute.
|
|
135766
135989
|
*
|
|
135767
135990
|
* @remarks
|
|
135768
135991
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -135770,12 +135993,12 @@ declare namespace PowerPoint {
|
|
|
135770
135993
|
doubleStrikethrough: boolean | null;
|
|
135771
135994
|
/**
|
|
135772
135995
|
* Specifies whether the text in the `TextRange` is set to italic. The possible values are as follows:
|
|
135773
|
-
|
|
135774
|
-
|
|
135775
|
-
|
|
135776
|
-
|
|
135777
|
-
|
|
135778
|
-
|
|
135996
|
+
|
|
135997
|
+
- `true`: All the text is italicized.
|
|
135998
|
+
|
|
135999
|
+
- `false`: None of the text is italicized.
|
|
136000
|
+
|
|
136001
|
+
- `null`: Returned if some, but not all, of the text is italicized.
|
|
135779
136002
|
*
|
|
135780
136003
|
* @remarks
|
|
135781
136004
|
* [Api set: PowerPointApi 1.4]
|
|
@@ -135797,12 +136020,12 @@ declare namespace PowerPoint {
|
|
|
135797
136020
|
size: number | null;
|
|
135798
136021
|
/**
|
|
135799
136022
|
* 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:
|
|
135800
|
-
|
|
135801
|
-
|
|
135802
|
-
|
|
135803
|
-
|
|
135804
|
-
|
|
135805
|
-
|
|
136023
|
+
|
|
136024
|
+
- `true`: All the text has the **Small Caps** attribute.
|
|
136025
|
+
|
|
136026
|
+
- `false`: None of the text has the **Small Caps** attribute.
|
|
136027
|
+
|
|
136028
|
+
- `null`: Returned if some, but not all, of the text has the **Small Caps** attribute.
|
|
135806
136029
|
*
|
|
135807
136030
|
* @remarks
|
|
135808
136031
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -135810,12 +136033,12 @@ declare namespace PowerPoint {
|
|
|
135810
136033
|
smallCaps: boolean | null;
|
|
135811
136034
|
/**
|
|
135812
136035
|
* Specifies whether the text in the `TextRange` is set to use the **Strikethrough** attribute. The possible values are as follows:
|
|
135813
|
-
|
|
135814
|
-
|
|
135815
|
-
|
|
135816
|
-
|
|
135817
|
-
|
|
135818
|
-
|
|
136036
|
+
|
|
136037
|
+
- `true`: All the text has the **Strikethrough** attribute.
|
|
136038
|
+
|
|
136039
|
+
- `false`: None of the text has the **Strikethrough** attribute.
|
|
136040
|
+
|
|
136041
|
+
- `null`: Returned if some, but not all, of the text has the **Strikethrough** attribute.
|
|
135819
136042
|
*
|
|
135820
136043
|
* @remarks
|
|
135821
136044
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -135823,12 +136046,12 @@ declare namespace PowerPoint {
|
|
|
135823
136046
|
strikethrough: boolean | null;
|
|
135824
136047
|
/**
|
|
135825
136048
|
* Specifies whether the text in the `TextRange` is set to use the **Subscript** attribute. The possible values are as follows:
|
|
135826
|
-
|
|
135827
|
-
|
|
135828
|
-
|
|
135829
|
-
|
|
135830
|
-
|
|
135831
|
-
|
|
136049
|
+
|
|
136050
|
+
- `true`: All the text has the **Subscript** attribute.
|
|
136051
|
+
|
|
136052
|
+
- `false`: None of the text has the **Subscript** attribute.
|
|
136053
|
+
|
|
136054
|
+
- `null`: Returned if some, but not all, of the text has the **Subscript** attribute.
|
|
135832
136055
|
*
|
|
135833
136056
|
* @remarks
|
|
135834
136057
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -135836,12 +136059,12 @@ declare namespace PowerPoint {
|
|
|
135836
136059
|
subscript: boolean | null;
|
|
135837
136060
|
/**
|
|
135838
136061
|
* Specifies whether the text in the `TextRange` is set to use the **Superscript** attribute. The possible values are as follows:
|
|
135839
|
-
|
|
135840
|
-
|
|
135841
|
-
|
|
135842
|
-
|
|
135843
|
-
|
|
135844
|
-
|
|
136062
|
+
|
|
136063
|
+
- `true`: All the text has the **Superscript** attribute.
|
|
136064
|
+
|
|
136065
|
+
- `false`: None of the text has the **Superscript** attribute.
|
|
136066
|
+
|
|
136067
|
+
- `null`: Returned if some, but not all, of the text has the **Superscript** attribute.
|
|
135845
136068
|
*
|
|
135846
136069
|
* @remarks
|
|
135847
136070
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -136050,6 +136273,38 @@ declare namespace PowerPoint {
|
|
|
136050
136273
|
class TableCell extends OfficeExtension.ClientObject {
|
|
136051
136274
|
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
136052
136275
|
context: RequestContext;
|
|
136276
|
+
/**
|
|
136277
|
+
* Gets the collection of borders for the table cell.
|
|
136278
|
+
*
|
|
136279
|
+
* @remarks
|
|
136280
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136281
|
+
* @beta
|
|
136282
|
+
*/
|
|
136283
|
+
readonly borders: PowerPoint.Borders;
|
|
136284
|
+
/**
|
|
136285
|
+
* Gets the fill color of the table cell.
|
|
136286
|
+
*
|
|
136287
|
+
* @remarks
|
|
136288
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136289
|
+
* @beta
|
|
136290
|
+
*/
|
|
136291
|
+
readonly fill: PowerPoint.ShapeFill;
|
|
136292
|
+
/**
|
|
136293
|
+
* Gets the font of the table cell.
|
|
136294
|
+
*
|
|
136295
|
+
* @remarks
|
|
136296
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136297
|
+
* @beta
|
|
136298
|
+
*/
|
|
136299
|
+
readonly font: PowerPoint.ShapeFont;
|
|
136300
|
+
/**
|
|
136301
|
+
* Gets the set of margins in the table cell.
|
|
136302
|
+
*
|
|
136303
|
+
* @remarks
|
|
136304
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136305
|
+
* @beta
|
|
136306
|
+
*/
|
|
136307
|
+
readonly margins: PowerPoint.Margins;
|
|
136053
136308
|
/**
|
|
136054
136309
|
* Gets the number of table columns this cell spans across.
|
|
136055
136310
|
Will be greater than or equal to 1.
|
|
@@ -136065,6 +136320,22 @@ declare namespace PowerPoint {
|
|
|
136065
136320
|
* [Api set: PowerPointApi 1.8]
|
|
136066
136321
|
*/
|
|
136067
136322
|
readonly columnIndex: number;
|
|
136323
|
+
/**
|
|
136324
|
+
* Specifies the horizontal alignment of the text in the table cell.
|
|
136325
|
+
*
|
|
136326
|
+
* @remarks
|
|
136327
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136328
|
+
* @beta
|
|
136329
|
+
*/
|
|
136330
|
+
horizontalAlignment: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed";
|
|
136331
|
+
/**
|
|
136332
|
+
* Specifies the indent level of the text in the table cell.
|
|
136333
|
+
*
|
|
136334
|
+
* @remarks
|
|
136335
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136336
|
+
* @beta
|
|
136337
|
+
*/
|
|
136338
|
+
indentLevel: number;
|
|
136068
136339
|
/**
|
|
136069
136340
|
* Gets the number of table rows this cell spans across.
|
|
136070
136341
|
Will be greater than or equal to 1.
|
|
@@ -136087,6 +136358,48 @@ declare namespace PowerPoint {
|
|
|
136087
136358
|
* [Api set: PowerPointApi 1.8]
|
|
136088
136359
|
*/
|
|
136089
136360
|
text: string;
|
|
136361
|
+
/**
|
|
136362
|
+
* Specifies the contents of the table cell as an array of {@link TextRun} objects.
|
|
136363
|
+
Each `TextRun` object represents a sequence of one or more characters that share the same font attributes.
|
|
136364
|
+
*
|
|
136365
|
+
* @remarks
|
|
136366
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136367
|
+
* @beta
|
|
136368
|
+
*/
|
|
136369
|
+
textRuns: PowerPoint.TextRun[];
|
|
136370
|
+
/**
|
|
136371
|
+
* Specifies the vertical alignment of the text in the table cell.
|
|
136372
|
+
*
|
|
136373
|
+
* @remarks
|
|
136374
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136375
|
+
* @beta
|
|
136376
|
+
*/
|
|
136377
|
+
verticalAlignment: PowerPoint.TextVerticalAlignment | "Top" | "Middle" | "Bottom" | "TopCentered" | "MiddleCentered" | "BottomCentered";
|
|
136378
|
+
/**
|
|
136379
|
+
* Resizes the table cell to span across a specified number of rows and columns.
|
|
136380
|
+
If rowCount or columnCount are greater than 1, the cell will become a merged area. If the cell
|
|
136381
|
+
is already a merged area and rowCount and columnCount are set to 1, the cell will no longer be
|
|
136382
|
+
a merged area.
|
|
136383
|
+
*
|
|
136384
|
+
* @remarks
|
|
136385
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136386
|
+
* @beta
|
|
136387
|
+
*
|
|
136388
|
+
* @param rowCount The number of rows the cell will span across. Must be greater than 0.
|
|
136389
|
+
* @param columnCount The number of columns the cell will span across. Must be greater than 0.
|
|
136390
|
+
*/
|
|
136391
|
+
resize(rowCount: number, columnCount: number): void;
|
|
136392
|
+
/**
|
|
136393
|
+
* Splits the cell into the specified number of rows and columns.
|
|
136394
|
+
*
|
|
136395
|
+
* @remarks
|
|
136396
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136397
|
+
* @beta
|
|
136398
|
+
*
|
|
136399
|
+
* @param rowCount The number of rows to split into. Must be greater than 0.
|
|
136400
|
+
* @param columnCount The number of columns to split into. Must be greater than 0.
|
|
136401
|
+
*/
|
|
136402
|
+
split(rowCount: number, columnCount: number): void;
|
|
136090
136403
|
/**
|
|
136091
136404
|
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
136092
136405
|
*
|
|
@@ -136168,6 +136481,67 @@ declare namespace PowerPoint {
|
|
|
136168
136481
|
*/
|
|
136169
136482
|
toJSON(): PowerPoint.Interfaces.TableCellCollectionData;
|
|
136170
136483
|
}
|
|
136484
|
+
/**
|
|
136485
|
+
* Represents a column in a table.
|
|
136486
|
+
*
|
|
136487
|
+
* @remarks
|
|
136488
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136489
|
+
* @beta
|
|
136490
|
+
*/
|
|
136491
|
+
class TableColumn extends OfficeExtension.ClientObject {
|
|
136492
|
+
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
136493
|
+
context: RequestContext;
|
|
136494
|
+
/**
|
|
136495
|
+
* Returns the index number of the column within the column collection of the table. Zero-indexed.
|
|
136496
|
+
*
|
|
136497
|
+
* @remarks
|
|
136498
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136499
|
+
* @beta
|
|
136500
|
+
*/
|
|
136501
|
+
readonly columnIndex: number;
|
|
136502
|
+
/**
|
|
136503
|
+
* Retrieves the width of the column in points. If the set column width is less than the minimum width, the column width will be increased to the minimum width.
|
|
136504
|
+
*
|
|
136505
|
+
* @remarks
|
|
136506
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136507
|
+
* @beta
|
|
136508
|
+
*/
|
|
136509
|
+
width: number;
|
|
136510
|
+
/**
|
|
136511
|
+
* Deletes the column.
|
|
136512
|
+
*
|
|
136513
|
+
* @remarks
|
|
136514
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136515
|
+
* @beta
|
|
136516
|
+
*/
|
|
136517
|
+
delete(): void;
|
|
136518
|
+
/**
|
|
136519
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
136520
|
+
*
|
|
136521
|
+
* @param options Provides options for which properties of the object to load.
|
|
136522
|
+
*/
|
|
136523
|
+
load(options?: PowerPoint.Interfaces.TableColumnLoadOptions): PowerPoint.TableColumn;
|
|
136524
|
+
/**
|
|
136525
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
136526
|
+
*
|
|
136527
|
+
* @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
|
|
136528
|
+
*/
|
|
136529
|
+
load(propertyNames?: string | string[]): PowerPoint.TableColumn;
|
|
136530
|
+
/**
|
|
136531
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
136532
|
+
*
|
|
136533
|
+
* @param propertyNamesAndPaths `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
|
|
136534
|
+
*/
|
|
136535
|
+
load(propertyNamesAndPaths?: {
|
|
136536
|
+
select?: string;
|
|
136537
|
+
expand?: string;
|
|
136538
|
+
}): PowerPoint.TableColumn;
|
|
136539
|
+
/**
|
|
136540
|
+
* Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that's passed to it.)
|
|
136541
|
+
* Whereas the original `PowerPoint.TableColumn` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.TableColumnData`) that contains shallow copies of any loaded child properties from the original object.
|
|
136542
|
+
*/
|
|
136543
|
+
toJSON(): PowerPoint.Interfaces.TableColumnData;
|
|
136544
|
+
}
|
|
136171
136545
|
/**
|
|
136172
136546
|
* Represents the fill formatting of a table cell.
|
|
136173
136547
|
*
|
|
@@ -136341,7 +136715,7 @@ declare namespace PowerPoint {
|
|
|
136341
136715
|
*/
|
|
136342
136716
|
font?: PowerPoint.FontProperties;
|
|
136343
136717
|
/**
|
|
136344
|
-
* Represents the horizontal alignment of the table cell.
|
|
136718
|
+
* Represents the horizontal alignment of the text in the table cell.
|
|
136345
136719
|
*
|
|
136346
136720
|
* @remarks
|
|
136347
136721
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -136379,13 +136753,941 @@ declare namespace PowerPoint {
|
|
|
136379
136753
|
*/
|
|
136380
136754
|
textRuns?: PowerPoint.TextRun[];
|
|
136381
136755
|
/**
|
|
136382
|
-
* Represents the vertical alignment of the table cell.
|
|
136756
|
+
* Represents the vertical alignment of the text in the table cell.
|
|
136383
136757
|
*
|
|
136384
136758
|
* @remarks
|
|
136385
136759
|
* [Api set: PowerPointApi 1.8]
|
|
136386
136760
|
*/
|
|
136387
136761
|
verticalAlignment?: PowerPoint.TextVerticalAlignment | "Top" | "Middle" | "Bottom" | "TopCentered" | "MiddleCentered" | "BottomCentered" | undefined;
|
|
136388
136762
|
}
|
|
136763
|
+
/**
|
|
136764
|
+
* Represents the available options when adding a table column.
|
|
136765
|
+
*
|
|
136766
|
+
* @remarks
|
|
136767
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136768
|
+
* @beta
|
|
136769
|
+
*/
|
|
136770
|
+
interface TableColumnAddOptions {
|
|
136771
|
+
/**
|
|
136772
|
+
* If provided, specifies properties for each cell in the table column.
|
|
136773
|
+
If a cell doesn't require specific formatting, specify an empty object for that cell.
|
|
136774
|
+
*
|
|
136775
|
+
* @remarks
|
|
136776
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136777
|
+
* @beta
|
|
136778
|
+
*/
|
|
136779
|
+
specificCellProperties?: PowerPoint.TableCellProperties[][];
|
|
136780
|
+
/**
|
|
136781
|
+
* Specifies the formatting which applies uniformly to all of the table column cells.
|
|
136782
|
+
*
|
|
136783
|
+
* @remarks
|
|
136784
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136785
|
+
* @beta
|
|
136786
|
+
*/
|
|
136787
|
+
uniformCellProperties?: PowerPoint.TableCellProperties;
|
|
136788
|
+
}
|
|
136789
|
+
/**
|
|
136790
|
+
* Represents a collection of table columns.
|
|
136791
|
+
*
|
|
136792
|
+
* @remarks
|
|
136793
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136794
|
+
* @beta
|
|
136795
|
+
*/
|
|
136796
|
+
class TableColumnCollection extends OfficeExtension.ClientObject {
|
|
136797
|
+
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
136798
|
+
context: RequestContext;
|
|
136799
|
+
/** Gets the loaded child items in this collection. */
|
|
136800
|
+
readonly items: PowerPoint.TableColumn[];
|
|
136801
|
+
/**
|
|
136802
|
+
* Adds one or more columns to the table.
|
|
136803
|
+
*
|
|
136804
|
+
* @remarks
|
|
136805
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136806
|
+
* @beta
|
|
136807
|
+
*
|
|
136808
|
+
* @param index Optional. Specifies the zero-based index where the new columns are added. Existing columns starting at the index location are shifted right. If the index value is undefined, null, -1, or greater than the number of columns in the table, the new columns are added at the end of the table.
|
|
136809
|
+
* @param count Optional. The number of columns to add. If the value is undefined or 0, only one column is added.
|
|
136810
|
+
*/
|
|
136811
|
+
add(index?: number | null, count?: number): void;
|
|
136812
|
+
/**
|
|
136813
|
+
* Deletes the specified columns from the collection.
|
|
136814
|
+
*
|
|
136815
|
+
* @remarks
|
|
136816
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136817
|
+
* @beta
|
|
136818
|
+
*
|
|
136819
|
+
* @param columns An array of `TableColumn` objects representing the columns to be deleted.
|
|
136820
|
+
*/
|
|
136821
|
+
deleteColumns(columns: PowerPoint.TableColumn[]): void;
|
|
136822
|
+
/**
|
|
136823
|
+
* Gets the number of columns in the collection.
|
|
136824
|
+
*
|
|
136825
|
+
* @remarks
|
|
136826
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136827
|
+
* @beta
|
|
136828
|
+
* @returns The number of columns in the collection.
|
|
136829
|
+
*/
|
|
136830
|
+
getCount(): OfficeExtension.ClientResult<number>;
|
|
136831
|
+
/**
|
|
136832
|
+
* Gets the column using its zero-based index in the collection.
|
|
136833
|
+
*
|
|
136834
|
+
* @remarks
|
|
136835
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136836
|
+
* @beta
|
|
136837
|
+
*
|
|
136838
|
+
* @param index Index value of the column to be retrieved, as a zero-based index.
|
|
136839
|
+
* @returns The column object.
|
|
136840
|
+
*/
|
|
136841
|
+
getItemAt(index: number): PowerPoint.TableColumn;
|
|
136842
|
+
/**
|
|
136843
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
136844
|
+
*
|
|
136845
|
+
* @param options Provides options for which properties of the object to load.
|
|
136846
|
+
*/
|
|
136847
|
+
load(options?: PowerPoint.Interfaces.TableColumnCollectionLoadOptions & PowerPoint.Interfaces.CollectionLoadOptions): PowerPoint.TableColumnCollection;
|
|
136848
|
+
/**
|
|
136849
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
136850
|
+
*
|
|
136851
|
+
* @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
|
|
136852
|
+
*/
|
|
136853
|
+
load(propertyNames?: string | string[]): PowerPoint.TableColumnCollection;
|
|
136854
|
+
/**
|
|
136855
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
136856
|
+
*
|
|
136857
|
+
* @param propertyNamesAndPaths `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
|
|
136858
|
+
*/
|
|
136859
|
+
load(propertyNamesAndPaths?: OfficeExtension.LoadOption): PowerPoint.TableColumnCollection;
|
|
136860
|
+
/**
|
|
136861
|
+
* Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that's passed to it.)
|
|
136862
|
+
* Whereas the original `PowerPoint.TableColumnCollection` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.TableColumnCollectionData`) that contains an "items" array with shallow copies of any loaded properties from the collection's items.
|
|
136863
|
+
*/
|
|
136864
|
+
toJSON(): PowerPoint.Interfaces.TableColumnCollectionData;
|
|
136865
|
+
}
|
|
136866
|
+
/**
|
|
136867
|
+
* Represents the available options when clearing a table.
|
|
136868
|
+
*
|
|
136869
|
+
* @remarks
|
|
136870
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136871
|
+
* @beta
|
|
136872
|
+
*/
|
|
136873
|
+
interface TableClearOptions {
|
|
136874
|
+
/**
|
|
136875
|
+
* Specifies if both values and formatting of the table should be cleared.
|
|
136876
|
+
*
|
|
136877
|
+
* @remarks
|
|
136878
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136879
|
+
* @beta
|
|
136880
|
+
*/
|
|
136881
|
+
all?: boolean;
|
|
136882
|
+
/**
|
|
136883
|
+
* Specifies if the formatting of the table should be cleared.
|
|
136884
|
+
*
|
|
136885
|
+
* @remarks
|
|
136886
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136887
|
+
* @beta
|
|
136888
|
+
*/
|
|
136889
|
+
format?: boolean;
|
|
136890
|
+
/**
|
|
136891
|
+
* Specifies if the values of the table should be cleared.
|
|
136892
|
+
*
|
|
136893
|
+
* @remarks
|
|
136894
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136895
|
+
* @beta
|
|
136896
|
+
*/
|
|
136897
|
+
text?: boolean;
|
|
136898
|
+
}
|
|
136899
|
+
/**
|
|
136900
|
+
* Represents a row in a table.
|
|
136901
|
+
*
|
|
136902
|
+
* @remarks
|
|
136903
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136904
|
+
* @beta
|
|
136905
|
+
*/
|
|
136906
|
+
class TableRow extends OfficeExtension.ClientObject {
|
|
136907
|
+
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
136908
|
+
context: RequestContext;
|
|
136909
|
+
/**
|
|
136910
|
+
* Retrieves the current height of the row in points.
|
|
136911
|
+
*
|
|
136912
|
+
* @remarks
|
|
136913
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136914
|
+
* @beta
|
|
136915
|
+
*/
|
|
136916
|
+
readonly currentHeight: number;
|
|
136917
|
+
/**
|
|
136918
|
+
* Specifies the height of the row in points. If the set row height is less than the minimum height, the row height will be increased to the minimum height.
|
|
136919
|
+
*
|
|
136920
|
+
* @remarks
|
|
136921
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136922
|
+
* @beta
|
|
136923
|
+
*/
|
|
136924
|
+
height: number;
|
|
136925
|
+
/**
|
|
136926
|
+
* Returns the index number of the row within the rows collection of the table. Zero-indexed.
|
|
136927
|
+
*
|
|
136928
|
+
* @remarks
|
|
136929
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136930
|
+
* @beta
|
|
136931
|
+
*/
|
|
136932
|
+
readonly rowIndex: number;
|
|
136933
|
+
/**
|
|
136934
|
+
* Deletes the row.
|
|
136935
|
+
*
|
|
136936
|
+
* @remarks
|
|
136937
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136938
|
+
* @beta
|
|
136939
|
+
*/
|
|
136940
|
+
delete(): void;
|
|
136941
|
+
/**
|
|
136942
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
136943
|
+
*
|
|
136944
|
+
* @param options Provides options for which properties of the object to load.
|
|
136945
|
+
*/
|
|
136946
|
+
load(options?: PowerPoint.Interfaces.TableRowLoadOptions): PowerPoint.TableRow;
|
|
136947
|
+
/**
|
|
136948
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
136949
|
+
*
|
|
136950
|
+
* @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
|
|
136951
|
+
*/
|
|
136952
|
+
load(propertyNames?: string | string[]): PowerPoint.TableRow;
|
|
136953
|
+
/**
|
|
136954
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
136955
|
+
*
|
|
136956
|
+
* @param propertyNamesAndPaths `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
|
|
136957
|
+
*/
|
|
136958
|
+
load(propertyNamesAndPaths?: {
|
|
136959
|
+
select?: string;
|
|
136960
|
+
expand?: string;
|
|
136961
|
+
}): PowerPoint.TableRow;
|
|
136962
|
+
/**
|
|
136963
|
+
* Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that's passed to it.)
|
|
136964
|
+
* Whereas the original `PowerPoint.TableRow` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.TableRowData`) that contains shallow copies of any loaded child properties from the original object.
|
|
136965
|
+
*/
|
|
136966
|
+
toJSON(): PowerPoint.Interfaces.TableRowData;
|
|
136967
|
+
}
|
|
136968
|
+
/**
|
|
136969
|
+
* Represents the available options when adding a table row.
|
|
136970
|
+
*
|
|
136971
|
+
* @remarks
|
|
136972
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136973
|
+
* @beta
|
|
136974
|
+
*/
|
|
136975
|
+
interface TableRowAddOptions {
|
|
136976
|
+
/**
|
|
136977
|
+
* If provided, specifies properties for each cell in the table row.
|
|
136978
|
+
If a cell doesn't require specific formatting, specify an empty object for that cell.
|
|
136979
|
+
*
|
|
136980
|
+
* @remarks
|
|
136981
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136982
|
+
* @beta
|
|
136983
|
+
*/
|
|
136984
|
+
specificCellProperties?: PowerPoint.TableCellProperties[][];
|
|
136985
|
+
/**
|
|
136986
|
+
* Specifies the formatting which applies uniformly to all of the table row cells.
|
|
136987
|
+
*
|
|
136988
|
+
* @remarks
|
|
136989
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136990
|
+
* @beta
|
|
136991
|
+
*/
|
|
136992
|
+
uniformCellProperties?: PowerPoint.TableCellProperties;
|
|
136993
|
+
}
|
|
136994
|
+
/**
|
|
136995
|
+
* Represents a collection of table rows.
|
|
136996
|
+
*
|
|
136997
|
+
* @remarks
|
|
136998
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
136999
|
+
* @beta
|
|
137000
|
+
*/
|
|
137001
|
+
class TableRowCollection extends OfficeExtension.ClientObject {
|
|
137002
|
+
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
137003
|
+
context: RequestContext;
|
|
137004
|
+
/** Gets the loaded child items in this collection. */
|
|
137005
|
+
readonly items: PowerPoint.TableRow[];
|
|
137006
|
+
/**
|
|
137007
|
+
* Adds one or more rows to the table.
|
|
137008
|
+
*
|
|
137009
|
+
* @remarks
|
|
137010
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137011
|
+
* @beta
|
|
137012
|
+
*
|
|
137013
|
+
* @param index Optional. Specifies the zero-based index where the new rows are added. Existing rows starting at the index location are shifted down. If the index value is undefined, null, -1, or greater than the number of rows in the table, the new rows are added at the end of the table.
|
|
137014
|
+
* @param count Optional. The number of rows to add. If the value is undefined or 0, only one row is added.
|
|
137015
|
+
*/
|
|
137016
|
+
add(index?: number | null, count?: number): void;
|
|
137017
|
+
/**
|
|
137018
|
+
* Deletes the specified rows from the collection.
|
|
137019
|
+
*
|
|
137020
|
+
* @remarks
|
|
137021
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137022
|
+
* @beta
|
|
137023
|
+
*
|
|
137024
|
+
* @param rows An array of `TableRow` objects representing the rows to be deleted.
|
|
137025
|
+
*/
|
|
137026
|
+
deleteRows(rows: PowerPoint.TableRow[]): void;
|
|
137027
|
+
/**
|
|
137028
|
+
* Gets the number of rows in the collection.
|
|
137029
|
+
*
|
|
137030
|
+
* @remarks
|
|
137031
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137032
|
+
* @beta
|
|
137033
|
+
* @returns The number of rows in the collection.
|
|
137034
|
+
*/
|
|
137035
|
+
getCount(): OfficeExtension.ClientResult<number>;
|
|
137036
|
+
/**
|
|
137037
|
+
* Gets the row using its zero-based index in the collection.
|
|
137038
|
+
*
|
|
137039
|
+
* @remarks
|
|
137040
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137041
|
+
* @beta
|
|
137042
|
+
*
|
|
137043
|
+
* @param index Index value of the row to be retrieved, as a zero-based index.
|
|
137044
|
+
* @returns The row object.
|
|
137045
|
+
*/
|
|
137046
|
+
getItemAt(index: number): PowerPoint.TableRow;
|
|
137047
|
+
/**
|
|
137048
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
137049
|
+
*
|
|
137050
|
+
* @param options Provides options for which properties of the object to load.
|
|
137051
|
+
*/
|
|
137052
|
+
load(options?: PowerPoint.Interfaces.TableRowCollectionLoadOptions & PowerPoint.Interfaces.CollectionLoadOptions): PowerPoint.TableRowCollection;
|
|
137053
|
+
/**
|
|
137054
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
137055
|
+
*
|
|
137056
|
+
* @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
|
|
137057
|
+
*/
|
|
137058
|
+
load(propertyNames?: string | string[]): PowerPoint.TableRowCollection;
|
|
137059
|
+
/**
|
|
137060
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
137061
|
+
*
|
|
137062
|
+
* @param propertyNamesAndPaths `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
|
|
137063
|
+
*/
|
|
137064
|
+
load(propertyNamesAndPaths?: OfficeExtension.LoadOption): PowerPoint.TableRowCollection;
|
|
137065
|
+
/**
|
|
137066
|
+
* Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that's passed to it.)
|
|
137067
|
+
* Whereas the original `PowerPoint.TableRowCollection` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.TableRowCollectionData`) that contains an "items" array with shallow copies of any loaded properties from the collection's items.
|
|
137068
|
+
*/
|
|
137069
|
+
toJSON(): PowerPoint.Interfaces.TableRowCollectionData;
|
|
137070
|
+
}
|
|
137071
|
+
/**
|
|
137072
|
+
* Represents the available built-in table styles.
|
|
137073
|
+
*
|
|
137074
|
+
* @remarks
|
|
137075
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137076
|
+
* @beta
|
|
137077
|
+
*/
|
|
137078
|
+
enum TableStyle {
|
|
137079
|
+
/**
|
|
137080
|
+
* Specifies the style "No style, No grid" in UI.
|
|
137081
|
+
* @remarks
|
|
137082
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137083
|
+
* @beta
|
|
137084
|
+
*/
|
|
137085
|
+
noStyleNoGrid = "NoStyleNoGrid",
|
|
137086
|
+
/**
|
|
137087
|
+
* Specifies the style "Themed style 1 - Accent 1" in UI.
|
|
137088
|
+
* @remarks
|
|
137089
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137090
|
+
* @beta
|
|
137091
|
+
*/
|
|
137092
|
+
themedStyle1Accent1 = "ThemedStyle1Accent1",
|
|
137093
|
+
/**
|
|
137094
|
+
* Specifies the style "Themed style 1 - Accent 2" in UI.
|
|
137095
|
+
* @remarks
|
|
137096
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137097
|
+
* @beta
|
|
137098
|
+
*/
|
|
137099
|
+
themedStyle1Accent2 = "ThemedStyle1Accent2",
|
|
137100
|
+
/**
|
|
137101
|
+
* Specifies the style "Themed style 1 - Accent 3" in UI.
|
|
137102
|
+
* @remarks
|
|
137103
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137104
|
+
* @beta
|
|
137105
|
+
*/
|
|
137106
|
+
themedStyle1Accent3 = "ThemedStyle1Accent3",
|
|
137107
|
+
/**
|
|
137108
|
+
* Specifies the style "Themed style 1 - Accent 4" in UI.
|
|
137109
|
+
* @remarks
|
|
137110
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137111
|
+
* @beta
|
|
137112
|
+
*/
|
|
137113
|
+
themedStyle1Accent4 = "ThemedStyle1Accent4",
|
|
137114
|
+
/**
|
|
137115
|
+
* Specifies the style "Themed style 1 - Accent 5" in UI.
|
|
137116
|
+
* @remarks
|
|
137117
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137118
|
+
* @beta
|
|
137119
|
+
*/
|
|
137120
|
+
themedStyle1Accent5 = "ThemedStyle1Accent5",
|
|
137121
|
+
/**
|
|
137122
|
+
* Specifies the style "Themed style 1 - Accent 6" in UI.
|
|
137123
|
+
* @remarks
|
|
137124
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137125
|
+
* @beta
|
|
137126
|
+
*/
|
|
137127
|
+
themedStyle1Accent6 = "ThemedStyle1Accent6",
|
|
137128
|
+
/**
|
|
137129
|
+
* Specifies the style "No style, Table grid" in UI.
|
|
137130
|
+
* @remarks
|
|
137131
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137132
|
+
* @beta
|
|
137133
|
+
*/
|
|
137134
|
+
noStyleTableGrid = "NoStyleTableGrid",
|
|
137135
|
+
/**
|
|
137136
|
+
* Specifies the style "Themed style 2 - Accent 1" in UI.
|
|
137137
|
+
* @remarks
|
|
137138
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137139
|
+
* @beta
|
|
137140
|
+
*/
|
|
137141
|
+
themedStyle2Accent1 = "ThemedStyle2Accent1",
|
|
137142
|
+
/**
|
|
137143
|
+
* Specifies the style "Themed style 2 - Accent 2" in UI.
|
|
137144
|
+
* @remarks
|
|
137145
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137146
|
+
* @beta
|
|
137147
|
+
*/
|
|
137148
|
+
themedStyle2Accent2 = "ThemedStyle2Accent2",
|
|
137149
|
+
/**
|
|
137150
|
+
* Specifies the style "Themed style 2 - Accent 3" in UI.
|
|
137151
|
+
* @remarks
|
|
137152
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137153
|
+
* @beta
|
|
137154
|
+
*/
|
|
137155
|
+
themedStyle2Accent3 = "ThemedStyle2Accent3",
|
|
137156
|
+
/**
|
|
137157
|
+
* Specifies the style "Themed style 2 - Accent 4" in UI.
|
|
137158
|
+
* @remarks
|
|
137159
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137160
|
+
* @beta
|
|
137161
|
+
*/
|
|
137162
|
+
themedStyle2Accent4 = "ThemedStyle2Accent4",
|
|
137163
|
+
/**
|
|
137164
|
+
* Specifies the style "Themed style 2 - Accent 5" in UI.
|
|
137165
|
+
* @remarks
|
|
137166
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137167
|
+
* @beta
|
|
137168
|
+
*/
|
|
137169
|
+
themedStyle2Accent5 = "ThemedStyle2Accent5",
|
|
137170
|
+
/**
|
|
137171
|
+
* Specifies the style "Themed style 2 - Accent 6" in UI.
|
|
137172
|
+
* @remarks
|
|
137173
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137174
|
+
* @beta
|
|
137175
|
+
*/
|
|
137176
|
+
themedStyle2Accent6 = "ThemedStyle2Accent6",
|
|
137177
|
+
/**
|
|
137178
|
+
* Specifies the style "Light Style 1" in UI.
|
|
137179
|
+
* @remarks
|
|
137180
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137181
|
+
* @beta
|
|
137182
|
+
*/
|
|
137183
|
+
lightStyle1 = "LightStyle1",
|
|
137184
|
+
/**
|
|
137185
|
+
* Specifies the style "Light style 1 - Accent 1" in UI.
|
|
137186
|
+
* @remarks
|
|
137187
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137188
|
+
* @beta
|
|
137189
|
+
*/
|
|
137190
|
+
lightStyle1Accent1 = "LightStyle1Accent1",
|
|
137191
|
+
/**
|
|
137192
|
+
* Specifies the style "Light style 1 - Accent 2" in UI.
|
|
137193
|
+
* @remarks
|
|
137194
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137195
|
+
* @beta
|
|
137196
|
+
*/
|
|
137197
|
+
lightStyle1Accent2 = "LightStyle1Accent2",
|
|
137198
|
+
/**
|
|
137199
|
+
* Specifies the style "Light style 1 - Accent 3" in UI.
|
|
137200
|
+
* @remarks
|
|
137201
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137202
|
+
* @beta
|
|
137203
|
+
*/
|
|
137204
|
+
lightStyle1Accent3 = "LightStyle1Accent3",
|
|
137205
|
+
/**
|
|
137206
|
+
* Specifies the style "Light style 1 - Accent 4" in UI.
|
|
137207
|
+
* @remarks
|
|
137208
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137209
|
+
* @beta
|
|
137210
|
+
*/
|
|
137211
|
+
lightStyle1Accent4 = "LightStyle1Accent4",
|
|
137212
|
+
/**
|
|
137213
|
+
* Specifies the style "Light style 1 - Accent 5" in UI.
|
|
137214
|
+
* @remarks
|
|
137215
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137216
|
+
* @beta
|
|
137217
|
+
*/
|
|
137218
|
+
lightStyle1Accent5 = "LightStyle1Accent5",
|
|
137219
|
+
/**
|
|
137220
|
+
* Specifies the style "Light style 1 - Accent 6" in UI.
|
|
137221
|
+
* @remarks
|
|
137222
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137223
|
+
* @beta
|
|
137224
|
+
*/
|
|
137225
|
+
lightStyle1Accent6 = "LightStyle1Accent6",
|
|
137226
|
+
/**
|
|
137227
|
+
* Specifies the style "Light Style 2" in UI.
|
|
137228
|
+
* @remarks
|
|
137229
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137230
|
+
* @beta
|
|
137231
|
+
*/
|
|
137232
|
+
lightStyle2 = "LightStyle2",
|
|
137233
|
+
/**
|
|
137234
|
+
* Specifies the style "Light style 2 - Accent 1" in UI.
|
|
137235
|
+
* @remarks
|
|
137236
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137237
|
+
* @beta
|
|
137238
|
+
*/
|
|
137239
|
+
lightStyle2Accent1 = "LightStyle2Accent1",
|
|
137240
|
+
/**
|
|
137241
|
+
* Specifies the style "Light style 2 - Accent 2" in UI.
|
|
137242
|
+
* @remarks
|
|
137243
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137244
|
+
* @beta
|
|
137245
|
+
*/
|
|
137246
|
+
lightStyle2Accent2 = "LightStyle2Accent2",
|
|
137247
|
+
/**
|
|
137248
|
+
* Specifies the style "Light style 2 - Accent 3" in UI.
|
|
137249
|
+
* @remarks
|
|
137250
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137251
|
+
* @beta
|
|
137252
|
+
*/
|
|
137253
|
+
lightStyle2Accent3 = "LightStyle2Accent3",
|
|
137254
|
+
/**
|
|
137255
|
+
* Specifies the style "Light style 2 - Accent 4" in UI.
|
|
137256
|
+
* @remarks
|
|
137257
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137258
|
+
* @beta
|
|
137259
|
+
*/
|
|
137260
|
+
lightStyle2Accent4 = "LightStyle2Accent4",
|
|
137261
|
+
/**
|
|
137262
|
+
* Specifies the style "Light style 2 - Accent 5" in UI.
|
|
137263
|
+
* @remarks
|
|
137264
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137265
|
+
* @beta
|
|
137266
|
+
*/
|
|
137267
|
+
lightStyle2Accent5 = "LightStyle2Accent5",
|
|
137268
|
+
/**
|
|
137269
|
+
* Specifies the style "Light style 2 - Accent 6" in UI.
|
|
137270
|
+
* @remarks
|
|
137271
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137272
|
+
* @beta
|
|
137273
|
+
*/
|
|
137274
|
+
lightStyle2Accent6 = "LightStyle2Accent6",
|
|
137275
|
+
/**
|
|
137276
|
+
* Specifies the style "Light Style 3" in UI.
|
|
137277
|
+
* @remarks
|
|
137278
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137279
|
+
* @beta
|
|
137280
|
+
*/
|
|
137281
|
+
lightStyle3 = "LightStyle3",
|
|
137282
|
+
/**
|
|
137283
|
+
* Specifies the style "Light style 3 - Accent 1" in UI.
|
|
137284
|
+
* @remarks
|
|
137285
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137286
|
+
* @beta
|
|
137287
|
+
*/
|
|
137288
|
+
lightStyle3Accent1 = "LightStyle3Accent1",
|
|
137289
|
+
/**
|
|
137290
|
+
* Specifies the style "Light style 3 - Accent 2" in UI.
|
|
137291
|
+
* @remarks
|
|
137292
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137293
|
+
* @beta
|
|
137294
|
+
*/
|
|
137295
|
+
lightStyle3Accent2 = "LightStyle3Accent2",
|
|
137296
|
+
/**
|
|
137297
|
+
* Specifies the style "Light style 3 - Accent 3" in UI.
|
|
137298
|
+
* @remarks
|
|
137299
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137300
|
+
* @beta
|
|
137301
|
+
*/
|
|
137302
|
+
lightStyle3Accent3 = "LightStyle3Accent3",
|
|
137303
|
+
/**
|
|
137304
|
+
* Specifies the style "Light style 3 - Accent 4" in UI.
|
|
137305
|
+
* @remarks
|
|
137306
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137307
|
+
* @beta
|
|
137308
|
+
*/
|
|
137309
|
+
lightStyle3Accent4 = "LightStyle3Accent4",
|
|
137310
|
+
/**
|
|
137311
|
+
* Specifies the style "Light style 3 - Accent 5" in UI.
|
|
137312
|
+
* @remarks
|
|
137313
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137314
|
+
* @beta
|
|
137315
|
+
*/
|
|
137316
|
+
lightStyle3Accent5 = "LightStyle3Accent5",
|
|
137317
|
+
/**
|
|
137318
|
+
* Specifies the style "Light style 3 - Accent 6" in UI.
|
|
137319
|
+
* @remarks
|
|
137320
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137321
|
+
* @beta
|
|
137322
|
+
*/
|
|
137323
|
+
lightStyle3Accent6 = "LightStyle3Accent6",
|
|
137324
|
+
/**
|
|
137325
|
+
* Specifies the style "Medium Style 1" in UI.
|
|
137326
|
+
* @remarks
|
|
137327
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137328
|
+
* @beta
|
|
137329
|
+
*/
|
|
137330
|
+
mediumStyle1 = "MediumStyle1",
|
|
137331
|
+
/**
|
|
137332
|
+
* Specifies the style "Medium style 1 - Accent 1" in UI.
|
|
137333
|
+
* @remarks
|
|
137334
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137335
|
+
* @beta
|
|
137336
|
+
*/
|
|
137337
|
+
mediumStyle1Accent1 = "MediumStyle1Accent1",
|
|
137338
|
+
/**
|
|
137339
|
+
* Specifies the style "Medium style 1 - Accent 2" in UI.
|
|
137340
|
+
* @remarks
|
|
137341
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137342
|
+
* @beta
|
|
137343
|
+
*/
|
|
137344
|
+
mediumStyle1Accent2 = "MediumStyle1Accent2",
|
|
137345
|
+
/**
|
|
137346
|
+
* Specifies the style "Medium style 1 - Accent 3" in UI.
|
|
137347
|
+
* @remarks
|
|
137348
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137349
|
+
* @beta
|
|
137350
|
+
*/
|
|
137351
|
+
mediumStyle1Accent3 = "MediumStyle1Accent3",
|
|
137352
|
+
/**
|
|
137353
|
+
* Specifies the style "Medium style 1 - Accent 4" in UI.
|
|
137354
|
+
* @remarks
|
|
137355
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137356
|
+
* @beta
|
|
137357
|
+
*/
|
|
137358
|
+
mediumStyle1Accent4 = "MediumStyle1Accent4",
|
|
137359
|
+
/**
|
|
137360
|
+
* Specifies the style "Medium style 1 - Accent 5" in UI.
|
|
137361
|
+
* @remarks
|
|
137362
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137363
|
+
* @beta
|
|
137364
|
+
*/
|
|
137365
|
+
mediumStyle1Accent5 = "MediumStyle1Accent5",
|
|
137366
|
+
/**
|
|
137367
|
+
* Specifies the style "Medium style 1 - Accent 6" in UI.
|
|
137368
|
+
* @remarks
|
|
137369
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137370
|
+
* @beta
|
|
137371
|
+
*/
|
|
137372
|
+
mediumStyle1Accent6 = "MediumStyle1Accent6",
|
|
137373
|
+
/**
|
|
137374
|
+
* Specifies the style "Medium Style 2" in UI.
|
|
137375
|
+
* @remarks
|
|
137376
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137377
|
+
* @beta
|
|
137378
|
+
*/
|
|
137379
|
+
mediumStyle2 = "MediumStyle2",
|
|
137380
|
+
/**
|
|
137381
|
+
* Specifies the style "Medium style 2 - Accent 1" in UI.
|
|
137382
|
+
* @remarks
|
|
137383
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137384
|
+
* @beta
|
|
137385
|
+
*/
|
|
137386
|
+
mediumStyle2Accent1 = "MediumStyle2Accent1",
|
|
137387
|
+
/**
|
|
137388
|
+
* Specifies the style "Medium style 2 - Accent 2" in UI.
|
|
137389
|
+
* @remarks
|
|
137390
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137391
|
+
* @beta
|
|
137392
|
+
*/
|
|
137393
|
+
mediumStyle2Accent2 = "MediumStyle2Accent2",
|
|
137394
|
+
/**
|
|
137395
|
+
* Specifies the style "Medium style 2 - Accent 3" in UI.
|
|
137396
|
+
* @remarks
|
|
137397
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137398
|
+
* @beta
|
|
137399
|
+
*/
|
|
137400
|
+
mediumStyle2Accent3 = "MediumStyle2Accent3",
|
|
137401
|
+
/**
|
|
137402
|
+
* Specifies the style "Medium style 2 - Accent 4" in UI.
|
|
137403
|
+
* @remarks
|
|
137404
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137405
|
+
* @beta
|
|
137406
|
+
*/
|
|
137407
|
+
mediumStyle2Accent4 = "MediumStyle2Accent4",
|
|
137408
|
+
/**
|
|
137409
|
+
* Specifies the style "Medium style 2 - Accent 5" in UI.
|
|
137410
|
+
* @remarks
|
|
137411
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137412
|
+
* @beta
|
|
137413
|
+
*/
|
|
137414
|
+
mediumStyle2Accent5 = "MediumStyle2Accent5",
|
|
137415
|
+
/**
|
|
137416
|
+
* Specifies the style "Medium style 2 - Accent 6" in UI.
|
|
137417
|
+
* @remarks
|
|
137418
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137419
|
+
* @beta
|
|
137420
|
+
*/
|
|
137421
|
+
mediumStyle2Accent6 = "MediumStyle2Accent6",
|
|
137422
|
+
/**
|
|
137423
|
+
* Specifies the style "Medium Style 3" in UI.
|
|
137424
|
+
* @remarks
|
|
137425
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137426
|
+
* @beta
|
|
137427
|
+
*/
|
|
137428
|
+
mediumStyle3 = "MediumStyle3",
|
|
137429
|
+
/**
|
|
137430
|
+
* Specifies the style "Medium style 3 - Accent 1" in UI.
|
|
137431
|
+
* @remarks
|
|
137432
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137433
|
+
* @beta
|
|
137434
|
+
*/
|
|
137435
|
+
mediumStyle3Accent1 = "MediumStyle3Accent1",
|
|
137436
|
+
/**
|
|
137437
|
+
* Specifies the style "Medium style 3 - Accent 2" in UI.
|
|
137438
|
+
* @remarks
|
|
137439
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137440
|
+
* @beta
|
|
137441
|
+
*/
|
|
137442
|
+
mediumStyle3Accent2 = "MediumStyle3Accent2",
|
|
137443
|
+
/**
|
|
137444
|
+
* Specifies the style "Medium style 3 - Accent 3" in UI.
|
|
137445
|
+
* @remarks
|
|
137446
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137447
|
+
* @beta
|
|
137448
|
+
*/
|
|
137449
|
+
mediumStyle3Accent3 = "MediumStyle3Accent3",
|
|
137450
|
+
/**
|
|
137451
|
+
* Specifies the style "Medium style 3 - Accent 4" in UI.
|
|
137452
|
+
* @remarks
|
|
137453
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137454
|
+
* @beta
|
|
137455
|
+
*/
|
|
137456
|
+
mediumStyle3Accent4 = "MediumStyle3Accent4",
|
|
137457
|
+
/**
|
|
137458
|
+
* Specifies the style "Medium style 3 - Accent 5" in UI.
|
|
137459
|
+
* @remarks
|
|
137460
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137461
|
+
* @beta
|
|
137462
|
+
*/
|
|
137463
|
+
mediumStyle3Accent5 = "MediumStyle3Accent5",
|
|
137464
|
+
/**
|
|
137465
|
+
* Specifies the style "Medium style 3 - Accent 6" in UI.
|
|
137466
|
+
* @remarks
|
|
137467
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137468
|
+
* @beta
|
|
137469
|
+
*/
|
|
137470
|
+
mediumStyle3Accent6 = "MediumStyle3Accent6",
|
|
137471
|
+
/**
|
|
137472
|
+
* Specifies the style "Medium Style 4" in UI.
|
|
137473
|
+
* @remarks
|
|
137474
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137475
|
+
* @beta
|
|
137476
|
+
*/
|
|
137477
|
+
mediumStyle4 = "MediumStyle4",
|
|
137478
|
+
/**
|
|
137479
|
+
* Specifies the style "Medium style 4 - Accent 1" in UI.
|
|
137480
|
+
* @remarks
|
|
137481
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137482
|
+
* @beta
|
|
137483
|
+
*/
|
|
137484
|
+
mediumStyle4Accent1 = "MediumStyle4Accent1",
|
|
137485
|
+
/**
|
|
137486
|
+
* Specifies the style "Medium style 4 - Accent 2" in UI.
|
|
137487
|
+
* @remarks
|
|
137488
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137489
|
+
* @beta
|
|
137490
|
+
*/
|
|
137491
|
+
mediumStyle4Accent2 = "MediumStyle4Accent2",
|
|
137492
|
+
/**
|
|
137493
|
+
* Specifies the style "Medium style 4 - Accent 3" in UI.
|
|
137494
|
+
* @remarks
|
|
137495
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137496
|
+
* @beta
|
|
137497
|
+
*/
|
|
137498
|
+
mediumStyle4Accent3 = "MediumStyle4Accent3",
|
|
137499
|
+
/**
|
|
137500
|
+
* Specifies the style "Medium style 4 - Accent 4" in UI.
|
|
137501
|
+
* @remarks
|
|
137502
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137503
|
+
* @beta
|
|
137504
|
+
*/
|
|
137505
|
+
mediumStyle4Accent4 = "MediumStyle4Accent4",
|
|
137506
|
+
/**
|
|
137507
|
+
* Specifies the style "Medium style 4 - Accent 5" in UI.
|
|
137508
|
+
* @remarks
|
|
137509
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137510
|
+
* @beta
|
|
137511
|
+
*/
|
|
137512
|
+
mediumStyle4Accent5 = "MediumStyle4Accent5",
|
|
137513
|
+
/**
|
|
137514
|
+
* Specifies the style "Medium style 4 - Accent 6" in UI.
|
|
137515
|
+
* @remarks
|
|
137516
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137517
|
+
* @beta
|
|
137518
|
+
*/
|
|
137519
|
+
mediumStyle4Accent6 = "MediumStyle4Accent6",
|
|
137520
|
+
/**
|
|
137521
|
+
* Specifies the style "Dark Style 1" in UI.
|
|
137522
|
+
* @remarks
|
|
137523
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137524
|
+
* @beta
|
|
137525
|
+
*/
|
|
137526
|
+
darkStyle1 = "DarkStyle1",
|
|
137527
|
+
/**
|
|
137528
|
+
* Specifies the style "Dark style 1 - Accent 1" in UI.
|
|
137529
|
+
* @remarks
|
|
137530
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137531
|
+
* @beta
|
|
137532
|
+
*/
|
|
137533
|
+
darkStyle1Accent1 = "DarkStyle1Accent1",
|
|
137534
|
+
/**
|
|
137535
|
+
* Specifies the style "Dark style 1 - Accent 2" in UI.
|
|
137536
|
+
* @remarks
|
|
137537
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137538
|
+
* @beta
|
|
137539
|
+
*/
|
|
137540
|
+
darkStyle1Accent2 = "DarkStyle1Accent2",
|
|
137541
|
+
/**
|
|
137542
|
+
* Specifies the style "Dark style 1 - Accent 3" in UI.
|
|
137543
|
+
* @remarks
|
|
137544
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137545
|
+
* @beta
|
|
137546
|
+
*/
|
|
137547
|
+
darkStyle1Accent3 = "DarkStyle1Accent3",
|
|
137548
|
+
/**
|
|
137549
|
+
* Specifies the style "Dark style 1 - Accent 4" in UI.
|
|
137550
|
+
* @remarks
|
|
137551
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137552
|
+
* @beta
|
|
137553
|
+
*/
|
|
137554
|
+
darkStyle1Accent4 = "DarkStyle1Accent4",
|
|
137555
|
+
/**
|
|
137556
|
+
* Specifies the style "Dark style 1 - Accent 5" in UI.
|
|
137557
|
+
* @remarks
|
|
137558
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137559
|
+
* @beta
|
|
137560
|
+
*/
|
|
137561
|
+
darkStyle1Accent5 = "DarkStyle1Accent5",
|
|
137562
|
+
/**
|
|
137563
|
+
* Specifies the style "Dark style 1 - Accent 6" in UI.
|
|
137564
|
+
* @remarks
|
|
137565
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137566
|
+
* @beta
|
|
137567
|
+
*/
|
|
137568
|
+
darkStyle1Accent6 = "DarkStyle1Accent6",
|
|
137569
|
+
/**
|
|
137570
|
+
* Specifies the style "Dark Style 2" in UI.
|
|
137571
|
+
* @remarks
|
|
137572
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137573
|
+
* @beta
|
|
137574
|
+
*/
|
|
137575
|
+
darkStyle2 = "DarkStyle2",
|
|
137576
|
+
/**
|
|
137577
|
+
* Specifies the style "Dark style 2 - Accent 1/Accent 2" in UI.
|
|
137578
|
+
* @remarks
|
|
137579
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137580
|
+
* @beta
|
|
137581
|
+
*/
|
|
137582
|
+
darkStyle2Accent1 = "DarkStyle2Accent1",
|
|
137583
|
+
/**
|
|
137584
|
+
* Specifies the style "Dark style 2 - Accent 3/Accent 4" in UI.
|
|
137585
|
+
* @remarks
|
|
137586
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137587
|
+
* @beta
|
|
137588
|
+
*/
|
|
137589
|
+
darkStyle2Accent2 = "DarkStyle2Accent2",
|
|
137590
|
+
/**
|
|
137591
|
+
* Specifies the style "Dark style 2 - Accent 5/Accent 6" in UI.
|
|
137592
|
+
* @remarks
|
|
137593
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137594
|
+
* @beta
|
|
137595
|
+
*/
|
|
137596
|
+
darkStyle2Accent3 = "DarkStyle2Accent3",
|
|
137597
|
+
}
|
|
137598
|
+
/**
|
|
137599
|
+
* Represents the available table style options.
|
|
137600
|
+
*
|
|
137601
|
+
* @remarks
|
|
137602
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137603
|
+
* @beta
|
|
137604
|
+
*/
|
|
137605
|
+
class TableStyleOptions extends OfficeExtension.ClientObject {
|
|
137606
|
+
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
137607
|
+
context: RequestContext;
|
|
137608
|
+
/**
|
|
137609
|
+
* Specifies if the columns show banded formatting in which odd columns are highlighted differently from even ones, to make reading the table easier.
|
|
137610
|
+
*
|
|
137611
|
+
* @remarks
|
|
137612
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137613
|
+
* @beta
|
|
137614
|
+
*/
|
|
137615
|
+
areColumnsBanded: boolean;
|
|
137616
|
+
/**
|
|
137617
|
+
* Specifies if the rows show banded formatting in which odd rows are highlighted differently from even ones, to make reading the table easier.
|
|
137618
|
+
*
|
|
137619
|
+
* @remarks
|
|
137620
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137621
|
+
* @beta
|
|
137622
|
+
*/
|
|
137623
|
+
areRowsBanded: boolean;
|
|
137624
|
+
/**
|
|
137625
|
+
* Specifies if the first column contains special formatting.
|
|
137626
|
+
*
|
|
137627
|
+
* @remarks
|
|
137628
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137629
|
+
* @beta
|
|
137630
|
+
*/
|
|
137631
|
+
isFirstColumnHighlighted: boolean;
|
|
137632
|
+
/**
|
|
137633
|
+
* Specifies if the first row contains special formatting.
|
|
137634
|
+
*
|
|
137635
|
+
* @remarks
|
|
137636
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137637
|
+
* @beta
|
|
137638
|
+
*/
|
|
137639
|
+
isFirstRowHighlighted: boolean;
|
|
137640
|
+
/**
|
|
137641
|
+
* Specifies if the last column contains special formatting.
|
|
137642
|
+
*
|
|
137643
|
+
* @remarks
|
|
137644
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137645
|
+
* @beta
|
|
137646
|
+
*/
|
|
137647
|
+
isLastColumnHighlighted: boolean;
|
|
137648
|
+
/**
|
|
137649
|
+
* Specifies if the last row contains special formatting.
|
|
137650
|
+
*
|
|
137651
|
+
* @remarks
|
|
137652
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137653
|
+
* @beta
|
|
137654
|
+
*/
|
|
137655
|
+
isLastRowHighlighted: boolean;
|
|
137656
|
+
/**
|
|
137657
|
+
* Specifies the table style.
|
|
137658
|
+
*
|
|
137659
|
+
* @remarks
|
|
137660
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137661
|
+
* @beta
|
|
137662
|
+
*/
|
|
137663
|
+
style: PowerPoint.TableStyle | "NoStyleNoGrid" | "ThemedStyle1Accent1" | "ThemedStyle1Accent2" | "ThemedStyle1Accent3" | "ThemedStyle1Accent4" | "ThemedStyle1Accent5" | "ThemedStyle1Accent6" | "NoStyleTableGrid" | "ThemedStyle2Accent1" | "ThemedStyle2Accent2" | "ThemedStyle2Accent3" | "ThemedStyle2Accent4" | "ThemedStyle2Accent5" | "ThemedStyle2Accent6" | "LightStyle1" | "LightStyle1Accent1" | "LightStyle1Accent2" | "LightStyle1Accent3" | "LightStyle1Accent4" | "LightStyle1Accent5" | "LightStyle1Accent6" | "LightStyle2" | "LightStyle2Accent1" | "LightStyle2Accent2" | "LightStyle2Accent3" | "LightStyle2Accent4" | "LightStyle2Accent5" | "LightStyle2Accent6" | "LightStyle3" | "LightStyle3Accent1" | "LightStyle3Accent2" | "LightStyle3Accent3" | "LightStyle3Accent4" | "LightStyle3Accent5" | "LightStyle3Accent6" | "MediumStyle1" | "MediumStyle1Accent1" | "MediumStyle1Accent2" | "MediumStyle1Accent3" | "MediumStyle1Accent4" | "MediumStyle1Accent5" | "MediumStyle1Accent6" | "MediumStyle2" | "MediumStyle2Accent1" | "MediumStyle2Accent2" | "MediumStyle2Accent3" | "MediumStyle2Accent4" | "MediumStyle2Accent5" | "MediumStyle2Accent6" | "MediumStyle3" | "MediumStyle3Accent1" | "MediumStyle3Accent2" | "MediumStyle3Accent3" | "MediumStyle3Accent4" | "MediumStyle3Accent5" | "MediumStyle3Accent6" | "MediumStyle4" | "MediumStyle4Accent1" | "MediumStyle4Accent2" | "MediumStyle4Accent3" | "MediumStyle4Accent4" | "MediumStyle4Accent5" | "MediumStyle4Accent6" | "DarkStyle1" | "DarkStyle1Accent1" | "DarkStyle1Accent2" | "DarkStyle1Accent3" | "DarkStyle1Accent4" | "DarkStyle1Accent5" | "DarkStyle1Accent6" | "DarkStyle2" | "DarkStyle2Accent1" | "DarkStyle2Accent2" | "DarkStyle2Accent3";
|
|
137664
|
+
/**
|
|
137665
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
137666
|
+
*
|
|
137667
|
+
* @param options Provides options for which properties of the object to load.
|
|
137668
|
+
*/
|
|
137669
|
+
load(options?: PowerPoint.Interfaces.TableStyleOptionsLoadOptions): PowerPoint.TableStyleOptions;
|
|
137670
|
+
/**
|
|
137671
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
137672
|
+
*
|
|
137673
|
+
* @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
|
|
137674
|
+
*/
|
|
137675
|
+
load(propertyNames?: string | string[]): PowerPoint.TableStyleOptions;
|
|
137676
|
+
/**
|
|
137677
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
137678
|
+
*
|
|
137679
|
+
* @param propertyNamesAndPaths `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
|
|
137680
|
+
*/
|
|
137681
|
+
load(propertyNamesAndPaths?: {
|
|
137682
|
+
select?: string;
|
|
137683
|
+
expand?: string;
|
|
137684
|
+
}): PowerPoint.TableStyleOptions;
|
|
137685
|
+
/**
|
|
137686
|
+
* Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that's passed to it.)
|
|
137687
|
+
* Whereas the original `PowerPoint.TableStyleOptions` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.TableStyleOptionsData`) that contains shallow copies of any loaded child properties from the original object.
|
|
137688
|
+
*/
|
|
137689
|
+
toJSON(): PowerPoint.Interfaces.TableStyleOptionsData;
|
|
137690
|
+
}
|
|
136389
137691
|
/**
|
|
136390
137692
|
* Represents a table.
|
|
136391
137693
|
*
|
|
@@ -136395,6 +137697,30 @@ declare namespace PowerPoint {
|
|
|
136395
137697
|
class Table extends OfficeExtension.ClientObject {
|
|
136396
137698
|
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
136397
137699
|
context: RequestContext;
|
|
137700
|
+
/**
|
|
137701
|
+
* Gets the collection of columns in the table.
|
|
137702
|
+
*
|
|
137703
|
+
* @remarks
|
|
137704
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137705
|
+
* @beta
|
|
137706
|
+
*/
|
|
137707
|
+
readonly columns: PowerPoint.TableColumnCollection;
|
|
137708
|
+
/**
|
|
137709
|
+
* Gets the collection of rows in the table.
|
|
137710
|
+
*
|
|
137711
|
+
* @remarks
|
|
137712
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137713
|
+
* @beta
|
|
137714
|
+
*/
|
|
137715
|
+
readonly rows: PowerPoint.TableRowCollection;
|
|
137716
|
+
/**
|
|
137717
|
+
* Gets the table style options.
|
|
137718
|
+
*
|
|
137719
|
+
* @remarks
|
|
137720
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137721
|
+
* @beta
|
|
137722
|
+
*/
|
|
137723
|
+
readonly styleOptions: PowerPoint.TableStyleOptions;
|
|
136398
137724
|
/**
|
|
136399
137725
|
* Gets the number of columns in the table.
|
|
136400
137726
|
*
|
|
@@ -136416,6 +137742,16 @@ declare namespace PowerPoint {
|
|
|
136416
137742
|
* [Api set: PowerPointApi 1.8]
|
|
136417
137743
|
*/
|
|
136418
137744
|
readonly values: string[][];
|
|
137745
|
+
/**
|
|
137746
|
+
* Clears table values and formatting.
|
|
137747
|
+
*
|
|
137748
|
+
* @remarks
|
|
137749
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137750
|
+
* @beta
|
|
137751
|
+
*
|
|
137752
|
+
* @param options Provides options for clearing the table.
|
|
137753
|
+
*/
|
|
137754
|
+
clear(options?: PowerPoint.TableClearOptions): void;
|
|
136419
137755
|
/**
|
|
136420
137756
|
* Gets the cell at the specified `rowIndex` and `columnIndex`.
|
|
136421
137757
|
*
|
|
@@ -136442,6 +137778,19 @@ declare namespace PowerPoint {
|
|
|
136442
137778
|
* [Api set: PowerPointApi 1.8]
|
|
136443
137779
|
*/
|
|
136444
137780
|
getShape(): PowerPoint.Shape;
|
|
137781
|
+
/**
|
|
137782
|
+
* Creates a merged area starting at the cell specified by rowIndex and columnIndex. The merged area spans across a specified number of rows and columns.
|
|
137783
|
+
*
|
|
137784
|
+
* @remarks
|
|
137785
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137786
|
+
* @beta
|
|
137787
|
+
*
|
|
137788
|
+
* @param rowIndex The zero-based row index of the cell to start the merged area.
|
|
137789
|
+
* @param columnIndex The zero-based column index of the cell to start the merged area.
|
|
137790
|
+
* @param rowCount The number of rows to merge with the starting cell. Must be greater than 0.
|
|
137791
|
+
* @param columnCount The number of columns to merge with the starting cell. Must be greater than 0.
|
|
137792
|
+
*/
|
|
137793
|
+
mergeCells(rowIndex: number, columnIndex: number, rowCount: number, columnCount: number): void;
|
|
136445
137794
|
/**
|
|
136446
137795
|
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
136447
137796
|
*
|
|
@@ -136608,6 +137957,14 @@ declare namespace PowerPoint {
|
|
|
136608
137957
|
* [Api set: PowerPointApi 1.8]
|
|
136609
137958
|
*/
|
|
136610
137959
|
specificCellProperties?: PowerPoint.TableCellProperties[][];
|
|
137960
|
+
/**
|
|
137961
|
+
* Specifies value that represents the table style.
|
|
137962
|
+
*
|
|
137963
|
+
* @remarks
|
|
137964
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
137965
|
+
* @beta
|
|
137966
|
+
*/
|
|
137967
|
+
style?: PowerPoint.TableStyle | "NoStyleNoGrid" | "ThemedStyle1Accent1" | "ThemedStyle1Accent2" | "ThemedStyle1Accent3" | "ThemedStyle1Accent4" | "ThemedStyle1Accent5" | "ThemedStyle1Accent6" | "NoStyleTableGrid" | "ThemedStyle2Accent1" | "ThemedStyle2Accent2" | "ThemedStyle2Accent3" | "ThemedStyle2Accent4" | "ThemedStyle2Accent5" | "ThemedStyle2Accent6" | "LightStyle1" | "LightStyle1Accent1" | "LightStyle1Accent2" | "LightStyle1Accent3" | "LightStyle1Accent4" | "LightStyle1Accent5" | "LightStyle1Accent6" | "LightStyle2" | "LightStyle2Accent1" | "LightStyle2Accent2" | "LightStyle2Accent3" | "LightStyle2Accent4" | "LightStyle2Accent5" | "LightStyle2Accent6" | "LightStyle3" | "LightStyle3Accent1" | "LightStyle3Accent2" | "LightStyle3Accent3" | "LightStyle3Accent4" | "LightStyle3Accent5" | "LightStyle3Accent6" | "MediumStyle1" | "MediumStyle1Accent1" | "MediumStyle1Accent2" | "MediumStyle1Accent3" | "MediumStyle1Accent4" | "MediumStyle1Accent5" | "MediumStyle1Accent6" | "MediumStyle2" | "MediumStyle2Accent1" | "MediumStyle2Accent2" | "MediumStyle2Accent3" | "MediumStyle2Accent4" | "MediumStyle2Accent5" | "MediumStyle2Accent6" | "MediumStyle3" | "MediumStyle3Accent1" | "MediumStyle3Accent2" | "MediumStyle3Accent3" | "MediumStyle3Accent4" | "MediumStyle3Accent5" | "MediumStyle3Accent6" | "MediumStyle4" | "MediumStyle4Accent1" | "MediumStyle4Accent2" | "MediumStyle4Accent3" | "MediumStyle4Accent4" | "MediumStyle4Accent5" | "MediumStyle4Accent6" | "DarkStyle1" | "DarkStyle1Accent1" | "DarkStyle1Accent2" | "DarkStyle1Accent3" | "DarkStyle1Accent4" | "DarkStyle1Accent5" | "DarkStyle1Accent6" | "DarkStyle2" | "DarkStyle2Accent1" | "DarkStyle2Accent2" | "DarkStyle2Accent3";
|
|
136611
137968
|
/**
|
|
136612
137969
|
* Specifies the distance, in points, from the top edge of the table to the top edge of the slide.
|
|
136613
137970
|
A default value is used when this parameter isn't provided.
|
|
@@ -137168,7 +138525,7 @@ declare namespace PowerPoint {
|
|
|
137168
138525
|
*/
|
|
137169
138526
|
getItemAt(index: number): PowerPoint.SlideLayout;
|
|
137170
138527
|
/**
|
|
137171
|
-
* Gets a layout using its unique ID.
|
|
138528
|
+
* 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,
|
|
137172
138529
|
see {@link https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods and properties}.
|
|
137173
138530
|
*
|
|
137174
138531
|
* @remarks
|
|
@@ -137512,7 +138869,7 @@ declare namespace PowerPoint {
|
|
|
137512
138869
|
* [Api set: PowerPointApi 1.8]
|
|
137513
138870
|
*
|
|
137514
138871
|
* @param options Optional. Options to specify the desired size of the slide image.
|
|
137515
|
-
* @returns A Base64 string of the slide image in PNG format.
|
|
138872
|
+
* @returns A Base64-encoded string of the slide image in PNG format.
|
|
137516
138873
|
*/
|
|
137517
138874
|
getImageAsBase64(options?: PowerPoint.SlideGetImageOptions): OfficeExtension.ClientResult<string>;
|
|
137518
138875
|
/**
|
|
@@ -137919,7 +139276,7 @@ declare namespace PowerPoint {
|
|
|
137919
139276
|
* @remarks
|
|
137920
139277
|
* [Api set: PowerPointApi 1.4]
|
|
137921
139278
|
*/
|
|
137922
|
-
horizontalAlignment: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed";
|
|
139279
|
+
horizontalAlignment: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed" | null;
|
|
137923
139280
|
/**
|
|
137924
139281
|
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
137925
139282
|
*
|
|
@@ -139240,6 +140597,76 @@ declare namespace PowerPoint {
|
|
|
139240
140597
|
interface HyperlinkCollectionUpdateData {
|
|
139241
140598
|
items?: PowerPoint.Interfaces.HyperlinkData[];
|
|
139242
140599
|
}
|
|
140600
|
+
/** An interface for updating data on the `Border` object, for use in `border.set({ ... })`. */
|
|
140601
|
+
interface BorderUpdateData {
|
|
140602
|
+
/**
|
|
140603
|
+
* Represents the line color in the hexadecimal format #RRGGBB (e.g., "FFA500") or as a named HTML color value (e.g., "orange").
|
|
140604
|
+
*
|
|
140605
|
+
* @remarks
|
|
140606
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
140607
|
+
* @beta
|
|
140608
|
+
*/
|
|
140609
|
+
color?: string | undefined;
|
|
140610
|
+
/**
|
|
140611
|
+
* Represents the dash style of the line.
|
|
140612
|
+
*
|
|
140613
|
+
* @remarks
|
|
140614
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
140615
|
+
* @beta
|
|
140616
|
+
*/
|
|
140617
|
+
dashStyle?: PowerPoint.ShapeLineDashStyle | "Dash" | "DashDot" | "DashDotDot" | "LongDash" | "LongDashDot" | "RoundDot" | "Solid" | "SquareDot" | "LongDashDotDot" | "SystemDash" | "SystemDot" | "SystemDashDot" | undefined;
|
|
140618
|
+
/**
|
|
140619
|
+
* Specifies the transparency percentage of the line as a value from 0.0 (opaque) through 1.0 (clear).
|
|
140620
|
+
*
|
|
140621
|
+
* @remarks
|
|
140622
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
140623
|
+
* @beta
|
|
140624
|
+
*/
|
|
140625
|
+
transparency?: number | undefined;
|
|
140626
|
+
/**
|
|
140627
|
+
* Represents the weight of the line, in points.
|
|
140628
|
+
*
|
|
140629
|
+
* @remarks
|
|
140630
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
140631
|
+
* @beta
|
|
140632
|
+
*/
|
|
140633
|
+
weight?: number | undefined;
|
|
140634
|
+
}
|
|
140635
|
+
/** An interface for updating data on the `Margins` object, for use in `margins.set({ ... })`. */
|
|
140636
|
+
interface MarginsUpdateData {
|
|
140637
|
+
/**
|
|
140638
|
+
* Specifies the bottom margin in points.
|
|
140639
|
+
*
|
|
140640
|
+
* @remarks
|
|
140641
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
140642
|
+
* @beta
|
|
140643
|
+
*/
|
|
140644
|
+
bottom?: number | undefined;
|
|
140645
|
+
/**
|
|
140646
|
+
* Specifies the left margin in points.
|
|
140647
|
+
*
|
|
140648
|
+
* @remarks
|
|
140649
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
140650
|
+
* @beta
|
|
140651
|
+
*/
|
|
140652
|
+
left?: number | undefined;
|
|
140653
|
+
/**
|
|
140654
|
+
* Specifies the right margin in points.
|
|
140655
|
+
*
|
|
140656
|
+
* @remarks
|
|
140657
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
140658
|
+
* @beta
|
|
140659
|
+
*/
|
|
140660
|
+
right?: number | undefined;
|
|
140661
|
+
/**
|
|
140662
|
+
* Specifies the top margin in points.
|
|
140663
|
+
*
|
|
140664
|
+
* @remarks
|
|
140665
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
140666
|
+
* @beta
|
|
140667
|
+
*/
|
|
140668
|
+
top?: number | undefined;
|
|
140669
|
+
}
|
|
139243
140670
|
/** An interface for updating data on the `ShapeFill` object, for use in `shapeFill.set({ ... })`. */
|
|
139244
140671
|
interface ShapeFillUpdateData {
|
|
139245
140672
|
/**
|
|
@@ -139261,12 +140688,12 @@ declare namespace PowerPoint {
|
|
|
139261
140688
|
interface ShapeFontUpdateData {
|
|
139262
140689
|
/**
|
|
139263
140690
|
* 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:
|
|
139264
|
-
|
|
139265
|
-
|
|
139266
|
-
|
|
139267
|
-
|
|
139268
|
-
|
|
139269
|
-
|
|
140691
|
+
|
|
140692
|
+
- `true`: All the text has the **All Caps** attribute.
|
|
140693
|
+
|
|
140694
|
+
- `false`: None of the text has the **All Caps** attribute.
|
|
140695
|
+
|
|
140696
|
+
- `null`: Returned if some, but not all, of the text has the **All Caps** attribute.
|
|
139270
140697
|
*
|
|
139271
140698
|
* @remarks
|
|
139272
140699
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -139274,12 +140701,12 @@ declare namespace PowerPoint {
|
|
|
139274
140701
|
allCaps?: boolean | null;
|
|
139275
140702
|
/**
|
|
139276
140703
|
* Specifies whether the text in the `TextRange` is set to bold. The possible values are as follows:
|
|
139277
|
-
|
|
139278
|
-
|
|
139279
|
-
|
|
139280
|
-
|
|
139281
|
-
|
|
139282
|
-
|
|
140704
|
+
|
|
140705
|
+
- `true`: All the text is bold.
|
|
140706
|
+
|
|
140707
|
+
- `false`: None of the text is bold.
|
|
140708
|
+
|
|
140709
|
+
- `null`: Returned if some, but not all, of the text is bold.
|
|
139283
140710
|
*
|
|
139284
140711
|
* @remarks
|
|
139285
140712
|
* [Api set: PowerPointApi 1.4]
|
|
@@ -139294,12 +140721,12 @@ declare namespace PowerPoint {
|
|
|
139294
140721
|
color?: string | null;
|
|
139295
140722
|
/**
|
|
139296
140723
|
* Specifies whether the text in the `TextRange` is set to use the **Double strikethrough** attribute. The possible values are as follows:
|
|
139297
|
-
|
|
139298
|
-
|
|
139299
|
-
|
|
139300
|
-
|
|
139301
|
-
|
|
139302
|
-
|
|
140724
|
+
|
|
140725
|
+
- `true`: All the text has the **Double strikethrough** attribute.
|
|
140726
|
+
|
|
140727
|
+
- `false`: None of the text has the **Double strikethrough** attribute.
|
|
140728
|
+
|
|
140729
|
+
- `null`: Returned if some, but not all, of the text has the **Double strikethrough** attribute.
|
|
139303
140730
|
*
|
|
139304
140731
|
* @remarks
|
|
139305
140732
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -139307,12 +140734,12 @@ declare namespace PowerPoint {
|
|
|
139307
140734
|
doubleStrikethrough?: boolean | null;
|
|
139308
140735
|
/**
|
|
139309
140736
|
* Specifies whether the text in the `TextRange` is set to italic. The possible values are as follows:
|
|
139310
|
-
|
|
139311
|
-
|
|
139312
|
-
|
|
139313
|
-
|
|
139314
|
-
|
|
139315
|
-
|
|
140737
|
+
|
|
140738
|
+
- `true`: All the text is italicized.
|
|
140739
|
+
|
|
140740
|
+
- `false`: None of the text is italicized.
|
|
140741
|
+
|
|
140742
|
+
- `null`: Returned if some, but not all, of the text is italicized.
|
|
139316
140743
|
*
|
|
139317
140744
|
* @remarks
|
|
139318
140745
|
* [Api set: PowerPointApi 1.4]
|
|
@@ -139334,12 +140761,12 @@ declare namespace PowerPoint {
|
|
|
139334
140761
|
size?: number | null;
|
|
139335
140762
|
/**
|
|
139336
140763
|
* 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:
|
|
139337
|
-
|
|
139338
|
-
|
|
139339
|
-
|
|
139340
|
-
|
|
139341
|
-
|
|
139342
|
-
|
|
140764
|
+
|
|
140765
|
+
- `true`: All the text has the **Small Caps** attribute.
|
|
140766
|
+
|
|
140767
|
+
- `false`: None of the text has the **Small Caps** attribute.
|
|
140768
|
+
|
|
140769
|
+
- `null`: Returned if some, but not all, of the text has the **Small Caps** attribute.
|
|
139343
140770
|
*
|
|
139344
140771
|
* @remarks
|
|
139345
140772
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -139347,12 +140774,12 @@ declare namespace PowerPoint {
|
|
|
139347
140774
|
smallCaps?: boolean | null;
|
|
139348
140775
|
/**
|
|
139349
140776
|
* Specifies whether the text in the `TextRange` is set to use the **Strikethrough** attribute. The possible values are as follows:
|
|
139350
|
-
|
|
139351
|
-
|
|
139352
|
-
|
|
139353
|
-
|
|
139354
|
-
|
|
139355
|
-
|
|
140777
|
+
|
|
140778
|
+
- `true`: All the text has the **Strikethrough** attribute.
|
|
140779
|
+
|
|
140780
|
+
- `false`: None of the text has the **Strikethrough** attribute.
|
|
140781
|
+
|
|
140782
|
+
- `null`: Returned if some, but not all, of the text has the **Strikethrough** attribute.
|
|
139356
140783
|
*
|
|
139357
140784
|
* @remarks
|
|
139358
140785
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -139360,12 +140787,12 @@ declare namespace PowerPoint {
|
|
|
139360
140787
|
strikethrough?: boolean | null;
|
|
139361
140788
|
/**
|
|
139362
140789
|
* Specifies whether the text in the `TextRange` is set to use the **Subscript** attribute. The possible values are as follows:
|
|
139363
|
-
|
|
139364
|
-
|
|
139365
|
-
|
|
139366
|
-
|
|
139367
|
-
|
|
139368
|
-
|
|
140790
|
+
|
|
140791
|
+
- `true`: All the text has the **Subscript** attribute.
|
|
140792
|
+
|
|
140793
|
+
- `false`: None of the text has the **Subscript** attribute.
|
|
140794
|
+
|
|
140795
|
+
- `null`: Returned if some, but not all, of the text has the **Subscript** attribute.
|
|
139369
140796
|
*
|
|
139370
140797
|
* @remarks
|
|
139371
140798
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -139373,12 +140800,12 @@ declare namespace PowerPoint {
|
|
|
139373
140800
|
subscript?: boolean | null;
|
|
139374
140801
|
/**
|
|
139375
140802
|
* Specifies whether the text in the `TextRange` is set to use the **Superscript** attribute. The possible values are as follows:
|
|
139376
|
-
|
|
139377
|
-
|
|
139378
|
-
|
|
139379
|
-
|
|
139380
|
-
|
|
139381
|
-
|
|
140803
|
+
|
|
140804
|
+
- `true`: All the text has the **Superscript** attribute.
|
|
140805
|
+
|
|
140806
|
+
- `false`: None of the text has the **Superscript** attribute.
|
|
140807
|
+
|
|
140808
|
+
- `null`: Returned if some, but not all, of the text has the **Superscript** attribute.
|
|
139382
140809
|
*
|
|
139383
140810
|
* @remarks
|
|
139384
140811
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -139394,6 +140821,22 @@ declare namespace PowerPoint {
|
|
|
139394
140821
|
}
|
|
139395
140822
|
/** An interface for updating data on the `TableCell` object, for use in `tableCell.set({ ... })`. */
|
|
139396
140823
|
interface TableCellUpdateData {
|
|
140824
|
+
/**
|
|
140825
|
+
* Specifies the horizontal alignment of the text in the table cell.
|
|
140826
|
+
*
|
|
140827
|
+
* @remarks
|
|
140828
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
140829
|
+
* @beta
|
|
140830
|
+
*/
|
|
140831
|
+
horizontalAlignment?: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed";
|
|
140832
|
+
/**
|
|
140833
|
+
* Specifies the indent level of the text in the table cell.
|
|
140834
|
+
*
|
|
140835
|
+
* @remarks
|
|
140836
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
140837
|
+
* @beta
|
|
140838
|
+
*/
|
|
140839
|
+
indentLevel?: number;
|
|
139397
140840
|
/**
|
|
139398
140841
|
* Specifies the text content of the table cell.
|
|
139399
140842
|
*
|
|
@@ -139401,11 +140844,117 @@ declare namespace PowerPoint {
|
|
|
139401
140844
|
* [Api set: PowerPointApi 1.8]
|
|
139402
140845
|
*/
|
|
139403
140846
|
text?: string;
|
|
140847
|
+
/**
|
|
140848
|
+
* Specifies the contents of the table cell as an array of {@link TextRun} objects.
|
|
140849
|
+
Each `TextRun` object represents a sequence of one or more characters that share the same font attributes.
|
|
140850
|
+
*
|
|
140851
|
+
* @remarks
|
|
140852
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
140853
|
+
* @beta
|
|
140854
|
+
*/
|
|
140855
|
+
textRuns?: PowerPoint.TextRun[];
|
|
140856
|
+
/**
|
|
140857
|
+
* Specifies the vertical alignment of the text in the table cell.
|
|
140858
|
+
*
|
|
140859
|
+
* @remarks
|
|
140860
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
140861
|
+
* @beta
|
|
140862
|
+
*/
|
|
140863
|
+
verticalAlignment?: PowerPoint.TextVerticalAlignment | "Top" | "Middle" | "Bottom" | "TopCentered" | "MiddleCentered" | "BottomCentered";
|
|
139404
140864
|
}
|
|
139405
140865
|
/** An interface for updating data on the `TableCellCollection` object, for use in `tableCellCollection.set({ ... })`. */
|
|
139406
140866
|
interface TableCellCollectionUpdateData {
|
|
139407
140867
|
items?: PowerPoint.Interfaces.TableCellData[];
|
|
139408
140868
|
}
|
|
140869
|
+
/** An interface for updating data on the `TableColumn` object, for use in `tableColumn.set({ ... })`. */
|
|
140870
|
+
interface TableColumnUpdateData {
|
|
140871
|
+
/**
|
|
140872
|
+
* Retrieves the width of the column in points. If the set column width is less than the minimum width, the column width will be increased to the minimum width.
|
|
140873
|
+
*
|
|
140874
|
+
* @remarks
|
|
140875
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
140876
|
+
* @beta
|
|
140877
|
+
*/
|
|
140878
|
+
width?: number;
|
|
140879
|
+
}
|
|
140880
|
+
/** An interface for updating data on the `TableColumnCollection` object, for use in `tableColumnCollection.set({ ... })`. */
|
|
140881
|
+
interface TableColumnCollectionUpdateData {
|
|
140882
|
+
items?: PowerPoint.Interfaces.TableColumnData[];
|
|
140883
|
+
}
|
|
140884
|
+
/** An interface for updating data on the `TableRow` object, for use in `tableRow.set({ ... })`. */
|
|
140885
|
+
interface TableRowUpdateData {
|
|
140886
|
+
/**
|
|
140887
|
+
* Specifies the height of the row in points. If the set row height is less than the minimum height, the row height will be increased to the minimum height.
|
|
140888
|
+
*
|
|
140889
|
+
* @remarks
|
|
140890
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
140891
|
+
* @beta
|
|
140892
|
+
*/
|
|
140893
|
+
height?: number;
|
|
140894
|
+
}
|
|
140895
|
+
/** An interface for updating data on the `TableRowCollection` object, for use in `tableRowCollection.set({ ... })`. */
|
|
140896
|
+
interface TableRowCollectionUpdateData {
|
|
140897
|
+
items?: PowerPoint.Interfaces.TableRowData[];
|
|
140898
|
+
}
|
|
140899
|
+
/** An interface for updating data on the `TableStyleOptions` object, for use in `tableStyleOptions.set({ ... })`. */
|
|
140900
|
+
interface TableStyleOptionsUpdateData {
|
|
140901
|
+
/**
|
|
140902
|
+
* Specifies if the columns show banded formatting in which odd columns are highlighted differently from even ones, to make reading the table easier.
|
|
140903
|
+
*
|
|
140904
|
+
* @remarks
|
|
140905
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
140906
|
+
* @beta
|
|
140907
|
+
*/
|
|
140908
|
+
areColumnsBanded?: boolean;
|
|
140909
|
+
/**
|
|
140910
|
+
* Specifies if the rows show banded formatting in which odd rows are highlighted differently from even ones, to make reading the table easier.
|
|
140911
|
+
*
|
|
140912
|
+
* @remarks
|
|
140913
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
140914
|
+
* @beta
|
|
140915
|
+
*/
|
|
140916
|
+
areRowsBanded?: boolean;
|
|
140917
|
+
/**
|
|
140918
|
+
* Specifies if the first column contains special formatting.
|
|
140919
|
+
*
|
|
140920
|
+
* @remarks
|
|
140921
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
140922
|
+
* @beta
|
|
140923
|
+
*/
|
|
140924
|
+
isFirstColumnHighlighted?: boolean;
|
|
140925
|
+
/**
|
|
140926
|
+
* Specifies if the first row contains special formatting.
|
|
140927
|
+
*
|
|
140928
|
+
* @remarks
|
|
140929
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
140930
|
+
* @beta
|
|
140931
|
+
*/
|
|
140932
|
+
isFirstRowHighlighted?: boolean;
|
|
140933
|
+
/**
|
|
140934
|
+
* Specifies if the last column contains special formatting.
|
|
140935
|
+
*
|
|
140936
|
+
* @remarks
|
|
140937
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
140938
|
+
* @beta
|
|
140939
|
+
*/
|
|
140940
|
+
isLastColumnHighlighted?: boolean;
|
|
140941
|
+
/**
|
|
140942
|
+
* Specifies if the last row contains special formatting.
|
|
140943
|
+
*
|
|
140944
|
+
* @remarks
|
|
140945
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
140946
|
+
* @beta
|
|
140947
|
+
*/
|
|
140948
|
+
isLastRowHighlighted?: boolean;
|
|
140949
|
+
/**
|
|
140950
|
+
* Specifies the table style.
|
|
140951
|
+
*
|
|
140952
|
+
* @remarks
|
|
140953
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
140954
|
+
* @beta
|
|
140955
|
+
*/
|
|
140956
|
+
style?: PowerPoint.TableStyle | "NoStyleNoGrid" | "ThemedStyle1Accent1" | "ThemedStyle1Accent2" | "ThemedStyle1Accent3" | "ThemedStyle1Accent4" | "ThemedStyle1Accent5" | "ThemedStyle1Accent6" | "NoStyleTableGrid" | "ThemedStyle2Accent1" | "ThemedStyle2Accent2" | "ThemedStyle2Accent3" | "ThemedStyle2Accent4" | "ThemedStyle2Accent5" | "ThemedStyle2Accent6" | "LightStyle1" | "LightStyle1Accent1" | "LightStyle1Accent2" | "LightStyle1Accent3" | "LightStyle1Accent4" | "LightStyle1Accent5" | "LightStyle1Accent6" | "LightStyle2" | "LightStyle2Accent1" | "LightStyle2Accent2" | "LightStyle2Accent3" | "LightStyle2Accent4" | "LightStyle2Accent5" | "LightStyle2Accent6" | "LightStyle3" | "LightStyle3Accent1" | "LightStyle3Accent2" | "LightStyle3Accent3" | "LightStyle3Accent4" | "LightStyle3Accent5" | "LightStyle3Accent6" | "MediumStyle1" | "MediumStyle1Accent1" | "MediumStyle1Accent2" | "MediumStyle1Accent3" | "MediumStyle1Accent4" | "MediumStyle1Accent5" | "MediumStyle1Accent6" | "MediumStyle2" | "MediumStyle2Accent1" | "MediumStyle2Accent2" | "MediumStyle2Accent3" | "MediumStyle2Accent4" | "MediumStyle2Accent5" | "MediumStyle2Accent6" | "MediumStyle3" | "MediumStyle3Accent1" | "MediumStyle3Accent2" | "MediumStyle3Accent3" | "MediumStyle3Accent4" | "MediumStyle3Accent5" | "MediumStyle3Accent6" | "MediumStyle4" | "MediumStyle4Accent1" | "MediumStyle4Accent2" | "MediumStyle4Accent3" | "MediumStyle4Accent4" | "MediumStyle4Accent5" | "MediumStyle4Accent6" | "DarkStyle1" | "DarkStyle1Accent1" | "DarkStyle1Accent2" | "DarkStyle1Accent3" | "DarkStyle1Accent4" | "DarkStyle1Accent5" | "DarkStyle1Accent6" | "DarkStyle2" | "DarkStyle2Accent1" | "DarkStyle2Accent2" | "DarkStyle2Accent3";
|
|
140957
|
+
}
|
|
139409
140958
|
/** An interface for updating data on the `ShapeCollection` object, for use in `shapeCollection.set({ ... })`. */
|
|
139410
140959
|
interface ShapeCollectionUpdateData {
|
|
139411
140960
|
items?: PowerPoint.Interfaces.ShapeData[];
|
|
@@ -139495,7 +141044,7 @@ declare namespace PowerPoint {
|
|
|
139495
141044
|
* @remarks
|
|
139496
141045
|
* [Api set: PowerPointApi 1.4]
|
|
139497
141046
|
*/
|
|
139498
|
-
horizontalAlignment?: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed";
|
|
141047
|
+
horizontalAlignment?: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed" | null;
|
|
139499
141048
|
}
|
|
139500
141049
|
/** An interface for updating data on the `TextRange` object, for use in `textRange.set({ ... })`. */
|
|
139501
141050
|
interface TextRangeUpdateData {
|
|
@@ -139785,6 +141334,79 @@ declare namespace PowerPoint {
|
|
|
139785
141334
|
interface HyperlinkCollectionData {
|
|
139786
141335
|
items?: PowerPoint.Interfaces.HyperlinkData[];
|
|
139787
141336
|
}
|
|
141337
|
+
/** An interface describing the data returned by calling `border.toJSON()`. */
|
|
141338
|
+
interface BorderData {
|
|
141339
|
+
/**
|
|
141340
|
+
* Represents the line color in the hexadecimal format #RRGGBB (e.g., "FFA500") or as a named HTML color value (e.g., "orange").
|
|
141341
|
+
*
|
|
141342
|
+
* @remarks
|
|
141343
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
141344
|
+
* @beta
|
|
141345
|
+
*/
|
|
141346
|
+
color?: string | undefined;
|
|
141347
|
+
/**
|
|
141348
|
+
* Represents the dash style of the line.
|
|
141349
|
+
*
|
|
141350
|
+
* @remarks
|
|
141351
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
141352
|
+
* @beta
|
|
141353
|
+
*/
|
|
141354
|
+
dashStyle?: PowerPoint.ShapeLineDashStyle | "Dash" | "DashDot" | "DashDotDot" | "LongDash" | "LongDashDot" | "RoundDot" | "Solid" | "SquareDot" | "LongDashDotDot" | "SystemDash" | "SystemDot" | "SystemDashDot" | undefined;
|
|
141355
|
+
/**
|
|
141356
|
+
* Specifies the transparency percentage of the line as a value from 0.0 (opaque) through 1.0 (clear).
|
|
141357
|
+
*
|
|
141358
|
+
* @remarks
|
|
141359
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
141360
|
+
* @beta
|
|
141361
|
+
*/
|
|
141362
|
+
transparency?: number | undefined;
|
|
141363
|
+
/**
|
|
141364
|
+
* Represents the weight of the line, in points.
|
|
141365
|
+
*
|
|
141366
|
+
* @remarks
|
|
141367
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
141368
|
+
* @beta
|
|
141369
|
+
*/
|
|
141370
|
+
weight?: number | undefined;
|
|
141371
|
+
}
|
|
141372
|
+
/** An interface describing the data returned by calling `borders.toJSON()`. */
|
|
141373
|
+
interface BordersData {
|
|
141374
|
+
}
|
|
141375
|
+
/** An interface describing the data returned by calling `margins.toJSON()`. */
|
|
141376
|
+
interface MarginsData {
|
|
141377
|
+
/**
|
|
141378
|
+
* Specifies the bottom margin in points.
|
|
141379
|
+
*
|
|
141380
|
+
* @remarks
|
|
141381
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
141382
|
+
* @beta
|
|
141383
|
+
*/
|
|
141384
|
+
bottom?: number | undefined;
|
|
141385
|
+
/**
|
|
141386
|
+
* Specifies the left margin in points.
|
|
141387
|
+
*
|
|
141388
|
+
* @remarks
|
|
141389
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
141390
|
+
* @beta
|
|
141391
|
+
*/
|
|
141392
|
+
left?: number | undefined;
|
|
141393
|
+
/**
|
|
141394
|
+
* Specifies the right margin in points.
|
|
141395
|
+
*
|
|
141396
|
+
* @remarks
|
|
141397
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
141398
|
+
* @beta
|
|
141399
|
+
*/
|
|
141400
|
+
right?: number | undefined;
|
|
141401
|
+
/**
|
|
141402
|
+
* Specifies the top margin in points.
|
|
141403
|
+
*
|
|
141404
|
+
* @remarks
|
|
141405
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
141406
|
+
* @beta
|
|
141407
|
+
*/
|
|
141408
|
+
top?: number | undefined;
|
|
141409
|
+
}
|
|
139788
141410
|
/** An interface describing the data returned by calling `shapeFill.toJSON()`. */
|
|
139789
141411
|
interface ShapeFillData {
|
|
139790
141412
|
/**
|
|
@@ -139813,12 +141435,12 @@ declare namespace PowerPoint {
|
|
|
139813
141435
|
interface ShapeFontData {
|
|
139814
141436
|
/**
|
|
139815
141437
|
* 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:
|
|
139816
|
-
|
|
139817
|
-
|
|
139818
|
-
|
|
139819
|
-
|
|
139820
|
-
|
|
139821
|
-
|
|
141438
|
+
|
|
141439
|
+
- `true`: All the text has the **All Caps** attribute.
|
|
141440
|
+
|
|
141441
|
+
- `false`: None of the text has the **All Caps** attribute.
|
|
141442
|
+
|
|
141443
|
+
- `null`: Returned if some, but not all, of the text has the **All Caps** attribute.
|
|
139822
141444
|
*
|
|
139823
141445
|
* @remarks
|
|
139824
141446
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -139826,12 +141448,12 @@ declare namespace PowerPoint {
|
|
|
139826
141448
|
allCaps?: boolean | null;
|
|
139827
141449
|
/**
|
|
139828
141450
|
* Specifies whether the text in the `TextRange` is set to bold. The possible values are as follows:
|
|
139829
|
-
|
|
139830
|
-
|
|
139831
|
-
|
|
139832
|
-
|
|
139833
|
-
|
|
139834
|
-
|
|
141451
|
+
|
|
141452
|
+
- `true`: All the text is bold.
|
|
141453
|
+
|
|
141454
|
+
- `false`: None of the text is bold.
|
|
141455
|
+
|
|
141456
|
+
- `null`: Returned if some, but not all, of the text is bold.
|
|
139835
141457
|
*
|
|
139836
141458
|
* @remarks
|
|
139837
141459
|
* [Api set: PowerPointApi 1.4]
|
|
@@ -139846,12 +141468,12 @@ declare namespace PowerPoint {
|
|
|
139846
141468
|
color?: string | null;
|
|
139847
141469
|
/**
|
|
139848
141470
|
* Specifies whether the text in the `TextRange` is set to use the **Double strikethrough** attribute. The possible values are as follows:
|
|
139849
|
-
|
|
139850
|
-
|
|
139851
|
-
|
|
139852
|
-
|
|
139853
|
-
|
|
139854
|
-
|
|
141471
|
+
|
|
141472
|
+
- `true`: All the text has the **Double strikethrough** attribute.
|
|
141473
|
+
|
|
141474
|
+
- `false`: None of the text has the **Double strikethrough** attribute.
|
|
141475
|
+
|
|
141476
|
+
- `null`: Returned if some, but not all, of the text has the **Double strikethrough** attribute.
|
|
139855
141477
|
*
|
|
139856
141478
|
* @remarks
|
|
139857
141479
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -139859,12 +141481,12 @@ declare namespace PowerPoint {
|
|
|
139859
141481
|
doubleStrikethrough?: boolean | null;
|
|
139860
141482
|
/**
|
|
139861
141483
|
* Specifies whether the text in the `TextRange` is set to italic. The possible values are as follows:
|
|
139862
|
-
|
|
139863
|
-
|
|
139864
|
-
|
|
139865
|
-
|
|
139866
|
-
|
|
139867
|
-
|
|
141484
|
+
|
|
141485
|
+
- `true`: All the text is italicized.
|
|
141486
|
+
|
|
141487
|
+
- `false`: None of the text is italicized.
|
|
141488
|
+
|
|
141489
|
+
- `null`: Returned if some, but not all, of the text is italicized.
|
|
139868
141490
|
*
|
|
139869
141491
|
* @remarks
|
|
139870
141492
|
* [Api set: PowerPointApi 1.4]
|
|
@@ -139886,12 +141508,12 @@ declare namespace PowerPoint {
|
|
|
139886
141508
|
size?: number | null;
|
|
139887
141509
|
/**
|
|
139888
141510
|
* 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:
|
|
139889
|
-
|
|
139890
|
-
|
|
139891
|
-
|
|
139892
|
-
|
|
139893
|
-
|
|
139894
|
-
|
|
141511
|
+
|
|
141512
|
+
- `true`: All the text has the **Small Caps** attribute.
|
|
141513
|
+
|
|
141514
|
+
- `false`: None of the text has the **Small Caps** attribute.
|
|
141515
|
+
|
|
141516
|
+
- `null`: Returned if some, but not all, of the text has the **Small Caps** attribute.
|
|
139895
141517
|
*
|
|
139896
141518
|
* @remarks
|
|
139897
141519
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -139899,12 +141521,12 @@ declare namespace PowerPoint {
|
|
|
139899
141521
|
smallCaps?: boolean | null;
|
|
139900
141522
|
/**
|
|
139901
141523
|
* Specifies whether the text in the `TextRange` is set to use the **Strikethrough** attribute. The possible values are as follows:
|
|
139902
|
-
|
|
139903
|
-
|
|
139904
|
-
|
|
139905
|
-
|
|
139906
|
-
|
|
139907
|
-
|
|
141524
|
+
|
|
141525
|
+
- `true`: All the text has the **Strikethrough** attribute.
|
|
141526
|
+
|
|
141527
|
+
- `false`: None of the text has the **Strikethrough** attribute.
|
|
141528
|
+
|
|
141529
|
+
- `null`: Returned if some, but not all, of the text has the **Strikethrough** attribute.
|
|
139908
141530
|
*
|
|
139909
141531
|
* @remarks
|
|
139910
141532
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -139912,12 +141534,12 @@ declare namespace PowerPoint {
|
|
|
139912
141534
|
strikethrough?: boolean | null;
|
|
139913
141535
|
/**
|
|
139914
141536
|
* Specifies whether the text in the `TextRange` is set to use the **Subscript** attribute. The possible values are as follows:
|
|
139915
|
-
|
|
139916
|
-
|
|
139917
|
-
|
|
139918
|
-
|
|
139919
|
-
|
|
139920
|
-
|
|
141537
|
+
|
|
141538
|
+
- `true`: All the text has the **Subscript** attribute.
|
|
141539
|
+
|
|
141540
|
+
- `false`: None of the text has the **Subscript** attribute.
|
|
141541
|
+
|
|
141542
|
+
- `null`: Returned if some, but not all, of the text has the **Subscript** attribute.
|
|
139921
141543
|
*
|
|
139922
141544
|
* @remarks
|
|
139923
141545
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -139925,12 +141547,12 @@ declare namespace PowerPoint {
|
|
|
139925
141547
|
subscript?: boolean | null;
|
|
139926
141548
|
/**
|
|
139927
141549
|
* Specifies whether the text in the `TextRange` is set to use the **Superscript** attribute. The possible values are as follows:
|
|
139928
|
-
|
|
139929
|
-
|
|
139930
|
-
|
|
139931
|
-
|
|
139932
|
-
|
|
139933
|
-
|
|
141550
|
+
|
|
141551
|
+
- `true`: All the text has the **Superscript** attribute.
|
|
141552
|
+
|
|
141553
|
+
- `false`: None of the text has the **Superscript** attribute.
|
|
141554
|
+
|
|
141555
|
+
- `null`: Returned if some, but not all, of the text has the **Superscript** attribute.
|
|
139934
141556
|
*
|
|
139935
141557
|
* @remarks
|
|
139936
141558
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -139961,6 +141583,22 @@ declare namespace PowerPoint {
|
|
|
139961
141583
|
* [Api set: PowerPointApi 1.8]
|
|
139962
141584
|
*/
|
|
139963
141585
|
columnIndex?: number;
|
|
141586
|
+
/**
|
|
141587
|
+
* Specifies the horizontal alignment of the text in the table cell.
|
|
141588
|
+
*
|
|
141589
|
+
* @remarks
|
|
141590
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
141591
|
+
* @beta
|
|
141592
|
+
*/
|
|
141593
|
+
horizontalAlignment?: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed";
|
|
141594
|
+
/**
|
|
141595
|
+
* Specifies the indent level of the text in the table cell.
|
|
141596
|
+
*
|
|
141597
|
+
* @remarks
|
|
141598
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
141599
|
+
* @beta
|
|
141600
|
+
*/
|
|
141601
|
+
indentLevel?: number;
|
|
139964
141602
|
/**
|
|
139965
141603
|
* Gets the number of table rows this cell spans across.
|
|
139966
141604
|
Will be greater than or equal to 1.
|
|
@@ -139983,11 +141621,141 @@ declare namespace PowerPoint {
|
|
|
139983
141621
|
* [Api set: PowerPointApi 1.8]
|
|
139984
141622
|
*/
|
|
139985
141623
|
text?: string;
|
|
141624
|
+
/**
|
|
141625
|
+
* Specifies the contents of the table cell as an array of {@link TextRun} objects.
|
|
141626
|
+
Each `TextRun` object represents a sequence of one or more characters that share the same font attributes.
|
|
141627
|
+
*
|
|
141628
|
+
* @remarks
|
|
141629
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
141630
|
+
* @beta
|
|
141631
|
+
*/
|
|
141632
|
+
textRuns?: PowerPoint.TextRun[];
|
|
141633
|
+
/**
|
|
141634
|
+
* Specifies the vertical alignment of the text in the table cell.
|
|
141635
|
+
*
|
|
141636
|
+
* @remarks
|
|
141637
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
141638
|
+
* @beta
|
|
141639
|
+
*/
|
|
141640
|
+
verticalAlignment?: PowerPoint.TextVerticalAlignment | "Top" | "Middle" | "Bottom" | "TopCentered" | "MiddleCentered" | "BottomCentered";
|
|
139986
141641
|
}
|
|
139987
141642
|
/** An interface describing the data returned by calling `tableCellCollection.toJSON()`. */
|
|
139988
141643
|
interface TableCellCollectionData {
|
|
139989
141644
|
items?: PowerPoint.Interfaces.TableCellData[];
|
|
139990
141645
|
}
|
|
141646
|
+
/** An interface describing the data returned by calling `tableColumn.toJSON()`. */
|
|
141647
|
+
interface TableColumnData {
|
|
141648
|
+
/**
|
|
141649
|
+
* Returns the index number of the column within the column collection of the table. Zero-indexed.
|
|
141650
|
+
*
|
|
141651
|
+
* @remarks
|
|
141652
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
141653
|
+
* @beta
|
|
141654
|
+
*/
|
|
141655
|
+
columnIndex?: number;
|
|
141656
|
+
/**
|
|
141657
|
+
* Retrieves the width of the column in points. If the set column width is less than the minimum width, the column width will be increased to the minimum width.
|
|
141658
|
+
*
|
|
141659
|
+
* @remarks
|
|
141660
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
141661
|
+
* @beta
|
|
141662
|
+
*/
|
|
141663
|
+
width?: number;
|
|
141664
|
+
}
|
|
141665
|
+
/** An interface describing the data returned by calling `tableColumnCollection.toJSON()`. */
|
|
141666
|
+
interface TableColumnCollectionData {
|
|
141667
|
+
items?: PowerPoint.Interfaces.TableColumnData[];
|
|
141668
|
+
}
|
|
141669
|
+
/** An interface describing the data returned by calling `tableRow.toJSON()`. */
|
|
141670
|
+
interface TableRowData {
|
|
141671
|
+
/**
|
|
141672
|
+
* Retrieves the current height of the row in points.
|
|
141673
|
+
*
|
|
141674
|
+
* @remarks
|
|
141675
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
141676
|
+
* @beta
|
|
141677
|
+
*/
|
|
141678
|
+
currentHeight?: number;
|
|
141679
|
+
/**
|
|
141680
|
+
* Specifies the height of the row in points. If the set row height is less than the minimum height, the row height will be increased to the minimum height.
|
|
141681
|
+
*
|
|
141682
|
+
* @remarks
|
|
141683
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
141684
|
+
* @beta
|
|
141685
|
+
*/
|
|
141686
|
+
height?: number;
|
|
141687
|
+
/**
|
|
141688
|
+
* Returns the index number of the row within the rows collection of the table. Zero-indexed.
|
|
141689
|
+
*
|
|
141690
|
+
* @remarks
|
|
141691
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
141692
|
+
* @beta
|
|
141693
|
+
*/
|
|
141694
|
+
rowIndex?: number;
|
|
141695
|
+
}
|
|
141696
|
+
/** An interface describing the data returned by calling `tableRowCollection.toJSON()`. */
|
|
141697
|
+
interface TableRowCollectionData {
|
|
141698
|
+
items?: PowerPoint.Interfaces.TableRowData[];
|
|
141699
|
+
}
|
|
141700
|
+
/** An interface describing the data returned by calling `tableStyleOptions.toJSON()`. */
|
|
141701
|
+
interface TableStyleOptionsData {
|
|
141702
|
+
/**
|
|
141703
|
+
* Specifies if the columns show banded formatting in which odd columns are highlighted differently from even ones, to make reading the table easier.
|
|
141704
|
+
*
|
|
141705
|
+
* @remarks
|
|
141706
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
141707
|
+
* @beta
|
|
141708
|
+
*/
|
|
141709
|
+
areColumnsBanded?: boolean;
|
|
141710
|
+
/**
|
|
141711
|
+
* Specifies if the rows show banded formatting in which odd rows are highlighted differently from even ones, to make reading the table easier.
|
|
141712
|
+
*
|
|
141713
|
+
* @remarks
|
|
141714
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
141715
|
+
* @beta
|
|
141716
|
+
*/
|
|
141717
|
+
areRowsBanded?: boolean;
|
|
141718
|
+
/**
|
|
141719
|
+
* Specifies if the first column contains special formatting.
|
|
141720
|
+
*
|
|
141721
|
+
* @remarks
|
|
141722
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
141723
|
+
* @beta
|
|
141724
|
+
*/
|
|
141725
|
+
isFirstColumnHighlighted?: boolean;
|
|
141726
|
+
/**
|
|
141727
|
+
* Specifies if the first row contains special formatting.
|
|
141728
|
+
*
|
|
141729
|
+
* @remarks
|
|
141730
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
141731
|
+
* @beta
|
|
141732
|
+
*/
|
|
141733
|
+
isFirstRowHighlighted?: boolean;
|
|
141734
|
+
/**
|
|
141735
|
+
* Specifies if the last column contains special formatting.
|
|
141736
|
+
*
|
|
141737
|
+
* @remarks
|
|
141738
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
141739
|
+
* @beta
|
|
141740
|
+
*/
|
|
141741
|
+
isLastColumnHighlighted?: boolean;
|
|
141742
|
+
/**
|
|
141743
|
+
* Specifies if the last row contains special formatting.
|
|
141744
|
+
*
|
|
141745
|
+
* @remarks
|
|
141746
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
141747
|
+
* @beta
|
|
141748
|
+
*/
|
|
141749
|
+
isLastRowHighlighted?: boolean;
|
|
141750
|
+
/**
|
|
141751
|
+
* Specifies the table style.
|
|
141752
|
+
*
|
|
141753
|
+
* @remarks
|
|
141754
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
141755
|
+
* @beta
|
|
141756
|
+
*/
|
|
141757
|
+
style?: PowerPoint.TableStyle | "NoStyleNoGrid" | "ThemedStyle1Accent1" | "ThemedStyle1Accent2" | "ThemedStyle1Accent3" | "ThemedStyle1Accent4" | "ThemedStyle1Accent5" | "ThemedStyle1Accent6" | "NoStyleTableGrid" | "ThemedStyle2Accent1" | "ThemedStyle2Accent2" | "ThemedStyle2Accent3" | "ThemedStyle2Accent4" | "ThemedStyle2Accent5" | "ThemedStyle2Accent6" | "LightStyle1" | "LightStyle1Accent1" | "LightStyle1Accent2" | "LightStyle1Accent3" | "LightStyle1Accent4" | "LightStyle1Accent5" | "LightStyle1Accent6" | "LightStyle2" | "LightStyle2Accent1" | "LightStyle2Accent2" | "LightStyle2Accent3" | "LightStyle2Accent4" | "LightStyle2Accent5" | "LightStyle2Accent6" | "LightStyle3" | "LightStyle3Accent1" | "LightStyle3Accent2" | "LightStyle3Accent3" | "LightStyle3Accent4" | "LightStyle3Accent5" | "LightStyle3Accent6" | "MediumStyle1" | "MediumStyle1Accent1" | "MediumStyle1Accent2" | "MediumStyle1Accent3" | "MediumStyle1Accent4" | "MediumStyle1Accent5" | "MediumStyle1Accent6" | "MediumStyle2" | "MediumStyle2Accent1" | "MediumStyle2Accent2" | "MediumStyle2Accent3" | "MediumStyle2Accent4" | "MediumStyle2Accent5" | "MediumStyle2Accent6" | "MediumStyle3" | "MediumStyle3Accent1" | "MediumStyle3Accent2" | "MediumStyle3Accent3" | "MediumStyle3Accent4" | "MediumStyle3Accent5" | "MediumStyle3Accent6" | "MediumStyle4" | "MediumStyle4Accent1" | "MediumStyle4Accent2" | "MediumStyle4Accent3" | "MediumStyle4Accent4" | "MediumStyle4Accent5" | "MediumStyle4Accent6" | "DarkStyle1" | "DarkStyle1Accent1" | "DarkStyle1Accent2" | "DarkStyle1Accent3" | "DarkStyle1Accent4" | "DarkStyle1Accent5" | "DarkStyle1Accent6" | "DarkStyle2" | "DarkStyle2Accent1" | "DarkStyle2Accent2" | "DarkStyle2Accent3";
|
|
141758
|
+
}
|
|
139991
141759
|
/** An interface describing the data returned by calling `table.toJSON()`. */
|
|
139992
141760
|
interface TableData {
|
|
139993
141761
|
/**
|
|
@@ -140176,7 +141944,7 @@ declare namespace PowerPoint {
|
|
|
140176
141944
|
* @remarks
|
|
140177
141945
|
* [Api set: PowerPointApi 1.4]
|
|
140178
141946
|
*/
|
|
140179
|
-
horizontalAlignment?: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed";
|
|
141947
|
+
horizontalAlignment?: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed" | null;
|
|
140180
141948
|
}
|
|
140181
141949
|
/** An interface describing the data returned by calling `textRange.toJSON()`. */
|
|
140182
141950
|
interface TextRangeData {
|
|
@@ -140662,6 +142430,157 @@ declare namespace PowerPoint {
|
|
|
140662
142430
|
*/
|
|
140663
142431
|
screenTip?: boolean;
|
|
140664
142432
|
}
|
|
142433
|
+
/**
|
|
142434
|
+
* Represents the properties for a table cell border.
|
|
142435
|
+
*
|
|
142436
|
+
* @remarks
|
|
142437
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
142438
|
+
* @beta
|
|
142439
|
+
*/
|
|
142440
|
+
interface BorderLoadOptions {
|
|
142441
|
+
/**
|
|
142442
|
+
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
|
|
142443
|
+
*/
|
|
142444
|
+
$all?: boolean;
|
|
142445
|
+
/**
|
|
142446
|
+
* Represents the line color in the hexadecimal format #RRGGBB (e.g., "FFA500") or as a named HTML color value (e.g., "orange").
|
|
142447
|
+
*
|
|
142448
|
+
* @remarks
|
|
142449
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
142450
|
+
* @beta
|
|
142451
|
+
*/
|
|
142452
|
+
color?: boolean;
|
|
142453
|
+
/**
|
|
142454
|
+
* Represents the dash style of the line.
|
|
142455
|
+
*
|
|
142456
|
+
* @remarks
|
|
142457
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
142458
|
+
* @beta
|
|
142459
|
+
*/
|
|
142460
|
+
dashStyle?: boolean;
|
|
142461
|
+
/**
|
|
142462
|
+
* Specifies the transparency percentage of the line as a value from 0.0 (opaque) through 1.0 (clear).
|
|
142463
|
+
*
|
|
142464
|
+
* @remarks
|
|
142465
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
142466
|
+
* @beta
|
|
142467
|
+
*/
|
|
142468
|
+
transparency?: boolean;
|
|
142469
|
+
/**
|
|
142470
|
+
* Represents the weight of the line, in points.
|
|
142471
|
+
*
|
|
142472
|
+
* @remarks
|
|
142473
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
142474
|
+
* @beta
|
|
142475
|
+
*/
|
|
142476
|
+
weight?: boolean;
|
|
142477
|
+
}
|
|
142478
|
+
/**
|
|
142479
|
+
* Represents the borders for a table cell.
|
|
142480
|
+
*
|
|
142481
|
+
* @remarks
|
|
142482
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
142483
|
+
* @beta
|
|
142484
|
+
*/
|
|
142485
|
+
interface BordersLoadOptions {
|
|
142486
|
+
/**
|
|
142487
|
+
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
|
|
142488
|
+
*/
|
|
142489
|
+
$all?: boolean;
|
|
142490
|
+
/**
|
|
142491
|
+
* Gets the bottom border.
|
|
142492
|
+
*
|
|
142493
|
+
* @remarks
|
|
142494
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
142495
|
+
* @beta
|
|
142496
|
+
*/
|
|
142497
|
+
bottom?: PowerPoint.Interfaces.BorderLoadOptions;
|
|
142498
|
+
/**
|
|
142499
|
+
* Gets the diagonal border (top-left to bottom-right).
|
|
142500
|
+
*
|
|
142501
|
+
* @remarks
|
|
142502
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
142503
|
+
* @beta
|
|
142504
|
+
*/
|
|
142505
|
+
diagonalDown?: PowerPoint.Interfaces.BorderLoadOptions;
|
|
142506
|
+
/**
|
|
142507
|
+
* Gets the diagonal border (bottom-left to top-right).
|
|
142508
|
+
*
|
|
142509
|
+
* @remarks
|
|
142510
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
142511
|
+
* @beta
|
|
142512
|
+
*/
|
|
142513
|
+
diagonalUp?: PowerPoint.Interfaces.BorderLoadOptions;
|
|
142514
|
+
/**
|
|
142515
|
+
* Gets the left border.
|
|
142516
|
+
*
|
|
142517
|
+
* @remarks
|
|
142518
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
142519
|
+
* @beta
|
|
142520
|
+
*/
|
|
142521
|
+
left?: PowerPoint.Interfaces.BorderLoadOptions;
|
|
142522
|
+
/**
|
|
142523
|
+
* Gets the right border.
|
|
142524
|
+
*
|
|
142525
|
+
* @remarks
|
|
142526
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
142527
|
+
* @beta
|
|
142528
|
+
*/
|
|
142529
|
+
right?: PowerPoint.Interfaces.BorderLoadOptions;
|
|
142530
|
+
/**
|
|
142531
|
+
* Gets the top border.
|
|
142532
|
+
*
|
|
142533
|
+
* @remarks
|
|
142534
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
142535
|
+
* @beta
|
|
142536
|
+
*/
|
|
142537
|
+
top?: PowerPoint.Interfaces.BorderLoadOptions;
|
|
142538
|
+
}
|
|
142539
|
+
/**
|
|
142540
|
+
* Represents the margins of a table cell.
|
|
142541
|
+
*
|
|
142542
|
+
* @remarks
|
|
142543
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
142544
|
+
* @beta
|
|
142545
|
+
*/
|
|
142546
|
+
interface MarginsLoadOptions {
|
|
142547
|
+
/**
|
|
142548
|
+
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
|
|
142549
|
+
*/
|
|
142550
|
+
$all?: boolean;
|
|
142551
|
+
/**
|
|
142552
|
+
* Specifies the bottom margin in points.
|
|
142553
|
+
*
|
|
142554
|
+
* @remarks
|
|
142555
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
142556
|
+
* @beta
|
|
142557
|
+
*/
|
|
142558
|
+
bottom?: boolean;
|
|
142559
|
+
/**
|
|
142560
|
+
* Specifies the left margin in points.
|
|
142561
|
+
*
|
|
142562
|
+
* @remarks
|
|
142563
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
142564
|
+
* @beta
|
|
142565
|
+
*/
|
|
142566
|
+
left?: boolean;
|
|
142567
|
+
/**
|
|
142568
|
+
* Specifies the right margin in points.
|
|
142569
|
+
*
|
|
142570
|
+
* @remarks
|
|
142571
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
142572
|
+
* @beta
|
|
142573
|
+
*/
|
|
142574
|
+
right?: boolean;
|
|
142575
|
+
/**
|
|
142576
|
+
* Specifies the top margin in points.
|
|
142577
|
+
*
|
|
142578
|
+
* @remarks
|
|
142579
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
142580
|
+
* @beta
|
|
142581
|
+
*/
|
|
142582
|
+
top?: boolean;
|
|
142583
|
+
}
|
|
140665
142584
|
/**
|
|
140666
142585
|
* Represents the fill formatting of a shape object.
|
|
140667
142586
|
*
|
|
@@ -140708,12 +142627,12 @@ declare namespace PowerPoint {
|
|
|
140708
142627
|
$all?: boolean;
|
|
140709
142628
|
/**
|
|
140710
142629
|
* 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:
|
|
140711
|
-
|
|
140712
|
-
|
|
140713
|
-
|
|
140714
|
-
|
|
140715
|
-
|
|
140716
|
-
|
|
142630
|
+
|
|
142631
|
+
- `true`: All the text has the **All Caps** attribute.
|
|
142632
|
+
|
|
142633
|
+
- `false`: None of the text has the **All Caps** attribute.
|
|
142634
|
+
|
|
142635
|
+
- `null`: Returned if some, but not all, of the text has the **All Caps** attribute.
|
|
140717
142636
|
*
|
|
140718
142637
|
* @remarks
|
|
140719
142638
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -140721,12 +142640,12 @@ declare namespace PowerPoint {
|
|
|
140721
142640
|
allCaps?: boolean;
|
|
140722
142641
|
/**
|
|
140723
142642
|
* Specifies whether the text in the `TextRange` is set to bold. The possible values are as follows:
|
|
140724
|
-
|
|
140725
|
-
|
|
140726
|
-
|
|
140727
|
-
|
|
140728
|
-
|
|
140729
|
-
|
|
142643
|
+
|
|
142644
|
+
- `true`: All the text is bold.
|
|
142645
|
+
|
|
142646
|
+
- `false`: None of the text is bold.
|
|
142647
|
+
|
|
142648
|
+
- `null`: Returned if some, but not all, of the text is bold.
|
|
140730
142649
|
*
|
|
140731
142650
|
* @remarks
|
|
140732
142651
|
* [Api set: PowerPointApi 1.4]
|
|
@@ -140741,12 +142660,12 @@ declare namespace PowerPoint {
|
|
|
140741
142660
|
color?: boolean;
|
|
140742
142661
|
/**
|
|
140743
142662
|
* Specifies whether the text in the `TextRange` is set to use the **Double strikethrough** attribute. The possible values are as follows:
|
|
140744
|
-
|
|
140745
|
-
|
|
140746
|
-
|
|
140747
|
-
|
|
140748
|
-
|
|
140749
|
-
|
|
142663
|
+
|
|
142664
|
+
- `true`: All the text has the **Double strikethrough** attribute.
|
|
142665
|
+
|
|
142666
|
+
- `false`: None of the text has the **Double strikethrough** attribute.
|
|
142667
|
+
|
|
142668
|
+
- `null`: Returned if some, but not all, of the text has the **Double strikethrough** attribute.
|
|
140750
142669
|
*
|
|
140751
142670
|
* @remarks
|
|
140752
142671
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -140754,12 +142673,12 @@ declare namespace PowerPoint {
|
|
|
140754
142673
|
doubleStrikethrough?: boolean;
|
|
140755
142674
|
/**
|
|
140756
142675
|
* Specifies whether the text in the `TextRange` is set to italic. The possible values are as follows:
|
|
140757
|
-
|
|
140758
|
-
|
|
140759
|
-
|
|
140760
|
-
|
|
140761
|
-
|
|
140762
|
-
|
|
142676
|
+
|
|
142677
|
+
- `true`: All the text is italicized.
|
|
142678
|
+
|
|
142679
|
+
- `false`: None of the text is italicized.
|
|
142680
|
+
|
|
142681
|
+
- `null`: Returned if some, but not all, of the text is italicized.
|
|
140763
142682
|
*
|
|
140764
142683
|
* @remarks
|
|
140765
142684
|
* [Api set: PowerPointApi 1.4]
|
|
@@ -140781,12 +142700,12 @@ declare namespace PowerPoint {
|
|
|
140781
142700
|
size?: boolean;
|
|
140782
142701
|
/**
|
|
140783
142702
|
* 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:
|
|
140784
|
-
|
|
140785
|
-
|
|
140786
|
-
|
|
140787
|
-
|
|
140788
|
-
|
|
140789
|
-
|
|
142703
|
+
|
|
142704
|
+
- `true`: All the text has the **Small Caps** attribute.
|
|
142705
|
+
|
|
142706
|
+
- `false`: None of the text has the **Small Caps** attribute.
|
|
142707
|
+
|
|
142708
|
+
- `null`: Returned if some, but not all, of the text has the **Small Caps** attribute.
|
|
140790
142709
|
*
|
|
140791
142710
|
* @remarks
|
|
140792
142711
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -140794,12 +142713,12 @@ declare namespace PowerPoint {
|
|
|
140794
142713
|
smallCaps?: boolean;
|
|
140795
142714
|
/**
|
|
140796
142715
|
* Specifies whether the text in the `TextRange` is set to use the **Strikethrough** attribute. The possible values are as follows:
|
|
140797
|
-
|
|
140798
|
-
|
|
140799
|
-
|
|
140800
|
-
|
|
140801
|
-
|
|
140802
|
-
|
|
142716
|
+
|
|
142717
|
+
- `true`: All the text has the **Strikethrough** attribute.
|
|
142718
|
+
|
|
142719
|
+
- `false`: None of the text has the **Strikethrough** attribute.
|
|
142720
|
+
|
|
142721
|
+
- `null`: Returned if some, but not all, of the text has the **Strikethrough** attribute.
|
|
140803
142722
|
*
|
|
140804
142723
|
* @remarks
|
|
140805
142724
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -140807,12 +142726,12 @@ declare namespace PowerPoint {
|
|
|
140807
142726
|
strikethrough?: boolean;
|
|
140808
142727
|
/**
|
|
140809
142728
|
* Specifies whether the text in the `TextRange` is set to use the **Subscript** attribute. The possible values are as follows:
|
|
140810
|
-
|
|
140811
|
-
|
|
140812
|
-
|
|
140813
|
-
|
|
140814
|
-
|
|
140815
|
-
|
|
142729
|
+
|
|
142730
|
+
- `true`: All the text has the **Subscript** attribute.
|
|
142731
|
+
|
|
142732
|
+
- `false`: None of the text has the **Subscript** attribute.
|
|
142733
|
+
|
|
142734
|
+
- `null`: Returned if some, but not all, of the text has the **Subscript** attribute.
|
|
140816
142735
|
*
|
|
140817
142736
|
* @remarks
|
|
140818
142737
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -140820,12 +142739,12 @@ declare namespace PowerPoint {
|
|
|
140820
142739
|
subscript?: boolean;
|
|
140821
142740
|
/**
|
|
140822
142741
|
* Specifies whether the text in the `TextRange` is set to use the **Superscript** attribute. The possible values are as follows:
|
|
140823
|
-
|
|
140824
|
-
|
|
140825
|
-
|
|
140826
|
-
|
|
140827
|
-
|
|
140828
|
-
|
|
142742
|
+
|
|
142743
|
+
- `true`: All the text has the **Superscript** attribute.
|
|
142744
|
+
|
|
142745
|
+
- `false`: None of the text has the **Superscript** attribute.
|
|
142746
|
+
|
|
142747
|
+
- `null`: Returned if some, but not all, of the text has the **Superscript** attribute.
|
|
140829
142748
|
*
|
|
140830
142749
|
* @remarks
|
|
140831
142750
|
* [Api set: PowerPointApi 1.8]
|
|
@@ -140850,6 +142769,38 @@ declare namespace PowerPoint {
|
|
|
140850
142769
|
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
|
|
140851
142770
|
*/
|
|
140852
142771
|
$all?: boolean;
|
|
142772
|
+
/**
|
|
142773
|
+
* Gets the collection of borders for the table cell.
|
|
142774
|
+
*
|
|
142775
|
+
* @remarks
|
|
142776
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
142777
|
+
* @beta
|
|
142778
|
+
*/
|
|
142779
|
+
borders?: PowerPoint.Interfaces.BordersLoadOptions;
|
|
142780
|
+
/**
|
|
142781
|
+
* Gets the fill color of the table cell.
|
|
142782
|
+
*
|
|
142783
|
+
* @remarks
|
|
142784
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
142785
|
+
* @beta
|
|
142786
|
+
*/
|
|
142787
|
+
fill?: PowerPoint.Interfaces.ShapeFillLoadOptions;
|
|
142788
|
+
/**
|
|
142789
|
+
* Gets the font of the table cell.
|
|
142790
|
+
*
|
|
142791
|
+
* @remarks
|
|
142792
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
142793
|
+
* @beta
|
|
142794
|
+
*/
|
|
142795
|
+
font?: PowerPoint.Interfaces.ShapeFontLoadOptions;
|
|
142796
|
+
/**
|
|
142797
|
+
* Gets the set of margins in the table cell.
|
|
142798
|
+
*
|
|
142799
|
+
* @remarks
|
|
142800
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
142801
|
+
* @beta
|
|
142802
|
+
*/
|
|
142803
|
+
margins?: PowerPoint.Interfaces.MarginsLoadOptions;
|
|
140853
142804
|
/**
|
|
140854
142805
|
* Gets the number of table columns this cell spans across.
|
|
140855
142806
|
Will be greater than or equal to 1.
|
|
@@ -140865,6 +142816,22 @@ declare namespace PowerPoint {
|
|
|
140865
142816
|
* [Api set: PowerPointApi 1.8]
|
|
140866
142817
|
*/
|
|
140867
142818
|
columnIndex?: boolean;
|
|
142819
|
+
/**
|
|
142820
|
+
* Specifies the horizontal alignment of the text in the table cell.
|
|
142821
|
+
*
|
|
142822
|
+
* @remarks
|
|
142823
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
142824
|
+
* @beta
|
|
142825
|
+
*/
|
|
142826
|
+
horizontalAlignment?: boolean;
|
|
142827
|
+
/**
|
|
142828
|
+
* Specifies the indent level of the text in the table cell.
|
|
142829
|
+
*
|
|
142830
|
+
* @remarks
|
|
142831
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
142832
|
+
* @beta
|
|
142833
|
+
*/
|
|
142834
|
+
indentLevel?: boolean;
|
|
140868
142835
|
/**
|
|
140869
142836
|
* Gets the number of table rows this cell spans across.
|
|
140870
142837
|
Will be greater than or equal to 1.
|
|
@@ -140887,6 +142854,23 @@ declare namespace PowerPoint {
|
|
|
140887
142854
|
* [Api set: PowerPointApi 1.8]
|
|
140888
142855
|
*/
|
|
140889
142856
|
text?: boolean;
|
|
142857
|
+
/**
|
|
142858
|
+
* Specifies the contents of the table cell as an array of {@link TextRun} objects.
|
|
142859
|
+
Each `TextRun` object represents a sequence of one or more characters that share the same font attributes.
|
|
142860
|
+
*
|
|
142861
|
+
* @remarks
|
|
142862
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
142863
|
+
* @beta
|
|
142864
|
+
*/
|
|
142865
|
+
textRuns?: boolean;
|
|
142866
|
+
/**
|
|
142867
|
+
* Specifies the vertical alignment of the text in the table cell.
|
|
142868
|
+
*
|
|
142869
|
+
* @remarks
|
|
142870
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
142871
|
+
* @beta
|
|
142872
|
+
*/
|
|
142873
|
+
verticalAlignment?: boolean;
|
|
140890
142874
|
}
|
|
140891
142875
|
/**
|
|
140892
142876
|
* Represents a collection of table cells.
|
|
@@ -140899,6 +142883,38 @@ declare namespace PowerPoint {
|
|
|
140899
142883
|
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
|
|
140900
142884
|
*/
|
|
140901
142885
|
$all?: boolean;
|
|
142886
|
+
/**
|
|
142887
|
+
* For EACH ITEM in the collection: Gets the collection of borders for the table cell.
|
|
142888
|
+
*
|
|
142889
|
+
* @remarks
|
|
142890
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
142891
|
+
* @beta
|
|
142892
|
+
*/
|
|
142893
|
+
borders?: PowerPoint.Interfaces.BordersLoadOptions;
|
|
142894
|
+
/**
|
|
142895
|
+
* For EACH ITEM in the collection: Gets the fill color of the table cell.
|
|
142896
|
+
*
|
|
142897
|
+
* @remarks
|
|
142898
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
142899
|
+
* @beta
|
|
142900
|
+
*/
|
|
142901
|
+
fill?: PowerPoint.Interfaces.ShapeFillLoadOptions;
|
|
142902
|
+
/**
|
|
142903
|
+
* For EACH ITEM in the collection: Gets the font of the table cell.
|
|
142904
|
+
*
|
|
142905
|
+
* @remarks
|
|
142906
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
142907
|
+
* @beta
|
|
142908
|
+
*/
|
|
142909
|
+
font?: PowerPoint.Interfaces.ShapeFontLoadOptions;
|
|
142910
|
+
/**
|
|
142911
|
+
* For EACH ITEM in the collection: Gets the set of margins in the table cell.
|
|
142912
|
+
*
|
|
142913
|
+
* @remarks
|
|
142914
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
142915
|
+
* @beta
|
|
142916
|
+
*/
|
|
142917
|
+
margins?: PowerPoint.Interfaces.MarginsLoadOptions;
|
|
140902
142918
|
/**
|
|
140903
142919
|
* For EACH ITEM in the collection: Gets the number of table columns this cell spans across.
|
|
140904
142920
|
Will be greater than or equal to 1.
|
|
@@ -140914,6 +142930,22 @@ declare namespace PowerPoint {
|
|
|
140914
142930
|
* [Api set: PowerPointApi 1.8]
|
|
140915
142931
|
*/
|
|
140916
142932
|
columnIndex?: boolean;
|
|
142933
|
+
/**
|
|
142934
|
+
* For EACH ITEM in the collection: Specifies the horizontal alignment of the text in the table cell.
|
|
142935
|
+
*
|
|
142936
|
+
* @remarks
|
|
142937
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
142938
|
+
* @beta
|
|
142939
|
+
*/
|
|
142940
|
+
horizontalAlignment?: boolean;
|
|
142941
|
+
/**
|
|
142942
|
+
* For EACH ITEM in the collection: Specifies the indent level of the text in the table cell.
|
|
142943
|
+
*
|
|
142944
|
+
* @remarks
|
|
142945
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
142946
|
+
* @beta
|
|
142947
|
+
*/
|
|
142948
|
+
indentLevel?: boolean;
|
|
140917
142949
|
/**
|
|
140918
142950
|
* For EACH ITEM in the collection: Gets the number of table rows this cell spans across.
|
|
140919
142951
|
Will be greater than or equal to 1.
|
|
@@ -140936,6 +142968,224 @@ declare namespace PowerPoint {
|
|
|
140936
142968
|
* [Api set: PowerPointApi 1.8]
|
|
140937
142969
|
*/
|
|
140938
142970
|
text?: boolean;
|
|
142971
|
+
/**
|
|
142972
|
+
* For EACH ITEM in the collection: Specifies the contents of the table cell as an array of {@link TextRun} objects.
|
|
142973
|
+
Each `TextRun` object represents a sequence of one or more characters that share the same font attributes.
|
|
142974
|
+
*
|
|
142975
|
+
* @remarks
|
|
142976
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
142977
|
+
* @beta
|
|
142978
|
+
*/
|
|
142979
|
+
textRuns?: boolean;
|
|
142980
|
+
/**
|
|
142981
|
+
* For EACH ITEM in the collection: Specifies the vertical alignment of the text in the table cell.
|
|
142982
|
+
*
|
|
142983
|
+
* @remarks
|
|
142984
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
142985
|
+
* @beta
|
|
142986
|
+
*/
|
|
142987
|
+
verticalAlignment?: boolean;
|
|
142988
|
+
}
|
|
142989
|
+
/**
|
|
142990
|
+
* Represents a column in a table.
|
|
142991
|
+
*
|
|
142992
|
+
* @remarks
|
|
142993
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
142994
|
+
* @beta
|
|
142995
|
+
*/
|
|
142996
|
+
interface TableColumnLoadOptions {
|
|
142997
|
+
/**
|
|
142998
|
+
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
|
|
142999
|
+
*/
|
|
143000
|
+
$all?: boolean;
|
|
143001
|
+
/**
|
|
143002
|
+
* Returns the index number of the column within the column collection of the table. Zero-indexed.
|
|
143003
|
+
*
|
|
143004
|
+
* @remarks
|
|
143005
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
143006
|
+
* @beta
|
|
143007
|
+
*/
|
|
143008
|
+
columnIndex?: boolean;
|
|
143009
|
+
/**
|
|
143010
|
+
* Retrieves the width of the column in points. If the set column width is less than the minimum width, the column width will be increased to the minimum width.
|
|
143011
|
+
*
|
|
143012
|
+
* @remarks
|
|
143013
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
143014
|
+
* @beta
|
|
143015
|
+
*/
|
|
143016
|
+
width?: boolean;
|
|
143017
|
+
}
|
|
143018
|
+
/**
|
|
143019
|
+
* Represents a collection of table columns.
|
|
143020
|
+
*
|
|
143021
|
+
* @remarks
|
|
143022
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
143023
|
+
* @beta
|
|
143024
|
+
*/
|
|
143025
|
+
interface TableColumnCollectionLoadOptions {
|
|
143026
|
+
/**
|
|
143027
|
+
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
|
|
143028
|
+
*/
|
|
143029
|
+
$all?: boolean;
|
|
143030
|
+
/**
|
|
143031
|
+
* For EACH ITEM in the collection: Returns the index number of the column within the column collection of the table. Zero-indexed.
|
|
143032
|
+
*
|
|
143033
|
+
* @remarks
|
|
143034
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
143035
|
+
* @beta
|
|
143036
|
+
*/
|
|
143037
|
+
columnIndex?: boolean;
|
|
143038
|
+
/**
|
|
143039
|
+
* For EACH ITEM in the collection: Retrieves the width of the column in points. If the set column width is less than the minimum width, the column width will be increased to the minimum width.
|
|
143040
|
+
*
|
|
143041
|
+
* @remarks
|
|
143042
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
143043
|
+
* @beta
|
|
143044
|
+
*/
|
|
143045
|
+
width?: boolean;
|
|
143046
|
+
}
|
|
143047
|
+
/**
|
|
143048
|
+
* Represents a row in a table.
|
|
143049
|
+
*
|
|
143050
|
+
* @remarks
|
|
143051
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
143052
|
+
* @beta
|
|
143053
|
+
*/
|
|
143054
|
+
interface TableRowLoadOptions {
|
|
143055
|
+
/**
|
|
143056
|
+
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
|
|
143057
|
+
*/
|
|
143058
|
+
$all?: boolean;
|
|
143059
|
+
/**
|
|
143060
|
+
* Retrieves the current height of the row in points.
|
|
143061
|
+
*
|
|
143062
|
+
* @remarks
|
|
143063
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
143064
|
+
* @beta
|
|
143065
|
+
*/
|
|
143066
|
+
currentHeight?: boolean;
|
|
143067
|
+
/**
|
|
143068
|
+
* Specifies the height of the row in points. If the set row height is less than the minimum height, the row height will be increased to the minimum height.
|
|
143069
|
+
*
|
|
143070
|
+
* @remarks
|
|
143071
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
143072
|
+
* @beta
|
|
143073
|
+
*/
|
|
143074
|
+
height?: boolean;
|
|
143075
|
+
/**
|
|
143076
|
+
* Returns the index number of the row within the rows collection of the table. Zero-indexed.
|
|
143077
|
+
*
|
|
143078
|
+
* @remarks
|
|
143079
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
143080
|
+
* @beta
|
|
143081
|
+
*/
|
|
143082
|
+
rowIndex?: boolean;
|
|
143083
|
+
}
|
|
143084
|
+
/**
|
|
143085
|
+
* Represents a collection of table rows.
|
|
143086
|
+
*
|
|
143087
|
+
* @remarks
|
|
143088
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
143089
|
+
* @beta
|
|
143090
|
+
*/
|
|
143091
|
+
interface TableRowCollectionLoadOptions {
|
|
143092
|
+
/**
|
|
143093
|
+
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
|
|
143094
|
+
*/
|
|
143095
|
+
$all?: boolean;
|
|
143096
|
+
/**
|
|
143097
|
+
* For EACH ITEM in the collection: Retrieves the current height of the row in points.
|
|
143098
|
+
*
|
|
143099
|
+
* @remarks
|
|
143100
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
143101
|
+
* @beta
|
|
143102
|
+
*/
|
|
143103
|
+
currentHeight?: boolean;
|
|
143104
|
+
/**
|
|
143105
|
+
* For EACH ITEM in the collection: Specifies the height of the row in points. If the set row height is less than the minimum height, the row height will be increased to the minimum height.
|
|
143106
|
+
*
|
|
143107
|
+
* @remarks
|
|
143108
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
143109
|
+
* @beta
|
|
143110
|
+
*/
|
|
143111
|
+
height?: boolean;
|
|
143112
|
+
/**
|
|
143113
|
+
* For EACH ITEM in the collection: Returns the index number of the row within the rows collection of the table. Zero-indexed.
|
|
143114
|
+
*
|
|
143115
|
+
* @remarks
|
|
143116
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
143117
|
+
* @beta
|
|
143118
|
+
*/
|
|
143119
|
+
rowIndex?: boolean;
|
|
143120
|
+
}
|
|
143121
|
+
/**
|
|
143122
|
+
* Represents the available table style options.
|
|
143123
|
+
*
|
|
143124
|
+
* @remarks
|
|
143125
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
143126
|
+
* @beta
|
|
143127
|
+
*/
|
|
143128
|
+
interface TableStyleOptionsLoadOptions {
|
|
143129
|
+
/**
|
|
143130
|
+
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
|
|
143131
|
+
*/
|
|
143132
|
+
$all?: boolean;
|
|
143133
|
+
/**
|
|
143134
|
+
* Specifies if the columns show banded formatting in which odd columns are highlighted differently from even ones, to make reading the table easier.
|
|
143135
|
+
*
|
|
143136
|
+
* @remarks
|
|
143137
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
143138
|
+
* @beta
|
|
143139
|
+
*/
|
|
143140
|
+
areColumnsBanded?: boolean;
|
|
143141
|
+
/**
|
|
143142
|
+
* Specifies if the rows show banded formatting in which odd rows are highlighted differently from even ones, to make reading the table easier.
|
|
143143
|
+
*
|
|
143144
|
+
* @remarks
|
|
143145
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
143146
|
+
* @beta
|
|
143147
|
+
*/
|
|
143148
|
+
areRowsBanded?: boolean;
|
|
143149
|
+
/**
|
|
143150
|
+
* Specifies if the first column contains special formatting.
|
|
143151
|
+
*
|
|
143152
|
+
* @remarks
|
|
143153
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
143154
|
+
* @beta
|
|
143155
|
+
*/
|
|
143156
|
+
isFirstColumnHighlighted?: boolean;
|
|
143157
|
+
/**
|
|
143158
|
+
* Specifies if the first row contains special formatting.
|
|
143159
|
+
*
|
|
143160
|
+
* @remarks
|
|
143161
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
143162
|
+
* @beta
|
|
143163
|
+
*/
|
|
143164
|
+
isFirstRowHighlighted?: boolean;
|
|
143165
|
+
/**
|
|
143166
|
+
* Specifies if the last column contains special formatting.
|
|
143167
|
+
*
|
|
143168
|
+
* @remarks
|
|
143169
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
143170
|
+
* @beta
|
|
143171
|
+
*/
|
|
143172
|
+
isLastColumnHighlighted?: boolean;
|
|
143173
|
+
/**
|
|
143174
|
+
* Specifies if the last row contains special formatting.
|
|
143175
|
+
*
|
|
143176
|
+
* @remarks
|
|
143177
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
143178
|
+
* @beta
|
|
143179
|
+
*/
|
|
143180
|
+
isLastRowHighlighted?: boolean;
|
|
143181
|
+
/**
|
|
143182
|
+
* Specifies the table style.
|
|
143183
|
+
*
|
|
143184
|
+
* @remarks
|
|
143185
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
143186
|
+
* @beta
|
|
143187
|
+
*/
|
|
143188
|
+
style?: boolean;
|
|
140939
143189
|
}
|
|
140940
143190
|
/**
|
|
140941
143191
|
* Represents a table.
|
|
@@ -140948,6 +143198,14 @@ declare namespace PowerPoint {
|
|
|
140948
143198
|
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
|
|
140949
143199
|
*/
|
|
140950
143200
|
$all?: boolean;
|
|
143201
|
+
/**
|
|
143202
|
+
* Gets the table style options.
|
|
143203
|
+
*
|
|
143204
|
+
* @remarks
|
|
143205
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
143206
|
+
* @beta
|
|
143207
|
+
*/
|
|
143208
|
+
styleOptions?: PowerPoint.Interfaces.TableStyleOptionsLoadOptions;
|
|
140951
143209
|
/**
|
|
140952
143210
|
* Gets the number of columns in the table.
|
|
140953
143211
|
*
|
|
@@ -142130,7 +144388,7 @@ declare namespace PowerPoint {
|
|
|
142130
144388
|
}
|
|
142131
144389
|
declare namespace PowerPoint {
|
|
142132
144390
|
/**
|
|
142133
|
-
* Creates and opens a new presentation. Optionally, the presentation can be
|
|
144391
|
+
* Creates and opens a new presentation. Optionally, the presentation can be prepopulated with a Base64-encoded .pptx file.
|
|
142134
144392
|
*
|
|
142135
144393
|
* [Api set: PowerPointApi 1.1]
|
|
142136
144394
|
*
|