@types/office-js 1.0.529 → 1.0.531

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/index.d.ts CHANGED
@@ -688,16 +688,16 @@ declare namespace Office {
688
688
  * Occurs in Outlook on the web and the new Outlook on Windows when messages or file attachments in the Outlook client window are
689
689
  * dragged then dropped into the task pane of an add-in.
690
690
  *
691
- * To add an event handler for the `ItemDraggedAndDropped` event, use the `addHandlerAsync` method of the `Mailbox` object.
691
+ * To add an event handler for the `DragAndDropEvent` event, use the `addHandlerAsync` method of the `Mailbox` object.
692
692
  * The event handler receives an argument of type
693
693
  * {@link https://learn.microsoft.com/javascript/api/outlook/office.draganddropeventargs | Office.DragAndDropEventArgs}.
694
694
  *
695
- * **Important**: The `ItemDraggedAndDropped` event isn't supported in Outlook on Windows (classic) and on Mac. If the `ItemDraggedAndDropped` handler
695
+ * **Important**: The `DragAndDropEvent` event isn't supported in Outlook on Windows (classic) and on Mac. If the `DragAndDropEvent` handler
696
696
  * runs on these clients, an error occurs ("This event isn't supported on this platform.").
697
697
  *
698
698
  * [Api set: Mailbox 1.5]
699
699
  */
700
- ItemDraggedAndDropped,
700
+ DragAndDropEvent,
701
701
  /**
702
702
  * Triggers when a `customXmlPart` node is deleted.
703
703
  */
@@ -14366,7 +14366,7 @@ declare namespace Office {
14366
14366
  }
14367
14367
  /**
14368
14368
  * Provides details about the mouse pointer position and the messages or file attachments being dragged and dropped into an add-in's task pane when the
14369
- * `Office.EventType.ItemDraggedAndDropped` event is raised.
14369
+ * `Office.EventType.DragAndDropEvent` event is raised.
14370
14370
  *
14371
14371
  * @remarks
14372
14372
  *
@@ -129536,6 +129536,212 @@ declare namespace PowerPoint {
129536
129536
  */
129537
129537
  systemDashDot = "SystemDashDot",
129538
129538
  }
129539
+ /**
129540
+ * Represents the properties for a table cell border.
129541
+ *
129542
+ * @remarks
129543
+ * [Api set: PowerPointApi 1.9]
129544
+ */
129545
+ class Border extends OfficeExtension.ClientObject {
129546
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
129547
+ context: RequestContext;
129548
+ /**
129549
+ * Represents the line color in the hexadecimal format #RRGGBB (e.g., "FFA500") or as a named HTML color value (e.g., "orange").
129550
+ *
129551
+ * @remarks
129552
+ * [Api set: PowerPointApi 1.9]
129553
+ */
129554
+ color: string | undefined;
129555
+ /**
129556
+ * Represents the dash style of the line.
129557
+ *
129558
+ * @remarks
129559
+ * [Api set: PowerPointApi 1.9]
129560
+ */
129561
+ dashStyle: PowerPoint.ShapeLineDashStyle | "Dash" | "DashDot" | "DashDotDot" | "LongDash" | "LongDashDot" | "RoundDot" | "Solid" | "SquareDot" | "LongDashDotDot" | "SystemDash" | "SystemDot" | "SystemDashDot" | undefined;
129562
+ /**
129563
+ * Specifies the transparency percentage of the line as a value from 0.0 (opaque) through 1.0 (clear).
129564
+ *
129565
+ * @remarks
129566
+ * [Api set: PowerPointApi 1.9]
129567
+ */
129568
+ transparency: number | undefined;
129569
+ /**
129570
+ * Represents the weight of the line, in points.
129571
+ *
129572
+ * @remarks
129573
+ * [Api set: PowerPointApi 1.9]
129574
+ */
129575
+ weight: number | undefined;
129576
+ /**
129577
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
129578
+ *
129579
+ * @param options Provides options for which properties of the object to load.
129580
+ */
129581
+ load(options?: PowerPoint.Interfaces.BorderLoadOptions): PowerPoint.Border;
129582
+ /**
129583
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
129584
+ *
129585
+ * @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
129586
+ */
129587
+ load(propertyNames?: string | string[]): PowerPoint.Border;
129588
+ /**
129589
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
129590
+ *
129591
+ * @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.
129592
+ */
129593
+ load(propertyNamesAndPaths?: {
129594
+ select?: string;
129595
+ expand?: string;
129596
+ }): PowerPoint.Border;
129597
+ /**
129598
+ * 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.)
129599
+ * 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.
129600
+ */
129601
+ toJSON(): PowerPoint.Interfaces.BorderData;
129602
+ }
129603
+ /**
129604
+ * Represents the borders for a table cell.
129605
+ *
129606
+ * @remarks
129607
+ * [Api set: PowerPointApi 1.9]
129608
+ */
129609
+ class Borders extends OfficeExtension.ClientObject {
129610
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
129611
+ context: RequestContext;
129612
+ /**
129613
+ * Gets the bottom border.
129614
+ *
129615
+ * @remarks
129616
+ * [Api set: PowerPointApi 1.9]
129617
+ */
129618
+ readonly bottom: PowerPoint.Border;
129619
+ /**
129620
+ * Gets the diagonal border (top-left to bottom-right).
129621
+ *
129622
+ * @remarks
129623
+ * [Api set: PowerPointApi 1.9]
129624
+ */
129625
+ readonly diagonalDown: PowerPoint.Border;
129626
+ /**
129627
+ * Gets the diagonal border (bottom-left to top-right).
129628
+ *
129629
+ * @remarks
129630
+ * [Api set: PowerPointApi 1.9]
129631
+ */
129632
+ readonly diagonalUp: PowerPoint.Border;
129633
+ /**
129634
+ * Gets the left border.
129635
+ *
129636
+ * @remarks
129637
+ * [Api set: PowerPointApi 1.9]
129638
+ */
129639
+ readonly left: PowerPoint.Border;
129640
+ /**
129641
+ * Gets the right border.
129642
+ *
129643
+ * @remarks
129644
+ * [Api set: PowerPointApi 1.9]
129645
+ */
129646
+ readonly right: PowerPoint.Border;
129647
+ /**
129648
+ * Gets the top border.
129649
+ *
129650
+ * @remarks
129651
+ * [Api set: PowerPointApi 1.9]
129652
+ */
129653
+ readonly top: PowerPoint.Border;
129654
+ /**
129655
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
129656
+ *
129657
+ * @param options Provides options for which properties of the object to load.
129658
+ */
129659
+ load(options?: PowerPoint.Interfaces.BordersLoadOptions): PowerPoint.Borders;
129660
+ /**
129661
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
129662
+ *
129663
+ * @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
129664
+ */
129665
+ load(propertyNames?: string | string[]): PowerPoint.Borders;
129666
+ /**
129667
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
129668
+ *
129669
+ * @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.
129670
+ */
129671
+ load(propertyNamesAndPaths?: {
129672
+ select?: string;
129673
+ expand?: string;
129674
+ }): PowerPoint.Borders;
129675
+ /**
129676
+ * 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.)
129677
+ * 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.
129678
+ */
129679
+ toJSON(): PowerPoint.Interfaces.BordersData;
129680
+ }
129681
+ /**
129682
+ * Represents the margins of a table cell.
129683
+ *
129684
+ * @remarks
129685
+ * [Api set: PowerPointApi 1.9]
129686
+ */
129687
+ class Margins extends OfficeExtension.ClientObject {
129688
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
129689
+ context: RequestContext;
129690
+ /**
129691
+ * Specifies the bottom margin in points.
129692
+ *
129693
+ * @remarks
129694
+ * [Api set: PowerPointApi 1.9]
129695
+ */
129696
+ bottom: number | undefined;
129697
+ /**
129698
+ * Specifies the left margin in points.
129699
+ *
129700
+ * @remarks
129701
+ * [Api set: PowerPointApi 1.9]
129702
+ */
129703
+ left: number | undefined;
129704
+ /**
129705
+ * Specifies the right margin in points.
129706
+ *
129707
+ * @remarks
129708
+ * [Api set: PowerPointApi 1.9]
129709
+ */
129710
+ right: number | undefined;
129711
+ /**
129712
+ * Specifies the top margin in points.
129713
+ *
129714
+ * @remarks
129715
+ * [Api set: PowerPointApi 1.9]
129716
+ */
129717
+ top: number | undefined;
129718
+ /**
129719
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
129720
+ *
129721
+ * @param options Provides options for which properties of the object to load.
129722
+ */
129723
+ load(options?: PowerPoint.Interfaces.MarginsLoadOptions): PowerPoint.Margins;
129724
+ /**
129725
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
129726
+ *
129727
+ * @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
129728
+ */
129729
+ load(propertyNames?: string | string[]): PowerPoint.Margins;
129730
+ /**
129731
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
129732
+ *
129733
+ * @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.
129734
+ */
129735
+ load(propertyNamesAndPaths?: {
129736
+ select?: string;
129737
+ expand?: string;
129738
+ }): PowerPoint.Margins;
129739
+ /**
129740
+ * 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.)
129741
+ * 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.
129742
+ */
129743
+ toJSON(): PowerPoint.Interfaces.MarginsData;
129744
+ }
129539
129745
  /**
129540
129746
  * Represents the horizontal alignment of the {@link PowerPoint.TextFrame} in a {@link PowerPoint.Shape}.
129541
129747
  *
@@ -130159,6 +130365,34 @@ declare namespace PowerPoint {
130159
130365
  class TableCell extends OfficeExtension.ClientObject {
130160
130366
  /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
130161
130367
  context: RequestContext;
130368
+ /**
130369
+ * Gets the collection of borders for the table cell.
130370
+ *
130371
+ * @remarks
130372
+ * [Api set: PowerPointApi 1.9]
130373
+ */
130374
+ readonly borders: PowerPoint.Borders;
130375
+ /**
130376
+ * Gets the fill color of the table cell.
130377
+ *
130378
+ * @remarks
130379
+ * [Api set: PowerPointApi 1.9]
130380
+ */
130381
+ readonly fill: PowerPoint.ShapeFill;
130382
+ /**
130383
+ * Gets the font of the table cell.
130384
+ *
130385
+ * @remarks
130386
+ * [Api set: PowerPointApi 1.9]
130387
+ */
130388
+ readonly font: PowerPoint.ShapeFont;
130389
+ /**
130390
+ * Gets the set of margins in the table cell.
130391
+ *
130392
+ * @remarks
130393
+ * [Api set: PowerPointApi 1.9]
130394
+ */
130395
+ readonly margins: PowerPoint.Margins;
130162
130396
  /**
130163
130397
  * Gets the number of table columns this cell spans across.
130164
130398
  Will be greater than or equal to 1.
@@ -130174,6 +130408,20 @@ declare namespace PowerPoint {
130174
130408
  * [Api set: PowerPointApi 1.8]
130175
130409
  */
130176
130410
  readonly columnIndex: number;
130411
+ /**
130412
+ * Specifies the horizontal alignment of the table cell. Returns `null` if the cell text contains different alignments.
130413
+ *
130414
+ * @remarks
130415
+ * [Api set: PowerPointApi 1.9]
130416
+ */
130417
+ horizontalAlignment: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed" | null;
130418
+ /**
130419
+ * Specifies the indent level of the table cell. Returns `null` if the cell text contains different indent levels.
130420
+ *
130421
+ * @remarks
130422
+ * [Api set: PowerPointApi 1.9]
130423
+ */
130424
+ indentLevel: number | null;
130177
130425
  /**
130178
130426
  * Gets the number of table rows this cell spans across.
130179
130427
  Will be greater than or equal to 1.
@@ -130196,6 +130444,44 @@ declare namespace PowerPoint {
130196
130444
  * [Api set: PowerPointApi 1.8]
130197
130445
  */
130198
130446
  text: string;
130447
+ /**
130448
+ * Specifies the contents of the table cell as an array of {@link PowerPoint.TextRun} objects.
130449
+ Each `TextRun` object represents a sequence of one or more characters that share the same font attributes.
130450
+ *
130451
+ * @remarks
130452
+ * [Api set: PowerPointApi 1.9]
130453
+ */
130454
+ textRuns: PowerPoint.TextRun[];
130455
+ /**
130456
+ * Specifies the vertical alignment of the text in the table cell.
130457
+ *
130458
+ * @remarks
130459
+ * [Api set: PowerPointApi 1.9]
130460
+ */
130461
+ verticalAlignment: PowerPoint.TextVerticalAlignment | "Top" | "Middle" | "Bottom" | "TopCentered" | "MiddleCentered" | "BottomCentered";
130462
+ /**
130463
+ * Resizes the table cell to span across a specified number of rows and columns.
130464
+ If rowCount or columnCount are greater than 1, the cell will become a merged area. If the cell
130465
+ is already a merged area and rowCount and columnCount are set to 1, the cell will no longer be
130466
+ a merged area.
130467
+ *
130468
+ * @remarks
130469
+ * [Api set: PowerPointApi 1.9]
130470
+ *
130471
+ * @param rowCount The number of rows the cell will span across. Must be greater than 0.
130472
+ * @param columnCount The number of columns the cell will span across. Must be greater than 0.
130473
+ */
130474
+ resize(rowCount: number, columnCount: number): void;
130475
+ /**
130476
+ * Splits the cell into the specified number of rows and columns.
130477
+ *
130478
+ * @remarks
130479
+ * [Api set: PowerPointApi 1.9]
130480
+ *
130481
+ * @param rowCount The number of rows to split into. Must be greater than 0.
130482
+ * @param columnCount The number of columns to split into. Must be greater than 0.
130483
+ */
130484
+ split(rowCount: number, columnCount: number): void;
130199
130485
  /**
130200
130486
  * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
130201
130487
  *
@@ -130277,6 +130563,63 @@ declare namespace PowerPoint {
130277
130563
  */
130278
130564
  toJSON(): PowerPoint.Interfaces.TableCellCollectionData;
130279
130565
  }
