@types/office-js 1.0.246 → 1.0.249

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.
Files changed (3) hide show
  1. office-js/README.md +1 -1
  2. office-js/index.d.ts +164 -146
  3. office-js/package.json +2 -2
office-js/index.d.ts CHANGED
@@ -8699,6 +8699,11 @@ declare namespace Office {
8699
8699
  * [Api set: Mailbox 1.1]
8700
8700
  *
8701
8701
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
8702
+ *
8703
+ * **Important**: A `recipientType` property value isn't returned by the
8704
+ * {@link https://docs.microsoft.com/javascript/api/outlook/office.from?view=outlook-js-1.7#outlook-office-from-getasync-member(1) | Office.context.mailbox.item.from.getAsync}
8705
+ * and {@link https://docs.microsoft.com/javascript/api/outlook/office.organizer?view=outlook-js-1.7#outlook-office-organizer-getasync-member(1) | Office.context.mailbox.item.organizer.getAsync} methods.
8706
+ * The email sender or appointment organizer is always a user whose email address is on the Exchange server.
8702
8707
  */
8703
8708
  enum RecipientType {
8704
8709
  /**
@@ -12565,6 +12570,12 @@ declare namespace Office {
12565
12570
  appointmentResponse: MailboxEnums.ResponseType | string;
12566
12571
  /**
12567
12572
  * Gets the email address type of a recipient.
12573
+ *
12574
+ * @remarks
12575
+ * **Important**: A `recipientType` property value isn't returned by the
12576
+ * {@link https://docs.microsoft.com/javascript/api/outlook/office.from?view=outlook-js-1.7#outlook-office-from-getasync-member(1) | Office.context.mailbox.item.from.getAsync}
12577
+ * and {@link https://docs.microsoft.com/javascript/api/outlook/office.organizer?view=outlook-js-1.7#outlook-office-organizer-getasync-member(1) | Office.context.mailbox.item.organizer.getAsync} methods.
12578
+ * The email sender or appointment organizer is always a user whose email address is on the Exchange server.
12568
12579
  */
12569
12580
  recipientType: MailboxEnums.RecipientType | string;
12570
12581
  }
@@ -12815,6 +12826,9 @@ declare namespace Office {
12815
12826
  *
12816
12827
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
12817
12828
  *
12829
+ * **Important**: A `recipientType` property value isn't returned by the getAsync method.
12830
+ * The email sender is always a user whose email address is on the Exchange server.
12831
+ *
12818
12832
  * @param options - An object literal that contains one or more of the following properties.
12819
12833
  * `asyncContext`: Developers can provide any object they wish to access in the callback method.
12820
12834
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
@@ -12836,6 +12850,9 @@ declare namespace Office {
12836
12850
  *
12837
12851
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
12838
12852
  *
12853
+ * **Important**: A `recipientType` property value isn't returned by the getAsync method.
12854
+ * The email sender is always a user whose email address is on the Exchange server.
12855
+ *
12839
12856
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
12840
12857
  * `asyncResult`, which is an `Office.AsyncResult` object.
12841
12858
  * The `value` property of the result is the item's from value, as an `EmailAddressDetails` object.
@@ -13963,7 +13980,7 @@ declare namespace Office {
13963
13980
  *
13964
13981
  * The add-in should use the `ewsUrl` property to determine the correct URL to use when making EWS calls.
13965
13982
  *
13966
- * You can pass both the token and either an attachment identifier or item identifier to a third-party system. The third-party system uses
13983
+ * You can pass both the token and either an attachment identifier or item identifier to an external system. That system uses
13967
13984
  * the token as a bearer authorization token to call the Exchange Web Services (EWS)
13968
13985
  * {@link https://docs.microsoft.com/exchange/client-developer/web-service-reference/getattachment-operation | GetAttachment} operation or
13969
13986
  * {@link https://docs.microsoft.com/exchange/client-developer/web-service-reference/getitem-operation | GetItem} operation to return an
@@ -14003,7 +14020,7 @@ declare namespace Office {
14003
14020
  *
14004
14021
  * The token is returned as a string in the `asyncResult.value` property.
14005
14022
  *
14006
- * You can pass both the token and either an attachment identifier or item identifier to a third-party system. The third-party system uses
14023
+ * You can pass both the token and either an attachment identifier or item identifier to an external system. That system uses
14007
14024
  * the token as a bearer authorization token to call the Exchange Web Services (EWS)
14008
14025
  * {@link https://docs.microsoft.com/exchange/client-developer/web-service-reference/getattachment-operation | GetAttachment} operation or
14009
14026
  * {@link https://docs.microsoft.com/exchange/client-developer/web-service-reference/getitem-operation | GetItem} operation to return an
@@ -14051,7 +14068,7 @@ declare namespace Office {
14051
14068
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
14052
14069
  *
14053
14070
  * The `getUserIdentityTokenAsync` method returns a token that you can use to identify and
14054
- * {@link https://docs.microsoft.com/office/dev/add-ins/outlook/authentication | authenticate the add-in and user with a third-party system}.
14071
+ * {@link https://docs.microsoft.com/office/dev/add-ins/outlook/authentication | authenticate the add-in and user with an external system}.
14055
14072
  *
14056
14073
  * **Errors**:
14057
14074
  *
@@ -16660,6 +16677,9 @@ declare namespace Office {
16660
16677
  *
16661
16678
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
16662
16679
  *
16680
+ * **Important**: A `recipientType` property value isn't returned by the getAsync method.
16681
+ * The appointment organizer is always a user whose email address is on the Exchange server.
16682
+ *
16663
16683
  * @param options - An object literal that contains one or more of the following properties.
16664
16684
  * `asyncContext`: Developers can provide any object they wish to access in the callback method.
16665
16685
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
@@ -16678,6 +16698,9 @@ declare namespace Office {
16678
16698
  *
16679
16699
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
16680
16700
  *
16701
+ * **Important**: A `recipientType` property value isn't returned by the getAsync method.
16702
+ * The appointment organizer is always a user whose email address is on the Exchange server.
16703
+ *
16681
16704
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
16682
16705
  * `asyncResult`, which is an `AsyncResult` object. The `value` property of the result is the appointment's organizer value,
16683
16706
  * as an `EmailAddressDetails` object.
@@ -74775,7 +74798,7 @@ declare namespace Word {
74775
74798
  * @remarks
74776
74799
  * [Api set: WordApi 1.3]
74777
74800
  *
74778
- * @param rangeLocation Optional. The range location can be 'Whole', 'Start', 'End', 'After', or 'Content'.
74801
+ * @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', 'After', or 'Content'.
74779
74802
  */
74780
74803
  getRange(rangeLocation?: Word.RangeLocation): Word.Range;
74781
74804
  /**
@@ -74784,7 +74807,7 @@ declare namespace Word {
74784
74807
  * @remarks
74785
74808
  * [Api set: WordApi 1.3]
74786
74809
  *
74787
- * @param rangeLocation Optional. The range location can be 'Whole', 'Start', 'End', 'After', or 'Content'.
74810
+ * @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', 'After', or 'Content'.
74788
74811
  */
74789
74812
  getRange(rangeLocation?: "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
74790
74813
  /**
@@ -74794,7 +74817,7 @@ declare namespace Word {
74794
74817
  * [Api set: WordApi 1.1]
74795
74818
  *
74796
74819
  * @param breakType Required. The break type to add to the body.
74797
- * @param insertLocation Required. The value can be 'Start' or 'End'.
74820
+ * @param insertLocation Required. The value must be 'Start' or 'End'.
74798
74821
  */
74799
74822
  insertBreak(breakType: Word.BreakType, insertLocation: Word.InsertLocation): void;
74800
74823
  /**
@@ -74804,7 +74827,7 @@ declare namespace Word {
74804
74827
  * [Api set: WordApi 1.1]
74805
74828
  *
74806
74829
  * @param breakType Required. The break type to add to the body.
74807
- * @param insertLocation Required. The value can be 'Start' or 'End'.
74830
+ * @param insertLocation Required. The value must be 'Start' or 'End'.
74808
74831
  */
74809
74832
  insertBreak(breakType: "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): void;
74810
74833
  /**
@@ -74821,7 +74844,7 @@ declare namespace Word {
74821
74844
  * [Api set: WordApi 1.1]
74822
74845
  *
74823
74846
  * @param base64File Required. The base64 encoded content of a .docx file.
74824
- * @param insertLocation Required. The value can be 'Replace', 'Start', or 'End'.
74847
+ * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
74825
74848
  */
74826
74849
  insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation): Word.Range;
74827
74850
  /**
@@ -74831,7 +74854,7 @@ declare namespace Word {
74831
74854
  * [Api set: WordApi 1.1]
74832
74855
  *
74833
74856
  * @param base64File Required. The base64 encoded content of a .docx file.
74834
- * @param insertLocation Required. The value can be 'Replace', 'Start', or 'End'.
74857
+ * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
74835
74858
  */
74836
74859
  insertFileFromBase64(base64File: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
74837
74860
  /**
@@ -74841,7 +74864,7 @@ declare namespace Word {
74841
74864
  * [Api set: WordApi 1.1]
74842
74865
  *
74843
74866
  * @param html Required. The HTML to be inserted in the document.
74844
- * @param insertLocation Required. The value can be 'Replace', 'Start', or 'End'.
74867
+ * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
74845
74868
  */
74846
74869
  insertHtml(html: string, insertLocation: Word.InsertLocation): Word.Range;
74847
74870
  /**
@@ -74851,7 +74874,7 @@ declare namespace Word {
74851
74874
  * [Api set: WordApi 1.1]
74852
74875
  *
74853
74876
  * @param html Required. The HTML to be inserted in the document.
74854
- * @param insertLocation Required. The value can be 'Replace', 'Start', or 'End'.
74877
+ * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
74855
74878
  */
74856
74879
  insertHtml(html: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
74857
74880
  /**
@@ -74861,7 +74884,7 @@ declare namespace Word {
74861
74884
  * [Api set: WordApi 1.2]
74862
74885
  *
74863
74886
  * @param base64EncodedImage Required. The base64 encoded image to be inserted in the body.
74864
- * @param insertLocation Required. The value can be 'Start' or 'End'.
74887
+ * @param insertLocation Required. The value must be 'Start' or 'End'.
74865
74888
  */
74866
74889
  insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation): Word.InlinePicture;
74867
74890
  /**
@@ -74871,7 +74894,7 @@ declare namespace Word {
74871
74894
  * [Api set: WordApi 1.2]
74872
74895
  *
74873
74896
  * @param base64EncodedImage Required. The base64 encoded image to be inserted in the body.
74874
- * @param insertLocation Required. The value can be 'Start' or 'End'.
74897
+ * @param insertLocation Required. The value must be 'Start' or 'End'.
74875
74898
  */
74876
74899
  insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.InlinePicture;
74877
74900
  /**
@@ -74881,7 +74904,7 @@ declare namespace Word {
74881
74904
  * [Api set: WordApi 1.1]
74882
74905
  *
74883
74906
  * @param ooxml Required. The OOXML to be inserted.
74884
- * @param insertLocation Required. The value can be 'Replace', 'Start', or 'End'.
74907
+ * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
74885
74908
  */
74886
74909
  insertOoxml(ooxml: string, insertLocation: Word.InsertLocation): Word.Range;
74887
74910
  /**
@@ -74891,7 +74914,7 @@ declare namespace Word {
74891
74914
  * [Api set: WordApi 1.1]
74892
74915
  *
74893
74916
  * @param ooxml Required. The OOXML to be inserted.
74894
- * @param insertLocation Required. The value can be 'Replace', 'Start', or 'End'.
74917
+ * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
74895
74918
  */
74896
74919
  insertOoxml(ooxml: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
74897
74920
  /**
@@ -74901,7 +74924,7 @@ declare namespace Word {
74901
74924
  * [Api set: WordApi 1.1]
74902
74925
  *
74903
74926
  * @param paragraphText Required. The paragraph text to be inserted.
74904
- * @param insertLocation Required. The value can be 'Start' or 'End'.
74927
+ * @param insertLocation Required. The value must be 'Start' or 'End'.
74905
74928
  */
74906
74929
  insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
74907
74930
  /**
@@ -74911,7 +74934,7 @@ declare namespace Word {
74911
74934
  * [Api set: WordApi 1.1]
74912
74935
  *
74913
74936
  * @param paragraphText Required. The paragraph text to be inserted.
74914
- * @param insertLocation Required. The value can be 'Start' or 'End'.
74937
+ * @param insertLocation Required. The value must be 'Start' or 'End'.
74915
74938
  */
74916
74939
  insertParagraph(paragraphText: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Paragraph;
74917
74940
  /**
@@ -74922,7 +74945,7 @@ declare namespace Word {
74922
74945
  *
74923
74946
  * @param rowCount Required. The number of rows in the table.
74924
74947
  * @param columnCount Required. The number of columns in the table.
74925
- * @param insertLocation Required. The value can be 'Start' or 'End'.
74948
+ * @param insertLocation Required. The value must be 'Start' or 'End'.
74926
74949
  * @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
74927
74950
  */
74928
74951
  insertTable(rowCount: number, columnCount: number, insertLocation: Word.InsertLocation, values?: string[][]): Word.Table;
@@ -74934,7 +74957,7 @@ declare namespace Word {
74934
74957
  *
74935
74958
  * @param rowCount Required. The number of rows in the table.
74936
74959
  * @param columnCount Required. The number of columns in the table.
74937
- * @param insertLocation Required. The value can be 'Start' or 'End'.
74960
+ * @param insertLocation Required. The value must be 'Start' or 'End'.
74938
74961
  * @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
74939
74962
  */
74940
74963
  insertTable(rowCount: number, columnCount: number, insertLocation: "Before" | "After" | "Start" | "End" | "Replace", values?: string[][]): Word.Table;
@@ -74945,7 +74968,7 @@ declare namespace Word {
74945
74968
  * [Api set: WordApi 1.1]
74946
74969
  *
74947
74970
  * @param text Required. Text to be inserted.
74948
- * @param insertLocation Required. The value can be 'Replace', 'Start', or 'End'.
74971
+ * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
74949
74972
  */
74950
74973
  insertText(text: string, insertLocation: Word.InsertLocation): Word.Range;
74951
74974
  /**
@@ -74955,7 +74978,7 @@ declare namespace Word {
74955
74978
  * [Api set: WordApi 1.1]
74956
74979
  *
74957
74980
  * @param text Required. Text to be inserted.
74958
- * @param insertLocation Required. The value can be 'Replace', 'Start', or 'End'.
74981
+ * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
74959
74982
  */
74960
74983
  insertText(text: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
74961
74984
  /**
@@ -74982,7 +75005,7 @@ declare namespace Word {
74982
75005
  * @remarks
74983
75006
  * [Api set: WordApi 1.1]
74984
75007
  *
74985
- * @param selectionMode Optional. The selection mode can be 'Select', 'Start', or 'End'. 'Select' is the default.
75008
+ * @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
74986
75009
  */
74987
75010
  select(selectionMode?: Word.SelectionMode): void;
74988
75011
  /**
@@ -74991,7 +75014,7 @@ declare namespace Word {
74991
75014
  * @remarks
74992
75015
  * [Api set: WordApi 1.1]
74993
75016
  *
74994
- * @param selectionMode Optional. The selection mode can be 'Select', 'Start', or 'End'. 'Select' is the default.
75017
+ * @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
74995
75018
  */
74996
75019
  select(selectionMode?: "Select" | "Start" | "End"): void;
74997
75020
  /**
@@ -75166,7 +75189,6 @@ declare namespace Word {
75166
75189
  readonly id: number;
75167
75190
  /**
75168
75191
  * Gets or sets the placeholder text of the content control. Dimmed text will be displayed when the content control is empty.
75169
- *
75170
75192
  * **Note**: The set operation for this property is not supported in Word on the web.
75171
75193
  *
75172
75194
  * @remarks
@@ -75273,7 +75295,7 @@ declare namespace Word {
75273
75295
  * @remarks
75274
75296
  * [Api set: WordApi 1.3]
75275
75297
  *
75276
- * @param rangeLocation Optional. The range location can be 'Whole', 'Before', 'Start', 'End', 'After', or 'Content'.
75298
+ * @param rangeLocation Optional. The range location must be 'Whole', 'Before', 'Start', 'End', 'After', or 'Content'.
75277
75299
  */
75278
75300
  getRange(rangeLocation?: Word.RangeLocation): Word.Range;
75279
75301
  /**
@@ -75282,7 +75304,7 @@ declare namespace Word {
75282
75304
  * @remarks
75283
75305
  * [Api set: WordApi 1.3]
75284
75306
  *
75285
- * @param rangeLocation Optional. The range location can be 'Whole', 'Before', 'Start', 'End', 'After', or 'Content'.
75307
+ * @param rangeLocation Optional. The range location must be 'Whole', 'Before', 'Start', 'End', 'After', or 'Content'.
75286
75308
  */
75287
75309
  getRange(rangeLocation?: "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
75288
75310
  /**
@@ -75302,7 +75324,7 @@ declare namespace Word {
75302
75324
  * [Api set: WordApi 1.1]
75303
75325
  *
75304
75326
  * @param breakType Required. Type of break.
75305
- * @param insertLocation Required. The value can be 'Start', 'End', 'Before', or 'After'.
75327
+ * @param insertLocation Required. The value must be 'Start', 'End', 'Before', or 'After'.
75306
75328
  */
75307
75329
  insertBreak(breakType: Word.BreakType, insertLocation: Word.InsertLocation): void;
75308
75330
  /**
@@ -75312,7 +75334,7 @@ declare namespace Word {
75312
75334
  * [Api set: WordApi 1.1]
75313
75335
  *
75314
75336
  * @param breakType Required. Type of break.
75315
- * @param insertLocation Required. The value can be 'Start', 'End', 'Before', or 'After'.
75337
+ * @param insertLocation Required. The value must be 'Start', 'End', 'Before', or 'After'.
75316
75338
  */
75317
75339
  insertBreak(breakType: "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): void;
75318
75340
  /**
@@ -75322,7 +75344,7 @@ declare namespace Word {
75322
75344
  * [Api set: WordApi 1.1]
75323
75345
  *
75324
75346
  * @param base64File Required. The base64 encoded content of a .docx file.
75325
- * @param insertLocation Required. The value can be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
75347
+ * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
75326
75348
  */
75327
75349
  insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation): Word.Range;
75328
75350
  /**
@@ -75332,7 +75354,7 @@ declare namespace Word {
75332
75354
  * [Api set: WordApi 1.1]
75333
75355
  *
75334
75356
  * @param base64File Required. The base64 encoded content of a .docx file.
75335
- * @param insertLocation Required. The value can be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
75357
+ * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
75336
75358
  */
75337
75359
  insertFileFromBase64(base64File: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
75338
75360
  /**
@@ -75342,7 +75364,7 @@ declare namespace Word {
75342
75364
  * [Api set: WordApi 1.1]
75343
75365
  *
75344
75366
  * @param html Required. The HTML to be inserted in to the content control.
75345
- * @param insertLocation Required. The value can be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
75367
+ * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
75346
75368
  */
75347
75369
  insertHtml(html: string, insertLocation: Word.InsertLocation): Word.Range;
75348
75370
  /**
@@ -75352,7 +75374,7 @@ declare namespace Word {
75352
75374
  * [Api set: WordApi 1.1]
75353
75375
  *
75354
75376
  * @param html Required. The HTML to be inserted in to the content control.
75355
- * @param insertLocation Required. The value can be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
75377
+ * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
75356
75378
  */
75357
75379
  insertHtml(html: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
75358
75380
  /**
@@ -75362,7 +75384,7 @@ declare namespace Word {
75362
75384
  * [Api set: WordApi 1.2]
75363
75385
  *
75364
75386
  * @param base64EncodedImage Required. The base64 encoded image to be inserted in the content control.
75365
- * @param insertLocation Required. The value can be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
75387
+ * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
75366
75388
  */
75367
75389
  insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation): Word.InlinePicture;
75368
75390
  /**
@@ -75372,7 +75394,7 @@ declare namespace Word {
75372
75394
  * [Api set: WordApi 1.2]
75373
75395
  *
75374
75396
  * @param base64EncodedImage Required. The base64 encoded image to be inserted in the content control.
75375
- * @param insertLocation Required. The value can be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
75397
+ * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
75376
75398
  */
75377
75399
  insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.InlinePicture;
75378
75400
  /**
@@ -75382,7 +75404,7 @@ declare namespace Word {
75382
75404
  * [Api set: WordApi 1.1]
75383
75405
  *
75384
75406
  * @param ooxml Required. The OOXML to be inserted in to the content control.
75385
- * @param insertLocation Required. The value can be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
75407
+ * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
75386
75408
  */
75387
75409
  insertOoxml(ooxml: string, insertLocation: Word.InsertLocation): Word.Range;
75388
75410
  /**
@@ -75392,7 +75414,7 @@ declare namespace Word {
75392
75414
  * [Api set: WordApi 1.1]
75393
75415
  *
75394
75416
  * @param ooxml Required. The OOXML to be inserted in to the content control.
75395
- * @param insertLocation Required. The value can be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
75417
+ * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
75396
75418
  */
75397
75419
  insertOoxml(ooxml: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
75398
75420
  /**
@@ -75402,7 +75424,7 @@ declare namespace Word {
75402
75424
  * [Api set: WordApi 1.1]
75403
75425
  *
75404
75426
  * @param paragraphText Required. The paragraph text to be inserted.
75405
- * @param insertLocation Required. The value can be 'Start', 'End', 'Before', or 'After'. 'Before' and 'After' cannot be used with 'RichTextTable', 'RichTextTableRow' and 'RichTextTableCell' content controls.
75427
+ * @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
75428
  */
75407
75429
  insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
75408
75430
  /**
@@ -75412,7 +75434,7 @@ declare namespace Word {
75412
75434
  * [Api set: WordApi 1.1]
75413
75435
  *
75414
75436
  * @param paragraphText Required. The paragraph text to be inserted.
75415
- * @param insertLocation Required. The value can be 'Start', 'End', 'Before', or 'After'. 'Before' and 'After' cannot be used with 'RichTextTable', 'RichTextTableRow' and 'RichTextTableCell' content controls.
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.
75416
75438
  */
75417
75439
  insertParagraph(paragraphText: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Paragraph;
75418
75440
  /**
@@ -75423,7 +75445,7 @@ declare namespace Word {
75423
75445
  *
75424
75446
  * @param rowCount Required. The number of rows in the table.
75425
75447
  * @param columnCount Required. The number of columns in the table.
75426
- * @param insertLocation Required. The value can be 'Start', 'End', 'Before', or 'After'. 'Before' and 'After' cannot be used with 'RichTextTable', 'RichTextTableRow' and 'RichTextTableCell' content controls.
75448
+ * @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
75449
  * @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
75428
75450
  */
75429
75451
  insertTable(rowCount: number, columnCount: number, insertLocation: Word.InsertLocation, values?: string[][]): Word.Table;
@@ -75435,7 +75457,7 @@ declare namespace Word {
75435
75457
  *
75436
75458
  * @param rowCount Required. The number of rows in the table.
75437
75459
  * @param columnCount Required. The number of columns in the table.
75438
- * @param insertLocation Required. The value can be 'Start', 'End', 'Before', or 'After'. 'Before' and 'After' cannot be used with 'RichTextTable', 'RichTextTableRow' and 'RichTextTableCell' content controls.
75460
+ * @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
75461
  * @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
75440
75462
  */
75441
75463
  insertTable(rowCount: number, columnCount: number, insertLocation: "Before" | "After" | "Start" | "End" | "Replace", values?: string[][]): Word.Table;
@@ -75446,7 +75468,7 @@ declare namespace Word {
75446
75468
  * [Api set: WordApi 1.1]
75447
75469
  *
75448
75470
  * @param text Required. The text to be inserted in to the content control.
75449
- * @param insertLocation Required. The value can be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
75471
+ * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
75450
75472
  */
75451
75473
  insertText(text: string, insertLocation: Word.InsertLocation): Word.Range;
75452
75474
  /**
@@ -75456,7 +75478,7 @@ declare namespace Word {
75456
75478
  * [Api set: WordApi 1.1]
75457
75479
  *
75458
75480
  * @param text Required. The text to be inserted in to the content control.
75459
- * @param insertLocation Required. The value can be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
75481
+ * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
75460
75482
  */
75461
75483
  insertText(text: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
75462
75484
  /**
@@ -75483,7 +75505,7 @@ declare namespace Word {
75483
75505
  * @remarks
75484
75506
  * [Api set: WordApi 1.1]
75485
75507
  *
75486
- * @param selectionMode Optional. The selection mode can be 'Select', 'Start', or 'End'. 'Select' is the default.
75508
+ * @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
75487
75509
  */
75488
75510
  select(selectionMode?: Word.SelectionMode): void;
75489
75511
  /**
@@ -75492,7 +75514,7 @@ declare namespace Word {
75492
75514
  * @remarks
75493
75515
  * [Api set: WordApi 1.1]
75494
75516
  *
75495
- * @param selectionMode Optional. The selection mode can be 'Select', 'Start', or 'End'. 'Select' is the default.
75517
+ * @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
75496
75518
  */
75497
75519
  select(selectionMode?: "Select" | "Start" | "End"): void;
75498
75520
  /**
@@ -76470,7 +76492,7 @@ declare namespace Word {
76470
76492
  * @remarks
76471
76493
  * [Api set: WordApi 1.3]
76472
76494
  *
76473
- * @param rangeLocation Optional. The range location can be 'Whole', 'Start', or 'End'.
76495
+ * @param rangeLocation Optional. The range location must be 'Whole', 'Start', or 'End'.
76474
76496
  */
76475
76497
  getRange(rangeLocation?: Word.RangeLocation): Word.Range;
76476
76498
  /**
@@ -76479,7 +76501,7 @@ declare namespace Word {
76479
76501
  * @remarks
76480
76502
  * [Api set: WordApi 1.3]
76481
76503
  *
76482
- * @param rangeLocation Optional. The range location can be 'Whole', 'Start', or 'End'.
76504
+ * @param rangeLocation Optional. The range location must be 'Whole', 'Start', or 'End'.
76483
76505
  */
76484
76506
  getRange(rangeLocation?: "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
76485
76507
  /**
@@ -76489,7 +76511,7 @@ declare namespace Word {
76489
76511
  * [Api set: WordApi 1.2]
76490
76512
  *
76491
76513
  * @param breakType Required. The break type to add.
76492
- * @param insertLocation Required. The value can be 'Before' or 'After'.
76514
+ * @param insertLocation Required. The value must be 'Before' or 'After'.
76493
76515
  */
76494
76516
  insertBreak(breakType: Word.BreakType, insertLocation: Word.InsertLocation): void;
76495
76517
  /**
@@ -76499,7 +76521,7 @@ declare namespace Word {
76499
76521
  * [Api set: WordApi 1.2]
76500
76522
  *
76501
76523
  * @param breakType Required. The break type to add.
76502
- * @param insertLocation Required. The value can be 'Before' or 'After'.
76524
+ * @param insertLocation Required. The value must be 'Before' or 'After'.
76503
76525
  */
76504
76526
  insertBreak(breakType: "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): void;
76505
76527
  /**
@@ -76516,7 +76538,7 @@ declare namespace Word {
76516
76538
  * [Api set: WordApi 1.2]
76517
76539
  *
76518
76540
  * @param base64File Required. The base64 encoded content of a .docx file.
76519
- * @param insertLocation Required. The value can be 'Before' or 'After'.
76541
+ * @param insertLocation Required. The value must be 'Before' or 'After'.
76520
76542
  */
76521
76543
  insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation): Word.Range;
76522
76544
  /**
@@ -76526,7 +76548,7 @@ declare namespace Word {
76526
76548
  * [Api set: WordApi 1.2]
76527
76549
  *
76528
76550
  * @param base64File Required. The base64 encoded content of a .docx file.
76529
- * @param insertLocation Required. The value can be 'Before' or 'After'.
76551
+ * @param insertLocation Required. The value must be 'Before' or 'After'.
76530
76552
  */
76531
76553
  insertFileFromBase64(base64File: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
76532
76554
  /**
@@ -76536,7 +76558,7 @@ declare namespace Word {
76536
76558
  * [Api set: WordApi 1.2]
76537
76559
  *
76538
76560
  * @param html Required. The HTML to be inserted.
76539
- * @param insertLocation Required. The value can be 'Before' or 'After'.
76561
+ * @param insertLocation Required. The value must be 'Before' or 'After'.
76540
76562
  */
76541
76563
  insertHtml(html: string, insertLocation: Word.InsertLocation): Word.Range;
76542
76564
  /**
@@ -76546,7 +76568,7 @@ declare namespace Word {
76546
76568
  * [Api set: WordApi 1.2]
76547
76569
  *
76548
76570
  * @param html Required. The HTML to be inserted.
76549
- * @param insertLocation Required. The value can be 'Before' or 'After'.
76571
+ * @param insertLocation Required. The value must be 'Before' or 'After'.
76550
76572
  */
76551
76573
  insertHtml(html: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
76552
76574
  /**
@@ -76556,7 +76578,7 @@ declare namespace Word {
76556
76578
  * [Api set: WordApi 1.2]
76557
76579
  *
76558
76580
  * @param base64EncodedImage Required. The base64 encoded image to be inserted.
76559
- * @param insertLocation Required. The value can be 'Replace', 'Before', or 'After'.
76581
+ * @param insertLocation Required. The value must be 'Replace', 'Before', or 'After'.
76560
76582
  */
76561
76583
  insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation): Word.InlinePicture;
76562
76584
  /**
@@ -76566,7 +76588,7 @@ declare namespace Word {
76566
76588
  * [Api set: WordApi 1.2]
76567
76589
  *
76568
76590
  * @param base64EncodedImage Required. The base64 encoded image to be inserted.
76569
- * @param insertLocation Required. The value can be 'Replace', 'Before', or 'After'.
76591
+ * @param insertLocation Required. The value must be 'Replace', 'Before', or 'After'.
76570
76592
  */
76571
76593
  insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.InlinePicture;
76572
76594
  /**
@@ -76576,7 +76598,7 @@ declare namespace Word {
76576
76598
  * [Api set: WordApi 1.2]
76577
76599
  *
76578
76600
  * @param ooxml Required. The OOXML to be inserted.
76579
- * @param insertLocation Required. The value can be 'Before' or 'After'.
76601
+ * @param insertLocation Required. The value must be 'Before' or 'After'.
76580
76602
  */
76581
76603
  insertOoxml(ooxml: string, insertLocation: Word.InsertLocation): Word.Range;
76582
76604
  /**
@@ -76586,7 +76608,7 @@ declare namespace Word {
76586
76608
  * [Api set: WordApi 1.2]
76587
76609
  *
76588
76610
  * @param ooxml Required. The OOXML to be inserted.
76589
- * @param insertLocation Required. The value can be 'Before' or 'After'.
76611
+ * @param insertLocation Required. The value must be 'Before' or 'After'.
76590
76612
  */
76591
76613
  insertOoxml(ooxml: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
76592
76614
  /**
@@ -76596,7 +76618,7 @@ declare namespace Word {
76596
76618
  * [Api set: WordApi 1.2]
76597
76619
  *
76598
76620
  * @param paragraphText Required. The paragraph text to be inserted.
76599
- * @param insertLocation Required. The value can be 'Before' or 'After'.
76621
+ * @param insertLocation Required. The value must be 'Before' or 'After'.
76600
76622
  */
76601
76623
  insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
76602
76624
  /**
@@ -76606,7 +76628,7 @@ declare namespace Word {
76606
76628
  * [Api set: WordApi 1.2]
76607
76629
  *
76608
76630
  * @param paragraphText Required. The paragraph text to be inserted.
76609
- * @param insertLocation Required. The value can be 'Before' or 'After'.
76631
+ * @param insertLocation Required. The value must be 'Before' or 'After'.
76610
76632
  */
76611
76633
  insertParagraph(paragraphText: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Paragraph;
76612
76634
  /**
@@ -76616,7 +76638,7 @@ declare namespace Word {
76616
76638
  * [Api set: WordApi 1.2]
76617
76639
  *
76618
76640
  * @param text Required. Text to be inserted.
76619
- * @param insertLocation Required. The value can be 'Before' or 'After'.
76641
+ * @param insertLocation Required. The value must be 'Before' or 'After'.
76620
76642
  */
76621
76643
  insertText(text: string, insertLocation: Word.InsertLocation): Word.Range;
76622
76644
  /**
@@ -76626,7 +76648,7 @@ declare namespace Word {
76626
76648
  * [Api set: WordApi 1.2]
76627
76649
  *
76628
76650
  * @param text Required. Text to be inserted.
76629
- * @param insertLocation Required. The value can be 'Before' or 'After'.
76651
+ * @param insertLocation Required. The value must be 'Before' or 'After'.
76630
76652
  */
76631
76653
  insertText(text: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
76632
76654
  /**
@@ -76635,7 +76657,7 @@ declare namespace Word {
76635
76657
  * @remarks
76636
76658
  * [Api set: WordApi 1.2]
76637
76659
  *
76638
- * @param selectionMode Optional. The selection mode can be 'Select', 'Start', or 'End'. 'Select' is the default.
76660
+ * @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
76639
76661
  */
76640
76662
  select(selectionMode?: Word.SelectionMode): void;
76641
76663
  /**
@@ -76644,7 +76666,7 @@ declare namespace Word {
76644
76666
  * @remarks
76645
76667
  * [Api set: WordApi 1.2]
76646
76668
  *
76647
- * @param selectionMode Optional. The selection mode can be 'Select', 'Start', or 'End'. 'Select' is the default.
76669
+ * @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
76648
76670
  */
76649
76671
  select(selectionMode?: "Select" | "Start" | "End"): void;
76650
76672
  /**
@@ -76801,7 +76823,7 @@ declare namespace Word {
76801
76823
  * [Api set: WordApi 1.3]
76802
76824
  *
76803
76825
  * @param paragraphText Required. The paragraph text to be inserted.
76804
- * @param insertLocation Required. The value can be 'Start', 'End', 'Before', or 'After'.
76826
+ * @param insertLocation Required. The value must be 'Start', 'End', 'Before', or 'After'.
76805
76827
  */
76806
76828
  insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
76807
76829
  /**
@@ -76811,7 +76833,7 @@ declare namespace Word {
76811
76833
  * [Api set: WordApi 1.3]
76812
76834
  *
76813
76835
  * @param paragraphText Required. The paragraph text to be inserted.
76814
- * @param insertLocation Required. The value can be 'Start', 'End', 'Before', or 'After'.
76836
+ * @param insertLocation Required. The value must be 'Start', 'End', 'Before', or 'After'.
76815
76837
  */
76816
76838
  insertParagraph(paragraphText: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Paragraph;
76817
76839
  /**
@@ -76821,7 +76843,7 @@ declare namespace Word {
76821
76843
  * [Api set: WordApi 1.3]
76822
76844
  *
76823
76845
  * @param level Required. The level in the list.
76824
- * @param alignment Required. The level alignment that can be 'Left', 'Centered', or 'Right'.
76846
+ * @param alignment Required. The level alignment that must be 'Left', 'Centered', or 'Right'.
76825
76847
  */
76826
76848
  setLevelAlignment(level: number, alignment: Word.Alignment): void;
76827
76849
  /**
@@ -76831,7 +76853,7 @@ declare namespace Word {
76831
76853
  * [Api set: WordApi 1.3]
76832
76854
  *
76833
76855
  * @param level Required. The level in the list.
76834
- * @param alignment Required. The level alignment that can be 'Left', 'Centered', or 'Right'.
76856
+ * @param alignment Required. The level alignment that must be 'Left', 'Centered', or 'Right'.
76835
76857
  */
76836
76858
  setLevelAlignment(level: number, alignment: "Mixed" | "Unknown" | "Left" | "Centered" | "Right" | "Justified"): void;
76837
76859
  /**
@@ -77426,7 +77448,7 @@ declare namespace Word {
77426
77448
  * @remarks
77427
77449
  * [Api set: WordApi 1.3]
77428
77450
  *
77429
- * @param rangeLocation Optional. The range location can be 'Whole', 'Start', 'End', 'After', or 'Content'.
77451
+ * @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', 'After', or 'Content'.
77430
77452
  */
77431
77453
  getRange(rangeLocation?: Word.RangeLocation): Word.Range;
77432
77454
  /**
@@ -77435,7 +77457,7 @@ declare namespace Word {
77435
77457
  * @remarks
77436
77458
  * [Api set: WordApi 1.3]
77437
77459
  *
77438
- * @param rangeLocation Optional. The range location can be 'Whole', 'Start', 'End', 'After', or 'Content'.
77460
+ * @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', 'After', or 'Content'.
77439
77461
  */
77440
77462
  getRange(rangeLocation?: "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
77441
77463
  /**
@@ -77455,7 +77477,7 @@ declare namespace Word {
77455
77477
  * [Api set: WordApi 1.1]
77456
77478
  *
77457
77479
  * @param breakType Required. The break type to add to the document.
77458
- * @param insertLocation Required. The value can be 'Before' or 'After'.
77480
+ * @param insertLocation Required. The value must be 'Before' or 'After'.
77459
77481
  */
77460
77482
  insertBreak(breakType: Word.BreakType, insertLocation: Word.InsertLocation): void;
77461
77483
  /**
@@ -77465,7 +77487,7 @@ declare namespace Word {
77465
77487
  * [Api set: WordApi 1.1]
77466
77488
  *
77467
77489
  * @param breakType Required. The break type to add to the document.
77468
- * @param insertLocation Required. The value can be 'Before' or 'After'.
77490
+ * @param insertLocation Required. The value must be 'Before' or 'After'.
77469
77491
  */
77470
77492
  insertBreak(breakType: "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): void;
77471
77493
  /**
@@ -77482,7 +77504,7 @@ declare namespace Word {
77482
77504
  * [Api set: WordApi 1.1]
77483
77505
  *
77484
77506
  * @param base64File Required. The base64 encoded content of a .docx file.
77485
- * @param insertLocation Required. The value can be 'Replace', 'Start', or 'End'.
77507
+ * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
77486
77508
  */
77487
77509
  insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation): Word.Range;
77488
77510
  /**
@@ -77492,7 +77514,7 @@ declare namespace Word {
77492
77514
  * [Api set: WordApi 1.1]
77493
77515
  *
77494
77516
  * @param base64File Required. The base64 encoded content of a .docx file.
77495
- * @param insertLocation Required. The value can be 'Replace', 'Start', or 'End'.
77517
+ * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
77496
77518
  */
77497
77519
  insertFileFromBase64(base64File: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
77498
77520
  /**
@@ -77502,7 +77524,7 @@ declare namespace Word {
77502
77524
  * [Api set: WordApi 1.1]
77503
77525
  *
77504
77526
  * @param html Required. The HTML to be inserted in the paragraph.
77505
- * @param insertLocation Required. The value can be 'Replace', 'Start', or 'End'.
77527
+ * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
77506
77528
  */
77507
77529
  insertHtml(html: string, insertLocation: Word.InsertLocation): Word.Range;
77508
77530
  /**
@@ -77512,7 +77534,7 @@ declare namespace Word {
77512
77534
  * [Api set: WordApi 1.1]
77513
77535
  *
77514
77536
  * @param html Required. The HTML to be inserted in the paragraph.
77515
- * @param insertLocation Required. The value can be 'Replace', 'Start', or 'End'.
77537
+ * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
77516
77538
  */
77517
77539
  insertHtml(html: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
77518
77540
  /**
@@ -77522,7 +77544,7 @@ declare namespace Word {
77522
77544
  * [Api set: WordApi 1.1]
77523
77545
  *
77524
77546
  * @param base64EncodedImage Required. The base64 encoded image to be inserted.
77525
- * @param insertLocation Required. The value can be 'Replace', 'Start', or 'End'.
77547
+ * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
77526
77548
  */
77527
77549
  insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation): Word.InlinePicture;
77528
77550
  /**
@@ -77532,7 +77554,7 @@ declare namespace Word {
77532
77554
  * [Api set: WordApi 1.1]
77533
77555
  *
77534
77556
  * @param base64EncodedImage Required. The base64 encoded image to be inserted.
77535
- * @param insertLocation Required. The value can be 'Replace', 'Start', or 'End'.
77557
+ * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
77536
77558
  */
77537
77559
  insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.InlinePicture;
77538
77560
  /**
@@ -77542,7 +77564,7 @@ declare namespace Word {
77542
77564
  * [Api set: WordApi 1.1]
77543
77565
  *
77544
77566
  * @param ooxml Required. The OOXML to be inserted in the paragraph.
77545
- * @param insertLocation Required. The value can be 'Replace', 'Start', or 'End'.
77567
+ * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
77546
77568
  */
77547
77569
  insertOoxml(ooxml: string, insertLocation: Word.InsertLocation): Word.Range;
77548
77570
  /**
@@ -77552,7 +77574,7 @@ declare namespace Word {
77552
77574
  * [Api set: WordApi 1.1]
77553
77575
  *
77554
77576
  * @param ooxml Required. The OOXML to be inserted in the paragraph.
77555
- * @param insertLocation Required. The value can be 'Replace', 'Start', or 'End'.
77577
+ * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
77556
77578
  */
77557
77579
  insertOoxml(ooxml: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
77558
77580
  /**
@@ -77562,7 +77584,7 @@ declare namespace Word {
77562
77584
  * [Api set: WordApi 1.1]
77563
77585
  *
77564
77586
  * @param paragraphText Required. The paragraph text to be inserted.
77565
- * @param insertLocation Required. The value can be 'Before' or 'After'.
77587
+ * @param insertLocation Required. The value must be 'Before' or 'After'.
77566
77588
  */
77567
77589
  insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
77568
77590
  /**
@@ -77572,7 +77594,7 @@ declare namespace Word {
77572
77594
  * [Api set: WordApi 1.1]
77573
77595
  *
77574
77596
  * @param paragraphText Required. The paragraph text to be inserted.
77575
- * @param insertLocation Required. The value can be 'Before' or 'After'.
77597
+ * @param insertLocation Required. The value must be 'Before' or 'After'.
77576
77598
  */
77577
77599
  insertParagraph(paragraphText: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Paragraph;
77578
77600
  /**
@@ -77583,7 +77605,7 @@ declare namespace Word {
77583
77605
  *
77584
77606
  * @param rowCount Required. The number of rows in the table.
77585
77607
  * @param columnCount Required. The number of columns in the table.
77586
- * @param insertLocation Required. The value can be 'Before' or 'After'.
77608
+ * @param insertLocation Required. The value must be 'Before' or 'After'.
77587
77609
  * @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
77588
77610
  */
77589
77611
  insertTable(rowCount: number, columnCount: number, insertLocation: Word.InsertLocation, values?: string[][]): Word.Table;
@@ -77595,7 +77617,7 @@ declare namespace Word {
77595
77617
  *
77596
77618
  * @param rowCount Required. The number of rows in the table.
77597
77619
  * @param columnCount Required. The number of columns in the table.
77598
- * @param insertLocation Required. The value can be 'Before' or 'After'.
77620
+ * @param insertLocation Required. The value must be 'Before' or 'After'.
77599
77621
  * @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
77600
77622
  */
77601
77623
  insertTable(rowCount: number, columnCount: number, insertLocation: "Before" | "After" | "Start" | "End" | "Replace", values?: string[][]): Word.Table;
@@ -77606,7 +77628,7 @@ declare namespace Word {
77606
77628
  * [Api set: WordApi 1.1]
77607
77629
  *
77608
77630
  * @param text Required. Text to be inserted.
77609
- * @param insertLocation Required. The value can be 'Replace', 'Start', or 'End'.
77631
+ * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
77610
77632
  */
77611
77633
  insertText(text: string, insertLocation: Word.InsertLocation): Word.Range;
77612
77634
  /**
@@ -77616,7 +77638,7 @@ declare namespace Word {
77616
77638
  * [Api set: WordApi 1.1]
77617
77639
  *
77618
77640
  * @param text Required. Text to be inserted.
77619
- * @param insertLocation Required. The value can be 'Replace', 'Start', or 'End'.
77641
+ * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
77620
77642
  */
77621
77643
  insertText(text: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
77622
77644
  /**
@@ -77643,7 +77665,7 @@ declare namespace Word {
77643
77665
  * @remarks
77644
77666
  * [Api set: WordApi 1.1]
77645
77667
  *
77646
- * @param selectionMode Optional. The selection mode can be 'Select', 'Start', or 'End'. 'Select' is the default.
77668
+ * @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
77647
77669
  */
77648
77670
  select(selectionMode?: Word.SelectionMode): void;
77649
77671
  /**
@@ -77652,7 +77674,7 @@ declare namespace Word {
77652
77674
  * @remarks
77653
77675
  * [Api set: WordApi 1.1]
77654
77676
  *
77655
- * @param selectionMode Optional. The selection mode can be 'Select', 'Start', or 'End'. 'Select' is the default.
77677
+ * @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
77656
77678
  */
77657
77679
  select(selectionMode?: "Select" | "Start" | "End"): void;
77658
77680
  /**
@@ -78010,7 +78032,7 @@ declare namespace Word {
78010
78032
  * @remarks
78011
78033
  * [Api set: WordApi 1.3]
78012
78034
  *
78013
- * @param rangeLocation Optional. The range location can be 'Whole', 'Start', 'End', 'After', or 'Content'.
78035
+ * @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', 'After', or 'Content'.
78014
78036
  */
78015
78037
  getRange(rangeLocation?: Word.RangeLocation): Word.Range;
78016
78038
  /**
@@ -78019,7 +78041,7 @@ declare namespace Word {
78019
78041
  * @remarks
78020
78042
  * [Api set: WordApi 1.3]
78021
78043
  *
78022
- * @param rangeLocation Optional. The range location can be 'Whole', 'Start', 'End', 'After', or 'Content'.
78044
+ * @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', 'After', or 'Content'.
78023
78045
  */
78024
78046
  getRange(rangeLocation?: "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
78025
78047
  /**
@@ -78039,7 +78061,7 @@ declare namespace Word {
78039
78061
  * [Api set: WordApi 1.1]
78040
78062
  *
78041
78063
  * @param breakType Required. The break type to add.
78042
- * @param insertLocation Required. The value can be 'Before' or 'After'.
78064
+ * @param insertLocation Required. The value must be 'Before' or 'After'.
78043
78065
  */
78044
78066
  insertBreak(breakType: Word.BreakType, insertLocation: Word.InsertLocation): void;
78045
78067
  /**
@@ -78049,7 +78071,7 @@ declare namespace Word {
78049
78071
  * [Api set: WordApi 1.1]
78050
78072
  *
78051
78073
  * @param breakType Required. The break type to add.
78052
- * @param insertLocation Required. The value can be 'Before' or 'After'.
78074
+ * @param insertLocation Required. The value must be 'Before' or 'After'.
78053
78075
  */
78054
78076
  insertBreak(breakType: "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): void;
78055
78077
  /**
@@ -78066,7 +78088,7 @@ declare namespace Word {
78066
78088
  * [Api set: WordApi 1.1]
78067
78089
  *
78068
78090
  * @param base64File Required. The base64 encoded content of a .docx file.
78069
- * @param insertLocation Required. The value can be 'Replace', 'Start', 'End', 'Before', or 'After'.
78091
+ * @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
78070
78092
  */
78071
78093
  insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation): Word.Range;
78072
78094
  /**
@@ -78076,7 +78098,7 @@ declare namespace Word {
78076
78098
  * [Api set: WordApi 1.1]
78077
78099
  *
78078
78100
  * @param base64File Required. The base64 encoded content of a .docx file.
78079
- * @param insertLocation Required. The value can be 'Replace', 'Start', 'End', 'Before', or 'After'.
78101
+ * @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
78080
78102
  */
78081
78103
  insertFileFromBase64(base64File: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
78082
78104
  /**
@@ -78086,7 +78108,7 @@ declare namespace Word {
78086
78108
  * [Api set: WordApi 1.1]
78087
78109
  *
78088
78110
  * @param html Required. The HTML to be inserted.
78089
- * @param insertLocation Required. The value can be 'Replace', 'Start', 'End', 'Before', or 'After'.
78111
+ * @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
78090
78112
  */
78091
78113
  insertHtml(html: string, insertLocation: Word.InsertLocation): Word.Range;
78092
78114
  /**
@@ -78096,7 +78118,7 @@ declare namespace Word {
78096
78118
  * [Api set: WordApi 1.1]
78097
78119
  *
78098
78120
  * @param html Required. The HTML to be inserted.
78099
- * @param insertLocation Required. The value can be 'Replace', 'Start', 'End', 'Before', or 'After'.
78121
+ * @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
78100
78122
  */
78101
78123
  insertHtml(html: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
78102
78124
  /**
@@ -78106,7 +78128,7 @@ declare namespace Word {
78106
78128
  * [Api set: WordApi 1.2]
78107
78129
  *
78108
78130
  * @param base64EncodedImage Required. The base64 encoded image to be inserted.
78109
- * @param insertLocation Required. The value can be 'Replace', 'Start', 'End', 'Before', or 'After'.
78131
+ * @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
78110
78132
  */
78111
78133
  insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation): Word.InlinePicture;
78112
78134
  /**
@@ -78116,7 +78138,7 @@ declare namespace Word {
78116
78138
  * [Api set: WordApi 1.2]
78117
78139
  *
78118
78140
  * @param base64EncodedImage Required. The base64 encoded image to be inserted.
78119
- * @param insertLocation Required. The value can be 'Replace', 'Start', 'End', 'Before', or 'After'.
78141
+ * @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
78120
78142
  */
78121
78143
  insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.InlinePicture;
78122
78144
  /**
@@ -78126,7 +78148,7 @@ declare namespace Word {
78126
78148
  * [Api set: WordApi 1.1]
78127
78149
  *
78128
78150
  * @param ooxml Required. The OOXML to be inserted.
78129
- * @param insertLocation Required. The value can be 'Replace', 'Start', 'End', 'Before', or 'After'.
78151
+ * @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
78130
78152
  */
78131
78153
  insertOoxml(ooxml: string, insertLocation: Word.InsertLocation): Word.Range;
78132
78154
  /**
@@ -78136,7 +78158,7 @@ declare namespace Word {
78136
78158
  * [Api set: WordApi 1.1]
78137
78159
  *
78138
78160
  * @param ooxml Required. The OOXML to be inserted.
78139
- * @param insertLocation Required. The value can be 'Replace', 'Start', 'End', 'Before', or 'After'.
78161
+ * @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
78140
78162
  */
78141
78163
  insertOoxml(ooxml: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
78142
78164
  /**
@@ -78146,7 +78168,7 @@ declare namespace Word {
78146
78168
  * [Api set: WordApi 1.1]
78147
78169
  *
78148
78170
  * @param paragraphText Required. The paragraph text to be inserted.
78149
- * @param insertLocation Required. The value can be 'Before' or 'After'.
78171
+ * @param insertLocation Required. The value must be 'Before' or 'After'.
78150
78172
  */
78151
78173
  insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
78152
78174
  /**
@@ -78156,7 +78178,7 @@ declare namespace Word {
78156
78178
  * [Api set: WordApi 1.1]
78157
78179
  *
78158
78180
  * @param paragraphText Required. The paragraph text to be inserted.
78159
- * @param insertLocation Required. The value can be 'Before' or 'After'.
78181
+ * @param insertLocation Required. The value must be 'Before' or 'After'.
78160
78182
  */
78161
78183
  insertParagraph(paragraphText: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Paragraph;
78162
78184
  /**
@@ -78167,7 +78189,7 @@ declare namespace Word {
78167
78189
  *
78168
78190
  * @param rowCount Required. The number of rows in the table.
78169
78191
  * @param columnCount Required. The number of columns in the table.
78170
- * @param insertLocation Required. The value can be 'Before' or 'After'.
78192
+ * @param insertLocation Required. The value must be 'Before' or 'After'.
78171
78193
  * @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
78172
78194
  */
78173
78195
  insertTable(rowCount: number, columnCount: number, insertLocation: Word.InsertLocation, values?: string[][]): Word.Table;
@@ -78179,7 +78201,7 @@ declare namespace Word {
78179
78201
  *
78180
78202
  * @param rowCount Required. The number of rows in the table.
78181
78203
  * @param columnCount Required. The number of columns in the table.
78182
- * @param insertLocation Required. The value can be 'Before' or 'After'.
78204
+ * @param insertLocation Required. The value must be 'Before' or 'After'.
78183
78205
  * @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
78184
78206
  */
78185
78207
  insertTable(rowCount: number, columnCount: number, insertLocation: "Before" | "After" | "Start" | "End" | "Replace", values?: string[][]): Word.Table;
@@ -78190,7 +78212,7 @@ declare namespace Word {
78190
78212
  * [Api set: WordApi 1.1]
78191
78213
  *
78192
78214
  * @param text Required. Text to be inserted.
78193
- * @param insertLocation Required. The value can be 'Replace', 'Start', 'End', 'Before', or 'After'.
78215
+ * @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
78194
78216
  */
78195
78217
  insertText(text: string, insertLocation: Word.InsertLocation): Word.Range;
78196
78218
  /**
@@ -78200,7 +78222,7 @@ declare namespace Word {
78200
78222
  * [Api set: WordApi 1.1]
78201
78223
  *
78202
78224
  * @param text Required. Text to be inserted.
78203
- * @param insertLocation Required. The value can be 'Replace', 'Start', 'End', 'Before', or 'After'.
78225
+ * @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
78204
78226
  */
78205
78227
  insertText(text: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
78206
78228
  /**
@@ -78245,7 +78267,7 @@ declare namespace Word {
78245
78267
  * @remarks
78246
78268
  * [Api set: WordApi 1.1]
78247
78269
  *
78248
- * @param selectionMode Optional. The selection mode can be 'Select', 'Start', or 'End'. 'Select' is the default.
78270
+ * @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
78249
78271
  */
78250
78272
  select(selectionMode?: Word.SelectionMode): void;
78251
78273
  /**
@@ -78254,7 +78276,7 @@ declare namespace Word {
78254
78276
  * @remarks
78255
78277
  * [Api set: WordApi 1.1]
78256
78278
  *
78257
- * @param selectionMode Optional. The selection mode can be 'Select', 'Start', or 'End'. 'Select' is the default.
78279
+ * @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
78258
78280
  */
78259
78281
  select(selectionMode?: "Select" | "Start" | "End"): void;
78260
78282
  /**
@@ -78490,7 +78512,7 @@ declare namespace Word {
78490
78512
  * @remarks
78491
78513
  * [Api set: WordApi 1.1]
78492
78514
  *
78493
- * @param type Required. The type of footer to return. This value can be: 'Primary', 'FirstPage', or 'EvenPages'.
78515
+ * @param type Required. The type of footer to return. This value must be: 'Primary', 'FirstPage', or 'EvenPages'.
78494
78516
  */
78495
78517
  getFooter(type: Word.HeaderFooterType): Word.Body;
78496
78518
  /**
@@ -78499,7 +78521,7 @@ declare namespace Word {
78499
78521
  * @remarks
78500
78522
  * [Api set: WordApi 1.1]
78501
78523
  *
78502
- * @param type Required. The type of footer to return. This value can be: 'Primary', 'FirstPage', or 'EvenPages'.
78524
+ * @param type Required. The type of footer to return. This value must be: 'Primary', 'FirstPage', or 'EvenPages'.
78503
78525
  */
78504
78526
  getFooter(type: "Primary" | "FirstPage" | "EvenPages"): Word.Body;
78505
78527
  /**
@@ -78508,7 +78530,7 @@ declare namespace Word {
78508
78530
  * @remarks
78509
78531
  * [Api set: WordApi 1.1]
78510
78532
  *
78511
- * @param type Required. The type of header to return. This value can be: 'Primary', 'FirstPage', or 'EvenPages'.
78533
+ * @param type Required. The type of header to return. This value must be: 'Primary', 'FirstPage', or 'EvenPages'.
78512
78534
  */
78513
78535
  getHeader(type: Word.HeaderFooterType): Word.Body;
78514
78536
  /**
@@ -78517,7 +78539,7 @@ declare namespace Word {
78517
78539
  * @remarks
78518
78540
  * [Api set: WordApi 1.1]
78519
78541
  *
78520
- * @param type Required. The type of header to return. This value can be: 'Primary', 'FirstPage', or 'EvenPages'.
78542
+ * @param type Required. The type of header to return. This value must be: 'Primary', 'FirstPage', or 'EvenPages'.
78521
78543
  */
78522
78544
  getHeader(type: "Primary" | "FirstPage" | "EvenPages"): Word.Body;
78523
78545
  /**
@@ -78838,7 +78860,7 @@ declare namespace Word {
78838
78860
  * @remarks
78839
78861
  * [Api set: WordApi 1.3]
78840
78862
  *
78841
- * @param insertLocation Required. It can be 'Start' or 'End', corresponding to the appropriate side of the table.
78863
+ * @param insertLocation Required. It must be 'Start' or 'End', corresponding to the appropriate side of the table.
78842
78864
  * @param columnCount Required. Number of columns to add.
78843
78865
  * @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
78844
78866
  */
@@ -78849,7 +78871,7 @@ declare namespace Word {
78849
78871
  * @remarks
78850
78872
  * [Api set: WordApi 1.3]
78851
78873
  *
78852
- * @param insertLocation Required. It can be 'Start' or 'End', corresponding to the appropriate side of the table.
78874
+ * @param insertLocation Required. It must be 'Start' or 'End', corresponding to the appropriate side of the table.
78853
78875
  * @param columnCount Required. Number of columns to add.
78854
78876
  * @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
78855
78877
  */
@@ -78860,7 +78882,7 @@ declare namespace Word {
78860
78882
  * @remarks
78861
78883
  * [Api set: WordApi 1.3]
78862
78884
  *
78863
- * @param insertLocation Required. It can be 'Start' or 'End'.
78885
+ * @param insertLocation Required. It must be 'Start' or 'End'.
78864
78886
  * @param rowCount Required. Number of rows to add.
78865
78887
  * @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
78866
78888
  */
@@ -78871,7 +78893,7 @@ declare namespace Word {
78871
78893
  * @remarks
78872
78894
  * [Api set: WordApi 1.3]
78873
78895
  *
78874
- * @param insertLocation Required. It can be 'Start' or 'End'.
78896
+ * @param insertLocation Required. It must be 'Start' or 'End'.
78875
78897
  * @param rowCount Required. Number of rows to add.
78876
78898
  * @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
78877
78899
  */
@@ -78968,7 +78990,7 @@ declare namespace Word {
78968
78990
  * @remarks
78969
78991
  * [Api set: WordApi 1.3]
78970
78992
  *
78971
- * @param cellPaddingLocation Required. The cell padding location can be 'Top', 'Left', 'Bottom', or 'Right'.
78993
+ * @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
78972
78994
  */
78973
78995
  getCellPadding(cellPaddingLocation: Word.CellPaddingLocation): OfficeExtension.ClientResult<number>;
78974
78996
  /**
@@ -78977,7 +78999,7 @@ declare namespace Word {
78977
78999
  * @remarks
78978
79000
  * [Api set: WordApi 1.3]
78979
79001
  *
78980
- * @param cellPaddingLocation Required. The cell padding location can be 'Top', 'Left', 'Bottom', or 'Right'.
79002
+ * @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
78981
79003
  */
78982
79004
  getCellPadding(cellPaddingLocation: "Top" | "Left" | "Bottom" | "Right"): OfficeExtension.ClientResult<number>;
78983
79005
  /**
@@ -79028,7 +79050,7 @@ declare namespace Word {
79028
79050
  * @remarks
79029
79051
  * [Api set: WordApi 1.3]
79030
79052
  *
79031
- * @param rangeLocation Optional. The range location can be 'Whole', 'Start', 'End', or 'After'.
79053
+ * @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', or 'After'.
79032
79054
  */
79033
79055
  getRange(rangeLocation?: Word.RangeLocation): Word.Range;
79034
79056
  /**
@@ -79037,7 +79059,7 @@ declare namespace Word {
79037
79059
  * @remarks
79038
79060
  * [Api set: WordApi 1.3]
79039
79061
  *
79040
- * @param rangeLocation Optional. The range location can be 'Whole', 'Start', 'End', or 'After'.
79062
+ * @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', or 'After'.
79041
79063
  */
79042
79064
  getRange(rangeLocation?: "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
79043
79065
  /**
@@ -79054,7 +79076,7 @@ declare namespace Word {
79054
79076
  * [Api set: WordApi 1.3]
79055
79077
  *
79056
79078
  * @param paragraphText Required. The paragraph text to be inserted.
79057
- * @param insertLocation Required. The value can be 'Before' or 'After'.
79079
+ * @param insertLocation Required. The value must be 'Before' or 'After'.
79058
79080
  */
79059
79081
  insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
79060
79082
  /**
@@ -79064,7 +79086,7 @@ declare namespace Word {
79064
79086
  * [Api set: WordApi 1.3]
79065
79087
  *
79066
79088
  * @param paragraphText Required. The paragraph text to be inserted.
79067
- * @param insertLocation Required. The value can be 'Before' or 'After'.
79089
+ * @param insertLocation Required. The value must be 'Before' or 'After'.
79068
79090
  */
79069
79091
  insertParagraph(paragraphText: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Paragraph;
79070
79092
  /**
@@ -79075,7 +79097,7 @@ declare namespace Word {
79075
79097
  *
79076
79098
  * @param rowCount Required. The number of rows in the table.
79077
79099
  * @param columnCount Required. The number of columns in the table.
79078
- * @param insertLocation Required. The value can be 'Before' or 'After'.
79100
+ * @param insertLocation Required. The value must be 'Before' or 'After'.
79079
79101
  * @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
79080
79102
  */
79081
79103
  insertTable(rowCount: number, columnCount: number, insertLocation: Word.InsertLocation, values?: string[][]): Word.Table;
@@ -79087,7 +79109,7 @@ declare namespace Word {
79087
79109
  *
79088
79110
  * @param rowCount Required. The number of rows in the table.
79089
79111
  * @param columnCount Required. The number of columns in the table.
79090
- * @param insertLocation Required. The value can be 'Before' or 'After'.
79112
+ * @param insertLocation Required. The value must be 'Before' or 'After'.
79091
79113
  * @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
79092
79114
  */
79093
79115
  insertTable(rowCount: number, columnCount: number, insertLocation: "Before" | "After" | "Start" | "End" | "Replace", values?: string[][]): Word.Table;
@@ -79115,7 +79137,7 @@ declare namespace Word {
79115
79137
  * @remarks
79116
79138
  * [Api set: WordApi 1.3]
79117
79139
  *
79118
- * @param selectionMode Optional. The selection mode can be 'Select', 'Start', or 'End'. 'Select' is the default.
79140
+ * @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
79119
79141
  */
79120
79142
  select(selectionMode?: Word.SelectionMode): void;
79121
79143
  /**
@@ -79124,7 +79146,7 @@ declare namespace Word {
79124
79146
  * @remarks
79125
79147
  * [Api set: WordApi 1.3]
79126
79148
  *
79127
- * @param selectionMode Optional. The selection mode can be 'Select', 'Start', or 'End'. 'Select' is the default.
79149
+ * @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
79128
79150
  */
79129
79151
  select(selectionMode?: "Select" | "Start" | "End"): void;
79130
79152
  /**
@@ -79133,7 +79155,7 @@ declare namespace Word {
79133
79155
  * @remarks
79134
79156
  * [Api set: WordApi 1.3]
79135
79157
  *
79136
- * @param cellPaddingLocation Required. The cell padding location can be 'Top', 'Left', 'Bottom', or 'Right'.
79158
+ * @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
79137
79159
  * @param cellPadding Required. The cell padding.
79138
79160
  */
79139
79161
  setCellPadding(cellPaddingLocation: Word.CellPaddingLocation, cellPadding: number): void;
@@ -79143,7 +79165,7 @@ declare namespace Word {
79143
79165
  * @remarks
79144
79166
  * [Api set: WordApi 1.3]
79145
79167
  *
79146
- * @param cellPaddingLocation Required. The cell padding location can be 'Top', 'Left', 'Bottom', or 'Right'.
79168
+ * @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
79147
79169
  * @param cellPadding Required. The cell padding.
79148
79170
  */
79149
79171
  setCellPadding(cellPaddingLocation: "Top" | "Left" | "Bottom" | "Right", cellPadding: number): void;
@@ -79371,7 +79393,7 @@ declare namespace Word {
79371
79393
  * @remarks
79372
79394
  * [Api set: WordApi 1.3]
79373
79395
  *
79374
- * @param cellPaddingLocation Required. The cell padding location can be 'Top', 'Left', 'Bottom', or 'Right'.
79396
+ * @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
79375
79397
  */
79376
79398
  getCellPadding(cellPaddingLocation: Word.CellPaddingLocation): OfficeExtension.ClientResult<number>;
79377
79399
  /**
@@ -79380,7 +79402,7 @@ declare namespace Word {
79380
79402
  * @remarks
79381
79403
  * [Api set: WordApi 1.3]
79382
79404
  *
79383
- * @param cellPaddingLocation Required. The cell padding location can be 'Top', 'Left', 'Bottom', or 'Right'.
79405
+ * @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
79384
79406
  */
79385
79407
  getCellPadding(cellPaddingLocation: "Top" | "Left" | "Bottom" | "Right"): OfficeExtension.ClientResult<number>;
79386
79408
  /**
@@ -79403,7 +79425,7 @@ declare namespace Word {
79403
79425
  * @remarks
79404
79426
  * [Api set: WordApi 1.3]
79405
79427
  *
79406
- * @param insertLocation Required. Where the new rows should be inserted, relative to the current row. It can be 'Before' or 'After'.
79428
+ * @param insertLocation Required. Where the new rows should be inserted, relative to the current row. It must be 'Before' or 'After'.
79407
79429
  * @param rowCount Required. Number of rows to add
79408
79430
  * @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
79431
  */
@@ -79414,7 +79436,7 @@ declare namespace Word {
79414
79436
  * @remarks
79415
79437
  * [Api set: WordApi 1.3]
79416
79438
  *
79417
- * @param insertLocation Required. Where the new rows should be inserted, relative to the current row. It can be 'Before' or 'After'.
79439
+ * @param insertLocation Required. Where the new rows should be inserted, relative to the current row. It must be 'Before' or 'After'.
79418
79440
  * @param rowCount Required. Number of rows to add
79419
79441
  * @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
79442
  */
@@ -79443,7 +79465,7 @@ declare namespace Word {
79443
79465
  * @remarks
79444
79466
  * [Api set: WordApi 1.3]
79445
79467
  *
79446
- * @param selectionMode Optional. The selection mode can be 'Select', 'Start', or 'End'. 'Select' is the default.
79468
+ * @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
79447
79469
  */
79448
79470
  select(selectionMode?: Word.SelectionMode): void;
79449
79471
  /**
@@ -79452,7 +79474,7 @@ declare namespace Word {
79452
79474
  * @remarks
79453
79475
  * [Api set: WordApi 1.3]
79454
79476
  *
79455
- * @param selectionMode Optional. The selection mode can be 'Select', 'Start', or 'End'. 'Select' is the default.
79477
+ * @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
79456
79478
  */
79457
79479
  select(selectionMode?: "Select" | "Start" | "End"): void;
79458
79480
  /**
@@ -79461,7 +79483,7 @@ declare namespace Word {
79461
79483
  * @remarks
79462
79484
  * [Api set: WordApi 1.3]
79463
79485
  *
79464
- * @param cellPaddingLocation Required. The cell padding location can be 'Top', 'Left', 'Bottom', or 'Right'.
79486
+ * @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
79465
79487
  * @param cellPadding Required. The cell padding.
79466
79488
  */
79467
79489
  setCellPadding(cellPaddingLocation: Word.CellPaddingLocation, cellPadding: number): void;
@@ -79471,7 +79493,7 @@ declare namespace Word {
79471
79493
  * @remarks
79472
79494
  * [Api set: WordApi 1.3]
79473
79495
  *
79474
- * @param cellPaddingLocation Required. The cell padding location can be 'Top', 'Left', 'Bottom', or 'Right'.
79496
+ * @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
79475
79497
  * @param cellPadding Required. The cell padding.
79476
79498
  */
79477
79499
  setCellPadding(cellPaddingLocation: "Top" | "Left" | "Bottom" | "Right", cellPadding: number): void;
@@ -79699,7 +79721,7 @@ declare namespace Word {
79699
79721
  * @remarks
79700
79722
  * [Api set: WordApi 1.3]
79701
79723
  *
79702
- * @param cellPaddingLocation Required. The cell padding location can be 'Top', 'Left', 'Bottom', or 'Right'.
79724
+ * @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
79703
79725
  */
79704
79726
  getCellPadding(cellPaddingLocation: Word.CellPaddingLocation): OfficeExtension.ClientResult<number>;
79705
79727
  /**
@@ -79708,7 +79730,7 @@ declare namespace Word {
79708
79730
  * @remarks
79709
79731
  * [Api set: WordApi 1.3]
79710
79732
  *
79711
- * @param cellPaddingLocation Required. The cell padding location can be 'Top', 'Left', 'Bottom', or 'Right'.
79733
+ * @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
79712
79734
  */
79713
79735
  getCellPadding(cellPaddingLocation: "Top" | "Left" | "Bottom" | "Right"): OfficeExtension.ClientResult<number>;
79714
79736
  /**
@@ -79731,7 +79753,7 @@ declare namespace Word {
79731
79753
  * @remarks
79732
79754
  * [Api set: WordApi 1.3]
79733
79755
  *
79734
- * @param insertLocation Required. It can be 'Before' or 'After'.
79756
+ * @param insertLocation Required. It must be 'Before' or 'After'.
79735
79757
  * @param columnCount Required. Number of columns to add.
79736
79758
  * @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
79737
79759
  */
@@ -79742,7 +79764,7 @@ declare namespace Word {
79742
79764
  * @remarks
79743
79765
  * [Api set: WordApi 1.3]
79744
79766
  *
79745
- * @param insertLocation Required. It can be 'Before' or 'After'.
79767
+ * @param insertLocation Required. It must be 'Before' or 'After'.
79746
79768
  * @param columnCount Required. Number of columns to add.
79747
79769
  * @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
79748
79770
  */
@@ -79753,7 +79775,7 @@ declare namespace Word {
79753
79775
  * @remarks
79754
79776
  * [Api set: WordApi 1.3]
79755
79777
  *
79756
- * @param insertLocation Required. It can be 'Before' or 'After'.
79778
+ * @param insertLocation Required. It must be 'Before' or 'After'.
79757
79779
  * @param rowCount Required. Number of rows to add.
79758
79780
  * @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
79759
79781
  */
@@ -79764,7 +79786,7 @@ declare namespace Word {
79764
79786
  * @remarks
79765
79787
  * [Api set: WordApi 1.3]
79766
79788
  *
79767
- * @param insertLocation Required. It can be 'Before' or 'After'.
79789
+ * @param insertLocation Required. It must be 'Before' or 'After'.
79768
79790
  * @param rowCount Required. Number of rows to add.
79769
79791
  * @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
79770
79792
  */
@@ -79775,7 +79797,7 @@ declare namespace Word {
79775
79797
  * @remarks
79776
79798
  * [Api set: WordApi 1.3]
79777
79799
  *
79778
- * @param cellPaddingLocation Required. The cell padding location can be 'Top', 'Left', 'Bottom', or 'Right'.
79800
+ * @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
79779
79801
  * @param cellPadding Required. The cell padding.
79780
79802
  */
79781
79803
  setCellPadding(cellPaddingLocation: Word.CellPaddingLocation, cellPadding: number): void;
@@ -79785,7 +79807,7 @@ declare namespace Word {
79785
79807
  * @remarks
79786
79808
  * [Api set: WordApi 1.3]
79787
79809
  *
79788
- * @param cellPaddingLocation Required. The cell padding location can be 'Top', 'Left', 'Bottom', or 'Right'.
79810
+ * @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
79789
79811
  * @param cellPadding Required. The cell padding.
79790
79812
  */
79791
79813
  setCellPadding(cellPaddingLocation: "Top" | "Left" | "Bottom" | "Right", cellPadding: number): void;
@@ -81808,7 +81830,6 @@ declare namespace Word {
81808
81830
  color?: string;
81809
81831
  /**
81810
81832
  * Gets or sets the placeholder text of the content control. Dimmed text will be displayed when the content control is empty.
81811
- *
81812
81833
  * **Note**: The set operation for this property is not supported in Word on the web.
81813
81834
  *
81814
81835
  * @remarks
@@ -82714,7 +82735,6 @@ declare namespace Word {
82714
82735
  id?: number;
82715
82736
  /**
82716
82737
  * Gets or sets the placeholder text of the content control. Dimmed text will be displayed when the content control is empty.
82717
- *
82718
82738
  * **Note**: The set operation for this property is not supported in Word on the web.
82719
82739
  *
82720
82740
  * @remarks
@@ -83984,7 +84004,6 @@ declare namespace Word {
83984
84004
  id?: boolean;
83985
84005
  /**
83986
84006
  * Gets or sets the placeholder text of the content control. Dimmed text will be displayed when the content control is empty.
83987
- *
83988
84007
  * **Note**: The set operation for this property is not supported in Word on the web.
83989
84008
  *
83990
84009
  * @remarks
@@ -84152,7 +84171,6 @@ declare namespace Word {
84152
84171
  id?: boolean;
84153
84172
  /**
84154
84173
  * 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
84174
  * **Note**: The set operation for this property is not supported in Word on the web.
84157
84175
  *
84158
84176
  * @remarks