@types/office-js-preview 1.0.274 → 1.0.275
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 +188 -30
- 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 (https://github.com/OfficeD
|
|
|
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: Thu, 16 Dec 2021 19:31:14 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
|
|
14
14
|
|
office-js-preview/index.d.ts
CHANGED
|
@@ -82393,7 +82393,7 @@ declare namespace Word {
|
|
|
82393
82393
|
*/
|
|
82394
82394
|
readonly contentControls: Word.ContentControlCollection;
|
|
82395
82395
|
/**
|
|
82396
|
-
* Gets the collection of endnotes in the body. Read-only
|
|
82396
|
+
* Gets the collection of endnotes in the body. Read-only.
|
|
82397
82397
|
*
|
|
82398
82398
|
* @remarks
|
|
82399
82399
|
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
@@ -82408,7 +82408,7 @@ declare namespace Word {
|
|
|
82408
82408
|
*/
|
|
82409
82409
|
readonly font: Word.Font;
|
|
82410
82410
|
/**
|
|
82411
|
-
* Gets the collection of footnotes in the body. Read-only
|
|
82411
|
+
* Gets the collection of footnotes in the body. Read-only.
|
|
82412
82412
|
*
|
|
82413
82413
|
* @remarks
|
|
82414
82414
|
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
@@ -82571,6 +82571,26 @@ declare namespace Word {
|
|
|
82571
82571
|
* @param rangeLocation Optional. The range location can be 'Whole', 'Start', 'End', 'After', or 'Content'.
|
|
82572
82572
|
*/
|
|
82573
82573
|
getRange(rangeLocation?: "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
|
|
82574
|
+
/**
|
|
82575
|
+
* Gets reviewed text based on ChangeTrackingVersion selection.
|
|
82576
|
+
*
|
|
82577
|
+
* @remarks
|
|
82578
|
+
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
82579
|
+
* @beta
|
|
82580
|
+
*
|
|
82581
|
+
* @param changeTrackingVersion Optional. The changeTrackingVersion can be: Original, Current. The default value is Current.
|
|
82582
|
+
*/
|
|
82583
|
+
getReviewedText(changeTrackingVersion?: Word.ChangeTrackingVersion): OfficeExtension.ClientResult<string>;
|
|
82584
|
+
/**
|
|
82585
|
+
* Gets reviewed text based on ChangeTrackingVersion selection.
|
|
82586
|
+
*
|
|
82587
|
+
* @remarks
|
|
82588
|
+
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
82589
|
+
* @beta
|
|
82590
|
+
*
|
|
82591
|
+
* @param changeTrackingVersion Optional. The changeTrackingVersion can be: Original, Current. The default value is Current.
|
|
82592
|
+
*/
|
|
82593
|
+
getReviewedText(changeTrackingVersion?: "Original" | "Current"): OfficeExtension.ClientResult<string>;
|
|
82574
82594
|
/**
|
|
82575
82595
|
* Inserts a break at the specified location in the main document.
|
|
82576
82596
|
*
|
|
@@ -83216,7 +83236,7 @@ declare namespace Word {
|
|
|
83216
83236
|
*/
|
|
83217
83237
|
readonly contentControls: Word.ContentControlCollection;
|
|
83218
83238
|
/**
|
|
83219
|
-
* Gets the collection of endnotes in the contentcontrol. Read-only
|
|
83239
|
+
* Gets the collection of endnotes in the contentcontrol. Read-only.
|
|
83220
83240
|
*
|
|
83221
83241
|
* @remarks
|
|
83222
83242
|
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
@@ -83231,7 +83251,7 @@ declare namespace Word {
|
|
|
83231
83251
|
*/
|
|
83232
83252
|
readonly font: Word.Font;
|
|
83233
83253
|
/**
|
|
83234
|
-
* Gets the collection of footnotes in the contentcontrol. Read-only
|
|
83254
|
+
* Gets the collection of footnotes in the contentcontrol. Read-only.
|
|
83235
83255
|
*
|
|
83236
83256
|
* @remarks
|
|
83237
83257
|
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
@@ -83482,6 +83502,26 @@ declare namespace Word {
|
|
|
83482
83502
|
* @param rangeLocation Optional. The range location can be 'Whole', 'Before', 'Start', 'End', 'After', or 'Content'.
|
|
83483
83503
|
*/
|
|
83484
83504
|
getRange(rangeLocation?: "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
|
|
83505
|
+
/**
|
|
83506
|
+
* Gets reviewed text based on ChangeTrackingVersion selection.
|
|
83507
|
+
*
|
|
83508
|
+
* @remarks
|
|
83509
|
+
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
83510
|
+
* @beta
|
|
83511
|
+
*
|
|
83512
|
+
* @param changeTrackingVersion Optional. The changeTrackingVersion might be: Original, Current. The default value is Current.
|
|
83513
|
+
*/
|
|
83514
|
+
getReviewedText(changeTrackingVersion?: Word.ChangeTrackingVersion): OfficeExtension.ClientResult<string>;
|
|
83515
|
+
/**
|
|
83516
|
+
* Gets reviewed text based on ChangeTrackingVersion selection.
|
|
83517
|
+
*
|
|
83518
|
+
* @remarks
|
|
83519
|
+
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
83520
|
+
* @beta
|
|
83521
|
+
*
|
|
83522
|
+
* @param changeTrackingVersion Optional. The changeTrackingVersion might be: Original, Current. The default value is Current.
|
|
83523
|
+
*/
|
|
83524
|
+
getReviewedText(changeTrackingVersion?: "Original" | "Current"): OfficeExtension.ClientResult<string>;
|
|
83485
83525
|
/**
|
|
83486
83526
|
* Gets the text ranges in the content control by using punctuation marks and/or other ending marks.
|
|
83487
83527
|
*
|
|
@@ -84513,14 +84553,14 @@ declare namespace Word {
|
|
|
84513
84553
|
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
84514
84554
|
context: RequestContext;
|
|
84515
84555
|
/**
|
|
84516
|
-
* Gets the body object of the main document. The body is the text that excludes headers, footers, footnotes, textboxes, etc
|
|
84556
|
+
* Gets the body object of the main document. The body is the text that excludes headers, footers, footnotes, textboxes, etc. Read-only.
|
|
84517
84557
|
*
|
|
84518
84558
|
* @remarks
|
|
84519
84559
|
* [Api set: WordApi 1.1]
|
|
84520
84560
|
*/
|
|
84521
84561
|
readonly body: Word.Body;
|
|
84522
84562
|
/**
|
|
84523
|
-
* Gets the collection of content control objects in the document. This includes content controls in the body of the document, headers, footers, textboxes, etc
|
|
84563
|
+
* Gets the collection of content control objects in the document. This includes content controls in the body of the document, headers, footers, textboxes, etc. Read-only.
|
|
84524
84564
|
*
|
|
84525
84565
|
* @remarks
|
|
84526
84566
|
* [Api set: WordApi 1.1]
|
|
@@ -84556,6 +84596,14 @@ declare namespace Word {
|
|
|
84556
84596
|
* @beta
|
|
84557
84597
|
*/
|
|
84558
84598
|
readonly settings: Word.SettingCollection;
|
|
84599
|
+
/**
|
|
84600
|
+
* Gets or sets the ChangeTracking mode.
|
|
84601
|
+
*
|
|
84602
|
+
* @remarks
|
|
84603
|
+
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
84604
|
+
* @beta
|
|
84605
|
+
*/
|
|
84606
|
+
changeTrackingMode: Word.ChangeTrackingMode | "Off" | "TrackAll" | "TrackMineOnly";
|
|
84559
84607
|
/**
|
|
84560
84608
|
* Indicates whether the changes in the document have been saved. A value of true indicates that the document hasn't changed since it was saved. Read-only.
|
|
84561
84609
|
*
|
|
@@ -84602,7 +84650,8 @@ declare namespace Word {
|
|
|
84602
84650
|
*/
|
|
84603
84651
|
getBookmarkRangeOrNullObject(name: string): Word.Range;
|
|
84604
84652
|
/**
|
|
84605
|
-
* Gets the
|
|
84653
|
+
* Gets the document's endnotes in a single body. Read-only.
|
|
84654
|
+
Not implemented in Word on the web.
|
|
84606
84655
|
*
|
|
84607
84656
|
* @remarks
|
|
84608
84657
|
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
@@ -84610,7 +84659,8 @@ declare namespace Word {
|
|
|
84610
84659
|
*/
|
|
84611
84660
|
getEndnoteBody(): Word.Body;
|
|
84612
84661
|
/**
|
|
84613
|
-
* Gets the
|
|
84662
|
+
* Gets the document's footnotes in a single body. Read-only.
|
|
84663
|
+
Not implemented in Word on the web.
|
|
84614
84664
|
*
|
|
84615
84665
|
* @remarks
|
|
84616
84666
|
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
@@ -84632,7 +84682,7 @@ declare namespace Word {
|
|
|
84632
84682
|
*/
|
|
84633
84683
|
save(): void;
|
|
84634
84684
|
/**
|
|
84635
|
-
* Performs a search with the specified
|
|
84685
|
+
* Performs a search with the specified search options on the scope of the whole document. The search results are a collection of range objects.
|
|
84636
84686
|
*
|
|
84637
84687
|
* @remarks
|
|
84638
84688
|
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
@@ -86008,7 +86058,7 @@ declare namespace Word {
|
|
|
86008
86058
|
*/
|
|
86009
86059
|
readonly body: Word.Body;
|
|
86010
86060
|
/**
|
|
86011
|
-
* Represents a footnote
|
|
86061
|
+
* Represents a footnote or endnote reference in the main document.
|
|
86012
86062
|
*
|
|
86013
86063
|
* @remarks
|
|
86014
86064
|
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
@@ -86016,7 +86066,7 @@ declare namespace Word {
|
|
|
86016
86066
|
*/
|
|
86017
86067
|
readonly reference: Word.Range;
|
|
86018
86068
|
/**
|
|
86019
|
-
*
|
|
86069
|
+
* Represents the note item type: footnote or endnote.
|
|
86020
86070
|
*
|
|
86021
86071
|
* @remarks
|
|
86022
86072
|
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
@@ -86167,7 +86217,7 @@ declare namespace Word {
|
|
|
86167
86217
|
*/
|
|
86168
86218
|
readonly contentControls: Word.ContentControlCollection;
|
|
86169
86219
|
/**
|
|
86170
|
-
* Gets the collection of endnotes in the
|
|
86220
|
+
* Gets the collection of endnotes in the paragraph. Read-only.
|
|
86171
86221
|
*
|
|
86172
86222
|
* @remarks
|
|
86173
86223
|
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
@@ -86182,7 +86232,7 @@ declare namespace Word {
|
|
|
86182
86232
|
*/
|
|
86183
86233
|
readonly font: Word.Font;
|
|
86184
86234
|
/**
|
|
86185
|
-
* Gets the collection of footnotes in the
|
|
86235
|
+
* Gets the collection of footnotes in the paragraph. Read-only.
|
|
86186
86236
|
*
|
|
86187
86237
|
* @remarks
|
|
86188
86238
|
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
@@ -86492,6 +86542,26 @@ declare namespace Word {
|
|
|
86492
86542
|
* @param rangeLocation Optional. The range location can be 'Whole', 'Start', 'End', 'After', or 'Content'.
|
|
86493
86543
|
*/
|
|
86494
86544
|
getRange(rangeLocation?: "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
|
|
86545
|
+
/**
|
|
86546
|
+
* Gets reviewed text based on ChangeTrackingVersion selection.
|
|
86547
|
+
*
|
|
86548
|
+
* @remarks
|
|
86549
|
+
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
86550
|
+
* @beta
|
|
86551
|
+
*
|
|
86552
|
+
* @param changeTrackingVersion Optional. The changeTrackingVersion might be: Original, Current. The default value is Current.
|
|
86553
|
+
*/
|
|
86554
|
+
getReviewedText(changeTrackingVersion?: Word.ChangeTrackingVersion): OfficeExtension.ClientResult<string>;
|
|
86555
|
+
/**
|
|
86556
|
+
* Gets reviewed text based on ChangeTrackingVersion selection.
|
|
86557
|
+
*
|
|
86558
|
+
* @remarks
|
|
86559
|
+
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
86560
|
+
* @beta
|
|
86561
|
+
*
|
|
86562
|
+
* @param changeTrackingVersion Optional. The changeTrackingVersion might be: Original, Current. The default value is Current.
|
|
86563
|
+
*/
|
|
86564
|
+
getReviewedText(changeTrackingVersion?: "Original" | "Current"): OfficeExtension.ClientResult<string>;
|
|
86495
86565
|
/**
|
|
86496
86566
|
* Gets the text ranges in the paragraph by using punctuation marks and/or other ending marks.
|
|
86497
86567
|
*
|
|
@@ -86850,7 +86920,7 @@ declare namespace Word {
|
|
|
86850
86920
|
*/
|
|
86851
86921
|
readonly contentControls: Word.ContentControlCollection;
|
|
86852
86922
|
/**
|
|
86853
|
-
* Gets the collection of endnotes in the
|
|
86923
|
+
* Gets the collection of endnotes in the range. Read-only.
|
|
86854
86924
|
*
|
|
86855
86925
|
* @remarks
|
|
86856
86926
|
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
@@ -86865,7 +86935,7 @@ declare namespace Word {
|
|
|
86865
86935
|
*/
|
|
86866
86936
|
readonly font: Word.Font;
|
|
86867
86937
|
/**
|
|
86868
|
-
* Gets the collection of footnotes in the
|
|
86938
|
+
* Gets the collection of footnotes in the range. Read-only.
|
|
86869
86939
|
*
|
|
86870
86940
|
* @remarks
|
|
86871
86941
|
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
@@ -87115,6 +87185,26 @@ declare namespace Word {
|
|
|
87115
87185
|
* @param rangeLocation Optional. The range location can be 'Whole', 'Start', 'End', 'After', or 'Content'.
|
|
87116
87186
|
*/
|
|
87117
87187
|
getRange(rangeLocation?: "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
|
|
87188
|
+
/**
|
|
87189
|
+
* Gets reviewed text based on ChangeTrackingVersion selection.
|
|
87190
|
+
*
|
|
87191
|
+
* @remarks
|
|
87192
|
+
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
87193
|
+
* @beta
|
|
87194
|
+
*
|
|
87195
|
+
* @param changeTrackingVersion Optional. The changeTrackingVersion might be: Original, Current. The default value is Current.
|
|
87196
|
+
*/
|
|
87197
|
+
getReviewedText(changeTrackingVersion?: Word.ChangeTrackingVersion): OfficeExtension.ClientResult<string>;
|
|
87198
|
+
/**
|
|
87199
|
+
* Gets reviewed text based on ChangeTrackingVersion selection.
|
|
87200
|
+
*
|
|
87201
|
+
* @remarks
|
|
87202
|
+
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
87203
|
+
* @beta
|
|
87204
|
+
*
|
|
87205
|
+
* @param changeTrackingVersion Optional. The changeTrackingVersion might be: Original, Current. The default value is Current.
|
|
87206
|
+
*/
|
|
87207
|
+
getReviewedText(changeTrackingVersion?: "Original" | "Current"): OfficeExtension.ClientResult<string>;
|
|
87118
87208
|
/**
|
|
87119
87209
|
* Gets the text child ranges in the range by using punctuation marks and/or other ending marks.
|
|
87120
87210
|
*
|
|
@@ -87934,7 +88024,7 @@ declare namespace Word {
|
|
|
87934
88024
|
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
87935
88025
|
context: RequestContext;
|
|
87936
88026
|
/**
|
|
87937
|
-
* Gets the collection of endnotes in the table. Read-only
|
|
88027
|
+
* Gets the collection of endnotes in the table. Read-only.
|
|
87938
88028
|
*
|
|
87939
88029
|
* @remarks
|
|
87940
88030
|
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
@@ -87949,7 +88039,7 @@ declare namespace Word {
|
|
|
87949
88039
|
*/
|
|
87950
88040
|
readonly font: Word.Font;
|
|
87951
88041
|
/**
|
|
87952
|
-
* Gets the collection of footnotes in the table. Read-only
|
|
88042
|
+
* Gets the collection of footnotes in the table. Read-only.
|
|
87953
88043
|
*
|
|
87954
88044
|
* @remarks
|
|
87955
88045
|
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
@@ -88583,7 +88673,7 @@ declare namespace Word {
|
|
|
88583
88673
|
*/
|
|
88584
88674
|
readonly cells: Word.TableCellCollection;
|
|
88585
88675
|
/**
|
|
88586
|
-
* Gets the collection of endnotes in the table row. Read-only
|
|
88676
|
+
* Gets the collection of endnotes in the table row. Read-only.
|
|
88587
88677
|
*
|
|
88588
88678
|
* @remarks
|
|
88589
88679
|
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
@@ -88598,7 +88688,7 @@ declare namespace Word {
|
|
|
88598
88688
|
*/
|
|
88599
88689
|
readonly font: Word.Font;
|
|
88600
88690
|
/**
|
|
88601
|
-
* Gets the collection of footnotes in the table row. Read-only
|
|
88691
|
+
* Gets the collection of footnotes in the table row. Read-only.
|
|
88602
88692
|
*
|
|
88603
88693
|
* @remarks
|
|
88604
88694
|
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
@@ -89324,6 +89414,50 @@ declare namespace Word {
|
|
|
89324
89414
|
*/
|
|
89325
89415
|
toJSON(): Word.Interfaces.TableBorderData;
|
|
89326
89416
|
}
|
|
89417
|
+
/**
|
|
89418
|
+
* ChangeTracking mode.
|
|
89419
|
+
*
|
|
89420
|
+
* @remarks
|
|
89421
|
+
* [Api set: WordApi]
|
|
89422
|
+
*/
|
|
89423
|
+
enum ChangeTrackingMode {
|
|
89424
|
+
/**
|
|
89425
|
+
* ChangeTracking is turned off.
|
|
89426
|
+
* @remarks
|
|
89427
|
+
* [Api set: WordApi]
|
|
89428
|
+
*/
|
|
89429
|
+
off = "Off",
|
|
89430
|
+
/**
|
|
89431
|
+
* ChangeTracking is turned on for everyone.
|
|
89432
|
+
* @remarks
|
|
89433
|
+
* [Api set: WordApi]
|
|
89434
|
+
*/
|
|
89435
|
+
trackAll = "TrackAll",
|
|
89436
|
+
/**
|
|
89437
|
+
* Tracking is turned on for my changes only.
|
|
89438
|
+
* @remarks
|
|
89439
|
+
* [Api set: WordApi]
|
|
89440
|
+
*/
|
|
89441
|
+
trackMineOnly = "TrackMineOnly",
|
|
89442
|
+
}
|
|
89443
|
+
/**
|
|
89444
|
+
* Specify the current version or the original version of the document.
|
|
89445
|
+
*
|
|
89446
|
+
* @remarks
|
|
89447
|
+
* [Api set: WordApi]
|
|
89448
|
+
*/
|
|
89449
|
+
enum ChangeTrackingVersion {
|
|
89450
|
+
/**
|
|
89451
|
+
* @remarks
|
|
89452
|
+
* [Api set: WordApi]
|
|
89453
|
+
*/
|
|
89454
|
+
original = "Original",
|
|
89455
|
+
/**
|
|
89456
|
+
* @remarks
|
|
89457
|
+
* [Api set: WordApi]
|
|
89458
|
+
*/
|
|
89459
|
+
current = "Current",
|
|
89460
|
+
}
|
|
89327
89461
|
/**
|
|
89328
89462
|
* Note item type
|
|
89329
89463
|
*
|
|
@@ -91492,7 +91626,7 @@ declare namespace Word {
|
|
|
91492
91626
|
/** An interface for updating data on the Document object, for use in `document.set({ ... })`. */
|
|
91493
91627
|
interface DocumentUpdateData {
|
|
91494
91628
|
/**
|
|
91495
|
-
* Gets the body object of the main document. The body is the text that excludes headers, footers, footnotes, textboxes, etc
|
|
91629
|
+
* Gets the body object of the main document. The body is the text that excludes headers, footers, footnotes, textboxes, etc.
|
|
91496
91630
|
*
|
|
91497
91631
|
* @remarks
|
|
91498
91632
|
* [Api set: WordApi 1.1]
|
|
@@ -91505,6 +91639,14 @@ declare namespace Word {
|
|
|
91505
91639
|
* [Api set: WordApi 1.3]
|
|
91506
91640
|
*/
|
|
91507
91641
|
properties?: Word.Interfaces.DocumentPropertiesUpdateData;
|
|
91642
|
+
/**
|
|
91643
|
+
* Gets or sets the ChangeTracking mode.
|
|
91644
|
+
*
|
|
91645
|
+
* @remarks
|
|
91646
|
+
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
91647
|
+
* @beta
|
|
91648
|
+
*/
|
|
91649
|
+
changeTrackingMode?: Word.ChangeTrackingMode | "Off" | "TrackAll" | "TrackMineOnly";
|
|
91508
91650
|
}
|
|
91509
91651
|
/** An interface for updating data on the DocumentCreated object, for use in `documentCreated.set({ ... })`. */
|
|
91510
91652
|
interface DocumentCreatedUpdateData {
|
|
@@ -91744,7 +91886,7 @@ declare namespace Word {
|
|
|
91744
91886
|
*/
|
|
91745
91887
|
body?: Word.Interfaces.BodyUpdateData;
|
|
91746
91888
|
/**
|
|
91747
|
-
* Represents a footnote
|
|
91889
|
+
* Represents a footnote or endnote reference in the main document.
|
|
91748
91890
|
*
|
|
91749
91891
|
* @remarks
|
|
91750
91892
|
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
@@ -92614,14 +92756,14 @@ declare namespace Word {
|
|
|
92614
92756
|
/** An interface describing the data returned by calling `document.toJSON()`. */
|
|
92615
92757
|
interface DocumentData {
|
|
92616
92758
|
/**
|
|
92617
|
-
* Gets the body object of the main document. The body is the text that excludes headers, footers, footnotes, textboxes, etc
|
|
92759
|
+
* Gets the body object of the main document. The body is the text that excludes headers, footers, footnotes, textboxes, etc. Read-only.
|
|
92618
92760
|
*
|
|
92619
92761
|
* @remarks
|
|
92620
92762
|
* [Api set: WordApi 1.1]
|
|
92621
92763
|
*/
|
|
92622
92764
|
body?: Word.Interfaces.BodyData;
|
|
92623
92765
|
/**
|
|
92624
|
-
* Gets the collection of content control objects in the document. This includes content controls in the body of the document, headers, footers, textboxes, etc
|
|
92766
|
+
* Gets the collection of content control objects in the document. This includes content controls in the body of the document, headers, footers, textboxes, etc. Read-only.
|
|
92625
92767
|
*
|
|
92626
92768
|
* @remarks
|
|
92627
92769
|
* [Api set: WordApi 1.1]
|
|
@@ -92657,6 +92799,14 @@ declare namespace Word {
|
|
|
92657
92799
|
* @beta
|
|
92658
92800
|
*/
|
|
92659
92801
|
settings?: Word.Interfaces.SettingData[];
|
|
92802
|
+
/**
|
|
92803
|
+
* Gets or sets the ChangeTracking mode.
|
|
92804
|
+
*
|
|
92805
|
+
* @remarks
|
|
92806
|
+
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
92807
|
+
* @beta
|
|
92808
|
+
*/
|
|
92809
|
+
changeTrackingMode?: Word.ChangeTrackingMode | "Off" | "TrackAll" | "TrackMineOnly";
|
|
92660
92810
|
/**
|
|
92661
92811
|
* Indicates whether the changes in the document have been saved. A value of true indicates that the document hasn't changed since it was saved. Read-only.
|
|
92662
92812
|
*
|
|
@@ -93056,7 +93206,7 @@ declare namespace Word {
|
|
|
93056
93206
|
*/
|
|
93057
93207
|
body?: Word.Interfaces.BodyData;
|
|
93058
93208
|
/**
|
|
93059
|
-
* Represents a footnote
|
|
93209
|
+
* Represents a footnote or endnote reference in the main document.
|
|
93060
93210
|
*
|
|
93061
93211
|
* @remarks
|
|
93062
93212
|
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
@@ -93064,7 +93214,7 @@ declare namespace Word {
|
|
|
93064
93214
|
*/
|
|
93065
93215
|
reference?: Word.Interfaces.RangeData;
|
|
93066
93216
|
/**
|
|
93067
|
-
*
|
|
93217
|
+
* Represents the note item type: footnote or endnote.
|
|
93068
93218
|
*
|
|
93069
93219
|
* @remarks
|
|
93070
93220
|
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
@@ -94516,7 +94666,7 @@ declare namespace Word {
|
|
|
94516
94666
|
*/
|
|
94517
94667
|
$all?: boolean;
|
|
94518
94668
|
/**
|
|
94519
|
-
* Gets the body object of the main document. The body is the text that excludes headers, footers, footnotes, textboxes, etc
|
|
94669
|
+
* Gets the body object of the main document. The body is the text that excludes headers, footers, footnotes, textboxes, etc.
|
|
94520
94670
|
*
|
|
94521
94671
|
* @remarks
|
|
94522
94672
|
* [Api set: WordApi 1.1]
|
|
@@ -94529,6 +94679,14 @@ declare namespace Word {
|
|
|
94529
94679
|
* [Api set: WordApi 1.3]
|
|
94530
94680
|
*/
|
|
94531
94681
|
properties?: Word.Interfaces.DocumentPropertiesLoadOptions;
|
|
94682
|
+
/**
|
|
94683
|
+
* Gets or sets the ChangeTracking mode.
|
|
94684
|
+
*
|
|
94685
|
+
* @remarks
|
|
94686
|
+
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
94687
|
+
* @beta
|
|
94688
|
+
*/
|
|
94689
|
+
changeTrackingMode?: boolean;
|
|
94532
94690
|
/**
|
|
94533
94691
|
* Indicates whether the changes in the document have been saved. A value of true indicates that the document hasn't changed since it was saved. Read-only.
|
|
94534
94692
|
*
|
|
@@ -95133,7 +95291,7 @@ declare namespace Word {
|
|
|
95133
95291
|
*/
|
|
95134
95292
|
body?: Word.Interfaces.BodyLoadOptions;
|
|
95135
95293
|
/**
|
|
95136
|
-
* Represents a footnote
|
|
95294
|
+
* Represents a footnote or endnote reference in the main document.
|
|
95137
95295
|
*
|
|
95138
95296
|
* @remarks
|
|
95139
95297
|
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
@@ -95141,7 +95299,7 @@ declare namespace Word {
|
|
|
95141
95299
|
*/
|
|
95142
95300
|
reference?: Word.Interfaces.RangeLoadOptions;
|
|
95143
95301
|
/**
|
|
95144
|
-
*
|
|
95302
|
+
* Represents the note item type: footnote or endnote.
|
|
95145
95303
|
*
|
|
95146
95304
|
* @remarks
|
|
95147
95305
|
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
@@ -95170,7 +95328,7 @@ declare namespace Word {
|
|
|
95170
95328
|
*/
|
|
95171
95329
|
body?: Word.Interfaces.BodyLoadOptions;
|
|
95172
95330
|
/**
|
|
95173
|
-
* For EACH ITEM in the collection: Represents a footnote
|
|
95331
|
+
* For EACH ITEM in the collection: Represents a footnote or endnote reference in the main document.
|
|
95174
95332
|
*
|
|
95175
95333
|
* @remarks
|
|
95176
95334
|
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
|
@@ -95178,7 +95336,7 @@ declare namespace Word {
|
|
|
95178
95336
|
*/
|
|
95179
95337
|
reference?: Word.Interfaces.RangeLoadOptions;
|
|
95180
95338
|
/**
|
|
95181
|
-
* For EACH ITEM in the collection:
|
|
95339
|
+
* For EACH ITEM in the collection: Represents the note item type: footnote or endnote.
|
|
95182
95340
|
*
|
|
95183
95341
|
* @remarks
|
|
95184
95342
|
* [Api set: WordApiOnline BETA (PREVIEW ONLY)]
|
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.275",
|
|
4
4
|
"description": "TypeScript definitions for Office.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
|
|
6
6
|
"license": "MIT",
|
|
@@ -40,6 +40,6 @@
|
|
|
40
40
|
},
|
|
41
41
|
"scripts": {},
|
|
42
42
|
"dependencies": {},
|
|
43
|
-
"typesPublisherContentHash": "
|
|
43
|
+
"typesPublisherContentHash": "02eb8fd2b83bc013408a1321dfaa484695151768bef6f822a54d2c82759fae58",
|
|
44
44
|
"typeScriptVersion": "3.8"
|
|
45
45
|
}
|