130566
+ /**
130567
+ * Represents a column in a table.
130568
+ *
130569
+ * @remarks
130570
+ * [Api set: PowerPointApi 1.9]
130571
+ */
130572
+ class TableColumn extends OfficeExtension.ClientObject {
130573
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
130574
+ context: RequestContext;
130575
+ /**
130576
+ * Returns the index number of the column within the column collection of the table. Zero-indexed.
130577
+ *
130578
+ * @remarks
130579
+ * [Api set: PowerPointApi 1.9]
130580
+ */
130581
+ readonly columnIndex: number;
130582
+ /**
130583
+ * 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.
130584
+ *
130585
+ * @remarks
130586
+ * [Api set: PowerPointApi 1.9]
130587
+ */
130588
+ width: number;
130589
+ /**
130590
+ * Deletes the column.
130591
+ *
130592
+ * @remarks
130593
+ * [Api set: PowerPointApi 1.9]
130594
+ */
130595
+ delete(): void;
130596
+ /**
130597
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
130598
+ *
130599
+ * @param options Provides options for which properties of the object to load.
130600
+ */
130601
+ load(options?: PowerPoint.Interfaces.TableColumnLoadOptions): PowerPoint.TableColumn;
130602
+ /**
130603
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
130604
+ *
130605
+ * @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
130606
+ */
130607
+ load(propertyNames?: string | string[]): PowerPoint.TableColumn;
130608
+ /**
130609
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
130610
+ *
130611
+ * @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.
130612
+ */
130613
+ load(propertyNamesAndPaths?: {
130614
+ select?: string;
130615
+ expand?: string;
130616
+ }): PowerPoint.TableColumn;
130617
+ /**
130618
+ * 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.)
130619
+ * 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.
130620
+ */
130621
+ toJSON(): PowerPoint.Interfaces.TableColumnData;
130622
+ }
130280
130623
  /**
130281
130624
  * Represents the fill formatting of a table cell.
130282
130625
  *
@@ -130495,6 +130838,697 @@ declare namespace PowerPoint {
130495
130838
  */
130496
130839
  verticalAlignment?: PowerPoint.TextVerticalAlignment | "Top" | "Middle" | "Bottom" | "TopCentered" | "MiddleCentered" | "BottomCentered" | undefined;
130497
130840
  }
