@types/office-js 1.0.246 → 1.0.247
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 +138 -143
- 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: Mon, 18 Apr 2022 17:31:15 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
|
@@ -74775,7 +74775,7 @@ declare namespace Word {
|
|
|
74775
74775
|
* @remarks
|
|
74776
74776
|
* [Api set: WordApi 1.3]
|
|
74777
74777
|
*
|
|
74778
|
-
* @param rangeLocation Optional. The range location
|
|
74778
|
+
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', 'After', or 'Content'.
|
|
74779
74779
|
*/
|
|
74780
74780
|
getRange(rangeLocation?: Word.RangeLocation): Word.Range;
|
|
74781
74781
|
/**
|
|
@@ -74784,7 +74784,7 @@ declare namespace Word {
|
|
|
74784
74784
|
* @remarks
|
|
74785
74785
|
* [Api set: WordApi 1.3]
|
|
74786
74786
|
*
|
|
74787
|
-
* @param rangeLocation Optional. The range location
|
|
74787
|
+
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', 'After', or 'Content'.
|
|
74788
74788
|
*/
|
|
74789
74789
|
getRange(rangeLocation?: "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
|
|
74790
74790
|
/**
|
|
@@ -74794,7 +74794,7 @@ declare namespace Word {
|
|
|
74794
74794
|
* [Api set: WordApi 1.1]
|
|
74795
74795
|
*
|
|
74796
74796
|
* @param breakType Required. The break type to add to the body.
|
|
74797
|
-
* @param insertLocation Required. The value
|
|
74797
|
+
* @param insertLocation Required. The value must be 'Start' or 'End'.
|
|
74798
74798
|
*/
|
|
74799
74799
|
insertBreak(breakType: Word.BreakType, insertLocation: Word.InsertLocation): void;
|
|
74800
74800
|
/**
|
|
@@ -74804,7 +74804,7 @@ declare namespace Word {
|
|
|
74804
74804
|
* [Api set: WordApi 1.1]
|
|
74805
74805
|
*
|
|
74806
74806
|
* @param breakType Required. The break type to add to the body.
|
|
74807
|
-
* @param insertLocation Required. The value
|
|
74807
|
+
* @param insertLocation Required. The value must be 'Start' or 'End'.
|
|
74808
74808
|
*/
|
|
74809
74809
|
insertBreak(breakType: "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): void;
|
|
74810
74810
|
/**
|
|
@@ -74821,7 +74821,7 @@ declare namespace Word {
|
|
|
74821
74821
|
* [Api set: WordApi 1.1]
|
|
74822
74822
|
*
|
|
74823
74823
|
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
74824
|
-
* @param insertLocation Required. The value
|
|
74824
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
74825
74825
|
*/
|
|
74826
74826
|
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
74827
74827
|
/**
|
|
@@ -74831,7 +74831,7 @@ declare namespace Word {
|
|
|
74831
74831
|
* [Api set: WordApi 1.1]
|
|
74832
74832
|
*
|
|
74833
74833
|
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
74834
|
-
* @param insertLocation Required. The value
|
|
74834
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
74835
74835
|
*/
|
|
74836
74836
|
insertFileFromBase64(base64File: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
74837
74837
|
/**
|
|
@@ -74841,7 +74841,7 @@ declare namespace Word {
|
|
|
74841
74841
|
* [Api set: WordApi 1.1]
|
|
74842
74842
|
*
|
|
74843
74843
|
* @param html Required. The HTML to be inserted in the document.
|
|
74844
|
-
* @param insertLocation Required. The value
|
|
74844
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
74845
74845
|
*/
|
|
74846
74846
|
insertHtml(html: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
74847
74847
|
/**
|
|
@@ -74851,7 +74851,7 @@ declare namespace Word {
|
|
|
74851
74851
|
* [Api set: WordApi 1.1]
|
|
74852
74852
|
*
|
|
74853
74853
|
* @param html Required. The HTML to be inserted in the document.
|
|
74854
|
-
* @param insertLocation Required. The value
|
|
74854
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
74855
74855
|
*/
|
|
74856
74856
|
insertHtml(html: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
74857
74857
|
/**
|
|
@@ -74861,7 +74861,7 @@ declare namespace Word {
|
|
|
74861
74861
|
* [Api set: WordApi 1.2]
|
|
74862
74862
|
*
|
|
74863
74863
|
* @param base64EncodedImage Required. The base64 encoded image to be inserted in the body.
|
|
74864
|
-
* @param insertLocation Required. The value
|
|
74864
|
+
* @param insertLocation Required. The value must be 'Start' or 'End'.
|
|
74865
74865
|
*/
|
|
74866
74866
|
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation): Word.InlinePicture;
|
|
74867
74867
|
/**
|
|
@@ -74871,7 +74871,7 @@ declare namespace Word {
|
|
|
74871
74871
|
* [Api set: WordApi 1.2]
|
|
74872
74872
|
*
|
|
74873
74873
|
* @param base64EncodedImage Required. The base64 encoded image to be inserted in the body.
|
|
74874
|
-
* @param insertLocation Required. The value
|
|
74874
|
+
* @param insertLocation Required. The value must be 'Start' or 'End'.
|
|
74875
74875
|
*/
|
|
74876
74876
|
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.InlinePicture;
|
|
74877
74877
|
/**
|
|
@@ -74881,7 +74881,7 @@ declare namespace Word {
|
|
|
74881
74881
|
* [Api set: WordApi 1.1]
|
|
74882
74882
|
*
|
|
74883
74883
|
* @param ooxml Required. The OOXML to be inserted.
|
|
74884
|
-
* @param insertLocation Required. The value
|
|
74884
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
74885
74885
|
*/
|
|
74886
74886
|
insertOoxml(ooxml: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
74887
74887
|
/**
|
|
@@ -74891,7 +74891,7 @@ declare namespace Word {
|
|
|
74891
74891
|
* [Api set: WordApi 1.1]
|
|
74892
74892
|
*
|
|
74893
74893
|
* @param ooxml Required. The OOXML to be inserted.
|
|
74894
|
-
* @param insertLocation Required. The value
|
|
74894
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
74895
74895
|
*/
|
|
74896
74896
|
insertOoxml(ooxml: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
74897
74897
|
/**
|
|
@@ -74901,7 +74901,7 @@ declare namespace Word {
|
|
|
74901
74901
|
* [Api set: WordApi 1.1]
|
|
74902
74902
|
*
|
|
74903
74903
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
74904
|
-
* @param insertLocation Required. The value
|
|
74904
|
+
* @param insertLocation Required. The value must be 'Start' or 'End'.
|
|
74905
74905
|
*/
|
|
74906
74906
|
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
|
|
74907
74907
|
/**
|
|
@@ -74911,7 +74911,7 @@ declare namespace Word {
|
|
|
74911
74911
|
* [Api set: WordApi 1.1]
|
|
74912
74912
|
*
|
|
74913
74913
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
74914
|
-
* @param insertLocation Required. The value
|
|
74914
|
+
* @param insertLocation Required. The value must be 'Start' or 'End'.
|
|
74915
74915
|
*/
|
|
74916
74916
|
insertParagraph(paragraphText: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Paragraph;
|
|
74917
74917
|
/**
|
|
@@ -74922,7 +74922,7 @@ declare namespace Word {
|
|
|
74922
74922
|
*
|
|
74923
74923
|
* @param rowCount Required. The number of rows in the table.
|
|
74924
74924
|
* @param columnCount Required. The number of columns in the table.
|
|
74925
|
-
* @param insertLocation Required. The value
|
|
74925
|
+
* @param insertLocation Required. The value must be 'Start' or 'End'.
|
|
74926
74926
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
74927
74927
|
*/
|
|
74928
74928
|
insertTable(rowCount: number, columnCount: number, insertLocation: Word.InsertLocation, values?: string[][]): Word.Table;
|
|
@@ -74934,7 +74934,7 @@ declare namespace Word {
|
|
|
74934
74934
|
*
|
|
74935
74935
|
* @param rowCount Required. The number of rows in the table.
|
|
74936
74936
|
* @param columnCount Required. The number of columns in the table.
|
|
74937
|
-
* @param insertLocation Required. The value
|
|
74937
|
+
* @param insertLocation Required. The value must be 'Start' or 'End'.
|
|
74938
74938
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
74939
74939
|
*/
|
|
74940
74940
|
insertTable(rowCount: number, columnCount: number, insertLocation: "Before" | "After" | "Start" | "End" | "Replace", values?: string[][]): Word.Table;
|
|
@@ -74945,7 +74945,7 @@ declare namespace Word {
|
|
|
74945
74945
|
* [Api set: WordApi 1.1]
|
|
74946
74946
|
*
|
|
74947
74947
|
* @param text Required. Text to be inserted.
|
|
74948
|
-
* @param insertLocation Required. The value
|
|
74948
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
74949
74949
|
*/
|
|
74950
74950
|
insertText(text: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
74951
74951
|
/**
|
|
@@ -74955,7 +74955,7 @@ declare namespace Word {
|
|
|
74955
74955
|
* [Api set: WordApi 1.1]
|
|
74956
74956
|
*
|
|
74957
74957
|
* @param text Required. Text to be inserted.
|
|
74958
|
-
* @param insertLocation Required. The value
|
|
74958
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
74959
74959
|
*/
|
|
74960
74960
|
insertText(text: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
74961
74961
|
/**
|
|
@@ -74982,7 +74982,7 @@ declare namespace Word {
|
|
|
74982
74982
|
* @remarks
|
|
74983
74983
|
* [Api set: WordApi 1.1]
|
|
74984
74984
|
*
|
|
74985
|
-
* @param selectionMode Optional. The selection mode
|
|
74985
|
+
* @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
|
|
74986
74986
|
*/
|
|
74987
74987
|
select(selectionMode?: Word.SelectionMode): void;
|
|
74988
74988
|
/**
|
|
@@ -74991,7 +74991,7 @@ declare namespace Word {
|
|
|
74991
74991
|
* @remarks
|
|
74992
74992
|
* [Api set: WordApi 1.1]
|
|
74993
74993
|
*
|
|
74994
|
-
* @param selectionMode Optional. The selection mode
|
|
74994
|
+
* @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
|
|
74995
74995
|
*/
|
|
74996
74996
|
select(selectionMode?: "Select" | "Start" | "End"): void;
|
|
74997
74997
|
/**
|
|
@@ -75166,7 +75166,6 @@ declare namespace Word {
|
|
|
75166
75166
|
readonly id: number;
|
|
75167
75167
|
/**
|
|
75168
75168
|
* Gets or sets the placeholder text of the content control. Dimmed text will be displayed when the content control is empty.
|
|
75169
|
-
*
|
|
75170
75169
|
* **Note**: The set operation for this property is not supported in Word on the web.
|
|
75171
75170
|
*
|
|
75172
75171
|
* @remarks
|
|
@@ -75273,7 +75272,7 @@ declare namespace Word {
|
|
|
75273
75272
|
* @remarks
|
|
75274
75273
|
* [Api set: WordApi 1.3]
|
|
75275
75274
|
*
|
|
75276
|
-
* @param rangeLocation Optional. The range location
|
|
75275
|
+
* @param rangeLocation Optional. The range location must be 'Whole', 'Before', 'Start', 'End', 'After', or 'Content'.
|
|
75277
75276
|
*/
|
|
75278
75277
|
getRange(rangeLocation?: Word.RangeLocation): Word.Range;
|
|
75279
75278
|
/**
|
|
@@ -75282,7 +75281,7 @@ declare namespace Word {
|
|
|
75282
75281
|
* @remarks
|
|
75283
75282
|
* [Api set: WordApi 1.3]
|
|
75284
75283
|
*
|
|
75285
|
-
* @param rangeLocation Optional. The range location
|
|
75284
|
+
* @param rangeLocation Optional. The range location must be 'Whole', 'Before', 'Start', 'End', 'After', or 'Content'.
|
|
75286
75285
|
*/
|
|
75287
75286
|
getRange(rangeLocation?: "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
|
|
75288
75287
|
/**
|
|
@@ -75302,7 +75301,7 @@ declare namespace Word {
|
|
|
75302
75301
|
* [Api set: WordApi 1.1]
|
|
75303
75302
|
*
|
|
75304
75303
|
* @param breakType Required. Type of break.
|
|
75305
|
-
* @param insertLocation Required. The value
|
|
75304
|
+
* @param insertLocation Required. The value must be 'Start', 'End', 'Before', or 'After'.
|
|
75306
75305
|
*/
|
|
75307
75306
|
insertBreak(breakType: Word.BreakType, insertLocation: Word.InsertLocation): void;
|
|
75308
75307
|
/**
|
|
@@ -75312,7 +75311,7 @@ declare namespace Word {
|
|
|
75312
75311
|
* [Api set: WordApi 1.1]
|
|
75313
75312
|
*
|
|
75314
75313
|
* @param breakType Required. Type of break.
|
|
75315
|
-
* @param insertLocation Required. The value
|
|
75314
|
+
* @param insertLocation Required. The value must be 'Start', 'End', 'Before', or 'After'.
|
|
75316
75315
|
*/
|
|
75317
75316
|
insertBreak(breakType: "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): void;
|
|
75318
75317
|
/**
|
|
@@ -75322,7 +75321,7 @@ declare namespace Word {
|
|
|
75322
75321
|
* [Api set: WordApi 1.1]
|
|
75323
75322
|
*
|
|
75324
75323
|
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
75325
|
-
* @param insertLocation Required. The value
|
|
75324
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
75326
75325
|
*/
|
|
75327
75326
|
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
75328
75327
|
/**
|
|
@@ -75332,7 +75331,7 @@ declare namespace Word {
|
|
|
75332
75331
|
* [Api set: WordApi 1.1]
|
|
75333
75332
|
*
|
|
75334
75333
|
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
75335
|
-
* @param insertLocation Required. The value
|
|
75334
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
75336
75335
|
*/
|
|
75337
75336
|
insertFileFromBase64(base64File: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
75338
75337
|
/**
|
|
@@ -75342,7 +75341,7 @@ declare namespace Word {
|
|
|
75342
75341
|
* [Api set: WordApi 1.1]
|
|
75343
75342
|
*
|
|
75344
75343
|
* @param html Required. The HTML to be inserted in to the content control.
|
|
75345
|
-
* @param insertLocation Required. The value
|
|
75344
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
75346
75345
|
*/
|
|
75347
75346
|
insertHtml(html: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
75348
75347
|
/**
|
|
@@ -75352,7 +75351,7 @@ declare namespace Word {
|
|
|
75352
75351
|
* [Api set: WordApi 1.1]
|
|
75353
75352
|
*
|
|
75354
75353
|
* @param html Required. The HTML to be inserted in to the content control.
|
|
75355
|
-
* @param insertLocation Required. The value
|
|
75354
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
75356
75355
|
*/
|
|
75357
75356
|
insertHtml(html: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
75358
75357
|
/**
|
|
@@ -75362,7 +75361,7 @@ declare namespace Word {
|
|
|
75362
75361
|
* [Api set: WordApi 1.2]
|
|
75363
75362
|
*
|
|
75364
75363
|
* @param base64EncodedImage Required. The base64 encoded image to be inserted in the content control.
|
|
75365
|
-
* @param insertLocation Required. The value
|
|
75364
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
75366
75365
|
*/
|
|
75367
75366
|
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation): Word.InlinePicture;
|
|
75368
75367
|
/**
|
|
@@ -75372,7 +75371,7 @@ declare namespace Word {
|
|
|
75372
75371
|
* [Api set: WordApi 1.2]
|
|
75373
75372
|
*
|
|
75374
75373
|
* @param base64EncodedImage Required. The base64 encoded image to be inserted in the content control.
|
|
75375
|
-
* @param insertLocation Required. The value
|
|
75374
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
75376
75375
|
*/
|
|
75377
75376
|
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.InlinePicture;
|
|
75378
75377
|
/**
|
|
@@ -75382,7 +75381,7 @@ declare namespace Word {
|
|
|
75382
75381
|
* [Api set: WordApi 1.1]
|
|
75383
75382
|
*
|
|
75384
75383
|
* @param ooxml Required. The OOXML to be inserted in to the content control.
|
|
75385
|
-
* @param insertLocation Required. The value
|
|
75384
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
75386
75385
|
*/
|
|
75387
75386
|
insertOoxml(ooxml: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
75388
75387
|
/**
|
|
@@ -75392,7 +75391,7 @@ declare namespace Word {
|
|
|
75392
75391
|
* [Api set: WordApi 1.1]
|
|
75393
75392
|
*
|
|
75394
75393
|
* @param ooxml Required. The OOXML to be inserted in to the content control.
|
|
75395
|
-
* @param insertLocation Required. The value
|
|
75394
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
75396
75395
|
*/
|
|
75397
75396
|
insertOoxml(ooxml: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
75398
75397
|
/**
|
|
@@ -75402,7 +75401,7 @@ declare namespace Word {
|
|
|
75402
75401
|
* [Api set: WordApi 1.1]
|
|
75403
75402
|
*
|
|
75404
75403
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
75405
|
-
* @param insertLocation Required. The value
|
|
75404
|
+
* @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.
|
|
75406
75405
|
*/
|
|
75407
75406
|
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
|
|
75408
75407
|
/**
|
|
@@ -75412,7 +75411,7 @@ declare namespace Word {
|
|
|
75412
75411
|
* [Api set: WordApi 1.1]
|
|
75413
75412
|
*
|
|
75414
75413
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
75415
|
-
* @param insertLocation Required. The value
|
|
75414
|
+
* @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.
|
|
75416
75415
|
*/
|
|
75417
75416
|
insertParagraph(paragraphText: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Paragraph;
|
|
75418
75417
|
/**
|
|
@@ -75423,7 +75422,7 @@ declare namespace Word {
|
|
|
75423
75422
|
*
|
|
75424
75423
|
* @param rowCount Required. The number of rows in the table.
|
|
75425
75424
|
* @param columnCount Required. The number of columns in the table.
|
|
75426
|
-
* @param insertLocation Required. The value
|
|
75425
|
+
* @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.
|
|
75427
75426
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
75428
75427
|
*/
|
|
75429
75428
|
insertTable(rowCount: number, columnCount: number, insertLocation: Word.InsertLocation, values?: string[][]): Word.Table;
|
|
@@ -75435,7 +75434,7 @@ declare namespace Word {
|
|
|
75435
75434
|
*
|
|
75436
75435
|
* @param rowCount Required. The number of rows in the table.
|
|
75437
75436
|
* @param columnCount Required. The number of columns in the table.
|
|
75438
|
-
* @param insertLocation Required. The value
|
|
75437
|
+
* @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.
|
|
75439
75438
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
75440
75439
|
*/
|
|
75441
75440
|
insertTable(rowCount: number, columnCount: number, insertLocation: "Before" | "After" | "Start" | "End" | "Replace", values?: string[][]): Word.Table;
|
|
@@ -75446,7 +75445,7 @@ declare namespace Word {
|
|
|
75446
75445
|
* [Api set: WordApi 1.1]
|
|
75447
75446
|
*
|
|
75448
75447
|
* @param text Required. The text to be inserted in to the content control.
|
|
75449
|
-
* @param insertLocation Required. The value
|
|
75448
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
75450
75449
|
*/
|
|
75451
75450
|
insertText(text: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
75452
75451
|
/**
|
|
@@ -75456,7 +75455,7 @@ declare namespace Word {
|
|
|
75456
75455
|
* [Api set: WordApi 1.1]
|
|
75457
75456
|
*
|
|
75458
75457
|
* @param text Required. The text to be inserted in to the content control.
|
|
75459
|
-
* @param insertLocation Required. The value
|
|
75458
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
75460
75459
|
*/
|
|
75461
75460
|
insertText(text: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
75462
75461
|
/**
|
|
@@ -75483,7 +75482,7 @@ declare namespace Word {
|
|
|
75483
75482
|
* @remarks
|
|
75484
75483
|
* [Api set: WordApi 1.1]
|
|
75485
75484
|
*
|
|
75486
|
-
* @param selectionMode Optional. The selection mode
|
|
75485
|
+
* @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
|
|
75487
75486
|
*/
|
|
75488
75487
|
select(selectionMode?: Word.SelectionMode): void;
|
|
75489
75488
|
/**
|
|
@@ -75492,7 +75491,7 @@ declare namespace Word {
|
|
|
75492
75491
|
* @remarks
|
|
75493
75492
|
* [Api set: WordApi 1.1]
|
|
75494
75493
|
*
|
|
75495
|
-
* @param selectionMode Optional. The selection mode
|
|
75494
|
+
* @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
|
|
75496
75495
|
*/
|
|
75497
75496
|
select(selectionMode?: "Select" | "Start" | "End"): void;
|
|
75498
75497
|
/**
|
|
@@ -76470,7 +76469,7 @@ declare namespace Word {
|
|
|
76470
76469
|
* @remarks
|
|
76471
76470
|
* [Api set: WordApi 1.3]
|
|
76472
76471
|
*
|
|
76473
|
-
* @param rangeLocation Optional. The range location
|
|
76472
|
+
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', or 'End'.
|
|
76474
76473
|
*/
|
|
76475
76474
|
getRange(rangeLocation?: Word.RangeLocation): Word.Range;
|
|
76476
76475
|
/**
|
|
@@ -76479,7 +76478,7 @@ declare namespace Word {
|
|
|
76479
76478
|
* @remarks
|
|
76480
76479
|
* [Api set: WordApi 1.3]
|
|
76481
76480
|
*
|
|
76482
|
-
* @param rangeLocation Optional. The range location
|
|
76481
|
+
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', or 'End'.
|
|
76483
76482
|
*/
|
|
76484
76483
|
getRange(rangeLocation?: "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
|
|
76485
76484
|
/**
|
|
@@ -76489,7 +76488,7 @@ declare namespace Word {
|
|
|
76489
76488
|
* [Api set: WordApi 1.2]
|
|
76490
76489
|
*
|
|
76491
76490
|
* @param breakType Required. The break type to add.
|
|
76492
|
-
* @param insertLocation Required. The value
|
|
76491
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
76493
76492
|
*/
|
|
76494
76493
|
insertBreak(breakType: Word.BreakType, insertLocation: Word.InsertLocation): void;
|
|
76495
76494
|
/**
|
|
@@ -76499,7 +76498,7 @@ declare namespace Word {
|
|
|
76499
76498
|
* [Api set: WordApi 1.2]
|
|
76500
76499
|
*
|
|
76501
76500
|
* @param breakType Required. The break type to add.
|
|
76502
|
-
* @param insertLocation Required. The value
|
|
76501
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
76503
76502
|
*/
|
|
76504
76503
|
insertBreak(breakType: "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): void;
|
|
76505
76504
|
/**
|
|
@@ -76516,7 +76515,7 @@ declare namespace Word {
|
|
|
76516
76515
|
* [Api set: WordApi 1.2]
|
|
76517
76516
|
*
|
|
76518
76517
|
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
76519
|
-
* @param insertLocation Required. The value
|
|
76518
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
76520
76519
|
*/
|
|
76521
76520
|
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
76522
76521
|
/**
|
|
@@ -76526,7 +76525,7 @@ declare namespace Word {
|
|
|
76526
76525
|
* [Api set: WordApi 1.2]
|
|
76527
76526
|
*
|
|
76528
76527
|
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
76529
|
-
* @param insertLocation Required. The value
|
|
76528
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
76530
76529
|
*/
|
|
76531
76530
|
insertFileFromBase64(base64File: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
76532
76531
|
/**
|
|
@@ -76536,7 +76535,7 @@ declare namespace Word {
|
|
|
76536
76535
|
* [Api set: WordApi 1.2]
|
|
76537
76536
|
*
|
|
76538
76537
|
* @param html Required. The HTML to be inserted.
|
|
76539
|
-
* @param insertLocation Required. The value
|
|
76538
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
76540
76539
|
*/
|
|
76541
76540
|
insertHtml(html: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
76542
76541
|
/**
|
|
@@ -76546,7 +76545,7 @@ declare namespace Word {
|
|
|
76546
76545
|
* [Api set: WordApi 1.2]
|
|
76547
76546
|
*
|
|
76548
76547
|
* @param html Required. The HTML to be inserted.
|
|
76549
|
-
* @param insertLocation Required. The value
|
|
76548
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
76550
76549
|
*/
|
|
76551
76550
|
insertHtml(html: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
76552
76551
|
/**
|
|
@@ -76556,7 +76555,7 @@ declare namespace Word {
|
|
|
76556
76555
|
* [Api set: WordApi 1.2]
|
|
76557
76556
|
*
|
|
76558
76557
|
* @param base64EncodedImage Required. The base64 encoded image to be inserted.
|
|
76559
|
-
* @param insertLocation Required. The value
|
|
76558
|
+
* @param insertLocation Required. The value must be 'Replace', 'Before', or 'After'.
|
|
76560
76559
|
*/
|
|
76561
76560
|
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation): Word.InlinePicture;
|
|
76562
76561
|
/**
|
|
@@ -76566,7 +76565,7 @@ declare namespace Word {
|
|
|
76566
76565
|
* [Api set: WordApi 1.2]
|
|
76567
76566
|
*
|
|
76568
76567
|
* @param base64EncodedImage Required. The base64 encoded image to be inserted.
|
|
76569
|
-
* @param insertLocation Required. The value
|
|
76568
|
+
* @param insertLocation Required. The value must be 'Replace', 'Before', or 'After'.
|
|
76570
76569
|
*/
|
|
76571
76570
|
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.InlinePicture;
|
|
76572
76571
|
/**
|
|
@@ -76576,7 +76575,7 @@ declare namespace Word {
|
|
|
76576
76575
|
* [Api set: WordApi 1.2]
|
|
76577
76576
|
*
|
|
76578
76577
|
* @param ooxml Required. The OOXML to be inserted.
|
|
76579
|
-
* @param insertLocation Required. The value
|
|
76578
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
76580
76579
|
*/
|
|
76581
76580
|
insertOoxml(ooxml: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
76582
76581
|
/**
|
|
@@ -76586,7 +76585,7 @@ declare namespace Word {
|
|
|
76586
76585
|
* [Api set: WordApi 1.2]
|
|
76587
76586
|
*
|
|
76588
76587
|
* @param ooxml Required. The OOXML to be inserted.
|
|
76589
|
-
* @param insertLocation Required. The value
|
|
76588
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
76590
76589
|
*/
|
|
76591
76590
|
insertOoxml(ooxml: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
76592
76591
|
/**
|
|
@@ -76596,7 +76595,7 @@ declare namespace Word {
|
|
|
76596
76595
|
* [Api set: WordApi 1.2]
|
|
76597
76596
|
*
|
|
76598
76597
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
76599
|
-
* @param insertLocation Required. The value
|
|
76598
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
76600
76599
|
*/
|
|
76601
76600
|
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
|
|
76602
76601
|
/**
|
|
@@ -76606,7 +76605,7 @@ declare namespace Word {
|
|
|
76606
76605
|
* [Api set: WordApi 1.2]
|
|
76607
76606
|
*
|
|
76608
76607
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
76609
|
-
* @param insertLocation Required. The value
|
|
76608
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
76610
76609
|
*/
|
|
76611
76610
|
insertParagraph(paragraphText: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Paragraph;
|
|
76612
76611
|
/**
|
|
@@ -76616,7 +76615,7 @@ declare namespace Word {
|
|
|
76616
76615
|
* [Api set: WordApi 1.2]
|
|
76617
76616
|
*
|
|
76618
76617
|
* @param text Required. Text to be inserted.
|
|
76619
|
-
* @param insertLocation Required. The value
|
|
76618
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
76620
76619
|
*/
|
|
76621
76620
|
insertText(text: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
76622
76621
|
/**
|
|
@@ -76626,7 +76625,7 @@ declare namespace Word {
|
|
|
76626
76625
|
* [Api set: WordApi 1.2]
|
|
76627
76626
|
*
|
|
76628
76627
|
* @param text Required. Text to be inserted.
|
|
76629
|
-
* @param insertLocation Required. The value
|
|
76628
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
76630
76629
|
*/
|
|
76631
76630
|
insertText(text: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
76632
76631
|
/**
|
|
@@ -76635,7 +76634,7 @@ declare namespace Word {
|
|
|
76635
76634
|
* @remarks
|
|
76636
76635
|
* [Api set: WordApi 1.2]
|
|
76637
76636
|
*
|
|
76638
|
-
* @param selectionMode Optional. The selection mode
|
|
76637
|
+
* @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
|
|
76639
76638
|
*/
|
|
76640
76639
|
select(selectionMode?: Word.SelectionMode): void;
|
|
76641
76640
|
/**
|
|
@@ -76644,7 +76643,7 @@ declare namespace Word {
|
|
|
76644
76643
|
* @remarks
|
|
76645
76644
|
* [Api set: WordApi 1.2]
|
|
76646
76645
|
*
|
|
76647
|
-
* @param selectionMode Optional. The selection mode
|
|
76646
|
+
* @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
|
|
76648
76647
|
*/
|
|
76649
76648
|
select(selectionMode?: "Select" | "Start" | "End"): void;
|
|
76650
76649
|
/**
|
|
@@ -76801,7 +76800,7 @@ declare namespace Word {
|
|
|
76801
76800
|
* [Api set: WordApi 1.3]
|
|
76802
76801
|
*
|
|
76803
76802
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
76804
|
-
* @param insertLocation Required. The value
|
|
76803
|
+
* @param insertLocation Required. The value must be 'Start', 'End', 'Before', or 'After'.
|
|
76805
76804
|
*/
|
|
76806
76805
|
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
|
|
76807
76806
|
/**
|
|
@@ -76811,7 +76810,7 @@ declare namespace Word {
|
|
|
76811
76810
|
* [Api set: WordApi 1.3]
|
|
76812
76811
|
*
|
|
76813
76812
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
76814
|
-
* @param insertLocation Required. The value
|
|
76813
|
+
* @param insertLocation Required. The value must be 'Start', 'End', 'Before', or 'After'.
|
|
76815
76814
|
*/
|
|
76816
76815
|
insertParagraph(paragraphText: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Paragraph;
|
|
76817
76816
|
/**
|
|
@@ -76821,7 +76820,7 @@ declare namespace Word {
|
|
|
76821
76820
|
* [Api set: WordApi 1.3]
|
|
76822
76821
|
*
|
|
76823
76822
|
* @param level Required. The level in the list.
|
|
76824
|
-
* @param alignment Required. The level alignment that
|
|
76823
|
+
* @param alignment Required. The level alignment that must be 'Left', 'Centered', or 'Right'.
|
|
76825
76824
|
*/
|
|
76826
76825
|
setLevelAlignment(level: number, alignment: Word.Alignment): void;
|
|
76827
76826
|
/**
|
|
@@ -76831,7 +76830,7 @@ declare namespace Word {
|
|
|
76831
76830
|
* [Api set: WordApi 1.3]
|
|
76832
76831
|
*
|
|
76833
76832
|
* @param level Required. The level in the list.
|
|
76834
|
-
* @param alignment Required. The level alignment that
|
|
76833
|
+
* @param alignment Required. The level alignment that must be 'Left', 'Centered', or 'Right'.
|
|
76835
76834
|
*/
|
|
76836
76835
|
setLevelAlignment(level: number, alignment: "Mixed" | "Unknown" | "Left" | "Centered" | "Right" | "Justified"): void;
|
|
76837
76836
|
/**
|
|
@@ -77426,7 +77425,7 @@ declare namespace Word {
|
|
|
77426
77425
|
* @remarks
|
|
77427
77426
|
* [Api set: WordApi 1.3]
|
|
77428
77427
|
*
|
|
77429
|
-
* @param rangeLocation Optional. The range location
|
|
77428
|
+
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', 'After', or 'Content'.
|
|
77430
77429
|
*/
|
|
77431
77430
|
getRange(rangeLocation?: Word.RangeLocation): Word.Range;
|
|
77432
77431
|
/**
|
|
@@ -77435,7 +77434,7 @@ declare namespace Word {
|
|
|
77435
77434
|
* @remarks
|
|
77436
77435
|
* [Api set: WordApi 1.3]
|
|
77437
77436
|
*
|
|
77438
|
-
* @param rangeLocation Optional. The range location
|
|
77437
|
+
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', 'After', or 'Content'.
|
|
77439
77438
|
*/
|
|
77440
77439
|
getRange(rangeLocation?: "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
|
|
77441
77440
|
/**
|
|
@@ -77455,7 +77454,7 @@ declare namespace Word {
|
|
|
77455
77454
|
* [Api set: WordApi 1.1]
|
|
77456
77455
|
*
|
|
77457
77456
|
* @param breakType Required. The break type to add to the document.
|
|
77458
|
-
* @param insertLocation Required. The value
|
|
77457
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
77459
77458
|
*/
|
|
77460
77459
|
insertBreak(breakType: Word.BreakType, insertLocation: Word.InsertLocation): void;
|
|
77461
77460
|
/**
|
|
@@ -77465,7 +77464,7 @@ declare namespace Word {
|
|
|
77465
77464
|
* [Api set: WordApi 1.1]
|
|
77466
77465
|
*
|
|
77467
77466
|
* @param breakType Required. The break type to add to the document.
|
|
77468
|
-
* @param insertLocation Required. The value
|
|
77467
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
77469
77468
|
*/
|
|
77470
77469
|
insertBreak(breakType: "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): void;
|
|
77471
77470
|
/**
|
|
@@ -77482,7 +77481,7 @@ declare namespace Word {
|
|
|
77482
77481
|
* [Api set: WordApi 1.1]
|
|
77483
77482
|
*
|
|
77484
77483
|
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
77485
|
-
* @param insertLocation Required. The value
|
|
77484
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
77486
77485
|
*/
|
|
77487
77486
|
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
77488
77487
|
/**
|
|
@@ -77492,7 +77491,7 @@ declare namespace Word {
|
|
|
77492
77491
|
* [Api set: WordApi 1.1]
|
|
77493
77492
|
*
|
|
77494
77493
|
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
77495
|
-
* @param insertLocation Required. The value
|
|
77494
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
77496
77495
|
*/
|
|
77497
77496
|
insertFileFromBase64(base64File: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
77498
77497
|
/**
|
|
@@ -77502,7 +77501,7 @@ declare namespace Word {
|
|
|
77502
77501
|
* [Api set: WordApi 1.1]
|
|
77503
77502
|
*
|
|
77504
77503
|
* @param html Required. The HTML to be inserted in the paragraph.
|
|
77505
|
-
* @param insertLocation Required. The value
|
|
77504
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
77506
77505
|
*/
|
|
77507
77506
|
insertHtml(html: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
77508
77507
|
/**
|
|
@@ -77512,7 +77511,7 @@ declare namespace Word {
|
|
|
77512
77511
|
* [Api set: WordApi 1.1]
|
|
77513
77512
|
*
|
|
77514
77513
|
* @param html Required. The HTML to be inserted in the paragraph.
|
|
77515
|
-
* @param insertLocation Required. The value
|
|
77514
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
77516
77515
|
*/
|
|
77517
77516
|
insertHtml(html: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
77518
77517
|
/**
|
|
@@ -77522,7 +77521,7 @@ declare namespace Word {
|
|
|
77522
77521
|
* [Api set: WordApi 1.1]
|
|
77523
77522
|
*
|
|
77524
77523
|
* @param base64EncodedImage Required. The base64 encoded image to be inserted.
|
|
77525
|
-
* @param insertLocation Required. The value
|
|
77524
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
77526
77525
|
*/
|
|
77527
77526
|
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation): Word.InlinePicture;
|
|
77528
77527
|
/**
|
|
@@ -77532,7 +77531,7 @@ declare namespace Word {
|
|
|
77532
77531
|
* [Api set: WordApi 1.1]
|
|
77533
77532
|
*
|
|
77534
77533
|
* @param base64EncodedImage Required. The base64 encoded image to be inserted.
|
|
77535
|
-
* @param insertLocation Required. The value
|
|
77534
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
77536
77535
|
*/
|
|
77537
77536
|
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.InlinePicture;
|
|
77538
77537
|
/**
|
|
@@ -77542,7 +77541,7 @@ declare namespace Word {
|
|
|
77542
77541
|
* [Api set: WordApi 1.1]
|
|
77543
77542
|
*
|
|
77544
77543
|
* @param ooxml Required. The OOXML to be inserted in the paragraph.
|
|
77545
|
-
* @param insertLocation Required. The value
|
|
77544
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
77546
77545
|
*/
|
|
77547
77546
|
insertOoxml(ooxml: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
77548
77547
|
/**
|
|
@@ -77552,7 +77551,7 @@ declare namespace Word {
|
|
|
77552
77551
|
* [Api set: WordApi 1.1]
|
|
77553
77552
|
*
|
|
77554
77553
|
* @param ooxml Required. The OOXML to be inserted in the paragraph.
|
|
77555
|
-
* @param insertLocation Required. The value
|
|
77554
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
77556
77555
|
*/
|
|
77557
77556
|
insertOoxml(ooxml: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
77558
77557
|
/**
|
|
@@ -77562,7 +77561,7 @@ declare namespace Word {
|
|
|
77562
77561
|
* [Api set: WordApi 1.1]
|
|
77563
77562
|
*
|
|
77564
77563
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
77565
|
-
* @param insertLocation Required. The value
|
|
77564
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
77566
77565
|
*/
|
|
77567
77566
|
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
|
|
77568
77567
|
/**
|
|
@@ -77572,7 +77571,7 @@ declare namespace Word {
|
|
|
77572
77571
|
* [Api set: WordApi 1.1]
|
|
77573
77572
|
*
|
|
77574
77573
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
77575
|
-
* @param insertLocation Required. The value
|
|
77574
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
77576
77575
|
*/
|
|
77577
77576
|
insertParagraph(paragraphText: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Paragraph;
|
|
77578
77577
|
/**
|
|
@@ -77583,7 +77582,7 @@ declare namespace Word {
|
|
|
77583
77582
|
*
|
|
77584
77583
|
* @param rowCount Required. The number of rows in the table.
|
|
77585
77584
|
* @param columnCount Required. The number of columns in the table.
|
|
77586
|
-
* @param insertLocation Required. The value
|
|
77585
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
77587
77586
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
77588
77587
|
*/
|
|
77589
77588
|
insertTable(rowCount: number, columnCount: number, insertLocation: Word.InsertLocation, values?: string[][]): Word.Table;
|
|
@@ -77595,7 +77594,7 @@ declare namespace Word {
|
|
|
77595
77594
|
*
|
|
77596
77595
|
* @param rowCount Required. The number of rows in the table.
|
|
77597
77596
|
* @param columnCount Required. The number of columns in the table.
|
|
77598
|
-
* @param insertLocation Required. The value
|
|
77597
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
77599
77598
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
77600
77599
|
*/
|
|
77601
77600
|
insertTable(rowCount: number, columnCount: number, insertLocation: "Before" | "After" | "Start" | "End" | "Replace", values?: string[][]): Word.Table;
|
|
@@ -77606,7 +77605,7 @@ declare namespace Word {
|
|
|
77606
77605
|
* [Api set: WordApi 1.1]
|
|
77607
77606
|
*
|
|
77608
77607
|
* @param text Required. Text to be inserted.
|
|
77609
|
-
* @param insertLocation Required. The value
|
|
77608
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
77610
77609
|
*/
|
|
77611
77610
|
insertText(text: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
77612
77611
|
/**
|
|
@@ -77616,7 +77615,7 @@ declare namespace Word {
|
|
|
77616
77615
|
* [Api set: WordApi 1.1]
|
|
77617
77616
|
*
|
|
77618
77617
|
* @param text Required. Text to be inserted.
|
|
77619
|
-
* @param insertLocation Required. The value
|
|
77618
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
77620
77619
|
*/
|
|
77621
77620
|
insertText(text: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
77622
77621
|
/**
|
|
@@ -77643,7 +77642,7 @@ declare namespace Word {
|
|
|
77643
77642
|
* @remarks
|
|
77644
77643
|
* [Api set: WordApi 1.1]
|
|
77645
77644
|
*
|
|
77646
|
-
* @param selectionMode Optional. The selection mode
|
|
77645
|
+
* @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
|
|
77647
77646
|
*/
|
|
77648
77647
|
select(selectionMode?: Word.SelectionMode): void;
|
|
77649
77648
|
/**
|
|
@@ -77652,7 +77651,7 @@ declare namespace Word {
|
|
|
77652
77651
|
* @remarks
|
|
77653
77652
|
* [Api set: WordApi 1.1]
|
|
77654
77653
|
*
|
|
77655
|
-
* @param selectionMode Optional. The selection mode
|
|
77654
|
+
* @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
|
|
77656
77655
|
*/
|
|
77657
77656
|
select(selectionMode?: "Select" | "Start" | "End"): void;
|
|
77658
77657
|
/**
|
|
@@ -78010,7 +78009,7 @@ declare namespace Word {
|
|
|
78010
78009
|
* @remarks
|
|
78011
78010
|
* [Api set: WordApi 1.3]
|
|
78012
78011
|
*
|
|
78013
|
-
* @param rangeLocation Optional. The range location
|
|
78012
|
+
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', 'After', or 'Content'.
|
|
78014
78013
|
*/
|
|
78015
78014
|
getRange(rangeLocation?: Word.RangeLocation): Word.Range;
|
|
78016
78015
|
/**
|
|
@@ -78019,7 +78018,7 @@ declare namespace Word {
|
|
|
78019
78018
|
* @remarks
|
|
78020
78019
|
* [Api set: WordApi 1.3]
|
|
78021
78020
|
*
|
|
78022
|
-
* @param rangeLocation Optional. The range location
|
|
78021
|
+
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', 'After', or 'Content'.
|
|
78023
78022
|
*/
|
|
78024
78023
|
getRange(rangeLocation?: "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
|
|
78025
78024
|
/**
|
|
@@ -78039,7 +78038,7 @@ declare namespace Word {
|
|
|
78039
78038
|
* [Api set: WordApi 1.1]
|
|
78040
78039
|
*
|
|
78041
78040
|
* @param breakType Required. The break type to add.
|
|
78042
|
-
* @param insertLocation Required. The value
|
|
78041
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
78043
78042
|
*/
|
|
78044
78043
|
insertBreak(breakType: Word.BreakType, insertLocation: Word.InsertLocation): void;
|
|
78045
78044
|
/**
|
|
@@ -78049,7 +78048,7 @@ declare namespace Word {
|
|
|
78049
78048
|
* [Api set: WordApi 1.1]
|
|
78050
78049
|
*
|
|
78051
78050
|
* @param breakType Required. The break type to add.
|
|
78052
|
-
* @param insertLocation Required. The value
|
|
78051
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
78053
78052
|
*/
|
|
78054
78053
|
insertBreak(breakType: "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): void;
|
|
78055
78054
|
/**
|
|
@@ -78066,7 +78065,7 @@ declare namespace Word {
|
|
|
78066
78065
|
* [Api set: WordApi 1.1]
|
|
78067
78066
|
*
|
|
78068
78067
|
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
78069
|
-
* @param insertLocation Required. The value
|
|
78068
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
78070
78069
|
*/
|
|
78071
78070
|
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
78072
78071
|
/**
|
|
@@ -78076,7 +78075,7 @@ declare namespace Word {
|
|
|
78076
78075
|
* [Api set: WordApi 1.1]
|
|
78077
78076
|
*
|
|
78078
78077
|
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
78079
|
-
* @param insertLocation Required. The value
|
|
78078
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
78080
78079
|
*/
|
|
78081
78080
|
insertFileFromBase64(base64File: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
78082
78081
|
/**
|
|
@@ -78086,7 +78085,7 @@ declare namespace Word {
|
|
|
78086
78085
|
* [Api set: WordApi 1.1]
|
|
78087
78086
|
*
|
|
78088
78087
|
* @param html Required. The HTML to be inserted.
|
|
78089
|
-
* @param insertLocation Required. The value
|
|
78088
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
78090
78089
|
*/
|
|
78091
78090
|
insertHtml(html: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
78092
78091
|
/**
|
|
@@ -78096,7 +78095,7 @@ declare namespace Word {
|
|
|
78096
78095
|
* [Api set: WordApi 1.1]
|
|
78097
78096
|
*
|
|
78098
78097
|
* @param html Required. The HTML to be inserted.
|
|
78099
|
-
* @param insertLocation Required. The value
|
|
78098
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
78100
78099
|
*/
|
|
78101
78100
|
insertHtml(html: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
78102
78101
|
/**
|
|
@@ -78106,7 +78105,7 @@ declare namespace Word {
|
|
|
78106
78105
|
* [Api set: WordApi 1.2]
|
|
78107
78106
|
*
|
|
78108
78107
|
* @param base64EncodedImage Required. The base64 encoded image to be inserted.
|
|
78109
|
-
* @param insertLocation Required. The value
|
|
78108
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
78110
78109
|
*/
|
|
78111
78110
|
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation): Word.InlinePicture;
|
|
78112
78111
|
/**
|
|
@@ -78116,7 +78115,7 @@ declare namespace Word {
|
|
|
78116
78115
|
* [Api set: WordApi 1.2]
|
|
78117
78116
|
*
|
|
78118
78117
|
* @param base64EncodedImage Required. The base64 encoded image to be inserted.
|
|
78119
|
-
* @param insertLocation Required. The value
|
|
78118
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
78120
78119
|
*/
|
|
78121
78120
|
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.InlinePicture;
|
|
78122
78121
|
/**
|
|
@@ -78126,7 +78125,7 @@ declare namespace Word {
|
|
|
78126
78125
|
* [Api set: WordApi 1.1]
|
|
78127
78126
|
*
|
|
78128
78127
|
* @param ooxml Required. The OOXML to be inserted.
|
|
78129
|
-
* @param insertLocation Required. The value
|
|
78128
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
78130
78129
|
*/
|
|
78131
78130
|
insertOoxml(ooxml: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
78132
78131
|
/**
|
|
@@ -78136,7 +78135,7 @@ declare namespace Word {
|
|
|
78136
78135
|
* [Api set: WordApi 1.1]
|
|
78137
78136
|
*
|
|
78138
78137
|
* @param ooxml Required. The OOXML to be inserted.
|
|
78139
|
-
* @param insertLocation Required. The value
|
|
78138
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
78140
78139
|
*/
|
|
78141
78140
|
insertOoxml(ooxml: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
78142
78141
|
/**
|
|
@@ -78146,7 +78145,7 @@ declare namespace Word {
|
|
|
78146
78145
|
* [Api set: WordApi 1.1]
|
|
78147
78146
|
*
|
|
78148
78147
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
78149
|
-
* @param insertLocation Required. The value
|
|
78148
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
78150
78149
|
*/
|
|
78151
78150
|
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
|
|
78152
78151
|
/**
|
|
@@ -78156,7 +78155,7 @@ declare namespace Word {
|
|
|
78156
78155
|
* [Api set: WordApi 1.1]
|
|
78157
78156
|
*
|
|
78158
78157
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
78159
|
-
* @param insertLocation Required. The value
|
|
78158
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
78160
78159
|
*/
|
|
78161
78160
|
insertParagraph(paragraphText: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Paragraph;
|
|
78162
78161
|
/**
|
|
@@ -78167,7 +78166,7 @@ declare namespace Word {
|
|
|
78167
78166
|
*
|
|
78168
78167
|
* @param rowCount Required. The number of rows in the table.
|
|
78169
78168
|
* @param columnCount Required. The number of columns in the table.
|
|
78170
|
-
* @param insertLocation Required. The value
|
|
78169
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
78171
78170
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
78172
78171
|
*/
|
|
78173
78172
|
insertTable(rowCount: number, columnCount: number, insertLocation: Word.InsertLocation, values?: string[][]): Word.Table;
|
|
@@ -78179,7 +78178,7 @@ declare namespace Word {
|
|
|
78179
78178
|
*
|
|
78180
78179
|
* @param rowCount Required. The number of rows in the table.
|
|
78181
78180
|
* @param columnCount Required. The number of columns in the table.
|
|
78182
|
-
* @param insertLocation Required. The value
|
|
78181
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
78183
78182
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
78184
78183
|
*/
|
|
78185
78184
|
insertTable(rowCount: number, columnCount: number, insertLocation: "Before" | "After" | "Start" | "End" | "Replace", values?: string[][]): Word.Table;
|
|
@@ -78190,7 +78189,7 @@ declare namespace Word {
|
|
|
78190
78189
|
* [Api set: WordApi 1.1]
|
|
78191
78190
|
*
|
|
78192
78191
|
* @param text Required. Text to be inserted.
|
|
78193
|
-
* @param insertLocation Required. The value
|
|
78192
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
78194
78193
|
*/
|
|
78195
78194
|
insertText(text: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
78196
78195
|
/**
|
|
@@ -78200,7 +78199,7 @@ declare namespace Word {
|
|
|
78200
78199
|
* [Api set: WordApi 1.1]
|
|
78201
78200
|
*
|
|
78202
78201
|
* @param text Required. Text to be inserted.
|
|
78203
|
-
* @param insertLocation Required. The value
|
|
78202
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
78204
78203
|
*/
|
|
78205
78204
|
insertText(text: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
78206
78205
|
/**
|
|
@@ -78245,7 +78244,7 @@ declare namespace Word {
|
|
|
78245
78244
|
* @remarks
|
|
78246
78245
|
* [Api set: WordApi 1.1]
|
|
78247
78246
|
*
|
|
78248
|
-
* @param selectionMode Optional. The selection mode
|
|
78247
|
+
* @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
|
|
78249
78248
|
*/
|
|
78250
78249
|
select(selectionMode?: Word.SelectionMode): void;
|
|
78251
78250
|
/**
|
|
@@ -78254,7 +78253,7 @@ declare namespace Word {
|
|
|
78254
78253
|
* @remarks
|
|
78255
78254
|
* [Api set: WordApi 1.1]
|
|
78256
78255
|
*
|
|
78257
|
-
* @param selectionMode Optional. The selection mode
|
|
78256
|
+
* @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
|
|
78258
78257
|
*/
|
|
78259
78258
|
select(selectionMode?: "Select" | "Start" | "End"): void;
|
|
78260
78259
|
/**
|
|
@@ -78490,7 +78489,7 @@ declare namespace Word {
|
|
|
78490
78489
|
* @remarks
|
|
78491
78490
|
* [Api set: WordApi 1.1]
|
|
78492
78491
|
*
|
|
78493
|
-
* @param type Required. The type of footer to return. This value
|
|
78492
|
+
* @param type Required. The type of footer to return. This value must be: 'Primary', 'FirstPage', or 'EvenPages'.
|
|
78494
78493
|
*/
|
|
78495
78494
|
getFooter(type: Word.HeaderFooterType): Word.Body;
|
|
78496
78495
|
/**
|
|
@@ -78499,7 +78498,7 @@ declare namespace Word {
|
|
|
78499
78498
|
* @remarks
|
|
78500
78499
|
* [Api set: WordApi 1.1]
|
|
78501
78500
|
*
|
|
78502
|
-
* @param type Required. The type of footer to return. This value
|
|
78501
|
+
* @param type Required. The type of footer to return. This value must be: 'Primary', 'FirstPage', or 'EvenPages'.
|
|
78503
78502
|
*/
|
|
78504
78503
|
getFooter(type: "Primary" | "FirstPage" | "EvenPages"): Word.Body;
|
|
78505
78504
|
/**
|
|
@@ -78508,7 +78507,7 @@ declare namespace Word {
|
|
|
78508
78507
|
* @remarks
|
|
78509
78508
|
* [Api set: WordApi 1.1]
|
|
78510
78509
|
*
|
|
78511
|
-
* @param type Required. The type of header to return. This value
|
|
78510
|
+
* @param type Required. The type of header to return. This value must be: 'Primary', 'FirstPage', or 'EvenPages'.
|
|
78512
78511
|
*/
|
|
78513
78512
|
getHeader(type: Word.HeaderFooterType): Word.Body;
|
|
78514
78513
|
/**
|
|
@@ -78517,7 +78516,7 @@ declare namespace Word {
|
|
|
78517
78516
|
* @remarks
|
|
78518
78517
|
* [Api set: WordApi 1.1]
|
|
78519
78518
|
*
|
|
78520
|
-
* @param type Required. The type of header to return. This value
|
|
78519
|
+
* @param type Required. The type of header to return. This value must be: 'Primary', 'FirstPage', or 'EvenPages'.
|
|
78521
78520
|
*/
|
|
78522
78521
|
getHeader(type: "Primary" | "FirstPage" | "EvenPages"): Word.Body;
|
|
78523
78522
|
/**
|
|
@@ -78838,7 +78837,7 @@ declare namespace Word {
|
|
|
78838
78837
|
* @remarks
|
|
78839
78838
|
* [Api set: WordApi 1.3]
|
|
78840
78839
|
*
|
|
78841
|
-
* @param insertLocation Required. It
|
|
78840
|
+
* @param insertLocation Required. It must be 'Start' or 'End', corresponding to the appropriate side of the table.
|
|
78842
78841
|
* @param columnCount Required. Number of columns to add.
|
|
78843
78842
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
78844
78843
|
*/
|
|
@@ -78849,7 +78848,7 @@ declare namespace Word {
|
|
|
78849
78848
|
* @remarks
|
|
78850
78849
|
* [Api set: WordApi 1.3]
|
|
78851
78850
|
*
|
|
78852
|
-
* @param insertLocation Required. It
|
|
78851
|
+
* @param insertLocation Required. It must be 'Start' or 'End', corresponding to the appropriate side of the table.
|
|
78853
78852
|
* @param columnCount Required. Number of columns to add.
|
|
78854
78853
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
78855
78854
|
*/
|
|
@@ -78860,7 +78859,7 @@ declare namespace Word {
|
|
|
78860
78859
|
* @remarks
|
|
78861
78860
|
* [Api set: WordApi 1.3]
|
|
78862
78861
|
*
|
|
78863
|
-
* @param insertLocation Required. It
|
|
78862
|
+
* @param insertLocation Required. It must be 'Start' or 'End'.
|
|
78864
78863
|
* @param rowCount Required. Number of rows to add.
|
|
78865
78864
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
78866
78865
|
*/
|
|
@@ -78871,7 +78870,7 @@ declare namespace Word {
|
|
|
78871
78870
|
* @remarks
|
|
78872
78871
|
* [Api set: WordApi 1.3]
|
|
78873
78872
|
*
|
|
78874
|
-
* @param insertLocation Required. It
|
|
78873
|
+
* @param insertLocation Required. It must be 'Start' or 'End'.
|
|
78875
78874
|
* @param rowCount Required. Number of rows to add.
|
|
78876
78875
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
78877
78876
|
*/
|
|
@@ -78968,7 +78967,7 @@ declare namespace Word {
|
|
|
78968
78967
|
* @remarks
|
|
78969
78968
|
* [Api set: WordApi 1.3]
|
|
78970
78969
|
*
|
|
78971
|
-
* @param cellPaddingLocation Required. The cell padding location
|
|
78970
|
+
* @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
|
|
78972
78971
|
*/
|
|
78973
78972
|
getCellPadding(cellPaddingLocation: Word.CellPaddingLocation): OfficeExtension.ClientResult<number>;
|
|
78974
78973
|
/**
|
|
@@ -78977,7 +78976,7 @@ declare namespace Word {
|
|
|
78977
78976
|
* @remarks
|
|
78978
78977
|
* [Api set: WordApi 1.3]
|
|
78979
78978
|
*
|
|
78980
|
-
* @param cellPaddingLocation Required. The cell padding location
|
|
78979
|
+
* @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
|
|
78981
78980
|
*/
|
|
78982
78981
|
getCellPadding(cellPaddingLocation: "Top" | "Left" | "Bottom" | "Right"): OfficeExtension.ClientResult<number>;
|
|
78983
78982
|
/**
|
|
@@ -79028,7 +79027,7 @@ declare namespace Word {
|
|
|
79028
79027
|
* @remarks
|
|
79029
79028
|
* [Api set: WordApi 1.3]
|
|
79030
79029
|
*
|
|
79031
|
-
* @param rangeLocation Optional. The range location
|
|
79030
|
+
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', or 'After'.
|
|
79032
79031
|
*/
|
|
79033
79032
|
getRange(rangeLocation?: Word.RangeLocation): Word.Range;
|
|
79034
79033
|
/**
|
|
@@ -79037,7 +79036,7 @@ declare namespace Word {
|
|
|
79037
79036
|
* @remarks
|
|
79038
79037
|
* [Api set: WordApi 1.3]
|
|
79039
79038
|
*
|
|
79040
|
-
* @param rangeLocation Optional. The range location
|
|
79039
|
+
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', or 'After'.
|
|
79041
79040
|
*/
|
|
79042
79041
|
getRange(rangeLocation?: "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
|
|
79043
79042
|
/**
|
|
@@ -79054,7 +79053,7 @@ declare namespace Word {
|
|
|
79054
79053
|
* [Api set: WordApi 1.3]
|
|
79055
79054
|
*
|
|
79056
79055
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
79057
|
-
* @param insertLocation Required. The value
|
|
79056
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
79058
79057
|
*/
|
|
79059
79058
|
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
|
|
79060
79059
|
/**
|
|
@@ -79064,7 +79063,7 @@ declare namespace Word {
|
|
|
79064
79063
|
* [Api set: WordApi 1.3]
|
|
79065
79064
|
*
|
|
79066
79065
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
79067
|
-
* @param insertLocation Required. The value
|
|
79066
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
79068
79067
|
*/
|
|
79069
79068
|
insertParagraph(paragraphText: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Paragraph;
|
|
79070
79069
|
/**
|
|
@@ -79075,7 +79074,7 @@ declare namespace Word {
|
|
|
79075
79074
|
*
|
|
79076
79075
|
* @param rowCount Required. The number of rows in the table.
|
|
79077
79076
|
* @param columnCount Required. The number of columns in the table.
|
|
79078
|
-
* @param insertLocation Required. The value
|
|
79077
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
79079
79078
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
79080
79079
|
*/
|
|
79081
79080
|
insertTable(rowCount: number, columnCount: number, insertLocation: Word.InsertLocation, values?: string[][]): Word.Table;
|
|
@@ -79087,7 +79086,7 @@ declare namespace Word {
|
|
|
79087
79086
|
*
|
|
79088
79087
|
* @param rowCount Required. The number of rows in the table.
|
|
79089
79088
|
* @param columnCount Required. The number of columns in the table.
|
|
79090
|
-
* @param insertLocation Required. The value
|
|
79089
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
79091
79090
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
79092
79091
|
*/
|
|
79093
79092
|
insertTable(rowCount: number, columnCount: number, insertLocation: "Before" | "After" | "Start" | "End" | "Replace", values?: string[][]): Word.Table;
|
|
@@ -79115,7 +79114,7 @@ declare namespace Word {
|
|
|
79115
79114
|
* @remarks
|
|
79116
79115
|
* [Api set: WordApi 1.3]
|
|
79117
79116
|
*
|
|
79118
|
-
* @param selectionMode Optional. The selection mode
|
|
79117
|
+
* @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
|
|
79119
79118
|
*/
|
|
79120
79119
|
select(selectionMode?: Word.SelectionMode): void;
|
|
79121
79120
|
/**
|
|
@@ -79124,7 +79123,7 @@ declare namespace Word {
|
|
|
79124
79123
|
* @remarks
|
|
79125
79124
|
* [Api set: WordApi 1.3]
|
|
79126
79125
|
*
|
|
79127
|
-
* @param selectionMode Optional. The selection mode
|
|
79126
|
+
* @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
|
|
79128
79127
|
*/
|
|
79129
79128
|
select(selectionMode?: "Select" | "Start" | "End"): void;
|
|
79130
79129
|
/**
|
|
@@ -79133,7 +79132,7 @@ declare namespace Word {
|
|
|
79133
79132
|
* @remarks
|
|
79134
79133
|
* [Api set: WordApi 1.3]
|
|
79135
79134
|
*
|
|
79136
|
-
* @param cellPaddingLocation Required. The cell padding location
|
|
79135
|
+
* @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
|
|
79137
79136
|
* @param cellPadding Required. The cell padding.
|
|
79138
79137
|
*/
|
|
79139
79138
|
setCellPadding(cellPaddingLocation: Word.CellPaddingLocation, cellPadding: number): void;
|
|
@@ -79143,7 +79142,7 @@ declare namespace Word {
|
|
|
79143
79142
|
* @remarks
|
|
79144
79143
|
* [Api set: WordApi 1.3]
|
|
79145
79144
|
*
|
|
79146
|
-
* @param cellPaddingLocation Required. The cell padding location
|
|
79145
|
+
* @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
|
|
79147
79146
|
* @param cellPadding Required. The cell padding.
|
|
79148
79147
|
*/
|
|
79149
79148
|
setCellPadding(cellPaddingLocation: "Top" | "Left" | "Bottom" | "Right", cellPadding: number): void;
|
|
@@ -79371,7 +79370,7 @@ declare namespace Word {
|
|
|
79371
79370
|
* @remarks
|
|
79372
79371
|
* [Api set: WordApi 1.3]
|
|
79373
79372
|
*
|
|
79374
|
-
* @param cellPaddingLocation Required. The cell padding location
|
|
79373
|
+
* @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
|
|
79375
79374
|
*/
|
|
79376
79375
|
getCellPadding(cellPaddingLocation: Word.CellPaddingLocation): OfficeExtension.ClientResult<number>;
|
|
79377
79376
|
/**
|
|
@@ -79380,7 +79379,7 @@ declare namespace Word {
|
|
|
79380
79379
|
* @remarks
|
|
79381
79380
|
* [Api set: WordApi 1.3]
|
|
79382
79381
|
*
|
|
79383
|
-
* @param cellPaddingLocation Required. The cell padding location
|
|
79382
|
+
* @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
|
|
79384
79383
|
*/
|
|
79385
79384
|
getCellPadding(cellPaddingLocation: "Top" | "Left" | "Bottom" | "Right"): OfficeExtension.ClientResult<number>;
|
|
79386
79385
|
/**
|
|
@@ -79403,7 +79402,7 @@ declare namespace Word {
|
|
|
79403
79402
|
* @remarks
|
|
79404
79403
|
* [Api set: WordApi 1.3]
|
|
79405
79404
|
*
|
|
79406
|
-
* @param insertLocation Required. Where the new rows should be inserted, relative to the current row. It
|
|
79405
|
+
* @param insertLocation Required. Where the new rows should be inserted, relative to the current row. It must be 'Before' or 'After'.
|
|
79407
79406
|
* @param rowCount Required. Number of rows to add
|
|
79408
79407
|
* @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.
|
|
79409
79408
|
*/
|
|
@@ -79414,7 +79413,7 @@ declare namespace Word {
|
|
|
79414
79413
|
* @remarks
|
|
79415
79414
|
* [Api set: WordApi 1.3]
|
|
79416
79415
|
*
|
|
79417
|
-
* @param insertLocation Required. Where the new rows should be inserted, relative to the current row. It
|
|
79416
|
+
* @param insertLocation Required. Where the new rows should be inserted, relative to the current row. It must be 'Before' or 'After'.
|
|
79418
79417
|
* @param rowCount Required. Number of rows to add
|
|
79419
79418
|
* @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.
|
|
79420
79419
|
*/
|
|
@@ -79443,7 +79442,7 @@ declare namespace Word {
|
|
|
79443
79442
|
* @remarks
|
|
79444
79443
|
* [Api set: WordApi 1.3]
|
|
79445
79444
|
*
|
|
79446
|
-
* @param selectionMode Optional. The selection mode
|
|
79445
|
+
* @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
|
|
79447
79446
|
*/
|
|
79448
79447
|
select(selectionMode?: Word.SelectionMode): void;
|
|
79449
79448
|
/**
|
|
@@ -79452,7 +79451,7 @@ declare namespace Word {
|
|
|
79452
79451
|
* @remarks
|
|
79453
79452
|
* [Api set: WordApi 1.3]
|
|
79454
79453
|
*
|
|
79455
|
-
* @param selectionMode Optional. The selection mode
|
|
79454
|
+
* @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
|
|
79456
79455
|
*/
|
|
79457
79456
|
select(selectionMode?: "Select" | "Start" | "End"): void;
|
|
79458
79457
|
/**
|
|
@@ -79461,7 +79460,7 @@ declare namespace Word {
|
|
|
79461
79460
|
* @remarks
|
|
79462
79461
|
* [Api set: WordApi 1.3]
|
|
79463
79462
|
*
|
|
79464
|
-
* @param cellPaddingLocation Required. The cell padding location
|
|
79463
|
+
* @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
|
|
79465
79464
|
* @param cellPadding Required. The cell padding.
|
|
79466
79465
|
*/
|
|
79467
79466
|
setCellPadding(cellPaddingLocation: Word.CellPaddingLocation, cellPadding: number): void;
|
|
@@ -79471,7 +79470,7 @@ declare namespace Word {
|
|
|
79471
79470
|
* @remarks
|
|
79472
79471
|
* [Api set: WordApi 1.3]
|
|
79473
79472
|
*
|
|
79474
|
-
* @param cellPaddingLocation Required. The cell padding location
|
|
79473
|
+
* @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
|
|
79475
79474
|
* @param cellPadding Required. The cell padding.
|
|
79476
79475
|
*/
|
|
79477
79476
|
setCellPadding(cellPaddingLocation: "Top" | "Left" | "Bottom" | "Right", cellPadding: number): void;
|
|
@@ -79699,7 +79698,7 @@ declare namespace Word {
|
|
|
79699
79698
|
* @remarks
|
|
79700
79699
|
* [Api set: WordApi 1.3]
|
|
79701
79700
|
*
|
|
79702
|
-
* @param cellPaddingLocation Required. The cell padding location
|
|
79701
|
+
* @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
|
|
79703
79702
|
*/
|
|
79704
79703
|
getCellPadding(cellPaddingLocation: Word.CellPaddingLocation): OfficeExtension.ClientResult<number>;
|
|
79705
79704
|
/**
|
|
@@ -79708,7 +79707,7 @@ declare namespace Word {
|
|
|
79708
79707
|
* @remarks
|
|
79709
79708
|
* [Api set: WordApi 1.3]
|
|
79710
79709
|
*
|
|
79711
|
-
* @param cellPaddingLocation Required. The cell padding location
|
|
79710
|
+
* @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
|
|
79712
79711
|
*/
|
|
79713
79712
|
getCellPadding(cellPaddingLocation: "Top" | "Left" | "Bottom" | "Right"): OfficeExtension.ClientResult<number>;
|
|
79714
79713
|
/**
|
|
@@ -79731,7 +79730,7 @@ declare namespace Word {
|
|
|
79731
79730
|
* @remarks
|
|
79732
79731
|
* [Api set: WordApi 1.3]
|
|
79733
79732
|
*
|
|
79734
|
-
* @param insertLocation Required. It
|
|
79733
|
+
* @param insertLocation Required. It must be 'Before' or 'After'.
|
|
79735
79734
|
* @param columnCount Required. Number of columns to add.
|
|
79736
79735
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
79737
79736
|
*/
|
|
@@ -79742,7 +79741,7 @@ declare namespace Word {
|
|
|
79742
79741
|
* @remarks
|
|
79743
79742
|
* [Api set: WordApi 1.3]
|
|
79744
79743
|
*
|
|
79745
|
-
* @param insertLocation Required. It
|
|
79744
|
+
* @param insertLocation Required. It must be 'Before' or 'After'.
|
|
79746
79745
|
* @param columnCount Required. Number of columns to add.
|
|
79747
79746
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
79748
79747
|
*/
|
|
@@ -79753,7 +79752,7 @@ declare namespace Word {
|
|
|
79753
79752
|
* @remarks
|
|
79754
79753
|
* [Api set: WordApi 1.3]
|
|
79755
79754
|
*
|
|
79756
|
-
* @param insertLocation Required. It
|
|
79755
|
+
* @param insertLocation Required. It must be 'Before' or 'After'.
|
|
79757
79756
|
* @param rowCount Required. Number of rows to add.
|
|
79758
79757
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
79759
79758
|
*/
|
|
@@ -79764,7 +79763,7 @@ declare namespace Word {
|
|
|
79764
79763
|
* @remarks
|
|
79765
79764
|
* [Api set: WordApi 1.3]
|
|
79766
79765
|
*
|
|
79767
|
-
* @param insertLocation Required. It
|
|
79766
|
+
* @param insertLocation Required. It must be 'Before' or 'After'.
|
|
79768
79767
|
* @param rowCount Required. Number of rows to add.
|
|
79769
79768
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
79770
79769
|
*/
|
|
@@ -79775,7 +79774,7 @@ declare namespace Word {
|
|
|
79775
79774
|
* @remarks
|
|
79776
79775
|
* [Api set: WordApi 1.3]
|
|
79777
79776
|
*
|
|
79778
|
-
* @param cellPaddingLocation Required. The cell padding location
|
|
79777
|
+
* @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
|
|
79779
79778
|
* @param cellPadding Required. The cell padding.
|
|
79780
79779
|
*/
|
|
79781
79780
|
setCellPadding(cellPaddingLocation: Word.CellPaddingLocation, cellPadding: number): void;
|
|
@@ -79785,7 +79784,7 @@ declare namespace Word {
|
|
|
79785
79784
|
* @remarks
|
|
79786
79785
|
* [Api set: WordApi 1.3]
|
|
79787
79786
|
*
|
|
79788
|
-
* @param cellPaddingLocation Required. The cell padding location
|
|
79787
|
+
* @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
|
|
79789
79788
|
* @param cellPadding Required. The cell padding.
|
|
79790
79789
|
*/
|
|
79791
79790
|
setCellPadding(cellPaddingLocation: "Top" | "Left" | "Bottom" | "Right", cellPadding: number): void;
|
|
@@ -81808,7 +81807,6 @@ declare namespace Word {
|
|
|
81808
81807
|
color?: string;
|
|
81809
81808
|
/**
|
|
81810
81809
|
* Gets or sets the placeholder text of the content control. Dimmed text will be displayed when the content control is empty.
|
|
81811
|
-
*
|
|
81812
81810
|
* **Note**: The set operation for this property is not supported in Word on the web.
|
|
81813
81811
|
*
|
|
81814
81812
|
* @remarks
|
|
@@ -82714,7 +82712,6 @@ declare namespace Word {
|
|
|
82714
82712
|
id?: number;
|
|
82715
82713
|
/**
|
|
82716
82714
|
* Gets or sets the placeholder text of the content control. Dimmed text will be displayed when the content control is empty.
|
|
82717
|
-
*
|
|
82718
82715
|
* **Note**: The set operation for this property is not supported in Word on the web.
|
|
82719
82716
|
*
|
|
82720
82717
|
* @remarks
|
|
@@ -83984,7 +83981,6 @@ declare namespace Word {
|
|
|
83984
83981
|
id?: boolean;
|
|
83985
83982
|
/**
|
|
83986
83983
|
* Gets or sets the placeholder text of the content control. Dimmed text will be displayed when the content control is empty.
|
|
83987
|
-
*
|
|
83988
83984
|
* **Note**: The set operation for this property is not supported in Word on the web.
|
|
83989
83985
|
*
|
|
83990
83986
|
* @remarks
|
|
@@ -84152,7 +84148,6 @@ declare namespace Word {
|
|
|
84152
84148
|
id?: boolean;
|
|
84153
84149
|
/**
|
|
84154
84150
|
* For EACH ITEM in the collection: Gets or sets the placeholder text of the content control. Dimmed text will be displayed when the content control is empty.
|
|
84155
|
-
*
|
|
84156
84151
|
* **Note**: The set operation for this property is not supported in Word on the web.
|
|
84157
84152
|
*
|
|
84158
84153
|
* @remarks
|
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.247",
|
|
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": "9e56118e0c6ad19e44253e5fbb4b7e722830ff3fa3d8fb111dbf7356eeac3117",
|
|
49
49
|
"typeScriptVersion": "3.9"
|
|
50
50
|
}
|