@types/office-js-preview 1.0.331 → 1.0.333
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 +69 -635
- 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: Tue, 13 Sep 2022 20:32:51 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
|
@@ -8884,7 +8884,7 @@ declare namespace Office {
|
|
|
8884
8884
|
ThreeColumns = "ThreeColumns"
|
|
8885
8885
|
}
|
|
8886
8886
|
/**
|
|
8887
|
-
* Specifies the type of recipient
|
|
8887
|
+
* Specifies the type of recipient of a message or appointment.
|
|
8888
8888
|
*
|
|
8889
8889
|
* @remarks
|
|
8890
8890
|
* [Api set: Mailbox 1.1]
|
|
@@ -8898,19 +8898,20 @@ declare namespace Office {
|
|
|
8898
8898
|
*/
|
|
8899
8899
|
enum RecipientType {
|
|
8900
8900
|
/**
|
|
8901
|
-
* Specifies
|
|
8901
|
+
* Specifies the recipient is a distribution list containing a list of email addresses.
|
|
8902
8902
|
*/
|
|
8903
8903
|
DistributionList = "distributionList",
|
|
8904
8904
|
/**
|
|
8905
|
-
* Specifies
|
|
8905
|
+
* Specifies the recipient is an SMTP email address on the Exchange server.
|
|
8906
8906
|
*/
|
|
8907
8907
|
User = "user",
|
|
8908
8908
|
/**
|
|
8909
|
-
* Specifies
|
|
8909
|
+
* Specifies the recipient is an SMTP email address that isn't on the Exchange server.
|
|
8910
8910
|
*/
|
|
8911
8911
|
ExternalUser = "externalUser",
|
|
8912
8912
|
/**
|
|
8913
|
-
* Specifies
|
|
8913
|
+
* 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,
|
|
8914
|
+
* and is therefore treated as an external SMTP address.
|
|
8914
8915
|
*/
|
|
8915
8916
|
Other = "other"
|
|
8916
8917
|
}
|
|
@@ -83840,16 +83841,7 @@ declare namespace Word {
|
|
|
83840
83841
|
*
|
|
83841
83842
|
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', 'After', or 'Content'.
|
|
83842
83843
|
*/
|
|
83843
|
-
getRange(rangeLocation?: Word.RangeLocation): Word.Range;
|
|
83844
|
-
/**
|
|
83845
|
-
* Gets the whole body, or the starting or ending point of the body, as a range.
|
|
83846
|
-
*
|
|
83847
|
-
* @remarks
|
|
83848
|
-
* [Api set: WordApi 1.3]
|
|
83849
|
-
*
|
|
83850
|
-
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', 'After', or 'Content'.
|
|
83851
|
-
*/
|
|
83852
|
-
getRange(rangeLocation?: "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
|
|
83844
|
+
getRange(rangeLocation?: Word.RangeLocation.whole | Word.RangeLocation.start | Word.RangeLocation.end | Word.RangeLocation.after | Word.RangeLocation.content | "Whole" | "Start" | "End" | "After" | "Content"): Word.Range;
|
|
83853
83845
|
/**
|
|
83854
83846
|
* Gets reviewed text based on ChangeTrackingVersion selection.
|
|
83855
83847
|
*
|
|
@@ -83877,17 +83869,7 @@ declare namespace Word {
|
|
|
83877
83869
|
* @param breakType Required. The break type to add to the body.
|
|
83878
83870
|
* @param insertLocation Required. The value must be 'Start' or 'End'.
|
|
83879
83871
|
*/
|
|
83880
|
-
insertBreak(breakType: Word.BreakType, insertLocation: Word.InsertLocation): void;
|
|
83881
|
-
/**
|
|
83882
|
-
* Inserts a break at the specified location in the main document.
|
|
83883
|
-
*
|
|
83884
|
-
* @remarks
|
|
83885
|
-
* [Api set: WordApi 1.1]
|
|
83886
|
-
*
|
|
83887
|
-
* @param breakType Required. The break type to add to the body.
|
|
83888
|
-
* @param insertLocation Required. The value must be 'Start' or 'End'.
|
|
83889
|
-
*/
|
|
83890
|
-
insertBreak(breakType: "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): void;
|
|
83872
|
+
insertBreak(breakType: Word.BreakType | "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: Word.InsertLocation.start | Word.InsertLocation.end | "Start" | "End"): void;
|
|
83891
83873
|
/**
|
|
83892
83874
|
* Wraps the body object with a Rich Text content control.
|
|
83893
83875
|
*
|
|
@@ -83904,27 +83886,7 @@ declare namespace Word {
|
|
|
83904
83886
|
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
83905
83887
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
83906
83888
|
*/
|
|
83907
|
-
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
83908
|
-
/**
|
|
83909
|
-
* Inserts a document into the body at the specified location.
|
|
83910
|
-
*
|
|
83911
|
-
* @remarks
|
|
83912
|
-
* [Api set: WordApi 1.1]
|
|
83913
|
-
*
|
|
83914
|
-
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
83915
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
83916
|
-
*/
|
|
83917
|
-
insertFileFromBase64(base64File: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
83918
|
-
/**
|
|
83919
|
-
* Inserts HTML at the specified location.
|
|
83920
|
-
*
|
|
83921
|
-
* @remarks
|
|
83922
|
-
* [Api set: WordApi 1.1]
|
|
83923
|
-
*
|
|
83924
|
-
* @param html Required. The HTML to be inserted in the document.
|
|
83925
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
83926
|
-
*/
|
|
83927
|
-
insertHtml(html: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
83889
|
+
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
|
|
83928
83890
|
/**
|
|
83929
83891
|
* Inserts HTML at the specified location.
|
|
83930
83892
|
*
|
|
@@ -83934,17 +83896,7 @@ declare namespace Word {
|
|
|
83934
83896
|
* @param html Required. The HTML to be inserted in the document.
|
|
83935
83897
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
83936
83898
|
*/
|
|
83937
|
-
insertHtml(html: string, insertLocation:
|
|
83938
|
-
/**
|
|
83939
|
-
* Inserts a picture into the body at the specified location.
|
|
83940
|
-
*
|
|
83941
|
-
* @remarks
|
|
83942
|
-
* [Api set: WordApi 1.2]
|
|
83943
|
-
*
|
|
83944
|
-
* @param base64EncodedImage Required. The base64 encoded image to be inserted in the body.
|
|
83945
|
-
* @param insertLocation Required. The value must be 'Start' or 'End'.
|
|
83946
|
-
*/
|
|
83947
|
-
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation): Word.InlinePicture;
|
|
83899
|
+
insertHtml(html: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
|
|
83948
83900
|
/**
|
|
83949
83901
|
* Inserts a picture into the body at the specified location.
|
|
83950
83902
|
*
|
|
@@ -83954,17 +83906,7 @@ declare namespace Word {
|
|
|
83954
83906
|
* @param base64EncodedImage Required. The base64 encoded image to be inserted in the body.
|
|
83955
83907
|
* @param insertLocation Required. The value must be 'Start' or 'End'.
|
|
83956
83908
|
*/
|
|
83957
|
-
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation:
|
|
83958
|
-
/**
|
|
83959
|
-
* Inserts OOXML at the specified location.
|
|
83960
|
-
*
|
|
83961
|
-
* @remarks
|
|
83962
|
-
* [Api set: WordApi 1.1]
|
|
83963
|
-
*
|
|
83964
|
-
* @param ooxml Required. The OOXML to be inserted.
|
|
83965
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
83966
|
-
*/
|
|
83967
|
-
insertOoxml(ooxml: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
83909
|
+
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation.start | Word.InsertLocation.end | "Start" | "End"): Word.InlinePicture;
|
|
83968
83910
|
/**
|
|
83969
83911
|
* Inserts OOXML at the specified location.
|
|
83970
83912
|
*
|
|
@@ -83974,17 +83916,7 @@ declare namespace Word {
|
|
|
83974
83916
|
* @param ooxml Required. The OOXML to be inserted.
|
|
83975
83917
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
83976
83918
|
*/
|
|
83977
|
-
insertOoxml(ooxml: string, insertLocation:
|
|
83978
|
-
/**
|
|
83979
|
-
* Inserts a paragraph at the specified location.
|
|
83980
|
-
*
|
|
83981
|
-
* @remarks
|
|
83982
|
-
* [Api set: WordApi 1.1]
|
|
83983
|
-
*
|
|
83984
|
-
* @param paragraphText Required. The paragraph text to be inserted.
|
|
83985
|
-
* @param insertLocation Required. The value must be 'Start' or 'End'.
|
|
83986
|
-
*/
|
|
83987
|
-
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
|
|
83919
|
+
insertOoxml(ooxml: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
|
|
83988
83920
|
/**
|
|
83989
83921
|
* Inserts a paragraph at the specified location.
|
|
83990
83922
|
*
|
|
@@ -83994,7 +83926,7 @@ declare namespace Word {
|
|
|
83994
83926
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
83995
83927
|
* @param insertLocation Required. The value must be 'Start' or 'End'.
|
|
83996
83928
|
*/
|
|
83997
|
-
insertParagraph(paragraphText: string, insertLocation:
|
|
83929
|
+
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation.start | Word.InsertLocation.end | "Start" | "End"): Word.Paragraph;
|
|
83998
83930
|
/**
|
|
83999
83931
|
* Inserts a table with the specified number of rows and columns.
|
|
84000
83932
|
*
|
|
@@ -84006,29 +83938,7 @@ declare namespace Word {
|
|
|
84006
83938
|
* @param insertLocation Required. The value must be 'Start' or 'End'.
|
|
84007
83939
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
84008
83940
|
*/
|
|
84009
|
-
insertTable(rowCount: number, columnCount: number, insertLocation: Word.InsertLocation, values?: string[][]): Word.Table;
|
|
84010
|
-
/**
|
|
84011
|
-
* Inserts a table with the specified number of rows and columns.
|
|
84012
|
-
*
|
|
84013
|
-
* @remarks
|
|
84014
|
-
* [Api set: WordApi 1.3]
|
|
84015
|
-
*
|
|
84016
|
-
* @param rowCount Required. The number of rows in the table.
|
|
84017
|
-
* @param columnCount Required. The number of columns in the table.
|
|
84018
|
-
* @param insertLocation Required. The value must be 'Start' or 'End'.
|
|
84019
|
-
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
84020
|
-
*/
|
|
84021
|
-
insertTable(rowCount: number, columnCount: number, insertLocation: "Before" | "After" | "Start" | "End" | "Replace", values?: string[][]): Word.Table;
|
|
84022
|
-
/**
|
|
84023
|
-
* Inserts text into the body at the specified location.
|
|
84024
|
-
*
|
|
84025
|
-
* @remarks
|
|
84026
|
-
* [Api set: WordApi 1.1]
|
|
84027
|
-
*
|
|
84028
|
-
* @param text Required. Text to be inserted.
|
|
84029
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
84030
|
-
*/
|
|
84031
|
-
insertText(text: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
83941
|
+
insertTable(rowCount: number, columnCount: number, insertLocation: Word.InsertLocation.start | Word.InsertLocation.end | "Start" | "End", values?: string[][]): Word.Table;
|
|
84032
83942
|
/**
|
|
84033
83943
|
* Inserts text into the body at the specified location.
|
|
84034
83944
|
*
|
|
@@ -84038,7 +83948,7 @@ declare namespace Word {
|
|
|
84038
83948
|
* @param text Required. Text to be inserted.
|
|
84039
83949
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
84040
83950
|
*/
|
|
84041
|
-
insertText(text: string, insertLocation:
|
|
83951
|
+
insertText(text: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
|
|
84042
83952
|
/**
|
|
84043
83953
|
* Performs a search with the specified SearchOptions on the scope of the body object. The search results are a collection of range objects.
|
|
84044
83954
|
*
|
|
@@ -84266,15 +84176,6 @@ declare namespace Word {
|
|
|
84266
84176
|
* [Api set: WordApiOnline 1.1]
|
|
84267
84177
|
*/
|
|
84268
84178
|
getFirstOrNullObject(): Word.Comment;
|
|
84269
|
-
/**
|
|
84270
|
-
* Gets a comment object by its index in the collection.
|
|
84271
|
-
*
|
|
84272
|
-
* @remarks
|
|
84273
|
-
* [Api set: WordApiOnline 1.1]
|
|
84274
|
-
*
|
|
84275
|
-
* @param index A number that identifies the index location of a comment object.
|
|
84276
|
-
*/
|
|
84277
|
-
getItem(index: number): Word.Comment;
|
|
84278
84179
|
/**
|
|
84279
84180
|
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
84280
84181
|
*
|
|
@@ -84378,19 +84279,9 @@ declare namespace Word {
|
|
|
84378
84279
|
* [Api set: WordApiOnline 1.1]
|
|
84379
84280
|
*
|
|
84380
84281
|
* @param text Required. The text to be inserted in to the CommentContentRange.
|
|
84381
|
-
* @param insertLocation Required. The value must be '
|
|
84382
|
-
*/
|
|
84383
|
-
insertText(text: string, insertLocation: Word.InsertLocation): Word.CommentContentRange;
|
|
84384
|
-
/**
|
|
84385
|
-
* 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.
|
|
84386
|
-
*
|
|
84387
|
-
* @remarks
|
|
84388
|
-
* [Api set: WordApiOnline 1.1]
|
|
84389
|
-
*
|
|
84390
|
-
* @param text Required. The text to be inserted in to the CommentContentRange.
|
|
84391
|
-
* @param insertLocation Required. The value must be 'After', 'Before', 'Replace', 'Start', or 'End'.
|
|
84282
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
84392
84283
|
*/
|
|
84393
|
-
insertText(text: string, insertLocation:
|
|
84284
|
+
insertText(text: string, insertLocation: Word.InsertLocation | "Replace" | "Start" | "End" | "Before" | "After"): Word.CommentContentRange;
|
|
84394
84285
|
/**
|
|
84395
84286
|
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
84396
84287
|
*
|
|
@@ -84559,15 +84450,6 @@ declare namespace Word {
|
|
|
84559
84450
|
* [Api set: WordApiOnline 1.1]
|
|
84560
84451
|
*/
|
|
84561
84452
|
getFirstOrNullObject(): Word.CommentReply;
|
|
84562
|
-
/**
|
|
84563
|
-
* Gets a comment reply object by its index in the collection.
|
|
84564
|
-
*
|
|
84565
|
-
* @remarks
|
|
84566
|
-
* [Api set: WordApiOnline 1.1]
|
|
84567
|
-
*
|
|
84568
|
-
* @param index A number that identifies the index location of a comment reply object.
|
|
84569
|
-
*/
|
|
84570
|
-
getItem(index: number): Word.CommentReply;
|
|
84571
84453
|
/**
|
|
84572
84454
|
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
84573
84455
|
*
|
|
@@ -84872,18 +84754,9 @@ declare namespace Word {
|
|
|
84872
84754
|
* @remarks
|
|
84873
84755
|
* [Api set: WordApi 1.3]
|
|
84874
84756
|
*
|
|
84875
|
-
* @param rangeLocation Optional. The range location must be 'Whole', '
|
|
84876
|
-
*/
|
|
84877
|
-
getRange(rangeLocation?: Word.RangeLocation): Word.Range;
|
|
84878
|
-
/**
|
|
84879
|
-
* Gets the whole content control, or the starting or ending point of the content control, as a range.
|
|
84880
|
-
*
|
|
84881
|
-
* @remarks
|
|
84882
|
-
* [Api set: WordApi 1.3]
|
|
84883
|
-
*
|
|
84884
|
-
* @param rangeLocation Optional. The range location must be 'Whole', 'Before', 'Start', 'End', 'After', or 'Content'.
|
|
84757
|
+
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', 'Before', 'After', or 'Content'.
|
|
84885
84758
|
*/
|
|
84886
|
-
getRange(rangeLocation?: "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
|
|
84759
|
+
getRange(rangeLocation?: Word.RangeLocation | "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
|
|
84887
84760
|
/**
|
|
84888
84761
|
* Gets reviewed text based on ChangeTrackingVersion selection.
|
|
84889
84762
|
*
|
|
@@ -84921,17 +84794,7 @@ declare namespace Word {
|
|
|
84921
84794
|
* @param breakType Required. Type of break.
|
|
84922
84795
|
* @param insertLocation Required. The value must be 'Start', 'End', 'Before', or 'After'.
|
|
84923
84796
|
*/
|
|
84924
|
-
insertBreak(breakType: Word.BreakType, insertLocation: Word.InsertLocation): void;
|
|
84925
|
-
/**
|
|
84926
|
-
* Inserts a break at the specified location in the main document. This method cannot be used with 'RichTextTable', 'RichTextTableRow' and 'RichTextTableCell' content controls.
|
|
84927
|
-
*
|
|
84928
|
-
* @remarks
|
|
84929
|
-
* [Api set: WordApi 1.1]
|
|
84930
|
-
*
|
|
84931
|
-
* @param breakType Required. Type of break.
|
|
84932
|
-
* @param insertLocation Required. The value must be 'Start', 'End', 'Before', or 'After'.
|
|
84933
|
-
*/
|
|
84934
|
-
insertBreak(breakType: "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): void;
|
|
84797
|
+
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;
|
|
84935
84798
|
/**
|
|
84936
84799
|
* Inserts a document into the content control at the specified location.
|
|
84937
84800
|
*
|
|
@@ -84941,27 +84804,7 @@ declare namespace Word {
|
|
|
84941
84804
|
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
84942
84805
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
84943
84806
|
*/
|
|
84944
|
-
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
84945
|
-
/**
|
|
84946
|
-
* Inserts a document into the content control at the specified location.
|
|
84947
|
-
*
|
|
84948
|
-
* @remarks
|
|
84949
|
-
* [Api set: WordApi 1.1]
|
|
84950
|
-
*
|
|
84951
|
-
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
84952
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
84953
|
-
*/
|
|
84954
|
-
insertFileFromBase64(base64File: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
84955
|
-
/**
|
|
84956
|
-
* Inserts HTML into the content control at the specified location.
|
|
84957
|
-
*
|
|
84958
|
-
* @remarks
|
|
84959
|
-
* [Api set: WordApi 1.1]
|
|
84960
|
-
*
|
|
84961
|
-
* @param html Required. The HTML to be inserted in to the content control.
|
|
84962
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
84963
|
-
*/
|
|
84964
|
-
insertHtml(html: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
84807
|
+
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
|
|
84965
84808
|
/**
|
|
84966
84809
|
* Inserts HTML into the content control at the specified location.
|
|
84967
84810
|
*
|
|
@@ -84971,17 +84814,7 @@ declare namespace Word {
|
|
|
84971
84814
|
* @param html Required. The HTML to be inserted in to the content control.
|
|
84972
84815
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
84973
84816
|
*/
|
|
84974
|
-
insertHtml(html: string, insertLocation:
|
|
84975
|
-
/**
|
|
84976
|
-
* Inserts an inline picture into the content control at the specified location.
|
|
84977
|
-
*
|
|
84978
|
-
* @remarks
|
|
84979
|
-
* [Api set: WordApi 1.2]
|
|
84980
|
-
*
|
|
84981
|
-
* @param base64EncodedImage Required. The base64 encoded image to be inserted in the content control.
|
|
84982
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
84983
|
-
*/
|
|
84984
|
-
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation): Word.InlinePicture;
|
|
84817
|
+
insertHtml(html: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
|
|
84985
84818
|
/**
|
|
84986
84819
|
* Inserts an inline picture into the content control at the specified location.
|
|
84987
84820
|
*
|
|
@@ -84991,17 +84824,7 @@ declare namespace Word {
|
|
|
84991
84824
|
* @param base64EncodedImage Required. The base64 encoded image to be inserted in the content control.
|
|
84992
84825
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
84993
84826
|
*/
|
|
84994
|
-
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation:
|
|
84995
|
-
/**
|
|
84996
|
-
* Inserts OOXML into the content control at the specified location.
|
|
84997
|
-
*
|
|
84998
|
-
* @remarks
|
|
84999
|
-
* [Api set: WordApi 1.1]
|
|
85000
|
-
*
|
|
85001
|
-
* @param ooxml Required. The OOXML to be inserted in to the content control.
|
|
85002
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
85003
|
-
*/
|
|
85004
|
-
insertOoxml(ooxml: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
84827
|
+
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.InlinePicture;
|
|
85005
84828
|
/**
|
|
85006
84829
|
* Inserts OOXML into the content control at the specified location.
|
|
85007
84830
|
*
|
|
@@ -85011,7 +84834,7 @@ declare namespace Word {
|
|
|
85011
84834
|
* @param ooxml Required. The OOXML to be inserted in to the content control.
|
|
85012
84835
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
85013
84836
|
*/
|
|
85014
|
-
insertOoxml(ooxml: string, insertLocation:
|
|
84837
|
+
insertOoxml(ooxml: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
|
|
85015
84838
|
/**
|
|
85016
84839
|
* Inserts a paragraph at the specified location.
|
|
85017
84840
|
*
|
|
@@ -85021,29 +84844,7 @@ declare namespace Word {
|
|
|
85021
84844
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
85022
84845
|
* @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.
|
|
85023
84846
|
*/
|
|
85024
|
-
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
|
|
85025
|
-
/**
|
|
85026
|
-
* Inserts a paragraph at the specified location.
|
|
85027
|
-
*
|
|
85028
|
-
* @remarks
|
|
85029
|
-
* [Api set: WordApi 1.1]
|
|
85030
|
-
*
|
|
85031
|
-
* @param paragraphText Required. The paragraph text to be inserted.
|
|
85032
|
-
* @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.
|
|
85033
|
-
*/
|
|
85034
|
-
insertParagraph(paragraphText: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Paragraph;
|
|
85035
|
-
/**
|
|
85036
|
-
* Inserts a table with the specified number of rows and columns into, or next to, a content control.
|
|
85037
|
-
*
|
|
85038
|
-
* @remarks
|
|
85039
|
-
* [Api set: WordApi 1.3]
|
|
85040
|
-
*
|
|
85041
|
-
* @param rowCount Required. The number of rows in the table.
|
|
85042
|
-
* @param columnCount Required. The number of columns in the table.
|
|
85043
|
-
* @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.
|
|
85044
|
-
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
85045
|
-
*/
|
|
85046
|
-
insertTable(rowCount: number, columnCount: number, insertLocation: Word.InsertLocation, values?: string[][]): Word.Table;
|
|
84847
|
+
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation.start | Word.InsertLocation.end | Word.InsertLocation.before | Word.InsertLocation.after | "Start" | "End" | "Before" | "After"): Word.Paragraph;
|
|
85047
84848
|
/**
|
|
85048
84849
|
* Inserts a table with the specified number of rows and columns into, or next to, a content control.
|
|
85049
84850
|
*
|
|
@@ -85055,7 +84856,7 @@ declare namespace Word {
|
|
|
85055
84856
|
* @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.
|
|
85056
84857
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
85057
84858
|
*/
|
|
85058
|
-
insertTable(rowCount: number, columnCount: number, insertLocation:
|
|
84859
|
+
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;
|
|
85059
84860
|
/**
|
|
85060
84861
|
* Inserts text into the content control at the specified location.
|
|
85061
84862
|
*
|
|
@@ -85065,17 +84866,7 @@ declare namespace Word {
|
|
|
85065
84866
|
* @param text Required. The text to be inserted in to the content control.
|
|
85066
84867
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
85067
84868
|
*/
|
|
85068
|
-
insertText(text: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
85069
|
-
/**
|
|
85070
|
-
* Inserts text into the content control at the specified location.
|
|
85071
|
-
*
|
|
85072
|
-
* @remarks
|
|
85073
|
-
* [Api set: WordApi 1.1]
|
|
85074
|
-
*
|
|
85075
|
-
* @param text Required. The text to be inserted in to the content control.
|
|
85076
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
85077
|
-
*/
|
|
85078
|
-
insertText(text: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
84869
|
+
insertText(text: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
|
|
85079
84870
|
/**
|
|
85080
84871
|
* Performs a search with the specified SearchOptions on the scope of the content control object. The search results are a collection of range objects.
|
|
85081
84872
|
*
|
|
@@ -85260,14 +85051,14 @@ declare namespace Word {
|
|
|
85260
85051
|
*/
|
|
85261
85052
|
getFirstOrNullObject(): Word.ContentControl;
|
|
85262
85053
|
/**
|
|
85263
|
-
* Gets a content control by its
|
|
85054
|
+
* Gets a content control by its ID.
|
|
85264
85055
|
*
|
|
85265
85056
|
* @remarks
|
|
85266
85057
|
* [Api set: WordApi 1.1]
|
|
85267
85058
|
*
|
|
85268
|
-
* @param
|
|
85059
|
+
* @param id The content control's ID.
|
|
85269
85060
|
*/
|
|
85270
|
-
getItem(
|
|
85061
|
+
getItem(id: number): Word.ContentControl;
|
|
85271
85062
|
/**
|
|
85272
85063
|
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
85273
85064
|
*
|
|
@@ -86948,26 +86739,7 @@ declare namespace Word {
|
|
|
86948
86739
|
*
|
|
86949
86740
|
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', or 'End'.
|
|
86950
86741
|
*/
|
|
86951
|
-
getRange(rangeLocation?: Word.RangeLocation): Word.Range;
|
|
86952
|
-
/**
|
|
86953
|
-
* Gets the picture, or the starting or ending point of the picture, as a range.
|
|
86954
|
-
*
|
|
86955
|
-
* @remarks
|
|
86956
|
-
* [Api set: WordApi 1.3]
|
|
86957
|
-
*
|
|
86958
|
-
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', or 'End'.
|
|
86959
|
-
*/
|
|
86960
|
-
getRange(rangeLocation?: "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
|
|
86961
|
-
/**
|
|
86962
|
-
* Inserts a break at the specified location in the main document.
|
|
86963
|
-
*
|
|
86964
|
-
* @remarks
|
|
86965
|
-
* [Api set: WordApi 1.2]
|
|
86966
|
-
*
|
|
86967
|
-
* @param breakType Required. The break type to add.
|
|
86968
|
-
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
86969
|
-
*/
|
|
86970
|
-
insertBreak(breakType: Word.BreakType, insertLocation: Word.InsertLocation): void;
|
|
86742
|
+
getRange(rangeLocation?: Word.RangeLocation.whole | Word.RangeLocation.start | Word.RangeLocation.end | "Whole" | "Start" | "End"): Word.Range;
|
|
86971
86743
|
/**
|
|
86972
86744
|
* Inserts a break at the specified location in the main document.
|
|
86973
86745
|
*
|
|
@@ -86977,7 +86749,7 @@ declare namespace Word {
|
|
|
86977
86749
|
* @param breakType Required. The break type to add.
|
|
86978
86750
|
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
86979
86751
|
*/
|
|
86980
|
-
insertBreak(breakType: "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation:
|
|
86752
|
+
insertBreak(breakType: Word.BreakType | "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After"): void;
|
|
86981
86753
|
/**
|
|
86982
86754
|
* Wraps the inline picture with a rich text content control.
|
|
86983
86755
|
*
|
|
@@ -86994,27 +86766,7 @@ declare namespace Word {
|
|
|
86994
86766
|
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
86995
86767
|
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
86996
86768
|
*/
|
|
86997
|
-
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
86998
|
-
/**
|
|
86999
|
-
* Inserts a document at the specified location.
|
|
87000
|
-
*
|
|
87001
|
-
* @remarks
|
|
87002
|
-
* [Api set: WordApi 1.2]
|
|
87003
|
-
*
|
|
87004
|
-
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
87005
|
-
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
87006
|
-
*/
|
|
87007
|
-
insertFileFromBase64(base64File: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
87008
|
-
/**
|
|
87009
|
-
* Inserts HTML at the specified location.
|
|
87010
|
-
*
|
|
87011
|
-
* @remarks
|
|
87012
|
-
* [Api set: WordApi 1.2]
|
|
87013
|
-
*
|
|
87014
|
-
* @param html Required. The HTML to be inserted.
|
|
87015
|
-
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
87016
|
-
*/
|
|
87017
|
-
insertHtml(html: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
86769
|
+
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After"): Word.Range;
|
|
87018
86770
|
/**
|
|
87019
86771
|
* Inserts HTML at the specified location.
|
|
87020
86772
|
*
|
|
@@ -87024,7 +86776,7 @@ declare namespace Word {
|
|
|
87024
86776
|
* @param html Required. The HTML to be inserted.
|
|
87025
86777
|
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
87026
86778
|
*/
|
|
87027
|
-
insertHtml(html: string, insertLocation:
|
|
86779
|
+
insertHtml(html: string, insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After"): Word.Range;
|
|
87028
86780
|
/**
|
|
87029
86781
|
* Inserts an inline picture at the specified location.
|
|
87030
86782
|
*
|
|
@@ -87034,27 +86786,7 @@ declare namespace Word {
|
|
|
87034
86786
|
* @param base64EncodedImage Required. The base64 encoded image to be inserted.
|
|
87035
86787
|
* @param insertLocation Required. The value must be 'Replace', 'Before', or 'After'.
|
|
87036
86788
|
*/
|
|
87037
|
-
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation): Word.InlinePicture;
|
|
87038
|
-
/**
|
|
87039
|
-
* Inserts an inline picture at the specified location.
|
|
87040
|
-
*
|
|
87041
|
-
* @remarks
|
|
87042
|
-
* [Api set: WordApi 1.2]
|
|
87043
|
-
*
|
|
87044
|
-
* @param base64EncodedImage Required. The base64 encoded image to be inserted.
|
|
87045
|
-
* @param insertLocation Required. The value must be 'Replace', 'Before', or 'After'.
|
|
87046
|
-
*/
|
|
87047
|
-
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.InlinePicture;
|
|
87048
|
-
/**
|
|
87049
|
-
* Inserts OOXML at the specified location.
|
|
87050
|
-
*
|
|
87051
|
-
* @remarks
|
|
87052
|
-
* [Api set: WordApi 1.2]
|
|
87053
|
-
*
|
|
87054
|
-
* @param ooxml Required. The OOXML to be inserted.
|
|
87055
|
-
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
87056
|
-
*/
|
|
87057
|
-
insertOoxml(ooxml: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
86789
|
+
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.before | Word.InsertLocation.after | "Replace" | "Before" | "After"): Word.InlinePicture;
|
|
87058
86790
|
/**
|
|
87059
86791
|
* Inserts OOXML at the specified location.
|
|
87060
86792
|
*
|
|
@@ -87064,7 +86796,7 @@ declare namespace Word {
|
|
|
87064
86796
|
* @param ooxml Required. The OOXML to be inserted.
|
|
87065
86797
|
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
87066
86798
|
*/
|
|
87067
|
-
insertOoxml(ooxml: string, insertLocation:
|
|
86799
|
+
insertOoxml(ooxml: string, insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After"): Word.Range;
|
|
87068
86800
|
/**
|
|
87069
86801
|
* Inserts a paragraph at the specified location.
|
|
87070
86802
|
*
|
|
@@ -87074,27 +86806,7 @@ declare namespace Word {
|
|
|
87074
86806
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
87075
86807
|
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
87076
86808
|
*/
|
|
87077
|
-
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
|
|
87078
|
-
/**
|
|
87079
|
-
* Inserts a paragraph at the specified location.
|
|
87080
|
-
*
|
|
87081
|
-
* @remarks
|
|
87082
|
-
* [Api set: WordApi 1.2]
|
|
87083
|
-
*
|
|
87084
|
-
* @param paragraphText Required. The paragraph text to be inserted.
|
|
87085
|
-
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
87086
|
-
*/
|
|
87087
|
-
insertParagraph(paragraphText: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Paragraph;
|
|
87088
|
-
/**
|
|
87089
|
-
* Inserts text at the specified location.
|
|
87090
|
-
*
|
|
87091
|
-
* @remarks
|
|
87092
|
-
* [Api set: WordApi 1.2]
|
|
87093
|
-
*
|
|
87094
|
-
* @param text Required. Text to be inserted.
|
|
87095
|
-
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
87096
|
-
*/
|
|
87097
|
-
insertText(text: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
86809
|
+
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After"): Word.Paragraph;
|
|
87098
86810
|
/**
|
|
87099
86811
|
* Inserts text at the specified location.
|
|
87100
86812
|
*
|
|
@@ -87104,7 +86816,7 @@ declare namespace Word {
|
|
|
87104
86816
|
* @param text Required. Text to be inserted.
|
|
87105
86817
|
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
87106
86818
|
*/
|
|
87107
|
-
insertText(text: string, insertLocation:
|
|
86819
|
+
insertText(text: string, insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After"): Word.Range;
|
|
87108
86820
|
/**
|
|
87109
86821
|
* Selects the inline picture. This causes Word to scroll to the selection.
|
|
87110
86822
|
*
|
|
@@ -87299,17 +87011,7 @@ declare namespace Word {
|
|
|
87299
87011
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
87300
87012
|
* @param insertLocation Required. The value must be 'Start', 'End', 'Before', or 'After'.
|
|
87301
87013
|
*/
|
|
87302
|
-
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
|
|
87303
|
-
/**
|
|
87304
|
-
* Inserts a paragraph at the specified location.
|
|
87305
|
-
*
|
|
87306
|
-
* @remarks
|
|
87307
|
-
* [Api set: WordApi 1.3]
|
|
87308
|
-
*
|
|
87309
|
-
* @param paragraphText Required. The paragraph text to be inserted.
|
|
87310
|
-
* @param insertLocation Required. The value must be 'Start', 'End', 'Before', or 'After'.
|
|
87311
|
-
*/
|
|
87312
|
-
insertParagraph(paragraphText: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Paragraph;
|
|
87014
|
+
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation.start | Word.InsertLocation.end | Word.InsertLocation.before | Word.InsertLocation.after | "Start" | "End" | "Before" | "After"): Word.Paragraph;
|
|
87313
87015
|
/**
|
|
87314
87016
|
* Resets the font of the bullet, number, or picture at the specified level in the list.
|
|
87315
87017
|
*
|
|
@@ -87498,14 +87200,14 @@ declare namespace Word {
|
|
|
87498
87200
|
*/
|
|
87499
87201
|
getFirstOrNullObject(): Word.List;
|
|
87500
87202
|
/**
|
|
87501
|
-
* Gets a list object by its
|
|
87203
|
+
* Gets a list object by its ID.
|
|
87502
87204
|
*
|
|
87503
87205
|
* @remarks
|
|
87504
87206
|
* [Api set: WordApi 1.3]
|
|
87505
87207
|
*
|
|
87506
|
-
* @param
|
|
87208
|
+
* @param id The list's ID.
|
|
87507
87209
|
*/
|
|
87508
|
-
getItem(
|
|
87210
|
+
getItem(id: number): Word.List;
|
|
87509
87211
|
/**
|
|
87510
87212
|
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
87511
87213
|
*
|
|
@@ -88126,16 +87828,7 @@ declare namespace Word {
|
|
|
88126
87828
|
*
|
|
88127
87829
|
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', 'After', or 'Content'.
|
|
88128
87830
|
*/
|
|
88129
|
-
getRange(rangeLocation?: Word.RangeLocation): Word.Range;
|
|
88130
|
-
/**
|
|
88131
|
-
* Gets the whole paragraph, or the starting or ending point of the paragraph, as a range.
|
|
88132
|
-
*
|
|
88133
|
-
* @remarks
|
|
88134
|
-
* [Api set: WordApi 1.3]
|
|
88135
|
-
*
|
|
88136
|
-
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', 'After', or 'Content'.
|
|
88137
|
-
*/
|
|
88138
|
-
getRange(rangeLocation?: "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
|
|
87831
|
+
getRange(rangeLocation?: Word.RangeLocation.whole | Word.RangeLocation.start | Word.RangeLocation.end | Word.RangeLocation.after | Word.RangeLocation.content | "Whole" | "Start" | "End" | "After" | "Content"): Word.Range;
|
|
88139
87832
|
/**
|
|
88140
87833
|
* Gets reviewed text based on ChangeTrackingVersion selection.
|
|
88141
87834
|
*
|
|
@@ -88173,17 +87866,7 @@ declare namespace Word {
|
|
|
88173
87866
|
* @param breakType Required. The break type to add to the document.
|
|
88174
87867
|
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
88175
87868
|
*/
|
|
88176
|
-
insertBreak(breakType: Word.BreakType, insertLocation: Word.InsertLocation): void;
|
|
88177
|
-
/**
|
|
88178
|
-
* Inserts a break at the specified location in the main document.
|
|
88179
|
-
*
|
|
88180
|
-
* @remarks
|
|
88181
|
-
* [Api set: WordApi 1.1]
|
|
88182
|
-
*
|
|
88183
|
-
* @param breakType Required. The break type to add to the document.
|
|
88184
|
-
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
88185
|
-
*/
|
|
88186
|
-
insertBreak(breakType: "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): void;
|
|
87869
|
+
insertBreak(breakType: Word.BreakType | "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After"): void;
|
|
88187
87870
|
/**
|
|
88188
87871
|
* Wraps the paragraph object with a rich text content control.
|
|
88189
87872
|
*
|
|
@@ -88200,27 +87883,7 @@ declare namespace Word {
|
|
|
88200
87883
|
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
88201
87884
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
88202
87885
|
*/
|
|
88203
|
-
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
88204
|
-
/**
|
|
88205
|
-
* Inserts a document into the paragraph at the specified location.
|
|
88206
|
-
*
|
|
88207
|
-
* @remarks
|
|
88208
|
-
* [Api set: WordApi 1.1]
|
|
88209
|
-
*
|
|
88210
|
-
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
88211
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
88212
|
-
*/
|
|
88213
|
-
insertFileFromBase64(base64File: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
88214
|
-
/**
|
|
88215
|
-
* Inserts HTML into the paragraph at the specified location.
|
|
88216
|
-
*
|
|
88217
|
-
* @remarks
|
|
88218
|
-
* [Api set: WordApi 1.1]
|
|
88219
|
-
*
|
|
88220
|
-
* @param html Required. The HTML to be inserted in the paragraph.
|
|
88221
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
88222
|
-
*/
|
|
88223
|
-
insertHtml(html: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
87886
|
+
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
|
|
88224
87887
|
/**
|
|
88225
87888
|
* Inserts HTML into the paragraph at the specified location.
|
|
88226
87889
|
*
|
|
@@ -88230,17 +87893,7 @@ declare namespace Word {
|
|
|
88230
87893
|
* @param html Required. The HTML to be inserted in the paragraph.
|
|
88231
87894
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
88232
87895
|
*/
|
|
88233
|
-
insertHtml(html: string, insertLocation:
|
|
88234
|
-
/**
|
|
88235
|
-
* Inserts a picture into the paragraph at the specified location.
|
|
88236
|
-
*
|
|
88237
|
-
* @remarks
|
|
88238
|
-
* [Api set: WordApi 1.1]
|
|
88239
|
-
*
|
|
88240
|
-
* @param base64EncodedImage Required. The base64 encoded image to be inserted.
|
|
88241
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
88242
|
-
*/
|
|
88243
|
-
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation): Word.InlinePicture;
|
|
87896
|
+
insertHtml(html: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
|
|
88244
87897
|
/**
|
|
88245
87898
|
* Inserts a picture into the paragraph at the specified location.
|
|
88246
87899
|
*
|
|
@@ -88250,17 +87903,7 @@ declare namespace Word {
|
|
|
88250
87903
|
* @param base64EncodedImage Required. The base64 encoded image to be inserted.
|
|
88251
87904
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
88252
87905
|
*/
|
|
88253
|
-
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation:
|
|
88254
|
-
/**
|
|
88255
|
-
* Inserts OOXML into the paragraph at the specified location.
|
|
88256
|
-
*
|
|
88257
|
-
* @remarks
|
|
88258
|
-
* [Api set: WordApi 1.1]
|
|
88259
|
-
*
|
|
88260
|
-
* @param ooxml Required. The OOXML to be inserted in the paragraph.
|
|
88261
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
88262
|
-
*/
|
|
88263
|
-
insertOoxml(ooxml: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
87906
|
+
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.InlinePicture;
|
|
88264
87907
|
/**
|
|
88265
87908
|
* Inserts OOXML into the paragraph at the specified location.
|
|
88266
87909
|
*
|
|
@@ -88270,7 +87913,7 @@ declare namespace Word {
|
|
|
88270
87913
|
* @param ooxml Required. The OOXML to be inserted in the paragraph.
|
|
88271
87914
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
88272
87915
|
*/
|
|
88273
|
-
insertOoxml(ooxml: string, insertLocation:
|
|
87916
|
+
insertOoxml(ooxml: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
|
|
88274
87917
|
/**
|
|
88275
87918
|
* Inserts a paragraph at the specified location.
|
|
88276
87919
|
*
|
|
@@ -88280,29 +87923,7 @@ declare namespace Word {
|
|
|
88280
87923
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
88281
87924
|
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
88282
87925
|
*/
|
|
88283
|
-
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
|
|
88284
|
-
/**
|
|
88285
|
-
* Inserts a paragraph at the specified location.
|
|
88286
|
-
*
|
|
88287
|
-
* @remarks
|
|
88288
|
-
* [Api set: WordApi 1.1]
|
|
88289
|
-
*
|
|
88290
|
-
* @param paragraphText Required. The paragraph text to be inserted.
|
|
88291
|
-
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
88292
|
-
*/
|
|
88293
|
-
insertParagraph(paragraphText: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Paragraph;
|
|
88294
|
-
/**
|
|
88295
|
-
* Inserts a table with the specified number of rows and columns.
|
|
88296
|
-
*
|
|
88297
|
-
* @remarks
|
|
88298
|
-
* [Api set: WordApi 1.3]
|
|
88299
|
-
*
|
|
88300
|
-
* @param rowCount Required. The number of rows in the table.
|
|
88301
|
-
* @param columnCount Required. The number of columns in the table.
|
|
88302
|
-
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
88303
|
-
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
88304
|
-
*/
|
|
88305
|
-
insertTable(rowCount: number, columnCount: number, insertLocation: Word.InsertLocation, values?: string[][]): Word.Table;
|
|
87926
|
+
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After"): Word.Paragraph;
|
|
88306
87927
|
/**
|
|
88307
87928
|
* Inserts a table with the specified number of rows and columns.
|
|
88308
87929
|
*
|
|
@@ -88314,17 +87935,7 @@ declare namespace Word {
|
|
|
88314
87935
|
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
88315
87936
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
88316
87937
|
*/
|
|
88317
|
-
insertTable(rowCount: number, columnCount: number, insertLocation:
|
|
88318
|
-
/**
|
|
88319
|
-
* Inserts text into the paragraph at the specified location.
|
|
88320
|
-
*
|
|
88321
|
-
* @remarks
|
|
88322
|
-
* [Api set: WordApi 1.1]
|
|
88323
|
-
*
|
|
88324
|
-
* @param text Required. Text to be inserted.
|
|
88325
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
88326
|
-
*/
|
|
88327
|
-
insertText(text: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
87938
|
+
insertTable(rowCount: number, columnCount: number, insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After", values?: string[][]): Word.Table;
|
|
88328
87939
|
/**
|
|
88329
87940
|
* Inserts text into the paragraph at the specified location.
|
|
88330
87941
|
*
|
|
@@ -88334,7 +87945,7 @@ declare namespace Word {
|
|
|
88334
87945
|
* @param text Required. Text to be inserted.
|
|
88335
87946
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
88336
87947
|
*/
|
|
88337
|
-
insertText(text: string, insertLocation:
|
|
87948
|
+
insertText(text: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
|
|
88338
87949
|
/**
|
|
88339
87950
|
* Performs a search with the specified SearchOptions on the scope of the paragraph object. The search results are a collection of range objects.
|
|
88340
87951
|
*
|
|
@@ -88769,16 +88380,7 @@ declare namespace Word {
|
|
|
88769
88380
|
*
|
|
88770
88381
|
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', 'After', or 'Content'.
|
|
88771
88382
|
*/
|
|
88772
|
-
getRange(rangeLocation?: Word.RangeLocation): Word.Range;
|
|
88773
|
-
/**
|
|
88774
|
-
* Clones the range, or gets the starting or ending point of the range as a new range.
|
|
88775
|
-
*
|
|
88776
|
-
* @remarks
|
|
88777
|
-
* [Api set: WordApi 1.3]
|
|
88778
|
-
*
|
|
88779
|
-
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', 'After', or 'Content'.
|
|
88780
|
-
*/
|
|
88781
|
-
getRange(rangeLocation?: "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
|
|
88383
|
+
getRange(rangeLocation?: Word.RangeLocation.whole | Word.RangeLocation.start | Word.RangeLocation.end | Word.RangeLocation.after | Word.RangeLocation.content | "Whole" | "Start" | "End" | "After" | "Content"): Word.Range;
|
|
88782
88384
|
/**
|
|
88783
88385
|
* Gets reviewed text based on ChangeTrackingVersion selection.
|
|
88784
88386
|
*
|
|
@@ -88826,17 +88428,7 @@ declare namespace Word {
|
|
|
88826
88428
|
* @param breakType Required. The break type to add.
|
|
88827
88429
|
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
88828
88430
|
*/
|
|
88829
|
-
insertBreak(breakType: Word.BreakType, insertLocation: Word.InsertLocation): void;
|
|
88830
|
-
/**
|
|
88831
|
-
* Inserts a break at the specified location in the main document.
|
|
88832
|
-
*
|
|
88833
|
-
* @remarks
|
|
88834
|
-
* [Api set: WordApi 1.1]
|
|
88835
|
-
*
|
|
88836
|
-
* @param breakType Required. The break type to add.
|
|
88837
|
-
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
88838
|
-
*/
|
|
88839
|
-
insertBreak(breakType: "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): void;
|
|
88431
|
+
insertBreak(breakType: Word.BreakType | "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After"): void;
|
|
88840
88432
|
/**
|
|
88841
88433
|
* Insert a comment on the range.
|
|
88842
88434
|
*
|
|
@@ -88872,17 +88464,7 @@ declare namespace Word {
|
|
|
88872
88464
|
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
88873
88465
|
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
88874
88466
|
*/
|
|
88875
|
-
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
88876
|
-
/**
|
|
88877
|
-
* Inserts a document at the specified location.
|
|
88878
|
-
*
|
|
88879
|
-
* @remarks
|
|
88880
|
-
* [Api set: WordApi 1.1]
|
|
88881
|
-
*
|
|
88882
|
-
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
88883
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
88884
|
-
*/
|
|
88885
|
-
insertFileFromBase64(base64File: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
88467
|
+
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation | "Replace" | "Start" | "End" | "Before" | "After"): Word.Range;
|
|
88886
88468
|
/**
|
|
88887
88469
|
* Inserts a footnote. The footnote reference is placed after the range.
|
|
88888
88470
|
*
|
|
@@ -88901,27 +88483,7 @@ declare namespace Word {
|
|
|
88901
88483
|
* @param html Required. The HTML to be inserted.
|
|
88902
88484
|
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
88903
88485
|
*/
|
|
88904
|
-
insertHtml(html: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
88905
|
-
/**
|
|
88906
|
-
* Inserts HTML at the specified location.
|
|
88907
|
-
*
|
|
88908
|
-
* @remarks
|
|
88909
|
-
* [Api set: WordApi 1.1]
|
|
88910
|
-
*
|
|
88911
|
-
* @param html Required. The HTML to be inserted.
|
|
88912
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
88913
|
-
*/
|
|
88914
|
-
insertHtml(html: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
88915
|
-
/**
|
|
88916
|
-
* Inserts a picture at the specified location.
|
|
88917
|
-
*
|
|
88918
|
-
* @remarks
|
|
88919
|
-
* [Api set: WordApi 1.2]
|
|
88920
|
-
*
|
|
88921
|
-
* @param base64EncodedImage Required. The base64 encoded image to be inserted.
|
|
88922
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
88923
|
-
*/
|
|
88924
|
-
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation): Word.InlinePicture;
|
|
88486
|
+
insertHtml(html: string, insertLocation: Word.InsertLocation | "Replace" | "Start" | "End" | "Before" | "After"): Word.Range;
|
|
88925
88487
|
/**
|
|
88926
88488
|
* Inserts a picture at the specified location.
|
|
88927
88489
|
*
|
|
@@ -88931,17 +88493,7 @@ declare namespace Word {
|
|
|
88931
88493
|
* @param base64EncodedImage Required. The base64 encoded image to be inserted.
|
|
88932
88494
|
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
88933
88495
|
*/
|
|
88934
|
-
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation:
|
|
88935
|
-
/**
|
|
88936
|
-
* Inserts OOXML at the specified location.
|
|
88937
|
-
*
|
|
88938
|
-
* @remarks
|
|
88939
|
-
* [Api set: WordApi 1.1]
|
|
88940
|
-
*
|
|
88941
|
-
* @param ooxml Required. The OOXML to be inserted.
|
|
88942
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
88943
|
-
*/
|
|
88944
|
-
insertOoxml(ooxml: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
88496
|
+
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation | "Replace" | "Start" | "End" | "Before" | "After"): Word.InlinePicture;
|
|
88945
88497
|
/**
|
|
88946
88498
|
* Inserts OOXML at the specified location.
|
|
88947
88499
|
*
|
|
@@ -88951,17 +88503,7 @@ declare namespace Word {
|
|
|
88951
88503
|
* @param ooxml Required. The OOXML to be inserted.
|
|
88952
88504
|
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
88953
88505
|
*/
|
|
88954
|
-
insertOoxml(ooxml: string, insertLocation:
|
|
88955
|
-
/**
|
|
88956
|
-
* Inserts a paragraph at the specified location.
|
|
88957
|
-
*
|
|
88958
|
-
* @remarks
|
|
88959
|
-
* [Api set: WordApi 1.1]
|
|
88960
|
-
*
|
|
88961
|
-
* @param paragraphText Required. The paragraph text to be inserted.
|
|
88962
|
-
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
88963
|
-
*/
|
|
88964
|
-
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
|
|
88506
|
+
insertOoxml(ooxml: string, insertLocation: Word.InsertLocation | "Replace" | "Start" | "End" | "Before" | "After"): Word.Range;
|
|
88965
88507
|
/**
|
|
88966
88508
|
* Inserts a paragraph at the specified location.
|
|
88967
88509
|
*
|
|
@@ -88971,7 +88513,7 @@ declare namespace Word {
|
|
|
88971
88513
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
88972
88514
|
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
88973
88515
|
*/
|
|
88974
|
-
insertParagraph(paragraphText: string, insertLocation:
|
|
88516
|
+
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After"): Word.Paragraph;
|
|
88975
88517
|
/**
|
|
88976
88518
|
* Inserts a table with the specified number of rows and columns.
|
|
88977
88519
|
*
|
|
@@ -88983,29 +88525,7 @@ declare namespace Word {
|
|
|
88983
88525
|
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
88984
88526
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
88985
88527
|
*/
|
|
88986
|
-
insertTable(rowCount: number, columnCount: number, insertLocation: Word.InsertLocation, values?: string[][]): Word.Table;
|
|
88987
|
-
/**
|
|
88988
|
-
* Inserts a table with the specified number of rows and columns.
|
|
88989
|
-
*
|
|
88990
|
-
* @remarks
|
|
88991
|
-
* [Api set: WordApi 1.3]
|
|
88992
|
-
*
|
|
88993
|
-
* @param rowCount Required. The number of rows in the table.
|
|
88994
|
-
* @param columnCount Required. The number of columns in the table.
|
|
88995
|
-
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
88996
|
-
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
88997
|
-
*/
|
|
88998
|
-
insertTable(rowCount: number, columnCount: number, insertLocation: "Before" | "After" | "Start" | "End" | "Replace", values?: string[][]): Word.Table;
|
|
88999
|
-
/**
|
|
89000
|
-
* Inserts text at the specified location.
|
|
89001
|
-
*
|
|
89002
|
-
* @remarks
|
|
89003
|
-
* [Api set: WordApi 1.1]
|
|
89004
|
-
*
|
|
89005
|
-
* @param text Required. Text to be inserted.
|
|
89006
|
-
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
89007
|
-
*/
|
|
89008
|
-
insertText(text: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
88528
|
+
insertTable(rowCount: number, columnCount: number, insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After", values?: string[][]): Word.Table;
|
|
89009
88529
|
/**
|
|
89010
88530
|
* Inserts text at the specified location.
|
|
89011
88531
|
*
|
|
@@ -89015,7 +88535,7 @@ declare namespace Word {
|
|
|
89015
88535
|
* @param text Required. Text to be inserted.
|
|
89016
88536
|
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
89017
88537
|
*/
|
|
89018
|
-
insertText(text: string, insertLocation:
|
|
88538
|
+
insertText(text: string, insertLocation: Word.InsertLocation | "Replace" | "Start" | "End" | "Before" | "After"): Word.Range;
|
|
89019
88539
|
/**
|
|
89020
88540
|
* 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.
|
|
89021
88541
|
*
|
|
@@ -89845,29 +89365,7 @@ declare namespace Word {
|
|
|
89845
89365
|
* @param columnCount Required. Number of columns to add.
|
|
89846
89366
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
89847
89367
|
*/
|
|
89848
|
-
addColumns(insertLocation: Word.InsertLocation, columnCount: number, values?: string[][]): void;
|
|
89849
|
-
/**
|
|
89850
|
-
* 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.
|
|
89851
|
-
*
|
|
89852
|
-
* @remarks
|
|
89853
|
-
* [Api set: WordApi 1.3]
|
|
89854
|
-
*
|
|
89855
|
-
* @param insertLocation Required. It must be 'Start' or 'End', corresponding to the appropriate side of the table.
|
|
89856
|
-
* @param columnCount Required. Number of columns to add.
|
|
89857
|
-
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
89858
|
-
*/
|
|
89859
|
-
addColumns(insertLocation: "Before" | "After" | "Start" | "End" | "Replace", columnCount: number, values?: string[][]): void;
|
|
89860
|
-
/**
|
|
89861
|
-
* 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.
|
|
89862
|
-
*
|
|
89863
|
-
* @remarks
|
|
89864
|
-
* [Api set: WordApi 1.3]
|
|
89865
|
-
*
|
|
89866
|
-
* @param insertLocation Required. It must be 'Start' or 'End'.
|
|
89867
|
-
* @param rowCount Required. Number of rows to add.
|
|
89868
|
-
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
89869
|
-
*/
|
|
89870
|
-
addRows(insertLocation: Word.InsertLocation, rowCount: number, values?: string[][]): Word.TableRowCollection;
|
|
89368
|
+
addColumns(insertLocation: Word.InsertLocation.start | Word.InsertLocation.end | "Start" | "End", columnCount: number, values?: string[][]): void;
|
|
89871
89369
|
/**
|
|
89872
89370
|
* 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.
|
|
89873
89371
|
*
|
|
@@ -89878,7 +89376,7 @@ declare namespace Word {
|
|
|
89878
89376
|
* @param rowCount Required. Number of rows to add.
|
|
89879
89377
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
89880
89378
|
*/
|
|
89881
|
-
addRows(insertLocation:
|
|
89379
|
+
addRows(insertLocation: Word.InsertLocation.start | Word.InsertLocation.end | "Start" | "End", rowCount: number, values?: string[][]): Word.TableRowCollection;
|
|
89882
89380
|
/**
|
|
89883
89381
|
* Autofits the table columns to the width of the window.
|
|
89884
89382
|
*
|
|
@@ -90033,16 +89531,7 @@ declare namespace Word {
|
|
|
90033
89531
|
*
|
|
90034
89532
|
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', or 'After'.
|
|
90035
89533
|
*/
|
|
90036
|
-
getRange(rangeLocation?: Word.RangeLocation): Word.Range;
|
|
90037
|
-
/**
|
|
90038
|
-
* Gets the range that contains this table, or the range at the start or end of the table.
|
|
90039
|
-
*
|
|
90040
|
-
* @remarks
|
|
90041
|
-
* [Api set: WordApi 1.3]
|
|
90042
|
-
*
|
|
90043
|
-
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', or 'After'.
|
|
90044
|
-
*/
|
|
90045
|
-
getRange(rangeLocation?: "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
|
|
89534
|
+
getRange(rangeLocation?: Word.RangeLocation.whole | Word.RangeLocation.start | Word.RangeLocation.end | Word.RangeLocation.after | "Whole" | "Start" | "End" | "After"): Word.Range;
|
|
90046
89535
|
/**
|
|
90047
89536
|
* Inserts a content control on the table.
|
|
90048
89537
|
*
|
|
@@ -90059,17 +89548,7 @@ declare namespace Word {
|
|
|
90059
89548
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
90060
89549
|
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
90061
89550
|
*/
|
|
90062
|
-
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
|
|
90063
|
-
/**
|
|
90064
|
-
* Inserts a paragraph at the specified location.
|
|
90065
|
-
*
|
|
90066
|
-
* @remarks
|
|
90067
|
-
* [Api set: WordApi 1.3]
|
|
90068
|
-
*
|
|
90069
|
-
* @param paragraphText Required. The paragraph text to be inserted.
|
|
90070
|
-
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
90071
|
-
*/
|
|
90072
|
-
insertParagraph(paragraphText: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Paragraph;
|
|
89551
|
+
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After"): Word.Paragraph;
|
|
90073
89552
|
/**
|
|
90074
89553
|
* Inserts a table with the specified number of rows and columns.
|
|
90075
89554
|
*
|
|
@@ -90081,19 +89560,7 @@ declare namespace Word {
|
|
|
90081
89560
|
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
90082
89561
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
90083
89562
|
*/
|
|
90084
|
-
insertTable(rowCount: number, columnCount: number, insertLocation: Word.InsertLocation, values?: string[][]): Word.Table;
|
|
90085
|
-
/**
|
|
90086
|
-
* Inserts a table with the specified number of rows and columns.
|
|
90087
|
-
*
|
|
90088
|
-
* @remarks
|
|
90089
|
-
* [Api set: WordApi 1.3]
|
|
90090
|
-
*
|
|
90091
|
-
* @param rowCount Required. The number of rows in the table.
|
|
90092
|
-
* @param columnCount Required. The number of columns in the table.
|
|
90093
|
-
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
90094
|
-
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
90095
|
-
*/
|
|
90096
|
-
insertTable(rowCount: number, columnCount: number, insertLocation: "Before" | "After" | "Start" | "End" | "Replace", values?: string[][]): Word.Table;
|
|
89563
|
+
insertTable(rowCount: number, columnCount: number, insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After", values?: string[][]): Word.Table;
|
|
90097
89564
|
/**
|
|
90098
89565
|
* Merges the cells bounded inclusively by a first and last cell.
|
|
90099
89566
|
*
|
|
@@ -90453,18 +89920,7 @@ declare namespace Word {
|
|
|
90453
89920
|
* @param rowCount Required. Number of rows to add
|
|
90454
89921
|
* @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.
|
|
90455
89922
|
*/
|
|
90456
|
-
insertRows(insertLocation: Word.InsertLocation, rowCount: number, values?: string[][]): Word.TableRowCollection;
|
|
90457
|
-
/**
|
|
90458
|
-
* Inserts rows using this row as a template. If values are specified, inserts the values into the new rows.
|
|
90459
|
-
*
|
|
90460
|
-
* @remarks
|
|
90461
|
-
* [Api set: WordApi 1.3]
|
|
90462
|
-
*
|
|
90463
|
-
* @param insertLocation Required. Where the new rows should be inserted, relative to the current row. It must be 'Before' or 'After'.
|
|
90464
|
-
* @param rowCount Required. Number of rows to add
|
|
90465
|
-
* @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.
|
|
90466
|
-
*/
|
|
90467
|
-
insertRows(insertLocation: "Before" | "After" | "Start" | "End" | "Replace", rowCount: number, values?: string[][]): Word.TableRowCollection;
|
|
89923
|
+
insertRows(insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After", rowCount: number, values?: string[][]): Word.TableRowCollection;
|
|
90468
89924
|
/**
|
|
90469
89925
|
* Merges the row into one cell.
|
|
90470
89926
|
*
|
|
@@ -90789,29 +90245,7 @@ declare namespace Word {
|
|
|
90789
90245
|
* @param columnCount Required. Number of columns to add.
|
|
90790
90246
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
90791
90247
|
*/
|
|
90792
|
-
insertColumns(insertLocation: Word.InsertLocation, columnCount: number, values?: string[][]): void;
|
|
90793
|
-
/**
|
|
90794
|
-
* 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.
|
|
90795
|
-
*
|
|
90796
|
-
* @remarks
|
|
90797
|
-
* [Api set: WordApi 1.3]
|
|
90798
|
-
*
|
|
90799
|
-
* @param insertLocation Required. It must be 'Before' or 'After'.
|
|
90800
|
-
* @param columnCount Required. Number of columns to add.
|
|
90801
|
-
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
90802
|
-
*/
|
|
90803
|
-
insertColumns(insertLocation: "Before" | "After" | "Start" | "End" | "Replace", columnCount: number, values?: string[][]): void;
|
|
90804
|
-
/**
|
|
90805
|
-
* 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.
|
|
90806
|
-
*
|
|
90807
|
-
* @remarks
|
|
90808
|
-
* [Api set: WordApi 1.3]
|
|
90809
|
-
*
|
|
90810
|
-
* @param insertLocation Required. It must be 'Before' or 'After'.
|
|
90811
|
-
* @param rowCount Required. Number of rows to add.
|
|
90812
|
-
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
90813
|
-
*/
|
|
90814
|
-
insertRows(insertLocation: Word.InsertLocation, rowCount: number, values?: string[][]): Word.TableRowCollection;
|
|
90248
|
+
insertColumns(insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After", columnCount: number, values?: string[][]): void;
|
|
90815
90249
|
/**
|
|
90816
90250
|
* 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.
|
|
90817
90251
|
*
|
|
@@ -90822,7 +90256,7 @@ declare namespace Word {
|
|
|
90822
90256
|
* @param rowCount Required. Number of rows to add.
|
|
90823
90257
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
90824
90258
|
*/
|
|
90825
|
-
insertRows(insertLocation:
|
|
90259
|
+
insertRows(insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After", rowCount: number, values?: string[][]): Word.TableRowCollection;
|
|
90826
90260
|
/**
|
|
90827
90261
|
* Sets cell padding in points.
|
|
90828
90262
|
*
|
|
@@ -91240,7 +90674,7 @@ declare namespace Word {
|
|
|
91240
90674
|
plainText = "PlainText",
|
|
91241
90675
|
}
|
|
91242
90676
|
/**
|
|
91243
|
-
* ContentControl appearance
|
|
90677
|
+
* ContentControl appearance.
|
|
91244
90678
|
*
|
|
91245
90679
|
* @remarks
|
|
91246
90680
|
* [Api set: WordApi 1.1]
|
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.333",
|
|
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",
|
|
@@ -45,6 +45,6 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "72f7a2b803d07ebf798b88a0e6ef6334970a5f6e3de7ac59a6cd35a8e5d96199",
|
|
49
49
|
"typeScriptVersion": "4.1"
|
|
50
50
|
}
|