130841
+ /**
130842
+ * Represents a collection of table columns.
130843
+ *
130844
+ * @remarks
130845
+ * [Api set: PowerPointApi 1.9]
130846
+ */
130847
+ class TableColumnCollection extends OfficeExtension.ClientObject {
130848
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
130849
+ context: RequestContext;
130850
+ /** Gets the loaded child items in this collection. */
130851
+ readonly items: PowerPoint.TableColumn[];
130852
+ /**
130853
+ * Adds one or more columns to the table.
130854
+ *
130855
+ * @remarks
130856
+ * [Api set: PowerPointApi 1.9]
130857
+ *
130858
+ * @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.
130859
+ * @param count Optional. The number of columns to add. If the value is undefined or 0, only one column is added.
130860
+ */
130861
+ // eslint-disable-next-line @definitelytyped/redundant-undefined
130862
+ add(index?: number | null | undefined, count?: number | undefined): void;
130863
+ /**
130864
+ * Deletes the specified columns from the collection.
130865
+ *
130866
+ * @remarks
130867
+ * [Api set: PowerPointApi 1.9]
130868
+ *
130869
+ * @param columns An array of `TableColumn` objects representing the columns to be deleted.
130870
+ */
130871
+ deleteColumns(columns: PowerPoint.TableColumn[]): void;
130872
+ /**
130873
+ * Gets the number of columns in the collection.
130874
+ *
130875
+ * @remarks
130876
+ * [Api set: PowerPointApi 1.9]
130877
+ * @returns The number of columns in the collection.
130878
+ */
130879
+ getCount(): OfficeExtension.ClientResult<number>;
130880
+ /**
130881
+ * Gets the column using its zero-based index in the collection.
130882
+ *
130883
+ * @remarks
130884
+ * [Api set: PowerPointApi 1.9]
130885
+ *
130886
+ * @param index Index value of the column to be retrieved, as a zero-based index.
130887
+ * @returns The column object.
130888
+ */
130889
+ getItemAt(index: number): PowerPoint.TableColumn;
130890
+ /**
130891
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
130892
+ *
130893
+ * @param options Provides options for which properties of the object to load.
130894
+ */
130895
+ load(options?: PowerPoint.Interfaces.TableColumnCollectionLoadOptions & PowerPoint.Interfaces.CollectionLoadOptions): PowerPoint.TableColumnCollection;
130896
+ /**
130897
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
130898
+ *
130899
+ * @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
130900
+ */
130901
+ load(propertyNames?: string | string[]): PowerPoint.TableColumnCollection;
130902
+ /**
130903
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
130904
+ *
130905
+ * @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.
130906
+ */
130907
+ load(propertyNamesAndPaths?: OfficeExtension.LoadOption): PowerPoint.TableColumnCollection;
130908
+ /**
130909
+ * 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.)
130910
+ * 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.
130911
+ */
130912
+ toJSON(): PowerPoint.Interfaces.TableColumnCollectionData;
130913
+ }
130914
+ /**
130915
+ * Represents the available options when clearing a table.
130916
+ *
130917
+ * @remarks
130918
+ * [Api set: PowerPointApi 1.9]
130919
+ */
130920
+ interface TableClearOptions {
130921
+ /**
130922
+ * Specifies if both values and formatting of the table should be cleared.
130923
+ *
130924
+ * @remarks
130925
+ * [Api set: PowerPointApi 1.9]
130926
+ */
130927
+ all?: boolean;
130928
+ /**
130929
+ * Specifies if the formatting of the table should be cleared.
130930
+ *
130931
+ * @remarks
130932
+ * [Api set: PowerPointApi 1.9]
130933
+ */
130934
+ format?: boolean;
130935
+ /**
130936
+ * Specifies if the values of the table should be cleared.
130937
+ *
130938
+ * @remarks
130939
+ * [Api set: PowerPointApi 1.9]
130940
+ */
130941
+ text?: boolean;
130942
+ }
130943
+ /**
130944
+ * Represents a row in a table.
130945
+ *
130946
+ * @remarks
130947
+ * [Api set: PowerPointApi 1.9]
130948
+ */
130949
+ class TableRow extends OfficeExtension.ClientObject {
130950
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
130951
+ context: RequestContext;
130952
+ /**
130953
+ * Retrieves the current height of the row in points.
130954
+ *
130955
+ * @remarks
130956
+ * [Api set: PowerPointApi 1.9]
130957
+ */
130958
+ readonly currentHeight: number;
130959
+ /**
130960
+ * 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.
130961
+ *
130962
+ * @remarks
130963
+ * [Api set: PowerPointApi 1.9]
130964
+ */
130965
+ height: number;
130966
+ /**
130967
+ * Returns the index number of the row within the rows collection of the table. Zero-indexed.
130968
+ *
130969
+ * @remarks
130970
+ * [Api set: PowerPointApi 1.9]
130971
+ */
130972
+ readonly rowIndex: number;
130973
+ /**
130974
+ * Deletes the row.
130975
+ *
130976
+ * @remarks
130977
+ * [Api set: PowerPointApi 1.9]
130978
+ */
130979
+ delete(): void;
130980
+ /**
130981
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
130982
+ *
130983
+ * @param options Provides options for which properties of the object to load.
130984
+ */
130985
+ load(options?: PowerPoint.Interfaces.TableRowLoadOptions): PowerPoint.TableRow;
130986
+ /**
130987
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
130988
+ *
130989
+ * @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
130990
+ */
130991
+ load(propertyNames?: string | string[]): PowerPoint.TableRow;
130992
+ /**
130993
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
130994
+ *
130995
+ * @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.
130996
+ */
130997
+ load(propertyNamesAndPaths?: {
130998
+ select?: string;
130999
+ expand?: string;
131000
+ }): PowerPoint.TableRow;
131001
+ /**
131002
+ * 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.)
131003
+ * 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.
131004
+ */
131005
+ toJSON(): PowerPoint.Interfaces.TableRowData;
131006
+ }
131007
+ /**
131008
+ * Represents a collection of table rows.
131009
+ *
131010
+ * @remarks
131011
+ * [Api set: PowerPointApi 1.9]
131012
+ */
131013
+ class TableRowCollection extends OfficeExtension.ClientObject {
131014
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
131015
+ context: RequestContext;
131016
+ /** Gets the loaded child items in this collection. */
131017
+ readonly items: PowerPoint.TableRow[];
131018
+ /**
131019
+ * Adds one or more rows to the table.
131020
+ *
131021
+ * @remarks
131022
+ * [Api set: PowerPointApi 1.9]
131023
+ *
131024
+ * @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.
131025
+ * @param count Optional. The number of rows to add. If the value is undefined or 0, only one row is added.
131026
+ */
131027
+ // eslint-disable-next-line @definitelytyped/redundant-undefined
131028
+ add(index?: number | null | undefined, count?: number | undefined): void;
131029
+ /**
131030
+ * Deletes the specified rows from the collection.
131031
+ *
131032
+ * @remarks
131033
+ * [Api set: PowerPointApi 1.9]
131034
+ *
131035
+ * @param rows An array of `TableRow` objects representing the rows to be deleted.
131036
+ */
131037
+ deleteRows(rows: PowerPoint.TableRow[]): void;
131038
+ /**
131039
+ * Gets the number of rows in the collection.
131040
+ *
131041
+ * @remarks
131042
+ * [Api set: PowerPointApi 1.9]
131043
+ * @returns The number of rows in the collection.
131044
+ */
131045
+ getCount(): OfficeExtension.ClientResult<number>;
131046
+ /**
131047
+ * Gets the row using its zero-based index in the collection.
131048
+ *
131049
+ * @remarks
131050
+ * [Api set: PowerPointApi 1.9]
131051
+ *
131052
+ * @param index Index value of the row to be retrieved, as a zero-based index.
131053
+ * @returns The row object.
131054
+ */
131055
+ getItemAt(index: number): PowerPoint.TableRow;
131056
+ /**
131057
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
131058
+ *
131059
+ * @param options Provides options for which properties of the object to load.
131060
+ */
131061
+ load(options?: PowerPoint.Interfaces.TableRowCollectionLoadOptions & PowerPoint.Interfaces.CollectionLoadOptions): PowerPoint.TableRowCollection;
131062
+ /**
131063
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
131064
+ *
131065
+ * @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
131066
+ */
131067
+ load(propertyNames?: string | string[]): PowerPoint.TableRowCollection;
131068
+ /**
131069
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
131070
+ *
131071
+ * @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.
131072
+ */
131073
+ load(propertyNamesAndPaths?: OfficeExtension.LoadOption): PowerPoint.TableRowCollection;
131074
+ /**
131075
+ * 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.)
131076
+ * 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.
131077
+ */
131078
+ toJSON(): PowerPoint.Interfaces.TableRowCollectionData;
131079
+ }
131080
+ /**
131081
+ * Represents the available built-in table styles.
131082
+ *
131083
+ * @remarks
131084
+ * [Api set: PowerPointApi 1.9]
131085
+ */
131086
+ enum TableStyle {
131087
+ /**
131088
+ * Specifies the style "No style, No grid" in UI.
131089
+ * @remarks
131090
+ * [Api set: PowerPointApi 1.9]
131091
+ */
131092
+ noStyleNoGrid = "NoStyleNoGrid",
131093
+ /**
131094
+ * Specifies the style "Themed style 1 - Accent 1" in UI.
131095
+ * @remarks
131096
+ * [Api set: PowerPointApi 1.9]
131097
+ */
131098
+ themedStyle1Accent1 = "ThemedStyle1Accent1",
131099
+ /**
131100
+ * Specifies the style "Themed style 1 - Accent 2" in UI.
131101
+ * @remarks
131102
+ * [Api set: PowerPointApi 1.9]
131103
+ */
131104
+ themedStyle1Accent2 = "ThemedStyle1Accent2",
131105
+ /**
131106
+ * Specifies the style "Themed style 1 - Accent 3" in UI.
131107
+ * @remarks
131108
+ * [Api set: PowerPointApi 1.9]
131109
+ */
131110
+ themedStyle1Accent3 = "ThemedStyle1Accent3",
131111
+ /**
131112
+ * Specifies the style "Themed style 1 - Accent 4" in UI.
131113
+ * @remarks
131114
+ * [Api set: PowerPointApi 1.9]
131115
+ */
131116
+ themedStyle1Accent4 = "ThemedStyle1Accent4",
131117
+ /**
131118
+ * Specifies the style "Themed style 1 - Accent 5" in UI.
131119
+ * @remarks
131120
+ * [Api set: PowerPointApi 1.9]
131121
+ */
131122
+ themedStyle1Accent5 = "ThemedStyle1Accent5",
131123
+ /**
131124
+ * Specifies the style "Themed style 1 - Accent 6" in UI.
131125
+ * @remarks
131126
+ * [Api set: PowerPointApi 1.9]
131127
+ */
131128
+ themedStyle1Accent6 = "ThemedStyle1Accent6",
131129
+ /**
131130
+ * Specifies the style "No style, Table grid" in UI.
131131
+ * @remarks
131132
+ * [Api set: PowerPointApi 1.9]
131133
+ */
131134
+ noStyleTableGrid = "NoStyleTableGrid",
131135
+ /**
131136
+ * Specifies the style "Themed style 2 - Accent 1" in UI.
131137
+ * @remarks
131138
+ * [Api set: PowerPointApi 1.9]
131139
+ */
131140
+ themedStyle2Accent1 = "ThemedStyle2Accent1",
131141
+ /**
131142
+ * Specifies the style "Themed style 2 - Accent 2" in UI.
131143
+ * @remarks
131144
+ * [Api set: PowerPointApi 1.9]
131145
+ */
131146
+ themedStyle2Accent2 = "ThemedStyle2Accent2",
131147
+ /**
131148
+ * Specifies the style "Themed style 2 - Accent 3" in UI.
131149
+ * @remarks
131150
+ * [Api set: PowerPointApi 1.9]
131151
+ */
131152
+ themedStyle2Accent3 = "ThemedStyle2Accent3",
131153
+ /**
131154
+ * Specifies the style "Themed style 2 - Accent 4" in UI.
131155
+ * @remarks
131156
+ * [Api set: PowerPointApi 1.9]
131157
+ */
131158
+ themedStyle2Accent4 = "ThemedStyle2Accent4",
131159
+ /**
131160
+ * Specifies the style "Themed style 2 - Accent 5" in UI.
131161
+ * @remarks
131162
+ * [Api set: PowerPointApi 1.9]
131163
+ */
131164
+ themedStyle2Accent5 = "ThemedStyle2Accent5",
131165
+ /**
131166
+ * Specifies the style "Themed style 2 - Accent 6" in UI.
131167
+ * @remarks
131168
+ * [Api set: PowerPointApi 1.9]
131169
+ */
131170
+ themedStyle2Accent6 = "ThemedStyle2Accent6",
131171
+ /**
131172
+ * Specifies the style "Light Style 1" in UI.
131173
+ * @remarks
131174
+ * [Api set: PowerPointApi 1.9]
131175
+ */
131176
+ lightStyle1 = "LightStyle1",
131177
+ /**
131178
+ * Specifies the style "Light style 1 - Accent 1" in UI.
131179
+ * @remarks
131180
+ * [Api set: PowerPointApi 1.9]
131181
+ */
131182
+ lightStyle1Accent1 = "LightStyle1Accent1",
131183
+ /**
131184
+ * Specifies the style "Light style 1 - Accent 2" in UI.
131185
+ * @remarks
131186
+ * [Api set: PowerPointApi 1.9]
131187
+ */
131188
+ lightStyle1Accent2 = "LightStyle1Accent2",
131189
+ /**
131190
+ * Specifies the style "Light style 1 - Accent 3" in UI.
131191
+ * @remarks
131192
+ * [Api set: PowerPointApi 1.9]
131193
+ */
131194
+ lightStyle1Accent3 = "LightStyle1Accent3",
131195
+ /**
131196
+ * Specifies the style "Light style 1 - Accent 4" in UI.
131197
+ * @remarks
131198
+ * [Api set: PowerPointApi 1.9]
131199
+ */
131200
+ lightStyle1Accent4 = "LightStyle1Accent4",
131201
+ /**
131202
+ * Specifies the style "Light style 1 - Accent 5" in UI.
131203
+ * @remarks
131204
+ * [Api set: PowerPointApi 1.9]
131205
+ */
131206
+ lightStyle1Accent5 = "LightStyle1Accent5",
131207
+ /**
131208
+ * Specifies the style "Light style 1 - Accent 6" in UI.
131209
+ * @remarks
131210
+ * [Api set: PowerPointApi 1.9]
131211
+ */
131212
+ lightStyle1Accent6 = "LightStyle1Accent6",
131213
+ /**
131214
+ * Specifies the style "Light Style 2" in UI.
131215
+ * @remarks
131216
+ * [Api set: PowerPointApi 1.9]
131217
+ */
131218
+ lightStyle2 = "LightStyle2",
131219
+ /**
131220
+ * Specifies the style "Light style 2 - Accent 1" in UI.
131221
+ * @remarks
131222
+ * [Api set: PowerPointApi 1.9]
131223
+ */
131224
+ lightStyle2Accent1 = "LightStyle2Accent1",
131225
+ /**
131226
+ * Specifies the style "Light style 2 - Accent 2" in UI.
131227
+ * @remarks
131228
+ * [Api set: PowerPointApi 1.9]
131229
+ */
131230
+ lightStyle2Accent2 = "LightStyle2Accent2",
131231
+ /**
131232
+ * Specifies the style "Light style 2 - Accent 3" in UI.
131233
+ * @remarks
131234
+ * [Api set: PowerPointApi 1.9]
131235
+ */
131236
+ lightStyle2Accent3 = "LightStyle2Accent3",
131237
+ /**
131238
+ * Specifies the style "Light style 2 - Accent 4" in UI.
131239
+ * @remarks
131240
+ * [Api set: PowerPointApi 1.9]
131241
+ */
131242
+ lightStyle2Accent4 = "LightStyle2Accent4",
131243
+ /**
131244
+ * Specifies the style "Light style 2 - Accent 5" in UI.
131245
+ * @remarks
131246
+ * [Api set: PowerPointApi 1.9]
131247
+ */
131248
+ lightStyle2Accent5 = "LightStyle2Accent5",
131249
+ /**
131250
+ * Specifies the style "Light style 2 - Accent 6" in UI.
131251
+ * @remarks
131252
+ * [Api set: PowerPointApi 1.9]
131253
+ */
131254
+ lightStyle2Accent6 = "LightStyle2Accent6",
131255
+ /**
131256
+ * Specifies the style "Light Style 3" in UI.
131257
+ * @remarks
131258
+ * [Api set: PowerPointApi 1.9]
131259
+ */
131260
+ lightStyle3 = "LightStyle3",
131261
+ /**
131262
+ * Specifies the style "Light style 3 - Accent 1" in UI.
131263
+ * @remarks
131264
+ * [Api set: PowerPointApi 1.9]
131265
+ */
131266
+ lightStyle3Accent1 = "LightStyle3Accent1",
131267
+ /**
131268
+ * Specifies the style "Light style 3 - Accent 2" in UI.
131269
+ * @remarks
131270
+ * [Api set: PowerPointApi 1.9]
131271
+ */
131272
+ lightStyle3Accent2 = "LightStyle3Accent2",
131273
+ /**
131274
+ * Specifies the style "Light style 3 - Accent 3" in UI.
131275
+ * @remarks
131276
+ * [Api set: PowerPointApi 1.9]
131277
+ */
131278
+ lightStyle3Accent3 = "LightStyle3Accent3",
131279
+ /**
131280
+ * Specifies the style "Light style 3 - Accent 4" in UI.
131281
+ * @remarks
131282
+ * [Api set: PowerPointApi 1.9]
131283
+ */
131284
+ lightStyle3Accent4 = "LightStyle3Accent4",
131285
+ /**
131286
+ * Specifies the style "Light style 3 - Accent 5" in UI.
131287
+ * @remarks
131288
+ * [Api set: PowerPointApi 1.9]
131289
+ */
131290
+ lightStyle3Accent5 = "LightStyle3Accent5",
131291
+ /**
131292
+ * Specifies the style "Light style 3 - Accent 6" in UI.
131293
+ * @remarks
131294
+ * [Api set: PowerPointApi 1.9]
131295
+ */
131296
+ lightStyle3Accent6 = "LightStyle3Accent6",
131297
+ /**
131298
+ * Specifies the style "Medium Style 1" in UI.
131299
+ * @remarks
131300
+ * [Api set: PowerPointApi 1.9]
131301
+ */
131302
+ mediumStyle1 = "MediumStyle1",
131303
+ /**
131304
+ * Specifies the style "Medium style 1 - Accent 1" in UI.
131305
+ * @remarks
131306
+ * [Api set: PowerPointApi 1.9]
131307
+ */
131308
+ mediumStyle1Accent1 = "MediumStyle1Accent1",
131309
+ /**
131310
+ * Specifies the style "Medium style 1 - Accent 2" in UI.
131311
+ * @remarks
131312
+ * [Api set: PowerPointApi 1.9]
131313
+ */
131314
+ mediumStyle1Accent2 = "MediumStyle1Accent2",
131315
+ /**
131316
+ * Specifies the style "Medium style 1 - Accent 3" in UI.
131317
+ * @remarks
131318
+ * [Api set: PowerPointApi 1.9]
131319
+ */
131320
+ mediumStyle1Accent3 = "MediumStyle1Accent3",
131321
+ /**
131322
+ * Specifies the style "Medium style 1 - Accent 4" in UI.
131323
+ * @remarks
131324
+ * [Api set: PowerPointApi 1.9]
131325
+ */
131326
+ mediumStyle1Accent4 = "MediumStyle1Accent4",
131327
+ /**
131328
+ * Specifies the style "Medium style 1 - Accent 5" in UI.
131329
+ * @remarks
131330
+ * [Api set: PowerPointApi 1.9]
131331
+ */
131332
+ mediumStyle1Accent5 = "MediumStyle1Accent5",
131333
+ /**
131334
+ * Specifies the style "Medium style 1 - Accent 6" in UI.
131335
+ * @remarks
131336
+ * [Api set: PowerPointApi 1.9]
131337
+ */
131338
+ mediumStyle1Accent6 = "MediumStyle1Accent6",
131339
+ /**
131340
+ * Specifies the style "Medium Style 2" in UI.
131341
+ * @remarks
131342
+ * [Api set: PowerPointApi 1.9]
131343
+ */
131344
+ mediumStyle2 = "MediumStyle2",
131345
+ /**
131346
+ * Specifies the style "Medium style 2 - Accent 1" in UI.
131347
+ * @remarks
131348
+ * [Api set: PowerPointApi 1.9]
131349
+ */
131350
+ mediumStyle2Accent1 = "MediumStyle2Accent1",
131351
+ /**
131352
+ * Specifies the style "Medium style 2 - Accent 2" in UI.
131353
+ * @remarks
131354
+ * [Api set: PowerPointApi 1.9]
131355
+ */
131356
+ mediumStyle2Accent2 = "MediumStyle2Accent2",
131357
+ /**
131358
+ * Specifies the style "Medium style 2 - Accent 3" in UI.
131359
+ * @remarks
131360
+ * [Api set: PowerPointApi 1.9]
131361
+ */
131362
+ mediumStyle2Accent3 = "MediumStyle2Accent3",
131363
+ /**
131364
+ * Specifies the style "Medium style 2 - Accent 4" in UI.
131365
+ * @remarks
131366
+ * [Api set: PowerPointApi 1.9]
131367
+ */
131368
+ mediumStyle2Accent4 = "MediumStyle2Accent4",
131369
+ /**
131370
+ * Specifies the style "Medium style 2 - Accent 5" in UI.
131371
+ * @remarks
131372
+ * [Api set: PowerPointApi 1.9]
131373
+ */
131374
+ mediumStyle2Accent5 = "MediumStyle2Accent5",
131375
+ /**
131376
+ * Specifies the style "Medium style 2 - Accent 6" in UI.
131377
+ * @remarks
131378
+ * [Api set: PowerPointApi 1.9]
131379
+ */
131380
+ mediumStyle2Accent6 = "MediumStyle2Accent6",
131381
+ /**
131382
+ * Specifies the style "Medium Style 3" in UI.
131383
+ * @remarks
131384
+ * [Api set: PowerPointApi 1.9]
131385
+ */
131386
+ mediumStyle3 = "MediumStyle3",
131387
+ /**
131388
+ * Specifies the style "Medium style 3 - Accent 1" in UI.
131389
+ * @remarks
131390
+ * [Api set: PowerPointApi 1.9]
131391
+ */
131392
+ mediumStyle3Accent1 = "MediumStyle3Accent1",
131393
+ /**
131394
+ * Specifies the style "Medium style 3 - Accent 2" in UI.
131395
+ * @remarks
131396
+ * [Api set: PowerPointApi 1.9]
131397
+ */
131398
+ mediumStyle3Accent2 = "MediumStyle3Accent2",
131399
+ /**
131400
+ * Specifies the style "Medium style 3 - Accent 3" in UI.
131401
+ * @remarks
131402
+ * [Api set: PowerPointApi 1.9]
131403
+ */
131404
+ mediumStyle3Accent3 = "MediumStyle3Accent3",
131405
+ /**
131406
+ * Specifies the style "Medium style 3 - Accent 4" in UI.
131407
+ * @remarks
131408
+ * [Api set: PowerPointApi 1.9]
131409
+ */
131410
+ mediumStyle3Accent4 = "MediumStyle3Accent4",
131411
+ /**
131412
+ * Specifies the style "Medium style 3 - Accent 5" in UI.
131413
+ * @remarks
131414
+ * [Api set: PowerPointApi 1.9]
131415
+ */
131416
+ mediumStyle3Accent5 = "MediumStyle3Accent5",
131417
+ /**
131418
+ * Specifies the style "Medium style 3 - Accent 6" in UI.
131419
+ * @remarks
131420
+ * [Api set: PowerPointApi 1.9]
131421
+ */
131422
+ mediumStyle3Accent6 = "MediumStyle3Accent6",
131423
+ /**
131424
+ * Specifies the style "Medium Style 4" in UI.
131425
+ * @remarks
131426
+ * [Api set: PowerPointApi 1.9]
131427
+ */
131428
+ mediumStyle4 = "MediumStyle4",
131429
+ /**
131430
+ * Specifies the style "Medium style 4 - Accent 1" in UI.
131431
+ * @remarks
131432
+ * [Api set: PowerPointApi 1.9]
131433
+ */
131434
+ mediumStyle4Accent1 = "MediumStyle4Accent1",
131435
+ /**
131436
+ * Specifies the style "Medium style 4 - Accent 2" in UI.
131437
+ * @remarks
131438
+ * [Api set: PowerPointApi 1.9]
131439
+ */
131440
+ mediumStyle4Accent2 = "MediumStyle4Accent2",
131441
+ /**
131442
+ * Specifies the style "Medium style 4 - Accent 3" in UI.
131443
+ * @remarks
131444
+ * [Api set: PowerPointApi 1.9]
131445
+ */
131446
+ mediumStyle4Accent3 = "MediumStyle4Accent3",
131447
+ /**
131448
+ * Specifies the style "Medium style 4 - Accent 4" in UI.
131449
+ * @remarks
131450
+ * [Api set: PowerPointApi 1.9]
131451
+ */
131452
+ mediumStyle4Accent4 = "MediumStyle4Accent4",
131453
+ /**
131454
+ * Specifies the style "Medium style 4 - Accent 5" in UI.
131455
+ * @remarks
131456
+ * [Api set: PowerPointApi 1.9]
131457
+ */
131458
+ mediumStyle4Accent5 = "MediumStyle4Accent5",
131459
+ /**
131460
+ * Specifies the style "Medium style 4 - Accent 6" in UI.
131461
+ * @remarks
131462
+ * [Api set: PowerPointApi 1.9]
131463
+ */
131464
+ mediumStyle4Accent6 = "MediumStyle4Accent6",
131465
+ /**
131466
+ * Specifies the style "Dark Style 1" in UI.
131467
+ * @remarks
131468
+ * [Api set: PowerPointApi 1.9]
131469
+ */
131470
+ darkStyle1 = "DarkStyle1",
131471
+ /**
131472
+ * Specifies the style "Dark style 1 - Accent 1" in UI.
131473
+ * @remarks
131474
+ * [Api set: PowerPointApi 1.9]
131475
+ */
131476
+ darkStyle1Accent1 = "DarkStyle1Accent1",
131477
+ /**
131478
+ * Specifies the style "Dark style 1 - Accent 2" in UI.
131479
+ * @remarks
131480
+ * [Api set: PowerPointApi 1.9]
131481
+ */
131482
+ darkStyle1Accent2 = "DarkStyle1Accent2",
131483
+ /**
131484
+ * Specifies the style "Dark style 1 - Accent 3" in UI.
131485
+ * @remarks
131486
+ * [Api set: PowerPointApi 1.9]
131487
+ */
131488
+ darkStyle1Accent3 = "DarkStyle1Accent3",
131489
+ /**
131490
+ * Specifies the style "Dark style 1 - Accent 4" in UI.
131491
+ * @remarks
131492
+ * [Api set: PowerPointApi 1.9]
131493
+ */
131494
+ darkStyle1Accent4 = "DarkStyle1Accent4",
131495
+ /**
131496
+ * Specifies the style "Dark style 1 - Accent 5" in UI.
131497
+ * @remarks
131498
+ * [Api set: PowerPointApi 1.9]
131499
+ */
131500
+ darkStyle1Accent5 = "DarkStyle1Accent5",
131501
+ /**
131502
+ * Specifies the style "Dark style 1 - Accent 6" in UI.
131503
+ * @remarks
131504
+ * [Api set: PowerPointApi 1.9]
131505
+ */
131506
+ darkStyle1Accent6 = "DarkStyle1Accent6",
131507
+ /**
131508
+ * Specifies the style "Dark Style 2" in UI.
131509
+ * @remarks
131510
+ * [Api set: PowerPointApi 1.9]
131511
+ */
131512
+ darkStyle2 = "DarkStyle2",
131513
+ /**
131514
+ * Specifies the style "Dark style 2 - Accent 1/Accent 2" in UI.
131515
+ * @remarks
131516
+ * [Api set: PowerPointApi 1.9]
131517
+ */
131518
+ darkStyle2Accent1 = "DarkStyle2Accent1",
131519
+ /**
131520
+ * Specifies the style "Dark style 2 - Accent 3/Accent 4" in UI.
131521
+ * @remarks
131522
+ * [Api set: PowerPointApi 1.9]
131523
+ */
131524
+ darkStyle2Accent2 = "DarkStyle2Accent2",
131525
+ /**
131526
+ * Specifies the style "Dark style 2 - Accent 5/Accent 6" in UI.
131527
+ * @remarks
131528
+ * [Api set: PowerPointApi 1.9]
131529
+ */
131530
+ darkStyle2Accent3 = "DarkStyle2Accent3",
131531
+ }
130498
131532
  /**
130499
131533
  * Represents a table.
130500
131534
  *
@@ -130504,6 +131538,20 @@ declare namespace PowerPoint {
130504
131538
  class Table extends OfficeExtension.ClientObject {
130505
131539
  /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
130506
131540
  context: RequestContext;
131541
+ /**
131542
+ * Gets the collection of columns in the table.
131543
+ *
131544
+ * @remarks
131545
+ * [Api set: PowerPointApi 1.9]
131546
+ */
131547
+ readonly columns: PowerPoint.TableColumnCollection;
131548
+ /**
131549
+ * Gets the collection of rows in the table.
131550
+ *
131551
+ * @remarks
131552
+ * [Api set: PowerPointApi 1.9]
131553
+ */
131554
+ readonly rows: PowerPoint.TableRowCollection;
130507
131555
  /**
130508
131556
  * Gets the number of columns in the table.
130509
131557
  *
@@ -130525,6 +131573,15 @@ declare namespace PowerPoint {
130525
131573
  * [Api set: PowerPointApi 1.8]
130526
131574
  */
