@types/office-js 1.0.278 → 1.0.280
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 +68 -634
- 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:
|
|
11
|
+
* Last updated: Tue, 13 Sep 2022 20:32:50 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
|
|
14
14
|
|
office-js/index.d.ts
CHANGED
|
@@ -8768,7 +8768,7 @@ declare namespace Office {
|
|
|
8768
8768
|
ThreeColumns = "ThreeColumns"
|
|
8769
8769
|
}
|
|
8770
8770
|
/**
|
|
8771
|
-
* Specifies the type of recipient
|
|
8771
|
+
* Specifies the type of recipient of a message or appointment.
|
|
8772
8772
|
*
|
|
8773
8773
|
* @remarks
|
|
8774
8774
|
* [Api set: Mailbox 1.1]
|
|
@@ -8782,19 +8782,20 @@ declare namespace Office {
|
|
|
8782
8782
|
*/
|
|
8783
8783
|
enum RecipientType {
|
|
8784
8784
|
/**
|
|
8785
|
-
* Specifies
|
|
8785
|
+
* Specifies the recipient is a distribution list containing a list of email addresses.
|
|
8786
8786
|
*/
|
|
8787
8787
|
DistributionList = "distributionList",
|
|
8788
8788
|
/**
|
|
8789
|
-
* Specifies
|
|
8789
|
+
* Specifies the recipient is an SMTP email address on the Exchange server.
|
|
8790
8790
|
*/
|
|
8791
8791
|
User = "user",
|
|
8792
8792
|
/**
|
|
8793
|
-
* Specifies
|
|
8793
|
+
* Specifies the recipient is an SMTP email address that isn't on the Exchange server.
|
|
8794
8794
|
*/
|
|
8795
8795
|
ExternalUser = "externalUser",
|
|
8796
8796
|
/**
|
|
8797
|
-
* Specifies
|
|
8797
|
+
* Specifies the recipient isn't one of the other recipient types. It also refers to a recipient that isn't resolved against the Exchange address book,
|
|
8798
|
+
* and is therefore treated as an external SMTP address.
|
|
8798
8799
|
*/
|
|
8799
8800
|
Other = "other"
|
|
8800
8801
|
}
|
|
@@ -75698,16 +75699,7 @@ declare namespace Word {
|
|
|
75698
75699
|
*
|
|
75699
75700
|
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', 'After', or 'Content'.
|
|
75700
75701
|
*/
|
|
75701
|
-
getRange(rangeLocation?: Word.RangeLocation): Word.Range;
|
|
75702
|
-
/**
|
|
75703
|
-
* Gets the whole body, or the starting or ending point of the body, as a range.
|
|
75704
|
-
*
|
|
75705
|
-
* @remarks
|
|
75706
|
-
* [Api set: WordApi 1.3]
|
|
75707
|
-
*
|
|
75708
|
-
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', 'After', or 'Content'.
|
|
75709
|
-
*/
|
|
75710
|
-
getRange(rangeLocation?: "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
|
|
75702
|
+
getRange(rangeLocation?: Word.RangeLocation.whole | Word.RangeLocation.start | Word.RangeLocation.end | Word.RangeLocation.after | Word.RangeLocation.content | "Whole" | "Start" | "End" | "After" | "Content"): Word.Range;
|
|
75711
75703
|
/**
|
|
75712
75704
|
* Gets reviewed text based on ChangeTrackingVersion selection.
|
|
75713
75705
|
*
|
|
@@ -75735,17 +75727,7 @@ declare namespace Word {
|
|
|
75735
75727
|
* @param breakType Required. The break type to add to the body.
|
|
75736
75728
|
* @param insertLocation Required. The value must be 'Start' or 'End'.
|
|
75737
75729
|
*/
|
|
75738
|
-
insertBreak(breakType: Word.BreakType, insertLocation: Word.InsertLocation): void;
|
|
75739
|
-
/**
|
|
75740
|
-
* Inserts a break at the specified location in the main document.
|
|
75741
|
-
*
|
|
75742
|
-
* @remarks
|
|
75743
|
-
* [Api set: WordApi 1.1]
|
|
75744
|
-
*
|
|
75745
|
-
* @param breakType Required. The break type to add to the body.
|
|
75746
|
-
* @param insertLocation Required. The value must be 'Start' or 'End'.
|
|
75747
|
-
*/
|
|
75748
|
-
insertBreak(breakType: "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): void;
|
|
75730
|
+
insertBreak(breakType: Word.BreakType | "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: Word.InsertLocation.start | Word.InsertLocation.end | "Start" | "End"): void;
|
|
75749
75731
|
/**
|
|
75750
75732
|
* Wraps the body object with a Rich Text content control.
|
|
75751
75733
|
*
|
|
@@ -75762,27 +75744,7 @@ declare namespace Word {
|
|
|
75762
75744
|
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
75763
75745
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
75764
75746
|
*/
|
|
75765
|
-
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
75766
|
-
/**
|
|
75767
|
-
* Inserts a document into the body at the specified location.
|
|
75768
|
-
*
|
|
75769
|
-
* @remarks
|
|
75770
|
-
* [Api set: WordApi 1.1]
|
|
75771
|
-
*
|
|
75772
|
-
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
75773
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
75774
|
-
*/
|
|
75775
|
-
insertFileFromBase64(base64File: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
75776
|
-
/**
|
|
75777
|
-
* Inserts HTML at the specified location.
|
|
75778
|
-
*
|
|
75779
|
-
* @remarks
|
|
75780
|
-
* [Api set: WordApi 1.1]
|
|
75781
|
-
*
|
|
75782
|
-
* @param html Required. The HTML to be inserted in the document.
|
|
75783
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
75784
|
-
*/
|
|
75785
|
-
insertHtml(html: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
75747
|
+
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
|
|
75786
75748
|
/**
|
|
75787
75749
|
* Inserts HTML at the specified location.
|
|
75788
75750
|
*
|
|
@@ -75792,17 +75754,7 @@ declare namespace Word {
|
|
|
75792
75754
|
* @param html Required. The HTML to be inserted in the document.
|
|
75793
75755
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
75794
75756
|
*/
|
|
75795
|
-
insertHtml(html: string, insertLocation:
|
|
75796
|
-
/**
|
|
75797
|
-
* Inserts a picture into the body at the specified location.
|
|
75798
|
-
*
|
|
75799
|
-
* @remarks
|
|
75800
|
-
* [Api set: WordApi 1.2]
|
|
75801
|
-
*
|
|
75802
|
-
* @param base64EncodedImage Required. The base64 encoded image to be inserted in the body.
|
|
75803
|
-
* @param insertLocation Required. The value must be 'Start' or 'End'.
|
|
75804
|
-
*/
|
|
75805
|
-
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation): Word.InlinePicture;
|
|
75757
|
+
insertHtml(html: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
|
|
75806
75758
|
/**
|
|
75807
75759
|
* Inserts a picture into the body at the specified location.
|
|
75808
75760
|
*
|
|
@@ -75812,17 +75764,7 @@ declare namespace Word {
|
|
|
75812
75764
|
* @param base64EncodedImage Required. The base64 encoded image to be inserted in the body.
|
|
75813
75765
|
* @param insertLocation Required. The value must be 'Start' or 'End'.
|
|
75814
75766
|
*/
|
|
75815
|
-
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation:
|
|
75816
|
-
/**
|
|
75817
|
-
* Inserts OOXML at the specified location.
|
|
75818
|
-
*
|
|
75819
|
-
* @remarks
|
|
75820
|
-
* [Api set: WordApi 1.1]
|
|
75821
|
-
*
|
|
75822
|
-
* @param ooxml Required. The OOXML to be inserted.
|
|
75823
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
75824
|
-
*/
|
|
75825
|
-
insertOoxml(ooxml: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
75767
|
+
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation.start | Word.InsertLocation.end | "Start" | "End"): Word.InlinePicture;
|
|
75826
75768
|
/**
|
|
75827
75769
|
* Inserts OOXML at the specified location.
|
|
75828
75770
|
*
|
|
@@ -75832,17 +75774,7 @@ declare namespace Word {
|
|
|
75832
75774
|
* @param ooxml Required. The OOXML to be inserted.
|
|
75833
75775
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
75834
75776
|
*/
|
|
75835
|
-
insertOoxml(ooxml: string, insertLocation:
|
|
75836
|
-
/**
|
|
75837
|
-
* Inserts a paragraph at the specified location.
|
|
75838
|
-
*
|
|
75839
|
-
* @remarks
|
|
75840
|
-
* [Api set: WordApi 1.1]
|
|
75841
|
-
*
|
|
75842
|
-
* @param paragraphText Required. The paragraph text to be inserted.
|
|
75843
|
-
* @param insertLocation Required. The value must be 'Start' or 'End'.
|
|
75844
|
-
*/
|
|
75845
|
-
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
|
|
75777
|
+
insertOoxml(ooxml: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
|
|
75846
75778
|
/**
|
|
75847
75779
|
* Inserts a paragraph at the specified location.
|
|
75848
75780
|
*
|
|
@@ -75852,7 +75784,7 @@ declare namespace Word {
|
|
|
75852
75784
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
75853
75785
|
* @param insertLocation Required. The value must be 'Start' or 'End'.
|
|
75854
75786
|
*/
|
|
75855
|
-
insertParagraph(paragraphText: string, insertLocation:
|
|
75787
|
+
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation.start | Word.InsertLocation.end | "Start" | "End"): Word.Paragraph;
|
|
75856
75788
|
/**
|
|
75857
75789
|
* Inserts a table with the specified number of rows and columns.
|
|
75858
75790
|
*
|
|
@@ -75864,29 +75796,7 @@ declare namespace Word {
|
|
|
75864
75796
|
* @param insertLocation Required. The value must be 'Start' or 'End'.
|
|
75865
75797
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
75866
75798
|
*/
|
|
75867
|
-
insertTable(rowCount: number, columnCount: number, insertLocation: Word.InsertLocation, values?: string[][]): Word.Table;
|
|
75868
|
-
/**
|
|
75869
|
-
* Inserts a table with the specified number of rows and columns.
|
|
75870
|
-
*
|
|
75871
|
-
* @remarks
|
|
75872
|
-
* [Api set: WordApi 1.3]
|
|
75873
|
-
*
|
|
75874
|
-
* @param rowCount Required. The number of rows in the table.
|
|
75875
|
-
* @param columnCount Required. The number of columns in the table.
|
|
75876
|
-
* @param insertLocation Required. The value must be 'Start' or 'End'.
|
|
75877
|
-
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
75878
|
-
*/
|
|
75879
|
-
insertTable(rowCount: number, columnCount: number, insertLocation: "Before" | "After" | "Start" | "End" | "Replace", values?: string[][]): Word.Table;
|
|
75880
|
-
/**
|
|
75881
|
-
* Inserts text into the body at the specified location.
|
|
75882
|
-
*
|
|
75883
|
-
* @remarks
|
|
75884
|
-
* [Api set: WordApi 1.1]
|
|
75885
|
-
*
|
|
75886
|
-
* @param text Required. Text to be inserted.
|
|
75887
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
75888
|
-
*/
|
|
75889
|
-
insertText(text: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
75799
|
+
insertTable(rowCount: number, columnCount: number, insertLocation: Word.InsertLocation.start | Word.InsertLocation.end | "Start" | "End", values?: string[][]): Word.Table;
|
|
75890
75800
|
/**
|
|
75891
75801
|
* Inserts text into the body at the specified location.
|
|
75892
75802
|
*
|
|
@@ -75896,7 +75806,7 @@ declare namespace Word {
|
|
|
75896
75806
|
* @param text Required. Text to be inserted.
|
|
75897
75807
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
75898
75808
|
*/
|
|
75899
|
-
insertText(text: string, insertLocation:
|
|
75809
|
+
insertText(text: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
|
|
75900
75810
|
/**
|
|
75901
75811
|
* Performs a search with the specified SearchOptions on the scope of the body object. The search results are a collection of range objects.
|
|
75902
75812
|
*
|
|
@@ -76124,15 +76034,6 @@ declare namespace Word {
|
|
|
76124
76034
|
* [Api set: WordApiOnline 1.1]
|
|
76125
76035
|
*/
|
|
76126
76036
|
getFirstOrNullObject(): Word.Comment;
|
|
76127
|
-
/**
|
|
76128
|
-
* Gets a comment object by its index in the collection.
|
|
76129
|
-
*
|
|
76130
|
-
* @remarks
|
|
76131
|
-
* [Api set: WordApiOnline 1.1]
|
|
76132
|
-
*
|
|
76133
|
-
* @param index A number that identifies the index location of a comment object.
|
|
76134
|
-
*/
|
|
76135
|
-
getItem(index: number): Word.Comment;
|
|
76136
76037
|
/**
|
|
76137
76038
|
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
76138
76039
|
*
|
|
@@ -76236,19 +76137,9 @@ declare namespace Word {
|
|
|
76236
76137
|
* [Api set: WordApiOnline 1.1]
|
|
76237
76138
|
*
|
|
76238
76139
|
* @param text Required. The text to be inserted in to the CommentContentRange.
|
|
76239
|
-
* @param insertLocation Required. The value must be '
|
|
76240
|
-
*/
|
|
76241
|
-
insertText(text: string, insertLocation: Word.InsertLocation): Word.CommentContentRange;
|
|
76242
|
-
/**
|
|
76243
|
-
* Inserts text into at the specified location. **Note**: For the modern comment, the content range tracked across context turns to empty if any revision to the comment is posted through the UI.
|
|
76244
|
-
*
|
|
76245
|
-
* @remarks
|
|
76246
|
-
* [Api set: WordApiOnline 1.1]
|
|
76247
|
-
*
|
|
76248
|
-
* @param text Required. The text to be inserted in to the CommentContentRange.
|
|
76249
|
-
* @param insertLocation Required. The value must be 'After', 'Before', 'Replace', 'Start', or 'End'.
|
|
76140
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
76250
76141
|
*/
|
|
76251
|
-
insertText(text: string, insertLocation:
|
|
76142
|
+
insertText(text: string, insertLocation: Word.InsertLocation | "Replace" | "Start" | "End" | "Before" | "After"): Word.CommentContentRange;
|
|
76252
76143
|
/**
|
|
76253
76144
|
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
76254
76145
|
*
|
|
@@ -76417,15 +76308,6 @@ declare namespace Word {
|
|
|
76417
76308
|
* [Api set: WordApiOnline 1.1]
|
|
76418
76309
|
*/
|
|
76419
76310
|
getFirstOrNullObject(): Word.CommentReply;
|
|
76420
|
-
/**
|
|
76421
|
-
* Gets a comment reply object by its index in the collection.
|
|
76422
|
-
*
|
|
76423
|
-
* @remarks
|
|
76424
|
-
* [Api set: WordApiOnline 1.1]
|
|
76425
|
-
*
|
|
76426
|
-
* @param index A number that identifies the index location of a comment reply object.
|
|
76427
|
-
*/
|
|
76428
|
-
getItem(index: number): Word.CommentReply;
|
|
76429
76311
|
/**
|
|
76430
76312
|
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
76431
76313
|
*
|
|
@@ -76722,18 +76604,9 @@ declare namespace Word {
|
|
|
76722
76604
|
* @remarks
|
|
76723
76605
|
* [Api set: WordApi 1.3]
|
|
76724
76606
|
*
|
|
76725
|
-
* @param rangeLocation Optional. The range location must be 'Whole', '
|
|
76726
|
-
*/
|
|
76727
|
-
getRange(rangeLocation?: Word.RangeLocation): Word.Range;
|
|
76728
|
-
/**
|
|
76729
|
-
* Gets the whole content control, or the starting or ending point of the content control, as a range.
|
|
76730
|
-
*
|
|
76731
|
-
* @remarks
|
|
76732
|
-
* [Api set: WordApi 1.3]
|
|
76733
|
-
*
|
|
76734
|
-
* @param rangeLocation Optional. The range location must be 'Whole', 'Before', 'Start', 'End', 'After', or 'Content'.
|
|
76607
|
+
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', 'Before', 'After', or 'Content'.
|
|
76735
76608
|
*/
|
|
76736
|
-
getRange(rangeLocation?: "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
|
|
76609
|
+
getRange(rangeLocation?: Word.RangeLocation | "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
|
|
76737
76610
|
/**
|
|
76738
76611
|
* Gets reviewed text based on ChangeTrackingVersion selection.
|
|
76739
76612
|
*
|
|
@@ -76771,17 +76644,7 @@ declare namespace Word {
|
|
|
76771
76644
|
* @param breakType Required. Type of break.
|
|
76772
76645
|
* @param insertLocation Required. The value must be 'Start', 'End', 'Before', or 'After'.
|
|
76773
76646
|
*/
|
|
76774
|
-
insertBreak(breakType: Word.BreakType, insertLocation: Word.InsertLocation): void;
|
|
76775
|
-
/**
|
|
76776
|
-
* Inserts a break at the specified location in the main document. This method cannot be used with 'RichTextTable', 'RichTextTableRow' and 'RichTextTableCell' content controls.
|
|
76777
|
-
*
|
|
76778
|
-
* @remarks
|
|
76779
|
-
* [Api set: WordApi 1.1]
|
|
76780
|
-
*
|
|
76781
|
-
* @param breakType Required. Type of break.
|
|
76782
|
-
* @param insertLocation Required. The value must be 'Start', 'End', 'Before', or 'After'.
|
|
76783
|
-
*/
|
|
76784
|
-
insertBreak(breakType: "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): void;
|
|
76647
|
+
insertBreak(breakType: Word.BreakType | "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: Word.InsertLocation.start | Word.InsertLocation.end | Word.InsertLocation.before | Word.InsertLocation.after | "Start" | "End" | "Before" | "After"): void;
|
|
76785
76648
|
/**
|
|
76786
76649
|
* Inserts a document into the content control at the specified location.
|
|
76787
76650
|
*
|
|
@@ -76791,27 +76654,7 @@ declare namespace Word {
|
|
|
76791
76654
|
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
76792
76655
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
76793
76656
|
*/
|
|
76794
|
-
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
76795
|
-
/**
|
|
76796
|
-
* Inserts a document into the content control at the specified location.
|
|
76797
|
-
*
|
|
76798
|
-
* @remarks
|
|
76799
|
-
* [Api set: WordApi 1.1]
|
|
76800
|
-
*
|
|
76801
|
-
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
76802
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
76803
|
-
*/
|
|
76804
|
-
insertFileFromBase64(base64File: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
76805
|
-
/**
|
|
76806
|
-
* Inserts HTML into the content control at the specified location.
|
|
76807
|
-
*
|
|
76808
|
-
* @remarks
|
|
76809
|
-
* [Api set: WordApi 1.1]
|
|
76810
|
-
*
|
|
76811
|
-
* @param html Required. The HTML to be inserted in to the content control.
|
|
76812
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
76813
|
-
*/
|
|
76814
|
-
insertHtml(html: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
76657
|
+
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
|
|
76815
76658
|
/**
|
|
76816
76659
|
* Inserts HTML into the content control at the specified location.
|
|
76817
76660
|
*
|
|
@@ -76821,17 +76664,7 @@ declare namespace Word {
|
|
|
76821
76664
|
* @param html Required. The HTML to be inserted in to the content control.
|
|
76822
76665
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
76823
76666
|
*/
|
|
76824
|
-
insertHtml(html: string, insertLocation:
|
|
76825
|
-
/**
|
|
76826
|
-
* Inserts an inline picture into the content control at the specified location.
|
|
76827
|
-
*
|
|
76828
|
-
* @remarks
|
|
76829
|
-
* [Api set: WordApi 1.2]
|
|
76830
|
-
*
|
|
76831
|
-
* @param base64EncodedImage Required. The base64 encoded image to be inserted in the content control.
|
|
76832
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
76833
|
-
*/
|
|
76834
|
-
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation): Word.InlinePicture;
|
|
76667
|
+
insertHtml(html: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
|
|
76835
76668
|
/**
|
|
76836
76669
|
* Inserts an inline picture into the content control at the specified location.
|
|
76837
76670
|
*
|
|
@@ -76841,17 +76674,7 @@ declare namespace Word {
|
|
|
76841
76674
|
* @param base64EncodedImage Required. The base64 encoded image to be inserted in the content control.
|
|
76842
76675
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
76843
76676
|
*/
|
|
76844
|
-
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation:
|
|
76845
|
-
/**
|
|
76846
|
-
* Inserts OOXML into the content control at the specified location.
|
|
76847
|
-
*
|
|
76848
|
-
* @remarks
|
|
76849
|
-
* [Api set: WordApi 1.1]
|
|
76850
|
-
*
|
|
76851
|
-
* @param ooxml Required. The OOXML to be inserted in to the content control.
|
|
76852
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
76853
|
-
*/
|
|
76854
|
-
insertOoxml(ooxml: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
76677
|
+
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.InlinePicture;
|
|
76855
76678
|
/**
|
|
76856
76679
|
* Inserts OOXML into the content control at the specified location.
|
|
76857
76680
|
*
|
|
@@ -76861,7 +76684,7 @@ declare namespace Word {
|
|
|
76861
76684
|
* @param ooxml Required. The OOXML to be inserted in to the content control.
|
|
76862
76685
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
76863
76686
|
*/
|
|
76864
|
-
insertOoxml(ooxml: string, insertLocation:
|
|
76687
|
+
insertOoxml(ooxml: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
|
|
76865
76688
|
/**
|
|
76866
76689
|
* Inserts a paragraph at the specified location.
|
|
76867
76690
|
*
|
|
@@ -76871,29 +76694,7 @@ declare namespace Word {
|
|
|
76871
76694
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
76872
76695
|
* @param insertLocation Required. The value must be 'Start', 'End', 'Before', or 'After'. 'Before' and 'After' cannot be used with 'RichTextTable', 'RichTextTableRow' and 'RichTextTableCell' content controls.
|
|
76873
76696
|
*/
|
|
76874
|
-
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
|
|
76875
|
-
/**
|
|
76876
|
-
* Inserts a paragraph at the specified location.
|
|
76877
|
-
*
|
|
76878
|
-
* @remarks
|
|
76879
|
-
* [Api set: WordApi 1.1]
|
|
76880
|
-
*
|
|
76881
|
-
* @param paragraphText Required. The paragraph text to be inserted.
|
|
76882
|
-
* @param insertLocation Required. The value must be 'Start', 'End', 'Before', or 'After'. 'Before' and 'After' cannot be used with 'RichTextTable', 'RichTextTableRow' and 'RichTextTableCell' content controls.
|
|
76883
|
-
*/
|
|
76884
|
-
insertParagraph(paragraphText: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Paragraph;
|
|
76885
|
-
/**
|
|
76886
|
-
* Inserts a table with the specified number of rows and columns into, or next to, a content control.
|
|
76887
|
-
*
|
|
76888
|
-
* @remarks
|
|
76889
|
-
* [Api set: WordApi 1.3]
|
|
76890
|
-
*
|
|
76891
|
-
* @param rowCount Required. The number of rows in the table.
|
|
76892
|
-
* @param columnCount Required. The number of columns in the table.
|
|
76893
|
-
* @param insertLocation Required. The value must be 'Start', 'End', 'Before', or 'After'. 'Before' and 'After' cannot be used with 'RichTextTable', 'RichTextTableRow' and 'RichTextTableCell' content controls.
|
|
76894
|
-
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
76895
|
-
*/
|
|
76896
|
-
insertTable(rowCount: number, columnCount: number, insertLocation: Word.InsertLocation, values?: string[][]): Word.Table;
|
|
76697
|
+
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation.start | Word.InsertLocation.end | Word.InsertLocation.before | Word.InsertLocation.after | "Start" | "End" | "Before" | "After"): Word.Paragraph;
|
|
76897
76698
|
/**
|
|
76898
76699
|
* Inserts a table with the specified number of rows and columns into, or next to, a content control.
|
|
76899
76700
|
*
|
|
@@ -76905,7 +76706,7 @@ declare namespace Word {
|
|
|
76905
76706
|
* @param insertLocation Required. The value must be 'Start', 'End', 'Before', or 'After'. 'Before' and 'After' cannot be used with 'RichTextTable', 'RichTextTableRow' and 'RichTextTableCell' content controls.
|
|
76906
76707
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
76907
76708
|
*/
|
|
76908
|
-
insertTable(rowCount: number, columnCount: number, insertLocation:
|
|
76709
|
+
insertTable(rowCount: number, columnCount: number, insertLocation: Word.InsertLocation.start | Word.InsertLocation.end | Word.InsertLocation.before | Word.InsertLocation.after | "Start" | "End" | "Before" | "After", values?: string[][]): Word.Table;
|
|
76909
76710
|
/**
|
|
76910
76711
|
* Inserts text into the content control at the specified location.
|
|
76911
76712
|
*
|
|
@@ -76915,17 +76716,7 @@ declare namespace Word {
|
|
|
76915
76716
|
* @param text Required. The text to be inserted in to the content control.
|
|
76916
76717
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
76917
76718
|
*/
|
|
76918
|
-
insertText(text: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
76919
|
-
/**
|
|
76920
|
-
* Inserts text into the content control at the specified location.
|
|
76921
|
-
*
|
|
76922
|
-
* @remarks
|
|
76923
|
-
* [Api set: WordApi 1.1]
|
|
76924
|
-
*
|
|
76925
|
-
* @param text Required. The text to be inserted in to the content control.
|
|
76926
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
76927
|
-
*/
|
|
76928
|
-
insertText(text: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
76719
|
+
insertText(text: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
|
|
76929
76720
|
/**
|
|
76930
76721
|
* Performs a search with the specified SearchOptions on the scope of the content control object. The search results are a collection of range objects.
|
|
76931
76722
|
*
|
|
@@ -77080,14 +76871,14 @@ declare namespace Word {
|
|
|
77080
76871
|
*/
|
|
77081
76872
|
getFirstOrNullObject(): Word.ContentControl;
|
|
77082
76873
|
/**
|
|
77083
|
-
* Gets a content control by its
|
|
76874
|
+
* Gets a content control by its ID.
|
|
77084
76875
|
*
|
|
77085
76876
|
* @remarks
|
|
77086
76877
|
* [Api set: WordApi 1.1]
|
|
77087
76878
|
*
|
|
77088
|
-
* @param
|
|
76879
|
+
* @param id The content control's ID.
|
|
77089
76880
|
*/
|
|
77090
|
-
getItem(
|
|
76881
|
+
getItem(id: number): Word.ContentControl;
|
|
77091
76882
|
/**
|
|
77092
76883
|
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
77093
76884
|
*
|
|
@@ -77977,26 +77768,7 @@ declare namespace Word {
|
|
|
77977
77768
|
*
|
|
77978
77769
|
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', or 'End'.
|
|
77979
77770
|
*/
|
|
77980
|
-
getRange(rangeLocation?: Word.RangeLocation): Word.Range;
|
|
77981
|
-
/**
|
|
77982
|
-
* Gets the picture, or the starting or ending point of the picture, as a range.
|
|
77983
|
-
*
|
|
77984
|
-
* @remarks
|
|
77985
|
-
* [Api set: WordApi 1.3]
|
|
77986
|
-
*
|
|
77987
|
-
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', or 'End'.
|
|
77988
|
-
*/
|
|
77989
|
-
getRange(rangeLocation?: "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
|
|
77990
|
-
/**
|
|
77991
|
-
* Inserts a break at the specified location in the main document.
|
|
77992
|
-
*
|
|
77993
|
-
* @remarks
|
|
77994
|
-
* [Api set: WordApi 1.2]
|
|
77995
|
-
*
|
|
77996
|
-
* @param breakType Required. The break type to add.
|
|
77997
|
-
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
77998
|
-
*/
|
|
77999
|
-
insertBreak(breakType: Word.BreakType, insertLocation: Word.InsertLocation): void;
|
|
77771
|
+
getRange(rangeLocation?: Word.RangeLocation.whole | Word.RangeLocation.start | Word.RangeLocation.end | "Whole" | "Start" | "End"): Word.Range;
|
|
78000
77772
|
/**
|
|
78001
77773
|
* Inserts a break at the specified location in the main document.
|
|
78002
77774
|
*
|
|
@@ -78006,7 +77778,7 @@ declare namespace Word {
|
|
|
78006
77778
|
* @param breakType Required. The break type to add.
|
|
78007
77779
|
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
78008
77780
|
*/
|
|
78009
|
-
insertBreak(breakType: "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation:
|
|
77781
|
+
insertBreak(breakType: Word.BreakType | "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After"): void;
|
|
78010
77782
|
/**
|
|
78011
77783
|
* Wraps the inline picture with a rich text content control.
|
|
78012
77784
|
*
|
|
@@ -78023,27 +77795,7 @@ declare namespace Word {
|
|
|
78023
77795
|
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
78024
77796
|
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
78025
77797
|
*/
|
|
78026
|
-
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
78027
|
-
/**
|
|
78028
|
-
* Inserts a document at the specified location.
|
|
78029
|
-
*
|
|
78030
|
-
* @remarks
|
|
78031
|
-
* [Api set: WordApi 1.2]
|
|
78032
|
-
*
|
|
78033
|
-
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
78034
|
-
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
78035
|
-
*/
|
|
78036
|
-
insertFileFromBase64(base64File: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
78037
|
-
/**
|
|
78038
|
-
* Inserts HTML at the specified location.
|
|
78039
|
-
*
|
|
78040
|
-
* @remarks
|
|
78041
|
-
* [Api set: WordApi 1.2]
|
|
78042
|
-
*
|
|
78043
|
-
* @param html Required. The HTML to be inserted.
|
|
78044
|
-
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
78045
|
-
*/
|
|
78046
|
-
insertHtml(html: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
77798
|
+
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After"): Word.Range;
|
|
78047
77799
|
/**
|
|
78048
77800
|
* Inserts HTML at the specified location.
|
|
78049
77801
|
*
|
|
@@ -78053,7 +77805,7 @@ declare namespace Word {
|
|
|
78053
77805
|
* @param html Required. The HTML to be inserted.
|
|
78054
77806
|
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
78055
77807
|
*/
|
|
78056
|
-
insertHtml(html: string, insertLocation:
|
|
77808
|
+
insertHtml(html: string, insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After"): Word.Range;
|
|
78057
77809
|
/**
|
|
78058
77810
|
* Inserts an inline picture at the specified location.
|
|
78059
77811
|
*
|
|
@@ -78063,27 +77815,7 @@ declare namespace Word {
|
|
|
78063
77815
|
* @param base64EncodedImage Required. The base64 encoded image to be inserted.
|
|
78064
77816
|
* @param insertLocation Required. The value must be 'Replace', 'Before', or 'After'.
|
|
78065
77817
|
*/
|
|
78066
|
-
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation): Word.InlinePicture;
|
|
78067
|
-
/**
|
|
78068
|
-
* Inserts an inline picture at the specified location.
|
|
78069
|
-
*
|
|
78070
|
-
* @remarks
|
|
78071
|
-
* [Api set: WordApi 1.2]
|
|
78072
|
-
*
|
|
78073
|
-
* @param base64EncodedImage Required. The base64 encoded image to be inserted.
|
|
78074
|
-
* @param insertLocation Required. The value must be 'Replace', 'Before', or 'After'.
|
|
78075
|
-
*/
|
|
78076
|
-
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.InlinePicture;
|
|
78077
|
-
/**
|
|
78078
|
-
* Inserts OOXML at the specified location.
|
|
78079
|
-
*
|
|
78080
|
-
* @remarks
|
|
78081
|
-
* [Api set: WordApi 1.2]
|
|
78082
|
-
*
|
|
78083
|
-
* @param ooxml Required. The OOXML to be inserted.
|
|
78084
|
-
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
78085
|
-
*/
|
|
78086
|
-
insertOoxml(ooxml: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
77818
|
+
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.before | Word.InsertLocation.after | "Replace" | "Before" | "After"): Word.InlinePicture;
|
|
78087
77819
|
/**
|
|
78088
77820
|
* Inserts OOXML at the specified location.
|
|
78089
77821
|
*
|
|
@@ -78093,7 +77825,7 @@ declare namespace Word {
|
|
|
78093
77825
|
* @param ooxml Required. The OOXML to be inserted.
|
|
78094
77826
|
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
78095
77827
|
*/
|
|
78096
|
-
insertOoxml(ooxml: string, insertLocation:
|
|
77828
|
+
insertOoxml(ooxml: string, insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After"): Word.Range;
|
|
78097
77829
|
/**
|
|
78098
77830
|
* Inserts a paragraph at the specified location.
|
|
78099
77831
|
*
|
|
@@ -78103,27 +77835,7 @@ declare namespace Word {
|
|
|
78103
77835
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
78104
77836
|
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
78105
77837
|
*/
|
|
78106
|
-
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
|
|
78107
|
-
/**
|
|
78108
|
-
* Inserts a paragraph at the specified location.
|
|
78109
|
-
*
|
|
78110
|
-
* @remarks
|
|
78111
|
-
* [Api set: WordApi 1.2]
|
|
78112
|
-
*
|
|
78113
|
-
* @param paragraphText Required. The paragraph text to be inserted.
|
|
78114
|
-
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
78115
|
-
*/
|
|
78116
|
-
insertParagraph(paragraphText: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Paragraph;
|
|
78117
|
-
/**
|
|
78118
|
-
* Inserts text at the specified location.
|
|
78119
|
-
*
|
|
78120
|
-
* @remarks
|
|
78121
|
-
* [Api set: WordApi 1.2]
|
|
78122
|
-
*
|
|
78123
|
-
* @param text Required. Text to be inserted.
|
|
78124
|
-
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
78125
|
-
*/
|
|
78126
|
-
insertText(text: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
77838
|
+
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After"): Word.Paragraph;
|
|
78127
77839
|
/**
|
|
78128
77840
|
* Inserts text at the specified location.
|
|
78129
77841
|
*
|
|
@@ -78133,7 +77845,7 @@ declare namespace Word {
|
|
|
78133
77845
|
* @param text Required. Text to be inserted.
|
|
78134
77846
|
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
78135
77847
|
*/
|
|
78136
|
-
insertText(text: string, insertLocation:
|
|
77848
|
+
insertText(text: string, insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After"): Word.Range;
|
|
78137
77849
|
/**
|
|
78138
77850
|
* Selects the inline picture. This causes Word to scroll to the selection.
|
|
78139
77851
|
*
|
|
@@ -78308,17 +78020,7 @@ declare namespace Word {
|
|
|
78308
78020
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
78309
78021
|
* @param insertLocation Required. The value must be 'Start', 'End', 'Before', or 'After'.
|
|
78310
78022
|
*/
|
|
78311
|
-
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
|
|
78312
|
-
/**
|
|
78313
|
-
* Inserts a paragraph at the specified location.
|
|
78314
|
-
*
|
|
78315
|
-
* @remarks
|
|
78316
|
-
* [Api set: WordApi 1.3]
|
|
78317
|
-
*
|
|
78318
|
-
* @param paragraphText Required. The paragraph text to be inserted.
|
|
78319
|
-
* @param insertLocation Required. The value must be 'Start', 'End', 'Before', or 'After'.
|
|
78320
|
-
*/
|
|
78321
|
-
insertParagraph(paragraphText: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Paragraph;
|
|
78023
|
+
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation.start | Word.InsertLocation.end | Word.InsertLocation.before | Word.InsertLocation.after | "Start" | "End" | "Before" | "After"): Word.Paragraph;
|
|
78322
78024
|
/**
|
|
78323
78025
|
* Sets the alignment of the bullet, number, or picture at the specified level in the list.
|
|
78324
78026
|
*
|
|
@@ -78485,14 +78187,14 @@ declare namespace Word {
|
|
|
78485
78187
|
*/
|
|
78486
78188
|
getFirstOrNullObject(): Word.List;
|
|
78487
78189
|
/**
|
|
78488
|
-
* Gets a list object by its
|
|
78190
|
+
* Gets a list object by its ID.
|
|
78489
78191
|
*
|
|
78490
78192
|
* @remarks
|
|
78491
78193
|
* [Api set: WordApi 1.3]
|
|
78492
78194
|
*
|
|
78493
|
-
* @param
|
|
78195
|
+
* @param id The list's ID.
|
|
78494
78196
|
*/
|
|
78495
|
-
getItem(
|
|
78197
|
+
getItem(id: number): Word.List;
|
|
78496
78198
|
/**
|
|
78497
78199
|
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
78498
78200
|
*
|
|
@@ -79105,16 +78807,7 @@ declare namespace Word {
|
|
|
79105
78807
|
*
|
|
79106
78808
|
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', 'After', or 'Content'.
|
|
79107
78809
|
*/
|
|
79108
|
-
getRange(rangeLocation?: Word.RangeLocation): Word.Range;
|
|
79109
|
-
/**
|
|
79110
|
-
* Gets the whole paragraph, or the starting or ending point of the paragraph, as a range.
|
|
79111
|
-
*
|
|
79112
|
-
* @remarks
|
|
79113
|
-
* [Api set: WordApi 1.3]
|
|
79114
|
-
*
|
|
79115
|
-
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', 'After', or 'Content'.
|
|
79116
|
-
*/
|
|
79117
|
-
getRange(rangeLocation?: "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
|
|
78810
|
+
getRange(rangeLocation?: Word.RangeLocation.whole | Word.RangeLocation.start | Word.RangeLocation.end | Word.RangeLocation.after | Word.RangeLocation.content | "Whole" | "Start" | "End" | "After" | "Content"): Word.Range;
|
|
79118
78811
|
/**
|
|
79119
78812
|
* Gets reviewed text based on ChangeTrackingVersion selection.
|
|
79120
78813
|
*
|
|
@@ -79152,17 +78845,7 @@ declare namespace Word {
|
|
|
79152
78845
|
* @param breakType Required. The break type to add to the document.
|
|
79153
78846
|
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
79154
78847
|
*/
|
|
79155
|
-
insertBreak(breakType: Word.BreakType, insertLocation: Word.InsertLocation): void;
|
|
79156
|
-
/**
|
|
79157
|
-
* Inserts a break at the specified location in the main document.
|
|
79158
|
-
*
|
|
79159
|
-
* @remarks
|
|
79160
|
-
* [Api set: WordApi 1.1]
|
|
79161
|
-
*
|
|
79162
|
-
* @param breakType Required. The break type to add to the document.
|
|
79163
|
-
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
79164
|
-
*/
|
|
79165
|
-
insertBreak(breakType: "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): void;
|
|
78848
|
+
insertBreak(breakType: Word.BreakType | "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After"): void;
|
|
79166
78849
|
/**
|
|
79167
78850
|
* Wraps the paragraph object with a rich text content control.
|
|
79168
78851
|
*
|
|
@@ -79179,27 +78862,7 @@ declare namespace Word {
|
|
|
79179
78862
|
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
79180
78863
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
79181
78864
|
*/
|
|
79182
|
-
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
79183
|
-
/**
|
|
79184
|
-
* Inserts a document into the paragraph at the specified location.
|
|
79185
|
-
*
|
|
79186
|
-
* @remarks
|
|
79187
|
-
* [Api set: WordApi 1.1]
|
|
79188
|
-
*
|
|
79189
|
-
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
79190
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
79191
|
-
*/
|
|
79192
|
-
insertFileFromBase64(base64File: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
79193
|
-
/**
|
|
79194
|
-
* Inserts HTML into the paragraph at the specified location.
|
|
79195
|
-
*
|
|
79196
|
-
* @remarks
|
|
79197
|
-
* [Api set: WordApi 1.1]
|
|
79198
|
-
*
|
|
79199
|
-
* @param html Required. The HTML to be inserted in the paragraph.
|
|
79200
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
79201
|
-
*/
|
|
79202
|
-
insertHtml(html: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
78865
|
+
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
|
|
79203
78866
|
/**
|
|
79204
78867
|
* Inserts HTML into the paragraph at the specified location.
|
|
79205
78868
|
*
|
|
@@ -79209,17 +78872,7 @@ declare namespace Word {
|
|
|
79209
78872
|
* @param html Required. The HTML to be inserted in the paragraph.
|
|
79210
78873
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
79211
78874
|
*/
|
|
79212
|
-
insertHtml(html: string, insertLocation:
|
|
79213
|
-
/**
|
|
79214
|
-
* Inserts a picture into the paragraph at the specified location.
|
|
79215
|
-
*
|
|
79216
|
-
* @remarks
|
|
79217
|
-
* [Api set: WordApi 1.1]
|
|
79218
|
-
*
|
|
79219
|
-
* @param base64EncodedImage Required. The base64 encoded image to be inserted.
|
|
79220
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
79221
|
-
*/
|
|
79222
|
-
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation): Word.InlinePicture;
|
|
78875
|
+
insertHtml(html: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
|
|
79223
78876
|
/**
|
|
79224
78877
|
* Inserts a picture into the paragraph at the specified location.
|
|
79225
78878
|
*
|
|
@@ -79229,17 +78882,7 @@ declare namespace Word {
|
|
|
79229
78882
|
* @param base64EncodedImage Required. The base64 encoded image to be inserted.
|
|
79230
78883
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
79231
78884
|
*/
|
|
79232
|
-
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation:
|
|
79233
|
-
/**
|
|
79234
|
-
* Inserts OOXML into the paragraph at the specified location.
|
|
79235
|
-
*
|
|
79236
|
-
* @remarks
|
|
79237
|
-
* [Api set: WordApi 1.1]
|
|
79238
|
-
*
|
|
79239
|
-
* @param ooxml Required. The OOXML to be inserted in the paragraph.
|
|
79240
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
79241
|
-
*/
|
|
79242
|
-
insertOoxml(ooxml: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
78885
|
+
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.InlinePicture;
|
|
79243
78886
|
/**
|
|
79244
78887
|
* Inserts OOXML into the paragraph at the specified location.
|
|
79245
78888
|
*
|
|
@@ -79249,7 +78892,7 @@ declare namespace Word {
|
|
|
79249
78892
|
* @param ooxml Required. The OOXML to be inserted in the paragraph.
|
|
79250
78893
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
79251
78894
|
*/
|
|
79252
|
-
insertOoxml(ooxml: string, insertLocation:
|
|
78895
|
+
insertOoxml(ooxml: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
|
|
79253
78896
|
/**
|
|
79254
78897
|
* Inserts a paragraph at the specified location.
|
|
79255
78898
|
*
|
|
@@ -79259,29 +78902,7 @@ declare namespace Word {
|
|
|
79259
78902
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
79260
78903
|
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
79261
78904
|
*/
|
|
79262
|
-
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
|
|
79263
|
-
/**
|
|
79264
|
-
* Inserts a paragraph at the specified location.
|
|
79265
|
-
*
|
|
79266
|
-
* @remarks
|
|
79267
|
-
* [Api set: WordApi 1.1]
|
|
79268
|
-
*
|
|
79269
|
-
* @param paragraphText Required. The paragraph text to be inserted.
|
|
79270
|
-
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
79271
|
-
*/
|
|
79272
|
-
insertParagraph(paragraphText: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Paragraph;
|
|
79273
|
-
/**
|
|
79274
|
-
* Inserts a table with the specified number of rows and columns.
|
|
79275
|
-
*
|
|
79276
|
-
* @remarks
|
|
79277
|
-
* [Api set: WordApi 1.3]
|
|
79278
|
-
*
|
|
79279
|
-
* @param rowCount Required. The number of rows in the table.
|
|
79280
|
-
* @param columnCount Required. The number of columns in the table.
|
|
79281
|
-
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
79282
|
-
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
79283
|
-
*/
|
|
79284
|
-
insertTable(rowCount: number, columnCount: number, insertLocation: Word.InsertLocation, values?: string[][]): Word.Table;
|
|
78905
|
+
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After"): Word.Paragraph;
|
|
79285
78906
|
/**
|
|
79286
78907
|
* Inserts a table with the specified number of rows and columns.
|
|
79287
78908
|
*
|
|
@@ -79293,17 +78914,7 @@ declare namespace Word {
|
|
|
79293
78914
|
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
79294
78915
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
79295
78916
|
*/
|
|
79296
|
-
insertTable(rowCount: number, columnCount: number, insertLocation:
|
|
79297
|
-
/**
|
|
79298
|
-
* Inserts text into the paragraph at the specified location.
|
|
79299
|
-
*
|
|
79300
|
-
* @remarks
|
|
79301
|
-
* [Api set: WordApi 1.1]
|
|
79302
|
-
*
|
|
79303
|
-
* @param text Required. Text to be inserted.
|
|
79304
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
79305
|
-
*/
|
|
79306
|
-
insertText(text: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
78917
|
+
insertTable(rowCount: number, columnCount: number, insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After", values?: string[][]): Word.Table;
|
|
79307
78918
|
/**
|
|
79308
78919
|
* Inserts text into the paragraph at the specified location.
|
|
79309
78920
|
*
|
|
@@ -79313,7 +78924,7 @@ declare namespace Word {
|
|
|
79313
78924
|
* @param text Required. Text to be inserted.
|
|
79314
78925
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
79315
78926
|
*/
|
|
79316
|
-
insertText(text: string, insertLocation:
|
|
78927
|
+
insertText(text: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
|
|
79317
78928
|
/**
|
|
79318
78929
|
* Performs a search with the specified SearchOptions on the scope of the paragraph object. The search results are a collection of range objects.
|
|
79319
78930
|
*
|
|
@@ -79729,16 +79340,7 @@ declare namespace Word {
|
|
|
79729
79340
|
*
|
|
79730
79341
|
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', 'After', or 'Content'.
|
|
79731
79342
|
*/
|
|
79732
|
-
getRange(rangeLocation?: Word.RangeLocation): Word.Range;
|
|
79733
|
-
/**
|
|
79734
|
-
* Clones the range, or gets the starting or ending point of the range as a new range.
|
|
79735
|
-
*
|
|
79736
|
-
* @remarks
|
|
79737
|
-
* [Api set: WordApi 1.3]
|
|
79738
|
-
*
|
|
79739
|
-
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', 'After', or 'Content'.
|
|
79740
|
-
*/
|
|
79741
|
-
getRange(rangeLocation?: "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
|
|
79343
|
+
getRange(rangeLocation?: Word.RangeLocation.whole | Word.RangeLocation.start | Word.RangeLocation.end | Word.RangeLocation.after | Word.RangeLocation.content | "Whole" | "Start" | "End" | "After" | "Content"): Word.Range;
|
|
79742
79344
|
/**
|
|
79743
79345
|
* Gets reviewed text based on ChangeTrackingVersion selection.
|
|
79744
79346
|
*
|
|
@@ -79776,17 +79378,7 @@ declare namespace Word {
|
|
|
79776
79378
|
* @param breakType Required. The break type to add.
|
|
79777
79379
|
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
79778
79380
|
*/
|
|
79779
|
-
insertBreak(breakType: Word.BreakType, insertLocation: Word.InsertLocation): void;
|
|
79780
|
-
/**
|
|
79781
|
-
* Inserts a break at the specified location in the main document.
|
|
79782
|
-
*
|
|
79783
|
-
* @remarks
|
|
79784
|
-
* [Api set: WordApi 1.1]
|
|
79785
|
-
*
|
|
79786
|
-
* @param breakType Required. The break type to add.
|
|
79787
|
-
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
79788
|
-
*/
|
|
79789
|
-
insertBreak(breakType: "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): void;
|
|
79381
|
+
insertBreak(breakType: Word.BreakType | "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After"): void;
|
|
79790
79382
|
/**
|
|
79791
79383
|
* Insert a comment on the range.
|
|
79792
79384
|
*
|
|
@@ -79822,17 +79414,7 @@ declare namespace Word {
|
|
|
79822
79414
|
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
79823
79415
|
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
79824
79416
|
*/
|
|
79825
|
-
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
79826
|
-
/**
|
|
79827
|
-
* Inserts a document at the specified location.
|
|
79828
|
-
*
|
|
79829
|
-
* @remarks
|
|
79830
|
-
* [Api set: WordApi 1.1]
|
|
79831
|
-
*
|
|
79832
|
-
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
79833
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
79834
|
-
*/
|
|
79835
|
-
insertFileFromBase64(base64File: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
79417
|
+
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation | "Replace" | "Start" | "End" | "Before" | "After"): Word.Range;
|
|
79836
79418
|
/**
|
|
79837
79419
|
* Inserts a footnote. The footnote reference is placed after the range.
|
|
79838
79420
|
*
|
|
@@ -79851,27 +79433,7 @@ declare namespace Word {
|
|
|
79851
79433
|
* @param html Required. The HTML to be inserted.
|
|
79852
79434
|
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
79853
79435
|
*/
|
|
79854
|
-
insertHtml(html: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
79855
|
-
/**
|
|
79856
|
-
* Inserts HTML at the specified location.
|
|
79857
|
-
*
|
|
79858
|
-
* @remarks
|
|
79859
|
-
* [Api set: WordApi 1.1]
|
|
79860
|
-
*
|
|
79861
|
-
* @param html Required. The HTML to be inserted.
|
|
79862
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
79863
|
-
*/
|
|
79864
|
-
insertHtml(html: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
79865
|
-
/**
|
|
79866
|
-
* Inserts a picture at the specified location.
|
|
79867
|
-
*
|
|
79868
|
-
* @remarks
|
|
79869
|
-
* [Api set: WordApi 1.2]
|
|
79870
|
-
*
|
|
79871
|
-
* @param base64EncodedImage Required. The base64 encoded image to be inserted.
|
|
79872
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
79873
|
-
*/
|
|
79874
|
-
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation): Word.InlinePicture;
|
|
79436
|
+
insertHtml(html: string, insertLocation: Word.InsertLocation | "Replace" | "Start" | "End" | "Before" | "After"): Word.Range;
|
|
79875
79437
|
/**
|
|
79876
79438
|
* Inserts a picture at the specified location.
|
|
79877
79439
|
*
|
|
@@ -79881,17 +79443,7 @@ declare namespace Word {
|
|
|
79881
79443
|
* @param base64EncodedImage Required. The base64 encoded image to be inserted.
|
|
79882
79444
|
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
79883
79445
|
*/
|
|
79884
|
-
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation:
|
|
79885
|
-
/**
|
|
79886
|
-
* Inserts OOXML at the specified location.
|
|
79887
|
-
*
|
|
79888
|
-
* @remarks
|
|
79889
|
-
* [Api set: WordApi 1.1]
|
|
79890
|
-
*
|
|
79891
|
-
* @param ooxml Required. The OOXML to be inserted.
|
|
79892
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
79893
|
-
*/
|
|
79894
|
-
insertOoxml(ooxml: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
79446
|
+
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation | "Replace" | "Start" | "End" | "Before" | "After"): Word.InlinePicture;
|
|
79895
79447
|
/**
|
|
79896
79448
|
* Inserts OOXML at the specified location.
|
|
79897
79449
|
*
|
|
@@ -79901,17 +79453,7 @@ declare namespace Word {
|
|
|
79901
79453
|
* @param ooxml Required. The OOXML to be inserted.
|
|
79902
79454
|
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
79903
79455
|
*/
|
|
79904
|
-
insertOoxml(ooxml: string, insertLocation:
|
|
79905
|
-
/**
|
|
79906
|
-
* Inserts a paragraph at the specified location.
|
|
79907
|
-
*
|
|
79908
|
-
* @remarks
|
|
79909
|
-
* [Api set: WordApi 1.1]
|
|
79910
|
-
*
|
|
79911
|
-
* @param paragraphText Required. The paragraph text to be inserted.
|
|
79912
|
-
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
79913
|
-
*/
|
|
79914
|
-
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
|
|
79456
|
+
insertOoxml(ooxml: string, insertLocation: Word.InsertLocation | "Replace" | "Start" | "End" | "Before" | "After"): Word.Range;
|
|
79915
79457
|
/**
|
|
79916
79458
|
* Inserts a paragraph at the specified location.
|
|
79917
79459
|
*
|
|
@@ -79921,7 +79463,7 @@ declare namespace Word {
|
|
|
79921
79463
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
79922
79464
|
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
79923
79465
|
*/
|
|
79924
|
-
insertParagraph(paragraphText: string, insertLocation:
|
|
79466
|
+
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After"): Word.Paragraph;
|
|
79925
79467
|
/**
|
|
79926
79468
|
* Inserts a table with the specified number of rows and columns.
|
|
79927
79469
|
*
|
|
@@ -79933,29 +79475,7 @@ declare namespace Word {
|
|
|
79933
79475
|
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
79934
79476
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
79935
79477
|
*/
|
|
79936
|
-
insertTable(rowCount: number, columnCount: number, insertLocation: Word.InsertLocation, values?: string[][]): Word.Table;
|
|
79937
|
-
/**
|
|
79938
|
-
* Inserts a table with the specified number of rows and columns.
|
|
79939
|
-
*
|
|
79940
|
-
* @remarks
|
|
79941
|
-
* [Api set: WordApi 1.3]
|
|
79942
|
-
*
|
|
79943
|
-
* @param rowCount Required. The number of rows in the table.
|
|
79944
|
-
* @param columnCount Required. The number of columns in the table.
|
|
79945
|
-
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
79946
|
-
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
79947
|
-
*/
|
|
79948
|
-
insertTable(rowCount: number, columnCount: number, insertLocation: "Before" | "After" | "Start" | "End" | "Replace", values?: string[][]): Word.Table;
|
|
79949
|
-
/**
|
|
79950
|
-
* Inserts text at the specified location.
|
|
79951
|
-
*
|
|
79952
|
-
* @remarks
|
|
79953
|
-
* [Api set: WordApi 1.1]
|
|
79954
|
-
*
|
|
79955
|
-
* @param text Required. Text to be inserted.
|
|
79956
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
79957
|
-
*/
|
|
79958
|
-
insertText(text: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
79478
|
+
insertTable(rowCount: number, columnCount: number, insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After", values?: string[][]): Word.Table;
|
|
79959
79479
|
/**
|
|
79960
79480
|
* Inserts text at the specified location.
|
|
79961
79481
|
*
|
|
@@ -79965,7 +79485,7 @@ declare namespace Word {
|
|
|
79965
79485
|
* @param text Required. Text to be inserted.
|
|
79966
79486
|
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
79967
79487
|
*/
|
|
79968
|
-
insertText(text: string, insertLocation:
|
|
79488
|
+
insertText(text: string, insertLocation: Word.InsertLocation | "Replace" | "Start" | "End" | "Before" | "After"): Word.Range;
|
|
79969
79489
|
/**
|
|
79970
79490
|
* Returns a new range as the intersection of this range with another range. This range is not changed. Throws an error if the two ranges are not overlapped or adjacent.
|
|
79971
79491
|
*
|
|
@@ -80619,29 +80139,7 @@ declare namespace Word {
|
|
|
80619
80139
|
* @param columnCount Required. Number of columns to add.
|
|
80620
80140
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
80621
80141
|
*/
|
|
80622
|
-
addColumns(insertLocation: Word.InsertLocation, columnCount: number, values?: string[][]): void;
|
|
80623
|
-
/**
|
|
80624
|
-
* Adds columns to the start or end of the table, using the first or last existing column as a template. This is applicable to uniform tables. The string values, if specified, are set in the newly inserted rows.
|
|
80625
|
-
*
|
|
80626
|
-
* @remarks
|
|
80627
|
-
* [Api set: WordApi 1.3]
|
|
80628
|
-
*
|
|
80629
|
-
* @param insertLocation Required. It must be 'Start' or 'End', corresponding to the appropriate side of the table.
|
|
80630
|
-
* @param columnCount Required. Number of columns to add.
|
|
80631
|
-
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
80632
|
-
*/
|
|
80633
|
-
addColumns(insertLocation: "Before" | "After" | "Start" | "End" | "Replace", columnCount: number, values?: string[][]): void;
|
|
80634
|
-
/**
|
|
80635
|
-
* Adds rows to the start or end of the table, using the first or last existing row as a template. The string values, if specified, are set in the newly inserted rows.
|
|
80636
|
-
*
|
|
80637
|
-
* @remarks
|
|
80638
|
-
* [Api set: WordApi 1.3]
|
|
80639
|
-
*
|
|
80640
|
-
* @param insertLocation Required. It must be 'Start' or 'End'.
|
|
80641
|
-
* @param rowCount Required. Number of rows to add.
|
|
80642
|
-
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
80643
|
-
*/
|
|
80644
|
-
addRows(insertLocation: Word.InsertLocation, rowCount: number, values?: string[][]): Word.TableRowCollection;
|
|
80142
|
+
addColumns(insertLocation: Word.InsertLocation.start | Word.InsertLocation.end | "Start" | "End", columnCount: number, values?: string[][]): void;
|
|
80645
80143
|
/**
|
|
80646
80144
|
* Adds rows to the start or end of the table, using the first or last existing row as a template. The string values, if specified, are set in the newly inserted rows.
|
|
80647
80145
|
*
|
|
@@ -80652,7 +80150,7 @@ declare namespace Word {
|
|
|
80652
80150
|
* @param rowCount Required. Number of rows to add.
|
|
80653
80151
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
80654
80152
|
*/
|
|
80655
|
-
addRows(insertLocation:
|
|
80153
|
+
addRows(insertLocation: Word.InsertLocation.start | Word.InsertLocation.end | "Start" | "End", rowCount: number, values?: string[][]): Word.TableRowCollection;
|
|
80656
80154
|
/**
|
|
80657
80155
|
* Autofits the table columns to the width of the window.
|
|
80658
80156
|
*
|
|
@@ -80807,16 +80305,7 @@ declare namespace Word {
|
|
|
80807
80305
|
*
|
|
80808
80306
|
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', or 'After'.
|
|
80809
80307
|
*/
|
|
80810
|
-
getRange(rangeLocation?: Word.RangeLocation): Word.Range;
|
|
80811
|
-
/**
|
|
80812
|
-
* Gets the range that contains this table, or the range at the start or end of the table.
|
|
80813
|
-
*
|
|
80814
|
-
* @remarks
|
|
80815
|
-
* [Api set: WordApi 1.3]
|
|
80816
|
-
*
|
|
80817
|
-
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', or 'After'.
|
|
80818
|
-
*/
|
|
80819
|
-
getRange(rangeLocation?: "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
|
|
80308
|
+
getRange(rangeLocation?: Word.RangeLocation.whole | Word.RangeLocation.start | Word.RangeLocation.end | Word.RangeLocation.after | "Whole" | "Start" | "End" | "After"): Word.Range;
|
|
80820
80309
|
/**
|
|
80821
80310
|
* Inserts a content control on the table.
|
|
80822
80311
|
*
|
|
@@ -80833,17 +80322,7 @@ declare namespace Word {
|
|
|
80833
80322
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
80834
80323
|
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
80835
80324
|
*/
|
|
80836
|
-
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
|
|
80837
|
-
/**
|
|
80838
|
-
* Inserts a paragraph at the specified location.
|
|
80839
|
-
*
|
|
80840
|
-
* @remarks
|
|
80841
|
-
* [Api set: WordApi 1.3]
|
|
80842
|
-
*
|
|
80843
|
-
* @param paragraphText Required. The paragraph text to be inserted.
|
|
80844
|
-
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
80845
|
-
*/
|
|
80846
|
-
insertParagraph(paragraphText: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Paragraph;
|
|
80325
|
+
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After"): Word.Paragraph;
|
|
80847
80326
|
/**
|
|
80848
80327
|
* Inserts a table with the specified number of rows and columns.
|
|
80849
80328
|
*
|
|
@@ -80855,19 +80334,7 @@ declare namespace Word {
|
|
|
80855
80334
|
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
80856
80335
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
80857
80336
|
*/
|
|
80858
|
-
insertTable(rowCount: number, columnCount: number, insertLocation: Word.InsertLocation, values?: string[][]): Word.Table;
|
|
80859
|
-
/**
|
|
80860
|
-
* Inserts a table with the specified number of rows and columns.
|
|
80861
|
-
*
|
|
80862
|
-
* @remarks
|
|
80863
|
-
* [Api set: WordApi 1.3]
|
|
80864
|
-
*
|
|
80865
|
-
* @param rowCount Required. The number of rows in the table.
|
|
80866
|
-
* @param columnCount Required. The number of columns in the table.
|
|
80867
|
-
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
80868
|
-
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
80869
|
-
*/
|
|
80870
|
-
insertTable(rowCount: number, columnCount: number, insertLocation: "Before" | "After" | "Start" | "End" | "Replace", values?: string[][]): Word.Table;
|
|
80337
|
+
insertTable(rowCount: number, columnCount: number, insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After", values?: string[][]): Word.Table;
|
|
80871
80338
|
/**
|
|
80872
80339
|
* Performs a search with the specified SearchOptions on the scope of the table object. The search results are a collection of range objects.
|
|
80873
80340
|
*
|
|
@@ -81198,18 +80665,7 @@ declare namespace Word {
|
|
|
81198
80665
|
* @param rowCount Required. Number of rows to add
|
|
81199
80666
|
* @param values Optional. Strings to insert in the new rows, specified as a 2D array. The number of cells in each row must not exceed the number of cells in the existing row.
|
|
81200
80667
|
*/
|
|
81201
|
-
insertRows(insertLocation: Word.InsertLocation, rowCount: number, values?: string[][]): Word.TableRowCollection;
|
|
81202
|
-
/**
|
|
81203
|
-
* Inserts rows using this row as a template. If values are specified, inserts the values into the new rows.
|
|
81204
|
-
*
|
|
81205
|
-
* @remarks
|
|
81206
|
-
* [Api set: WordApi 1.3]
|
|
81207
|
-
*
|
|
81208
|
-
* @param insertLocation Required. Where the new rows should be inserted, relative to the current row. It must be 'Before' or 'After'.
|
|
81209
|
-
* @param rowCount Required. Number of rows to add
|
|
81210
|
-
* @param values Optional. Strings to insert in the new rows, specified as a 2D array. The number of cells in each row must not exceed the number of cells in the existing row.
|
|
81211
|
-
*/
|
|
81212
|
-
insertRows(insertLocation: "Before" | "After" | "Start" | "End" | "Replace", rowCount: number, values?: string[][]): Word.TableRowCollection;
|
|
80668
|
+
insertRows(insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After", rowCount: number, values?: string[][]): Word.TableRowCollection;
|
|
81213
80669
|
/**
|
|
81214
80670
|
* Performs a search with the specified SearchOptions on the scope of the row. The search results are a collection of range objects.
|
|
81215
80671
|
*
|
|
@@ -81526,29 +80982,7 @@ declare namespace Word {
|
|
|
81526
80982
|
* @param columnCount Required. Number of columns to add.
|
|
81527
80983
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
81528
80984
|
*/
|
|
81529
|
-
insertColumns(insertLocation: Word.InsertLocation, columnCount: number, values?: string[][]): void;
|
|
81530
|
-
/**
|
|
81531
|
-
* Adds columns to the left or right of the cell, using the cell's column as a template. This is applicable to uniform tables. The string values, if specified, are set in the newly inserted rows.
|
|
81532
|
-
*
|
|
81533
|
-
* @remarks
|
|
81534
|
-
* [Api set: WordApi 1.3]
|
|
81535
|
-
*
|
|
81536
|
-
* @param insertLocation Required. It must be 'Before' or 'After'.
|
|
81537
|
-
* @param columnCount Required. Number of columns to add.
|
|
81538
|
-
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
81539
|
-
*/
|
|
81540
|
-
insertColumns(insertLocation: "Before" | "After" | "Start" | "End" | "Replace", columnCount: number, values?: string[][]): void;
|
|
81541
|
-
/**
|
|
81542
|
-
* Inserts rows above or below the cell, using the cell's row as a template. The string values, if specified, are set in the newly inserted rows.
|
|
81543
|
-
*
|
|
81544
|
-
* @remarks
|
|
81545
|
-
* [Api set: WordApi 1.3]
|
|
81546
|
-
*
|
|
81547
|
-
* @param insertLocation Required. It must be 'Before' or 'After'.
|
|
81548
|
-
* @param rowCount Required. Number of rows to add.
|
|
81549
|
-
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
81550
|
-
*/
|
|
81551
|
-
insertRows(insertLocation: Word.InsertLocation, rowCount: number, values?: string[][]): Word.TableRowCollection;
|
|
80985
|
+
insertColumns(insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After", columnCount: number, values?: string[][]): void;
|
|
81552
80986
|
/**
|
|
81553
80987
|
* Inserts rows above or below the cell, using the cell's row as a template. The string values, if specified, are set in the newly inserted rows.
|
|
81554
80988
|
*
|
|
@@ -81559,7 +80993,7 @@ declare namespace Word {
|
|
|
81559
80993
|
* @param rowCount Required. Number of rows to add.
|
|
81560
80994
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
81561
80995
|
*/
|
|
81562
|
-
insertRows(insertLocation:
|
|
80996
|
+
insertRows(insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After", rowCount: number, values?: string[][]): Word.TableRowCollection;
|
|
81563
80997
|
/**
|
|
81564
80998
|
* Sets cell padding in points.
|
|
81565
80999
|
*
|
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.280",
|
|
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",
|
|
@@ -45,6 +45,6 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "e5b3af71ba518859dfefec104c60a5b624f795af1515e7b1df96b793eaadbe38",
|
|
49
49
|
"typeScriptVersion": "4.1"
|
|
50
50
|
}
|