@types/office-js-preview 1.0.501 → 1.0.503
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 +11 -22
- 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: Thu,
|
|
11
|
+
* Last updated: Thu, 05 Sep 2024 15:36:35 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js-preview/index.d.ts
CHANGED
|
@@ -92000,8 +92000,6 @@ declare namespace Word {
|
|
|
92000
92000
|
readonly id: number;
|
|
92001
92001
|
/**
|
|
92002
92002
|
* Specifies the placeholder text of the content control. Dimmed text will be displayed when the content control is empty.
|
|
92003
|
-
|
|
92004
|
-
Note: The set operation for this property isn't supported in Word on the web.
|
|
92005
92003
|
*
|
|
92006
92004
|
* @remarks
|
|
92007
92005
|
* [Api set: WordApi 1.1]
|
|
@@ -95105,8 +95103,7 @@ declare namespace Word {
|
|
|
95105
95103
|
* Resets the font of the bullet, number, or picture at the specified level in the list.
|
|
95106
95104
|
*
|
|
95107
95105
|
* @remarks
|
|
95108
|
-
* [Api set:
|
|
95109
|
-
* @beta
|
|
95106
|
+
* [Api set: WordApiDesktop 1.1]
|
|
95110
95107
|
*
|
|
95111
95108
|
* @param level Required. The level in the list.
|
|
95112
95109
|
* @param resetFontName Optional. Indicates whether to reset the font name. Default is false that indicates the font name is kept unchanged.
|
|
@@ -104125,8 +104122,6 @@ declare namespace Word {
|
|
|
104125
104122
|
color?: string;
|
|
104126
104123
|
/**
|
|
104127
104124
|
* Specifies the placeholder text of the content control. Dimmed text will be displayed when the content control is empty.
|
|
104128
|
-
|
|
104129
|
-
Note: The set operation for this property isn't supported in Word on the web.
|
|
104130
104125
|
*
|
|
104131
104126
|
* @remarks
|
|
104132
104127
|
* [Api set: WordApi 1.1]
|
|
@@ -105828,8 +105823,6 @@ declare namespace Word {
|
|
|
105828
105823
|
id?: number;
|
|
105829
105824
|
/**
|
|
105830
105825
|
* Specifies the placeholder text of the content control. Dimmed text will be displayed when the content control is empty.
|
|
105831
|
-
|
|
105832
|
-
Note: The set operation for this property isn't supported in Word on the web.
|
|
105833
105826
|
*
|
|
105834
105827
|
* @remarks
|
|
105835
105828
|
* [Api set: WordApi 1.1]
|
|
@@ -108317,8 +108310,6 @@ declare namespace Word {
|
|
|
108317
108310
|
id?: boolean;
|
|
108318
108311
|
/**
|
|
108319
108312
|
* Specifies the placeholder text of the content control. Dimmed text will be displayed when the content control is empty.
|
|
108320
|
-
|
|
108321
|
-
Note: The set operation for this property isn't supported in Word on the web.
|
|
108322
108313
|
*
|
|
108323
108314
|
* @remarks
|
|
108324
108315
|
* [Api set: WordApi 1.1]
|
|
@@ -108492,8 +108483,6 @@ declare namespace Word {
|
|
|
108492
108483
|
id?: boolean;
|
|
108493
108484
|
/**
|
|
108494
108485
|
* For EACH ITEM in the collection: Specifies the placeholder text of the content control. Dimmed text will be displayed when the content control is empty.
|
|
108495
|
-
|
|
108496
|
-
Note: The set operation for this property isn't supported in Word on the web.
|
|
108497
108486
|
*
|
|
108498
108487
|
* @remarks
|
|
108499
108488
|
* [Api set: WordApi 1.1]
|
|
@@ -112013,19 +112002,19 @@ declare namespace Word {
|
|
|
112013
112002
|
}
|
|
112014
112003
|
/**
|
|
112015
112004
|
* Executes a batch script that performs actions on the Word object model, using the RequestContext of previously created API objects.
|
|
112016
|
-
* @param objects - An array of previously created API objects. The array will be validated to make sure that all of the objects share the same context. The batch will use this shared RequestContext, which means that any changes applied to these objects will be picked up by
|
|
112017
|
-
* @param batch - A function that takes in a RequestContext and returns a promise (typically, just the result of
|
|
112005
|
+
* @param objects - An array of previously created API objects. The array will be validated to make sure that all of the objects share the same context. The batch will use this shared RequestContext, which means that any changes applied to these objects will be picked up by `context.sync()`.
|
|
112006
|
+
* @param batch - A function that takes in a RequestContext and returns a promise (typically, just the result of `context.sync()`). The context parameter facilitates requests to the Word application. Since the Office add-in and the Word application run in two different processes, the RequestContext is required to get access to the Word object model from the add-in.
|
|
112018
112007
|
*/
|
|
112019
112008
|
function run<T>(objects: OfficeExtension.ClientObject[], batch: (context: Word.RequestContext) => Promise<T>): Promise<T>;
|
|
112020
112009
|
/**
|
|
112021
112010
|
* Executes a batch script that performs actions on the Word object model, using the RequestContext of a previously created API object. When the promise is resolved, any tracked objects that were automatically allocated during execution will be released.
|
|
112022
|
-
* @param object - A previously created API object. The batch will use the same RequestContext as the passed-in object, which means that any changes applied to the object will be picked up by
|
|
112023
|
-
* @param batch - A function that takes in a RequestContext and returns a promise (typically, just the result of
|
|
112011
|
+
* @param object - A previously created API object. The batch will use the same RequestContext as the passed-in object, which means that any changes applied to the object will be picked up by `context.sync()`.
|
|
112012
|
+
* @param batch - A function that takes in a RequestContext and returns a promise (typically, just the result of `context.sync()`). The context parameter facilitates requests to the Word application. Since the Office add-in and the Word application run in two different processes, the RequestContext is required to get access to the Word object model from the add-in.
|
|
112024
112013
|
*/
|
|
112025
112014
|
function run<T>(object: OfficeExtension.ClientObject, batch: (context: Word.RequestContext) => Promise<T>): Promise<T>;
|
|
112026
112015
|
/**
|
|
112027
112016
|
* Executes a batch script that performs actions on the Word object model, using a new RequestContext. When the promise is resolved, any tracked objects that were automatically allocated during execution will be released.
|
|
112028
|
-
* @param batch - A function that takes in a RequestContext and returns a promise (typically, just the result of
|
|
112017
|
+
* @param batch - A function that takes in a RequestContext and returns a promise (typically, just the result of `context.sync()`). The context parameter facilitates requests to the Word application. Since the Office add-in and the Word application run in two different processes, the RequestContext is required to get access to the Word object model from the add-in.
|
|
112029
112018
|
*/
|
|
112030
112019
|
function run<T>(batch: (context: Word.RequestContext) => Promise<T>): Promise<T>;
|
|
112031
112020
|
}
|
|
@@ -127708,21 +127697,21 @@ declare namespace PowerPoint {
|
|
|
127708
127697
|
* For EACH ITEM in the collection: Returns the fill formatting of this shape.
|
|
127709
127698
|
*
|
|
127710
127699
|
* @remarks
|
|
127711
|
-
* [Api set: PowerPointApi 1.
|
|
127700
|
+
* [Api set: PowerPointApi 1.5]
|
|
127712
127701
|
*/
|
|
127713
127702
|
fill?: PowerPoint.Interfaces.ShapeFillLoadOptions;
|
|
127714
127703
|
/**
|
|
127715
127704
|
* For EACH ITEM in the collection: Returns the line formatting of this shape.
|
|
127716
127705
|
*
|
|
127717
127706
|
* @remarks
|
|
127718
|
-
* [Api set: PowerPointApi 1.
|
|
127707
|
+
* [Api set: PowerPointApi 1.5]
|
|
127719
127708
|
*/
|
|
127720
127709
|
lineFormat?: PowerPoint.Interfaces.ShapeLineFormatLoadOptions;
|
|
127721
127710
|
/**
|
|
127722
127711
|
* For EACH ITEM in the collection: Returns the text frame object of this shape.
|
|
127723
127712
|
*
|
|
127724
127713
|
* @remarks
|
|
127725
|
-
* [Api set: PowerPointApi 1.
|
|
127714
|
+
* [Api set: PowerPointApi 1.5]
|
|
127726
127715
|
*/
|
|
127727
127716
|
textFrame?: PowerPoint.Interfaces.TextFrameLoadOptions;
|
|
127728
127717
|
/**
|
|
@@ -127823,14 +127812,14 @@ declare namespace PowerPoint {
|
|
|
127823
127812
|
* For EACH ITEM in the collection: Gets the layout of the slide.
|
|
127824
127813
|
*
|
|
127825
127814
|
* @remarks
|
|
127826
|
-
* [Api set: PowerPointApi 1.
|
|
127815
|
+
* [Api set: PowerPointApi 1.5]
|
|
127827
127816
|
*/
|
|
127828
127817
|
layout?: PowerPoint.Interfaces.SlideLayoutLoadOptions;
|
|
127829
127818
|
/**
|
|
127830
127819
|
* For EACH ITEM in the collection: Gets the `SlideMaster` object that represents the slide's default content.
|
|
127831
127820
|
*
|
|
127832
127821
|
* @remarks
|
|
127833
|
-
* [Api set: PowerPointApi 1.
|
|
127822
|
+
* [Api set: PowerPointApi 1.5]
|
|
127834
127823
|
*/
|
|
127835
127824
|
slideMaster?: PowerPoint.Interfaces.SlideMasterLoadOptions;
|
|
127836
127825
|
/**
|
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.503",
|
|
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",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "1a64dea695b4e430b9e27babc6b8088c10bcc4da410f24f9272639187f84efd4",
|
|
49
49
|
"typeScriptVersion": "4.8",
|
|
50
50
|
"nonNpm": true
|
|
51
51
|
}
|