130527
131575
  readonly values: string[][];
131576
+ /**
131577
+ * Clears table values and formatting.
131578
+ *
131579
+ * @remarks
131580
+ * [Api set: PowerPointApi 1.9]
131581
+ *
131582
+ * @param options Provides options for clearing the table.
131583
+ */
131584
+ clear(options?: PowerPoint.TableClearOptions): void;
130528
131585
  /**
130529
131586
  * Gets the cell at the specified `rowIndex` and `columnIndex`.
130530
131587
  *
@@ -130551,6 +131608,18 @@ declare namespace PowerPoint {
130551
131608
  * [Api set: PowerPointApi 1.8]
130552
131609
  */
130553
131610
  getShape(): PowerPoint.Shape;
131611
+ /**
131612
+ * 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.
131613
+ *
131614
+ * @remarks
131615
+ * [Api set: PowerPointApi 1.9]
131616
+ *
131617
+ * @param rowIndex The zero-based row index of the cell to start the merged area.
131618
+ * @param columnIndex The zero-based column index of the cell to start the merged area.
131619
+ * @param rowCount The number of rows to merge with the starting cell. Must be greater than 0.
131620
+ * @param columnCount The number of columns to merge with the starting cell. Must be greater than 0.
131621
+ */
131622
+ mergeCells(rowIndex: number, columnIndex: number, rowCount: number, columnCount: number): void;
130554
131623
  /**
130555
131624
  * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
130556
131625
  *
@@ -130717,6 +131786,13 @@ declare namespace PowerPoint {
130717
131786
  * [Api set: PowerPointApi 1.8]
130718
131787
  */
