@types/office-js-preview 1.0.590 → 1.0.591
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 +14 -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:
|
|
11
|
+
* Last updated: Mon, 12 May 2025 16:39:10 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js-preview/index.d.ts
CHANGED
|
@@ -100738,10 +100738,8 @@ declare namespace Word {
|
|
|
100738
100738
|
* [Api set: WordApi 1.4]
|
|
100739
100739
|
*
|
|
100740
100740
|
* Important: To learn more about which fields can be inserted, see the `Word.Range.insertField` API introduced in requirement set 1.5.
|
|
100741
|
-
* Support for managing fields is similar to what's available in the Word UI.
|
|
100742
|
-
*
|
|
100743
|
-
* To learn more about Word UI clients that more fully support fields,
|
|
100744
|
-
* see the product list at the beginning of {@link https://support.microsoft.com/office/c429bbb0-8669-48a7-bd24-bab6ba6b06bb | Insert, edit, and view fields in Word}.
|
|
100741
|
+
* Support for managing fields is similar to what's available in the Word UI. However, the Word UI on the web primarily only supports fields as read-only (see {@link https://support.microsoft.com/office/d8f46094-13c3-4966-98c3-259748f3caf1 | Field codes in Word for the web}).
|
|
100742
|
+
* To learn more about Word UI clients that more fully support fields, see the product list at the beginning of {@link https://support.microsoft.com/office/c429bbb0-8669-48a7-bd24-bab6ba6b06bb | Insert, edit, and view fields in Word}.
|
|
100745
100743
|
*/
|
|
100746
100744
|
class Field extends OfficeExtension.ClientObject {
|
|
100747
100745
|
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
@@ -100942,10 +100940,8 @@ declare namespace Word {
|
|
|
100942
100940
|
* [Api set: WordApi 1.4]
|
|
100943
100941
|
*
|
|
100944
100942
|
* Important: To learn more about which fields can be inserted, see the `Word.Range.insertField` API introduced in requirement set 1.5.
|
|
100945
|
-
* Support for managing fields is similar to what's available in the Word UI.
|
|
100946
|
-
*
|
|
100947
|
-
* To learn more about Word UI clients that more fully support fields,
|
|
100948
|
-
* see the product list at the beginning of {@link https://support.microsoft.com/office/c429bbb0-8669-48a7-bd24-bab6ba6b06bb | Insert, edit, and view fields in Word}.
|
|
100943
|
+
* Support for managing fields is similar to what's available in the Word UI. However, the Word UI on the web primarily only supports fields as read-only (see {@link https://support.microsoft.com/office/d8f46094-13c3-4966-98c3-259748f3caf1 | Field codes in Word for the web}).
|
|
100944
|
+
* To learn more about Word UI clients that more fully support fields, see the product list at the beginning of {@link https://support.microsoft.com/office/c429bbb0-8669-48a7-bd24-bab6ba6b06bb | Insert, edit, and view fields in Word}.
|
|
100949
100945
|
*/
|
|
100950
100946
|
class FieldCollection extends OfficeExtension.ClientObject {
|
|
100951
100947
|
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
@@ -107082,7 +107078,7 @@ declare namespace Word {
|
|
|
107082
107078
|
*/
|
|
107083
107079
|
rotation: number;
|
|
107084
107080
|
/**
|
|
107085
|
-
* The distance, in points, from the top edge of the shape to the vertical relative position
|
|
107081
|
+
* 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.
|
|
107086
107082
|
*
|
|
107087
107083
|
* @remarks
|
|
107088
107084
|
* [Api set: WordApiDesktop 1.2]
|
|
@@ -107828,7 +107824,7 @@ declare namespace Word {
|
|
|
107828
107824
|
toJSON(): Word.Interfaces.ShapeTextWrapData;
|
|
107829
107825
|
}
|
|
107830
107826
|
/**
|
|
107831
|
-
*
|
|
107827
|
+
* Represents the possible change tracking modes.
|
|
107832
107828
|
*
|
|
107833
107829
|
* @remarks
|
|
107834
107830
|
* [Api set: WordApi 1.4]
|
|
@@ -115043,7 +115039,7 @@ declare namespace Word {
|
|
|
115043
115039
|
*/
|
|
115044
115040
|
rotation?: number;
|
|
115045
115041
|
/**
|
|
115046
|
-
* The distance, in points, from the top edge of the shape to the vertical relative position
|
|
115042
|
+
* 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.
|
|
115047
115043
|
*
|
|
115048
115044
|
* @remarks
|
|
115049
115045
|
* [Api set: WordApiDesktop 1.2]
|
|
@@ -117728,7 +117724,7 @@ declare namespace Word {
|
|
|
117728
117724
|
*/
|
|
117729
117725
|
rotation?: number;
|
|
117730
117726
|
/**
|
|
117731
|
-
* The distance, in points, from the top edge of the shape to the vertical relative position
|
|
117727
|
+
* 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.
|
|
117732
117728
|
*
|
|
117733
117729
|
* @remarks
|
|
117734
117730
|
* [Api set: WordApiDesktop 1.2]
|
|
@@ -119335,10 +119331,8 @@ declare namespace Word {
|
|
|
119335
119331
|
* [Api set: WordApi 1.4]
|
|
119336
119332
|
*
|
|
119337
119333
|
* Important: To learn more about which fields can be inserted, see the `Word.Range.insertField` API introduced in requirement set 1.5.
|
|
119338
|
-
* Support for managing fields is similar to what's available in the Word UI.
|
|
119339
|
-
*
|
|
119340
|
-
* To learn more about Word UI clients that more fully support fields,
|
|
119341
|
-
* see the product list at the beginning of {@link https://support.microsoft.com/office/c429bbb0-8669-48a7-bd24-bab6ba6b06bb | Insert, edit, and view fields in Word}.
|
|
119334
|
+
* Support for managing fields is similar to what's available in the Word UI. However, the Word UI on the web primarily only supports fields as read-only (see {@link https://support.microsoft.com/office/d8f46094-13c3-4966-98c3-259748f3caf1 | Field codes in Word for the web}).
|
|
119335
|
+
* To learn more about Word UI clients that more fully support fields, see the product list at the beginning of {@link https://support.microsoft.com/office/c429bbb0-8669-48a7-bd24-bab6ba6b06bb | Insert, edit, and view fields in Word}.
|
|
119342
119336
|
*/
|
|
119343
119337
|
interface FieldLoadOptions {
|
|
119344
119338
|
/**
|
|
@@ -119453,10 +119447,8 @@ declare namespace Word {
|
|
|
119453
119447
|
* [Api set: WordApi 1.4]
|
|
119454
119448
|
*
|
|
119455
119449
|
* Important: To learn more about which fields can be inserted, see the `Word.Range.insertField` API introduced in requirement set 1.5.
|
|
119456
|
-
* Support for managing fields is similar to what's available in the Word UI.
|
|
119457
|
-
*
|
|
119458
|
-
* To learn more about Word UI clients that more fully support fields,
|
|
119459
|
-
* see the product list at the beginning of {@link https://support.microsoft.com/office/c429bbb0-8669-48a7-bd24-bab6ba6b06bb | Insert, edit, and view fields in Word}.
|
|
119450
|
+
* Support for managing fields is similar to what's available in the Word UI. However, the Word UI on the web primarily only supports fields as read-only (see {@link https://support.microsoft.com/office/d8f46094-13c3-4966-98c3-259748f3caf1 | Field codes in Word for the web}).
|
|
119451
|
+
* To learn more about Word UI clients that more fully support fields, see the product list at the beginning of {@link https://support.microsoft.com/office/c429bbb0-8669-48a7-bd24-bab6ba6b06bb | Insert, edit, and view fields in Word}.
|
|
119460
119452
|
*/
|
|
119461
119453
|
interface FieldCollectionLoadOptions {
|
|
119462
119454
|
/**
|
|
@@ -122595,7 +122587,7 @@ declare namespace Word {
|
|
|
122595
122587
|
*/
|
|
122596
122588
|
rotation?: boolean;
|
|
122597
122589
|
/**
|
|
122598
|
-
* The distance, in points, from the top edge of the shape to the vertical relative position
|
|
122590
|
+
* 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.
|
|
122599
122591
|
*
|
|
122600
122592
|
* @remarks
|
|
122601
122593
|
* [Api set: WordApiDesktop 1.2]
|
|
@@ -122869,7 +122861,7 @@ declare namespace Word {
|
|
|
122869
122861
|
*/
|
|
122870
122862
|
rotation?: boolean;
|
|
122871
122863
|
/**
|
|
122872
|
-
* For EACH ITEM in the collection: The distance, in points, from the top edge of the shape to the vertical relative position
|
|
122864
|
+
* 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.
|
|
122873
122865
|
*
|
|
122874
122866
|
* @remarks
|
|
122875
122867
|
* [Api set: WordApiDesktop 1.2]
|
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.591",
|
|
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": "06c435846eb6a22cf08eb82d238ab77c05e680c080e338f012149053e6507741",
|
|
50
50
|
"typeScriptVersion": "5.1",
|
|
51
51
|
"nonNpm": true
|
|
52
52
|
}
|