@types/office-js 1.0.473 → 1.0.474
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- office-js/README.md +1 -1
- office-js/index.d.ts +148 -100
- office-js/package.json +2 -2
office-js/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for office-js (https://github.com/OfficeD
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated: Mon, 03 Mar 2025
|
|
11
|
+
* Last updated: Mon, 03 Mar 2025 21:02:17 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js/index.d.ts
CHANGED
|
@@ -96415,7 +96415,7 @@ declare namespace Word {
|
|
|
96415
96415
|
toJSON(): Word.Interfaces.TrackedChangeCollectionData;
|
|
96416
96416
|
}
|
|
96417
96417
|
/**
|
|
96418
|
-
* Represents a shape in the header, footer or document body. Currently, only the following shapes are supported: text boxes, geometric shapes, groups, pictures and canvases.
|
|
96418
|
+
* Represents a shape in the header, footer, or document body. Currently, only the following shapes are supported: text boxes, geometric shapes, groups, pictures, and canvases.
|
|
96419
96419
|
*
|
|
96420
96420
|
* @remarks
|
|
96421
96421
|
* [Api set: WordApiDesktop 1.2]
|
|
@@ -96571,7 +96571,7 @@ declare namespace Word {
|
|
|
96571
96571
|
*/
|
|
96572
96572
|
relativeHorizontalSize: Word.RelativeSize | "Margin" | "Page" | "TopMargin" | "BottomMargin" | "InsideMargin" | "OutsideMargin";
|
|
96573
96573
|
/**
|
|
96574
|
-
* The relative vertical position of the shape. For an inline shape, it can't be set. For details,
|
|
96574
|
+
* The relative vertical position of the shape. For an inline shape, it can't be set. For details, see {@link Word.RelativeVerticalPosition}.
|
|
96575
96575
|
*
|
|
96576
96576
|
* @remarks
|
|
96577
96577
|
* [Api set: WordApiDesktop 1.2]
|
|
@@ -96592,7 +96592,7 @@ declare namespace Word {
|
|
|
96592
96592
|
*/
|
|
96593
96593
|
rotation: number;
|
|
96594
96594
|
/**
|
|
96595
|
-
* The distance, in points, from the top edge of the shape to the vertical relative position,
|
|
96595
|
+
* The distance, in points, from the top edge of the shape to the vertical relative position, see {@link Word.RelativeVerticalPosition}. For an inline shape, it will return 0 and can't be set. For a child shape in a canvas or group, it's relative to the top left corner.
|
|
96596
96596
|
*
|
|
96597
96597
|
* @remarks
|
|
96598
96598
|
* [Api set: WordApiDesktop 1.2]
|
|
@@ -96829,9 +96829,9 @@ declare namespace Word {
|
|
|
96829
96829
|
*/
|
|
96830
96830
|
untrack(): Word.ShapeGroup;
|
|
96831
96831
|
/**
|
|
96832
|
-
|
|
96833
|
-
|
|
96834
|
-
|
|
96832
|
+
* 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.)
|
|
96833
|
+
* Whereas the original `Word.ShapeGroup` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `Word.Interfaces.ShapeGroupData`) that contains shallow copies of any loaded child properties from the original object.
|
|
96834
|
+
*/
|
|
96835
96835
|
toJSON(): Word.Interfaces.ShapeGroupData;
|
|
96836
96836
|
}
|
|
96837
96837
|
/**
|
|
@@ -96908,7 +96908,7 @@ declare namespace Word {
|
|
|
96908
96908
|
toJSON(): Word.Interfaces.CanvasData;
|
|
96909
96909
|
}
|
|
96910
96910
|
/**
|
|
96911
|
-
* Contains a collection of {@link Word.Shape} objects. Currently, only the following shapes are supported: text boxes, geometric shapes, groups, pictures and canvases.
|
|
96911
|
+
* Contains a collection of {@link Word.Shape} objects. Currently, only the following shapes are supported: text boxes, geometric shapes, groups, pictures, and canvases.
|
|
96912
96912
|
*
|
|
96913
96913
|
* @remarks
|
|
96914
96914
|
* [Api set: WordApiDesktop 1.2]
|
|
@@ -104336,7 +104336,7 @@ declare namespace Word {
|
|
|
104336
104336
|
*/
|
|
104337
104337
|
relativeHorizontalSize?: Word.RelativeSize | "Margin" | "Page" | "TopMargin" | "BottomMargin" | "InsideMargin" | "OutsideMargin";
|
|
104338
104338
|
/**
|
|
104339
|
-
* The relative vertical position of the shape. For an inline shape, it can't be set. For details,
|
|
104339
|
+
* The relative vertical position of the shape. For an inline shape, it can't be set. For details, see {@link Word.RelativeVerticalPosition}.
|
|
104340
104340
|
*
|
|
104341
104341
|
* @remarks
|
|
104342
104342
|
* [Api set: WordApiDesktop 1.2]
|
|
@@ -104357,7 +104357,7 @@ declare namespace Word {
|
|
|
104357
104357
|
*/
|
|
104358
104358
|
rotation?: number;
|
|
104359
104359
|
/**
|
|
104360
|
-
* The distance, in points, from the top edge of the shape to the vertical relative position,
|
|
104360
|
+
* The distance, in points, from the top edge of the shape to the vertical relative position, see {@link Word.RelativeVerticalPosition}. For an inline shape, it will return 0 and can't be set. For a child shape in a canvas or group, it's relative to the top left corner.
|
|
104361
104361
|
*
|
|
104362
104362
|
* @remarks
|
|
104363
104363
|
* [Api set: WordApiDesktop 1.2]
|
|
@@ -104395,11 +104395,11 @@ declare namespace Word {
|
|
|
104395
104395
|
/** An interface for updating data on the `ShapeGroup` object, for use in `shapeGroup.set({ ... })`. */
|
|
104396
104396
|
interface ShapeGroupUpdateData {
|
|
104397
104397
|
/**
|
|
104398
|
-
|
|
104399
|
-
|
|
104400
|
-
|
|
104401
|
-
|
|
104402
|
-
|
|
104398
|
+
* Gets the Shape object associated with the group.
|
|
104399
|
+
*
|
|
104400
|
+
* @remarks
|
|
104401
|
+
* [Api set: WordApiDesktop 1.2]
|
|
104402
|
+
*/
|
|
104403
104403
|
shape?: Word.Interfaces.ShapeUpdateData;
|
|
104404
104404
|
}
|
|
104405
104405
|
/** An interface for updating data on the `Canvas` object, for use in `canvas.set({ ... })`. */
|
|
@@ -105888,7 +105888,7 @@ declare namespace Word {
|
|
|
105888
105888
|
*/
|
|
105889
105889
|
listItemOrNullObject?: Word.Interfaces.ListItemData;
|
|
105890
105890
|
/**
|
|
105891
|
-
* Gets the collection of shape objects anchored in the paragraph, including both inline and floating shapes. Currently, only the following shapes are supported: text boxes, geometric shapes, groups, pictures and canvases.
|
|
105891
|
+
* Gets the collection of shape objects anchored in the paragraph, including both inline and floating shapes. Currently, only the following shapes are supported: text boxes, geometric shapes, groups, pictures, and canvases.
|
|
105892
105892
|
*
|
|
105893
105893
|
* @remarks
|
|
105894
105894
|
* [Api set: WordApiDesktop 1.2]
|
|
@@ -107006,7 +107006,7 @@ declare namespace Word {
|
|
|
107006
107006
|
*/
|
|
107007
107007
|
relativeHorizontalSize?: Word.RelativeSize | "Margin" | "Page" | "TopMargin" | "BottomMargin" | "InsideMargin" | "OutsideMargin";
|
|
107008
107008
|
/**
|
|
107009
|
-
* The relative vertical position of the shape. For an inline shape, it can't be set. For details,
|
|
107009
|
+
* The relative vertical position of the shape. For an inline shape, it can't be set. For details, see {@link Word.RelativeVerticalPosition}.
|
|
107010
107010
|
*
|
|
107011
107011
|
* @remarks
|
|
107012
107012
|
* [Api set: WordApiDesktop 1.2]
|
|
@@ -107027,7 +107027,7 @@ declare namespace Word {
|
|
|
107027
107027
|
*/
|
|
107028
107028
|
rotation?: number;
|
|
107029
107029
|
/**
|
|
107030
|
-
* The distance, in points, from the top edge of the shape to the vertical relative position,
|
|
107030
|
+
* The distance, in points, from the top edge of the shape to the vertical relative position, see {@link Word.RelativeVerticalPosition}. For an inline shape, it will return 0 and can't be set. For a child shape in a canvas or group, it's relative to the top left corner.
|
|
107031
107031
|
*
|
|
107032
107032
|
* @remarks
|
|
107033
107033
|
* [Api set: WordApiDesktop 1.2]
|
|
@@ -107072,18 +107072,18 @@ declare namespace Word {
|
|
|
107072
107072
|
/** An interface describing the data returned by calling `shapeGroup.toJSON()`. */
|
|
107073
107073
|
interface ShapeGroupData {
|
|
107074
107074
|
/**
|
|
107075
|
-
|
|
107076
|
-
|
|
107077
|
-
|
|
107078
|
-
|
|
107079
|
-
|
|
107075
|
+
* Gets the Shape object associated with the group.
|
|
107076
|
+
*
|
|
107077
|
+
* @remarks
|
|
107078
|
+
* [Api set: WordApiDesktop 1.2]
|
|
107079
|
+
*/
|
|
107080
107080
|
shape?: Word.Interfaces.ShapeData;
|
|
107081
107081
|
/**
|
|
107082
|
-
|
|
107083
|
-
|
|
107084
|
-
|
|
107085
|
-
|
|
107086
|
-
|
|
107082
|
+
* Gets the collection of Shape objects. Currently, only text boxes, geometric shapes, and pictures are supported.
|
|
107083
|
+
*
|
|
107084
|
+
* @remarks
|
|
107085
|
+
* [Api set: WordApiDesktop 1.2]
|
|
107086
|
+
*/
|
|
107087
107087
|
shapes?: Word.Interfaces.ShapeData[];
|
|
107088
107088
|
/**
|
|
107089
107089
|
* Gets an integer that represents the shape group identifier.
|
|
@@ -107096,18 +107096,18 @@ declare namespace Word {
|
|
|
107096
107096
|
/** An interface describing the data returned by calling `canvas.toJSON()`. */
|
|
107097
107097
|
interface CanvasData {
|
|
107098
107098
|
/**
|
|
107099
|
-
|
|
107100
|
-
|
|
107101
|
-
|
|
107102
|
-
|
|
107103
|
-
|
|
107099
|
+
* Gets the Shape object associated with the canvas.
|
|
107100
|
+
*
|
|
107101
|
+
* @remarks
|
|
107102
|
+
* [Api set: WordApiDesktop 1.2]
|
|
107103
|
+
*/
|
|
107104
107104
|
shape?: Word.Interfaces.ShapeData;
|
|
107105
107105
|
/**
|
|
107106
|
-
|
|
107107
|
-
|
|
107108
|
-
|
|
107109
|
-
|
|
107110
|
-
|
|
107106
|
+
* Gets the collection of Shape objects. Currently, only text boxes, pictures, and geometric shapes are supported.
|
|
107107
|
+
*
|
|
107108
|
+
* @remarks
|
|
107109
|
+
* [Api set: WordApiDesktop 1.2]
|
|
107110
|
+
*/
|
|
107111
107111
|
shapes?: Word.Interfaces.ShapeData[];
|
|
107112
107112
|
/**
|
|
107113
107113
|
* Gets an integer that represents the canvas identifier.
|
|
@@ -111692,7 +111692,7 @@ declare namespace Word {
|
|
|
111692
111692
|
type?: boolean;
|
|
111693
111693
|
}
|
|
111694
111694
|
/**
|
|
111695
|
-
* Represents a shape in the header, footer or document body. Currently, only the following shapes are supported: text boxes, geometric shapes, groups, pictures and canvases.
|
|
111695
|
+
* Represents a shape in the header, footer, or document body. Currently, only the following shapes are supported: text boxes, geometric shapes, groups, pictures, and canvases.
|
|
111696
111696
|
*
|
|
111697
111697
|
* @remarks
|
|
111698
111698
|
* [Api set: WordApiDesktop 1.2]
|
|
@@ -111759,11 +111759,11 @@ declare namespace Word {
|
|
|
111759
111759
|
*/
|
|
111760
111760
|
textWrap?: Word.Interfaces.ShapeTextWrapLoadOptions;
|
|
111761
111761
|
/**
|
|
111762
|
-
|
|
111763
|
-
|
|
111764
|
-
|
|
111765
|
-
|
|
111766
|
-
|
|
111762
|
+
* Specifies whether a given shape can overlap other shapes.
|
|
111763
|
+
*
|
|
111764
|
+
* @remarks
|
|
111765
|
+
* [Api set: WordApiDesktop 1.2]
|
|
111766
|
+
*/
|
|
111767
111767
|
allowOverlap?: boolean;
|
|
111768
111768
|
/**
|
|
111769
111769
|
* Specifies a string that represents the alternative text associated with the shape.
|
|
@@ -111850,7 +111850,7 @@ declare namespace Word {
|
|
|
111850
111850
|
*/
|
|
111851
111851
|
relativeHorizontalSize?: boolean;
|
|
111852
111852
|
/**
|
|
111853
|
-
* The relative vertical position of the shape. For an inline shape, it can't be set. For details,
|
|
111853
|
+
* The relative vertical position of the shape. For an inline shape, it can't be set. For details, see {@link Word.RelativeVerticalPosition}.
|
|
111854
111854
|
*
|
|
111855
111855
|
* @remarks
|
|
111856
111856
|
* [Api set: WordApiDesktop 1.2]
|
|
@@ -111871,7 +111871,7 @@ declare namespace Word {
|
|
|
111871
111871
|
*/
|
|
111872
111872
|
rotation?: boolean;
|
|
111873
111873
|
/**
|
|
111874
|
-
* The distance, in points, from the top edge of the shape to the vertical relative position,
|
|
111874
|
+
* The distance, in points, from the top edge of the shape to the vertical relative position, see {@link Word.RelativeVerticalPosition}. For an inline shape, it will return 0 and can't be set. For a child shape in a canvas or group, it's relative to the top left corner.
|
|
111875
111875
|
*
|
|
111876
111876
|
* @remarks
|
|
111877
111877
|
* [Api set: WordApiDesktop 1.2]
|
|
@@ -112124,7 +112124,7 @@ declare namespace Word {
|
|
|
112124
112124
|
*/
|
|
112125
112125
|
relativeHorizontalSize?: boolean;
|
|
112126
112126
|
/**
|
|
112127
|
-
* For EACH ITEM in the collection: The relative vertical position of the shape. For an inline shape, it can't be set. For details,
|
|
112127
|
+
* For EACH ITEM in the collection: The relative vertical position of the shape. For an inline shape, it can't be set. For details, see {@link Word.RelativeVerticalPosition}.
|
|
112128
112128
|
*
|
|
112129
112129
|
* @remarks
|
|
112130
112130
|
* [Api set: WordApiDesktop 1.2]
|
|
@@ -112145,7 +112145,7 @@ declare namespace Word {
|
|
|
112145
112145
|
*/
|
|
112146
112146
|
rotation?: boolean;
|
|
112147
112147
|
/**
|
|
112148
|
-
* For EACH ITEM in the collection: The distance, in points, from the top edge of the shape to the vertical relative position,
|
|
112148
|
+
* For EACH ITEM in the collection: The distance, in points, from the top edge of the shape to the vertical relative position, see {@link Word.RelativeVerticalPosition}. For an inline shape, it will return 0 and can't be set. For a child shape in a canvas or group, it's relative to the top left corner.
|
|
112149
112149
|
*
|
|
112150
112150
|
* @remarks
|
|
112151
112151
|
* [Api set: WordApiDesktop 1.2]
|
|
@@ -124775,7 +124775,13 @@ declare namespace PowerPoint {
|
|
|
124775
124775
|
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
124776
124776
|
context: RequestContext;
|
|
124777
124777
|
/**
|
|
124778
|
-
* Specifies the
|
|
124778
|
+
* Specifies whether the text in the `TextRange` is set to bold. The possible values are as follows:
|
|
124779
|
+
*
|
|
124780
|
+
* - `true`: All the text is bold.
|
|
124781
|
+
*
|
|
124782
|
+
* - `false`: None of the text is bold.
|
|
124783
|
+
*
|
|
124784
|
+
* - `null`: Returned if some, but not all, of the text is bold.
|
|
124779
124785
|
*
|
|
124780
124786
|
* @remarks
|
|
124781
124787
|
* [Api set: PowerPointApi 1.4]
|
|
@@ -124789,7 +124795,13 @@ declare namespace PowerPoint {
|
|
|
124789
124795
|
*/
|
|
124790
124796
|
color: string | null;
|
|
124791
124797
|
/**
|
|
124792
|
-
* Specifies the
|
|
124798
|
+
* Specifies whether the text in the `TextRange` is set to italic. The possible values are as follows:
|
|
124799
|
+
*
|
|
124800
|
+
* - `true`: All the text is italicized.
|
|
124801
|
+
*
|
|
124802
|
+
* - `false`: None of the text is italicized.
|
|
124803
|
+
*
|
|
124804
|
+
* - `null`: Returned if some, but not all, of the text is italicized.
|
|
124793
124805
|
*
|
|
124794
124806
|
* @remarks
|
|
124795
124807
|
* [Api set: PowerPointApi 1.4]
|
|
@@ -126816,7 +126828,13 @@ declare namespace PowerPoint {
|
|
|
126816
126828
|
/** An interface for updating data on the `ShapeFont` object, for use in `shapeFont.set({ ... })`. */
|
|
126817
126829
|
interface ShapeFontUpdateData {
|
|
126818
126830
|
/**
|
|
126819
|
-
* Specifies the
|
|
126831
|
+
* Specifies whether the text in the `TextRange` is set to bold. The possible values are as follows:
|
|
126832
|
+
*
|
|
126833
|
+
* - `true`: All the text is bold.
|
|
126834
|
+
*
|
|
126835
|
+
* - `false`: None of the text is bold.
|
|
126836
|
+
*
|
|
126837
|
+
* - `null`: Returned if some, but not all, of the text is bold.
|
|
126820
126838
|
*
|
|
126821
126839
|
* @remarks
|
|
126822
126840
|
* [Api set: PowerPointApi 1.4]
|
|
@@ -126830,7 +126848,13 @@ declare namespace PowerPoint {
|
|
|
126830
126848
|
*/
|
|
126831
126849
|
color?: string | null;
|
|
126832
126850
|
/**
|
|
126833
|
-
* Specifies the
|
|
126851
|
+
* Specifies whether the text in the `TextRange` is set to italic. The possible values are as follows:
|
|
126852
|
+
*
|
|
126853
|
+
* - `true`: All the text is italicized.
|
|
126854
|
+
*
|
|
126855
|
+
* - `false`: None of the text is italicized.
|
|
126856
|
+
*
|
|
126857
|
+
* - `null`: Returned if some, but not all, of the text is italicized.
|
|
126834
126858
|
*
|
|
126835
126859
|
* @remarks
|
|
126836
126860
|
* [Api set: PowerPointApi 1.4]
|
|
@@ -127242,7 +127266,13 @@ declare namespace PowerPoint {
|
|
|
127242
127266
|
/** An interface describing the data returned by calling `shapeFont.toJSON()`. */
|
|
127243
127267
|
interface ShapeFontData {
|
|
127244
127268
|
/**
|
|
127245
|
-
* Specifies the
|
|
127269
|
+
* Specifies whether the text in the `TextRange` is set to bold. The possible values are as follows:
|
|
127270
|
+
*
|
|
127271
|
+
* - `true`: All the text is bold.
|
|
127272
|
+
*
|
|
127273
|
+
* - `false`: None of the text is bold.
|
|
127274
|
+
*
|
|
127275
|
+
* - `null`: Returned if some, but not all, of the text is bold.
|
|
127246
127276
|
*
|
|
127247
127277
|
* @remarks
|
|
127248
127278
|
* [Api set: PowerPointApi 1.4]
|
|
@@ -127256,7 +127286,13 @@ declare namespace PowerPoint {
|
|
|
127256
127286
|
*/
|
|
127257
127287
|
color?: string | null;
|
|
127258
127288
|
/**
|
|
127259
|
-
* Specifies the
|
|
127289
|
+
* Specifies whether the text in the `TextRange` is set to italic. The possible values are as follows:
|
|
127290
|
+
*
|
|
127291
|
+
* - `true`: All the text is italicized.
|
|
127292
|
+
*
|
|
127293
|
+
* - `false`: None of the text is italicized.
|
|
127294
|
+
*
|
|
127295
|
+
* - `null`: Returned if some, but not all, of the text is italicized.
|
|
127260
127296
|
*
|
|
127261
127297
|
* @remarks
|
|
127262
127298
|
* [Api set: PowerPointApi 1.4]
|
|
@@ -127886,7 +127922,13 @@ declare namespace PowerPoint {
|
|
|
127886
127922
|
*/
|
|
127887
127923
|
$all?: boolean;
|
|
127888
127924
|
/**
|
|
127889
|
-
* Specifies the
|
|
127925
|
+
* Specifies whether the text in the `TextRange` is set to bold. The possible values are as follows:
|
|
127926
|
+
*
|
|
127927
|
+
* - `true`: All the text is bold.
|
|
127928
|
+
*
|
|
127929
|
+
* - `false`: None of the text is bold.
|
|
127930
|
+
*
|
|
127931
|
+
* - `null`: Returned if some, but not all, of the text is bold.
|
|
127890
127932
|
*
|
|
127891
127933
|
* @remarks
|
|
127892
127934
|
* [Api set: PowerPointApi 1.4]
|
|
@@ -127900,7 +127942,13 @@ declare namespace PowerPoint {
|
|
|
127900
127942
|
*/
|
|
127901
127943
|
color?: boolean;
|
|
127902
127944
|
/**
|
|
127903
|
-
* Specifies the
|
|
127945
|
+
* Specifies whether the text in the `TextRange` is set to italic. The possible values are as follows:
|
|
127946
|
+
*
|
|
127947
|
+
* - `true`: All the text is italicized.
|
|
127948
|
+
*
|
|
127949
|
+
* - `false`: None of the text is italicized.
|
|
127950
|
+
*
|
|
127951
|
+
* - `null`: Returned if some, but not all, of the text is italicized.
|
|
127904
127952
|
*
|
|
127905
127953
|
* @remarks
|
|
127906
127954
|
* [Api set: PowerPointApi 1.4]
|
|
@@ -127940,25 +127988,25 @@ declare namespace PowerPoint {
|
|
|
127940
127988
|
*/
|
|
127941
127989
|
$all?: boolean;
|
|
127942
127990
|
/**
|
|
127943
|
-
|
|
127944
|
-
|
|
127945
|
-
|
|
127946
|
-
|
|
127947
|
-
|
|
127991
|
+
* For EACH ITEM in the collection: Returns the fill formatting of this shape.
|
|
127992
|
+
*
|
|
127993
|
+
* @remarks
|
|
127994
|
+
* [Api set: PowerPointApi 1.4]
|
|
127995
|
+
*/
|
|
127948
127996
|
fill?: PowerPoint.Interfaces.ShapeFillLoadOptions;
|
|
127949
127997
|
/**
|
|
127950
|
-
|
|
127951
|
-
|
|
127952
|
-
|
|
127953
|
-
|
|
127954
|
-
|
|
127998
|
+
* For EACH ITEM in the collection: Returns the line formatting of this shape.
|
|
127999
|
+
*
|
|
128000
|
+
* @remarks
|
|
128001
|
+
* [Api set: PowerPointApi 1.4]
|
|
128002
|
+
*/
|
|
127955
128003
|
lineFormat?: PowerPoint.Interfaces.ShapeLineFormatLoadOptions;
|
|
127956
128004
|
/**
|
|
127957
|
-
|
|
127958
|
-
|
|
127959
|
-
|
|
127960
|
-
|
|
127961
|
-
|
|
128005
|
+
* For EACH ITEM in the collection: Returns the text frame object of this shape.
|
|
128006
|
+
*
|
|
128007
|
+
* @remarks
|
|
128008
|
+
* [Api set: PowerPointApi 1.4]
|
|
128009
|
+
*/
|
|
127962
128010
|
textFrame?: PowerPoint.Interfaces.TextFrameLoadOptions;
|
|
127963
128011
|
/**
|
|
127964
128012
|
* For EACH ITEM in the collection: Specifies the height, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative value.
|
|
@@ -128185,25 +128233,25 @@ declare namespace PowerPoint {
|
|
|
128185
128233
|
*/
|
|
128186
128234
|
$all?: boolean;
|
|
128187
128235
|
/**
|
|
128188
|
-
|
|
128189
|
-
|
|
128190
|
-
|
|
128191
|
-
|
|
128192
|
-
|
|
128236
|
+
* For EACH ITEM in the collection: Returns the fill formatting of this shape.
|
|
128237
|
+
*
|
|
128238
|
+
* @remarks
|
|
128239
|
+
* [Api set: PowerPointApi 1.5]
|
|
128240
|
+
*/
|
|
128193
128241
|
fill?: PowerPoint.Interfaces.ShapeFillLoadOptions;
|
|
128194
128242
|
/**
|
|
128195
|
-
|
|
128196
|
-
|
|
128197
|
-
|
|
128198
|
-
|
|
128199
|
-
|
|
128243
|
+
* For EACH ITEM in the collection: Returns the line formatting of this shape.
|
|
128244
|
+
*
|
|
128245
|
+
* @remarks
|
|
128246
|
+
* [Api set: PowerPointApi 1.5]
|
|
128247
|
+
*/
|
|
128200
128248
|
lineFormat?: PowerPoint.Interfaces.ShapeLineFormatLoadOptions;
|
|
128201
128249
|
/**
|
|
128202
|
-
|
|
128203
|
-
|
|
128204
|
-
|
|
128205
|
-
|
|
128206
|
-
|
|
128250
|
+
* For EACH ITEM in the collection: Returns the text frame object of this shape.
|
|
128251
|
+
*
|
|
128252
|
+
* @remarks
|
|
128253
|
+
* [Api set: PowerPointApi 1.5]
|
|
128254
|
+
*/
|
|
128207
128255
|
textFrame?: PowerPoint.Interfaces.TextFrameLoadOptions;
|
|
128208
128256
|
/**
|
|
128209
128257
|
* For EACH ITEM in the collection: Specifies the height, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative value.
|
|
@@ -128490,25 +128538,25 @@ declare namespace PowerPoint {
|
|
|
128490
128538
|
*/
|
|
128491
128539
|
$all?: boolean;
|
|
128492
128540
|
/**
|
|
128493
|
-
|
|
128494
|
-
|
|
128495
|
-
|
|
128496
|
-
|
|
128497
|
-
|
|
128541
|
+
* Returns the fill formatting of this shape.
|
|
128542
|
+
*
|
|
128543
|
+
* @remarks
|
|
128544
|
+
* [Api set: PowerPointApi 1.4]
|
|
128545
|
+
*/
|
|
128498
128546
|
fill?: PowerPoint.Interfaces.ShapeFillLoadOptions;
|
|
128499
128547
|
/**
|
|
128500
|
-
|
|
128501
|
-
|
|
128502
|
-
|
|
128503
|
-
|
|
128504
|
-
|
|
128548
|
+
* Returns the line formatting of this shape.
|
|
128549
|
+
*
|
|
128550
|
+
* @remarks
|
|
128551
|
+
* [Api set: PowerPointApi 1.4]
|
|
128552
|
+
*/
|
|
128505
128553
|
lineFormat?: PowerPoint.Interfaces.ShapeLineFormatLoadOptions;
|
|
128506
128554
|
/**
|
|
128507
|
-
|
|
128508
|
-
|
|
128509
|
-
|
|
128510
|
-
|
|
128511
|
-
|
|
128555
|
+
* Returns the text frame object of this shape.
|
|
128556
|
+
*
|
|
128557
|
+
* @remarks
|
|
128558
|
+
* [Api set: PowerPointApi 1.4]
|
|
128559
|
+
*/
|
|
128512
128560
|
textFrame?: PowerPoint.Interfaces.TextFrameLoadOptions;
|
|
128513
128561
|
/**
|
|
128514
128562
|
* Specifies the height, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative value.
|
office-js/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.474",
|
|
4
4
|
"description": "TypeScript definitions for office-js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -46,6 +46,6 @@
|
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
48
|
"peerDependencies": {},
|
|
49
|
-
"typesPublisherContentHash": "
|
|
49
|
+
"typesPublisherContentHash": "2c3b0bb2b9e42aaf43a598224e667362fc47d07d0bfd07c5a58c7dc6e9a45a3d",
|
|
50
50
|
"typeScriptVersion": "5.0"
|
|
51
51
|
}
|