130719
131788
  specificCellProperties?: PowerPoint.TableCellProperties[][];
131789
+ /**
131790
+ * Specifies value that represents the table style.
131791
+ *
131792
+ * @remarks
131793
+ * [Api set: PowerPointApi 1.9]
131794
+ */
131795
+ 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";
130720
131796
  /**
130721
131797
  * Specifies the distance, in points, from the top edge of the table to the top edge of the slide.
130722
131798
  A default value is used when this parameter isn't provided.
@@ -133351,6 +134427,68 @@ declare namespace PowerPoint {
133351
134427
  interface HyperlinkCollectionUpdateData {
133352
134428
  items?: PowerPoint.Interfaces.HyperlinkData[];
133353
134429
  }
134430
+ /** An interface for updating data on the `Border` object, for use in `border.set({ ... })`. */
134431
+ interface BorderUpdateData {
134432
+ /**
134433
+ * Represents the line color in the hexadecimal format #RRGGBB (e.g., "FFA500") or as a named HTML color value (e.g., "orange").
134434
+ *
134435
+ * @remarks
134436
+ * [Api set: PowerPointApi 1.9]
134437
+ */
134438
+ color?: string | undefined;
134439
+ /**
134440
+ * Represents the dash style of the line.
134441
+ *
134442
+ * @remarks
134443
+ * [Api set: PowerPointApi 1.9]
134444
+ */
134445
+ dashStyle?: PowerPoint.ShapeLineDashStyle | "Dash" | "DashDot" | "DashDotDot" | "LongDash" | "LongDashDot" | "RoundDot" | "Solid" | "SquareDot" | "LongDashDotDot" | "SystemDash" | "SystemDot" | "SystemDashDot" | undefined;
134446
+ /**
134447
+ * Specifies the transparency percentage of the line as a value from 0.0 (opaque) through 1.0 (clear).
134448
+ *
134449
+ * @remarks
134450
+ * [Api set: PowerPointApi 1.9]
134451
+ */
134452
+ transparency?: number | undefined;
134453
+ /**
134454
+ * Represents the weight of the line, in points.
134455
+ *
134456
+ * @remarks
134457
+ * [Api set: PowerPointApi 1.9]
134458
+ */
134459
+ weight?: number | undefined;
134460
+ }
134461
+ /** An interface for updating data on the `Margins` object, for use in `margins.set({ ... })`. */
134462
+ interface MarginsUpdateData {
134463
+ /**
134464
+ * Specifies the bottom margin in points.
134465
+ *
134466
+ * @remarks
134467
+ * [Api set: PowerPointApi 1.9]
134468
+ */
134469
+ bottom?: number | undefined;
134470
+ /**
134471
+ * Specifies the left margin in points.
134472
+ *
134473
+ * @remarks
134474
+ * [Api set: PowerPointApi 1.9]
134475
+ */
134476
+ left?: number | undefined;
134477
+ /**
134478
+ * Specifies the right margin in points.
134479
+ *
134480
+ * @remarks
134481
+ * [Api set: PowerPointApi 1.9]
134482
+ */
134483
+ right?: number | undefined;
134484
+ /**
134485
+ * Specifies the top margin in points.
134486
+ *
134487
+ * @remarks
134488
+ * [Api set: PowerPointApi 1.9]
134489
+ */
134490
+ top?: number | undefined;
134491
+ }
133354
134492
  /** An interface for updating data on the `ShapeFill` object, for use in `shapeFill.set({ ... })`. */
