@types/office-js-preview 1.0.382 → 1.0.384

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.
@@ -8,7 +8,7 @@ This package contains type definitions for Office.js (https://github.com/OfficeD
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 20 Apr 2023 20:32:48 GMT
11
+ * Last updated: Mon, 01 May 2023 15:32:48 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
14
14
 
@@ -13056,11 +13056,12 @@ declare namespace Office {
13056
13056
  * @param options - An object literal that contains one or more of the following properties:-
13057
13057
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
13058
13058
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
13059
- * `asyncResult`, which is an `Office.AsyncResult` object.
13059
+ * `asyncResult`, which is an `Office.AsyncResult` object. The delivery date and time of a message is returned in the
13060
+ * `asyncResult.value` property. If a delivery date hasn't been set on a message yet, `0` is returned instead.
13060
13061
  *
13061
13062
  * @beta
13062
13063
  */
13063
- getAsync(options: Office.AsyncContextOptions, callback?: (asyncResult: Office.AsyncResult<Date>) => void): void;
13064
+ getAsync(options: Office.AsyncContextOptions, callback?: (asyncResult: Office.AsyncResult<Date | 0>) => void): void;
13064
13065
  /**
13065
13066
  * Gets the delivery date and time of a message.
13066
13067
  *
@@ -13072,11 +13073,12 @@ declare namespace Office {
13072
13073
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
13073
13074
  *
13074
13075
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
13075
- * `asyncResult`, which is an `Office.AsyncResult` object.
13076
+ * `asyncResult`, which is an `Office.AsyncResult` object. The delivery date and time of a message is returned in the
13077
+ * `asyncResult.value` property. If a delivery date hasn't been set on a message yet, `0` is returned instead.
13076
13078
  *
13077
13079
  * @beta
13078
13080
  */
13079
- getAsync(callback?: (asyncResult: Office.AsyncResult<Date>) => void): void;
13081
+ getAsync(callback?: (asyncResult: Office.AsyncResult<Date | 0>) => void): void;
13080
13082
  /**
13081
13083
  * Sets the delivery date and time of a message.
13082
13084
  *
@@ -13087,11 +13089,15 @@ declare namespace Office {
13087
13089
  *
13088
13090
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
13089
13091
  *
13092
+ * **Errors**:
13093
+ *
13094
+ * - `InvalidFormatError` - The format of the specified data object is not valid.
13095
+ *
13090
13096
  * @param datetime - The future date and time when the message should be sent.
13091
13097
  * @param options - An object literal that contains one or more of the following properties:-
13092
13098
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
13093
- * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
13094
- * of type Office.AsyncResult. Any errors encountered will be provided in the `asyncResult.error` property.
13099
+ * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
13100
+ * `asyncResult`, which is an `Office.AsyncResult` object. Any errors encountered will be provided in the `asyncResult.error` property.
13095
13101
  *
13096
13102
  * @beta
13097
13103
  */
@@ -13106,9 +13112,13 @@ declare namespace Office {
13106
13112
  *
13107
13113
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
13108
13114
  *
13115
+ * **Errors**:
13116
+ *
13117
+ * - `InvalidFormatError` - The format of the specified data object is not valid.
13118
+ *
13109
13119
  * @param datetime - The future date and time when the message should be sent.
13110
- * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
13111
- * of type Office.AsyncResult. Any errors encountered will be provided in the `asyncResult.error` property.
13120
+ * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
13121
+ * `asyncResult`, which is an `Office.AsyncResult` object. Any errors encountered will be provided in the `asyncResult.error` property.
13112
13122
  *
13113
13123
  * @beta
13114
13124
  */
@@ -87820,16 +87830,16 @@ declare namespace Word {
87820
87830
  /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
87821
87831
  context: RequestContext;
87822
87832
  /**
87823
- * Creates a new document by using an optional base64 encoded .docx file.
87833
+ * Creates a new document by using an optional Base64-encoded .docx file.
87824
87834
  *
87825
87835
  * @remarks
87826
87836
  * [Api set: WordApi 1.3]
87827
87837
  *
87828
- * @param base64File Optional. The base64 encoded .docx file. The default value is null.
87838
+ * @param base64File Optional. The Base64-encoded .docx file. The default value is null.
87829
87839
  */
87830
87840
  createDocument(base64File?: string): Word.DocumentCreated;
87831
87841
  /**
87832
- * Parse styles from template base 64 file and return JSON format of retrieved styles as a string.
87842
+ * Parse styles from template Base64 file and return JSON format of retrieved styles as a string.
87833
87843
  *
87834
87844
  * @remarks
87835
87845
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -88016,7 +88026,8 @@ declare namespace Word {
88016
88026
  getComments(): Word.CommentCollection;
88017
88027
  /**
88018
88028
  * Gets the currently supported content controls in the body. **Important**: If specific types are provided in the options parameter, only content controls of supported types are returned.
88019
- Be aware that an exception will be thrown on using methods of a generic {@link Word.ContentControl} that aren't relevant for the specific type. With time, additional types of content controls may be supported. Therefore, your add-in should request and handle specific types of content controls.
88029
+ Be aware that an exception will be thrown on using methods of a generic {@link Word.ContentControl} that aren't relevant for the specific type.
88030
+ With time, additional types of content controls may be supported. Therefore, your add-in should request and handle specific types of content controls.
88020
88031
  *
88021
88032
  * @remarks
88022
88033
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -88091,7 +88102,7 @@ declare namespace Word {
88091
88102
  * @remarks
88092
88103
  * [Api set: WordApi 1.1]
88093
88104
  *
88094
- * @param base64File Required. The base64 encoded content of a .docx file.
88105
+ * @param base64File Required. The Base64-encoded content of a .docx file.
88095
88106
  * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
88096
88107
  */
88097
88108
  insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
@@ -88111,7 +88122,7 @@ declare namespace Word {
88111
88122
  * @remarks
88112
88123
  * [Api set: WordApi 1.2]
88113
88124
  *
88114
- * @param base64EncodedImage Required. The base64 encoded image to be inserted in the body.
88125
+ * @param base64EncodedImage Required. The Base64-encoded image to be inserted in the body.
88115
88126
  * @param insertLocation Required. The value must be 'Start' or 'End'.
88116
88127
  */
88117
88128
  insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation.start | Word.InsertLocation.end | "Start" | "End"): Word.InlinePicture;
@@ -88992,7 +89003,8 @@ declare namespace Word {
88992
89003
  getComments(): Word.CommentCollection;
88993
89004
  /**
88994
89005
  * Gets the currently supported child content controls in this content control. **Important**: If specific types are provided in the options parameter, only content controls of supported types are returned.
88995
- Be aware that an exception will be thrown on using methods of a generic {@link Word.ContentControl} that aren't relevant for the specific type. With time, additional types of content controls may be supported. Therefore, your add-in should request and handle specific types of content controls.
89006
+ Be aware that an exception will be thrown on using methods of a generic {@link Word.ContentControl} that aren't relevant for the specific type.
89007
+ With time, additional types of content controls may be supported. Therefore, your add-in should request and handle specific types of content controls.
88996
89008
  *
88997
89009
  * @remarks
88998
89010
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -89068,7 +89080,7 @@ declare namespace Word {
89068
89080
  * @remarks
89069
89081
  * [Api set: WordApi 1.1]
89070
89082
  *
89071
- * @param base64File Required. The base64 encoded content of a .docx file.
89083
+ * @param base64File Required. The Base64-encoded content of a .docx file.
89072
89084
  * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
89073
89085
  */
89074
89086
  insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
@@ -89088,7 +89100,7 @@ declare namespace Word {
89088
89100
  * @remarks
89089
89101
  * [Api set: WordApi 1.2]
89090
89102
  *
89091
- * @param base64EncodedImage Required. The base64 encoded image to be inserted in the content control.
89103
+ * @param base64EncodedImage Required. The Base64-encoded image to be inserted in the content control.
89092
89104
  * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
89093
89105
  */
89094
89106
  insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.InlinePicture;
@@ -89252,7 +89264,7 @@ declare namespace Word {
89252
89264
  * @eventproperty
89253
89265
  * @beta
89254
89266
  */
89255
- readonly onDataChanged: OfficeExtension.EventHandlers<Word.ContentControlEventArgs>;
89267
+ readonly onDataChanged: OfficeExtension.EventHandlers<Word.ContentControlDataChangedEventArgs>;
89256
89268
  /**
89257
89269
  * Occurs when the content control is deleted. Do not load this content control in the handler, otherwise you won't be able to get its original properties.
89258
89270
  *
@@ -89262,7 +89274,7 @@ declare namespace Word {
89262
89274
  * @eventproperty
89263
89275
  * @beta
89264
89276
  */
89265
- readonly onDeleted: OfficeExtension.EventHandlers<Word.ContentControlEventArgs>;
89277
+ readonly onDeleted: OfficeExtension.EventHandlers<Word.ContentControlDeletedEventArgs>;
89266
89278
  /**
89267
89279
  * Occurs when the content control is entered.
89268
89280
  *
@@ -89272,7 +89284,7 @@ declare namespace Word {
89272
89284
  * @eventproperty
89273
89285
  * @beta
89274
89286
  */
89275
- readonly onEntered: OfficeExtension.EventHandlers<Word.ContentControlEventArgs>;
89287
+ readonly onEntered: OfficeExtension.EventHandlers<Word.ContentControlEnteredEventArgs>;
89276
89288
  /**
89277
89289
  * Occurs when the content control is exited, for example, when the cursor leaves the content control.
89278
89290
  *
@@ -89282,7 +89294,7 @@ declare namespace Word {
89282
89294
  * @eventproperty
89283
89295
  * @beta
89284
89296
  */
89285
- readonly onExited: OfficeExtension.EventHandlers<Word.ContentControlEventArgs>;
89297
+ readonly onExited: OfficeExtension.EventHandlers<Word.ContentControlExitedEventArgs>;
89286
89298
  /**
89287
89299
  * Occurs when selection within the content control is changed.
89288
89300
  *
@@ -89292,7 +89304,7 @@ declare namespace Word {
89292
89304
  * @eventproperty
89293
89305
  * @beta
89294
89306
  */
89295
- readonly onSelectionChanged: OfficeExtension.EventHandlers<Word.ContentControlEventArgs>;
89307
+ readonly onSelectionChanged: OfficeExtension.EventHandlers<Word.ContentControlSelectionChangedEventArgs>;
89296
89308
  /**
89297
89309
  * Track the object for automatic adjustment based on surrounding changes in the document. This call is a shorthand for {@link https://docs.microsoft.com/javascript/api/office/officeextension.clientrequestcontext#office-officeextension-clientrequestcontext-trackedobjects-member | context.trackedObjects.add(thisObject)}. If you are using this object across `.sync` calls and outside the sequential execution of a ".run" batch, and get an "InvalidObjectPath" error when setting a property or invoking a method on the object, you need to add the object to the tracked object collection when the object was first created. If this object is part of a collection, you should also track the parent collection.
89298
89310
  */
@@ -90201,7 +90213,8 @@ declare namespace Word {
90201
90213
  getBookmarkRangeOrNullObject(name: string): Word.Range;
90202
90214
  /**
90203
90215
  * Gets the currently supported content controls in the document. **Important**: If specific types are provided in the options parameter, only content controls of supported types are returned.
90204
- Be aware that an exception will be thrown on using methods of a generic {@link Word.ContentControl} that aren't relevant for the specific type. With time, additional types of content controls may be supported. Therefore, your add-in should request and handle specific types of content controls.
90216
+ Be aware that an exception will be thrown on using methods of a generic {@link Word.ContentControl} that aren't relevant for the specific type.
90217
+ With time, additional types of content controls may be supported. Therefore, your add-in should request and handle specific types of content controls.
90205
90218
  *
90206
90219
  * @remarks
90207
90220
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -90249,13 +90262,13 @@ declare namespace Word {
90249
90262
  * [Api set: WordApi BETA (PREVIEW ONLY)]
90250
90263
  * @beta
90251
90264
  *
90252
- * @param base64File Required. The base64 encoded content of a .docx file.
90265
+ * @param base64File Required. The Base64-encoded content of a .docx file.
90253
90266
  * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
90254
90267
  * @param insertFileOptions Optional. The additional properties that should be imported to the destination document.
90255
90268
  */
90256
90269
  insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End", insertFileOptions?: Word.InsertFileOptions): Word.SectionCollection;
90257
90270
  /**
90258
- * Save the document.
90271
+ * Saves the document.
90259
90272
  *
90260
90273
  * @remarks
90261
90274
  * [Api set: WordApi 1.1]
@@ -90265,7 +90278,7 @@ declare namespace Word {
90265
90278
  */
90266
90279
  save(saveBehavior?: Word.SaveBehavior, fileName?: string): void;
90267
90280
  /**
90268
- * Save the document.
90281
+ * Saves the document.
90269
90282
  *
90270
90283
  * @remarks
90271
90284
  * [Api set: WordApi 1.1]
@@ -90319,7 +90332,7 @@ declare namespace Word {
90319
90332
  * @eventproperty
90320
90333
  * @beta
90321
90334
  */
90322
- readonly onContentControlAdded: OfficeExtension.EventHandlers<Word.ContentControlEventArgs>;
90335
+ readonly onContentControlAdded: OfficeExtension.EventHandlers<Word.ContentControlAddedEventArgs>;
90323
90336
  /**
90324
90337
  * Track the object for automatic adjustment based on surrounding changes in the document. This call is a shorthand for {@link https://docs.microsoft.com/javascript/api/office/officeextension.clientrequestcontext#office-officeextension-clientrequestcontext-trackedobjects-member | context.trackedObjects.add(thisObject)}. If you are using this object across `.sync` calls and outside the sequential execution of a ".run" batch, and get an "InvalidObjectPath" error when setting a property or invoking a method on the object, you need to add the object to the tracked object collection when the object was first created. If this object is part of a collection, you should also track the parent collection.
90325
90338
  */
@@ -90451,7 +90464,8 @@ declare namespace Word {
90451
90464
  getBookmarkRangeOrNullObject(name: string): Word.Range;
90452
90465
  /**
90453
90466
  * Gets the currently supported content controls in the document. **Important**: If specific types are provided in the options parameter, only content controls of supported types are returned.
90454
- Be aware that an exception will be thrown on using methods of a generic {@link Word.ContentControl} that aren't relevant for the specific type. With time, additional types of content controls may be supported. Therefore, your add-in should request and handle specific types of content controls.
90467
+ Be aware that an exception will be thrown on using methods of a generic {@link Word.ContentControl} that aren't relevant for the specific type.
90468
+ With time, additional types of content controls may be supported. Therefore, your add-in should request and handle specific types of content controls.
90455
90469
  *
90456
90470
  * @remarks
90457
90471
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -90470,13 +90484,13 @@ declare namespace Word {
90470
90484
  getStyles(): Word.StyleCollection;
90471
90485
  /**
90472
90486
  * Inserts a document into the target document at a specific location with additional properties.
90473
- Headers, footers, watermarks, and other section properties are copied by default.
90487
+ Headers, footers, watermarks, and other section properties are copied by default.
90474
90488
  *
90475
90489
  * @remarks
90476
90490
  * [Api set: WordApi BETA (PREVIEW ONLY)]
90477
90491
  * @beta
90478
90492
  *
90479
- * @param base64File Required. The base64 encoded content of a .docx file.
90493
+ * @param base64File Required. The Base64-encoded content of a .docx file.
90480
90494
  * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
90481
90495
  * @param insertFileOptions Optional. The additional properties that should be imported to the destination document.
90482
90496
  */
@@ -90489,7 +90503,7 @@ declare namespace Word {
90489
90503
  */
90490
90504
  open(): void;
90491
90505
  /**
90492
- * Save the document.
90506
+ * Saves the document.
90493
90507
  *
90494
90508
  * @remarks
90495
90509
  * [Api set: WordApiHiddenDocument 1.3]
@@ -90499,7 +90513,7 @@ declare namespace Word {
90499
90513
  */
90500
90514
  save(saveBehavior?: Word.SaveBehavior, fileName?: string): void;
90501
90515
  /**
90502
- * Save the document.
90516
+ * Saves the document.
90503
90517
  *
90504
90518
  * @remarks
90505
90519
  * [Api set: WordApiHiddenDocument 1.3]
@@ -91246,7 +91260,7 @@ declare namespace Word {
91246
91260
  */
91247
91261
  delete(): void;
91248
91262
  /**
91249
- * Gets the base64 encoded string representation of the inline image.
91263
+ * Gets the Base64-encoded string representation of the inline image.
91250
91264
  *
91251
91265
  * @remarks
91252
91266
  * [Api set: WordApi 1.1]
@@ -91298,7 +91312,7 @@ declare namespace Word {
91298
91312
  * @remarks
91299
91313
  * [Api set: WordApi 1.2]
91300
91314
  *
91301
- * @param base64File Required. The base64 encoded content of a .docx file.
91315
+ * @param base64File Required. The Base64-encoded content of a .docx file.
91302
91316
  * @param insertLocation Required. The value must be 'Before' or 'After'.
91303
91317
  */
91304
91318
  insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After"): Word.Range;
@@ -91318,7 +91332,7 @@ declare namespace Word {
91318
91332
  * @remarks
91319
91333
  * [Api set: WordApi 1.2]
91320
91334
  *
91321
- * @param base64EncodedImage Required. The base64 encoded image to be inserted.
91335
+ * @param base64EncodedImage Required. The Base64-encoded image to be inserted.
91322
91336
  * @param insertLocation Required. The value must be 'Replace', 'Before', or 'After'.
91323
91337
  */
91324
91338
  insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.before | Word.InsertLocation.after | "Replace" | "Before" | "After"): Word.InlinePicture;
@@ -91519,7 +91533,7 @@ declare namespace Word {
91519
91533
  */
91520
91534
  getLevelParagraphs(level: number): Word.ParagraphCollection;
91521
91535
  /**
91522
- * Gets the base64 encoded string representation of the picture at the specified level in the list.
91536
+ * Gets the Base64-encoded string representation of the picture at the specified level in the list.
91523
91537
  *
91524
91538
  * @remarks
91525
91539
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -91643,7 +91657,7 @@ declare namespace Word {
91643
91657
  * @beta
91644
91658
  *
91645
91659
  * @param level Required. The level in the list.
91646
- * @param base64EncodedImage Optional. The base64 encoded image to be set. If not given, the default picture is set.
91660
+ * @param base64EncodedImage Optional. The Base64-encoded image to be set. If not given, the default picture is set.
91647
91661
  */
91648
91662
  setLevelPicture(level: number, base64EncodedImage?: string): void;
91649
91663
  /**
@@ -91918,7 +91932,7 @@ declare namespace Word {
91918
91932
  */
91919
91933
  numberFormat: string;
91920
91934
  /**
91921
- * Gets or sets the position (in points) of the number or bullet for the specified list level object
91935
+ * Gets or sets the position (in points) of the number or bullet for the specified list level object.
91922
91936
  *
91923
91937
  * @remarks
91924
91938
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -91926,7 +91940,7 @@ declare namespace Word {
91926
91940
  */
91927
91941
  numberPosition: number;
91928
91942
  /**
91929
- * Gets or sets the number style for the list level object
91943
+ * Gets or sets the number style for the list level object.
91930
91944
  *
91931
91945
  * @remarks
91932
91946
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -91934,7 +91948,7 @@ declare namespace Word {
91934
91948
  */
91935
91949
  numberStyle: Word.ListBuiltInNumberStyle | "None" | "Arabic" | "UpperRoman" | "LowerRoman" | "UpperLetter" | "LowerLetter" | "Ordinal" | "CardinalText" | "OrdinalText" | "Kanji" | "KanjiDigit" | "AiueoHalfWidth" | "IrohaHalfWidth" | "ArabicFullWidth" | "KanjiTraditional" | "KanjiTraditional2" | "NumberInCircle" | "Aiueo" | "Iroha" | "ArabicLZ" | "Bullet" | "Ganada" | "Chosung" | "GBNum1" | "GBNum2" | "GBNum3" | "GBNum4" | "Zodiac1" | "Zodiac2" | "Zodiac3" | "TradChinNum1" | "TradChinNum2" | "TradChinNum3" | "TradChinNum4" | "SimpChinNum1" | "SimpChinNum2" | "SimpChinNum3" | "SimpChinNum4" | "HanjaRead" | "HanjaReadDigit" | "Hangul" | "Hanja" | "Hebrew1" | "Arabic1" | "Hebrew2" | "Arabic2" | "HindiLetter1" | "HindiLetter2" | "HindiArabic" | "HindiCardinalText" | "ThaiLetter" | "ThaiArabic" | "ThaiCardinalText" | "VietCardinalText" | "LowercaseRussian" | "UppercaseRussian" | "LowercaseGreek" | "UppercaseGreek" | "ArabicLZ2" | "ArabicLZ3" | "ArabicLZ4" | "LowercaseTurkish" | "UppercaseTurkish" | "LowercaseBulgarian" | "UppercaseBulgarian" | "PictureBullet" | "Legal" | "LegalLZ";
91936
91950
  /**
91937
- * Gets or sets the list level that must appear before the specified list level restarts numbering at 1
91951
+ * Gets or sets the list level that must appear before the specified list level restarts numbering at 1.
91938
91952
  *
91939
91953
  * @remarks
91940
91954
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -91942,7 +91956,7 @@ declare namespace Word {
91942
91956
  */
91943
91957
  resetOnHigher: number;
91944
91958
  /**
91945
- * Gets or sets the starting number for the specified list level object
91959
+ * Gets or sets the starting number for the specified list level object.
91946
91960
  *
91947
91961
  * @remarks
91948
91962
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -91950,7 +91964,7 @@ declare namespace Word {
91950
91964
  */
91951
91965
  startAt: number;
91952
91966
  /**
91953
- * Gets or sets the tab position for the specified list level object
91967
+ * Gets or sets the tab position for the specified list level object.
91954
91968
  *
91955
91969
  * @remarks
91956
91970
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -91958,7 +91972,7 @@ declare namespace Word {
91958
91972
  */
91959
91973
  tabPosition: number;
91960
91974
  /**
91961
- * Gets or sets the position (in points) for the second line of wrapping text for the specified list level object
91975
+ * Gets or sets the position (in points) for the second line of wrapping text for the specified list level object.
91962
91976
  *
91963
91977
  * @remarks
91964
91978
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -92095,7 +92109,7 @@ declare namespace Word {
92095
92109
  */
92096
92110
  readonly listLevels: Word.ListLevelCollection;
92097
92111
  /**
92098
- * Gets or sets whether the specified ListTemplate object is outline numbered
92112
+ * Gets or sets whether the specified ListTemplate object is outline numbered.
92099
92113
  *
92100
92114
  * @remarks
92101
92115
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -92584,7 +92598,8 @@ declare namespace Word {
92584
92598
  getComments(): Word.CommentCollection;
92585
92599
  /**
92586
92600
  * Gets the currently supported content controls in the paragraph. **Important**: If specific types are provided in the options parameter, only content controls of supported types are returned.
92587
- Be aware that an exception will be thrown on using methods of a generic {@link Word.ContentControl} that aren't relevant for the specific type. With time, additional types of content controls may be supported. Therefore, your add-in should request and handle specific types of content controls.
92601
+ Be aware that an exception will be thrown on using methods of a generic {@link Word.ContentControl} that aren't relevant for the specific type.
92602
+ With time, additional types of content controls may be supported. Therefore, your add-in should request and handle specific types of content controls.
92588
92603
  *
92589
92604
  * @remarks
92590
92605
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -92697,7 +92712,7 @@ declare namespace Word {
92697
92712
  * @remarks
92698
92713
  * [Api set: WordApi 1.1]
92699
92714
  *
92700
- * @param base64File Required. The base64 encoded content of a .docx file.
92715
+ * @param base64File Required. The Base64-encoded content of a .docx file.
92701
92716
  * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
92702
92717
  */
92703
92718
  insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
@@ -92717,7 +92732,7 @@ declare namespace Word {
92717
92732
  * @remarks
92718
92733
  * [Api set: WordApi 1.1]
92719
92734
  *
92720
- * @param base64EncodedImage Required. The base64 encoded image to be inserted.
92735
+ * @param base64EncodedImage Required. The Base64-encoded image to be inserted.
92721
92736
  * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
92722
92737
  */
92723
92738
  insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.InlinePicture;
@@ -93016,7 +93031,7 @@ declare namespace Word {
93016
93031
  */
93017
93032
  keepWithNext: boolean;
93018
93033
  /**
93019
- * Gets or sets the left Indent.
93034
+ * Gets or sets the left indent.
93020
93035
  *
93021
93036
  * @remarks
93022
93037
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -93062,7 +93077,7 @@ declare namespace Word {
93062
93077
  * [Api set: WordApi BETA (PREVIEW ONLY)]
93063
93078
  * @beta
93064
93079
  */
93065
- outlineLevel: Word.OutlineLevel | "OutlineLevel1" | "OutlineLevel2" | "OutlineLevel3" | "OutlineLevel4";
93080
+ outlineLevel: Word.OutlineLevel | "OutlineLevel1" | "OutlineLevel2" | "OutlineLevel3" | "OutlineLevel4" | "OutlineLevel5" | "OutlineLevel6" | "OutlineLevel7" | "OutlineLevel8" | "OutlineLevel9" | "OutlineLevelBodyText";
93066
93081
  /**
93067
93082
  * Gets or sets the right indent (in points) for the specified paragraphs.
93068
93083
  *
@@ -93363,7 +93378,8 @@ declare namespace Word {
93363
93378
  getComments(): Word.CommentCollection;
93364
93379
  /**
93365
93380
  * Gets the currently supported content controls in the range. **Important**: If specific types are provided in the options parameter, only content controls of supported types are returned.
93366
- Be aware that an exception will be thrown on using methods of a generic {@link Word.ContentControl} that aren't relevant for the specific type. With time, additional types of content controls may be supported. Therefore, your add-in should request and handle specific types of content controls.
93381
+ Be aware that an exception will be thrown on using methods of a generic {@link Word.ContentControl} that aren't relevant for the specific type.
93382
+ With time, additional types of content controls may be supported. Therefore, your add-in should request and handle specific types of content controls.
93367
93383
  *
93368
93384
  * @remarks
93369
93385
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -93529,7 +93545,7 @@ declare namespace Word {
93529
93545
  * @remarks
93530
93546
  * [Api set: WordApi 1.1]
93531
93547
  *
93532
- * @param base64File Required. The base64 encoded content of a .docx file.
93548
+ * @param base64File Required. The Base64-encoded content of a .docx file.
93533
93549
  * @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
93534
93550
  */
93535
93551
  insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation | "Replace" | "Start" | "End" | "Before" | "After"): Word.Range;
@@ -93558,7 +93574,7 @@ declare namespace Word {
93558
93574
  * @remarks
93559
93575
  * [Api set: WordApi 1.2]
93560
93576
  *
93561
- * @param base64EncodedImage Required. The base64 encoded image to be inserted.
93577
+ * @param base64EncodedImage Required. The Base64-encoded image to be inserted.
93562
93578
  * @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
93563
93579
  */
93564
93580
  insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation | "Replace" | "Start" | "End" | "Before" | "After"): Word.InlinePicture;
@@ -96092,6 +96108,204 @@ declare namespace Word {
96092
96108
  */
96093
96109
  source: Word.EventSource | "Local" | "Remote";
96094
96110
  }
96111
+ /**
96112
+ * Provides information about the content control that raised contentControlAdded event.
96113
+ *
96114
+ * @remarks
96115
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
96116
+ * @beta
96117
+ */
96118
+ interface ContentControlAddedEventArgs {
96119
+ /**
96120
+ * The event type. See Word.EventType for details.
96121
+ *
96122
+ * @remarks
96123
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
96124
+ * @beta
96125
+ */
96126
+ eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited";
96127
+ /**
96128
+ * Gets the content control IDs.
96129
+ *
96130
+ * @remarks
96131
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
96132
+ * @beta
96133
+ */
96134
+ ids: number[];
96135
+ /**
96136
+ * The source of the event. It can be local or remote (through coauthoring).
96137
+ *
96138
+ * @remarks
96139
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
96140
+ * @beta
96141
+ */
96142
+ source: Word.EventSource | "Local" | "Remote";
96143
+ }
96144
+ /**
96145
+ * Provides information about the content control that raised contentControlDataChanged event.
96146
+ *
96147
+ * @remarks
96148
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
96149
+ * @beta
96150
+ */
96151
+ interface ContentControlDataChangedEventArgs {
96152
+ /**
96153
+ * The event type. See Word.EventType for details.
96154
+ *
96155
+ * @remarks
96156
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
96157
+ * @beta
96158
+ */
96159
+ eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited";
96160
+ /**
96161
+ * Gets the content control IDs.
96162
+ *
96163
+ * @remarks
96164
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
96165
+ * @beta
96166
+ */
96167
+ ids: number[];
96168
+ /**
96169
+ * The source of the event. It can be local or remote (through coauthoring).
96170
+ *
96171
+ * @remarks
96172
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
96173
+ * @beta
96174
+ */
96175
+ source: Word.EventSource | "Local" | "Remote";
96176
+ }
96177
+ /**
96178
+ * Provides information about the content control that raised contentControlDeleted event.
96179
+ *
96180
+ * @remarks
96181
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
96182
+ * @beta
96183
+ */
96184
+ interface ContentControlDeletedEventArgs {
96185
+ /**
96186
+ * The event type. See Word.EventType for details.
96187
+ *
96188
+ * @remarks
96189
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
96190
+ * @beta
96191
+ */
96192
+ eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited";
96193
+ /**
96194
+ * Gets the content control IDs.
96195
+ *
96196
+ * @remarks
96197
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
96198
+ * @beta
96199
+ */
96200
+ ids: number[];
96201
+ /**
96202
+ * The source of the event. It can be local or remote (through coauthoring).
96203
+ *
96204
+ * @remarks
96205
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
96206
+ * @beta
96207
+ */
96208
+ source: Word.EventSource | "Local" | "Remote";
96209
+ }
96210
+ /**
96211
+ * Provides information about the content control that raised contentControlEntered event.
96212
+ *
96213
+ * @remarks
96214
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
96215
+ * @beta
96216
+ */
96217
+ interface ContentControlEnteredEventArgs {
96218
+ /**
96219
+ * The event type. See Word.EventType for details.
96220
+ *
96221
+ * @remarks
96222
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
96223
+ * @beta
96224
+ */
96225
+ eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited";
96226
+ /**
96227
+ * Gets the content control IDs.
96228
+ *
96229
+ * @remarks
96230
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
96231
+ * @beta
96232
+ */
96233
+ ids: number[];
96234
+ /**
96235
+ * The source of the event. It can be local or remote (through coauthoring).
96236
+ *
96237
+ * @remarks
96238
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
96239
+ * @beta
96240
+ */
96241
+ source: Word.EventSource | "Local" | "Remote";
96242
+ }
96243
+ /**
96244
+ * Provides information about the content control that raised contentControlExited event.
96245
+ *
96246
+ * @remarks
96247
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
96248
+ * @beta
96249
+ */
96250
+ interface ContentControlExitedEventArgs {
96251
+ /**
96252
+ * The event type. See Word.EventType for details.
96253
+ *
96254
+ * @remarks
96255
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
96256
+ * @beta
96257
+ */
96258
+ eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited";
96259
+ /**
96260
+ * Gets the content control IDs.
96261
+ *
96262
+ * @remarks
96263
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
96264
+ * @beta
96265
+ */
96266
+ ids: number[];
96267
+ /**
96268
+ * The source of the event. It can be local or remote (through coauthoring).
96269
+ *
96270
+ * @remarks
96271
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
96272
+ * @beta
96273
+ */
96274
+ source: Word.EventSource | "Local" | "Remote";
96275
+ }
96276
+ /**
96277
+ * Provides information about the content control that raised contentControlSelectionChanged event.
96278
+ *
96279
+ * @remarks
96280
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
96281
+ * @beta
96282
+ */
96283
+ interface ContentControlSelectionChangedEventArgs {
96284
+ /**
96285
+ * The event type. See Word.EventType for details.
96286
+ *
96287
+ * @remarks
96288
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
96289
+ * @beta
96290
+ */
96291
+ eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited";
96292
+ /**
96293
+ * Gets the content control IDs.
96294
+ *
96295
+ * @remarks
96296
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
96297
+ * @beta
96298
+ */
96299
+ ids: number[];
96300
+ /**
96301
+ * The source of the event. It can be local or remote (through coauthoring).
96302
+ *
96303
+ * @remarks
96304
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
96305
+ * @beta
96306
+ */
96307
+ source: Word.EventSource | "Local" | "Remote";
96308
+ }
96095
96309
  /**
96096
96310
  * Provides information about the comments that raised the comment event.
96097
96311
  *
@@ -98039,7 +98253,7 @@ declare namespace Word {
98039
98253
  */
98040
98254
  character = "Character",
98041
98255
  /**
98042
- * Represents that the style is a list style.
98256
+ * Represents that the style is a list style. Currently supported on desktop.
98043
98257
  * @remarks
98044
98258
  * [Api set: WordApi BETA (PREVIEW ONLY)]
98045
98259
  * @beta
@@ -98096,6 +98310,48 @@ declare namespace Word {
98096
98310
  * @beta
98097
98311
  */
98098
98312
  outlineLevel4 = "OutlineLevel4",
98313
+ /**
98314
+ * Represents outline level 5.
98315
+ * @remarks
98316
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
98317
+ * @beta
98318
+ */
98319
+ outlineLevel5 = "OutlineLevel5",
98320
+ /**
98321
+ * Represents outline level 6.
98322
+ * @remarks
98323
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
98324
+ * @beta
98325
+ */
98326
+ outlineLevel6 = "OutlineLevel6",
98327
+ /**
98328
+ * Represents outline level 7.
98329
+ * @remarks
98330
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
98331
+ * @beta
98332
+ */
98333
+ outlineLevel7 = "OutlineLevel7",
98334
+ /**
98335
+ * Represents outline level 8.
98336
+ * @remarks
98337
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
98338
+ * @beta
98339
+ */
98340
+ outlineLevel8 = "OutlineLevel8",
98341
+ /**
98342
+ * Represents outline level 9.
98343
+ * @remarks
98344
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
98345
+ * @beta
98346
+ */
98347
+ outlineLevel9 = "OutlineLevel9",
98348
+ /**
98349
+ * Represents outline level body text, not an outline level.
98350
+ * @remarks
98351
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
98352
+ * @beta
98353
+ */
98354
+ outlineLevelBodyText = "OutlineLevelBodyText",
98099
98355
  }
98100
98356
  /**
98101
98357
  * Specifies the close behavior for `Document.close`.
@@ -99566,7 +99822,7 @@ declare namespace Word {
99566
99822
  */
99567
99823
  code?: string;
99568
99824
  /**
99569
- * Gets or sets data in an "Addin" field. If the field isn't an "Addin" field, it is null and it will throw a general exception when setting it.
99825
+ * Gets or sets data in an "Addin" field. If the field isn't an "Addin" field, it is null and it will throw a general exception when code attempts to set it.
99570
99826
  *
99571
99827
  * @remarks
99572
99828
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -99772,7 +100028,7 @@ declare namespace Word {
99772
100028
  */
99773
100029
  numberFormat?: string;
99774
100030
  /**
99775
- * Gets or sets the position (in points) of the number or bullet for the specified list level object
100031
+ * Gets or sets the position (in points) of the number or bullet for the specified list level object.
99776
100032
  *
99777
100033
  * @remarks
99778
100034
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -99780,7 +100036,7 @@ declare namespace Word {
99780
100036
  */
99781
100037
  numberPosition?: number;
99782
100038
  /**
99783
- * Gets or sets the number style for the list level object
100039
+ * Gets or sets the number style for the list level object.
99784
100040
  *
99785
100041
  * @remarks
99786
100042
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -99788,7 +100044,7 @@ declare namespace Word {
99788
100044
  */
99789
100045
  numberStyle?: Word.ListBuiltInNumberStyle | "None" | "Arabic" | "UpperRoman" | "LowerRoman" | "UpperLetter" | "LowerLetter" | "Ordinal" | "CardinalText" | "OrdinalText" | "Kanji" | "KanjiDigit" | "AiueoHalfWidth" | "IrohaHalfWidth" | "ArabicFullWidth" | "KanjiTraditional" | "KanjiTraditional2" | "NumberInCircle" | "Aiueo" | "Iroha" | "ArabicLZ" | "Bullet" | "Ganada" | "Chosung" | "GBNum1" | "GBNum2" | "GBNum3" | "GBNum4" | "Zodiac1" | "Zodiac2" | "Zodiac3" | "TradChinNum1" | "TradChinNum2" | "TradChinNum3" | "TradChinNum4" | "SimpChinNum1" | "SimpChinNum2" | "SimpChinNum3" | "SimpChinNum4" | "HanjaRead" | "HanjaReadDigit" | "Hangul" | "Hanja" | "Hebrew1" | "Arabic1" | "Hebrew2" | "Arabic2" | "HindiLetter1" | "HindiLetter2" | "HindiArabic" | "HindiCardinalText" | "ThaiLetter" | "ThaiArabic" | "ThaiCardinalText" | "VietCardinalText" | "LowercaseRussian" | "UppercaseRussian" | "LowercaseGreek" | "UppercaseGreek" | "ArabicLZ2" | "ArabicLZ3" | "ArabicLZ4" | "LowercaseTurkish" | "UppercaseTurkish" | "LowercaseBulgarian" | "UppercaseBulgarian" | "PictureBullet" | "Legal" | "LegalLZ";
99790
100046
  /**
99791
- * Gets or sets the list level that must appear before the specified list level restarts numbering at 1
100047
+ * Gets or sets the list level that must appear before the specified list level restarts numbering at 1.
99792
100048
  *
99793
100049
  * @remarks
99794
100050
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -99796,7 +100052,7 @@ declare namespace Word {
99796
100052
  */
99797
100053
  resetOnHigher?: number;
99798
100054
  /**
99799
- * Gets or sets the starting number for the specified list level object
100055
+ * Gets or sets the starting number for the specified list level object.
99800
100056
  *
99801
100057
  * @remarks
99802
100058
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -99804,7 +100060,7 @@ declare namespace Word {
99804
100060
  */
99805
100061
  startAt?: number;
99806
100062
  /**
99807
- * Gets or sets the tab position for the specified list level object
100063
+ * Gets or sets the tab position for the specified list level object.
99808
100064
  *
99809
100065
  * @remarks
99810
100066
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -99812,7 +100068,7 @@ declare namespace Word {
99812
100068
  */
99813
100069
  tabPosition?: number;
99814
100070
  /**
99815
- * Gets or sets the position (in points) for the second line of wrapping text for the specified list level object
100071
+ * Gets or sets the position (in points) for the second line of wrapping text for the specified list level object.
99816
100072
  *
99817
100073
  * @remarks
99818
100074
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -99835,7 +100091,7 @@ declare namespace Word {
99835
100091
  /** An interface for updating data on the ListTemplate object, for use in `listTemplate.set({ ... })`. */
99836
100092
  interface ListTemplateUpdateData {
99837
100093
  /**
99838
- * Gets or sets whether the specified ListTemplate object is outline numbered
100094
+ * Gets or sets whether the specified ListTemplate object is outline numbered.
99839
100095
  *
99840
100096
  * @remarks
99841
100097
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -100011,7 +100267,7 @@ declare namespace Word {
100011
100267
  */
100012
100268
  keepWithNext?: boolean;
100013
100269
  /**
100014
- * Gets or sets the left Indent.
100270
+ * Gets or sets the left indent.
100015
100271
  *
100016
100272
  * @remarks
100017
100273
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -100057,7 +100313,7 @@ declare namespace Word {
100057
100313
  * [Api set: WordApi BETA (PREVIEW ONLY)]
100058
100314
  * @beta
100059
100315
  */
100060
- outlineLevel?: Word.OutlineLevel | "OutlineLevel1" | "OutlineLevel2" | "OutlineLevel3" | "OutlineLevel4";
100316
+ outlineLevel?: Word.OutlineLevel | "OutlineLevel1" | "OutlineLevel2" | "OutlineLevel3" | "OutlineLevel4" | "OutlineLevel5" | "OutlineLevel6" | "OutlineLevel7" | "OutlineLevel8" | "OutlineLevel9" | "OutlineLevelBodyText";
100061
100317
  /**
100062
100318
  * Gets or sets the right indent (in points) for the specified paragraphs.
100063
100319
  *
@@ -101493,7 +101749,7 @@ declare namespace Word {
101493
101749
  */
101494
101750
  numberFormat?: string;
101495
101751
  /**
101496
- * Gets or sets the position (in points) of the number or bullet for the specified list level object
101752
+ * Gets or sets the position (in points) of the number or bullet for the specified list level object.
101497
101753
  *
101498
101754
  * @remarks
101499
101755
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -101501,7 +101757,7 @@ declare namespace Word {
101501
101757
  */
101502
101758
  numberPosition?: number;
101503
101759
  /**
101504
- * Gets or sets the number style for the list level object
101760
+ * Gets or sets the number style for the list level object.
101505
101761
  *
101506
101762
  * @remarks
101507
101763
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -101509,7 +101765,7 @@ declare namespace Word {
101509
101765
  */
101510
101766
  numberStyle?: Word.ListBuiltInNumberStyle | "None" | "Arabic" | "UpperRoman" | "LowerRoman" | "UpperLetter" | "LowerLetter" | "Ordinal" | "CardinalText" | "OrdinalText" | "Kanji" | "KanjiDigit" | "AiueoHalfWidth" | "IrohaHalfWidth" | "ArabicFullWidth" | "KanjiTraditional" | "KanjiTraditional2" | "NumberInCircle" | "Aiueo" | "Iroha" | "ArabicLZ" | "Bullet" | "Ganada" | "Chosung" | "GBNum1" | "GBNum2" | "GBNum3" | "GBNum4" | "Zodiac1" | "Zodiac2" | "Zodiac3" | "TradChinNum1" | "TradChinNum2" | "TradChinNum3" | "TradChinNum4" | "SimpChinNum1" | "SimpChinNum2" | "SimpChinNum3" | "SimpChinNum4" | "HanjaRead" | "HanjaReadDigit" | "Hangul" | "Hanja" | "Hebrew1" | "Arabic1" | "Hebrew2" | "Arabic2" | "HindiLetter1" | "HindiLetter2" | "HindiArabic" | "HindiCardinalText" | "ThaiLetter" | "ThaiArabic" | "ThaiCardinalText" | "VietCardinalText" | "LowercaseRussian" | "UppercaseRussian" | "LowercaseGreek" | "UppercaseGreek" | "ArabicLZ2" | "ArabicLZ3" | "ArabicLZ4" | "LowercaseTurkish" | "UppercaseTurkish" | "LowercaseBulgarian" | "UppercaseBulgarian" | "PictureBullet" | "Legal" | "LegalLZ";
101511
101767
  /**
101512
- * Gets or sets the list level that must appear before the specified list level restarts numbering at 1
101768
+ * Gets or sets the list level that must appear before the specified list level restarts numbering at 1.
101513
101769
  *
101514
101770
  * @remarks
101515
101771
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -101517,7 +101773,7 @@ declare namespace Word {
101517
101773
  */
101518
101774
  resetOnHigher?: number;
101519
101775
  /**
101520
- * Gets or sets the starting number for the specified list level object
101776
+ * Gets or sets the starting number for the specified list level object.
101521
101777
  *
101522
101778
  * @remarks
101523
101779
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -101525,7 +101781,7 @@ declare namespace Word {
101525
101781
  */
101526
101782
  startAt?: number;
101527
101783
  /**
101528
- * Gets or sets the tab position for the specified list level object
101784
+ * Gets or sets the tab position for the specified list level object.
101529
101785
  *
101530
101786
  * @remarks
101531
101787
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -101533,7 +101789,7 @@ declare namespace Word {
101533
101789
  */
101534
101790
  tabPosition?: number;
101535
101791
  /**
101536
- * Gets or sets the position (in points) for the second line of wrapping text for the specified list level object
101792
+ * Gets or sets the position (in points) for the second line of wrapping text for the specified list level object.
101537
101793
  *
101538
101794
  * @remarks
101539
101795
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -101564,7 +101820,7 @@ declare namespace Word {
101564
101820
  */
101565
101821
  listLevels?: Word.Interfaces.ListLevelData[];
101566
101822
  /**
101567
- * Gets or sets whether the specified ListTemplate object is outline numbered
101823
+ * Gets or sets whether the specified ListTemplate object is outline numbered.
101568
101824
  *
101569
101825
  * @remarks
101570
101826
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -101789,7 +102045,7 @@ declare namespace Word {
101789
102045
  */
101790
102046
  keepWithNext?: boolean;
101791
102047
  /**
101792
- * Gets or sets the left Indent.
102048
+ * Gets or sets the left indent.
101793
102049
  *
101794
102050
  * @remarks
101795
102051
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -101835,7 +102091,7 @@ declare namespace Word {
101835
102091
  * [Api set: WordApi BETA (PREVIEW ONLY)]
101836
102092
  * @beta
101837
102093
  */
101838
- outlineLevel?: Word.OutlineLevel | "OutlineLevel1" | "OutlineLevel2" | "OutlineLevel3" | "OutlineLevel4";
102094
+ outlineLevel?: Word.OutlineLevel | "OutlineLevel1" | "OutlineLevel2" | "OutlineLevel3" | "OutlineLevel4" | "OutlineLevel5" | "OutlineLevel6" | "OutlineLevel7" | "OutlineLevel8" | "OutlineLevel9" | "OutlineLevelBodyText";
101839
102095
  /**
101840
102096
  * Gets or sets the right indent (in points) for the specified paragraphs.
101841
102097
  *
@@ -103625,7 +103881,7 @@ declare namespace Word {
103625
103881
  */
103626
103882
  code?: boolean;
103627
103883
  /**
103628
- * Gets or sets data in an "Addin" field. If the field isn't an "Addin" field, it is null and it will throw a general exception when setting it.
103884
+ * Gets or sets data in an "Addin" field. If the field isn't an "Addin" field, it is null and it will throw a general exception when code attempts to set it.
103629
103885
  *
103630
103886
  * @remarks
103631
103887
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -103740,7 +103996,7 @@ declare namespace Word {
103740
103996
  */
103741
103997
  code?: boolean;
103742
103998
  /**
103743
- * For EACH ITEM in the collection: Gets or sets data in an "Addin" field. If the field isn't an "Addin" field, it is null and it will throw a general exception when setting it.
103999
+ * For EACH ITEM in the collection: Gets or sets data in an "Addin" field. If the field isn't an "Addin" field, it is null and it will throw a general exception when code attempts to set it.
103744
104000
  *
103745
104001
  * @remarks
103746
104002
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -104235,7 +104491,7 @@ declare namespace Word {
104235
104491
  */
104236
104492
  numberFormat?: boolean;
104237
104493
  /**
104238
- * Gets or sets the position (in points) of the number or bullet for the specified list level object
104494
+ * Gets or sets the position (in points) of the number or bullet for the specified list level object.
104239
104495
  *
104240
104496
  * @remarks
104241
104497
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -104243,7 +104499,7 @@ declare namespace Word {
104243
104499
  */
104244
104500
  numberPosition?: boolean;
104245
104501
  /**
104246
- * Gets or sets the number style for the list level object
104502
+ * Gets or sets the number style for the list level object.
104247
104503
  *
104248
104504
  * @remarks
104249
104505
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -104251,7 +104507,7 @@ declare namespace Word {
104251
104507
  */
104252
104508
  numberStyle?: boolean;
104253
104509
  /**
104254
- * Gets or sets the list level that must appear before the specified list level restarts numbering at 1
104510
+ * Gets or sets the list level that must appear before the specified list level restarts numbering at 1.
104255
104511
  *
104256
104512
  * @remarks
104257
104513
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -104259,7 +104515,7 @@ declare namespace Word {
104259
104515
  */
104260
104516
  resetOnHigher?: boolean;
104261
104517
  /**
104262
- * Gets or sets the starting number for the specified list level object
104518
+ * Gets or sets the starting number for the specified list level object.
104263
104519
  *
104264
104520
  * @remarks
104265
104521
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -104267,7 +104523,7 @@ declare namespace Word {
104267
104523
  */
104268
104524
  startAt?: boolean;
104269
104525
  /**
104270
- * Gets or sets the tab position for the specified list level object
104526
+ * Gets or sets the tab position for the specified list level object.
104271
104527
  *
104272
104528
  * @remarks
104273
104529
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -104275,7 +104531,7 @@ declare namespace Word {
104275
104531
  */
104276
104532
  tabPosition?: boolean;
104277
104533
  /**
104278
- * Gets or sets the position (in points) for the second line of wrapping text for the specified list level object
104534
+ * Gets or sets the position (in points) for the second line of wrapping text for the specified list level object.
104279
104535
  *
104280
104536
  * @remarks
104281
104537
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -104336,7 +104592,7 @@ declare namespace Word {
104336
104592
  */
104337
104593
  numberFormat?: boolean;
104338
104594
  /**
104339
- * For EACH ITEM in the collection: Gets or sets the position (in points) of the number or bullet for the specified list level object
104595
+ * For EACH ITEM in the collection: Gets or sets the position (in points) of the number or bullet for the specified list level object.
104340
104596
  *
104341
104597
  * @remarks
104342
104598
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -104344,7 +104600,7 @@ declare namespace Word {
104344
104600
  */
104345
104601
  numberPosition?: boolean;
104346
104602
  /**
104347
- * For EACH ITEM in the collection: Gets or sets the number style for the list level object
104603
+ * For EACH ITEM in the collection: Gets or sets the number style for the list level object.
104348
104604
  *
104349
104605
  * @remarks
104350
104606
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -104352,7 +104608,7 @@ declare namespace Word {
104352
104608
  */
104353
104609
  numberStyle?: boolean;
104354
104610
  /**
104355
- * For EACH ITEM in the collection: Gets or sets the list level that must appear before the specified list level restarts numbering at 1
104611
+ * For EACH ITEM in the collection: Gets or sets the list level that must appear before the specified list level restarts numbering at 1.
104356
104612
  *
104357
104613
  * @remarks
104358
104614
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -104360,7 +104616,7 @@ declare namespace Word {
104360
104616
  */
104361
104617
  resetOnHigher?: boolean;
104362
104618
  /**
104363
- * For EACH ITEM in the collection: Gets or sets the starting number for the specified list level object
104619
+ * For EACH ITEM in the collection: Gets or sets the starting number for the specified list level object.
104364
104620
  *
104365
104621
  * @remarks
104366
104622
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -104368,7 +104624,7 @@ declare namespace Word {
104368
104624
  */
104369
104625
  startAt?: boolean;
104370
104626
  /**
104371
- * For EACH ITEM in the collection: Gets or sets the tab position for the specified list level object
104627
+ * For EACH ITEM in the collection: Gets or sets the tab position for the specified list level object.
104372
104628
  *
104373
104629
  * @remarks
104374
104630
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -104376,7 +104632,7 @@ declare namespace Word {
104376
104632
  */
104377
104633
  tabPosition?: boolean;
104378
104634
  /**
104379
- * For EACH ITEM in the collection: Gets or sets the position (in points) for the second line of wrapping text for the specified list level object
104635
+ * For EACH ITEM in the collection: Gets or sets the position (in points) for the second line of wrapping text for the specified list level object.
104380
104636
  *
104381
104637
  * @remarks
104382
104638
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -104405,7 +104661,7 @@ declare namespace Word {
104405
104661
  */
104406
104662
  $all?: boolean;
104407
104663
  /**
104408
- * Gets or sets whether the specified ListTemplate object is outline numbered
104664
+ * Gets or sets whether the specified ListTemplate object is outline numbered.
104409
104665
  *
104410
104666
  * @remarks
104411
104667
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -104940,7 +105196,7 @@ declare namespace Word {
104940
105196
  */
104941
105197
  keepWithNext?: boolean;
104942
105198
  /**
104943
- * Gets or sets the left Indent.
105199
+ * Gets or sets the left indent.
104944
105200
  *
104945
105201
  * @remarks
104946
105202
  * [Api set: WordApi BETA (PREVIEW ONLY)]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.382",
3
+ "version": "1.0.384",
4
4
  "description": "TypeScript definitions for Office.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
6
6
  "license": "MIT",
@@ -45,6 +45,6 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "5c3dd824e151f0e637040843604f9fff0d8ca58bb2d12ea3c7ec56b9a377f1d8",
48
+ "typesPublisherContentHash": "eeff2428e759cfc7f4b594ba23ab730a938cb6fc461d6410ac46614be67789e8",
49
49
  "typeScriptVersion": "4.3"
50
50
  }