@types/office-js-preview 1.0.552 → 1.0.553
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 +371 -82
- office-js-preview/package.json +2 -2
office-js-preview/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for office-js-preview (https://github.com
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Mon, 03 Feb 2025 19:02:53 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js-preview/index.d.ts
CHANGED
|
@@ -129335,6 +129335,155 @@ declare namespace PowerPoint {
|
|
|
129335
129335
|
*/
|
|
129336
129336
|
toJSON(): PowerPoint.Interfaces.CustomXmlPartCollectionData;
|
|
129337
129337
|
}
|
|
129338
|
+
/**
|
|
129339
|
+
* Specifies the type of a placeholder.
|
|
129340
|
+
*
|
|
129341
|
+
* @remarks
|
|
129342
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
129343
|
+
* @beta
|
|
129344
|
+
*/
|
|
129345
|
+
enum PlaceholderType {
|
|
129346
|
+
/**
|
|
129347
|
+
* The placeholder is unsupported.
|
|
129348
|
+
* @remarks
|
|
129349
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
129350
|
+
* @beta
|
|
129351
|
+
*/
|
|
129352
|
+
unsupported = "Unsupported",
|
|
129353
|
+
/**
|
|
129354
|
+
* The placeholder is for a date.
|
|
129355
|
+
* @remarks
|
|
129356
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
129357
|
+
* @beta
|
|
129358
|
+
*/
|
|
129359
|
+
date = "Date",
|
|
129360
|
+
/**
|
|
129361
|
+
* The placeholder is for a slide number.
|
|
129362
|
+
* @remarks
|
|
129363
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
129364
|
+
* @beta
|
|
129365
|
+
*/
|
|
129366
|
+
slideNumber = "SlideNumber",
|
|
129367
|
+
/**
|
|
129368
|
+
* The placeholder is for a footer.
|
|
129369
|
+
* @remarks
|
|
129370
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
129371
|
+
* @beta
|
|
129372
|
+
*/
|
|
129373
|
+
footer = "Footer",
|
|
129374
|
+
/**
|
|
129375
|
+
* The placeholder is for a header.
|
|
129376
|
+
* @remarks
|
|
129377
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
129378
|
+
* @beta
|
|
129379
|
+
*/
|
|
129380
|
+
header = "Header",
|
|
129381
|
+
/**
|
|
129382
|
+
* The placeholder is for a title.
|
|
129383
|
+
* @remarks
|
|
129384
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
129385
|
+
* @beta
|
|
129386
|
+
*/
|
|
129387
|
+
title = "Title",
|
|
129388
|
+
/**
|
|
129389
|
+
* The placeholder is for a body.
|
|
129390
|
+
* @remarks
|
|
129391
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
129392
|
+
* @beta
|
|
129393
|
+
*/
|
|
129394
|
+
body = "Body",
|
|
129395
|
+
/**
|
|
129396
|
+
* The placeholder is for a center title.
|
|
129397
|
+
* @remarks
|
|
129398
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
129399
|
+
* @beta
|
|
129400
|
+
*/
|
|
129401
|
+
centerTitle = "CenterTitle",
|
|
129402
|
+
/**
|
|
129403
|
+
* The placeholder is for a subtitle.
|
|
129404
|
+
* @remarks
|
|
129405
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
129406
|
+
* @beta
|
|
129407
|
+
*/
|
|
129408
|
+
subtitle = "Subtitle",
|
|
129409
|
+
/**
|
|
129410
|
+
* The placeholder is for a vertical title.
|
|
129411
|
+
* @remarks
|
|
129412
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
129413
|
+
* @beta
|
|
129414
|
+
*/
|
|
129415
|
+
verticalTitle = "VerticalTitle",
|
|
129416
|
+
/**
|
|
129417
|
+
* The placeholder is for a vertical body.
|
|
129418
|
+
* @remarks
|
|
129419
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
129420
|
+
* @beta
|
|
129421
|
+
*/
|
|
129422
|
+
verticalBody = "VerticalBody",
|
|
129423
|
+
/**
|
|
129424
|
+
* The placeholder is for generic content.
|
|
129425
|
+
* @remarks
|
|
129426
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
129427
|
+
* @beta
|
|
129428
|
+
*/
|
|
129429
|
+
content = "Content",
|
|
129430
|
+
/**
|
|
129431
|
+
* The placeholder is for a chart.
|
|
129432
|
+
* @remarks
|
|
129433
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
129434
|
+
* @beta
|
|
129435
|
+
*/
|
|
129436
|
+
chart = "Chart",
|
|
129437
|
+
/**
|
|
129438
|
+
* The placeholder is for a table.
|
|
129439
|
+
* @remarks
|
|
129440
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
129441
|
+
* @beta
|
|
129442
|
+
*/
|
|
129443
|
+
table = "Table",
|
|
129444
|
+
/**
|
|
129445
|
+
* The placeholder is for an online picture.
|
|
129446
|
+
* @remarks
|
|
129447
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
129448
|
+
* @beta
|
|
129449
|
+
*/
|
|
129450
|
+
onlinePicture = "OnlinePicture",
|
|
129451
|
+
/**
|
|
129452
|
+
* The placeholder is for a SmartArt.
|
|
129453
|
+
* @remarks
|
|
129454
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
129455
|
+
* @beta
|
|
129456
|
+
*/
|
|
129457
|
+
smartArt = "SmartArt",
|
|
129458
|
+
/**
|
|
129459
|
+
* The placeholder is for media.
|
|
129460
|
+
* @remarks
|
|
129461
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
129462
|
+
* @beta
|
|
129463
|
+
*/
|
|
129464
|
+
media = "Media",
|
|
129465
|
+
/**
|
|
129466
|
+
* The placeholder is for generic vertical content.
|
|
129467
|
+
* @remarks
|
|
129468
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
129469
|
+
* @beta
|
|
129470
|
+
*/
|
|
129471
|
+
verticalContent = "VerticalContent",
|
|
129472
|
+
/**
|
|
129473
|
+
* The placeholder is for a picture.
|
|
129474
|
+
* @remarks
|
|
129475
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
129476
|
+
* @beta
|
|
129477
|
+
*/
|
|
129478
|
+
picture = "Picture",
|
|
129479
|
+
/**
|
|
129480
|
+
* The placeholder is for a cameo.
|
|
129481
|
+
* @remarks
|
|
129482
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
129483
|
+
* @beta
|
|
129484
|
+
*/
|
|
129485
|
+
cameo = "Cameo",
|
|
129486
|
+
}
|
|
129338
129487
|
/**
|
|
129339
129488
|
* Specifies the type of a shape.
|
|
129340
129489
|
*
|
|
@@ -129457,6 +129606,60 @@ declare namespace PowerPoint {
|
|
|
129457
129606
|
*/
|
|
129458
129607
|
textBox = "TextBox",
|
|
129459
129608
|
}
|
|
129609
|
+
/**
|
|
129610
|
+
* Represents the properties of a `placeholder` shape.
|
|
129611
|
+
*
|
|
129612
|
+
* @remarks
|
|
129613
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
129614
|
+
* @beta
|
|
129615
|
+
*/
|
|
129616
|
+
class PlaceholderFormat extends OfficeExtension.ClientObject {
|
|
129617
|
+
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
129618
|
+
context: RequestContext;
|
|
129619
|
+
/**
|
|
129620
|
+
* Gets the type of the shape contained within the placeholder. See {@link PowerPoint.ShapeType} for details.
|
|
129621
|
+
Returns `null` if the placeholder is empty.
|
|
129622
|
+
*
|
|
129623
|
+
* @remarks
|
|
129624
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
129625
|
+
* @beta
|
|
129626
|
+
*/
|
|
129627
|
+
readonly containedType: ShapeType | null;
|
|
129628
|
+
/**
|
|
129629
|
+
* Returns the type of this placeholder. See {@link PowerPoint.PlaceholderType} for details.
|
|
129630
|
+
*
|
|
129631
|
+
* @remarks
|
|
129632
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
129633
|
+
* @beta
|
|
129634
|
+
*/
|
|
129635
|
+
readonly type: PowerPoint.PlaceholderType | "Unsupported" | "Date" | "SlideNumber" | "Footer" | "Header" | "Title" | "Body" | "CenterTitle" | "Subtitle" | "VerticalTitle" | "VerticalBody" | "Content" | "Chart" | "Table" | "OnlinePicture" | "SmartArt" | "Media" | "VerticalContent" | "Picture" | "Cameo";
|
|
129636
|
+
/**
|
|
129637
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
129638
|
+
*
|
|
129639
|
+
* @param options Provides options for which properties of the object to load.
|
|
129640
|
+
*/
|
|
129641
|
+
load(options?: PowerPoint.Interfaces.PlaceholderFormatLoadOptions): PowerPoint.PlaceholderFormat;
|
|
129642
|
+
/**
|
|
129643
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
129644
|
+
*
|
|
129645
|
+
* @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
|
|
129646
|
+
*/
|
|
129647
|
+
load(propertyNames?: string | string[]): PowerPoint.PlaceholderFormat;
|
|
129648
|
+
/**
|
|
129649
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
129650
|
+
*
|
|
129651
|
+
* @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.
|
|
129652
|
+
*/
|
|
129653
|
+
load(propertyNamesAndPaths?: {
|
|
129654
|
+
select?: string;
|
|
129655
|
+
expand?: string;
|
|
129656
|
+
}): PowerPoint.PlaceholderFormat;
|
|
129657
|
+
/**
|
|
129658
|
+
* 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.)
|
|
129659
|
+
* Whereas the original `PowerPoint.PlaceholderFormat` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.PlaceholderFormatData`) that contains shallow copies of any loaded child properties from the original object.
|
|
129660
|
+
*/
|
|
129661
|
+
toJSON(): PowerPoint.Interfaces.PlaceholderFormatData;
|
|
129662
|
+
}
|
|
129460
129663
|
/**
|
|
129461
129664
|
* Represents a single hyperlink.
|
|
129462
129665
|
*
|
|
@@ -132771,6 +132974,15 @@ declare namespace PowerPoint {
|
|
|
132771
132974
|
* @beta
|
|
132772
132975
|
*/
|
|
132773
132976
|
readonly parentGroup: PowerPoint.Shape;
|
|
132977
|
+
/**
|
|
132978
|
+
* Returns the properties that apply specifically to this placeholder.
|
|
132979
|
+
If the shape type isn't `placeholder`, then this method returns the `GeneralException` error.
|
|
132980
|
+
*
|
|
132981
|
+
* @remarks
|
|
132982
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
132983
|
+
* @beta
|
|
132984
|
+
*/
|
|
132985
|
+
readonly placeholderFormat: PowerPoint.PlaceholderFormat;
|
|
132774
132986
|
/**
|
|
132775
132987
|
* Returns a collection of tags in the shape.
|
|
132776
132988
|
*
|
|
@@ -133956,6 +134168,26 @@ declare namespace PowerPoint {
|
|
|
133956
134168
|
interface CustomXmlPartCollectionData {
|
|
133957
134169
|
items?: PowerPoint.Interfaces.CustomXmlPartData[];
|
|
133958
134170
|
}
|
|
134171
|
+
/** An interface describing the data returned by calling `placeholderFormat.toJSON()`. */
|
|
134172
|
+
interface PlaceholderFormatData {
|
|
134173
|
+
/**
|
|
134174
|
+
* Gets the type of the shape contained within the placeholder. See {@link PowerPoint.ShapeType} for details.
|
|
134175
|
+
Returns `null` if the placeholder is empty.
|
|
134176
|
+
*
|
|
134177
|
+
* @remarks
|
|
134178
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
134179
|
+
* @beta
|
|
134180
|
+
*/
|
|
134181
|
+
containedType?: ShapeType | null;
|
|
134182
|
+
/**
|
|
134183
|
+
* Returns the type of this placeholder. See {@link PowerPoint.PlaceholderType} for details.
|
|
134184
|
+
*
|
|
134185
|
+
* @remarks
|
|
134186
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
134187
|
+
* @beta
|
|
134188
|
+
*/
|
|
134189
|
+
type?: PowerPoint.PlaceholderType | "Unsupported" | "Date" | "SlideNumber" | "Footer" | "Header" | "Title" | "Body" | "CenterTitle" | "Subtitle" | "VerticalTitle" | "VerticalBody" | "Content" | "Chart" | "Table" | "OnlinePicture" | "SmartArt" | "Media" | "VerticalContent" | "Picture" | "Cameo";
|
|
134190
|
+
}
|
|
133959
134191
|
/** An interface describing the data returned by calling `hyperlink.toJSON()`. */
|
|
133960
134192
|
interface HyperlinkData {
|
|
133961
134193
|
/**
|
|
@@ -134592,6 +134824,36 @@ declare namespace PowerPoint {
|
|
|
134592
134824
|
*/
|
|
134593
134825
|
namespaceUri?: boolean;
|
|
134594
134826
|
}
|
|
134827
|
+
/**
|
|
134828
|
+
* Represents the properties of a `placeholder` shape.
|
|
134829
|
+
*
|
|
134830
|
+
* @remarks
|
|
134831
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
134832
|
+
* @beta
|
|
134833
|
+
*/
|
|
134834
|
+
interface PlaceholderFormatLoadOptions {
|
|
134835
|
+
/**
|
|
134836
|
+
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`).
|
|
134837
|
+
*/
|
|
134838
|
+
$all?: boolean;
|
|
134839
|
+
/**
|
|
134840
|
+
* Gets the type of the shape contained within the placeholder. See {@link PowerPoint.ShapeType} for details.
|
|
134841
|
+
Returns `null` if the placeholder is empty.
|
|
134842
|
+
*
|
|
134843
|
+
* @remarks
|
|
134844
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
134845
|
+
* @beta
|
|
134846
|
+
*/
|
|
134847
|
+
containedType?: boolean;
|
|
134848
|
+
/**
|
|
134849
|
+
* Returns the type of this placeholder. See {@link PowerPoint.PlaceholderType} for details.
|
|
134850
|
+
*
|
|
134851
|
+
* @remarks
|
|
134852
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
134853
|
+
* @beta
|
|
134854
|
+
*/
|
|
134855
|
+
type?: boolean;
|
|
134856
|
+
}
|
|
134595
134857
|
/**
|
|
134596
134858
|
* Represents a single hyperlink.
|
|
134597
134859
|
*
|
|
@@ -134743,43 +135005,52 @@ declare namespace PowerPoint {
|
|
|
134743
135005
|
*/
|
|
134744
135006
|
$all?: boolean;
|
|
134745
135007
|
/**
|
|
134746
|
-
|
|
134747
|
-
|
|
134748
|
-
|
|
134749
|
-
|
|
134750
|
-
|
|
135008
|
+
* For EACH ITEM in the collection: Returns the fill formatting of this shape.
|
|
135009
|
+
*
|
|
135010
|
+
* @remarks
|
|
135011
|
+
* [Api set: PowerPointApi 1.4]
|
|
135012
|
+
*/
|
|
134751
135013
|
fill?: PowerPoint.Interfaces.ShapeFillLoadOptions;
|
|
134752
135014
|
/**
|
|
134753
|
-
|
|
135015
|
+
* For EACH ITEM in the collection: Returns the `ShapeGroup` associated with the shape.
|
|
134754
135016
|
If the shape type isn't `group`, then this method returns the `GeneralException` error.
|
|
134755
|
-
|
|
134756
|
-
|
|
134757
|
-
|
|
134758
|
-
|
|
134759
|
-
|
|
135017
|
+
*
|
|
135018
|
+
* @remarks
|
|
135019
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
135020
|
+
* @beta
|
|
135021
|
+
*/
|
|
134760
135022
|
group?: PowerPoint.Interfaces.ShapeGroupLoadOptions;
|
|
134761
135023
|
/**
|
|
134762
|
-
|
|
134763
|
-
|
|
134764
|
-
|
|
134765
|
-
|
|
134766
|
-
|
|
135024
|
+
* For EACH ITEM in the collection: Returns the line formatting of this shape.
|
|
135025
|
+
*
|
|
135026
|
+
* @remarks
|
|
135027
|
+
* [Api set: PowerPointApi 1.4]
|
|
135028
|
+
*/
|
|
134767
135029
|
lineFormat?: PowerPoint.Interfaces.ShapeLineFormatLoadOptions;
|
|
134768
135030
|
/**
|
|
134769
|
-
|
|
135031
|
+
* For EACH ITEM in the collection: Returns the parent group of this shape.
|
|
134770
135032
|
If the shape isn't part of a group, then this method returns the `GeneralException` error.
|
|
134771
|
-
|
|
134772
|
-
|
|
134773
|
-
|
|
134774
|
-
|
|
134775
|
-
|
|
135033
|
+
*
|
|
135034
|
+
* @remarks
|
|
135035
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
135036
|
+
* @beta
|
|
135037
|
+
*/
|
|
134776
135038
|
parentGroup?: PowerPoint.Interfaces.ShapeLoadOptions;
|
|
134777
135039
|
/**
|
|
134778
|
-
|
|
134779
|
-
|
|
134780
|
-
|
|
134781
|
-
|
|
134782
|
-
|
|
135040
|
+
* For EACH ITEM in the collection: Returns the properties that apply specifically to this placeholder.
|
|
135041
|
+
If the shape type isn't `placeholder`, then this method returns the `GeneralException` error.
|
|
135042
|
+
*
|
|
135043
|
+
* @remarks
|
|
135044
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
135045
|
+
* @beta
|
|
135046
|
+
*/
|
|
135047
|
+
placeholderFormat?: PowerPoint.Interfaces.PlaceholderFormatLoadOptions;
|
|
135048
|
+
/**
|
|
135049
|
+
* For EACH ITEM in the collection: Returns the text frame object of this shape.
|
|
135050
|
+
*
|
|
135051
|
+
* @remarks
|
|
135052
|
+
* [Api set: PowerPointApi 1.4]
|
|
135053
|
+
*/
|
|
134783
135054
|
textFrame?: PowerPoint.Interfaces.TextFrameLoadOptions;
|
|
134784
135055
|
/**
|
|
134785
135056
|
* For EACH ITEM in the collection: Specifies the height, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative value.
|
|
@@ -135044,43 +135315,52 @@ declare namespace PowerPoint {
|
|
|
135044
135315
|
*/
|
|
135045
135316
|
$all?: boolean;
|
|
135046
135317
|
/**
|
|
135047
|
-
|
|
135048
|
-
|
|
135049
|
-
|
|
135050
|
-
|
|
135051
|
-
|
|
135318
|
+
* For EACH ITEM in the collection: Returns the fill formatting of this shape.
|
|
135319
|
+
*
|
|
135320
|
+
* @remarks
|
|
135321
|
+
* [Api set: PowerPointApi 1.5]
|
|
135322
|
+
*/
|
|
135052
135323
|
fill?: PowerPoint.Interfaces.ShapeFillLoadOptions;
|
|
135053
135324
|
/**
|
|
135054
|
-
|
|
135055
|
-
|
|
135056
|
-
|
|
135057
|
-
|
|
135058
|
-
|
|
135059
|
-
|
|
135060
|
-
|
|
135325
|
+
* For EACH ITEM in the collection: Returns the `ShapeGroup` associated with the shape.
|
|
135326
|
+
If the shape type isn't `group`, then this method returns the `GeneralException` error.
|
|
135327
|
+
*
|
|
135328
|
+
* @remarks
|
|
135329
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
135330
|
+
* @beta
|
|
135331
|
+
*/
|
|
135061
135332
|
group?: PowerPoint.Interfaces.ShapeGroupLoadOptions;
|
|
135062
135333
|
/**
|
|
135063
|
-
|
|
135064
|
-
|
|
135065
|
-
|
|
135066
|
-
|
|
135067
|
-
|
|
135334
|
+
* For EACH ITEM in the collection: Returns the line formatting of this shape.
|
|
135335
|
+
*
|
|
135336
|
+
* @remarks
|
|
135337
|
+
* [Api set: PowerPointApi 1.5]
|
|
135338
|
+
*/
|
|
135068
135339
|
lineFormat?: PowerPoint.Interfaces.ShapeLineFormatLoadOptions;
|
|
135069
135340
|
/**
|
|
135070
|
-
|
|
135341
|
+
* For EACH ITEM in the collection: Returns the parent group of this shape.
|
|
135071
135342
|
If the shape isn't part of a group, then this method returns the `GeneralException` error.
|
|
135072
|
-
|
|
135073
|
-
|
|
135074
|
-
|
|
135075
|
-
|
|
135076
|
-
|
|
135343
|
+
*
|
|
135344
|
+
* @remarks
|
|
135345
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
135346
|
+
* @beta
|
|
135347
|
+
*/
|
|
135077
135348
|
parentGroup?: PowerPoint.Interfaces.ShapeLoadOptions;
|
|
135078
135349
|
/**
|
|
135079
|
-
|
|
135080
|
-
|
|
135081
|
-
|
|
135082
|
-
|
|
135083
|
-
|
|
135350
|
+
* For EACH ITEM in the collection: Returns the properties that apply specifically to this placeholder.
|
|
135351
|
+
If the shape type isn't `placeholder`, then this method returns the `GeneralException` error.
|
|
135352
|
+
*
|
|
135353
|
+
* @remarks
|
|
135354
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
135355
|
+
* @beta
|
|
135356
|
+
*/
|
|
135357
|
+
placeholderFormat?: PowerPoint.Interfaces.PlaceholderFormatLoadOptions;
|
|
135358
|
+
/**
|
|
135359
|
+
* For EACH ITEM in the collection: Returns the text frame object of this shape.
|
|
135360
|
+
*
|
|
135361
|
+
* @remarks
|
|
135362
|
+
* [Api set: PowerPointApi 1.5]
|
|
135363
|
+
*/
|
|
135084
135364
|
textFrame?: PowerPoint.Interfaces.TextFrameLoadOptions;
|
|
135085
135365
|
/**
|
|
135086
135366
|
* For EACH ITEM in the collection: Specifies the height, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative value.
|
|
@@ -135410,43 +135690,52 @@ declare namespace PowerPoint {
|
|
|
135410
135690
|
*/
|
|
135411
135691
|
$all?: boolean;
|
|
135412
135692
|
/**
|
|
135413
|
-
|
|
135414
|
-
|
|
135415
|
-
|
|
135416
|
-
|
|
135417
|
-
|
|
135693
|
+
* Returns the fill formatting of this shape.
|
|
135694
|
+
*
|
|
135695
|
+
* @remarks
|
|
135696
|
+
* [Api set: PowerPointApi 1.4]
|
|
135697
|
+
*/
|
|
135418
135698
|
fill?: PowerPoint.Interfaces.ShapeFillLoadOptions;
|
|
135419
135699
|
/**
|
|
135420
|
-
|
|
135700
|
+
* Returns the `ShapeGroup` associated with the shape.
|
|
135421
135701
|
If the shape type isn't `group`, then this method returns the `GeneralException` error.
|
|
135422
|
-
|
|
135423
|
-
|
|
135424
|
-
|
|
135425
|
-
|
|
135426
|
-
|
|
135702
|
+
*
|
|
135703
|
+
* @remarks
|
|
135704
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
135705
|
+
* @beta
|
|
135706
|
+
*/
|
|
135427
135707
|
group?: PowerPoint.Interfaces.ShapeGroupLoadOptions;
|
|
135428
135708
|
/**
|
|
135429
|
-
|
|
135430
|
-
|
|
135431
|
-
|
|
135432
|
-
|
|
135433
|
-
|
|
135709
|
+
* Returns the line formatting of this shape.
|
|
135710
|
+
*
|
|
135711
|
+
* @remarks
|
|
135712
|
+
* [Api set: PowerPointApi 1.4]
|
|
135713
|
+
*/
|
|
135434
135714
|
lineFormat?: PowerPoint.Interfaces.ShapeLineFormatLoadOptions;
|
|
135435
135715
|
/**
|
|
135436
|
-
|
|
135716
|
+
* Returns the parent group of this shape.
|
|
135437
135717
|
If the shape isn't part of a group, then this method returns the `GeneralException` error.
|
|
135438
|
-
|
|
135439
|
-
|
|
135440
|
-
|
|
135441
|
-
|
|
135442
|
-
|
|
135718
|
+
*
|
|
135719
|
+
* @remarks
|
|
135720
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
135721
|
+
* @beta
|
|
135722
|
+
*/
|
|
135443
135723
|
parentGroup?: PowerPoint.Interfaces.ShapeLoadOptions;
|
|
135444
135724
|
/**
|
|
135445
|
-
|
|
135446
|
-
|
|
135447
|
-
|
|
135448
|
-
|
|
135449
|
-
|
|
135725
|
+
* Returns the properties that apply specifically to this placeholder.
|
|
135726
|
+
If the shape type isn't `placeholder`, then this method returns the `GeneralException` error.
|
|
135727
|
+
*
|
|
135728
|
+
* @remarks
|
|
135729
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
135730
|
+
* @beta
|
|
135731
|
+
*/
|
|
135732
|
+
placeholderFormat?: PowerPoint.Interfaces.PlaceholderFormatLoadOptions;
|
|
135733
|
+
/**
|
|
135734
|
+
* Returns the text frame object of this shape.
|
|
135735
|
+
*
|
|
135736
|
+
* @remarks
|
|
135737
|
+
* [Api set: PowerPointApi 1.4]
|
|
135738
|
+
*/
|
|
135450
135739
|
textFrame?: PowerPoint.Interfaces.TextFrameLoadOptions;
|
|
135451
135740
|
/**
|
|
135452
135741
|
* Specifies the height, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative value.
|
office-js-preview/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js-preview",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.553",
|
|
4
4
|
"description": "TypeScript definitions for office-js-preview",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
|
|
6
6
|
"license": "MIT",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
48
|
"peerDependencies": {},
|
|
49
|
-
"typesPublisherContentHash": "
|
|
49
|
+
"typesPublisherContentHash": "c38c6f15ff95ad31f5fe083a9497e688f7295fd34e28ccc4c991f18b223b060b",
|
|
50
50
|
"typeScriptVersion": "5.0",
|
|
51
51
|
"nonNpm": true
|
|
52
52
|
}
|