133355
134493
  interface ShapeFillUpdateData {
133356
134494
  /**
@@ -133505,6 +134643,20 @@ declare namespace PowerPoint {
133505
134643
  }
133506
134644
  /** An interface for updating data on the `TableCell` object, for use in `tableCell.set({ ... })`. */
133507
134645
  interface TableCellUpdateData {
134646
+ /**
134647
+ * Specifies the horizontal alignment of the table cell. Returns `null` if the cell text contains different alignments.
134648
+ *
134649
+ * @remarks
134650
+ * [Api set: PowerPointApi 1.9]
134651
+ */
134652
+ horizontalAlignment?: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed" | null;
134653
+ /**
134654
+ * Specifies the indent level of the table cell. Returns `null` if the cell text contains different indent levels.
134655
+ *
134656
+ * @remarks
134657
+ * [Api set: PowerPointApi 1.9]
134658
+ */
134659
+ indentLevel?: number | null;
133508
134660
  /**
133509
134661
  * Specifies the text content of the table cell.
133510
134662
  *
@@ -133512,11 +134664,54 @@ declare namespace PowerPoint {
133512
134664
  * [Api set: PowerPointApi 1.8]
133513
134665
  */
133514
134666
  text?: string;
134667
+ /**
134668
+ * Specifies the contents of the table cell as an array of {@link PowerPoint.TextRun} objects.
134669
+ Each `TextRun` object represents a sequence of one or more characters that share the same font attributes.
134670
+ *
134671
+ * @remarks
134672
+ * [Api set: PowerPointApi 1.9]
134673
+ */
134674
+ textRuns?: PowerPoint.TextRun[];
134675
+ /**
134676
+ * Specifies the vertical alignment of the text in the table cell.
134677
+ *
134678
+ * @remarks
134679
+ * [Api set: PowerPointApi 1.9]
134680
+ */
134681
+ verticalAlignment?: PowerPoint.TextVerticalAlignment | "Top" | "Middle" | "Bottom" | "TopCentered" | "MiddleCentered" | "BottomCentered";
133515
134682
  }
133516
134683
  /** An interface for updating data on the `TableCellCollection` object, for use in `tableCellCollection.set({ ... })`. */
133517
134684
  interface TableCellCollectionUpdateData {
133518
134685
  items?: PowerPoint.Interfaces.TableCellData[];
133519
134686
  }
134687
+ /** An interface for updating data on the `TableColumn` object, for use in `tableColumn.set({ ... })`. */
134688
+ interface TableColumnUpdateData {
134689
+ /**
134690
+ * 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.
134691
+ *
134692
+ * @remarks
134693
+ * [Api set: PowerPointApi 1.9]
134694
+ */
134695
+ width?: number;
134696
+ }
134697
+ /** An interface for updating data on the `TableColumnCollection` object, for use in `tableColumnCollection.set({ ... })`. */
134698
+ interface TableColumnCollectionUpdateData {
134699
+ items?: PowerPoint.Interfaces.TableColumnData[];
134700
+ }
134701
+ /** An interface for updating data on the `TableRow` object, for use in `tableRow.set({ ... })`. */
134702
+ interface TableRowUpdateData {
134703
+ /**
134704
+ * 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.
134705
+ *
134706
+ * @remarks
134707
+ * [Api set: PowerPointApi 1.9]
134708
+ */
134709
+ height?: number;
134710
+ }
134711
+ /** An interface for updating data on the `TableRowCollection` object, for use in `tableRowCollection.set({ ... })`. */
134712
+ interface TableRowCollectionUpdateData {
134713
+ items?: PowerPoint.Interfaces.TableRowData[];
134714
+ }
133520
134715
  /** An interface for updating data on the `ShapeCollection` object, for use in `shapeCollection.set({ ... })`. */
133521
134716
  interface ShapeCollectionUpdateData {
133522
134717
  items?: PowerPoint.Interfaces.ShapeData[];
@@ -133896,6 +135091,71 @@ declare namespace PowerPoint {
133896
135091
  interface HyperlinkCollectionData {
133897
135092
  items?: PowerPoint.Interfaces.HyperlinkData[];
133898
135093
  }
135094
+ /** An interface describing the data returned by calling `border.toJSON()`. */
135095
+ interface BorderData {
135096
+ /**
135097
+ * Represents the line color in the hexadecimal format #RRGGBB (e.g., "FFA500") or as a named HTML color value (e.g., "orange").
135098
+ *
135099
+ * @remarks
135100
+ * [Api set: PowerPointApi 1.9]
135101
+ */
135102
+ color?: string | undefined;
135103
+ /**
135104
+ * Represents the dash style of the line.
135105
+ *
135106
+ * @remarks
135107
+ * [Api set: PowerPointApi 1.9]
135108
+ */
135109
+ dashStyle?: PowerPoint.ShapeLineDashStyle | "Dash" | "DashDot" | "DashDotDot" | "LongDash" | "LongDashDot" | "RoundDot" | "Solid" | "SquareDot" | "LongDashDotDot" | "SystemDash" | "SystemDot" | "SystemDashDot" | undefined;
135110
+ /**
135111
+ * Specifies the transparency percentage of the line as a value from 0.0 (opaque) through 1.0 (clear).
135112
+ *
135113
+ * @remarks
135114
+ * [Api set: PowerPointApi 1.9]
135115
+ */
135116
+ transparency?: number | undefined;
135117
+ /**
135118
+ * Represents the weight of the line, in points.
135119
+ *
135120
+ * @remarks
135121
+ * [Api set: PowerPointApi 1.9]
135122
+ */
135123
+ weight?: number | undefined;
135124
+ }
135125
+ /** An interface describing the data returned by calling `borders.toJSON()`. */
135126
+ interface BordersData {
135127
+ }
135128
+ /** An interface describing the data returned by calling `margins.toJSON()`. */
135129
+ interface MarginsData {
135130
+ /**
135131
+ * Specifies the bottom margin in points.
135132
+ *
135133
+ * @remarks
135134
+ * [Api set: PowerPointApi 1.9]
135135
+ */
135136
+ bottom?: number | undefined;
135137
+ /**
135138
+ * Specifies the left margin in points.
135139
+ *
135140
+ * @remarks
135141
+ * [Api set: PowerPointApi 1.9]
135142
+ */
135143
+ left?: number | undefined;
135144
+ /**
135145
+ * Specifies the right margin in points.
135146
+ *
135147
+ * @remarks
135148
+ * [Api set: PowerPointApi 1.9]
135149
+ */
135150
+ right?: number | undefined;
135151
+ /**
135152
+ * Specifies the top margin in points.
135153
+ *
135154
+ * @remarks
135155
+ * [Api set: PowerPointApi 1.9]
135156
+ */
135157
+ top?: number | undefined;
135158
+ }
133899
135159
  /** An interface describing the data returned by calling `shapeFill.toJSON()`. */
133900
135160
  interface ShapeFillData {
133901
135161
  /**
@@ -134072,6 +135332,20 @@ declare namespace PowerPoint {
134072
135332
  * [Api set: PowerPointApi 1.8]
134073
135333
  */
134074
135334
  columnIndex?: number;
135335
+ /**
135336
+ * Specifies the horizontal alignment of the table cell. Returns `null` if the cell text contains different alignments.
135337
+ *
135338
+ * @remarks
135339
+ * [Api set: PowerPointApi 1.9]
135340
+ */
135341
+ horizontalAlignment?: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed" | null;
135342
+ /**
135343
+ * Specifies the indent level of the table cell. Returns `null` if the cell text contains different indent levels.
135344
+ *
135345
+ * @remarks
135346
+ * [Api set: PowerPointApi 1.9]
135347
+ */
135348
+ indentLevel?: number | null;
134075
135349
  /**
134076
135350
  * Gets the number of table rows this cell spans across.
134077
135351
  Will be greater than or equal to 1.
@@ -134094,11 +135368,75 @@ declare namespace PowerPoint {
134094
135368
  * [Api set: PowerPointApi 1.8]
134095
135369
  */
134096
135370
  text?: string;
135371
+ /**
135372
+ * Specifies the contents of the table cell as an array of {@link PowerPoint.TextRun} objects.
135373
+ Each `TextRun` object represents a sequence of one or more characters that share the same font attributes.
135374
+ *
135375
+ * @remarks
135376
+ * [Api set: PowerPointApi 1.9]
135377
+ */
135378
+ textRuns?: PowerPoint.TextRun[];
135379
+ /**
135380
+ * Specifies the vertical alignment of the text in the table cell.
135381
+ *
135382
+ * @remarks
135383
+ * [Api set: PowerPointApi 1.9]
135384
+ */
135385
+ verticalAlignment?: PowerPoint.TextVerticalAlignment | "Top" | "Middle" | "Bottom" | "TopCentered" | "MiddleCentered" | "BottomCentered";
134097
135386
  }
134098
135387
  /** An interface describing the data returned by calling `tableCellCollection.toJSON()`. */
134099
135388
  interface TableCellCollectionData {
134100
135389
  items?: PowerPoint.Interfaces.TableCellData[];
134101
135390
  }
135391
+ /** An interface describing the data returned by calling `tableColumn.toJSON()`. */
135392
+ interface TableColumnData {
135393
+ /**
135394
+ * Returns the index number of the column within the column collection of the table. Zero-indexed.
135395
+ *
135396
+ * @remarks
135397
+ * [Api set: PowerPointApi 1.9]
135398
+ */
135399
+ columnIndex?: number;
135400
+ /**
135401
+ * 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.
135402
+ *
135403
+ * @remarks
135404
+ * [Api set: PowerPointApi 1.9]
135405
+ */
135406
+ width?: number;
135407
+ }
135408
+ /** An interface describing the data returned by calling `tableColumnCollection.toJSON()`. */
135409
+ interface TableColumnCollectionData {
135410
+ items?: PowerPoint.Interfaces.TableColumnData[];
135411
+ }
135412
+ /** An interface describing the data returned by calling `tableRow.toJSON()`. */
135413
+ interface TableRowData {
135414
+ /**
135415
+ * Retrieves the current height of the row in points.
135416
+ *
135417
+ * @remarks
135418
+ * [Api set: PowerPointApi 1.9]
135419
+ */
135420
+ currentHeight?: number;
135421
+ /**
135422
+ * 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.
135423
+ *
135424
+ * @remarks
135425
+ * [Api set: PowerPointApi 1.9]
135426
+ */
135427
+ height?: number;
135428
+ /**
135429
+ * Returns the index number of the row within the rows collection of the table. Zero-indexed.
135430
+ *
135431
+ * @remarks
135432
+ * [Api set: PowerPointApi 1.9]
135433
+ */
135434
+ rowIndex?: number;
135435
+ }
135436
+ /** An interface describing the data returned by calling `tableRowCollection.toJSON()`. */
135437
+ interface TableRowCollectionData {
135438
+ items?: PowerPoint.Interfaces.TableRowData[];
135439
+ }
134102
135440
  /** An interface describing the data returned by calling `table.toJSON()`. */
134103
135441
  interface TableData {
134104
135442
  /**
@@ -134773,6 +136111,140 @@ declare namespace PowerPoint {
134773
136111
  */
134774
136112
  screenTip?: boolean;
134775
136113
  }
136114
+ /**
136115
+ * Represents the properties for a table cell border.
136116
+ *
136117
+ * @remarks
136118
+ * [Api set: PowerPointApi 1.9]
136119
+ */
136120
+ interface BorderLoadOptions {
136121
+ /**
136122
+ 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`).
136123
+ */
136124
+ $all?: boolean;
136125
+ /**
136126
+ * Represents the line color in the hexadecimal format #RRGGBB (e.g., "FFA500") or as a named HTML color value (e.g., "orange").
136127
+ *
136128
+ * @remarks
136129
+ * [Api set: PowerPointApi 1.9]
136130
+ */
136131
+ color?: boolean;
136132
+ /**
136133
+ * Represents the dash style of the line.
136134
+ *
136135
+ * @remarks
136136
+ * [Api set: PowerPointApi 1.9]
136137
+ */
136138
+ dashStyle?: boolean;
136139
+ /**
136140
+ * Specifies the transparency percentage of the line as a value from 0.0 (opaque) through 1.0 (clear).
136141
+ *
136142
+ * @remarks
136143
+ * [Api set: PowerPointApi 1.9]
136144
+ */
136145
+ transparency?: boolean;
136146
+ /**
136147
+ * Represents the weight of the line, in points.
136148
+ *
136149
+ * @remarks
136150
+ * [Api set: PowerPointApi 1.9]
136151
+ */
136152
+ weight?: boolean;
136153
+ }
136154
+ /**
136155
+ * Represents the borders for a table cell.
136156
+ *
136157
+ * @remarks
136158
+ * [Api set: PowerPointApi 1.9]
136159
+ */
136160
+ interface BordersLoadOptions {
136161
+ /**
136162
+ 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`).
136163
+ */
136164
+ $all?: boolean;
136165
+ /**
136166
+ * Gets the bottom border.
136167
+ *
136168
+ * @remarks
136169
+ * [Api set: PowerPointApi 1.9]
136170
+ */
136171
+ bottom?: PowerPoint.Interfaces.BorderLoadOptions;
136172
+ /**
136173
+ * Gets the diagonal border (top-left to bottom-right).
136174
+ *
136175
+ * @remarks
136176
+ * [Api set: PowerPointApi 1.9]
136177
+ */
136178
+ diagonalDown?: PowerPoint.Interfaces.BorderLoadOptions;
136179
+ /**
136180
+ * Gets the diagonal border (bottom-left to top-right).
136181
+ *
136182
+ * @remarks
136183
+ * [Api set: PowerPointApi 1.9]
136184
+ */
136185
+ diagonalUp?: PowerPoint.Interfaces.BorderLoadOptions;
136186
+ /**
136187
+ * Gets the left border.
136188
+ *
136189
+ * @remarks
136190
+ * [Api set: PowerPointApi 1.9]
136191
+ */
136192
+ left?: PowerPoint.Interfaces.BorderLoadOptions;
136193
+ /**
136194
+ * Gets the right border.
136195
+ *
136196
+ * @remarks
136197
+ * [Api set: PowerPointApi 1.9]
136198
+ */
136199
+ right?: PowerPoint.Interfaces.BorderLoadOptions;
136200
+ /**
136201
+ * Gets the top border.
136202
+ *
136203
+ * @remarks
136204
+ * [Api set: PowerPointApi 1.9]
136205
+ */
136206
+ top?: PowerPoint.Interfaces.BorderLoadOptions;
136207
+ }
136208
+ /**
136209
+ * Represents the margins of a table cell.
136210
+ *
136211
+ * @remarks
136212
+ * [Api set: PowerPointApi 1.9]
136213
+ */
136214
+ interface MarginsLoadOptions {
136215
+ /**
136216
+ 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`).
136217
+ */
136218
+ $all?: boolean;
136219
+ /**
136220
+ * Specifies the bottom margin in points.
136221
+ *
136222
+ * @remarks
136223
+ * [Api set: PowerPointApi 1.9]
136224
+ */
136225
+ bottom?: boolean;
136226
+ /**
136227
+ * Specifies the left margin in points.
136228
+ *
136229
+ * @remarks
136230
+ * [Api set: PowerPointApi 1.9]
136231
+ */
136232
+ left?: boolean;
136233
+ /**
136234
+ * Specifies the right margin in points.
136235
+ *
136236
+ * @remarks
136237
+ * [Api set: PowerPointApi 1.9]
136238
+ */
136239
+ right?: boolean;
136240
+ /**
136241
+ * Specifies the top margin in points.
136242
+ *
136243
+ * @remarks
136244
+ * [Api set: PowerPointApi 1.9]
136245
+ */
136246
+ top?: boolean;
136247
+ }
134776
136248
  /**
134777
136249
  * Represents the fill formatting of a shape object.
134778
136250
  *
@@ -134961,6 +136433,34 @@ declare namespace PowerPoint {
134961
136433
  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`).
134962
136434
  */
134963
136435
  $all?: boolean;
136436
+ /**
136437
+ * Gets the collection of borders for the table cell.
136438
+ *
136439
+ * @remarks
136440
+ * [Api set: PowerPointApi 1.9]
136441
+ */
136442
+ borders?: PowerPoint.Interfaces.BordersLoadOptions;
136443
+ /**
136444
+ * Gets the fill color of the table cell.
136445
+ *
136446
+ * @remarks
136447
+ * [Api set: PowerPointApi 1.9]
136448
+ */
136449
+ fill?: PowerPoint.Interfaces.ShapeFillLoadOptions;
136450
+ /**
136451
+ * Gets the font of the table cell.
136452
+ *
136453
+ * @remarks
136454
+ * [Api set: PowerPointApi 1.9]
136455
+ */
136456
+ font?: PowerPoint.Interfaces.ShapeFontLoadOptions;
136457
+ /**
136458
+ * Gets the set of margins in the table cell.
136459
+ *
136460
+ * @remarks
136461
+ * [Api set: PowerPointApi 1.9]
136462
+ */
136463
+ margins?: PowerPoint.Interfaces.MarginsLoadOptions;
134964
136464
  /**
134965
136465
  * Gets the number of table columns this cell spans across.
134966
136466
  Will be greater than or equal to 1.
@@ -134976,6 +136476,20 @@ declare namespace PowerPoint {
134976
136476
  * [Api set: PowerPointApi 1.8]
134977
136477
  */
134978
136478
  columnIndex?: boolean;
136479
+ /**
136480
+ * Specifies the horizontal alignment of the table cell. Returns `null` if the cell text contains different alignments.
136481
+ *
136482
+ * @remarks
136483
+ * [Api set: PowerPointApi 1.9]
136484
+ */
136485
+ horizontalAlignment?: boolean;
136486
+ /**
136487
+ * Specifies the indent level of the table cell. Returns `null` if the cell text contains different indent levels.
136488
+ *
136489
+ * @remarks
136490
+ * [Api set: PowerPointApi 1.9]
136491
+ */
136492
+ indentLevel?: boolean;
134979
136493
  /**
134980
136494
  * Gets the number of table rows this cell spans across.
134981
136495
  Will be greater than or equal to 1.
@@ -134998,6 +136512,21 @@ declare namespace PowerPoint {
134998
136512
  * [Api set: PowerPointApi 1.8]
134999
136513
  */
135000
136514
  text?: boolean;
136515
+ /**
136516
+ * Specifies the contents of the table cell as an array of {@link PowerPoint.TextRun} objects.
136517
+ Each `TextRun` object represents a sequence of one or more characters that share the same font attributes.
136518
+ *
136519
+ * @remarks
136520
+ * [Api set: PowerPointApi 1.9]
136521
+ */
136522
+ textRuns?: boolean;
136523
+ /**
136524
+ * Specifies the vertical alignment of the text in the table cell.
136525
+ *
136526
+ * @remarks
136527
+ * [Api set: PowerPointApi 1.9]
136528
+ */
136529
+ verticalAlignment?: boolean;
135001
136530
  }
135002
136531
  /**
135003
136532
  * Represents a collection of table cells.
@@ -135010,6 +136539,34 @@ declare namespace PowerPoint {
135010
136539
  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`).
135011
136540
  */
135012
136541
  $all?: boolean;
136542
+ /**
136543
+ * For EACH ITEM in the collection: Gets the collection of borders for the table cell.
136544
+ *
136545
+ * @remarks
136546
+ * [Api set: PowerPointApi 1.9]
136547
+ */
136548
+ borders?: PowerPoint.Interfaces.BordersLoadOptions;
136549
+ /**
136550
+ * For EACH ITEM in the collection: Gets the fill color of the table cell.
136551
+ *
136552
+ * @remarks
136553
+ * [Api set: PowerPointApi 1.9]
136554
+ */
136555
+ fill?: PowerPoint.Interfaces.ShapeFillLoadOptions;
136556
+ /**
136557
+ * For EACH ITEM in the collection: Gets the font of the table cell.
136558
+ *
136559
+ * @remarks
136560
+ * [Api set: PowerPointApi 1.9]
136561
+ */
136562
+ font?: PowerPoint.Interfaces.ShapeFontLoadOptions;
136563
+ /**
136564
+ * For EACH ITEM in the collection: Gets the set of margins in the table cell.
136565
+ *
136566
+ * @remarks
136567
+ * [Api set: PowerPointApi 1.9]
136568
+ */
136569
+ margins?: PowerPoint.Interfaces.MarginsLoadOptions;
135013
136570
  /**
135014
136571
  * For EACH ITEM in the collection: Gets the number of table columns this cell spans across.
135015
136572
  Will be greater than or equal to 1.
@@ -135025,6 +136582,20 @@ declare namespace PowerPoint {
135025
136582
  * [Api set: PowerPointApi 1.8]
135026
136583
  */
135027
136584
  columnIndex?: boolean;
136585
+ /**
136586
+ * For EACH ITEM in the collection: Specifies the horizontal alignment of the table cell. Returns `null` if the cell text contains different alignments.
136587
+ *
136588
+ * @remarks
136589
+ * [Api set: PowerPointApi 1.9]
136590
+ */
136591
+ horizontalAlignment?: boolean;
136592
+ /**
136593
+ * For EACH ITEM in the collection: Specifies the indent level of the table cell. Returns `null` if the cell text contains different indent levels.
136594
+ *
136595
+ * @remarks
136596
+ * [Api set: PowerPointApi 1.9]
136597
+ */
136598
+ indentLevel?: boolean;
135028
136599
  /**
135029
136600
  * For EACH ITEM in the collection: Gets the number of table rows this cell spans across.
135030
136601
  Will be greater than or equal to 1.
@@ -135047,6 +136618,139 @@ declare namespace PowerPoint {
135047
136618
  * [Api set: PowerPointApi 1.8]
135048
136619
  */
135049
136620
  text?: boolean;
136621
+ /**
136622
+ * For EACH ITEM in the collection: Specifies the contents of the table cell as an array of {@link PowerPoint.TextRun} objects.
136623
+ Each `TextRun` object represents a sequence of one or more characters that share the same font attributes.
136624
+ *
136625
+ * @remarks
136626
+ * [Api set: PowerPointApi 1.9]
136627
+ */
136628
+ textRuns?: boolean;
136629
+ /**
136630
+ * For EACH ITEM in the collection: Specifies the vertical alignment of the text in the table cell.
136631
+ *
136632
+ * @remarks
136633
+ * [Api set: PowerPointApi 1.9]
136634
+ */
136635
+ verticalAlignment?: boolean;
136636
+ }
136637
+ /**
136638
+ * Represents a column in a table.
136639
+ *
136640
+ * @remarks
136641
+ * [Api set: PowerPointApi 1.9]
136642
+ */
136643
+ interface TableColumnLoadOptions {
136644
+ /**
136645
+ 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`).
136646
+ */
136647
+ $all?: boolean;
136648
+ /**
136649
+ * Returns the index number of the column within the column collection of the table. Zero-indexed.
136650
+ *
136651
+ * @remarks
136652
+ * [Api set: PowerPointApi 1.9]
136653
+ */
136654
+ columnIndex?: boolean;
136655
+ /**
136656
+ * 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.
136657
+ *
136658
+ * @remarks
136659
+ * [Api set: PowerPointApi 1.9]
136660
+ */
136661
+ width?: boolean;
136662
+ }
136663
+ /**
136664
+ * Represents a collection of table columns.
136665
+ *
136666
+ * @remarks
136667
+ * [Api set: PowerPointApi 1.9]
136668
+ */
136669
+ interface TableColumnCollectionLoadOptions {
136670
+ /**
136671
+ 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`).
136672
+ */
136673
+ $all?: boolean;
136674
+ /**
136675
+ * For EACH ITEM in the collection: Returns the index number of the column within the column collection of the table. Zero-indexed.
136676
+ *
136677
+ * @remarks
136678
+ * [Api set: PowerPointApi 1.9]
136679
+ */
136680
+ columnIndex?: boolean;
136681
+ /**
136682
+ * 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.
136683
+ *
136684
+ * @remarks
136685
+ * [Api set: PowerPointApi 1.9]
136686
+ */
136687
+ width?: boolean;
136688
+ }
136689
+ /**
136690
+ * Represents a row in a table.
136691
+ *
136692
+ * @remarks
136693
+ * [Api set: PowerPointApi 1.9]
136694
+ */
136695
+ interface TableRowLoadOptions {
136696
+ /**
136697
+ 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`).
136698
+ */
136699
+ $all?: boolean;
136700
+ /**
136701
+ * Retrieves the current height of the row in points.
136702
+ *
136703
+ * @remarks
136704
+ * [Api set: PowerPointApi 1.9]
136705
+ */
136706
+ currentHeight?: boolean;
136707
+ /**
136708
+ * 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.
136709
+ *
136710
+ * @remarks
136711
+ * [Api set: PowerPointApi 1.9]
136712
+ */
136713
+ height?: boolean;
136714
+ /**
136715
+ * Returns the index number of the row within the rows collection of the table. Zero-indexed.
136716
+ *
136717
+ * @remarks
136718
+ * [Api set: PowerPointApi 1.9]
136719
+ */
136720
+ rowIndex?: boolean;
136721
+ }
136722
+ /**
136723
+ * Represents a collection of table rows.
136724
+ *
136725
+ * @remarks
136726
+ * [Api set: PowerPointApi 1.9]
136727
+ */
136728
+ interface TableRowCollectionLoadOptions {
136729
+ /**
136730
+ 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`).
136731
+ */
136732
+ $all?: boolean;
136733
+ /**
136734
+ * For EACH ITEM in the collection: Retrieves the current height of the row in points.
136735
+ *
136736
+ * @remarks
136737
+ * [Api set: PowerPointApi 1.9]
136738
+ */
136739
+ currentHeight?: boolean;
136740
+ /**
136741
+ * 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.
136742
+ *
136743
+ * @remarks
136744
+ * [Api set: PowerPointApi 1.9]
136745
+ */
136746
+ height?: boolean;
136747
+ /**
136748
+ * For EACH ITEM in the collection: Returns the index number of the row within the rows collection of the table. Zero-indexed.
136749
+ *
136750
+ * @remarks
136751
+ * [Api set: PowerPointApi 1.9]
136752
+ */
136753
+ rowIndex?: boolean;
135050
136754
  }
135051
136755
  /**
135052
136756
  * Represents a table.