@types/office-js-preview 1.0.382 → 1.0.383
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- office-js-preview/README.md +1 -1
- office-js-preview/index.d.ts +326 -80
- office-js-preview/package.json +2 -2
office-js-preview/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for Office.js (https://github.com/OfficeD
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated: Thu, 20 Apr 2023
|
|
11
|
+
* Last updated: Thu, 20 Apr 2023 21:32:46 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
|
|
14
14
|
|
office-js-preview/index.d.ts
CHANGED
|
@@ -87820,16 +87820,16 @@ declare namespace Word {
|
|
|
87820
87820
|
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
87821
87821
|
context: RequestContext;
|
|
87822
87822
|
/**
|
|
87823
|
-
* Creates a new document by using an optional
|
|
87823
|
+
* Creates a new document by using an optional Base64-encoded .docx file.
|
|
87824
87824
|
*
|
|
87825
87825
|
* @remarks
|
|
87826
87826
|
* [Api set: WordApi 1.3]
|
|
87827
87827
|
*
|
|
87828
|
-
* @param base64File Optional. The
|
|
87828
|
+
* @param base64File Optional. The Base64-encoded .docx file. The default value is null.
|
|
87829
87829
|
*/
|
|
87830
87830
|
createDocument(base64File?: string): Word.DocumentCreated;
|
|
87831
87831
|
/**
|
|
87832
|
-
* Parse styles from template
|
|
87832
|
+
* Parse styles from template Base64 file and return JSON format of retrieved styles as a string.
|
|
87833
87833
|
*
|
|
87834
87834
|
* @remarks
|
|
87835
87835
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -88016,7 +88016,8 @@ declare namespace Word {
|
|
|
88016
88016
|
getComments(): Word.CommentCollection;
|
|
88017
88017
|
/**
|
|
88018
88018
|
* 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.
|
|
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.
|
|
88020
|
+
With time, additional types of content controls may be supported. Therefore, your add-in should request and handle specific types of content controls.
|
|
88020
88021
|
*
|
|
88021
88022
|
* @remarks
|
|
88022
88023
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -88091,7 +88092,7 @@ declare namespace Word {
|
|
|
88091
88092
|
* @remarks
|
|
88092
88093
|
* [Api set: WordApi 1.1]
|
|
88093
88094
|
*
|
|
88094
|
-
* @param base64File Required. The
|
|
88095
|
+
* @param base64File Required. The Base64-encoded content of a .docx file.
|
|
88095
88096
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
88096
88097
|
*/
|
|
88097
88098
|
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
|
|
@@ -88111,7 +88112,7 @@ declare namespace Word {
|
|
|
88111
88112
|
* @remarks
|
|
88112
88113
|
* [Api set: WordApi 1.2]
|
|
88113
88114
|
*
|
|
88114
|
-
* @param base64EncodedImage Required. The
|
|
88115
|
+
* @param base64EncodedImage Required. The Base64-encoded image to be inserted in the body.
|
|
88115
88116
|
* @param insertLocation Required. The value must be 'Start' or 'End'.
|
|
88116
88117
|
*/
|
|
88117
88118
|
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation.start | Word.InsertLocation.end | "Start" | "End"): Word.InlinePicture;
|
|
@@ -88992,7 +88993,8 @@ declare namespace Word {
|
|
|
88992
88993
|
getComments(): Word.CommentCollection;
|
|
88993
88994
|
/**
|
|
88994
88995
|
* 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.
|
|
88996
|
+
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.
|
|
88997
|
+
With time, additional types of content controls may be supported. Therefore, your add-in should request and handle specific types of content controls.
|
|
88996
88998
|
*
|
|
88997
88999
|
* @remarks
|
|
88998
89000
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -89068,7 +89070,7 @@ declare namespace Word {
|
|
|
89068
89070
|
* @remarks
|
|
89069
89071
|
* [Api set: WordApi 1.1]
|
|
89070
89072
|
*
|
|
89071
|
-
* @param base64File Required. The
|
|
89073
|
+
* @param base64File Required. The Base64-encoded content of a .docx file.
|
|
89072
89074
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
89073
89075
|
*/
|
|
89074
89076
|
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
|
|
@@ -89088,7 +89090,7 @@ declare namespace Word {
|
|
|
89088
89090
|
* @remarks
|
|
89089
89091
|
* [Api set: WordApi 1.2]
|
|
89090
89092
|
*
|
|
89091
|
-
* @param base64EncodedImage Required. The
|
|
89093
|
+
* @param base64EncodedImage Required. The Base64-encoded image to be inserted in the content control.
|
|
89092
89094
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
89093
89095
|
*/
|
|
89094
89096
|
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.InlinePicture;
|
|
@@ -89252,7 +89254,7 @@ declare namespace Word {
|
|
|
89252
89254
|
* @eventproperty
|
|
89253
89255
|
* @beta
|
|
89254
89256
|
*/
|
|
89255
|
-
readonly onDataChanged: OfficeExtension.EventHandlers<Word.
|
|
89257
|
+
readonly onDataChanged: OfficeExtension.EventHandlers<Word.ContentControlDataChangedEventArgs>;
|
|
89256
89258
|
/**
|
|
89257
89259
|
* 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
89260
|
*
|
|
@@ -89262,7 +89264,7 @@ declare namespace Word {
|
|
|
89262
89264
|
* @eventproperty
|
|
89263
89265
|
* @beta
|
|
89264
89266
|
*/
|
|
89265
|
-
readonly onDeleted: OfficeExtension.EventHandlers<Word.
|
|
89267
|
+
readonly onDeleted: OfficeExtension.EventHandlers<Word.ContentControlDeletedEventArgs>;
|
|
89266
89268
|
/**
|
|
89267
89269
|
* Occurs when the content control is entered.
|
|
89268
89270
|
*
|
|
@@ -89272,7 +89274,7 @@ declare namespace Word {
|
|
|
89272
89274
|
* @eventproperty
|
|
89273
89275
|
* @beta
|
|
89274
89276
|
*/
|
|
89275
|
-
readonly onEntered: OfficeExtension.EventHandlers<Word.
|
|
89277
|
+
readonly onEntered: OfficeExtension.EventHandlers<Word.ContentControlEnteredEventArgs>;
|
|
89276
89278
|
/**
|
|
89277
89279
|
* Occurs when the content control is exited, for example, when the cursor leaves the content control.
|
|
89278
89280
|
*
|
|
@@ -89282,7 +89284,7 @@ declare namespace Word {
|
|
|
89282
89284
|
* @eventproperty
|
|
89283
89285
|
* @beta
|
|
89284
89286
|
*/
|
|
89285
|
-
readonly onExited: OfficeExtension.EventHandlers<Word.
|
|
89287
|
+
readonly onExited: OfficeExtension.EventHandlers<Word.ContentControlExitedEventArgs>;
|
|
89286
89288
|
/**
|
|
89287
89289
|
* Occurs when selection within the content control is changed.
|
|
89288
89290
|
*
|
|
@@ -89292,7 +89294,7 @@ declare namespace Word {
|
|
|
89292
89294
|
* @eventproperty
|
|
89293
89295
|
* @beta
|
|
89294
89296
|
*/
|
|
89295
|
-
readonly onSelectionChanged: OfficeExtension.EventHandlers<Word.
|
|
89297
|
+
readonly onSelectionChanged: OfficeExtension.EventHandlers<Word.ContentControlSelectionChangedEventArgs>;
|
|
89296
89298
|
/**
|
|
89297
89299
|
* 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
89300
|
*/
|
|
@@ -90201,7 +90203,8 @@ declare namespace Word {
|
|
|
90201
90203
|
getBookmarkRangeOrNullObject(name: string): Word.Range;
|
|
90202
90204
|
/**
|
|
90203
90205
|
* 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.
|
|
90206
|
+
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.
|
|
90207
|
+
With time, additional types of content controls may be supported. Therefore, your add-in should request and handle specific types of content controls.
|
|
90205
90208
|
*
|
|
90206
90209
|
* @remarks
|
|
90207
90210
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -90249,13 +90252,13 @@ declare namespace Word {
|
|
|
90249
90252
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
90250
90253
|
* @beta
|
|
90251
90254
|
*
|
|
90252
|
-
* @param base64File Required. The
|
|
90255
|
+
* @param base64File Required. The Base64-encoded content of a .docx file.
|
|
90253
90256
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
90254
90257
|
* @param insertFileOptions Optional. The additional properties that should be imported to the destination document.
|
|
90255
90258
|
*/
|
|
90256
90259
|
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End", insertFileOptions?: Word.InsertFileOptions): Word.SectionCollection;
|
|
90257
90260
|
/**
|
|
90258
|
-
*
|
|
90261
|
+
* Saves the document.
|
|
90259
90262
|
*
|
|
90260
90263
|
* @remarks
|
|
90261
90264
|
* [Api set: WordApi 1.1]
|
|
@@ -90265,7 +90268,7 @@ declare namespace Word {
|
|
|
90265
90268
|
*/
|
|
90266
90269
|
save(saveBehavior?: Word.SaveBehavior, fileName?: string): void;
|
|
90267
90270
|
/**
|
|
90268
|
-
*
|
|
90271
|
+
* Saves the document.
|
|
90269
90272
|
*
|
|
90270
90273
|
* @remarks
|
|
90271
90274
|
* [Api set: WordApi 1.1]
|
|
@@ -90319,7 +90322,7 @@ declare namespace Word {
|
|
|
90319
90322
|
* @eventproperty
|
|
90320
90323
|
* @beta
|
|
90321
90324
|
*/
|
|
90322
|
-
readonly onContentControlAdded: OfficeExtension.EventHandlers<Word.
|
|
90325
|
+
readonly onContentControlAdded: OfficeExtension.EventHandlers<Word.ContentControlAddedEventArgs>;
|
|
90323
90326
|
/**
|
|
90324
90327
|
* 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
90328
|
*/
|
|
@@ -90451,7 +90454,8 @@ declare namespace Word {
|
|
|
90451
90454
|
getBookmarkRangeOrNullObject(name: string): Word.Range;
|
|
90452
90455
|
/**
|
|
90453
90456
|
* 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.
|
|
90457
|
+
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.
|
|
90458
|
+
With time, additional types of content controls may be supported. Therefore, your add-in should request and handle specific types of content controls.
|
|
90455
90459
|
*
|
|
90456
90460
|
* @remarks
|
|
90457
90461
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -90470,13 +90474,13 @@ declare namespace Word {
|
|
|
90470
90474
|
getStyles(): Word.StyleCollection;
|
|
90471
90475
|
/**
|
|
90472
90476
|
* 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.
|
|
90477
|
+
Headers, footers, watermarks, and other section properties are copied by default.
|
|
90474
90478
|
*
|
|
90475
90479
|
* @remarks
|
|
90476
90480
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
90477
90481
|
* @beta
|
|
90478
90482
|
*
|
|
90479
|
-
* @param base64File Required. The
|
|
90483
|
+
* @param base64File Required. The Base64-encoded content of a .docx file.
|
|
90480
90484
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
90481
90485
|
* @param insertFileOptions Optional. The additional properties that should be imported to the destination document.
|
|
90482
90486
|
*/
|
|
@@ -90489,7 +90493,7 @@ declare namespace Word {
|
|
|
90489
90493
|
*/
|
|
90490
90494
|
open(): void;
|
|
90491
90495
|
/**
|
|
90492
|
-
*
|
|
90496
|
+
* Saves the document.
|
|
90493
90497
|
*
|
|
90494
90498
|
* @remarks
|
|
90495
90499
|
* [Api set: WordApiHiddenDocument 1.3]
|
|
@@ -90499,7 +90503,7 @@ declare namespace Word {
|
|
|
90499
90503
|
*/
|
|
90500
90504
|
save(saveBehavior?: Word.SaveBehavior, fileName?: string): void;
|
|
90501
90505
|
/**
|
|
90502
|
-
*
|
|
90506
|
+
* Saves the document.
|
|
90503
90507
|
*
|
|
90504
90508
|
* @remarks
|
|
90505
90509
|
* [Api set: WordApiHiddenDocument 1.3]
|
|
@@ -91246,7 +91250,7 @@ declare namespace Word {
|
|
|
91246
91250
|
*/
|
|
91247
91251
|
delete(): void;
|
|
91248
91252
|
/**
|
|
91249
|
-
* Gets the
|
|
91253
|
+
* Gets the Base64-encoded string representation of the inline image.
|
|
91250
91254
|
*
|
|
91251
91255
|
* @remarks
|
|
91252
91256
|
* [Api set: WordApi 1.1]
|
|
@@ -91298,7 +91302,7 @@ declare namespace Word {
|
|
|
91298
91302
|
* @remarks
|
|
91299
91303
|
* [Api set: WordApi 1.2]
|
|
91300
91304
|
*
|
|
91301
|
-
* @param base64File Required. The
|
|
91305
|
+
* @param base64File Required. The Base64-encoded content of a .docx file.
|
|
91302
91306
|
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
91303
91307
|
*/
|
|
91304
91308
|
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After"): Word.Range;
|
|
@@ -91318,7 +91322,7 @@ declare namespace Word {
|
|
|
91318
91322
|
* @remarks
|
|
91319
91323
|
* [Api set: WordApi 1.2]
|
|
91320
91324
|
*
|
|
91321
|
-
* @param base64EncodedImage Required. The
|
|
91325
|
+
* @param base64EncodedImage Required. The Base64-encoded image to be inserted.
|
|
91322
91326
|
* @param insertLocation Required. The value must be 'Replace', 'Before', or 'After'.
|
|
91323
91327
|
*/
|
|
91324
91328
|
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.before | Word.InsertLocation.after | "Replace" | "Before" | "After"): Word.InlinePicture;
|
|
@@ -91519,7 +91523,7 @@ declare namespace Word {
|
|
|
91519
91523
|
*/
|
|
91520
91524
|
getLevelParagraphs(level: number): Word.ParagraphCollection;
|
|
91521
91525
|
/**
|
|
91522
|
-
* Gets the
|
|
91526
|
+
* Gets the Base64-encoded string representation of the picture at the specified level in the list.
|
|
91523
91527
|
*
|
|
91524
91528
|
* @remarks
|
|
91525
91529
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -91643,7 +91647,7 @@ declare namespace Word {
|
|
|
91643
91647
|
* @beta
|
|
91644
91648
|
*
|
|
91645
91649
|
* @param level Required. The level in the list.
|
|
91646
|
-
* @param base64EncodedImage Optional. The
|
|
91650
|
+
* @param base64EncodedImage Optional. The Base64-encoded image to be set. If not given, the default picture is set.
|
|
91647
91651
|
*/
|
|
91648
91652
|
setLevelPicture(level: number, base64EncodedImage?: string): void;
|
|
91649
91653
|
/**
|
|
@@ -91918,7 +91922,7 @@ declare namespace Word {
|
|
|
91918
91922
|
*/
|
|
91919
91923
|
numberFormat: string;
|
|
91920
91924
|
/**
|
|
91921
|
-
* Gets or sets the position (in points) of the number or bullet for the specified list level object
|
|
91925
|
+
* Gets or sets the position (in points) of the number or bullet for the specified list level object.
|
|
91922
91926
|
*
|
|
91923
91927
|
* @remarks
|
|
91924
91928
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -91926,7 +91930,7 @@ declare namespace Word {
|
|
|
91926
91930
|
*/
|
|
91927
91931
|
numberPosition: number;
|
|
91928
91932
|
/**
|
|
91929
|
-
* Gets or sets the number style for the list level object
|
|
91933
|
+
* Gets or sets the number style for the list level object.
|
|
91930
91934
|
*
|
|
91931
91935
|
* @remarks
|
|
91932
91936
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -91934,7 +91938,7 @@ declare namespace Word {
|
|
|
91934
91938
|
*/
|
|
91935
91939
|
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
91940
|
/**
|
|
91937
|
-
* Gets or sets the list level that must appear before the specified list level restarts numbering at 1
|
|
91941
|
+
* Gets or sets the list level that must appear before the specified list level restarts numbering at 1.
|
|
91938
91942
|
*
|
|
91939
91943
|
* @remarks
|
|
91940
91944
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -91942,7 +91946,7 @@ declare namespace Word {
|
|
|
91942
91946
|
*/
|
|
91943
91947
|
resetOnHigher: number;
|
|
91944
91948
|
/**
|
|
91945
|
-
* Gets or sets the starting number for the specified list level object
|
|
91949
|
+
* Gets or sets the starting number for the specified list level object.
|
|
91946
91950
|
*
|
|
91947
91951
|
* @remarks
|
|
91948
91952
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -91950,7 +91954,7 @@ declare namespace Word {
|
|
|
91950
91954
|
*/
|
|
91951
91955
|
startAt: number;
|
|
91952
91956
|
/**
|
|
91953
|
-
* Gets or sets the tab position for the specified list level object
|
|
91957
|
+
* Gets or sets the tab position for the specified list level object.
|
|
91954
91958
|
*
|
|
91955
91959
|
* @remarks
|
|
91956
91960
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -91958,7 +91962,7 @@ declare namespace Word {
|
|
|
91958
91962
|
*/
|
|
91959
91963
|
tabPosition: number;
|
|
91960
91964
|
/**
|
|
91961
|
-
* Gets or sets the position (in points) for the second line of wrapping text for the specified list level object
|
|
91965
|
+
* Gets or sets the position (in points) for the second line of wrapping text for the specified list level object.
|
|
91962
91966
|
*
|
|
91963
91967
|
* @remarks
|
|
91964
91968
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -92095,7 +92099,7 @@ declare namespace Word {
|
|
|
92095
92099
|
*/
|
|
92096
92100
|
readonly listLevels: Word.ListLevelCollection;
|
|
92097
92101
|
/**
|
|
92098
|
-
* Gets or sets whether the specified ListTemplate object is outline numbered
|
|
92102
|
+
* Gets or sets whether the specified ListTemplate object is outline numbered.
|
|
92099
92103
|
*
|
|
92100
92104
|
* @remarks
|
|
92101
92105
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -92584,7 +92588,8 @@ declare namespace Word {
|
|
|
92584
92588
|
getComments(): Word.CommentCollection;
|
|
92585
92589
|
/**
|
|
92586
92590
|
* 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.
|
|
92591
|
+
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.
|
|
92592
|
+
With time, additional types of content controls may be supported. Therefore, your add-in should request and handle specific types of content controls.
|
|
92588
92593
|
*
|
|
92589
92594
|
* @remarks
|
|
92590
92595
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -92697,7 +92702,7 @@ declare namespace Word {
|
|
|
92697
92702
|
* @remarks
|
|
92698
92703
|
* [Api set: WordApi 1.1]
|
|
92699
92704
|
*
|
|
92700
|
-
* @param base64File Required. The
|
|
92705
|
+
* @param base64File Required. The Base64-encoded content of a .docx file.
|
|
92701
92706
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
92702
92707
|
*/
|
|
92703
92708
|
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
|
|
@@ -92717,7 +92722,7 @@ declare namespace Word {
|
|
|
92717
92722
|
* @remarks
|
|
92718
92723
|
* [Api set: WordApi 1.1]
|
|
92719
92724
|
*
|
|
92720
|
-
* @param base64EncodedImage Required. The
|
|
92725
|
+
* @param base64EncodedImage Required. The Base64-encoded image to be inserted.
|
|
92721
92726
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
92722
92727
|
*/
|
|
92723
92728
|
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.InlinePicture;
|
|
@@ -93016,7 +93021,7 @@ declare namespace Word {
|
|
|
93016
93021
|
*/
|
|
93017
93022
|
keepWithNext: boolean;
|
|
93018
93023
|
/**
|
|
93019
|
-
* Gets or sets the left
|
|
93024
|
+
* Gets or sets the left indent.
|
|
93020
93025
|
*
|
|
93021
93026
|
* @remarks
|
|
93022
93027
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -93062,7 +93067,7 @@ declare namespace Word {
|
|
|
93062
93067
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
93063
93068
|
* @beta
|
|
93064
93069
|
*/
|
|
93065
|
-
outlineLevel: Word.OutlineLevel | "OutlineLevel1" | "OutlineLevel2" | "OutlineLevel3" | "OutlineLevel4";
|
|
93070
|
+
outlineLevel: Word.OutlineLevel | "OutlineLevel1" | "OutlineLevel2" | "OutlineLevel3" | "OutlineLevel4" | "OutlineLevel5" | "OutlineLevel6" | "OutlineLevel7" | "OutlineLevel8" | "OutlineLevel9" | "OutlineLevelBodyText";
|
|
93066
93071
|
/**
|
|
93067
93072
|
* Gets or sets the right indent (in points) for the specified paragraphs.
|
|
93068
93073
|
*
|
|
@@ -93363,7 +93368,8 @@ declare namespace Word {
|
|
|
93363
93368
|
getComments(): Word.CommentCollection;
|
|
93364
93369
|
/**
|
|
93365
93370
|
* 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.
|
|
93371
|
+
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.
|
|
93372
|
+
With time, additional types of content controls may be supported. Therefore, your add-in should request and handle specific types of content controls.
|
|
93367
93373
|
*
|
|
93368
93374
|
* @remarks
|
|
93369
93375
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -93529,7 +93535,7 @@ declare namespace Word {
|
|
|
93529
93535
|
* @remarks
|
|
93530
93536
|
* [Api set: WordApi 1.1]
|
|
93531
93537
|
*
|
|
93532
|
-
* @param base64File Required. The
|
|
93538
|
+
* @param base64File Required. The Base64-encoded content of a .docx file.
|
|
93533
93539
|
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
93534
93540
|
*/
|
|
93535
93541
|
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation | "Replace" | "Start" | "End" | "Before" | "After"): Word.Range;
|
|
@@ -93558,7 +93564,7 @@ declare namespace Word {
|
|
|
93558
93564
|
* @remarks
|
|
93559
93565
|
* [Api set: WordApi 1.2]
|
|
93560
93566
|
*
|
|
93561
|
-
* @param base64EncodedImage Required. The
|
|
93567
|
+
* @param base64EncodedImage Required. The Base64-encoded image to be inserted.
|
|
93562
93568
|
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
93563
93569
|
*/
|
|
93564
93570
|
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation | "Replace" | "Start" | "End" | "Before" | "After"): Word.InlinePicture;
|
|
@@ -96092,6 +96098,204 @@ declare namespace Word {
|
|
|
96092
96098
|
*/
|
|
96093
96099
|
source: Word.EventSource | "Local" | "Remote";
|
|
96094
96100
|
}
|
|
96101
|
+
/**
|
|
96102
|
+
* Provides information about the content control that raised contentControlAdded event.
|
|
96103
|
+
*
|
|
96104
|
+
* @remarks
|
|
96105
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
96106
|
+
* @beta
|
|
96107
|
+
*/
|
|
96108
|
+
interface ContentControlAddedEventArgs {
|
|
96109
|
+
/**
|
|
96110
|
+
* The event type. See Word.EventType for details.
|
|
96111
|
+
*
|
|
96112
|
+
* @remarks
|
|
96113
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
96114
|
+
* @beta
|
|
96115
|
+
*/
|
|
96116
|
+
eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited";
|
|
96117
|
+
/**
|
|
96118
|
+
* Gets the content control IDs.
|
|
96119
|
+
*
|
|
96120
|
+
* @remarks
|
|
96121
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
96122
|
+
* @beta
|
|
96123
|
+
*/
|
|
96124
|
+
ids: number[];
|
|
96125
|
+
/**
|
|
96126
|
+
* The source of the event. It can be local or remote (through coauthoring).
|
|
96127
|
+
*
|
|
96128
|
+
* @remarks
|
|
96129
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
96130
|
+
* @beta
|
|
96131
|
+
*/
|
|
96132
|
+
source: Word.EventSource | "Local" | "Remote";
|
|
96133
|
+
}
|
|
96134
|
+
/**
|
|
96135
|
+
* Provides information about the content control that raised contentControlDataChanged event.
|
|
96136
|
+
*
|
|
96137
|
+
* @remarks
|
|
96138
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
96139
|
+
* @beta
|
|
96140
|
+
*/
|
|
96141
|
+
interface ContentControlDataChangedEventArgs {
|
|
96142
|
+
/**
|
|
96143
|
+
* The event type. See Word.EventType for details.
|
|
96144
|
+
*
|
|
96145
|
+
* @remarks
|
|
96146
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
96147
|
+
* @beta
|
|
96148
|
+
*/
|
|
96149
|
+
eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited";
|
|
96150
|
+
/**
|
|
96151
|
+
* Gets the content control IDs.
|
|
96152
|
+
*
|
|
96153
|
+
* @remarks
|
|
96154
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
96155
|
+
* @beta
|
|
96156
|
+
*/
|
|
96157
|
+
ids: number[];
|
|
96158
|
+
/**
|
|
96159
|
+
* The source of the event. It can be local or remote (through coauthoring).
|
|
96160
|
+
*
|
|
96161
|
+
* @remarks
|
|
96162
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
96163
|
+
* @beta
|
|
96164
|
+
*/
|
|
96165
|
+
source: Word.EventSource | "Local" | "Remote";
|
|
96166
|
+
}
|
|
96167
|
+
/**
|
|
96168
|
+
* Provides information about the content control that raised contentControlDeleted event.
|
|
96169
|
+
*
|
|
96170
|
+
* @remarks
|
|
96171
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
96172
|
+
* @beta
|
|
96173
|
+
*/
|
|
96174
|
+
interface ContentControlDeletedEventArgs {
|
|
96175
|
+
/**
|
|
96176
|
+
* The event type. See Word.EventType for details.
|
|
96177
|
+
*
|
|
96178
|
+
* @remarks
|
|
96179
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
96180
|
+
* @beta
|
|
96181
|
+
*/
|
|
96182
|
+
eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited";
|
|
96183
|
+
/**
|
|
96184
|
+
* Gets the content control IDs.
|
|
96185
|
+
*
|
|
96186
|
+
* @remarks
|
|
96187
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
96188
|
+
* @beta
|
|
96189
|
+
*/
|
|
96190
|
+
ids: number[];
|
|
96191
|
+
/**
|
|
96192
|
+
* The source of the event. It can be local or remote (through coauthoring).
|
|
96193
|
+
*
|
|
96194
|
+
* @remarks
|
|
96195
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
96196
|
+
* @beta
|
|
96197
|
+
*/
|
|
96198
|
+
source: Word.EventSource | "Local" | "Remote";
|
|
96199
|
+
}
|
|
96200
|
+
/**
|
|
96201
|
+
* Provides information about the content control that raised contentControlEntered event.
|
|
96202
|
+
*
|
|
96203
|
+
* @remarks
|
|
96204
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
96205
|
+
* @beta
|
|
96206
|
+
*/
|
|
96207
|
+
interface ContentControlEnteredEventArgs {
|
|
96208
|
+
/**
|
|
96209
|
+
* The event type. See Word.EventType for details.
|
|
96210
|
+
*
|
|
96211
|
+
* @remarks
|
|
96212
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
96213
|
+
* @beta
|
|
96214
|
+
*/
|
|
96215
|
+
eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited";
|
|
96216
|
+
/**
|
|
96217
|
+
* Gets the content control IDs.
|
|
96218
|
+
*
|
|
96219
|
+
* @remarks
|
|
96220
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
96221
|
+
* @beta
|
|
96222
|
+
*/
|
|
96223
|
+
ids: number[];
|
|
96224
|
+
/**
|
|
96225
|
+
* The source of the event. It can be local or remote (through coauthoring).
|
|
96226
|
+
*
|
|
96227
|
+
* @remarks
|
|
96228
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
96229
|
+
* @beta
|
|
96230
|
+
*/
|
|
96231
|
+
source: Word.EventSource | "Local" | "Remote";
|
|
96232
|
+
}
|
|
96233
|
+
/**
|
|
96234
|
+
* Provides information about the content control that raised contentControlExited event.
|
|
96235
|
+
*
|
|
96236
|
+
* @remarks
|
|
96237
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
96238
|
+
* @beta
|
|
96239
|
+
*/
|
|
96240
|
+
interface ContentControlExitedEventArgs {
|
|
96241
|
+
/**
|
|
96242
|
+
* The event type. See Word.EventType for details.
|
|
96243
|
+
*
|
|
96244
|
+
* @remarks
|
|
96245
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
96246
|
+
* @beta
|
|
96247
|
+
*/
|
|
96248
|
+
eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited";
|
|
96249
|
+
/**
|
|
96250
|
+
* Gets the content control IDs.
|
|
96251
|
+
*
|
|
96252
|
+
* @remarks
|
|
96253
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
96254
|
+
* @beta
|
|
96255
|
+
*/
|
|
96256
|
+
ids: number[];
|
|
96257
|
+
/**
|
|
96258
|
+
* The source of the event. It can be local or remote (through coauthoring).
|
|
96259
|
+
*
|
|
96260
|
+
* @remarks
|
|
96261
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
96262
|
+
* @beta
|
|
96263
|
+
*/
|
|
96264
|
+
source: Word.EventSource | "Local" | "Remote";
|
|
96265
|
+
}
|
|
96266
|
+
/**
|
|
96267
|
+
* Provides information about the content control that raised contentControlSelectionChanged event.
|
|
96268
|
+
*
|
|
96269
|
+
* @remarks
|
|
96270
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
96271
|
+
* @beta
|
|
96272
|
+
*/
|
|
96273
|
+
interface ContentControlSelectionChangedEventArgs {
|
|
96274
|
+
/**
|
|
96275
|
+
* The event type. See Word.EventType for details.
|
|
96276
|
+
*
|
|
96277
|
+
* @remarks
|
|
96278
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
96279
|
+
* @beta
|
|
96280
|
+
*/
|
|
96281
|
+
eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited";
|
|
96282
|
+
/**
|
|
96283
|
+
* Gets the content control IDs.
|
|
96284
|
+
*
|
|
96285
|
+
* @remarks
|
|
96286
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
96287
|
+
* @beta
|
|
96288
|
+
*/
|
|
96289
|
+
ids: number[];
|
|
96290
|
+
/**
|
|
96291
|
+
* The source of the event. It can be local or remote (through coauthoring).
|
|
96292
|
+
*
|
|
96293
|
+
* @remarks
|
|
96294
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
96295
|
+
* @beta
|
|
96296
|
+
*/
|
|
96297
|
+
source: Word.EventSource | "Local" | "Remote";
|
|
96298
|
+
}
|
|
96095
96299
|
/**
|
|
96096
96300
|
* Provides information about the comments that raised the comment event.
|
|
96097
96301
|
*
|
|
@@ -98039,7 +98243,7 @@ declare namespace Word {
|
|
|
98039
98243
|
*/
|
|
98040
98244
|
character = "Character",
|
|
98041
98245
|
/**
|
|
98042
|
-
* Represents that the style is a list style.
|
|
98246
|
+
* Represents that the style is a list style. Currently supported on desktop.
|
|
98043
98247
|
* @remarks
|
|
98044
98248
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
98045
98249
|
* @beta
|
|
@@ -98096,6 +98300,48 @@ declare namespace Word {
|
|
|
98096
98300
|
* @beta
|
|
98097
98301
|
*/
|
|
98098
98302
|
outlineLevel4 = "OutlineLevel4",
|
|
98303
|
+
/**
|
|
98304
|
+
* Represents outline level 5.
|
|
98305
|
+
* @remarks
|
|
98306
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
98307
|
+
* @beta
|
|
98308
|
+
*/
|
|
98309
|
+
outlineLevel5 = "OutlineLevel5",
|
|
98310
|
+
/**
|
|
98311
|
+
* Represents outline level 6.
|
|
98312
|
+
* @remarks
|
|
98313
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
98314
|
+
* @beta
|
|
98315
|
+
*/
|
|
98316
|
+
outlineLevel6 = "OutlineLevel6",
|
|
98317
|
+
/**
|
|
98318
|
+
* Represents outline level 7.
|
|
98319
|
+
* @remarks
|
|
98320
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
98321
|
+
* @beta
|
|
98322
|
+
*/
|
|
98323
|
+
outlineLevel7 = "OutlineLevel7",
|
|
98324
|
+
/**
|
|
98325
|
+
* Represents outline level 8.
|
|
98326
|
+
* @remarks
|
|
98327
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
98328
|
+
* @beta
|
|
98329
|
+
*/
|
|
98330
|
+
outlineLevel8 = "OutlineLevel8",
|
|
98331
|
+
/**
|
|
98332
|
+
* Represents outline level 9.
|
|
98333
|
+
* @remarks
|
|
98334
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
98335
|
+
* @beta
|
|
98336
|
+
*/
|
|
98337
|
+
outlineLevel9 = "OutlineLevel9",
|
|
98338
|
+
/**
|
|
98339
|
+
* Represents outline level body text, not an outline level.
|
|
98340
|
+
* @remarks
|
|
98341
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
98342
|
+
* @beta
|
|
98343
|
+
*/
|
|
98344
|
+
outlineLevelBodyText = "OutlineLevelBodyText",
|
|
98099
98345
|
}
|
|
98100
98346
|
/**
|
|
98101
98347
|
* Specifies the close behavior for `Document.close`.
|
|
@@ -99566,7 +99812,7 @@ declare namespace Word {
|
|
|
99566
99812
|
*/
|
|
99567
99813
|
code?: string;
|
|
99568
99814
|
/**
|
|
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
|
|
99815
|
+
* 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
99816
|
*
|
|
99571
99817
|
* @remarks
|
|
99572
99818
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -99772,7 +100018,7 @@ declare namespace Word {
|
|
|
99772
100018
|
*/
|
|
99773
100019
|
numberFormat?: string;
|
|
99774
100020
|
/**
|
|
99775
|
-
* Gets or sets the position (in points) of the number or bullet for the specified list level object
|
|
100021
|
+
* Gets or sets the position (in points) of the number or bullet for the specified list level object.
|
|
99776
100022
|
*
|
|
99777
100023
|
* @remarks
|
|
99778
100024
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -99780,7 +100026,7 @@ declare namespace Word {
|
|
|
99780
100026
|
*/
|
|
99781
100027
|
numberPosition?: number;
|
|
99782
100028
|
/**
|
|
99783
|
-
* Gets or sets the number style for the list level object
|
|
100029
|
+
* Gets or sets the number style for the list level object.
|
|
99784
100030
|
*
|
|
99785
100031
|
* @remarks
|
|
99786
100032
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -99788,7 +100034,7 @@ declare namespace Word {
|
|
|
99788
100034
|
*/
|
|
99789
100035
|
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
100036
|
/**
|
|
99791
|
-
* Gets or sets the list level that must appear before the specified list level restarts numbering at 1
|
|
100037
|
+
* Gets or sets the list level that must appear before the specified list level restarts numbering at 1.
|
|
99792
100038
|
*
|
|
99793
100039
|
* @remarks
|
|
99794
100040
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -99796,7 +100042,7 @@ declare namespace Word {
|
|
|
99796
100042
|
*/
|
|
99797
100043
|
resetOnHigher?: number;
|
|
99798
100044
|
/**
|
|
99799
|
-
* Gets or sets the starting number for the specified list level object
|
|
100045
|
+
* Gets or sets the starting number for the specified list level object.
|
|
99800
100046
|
*
|
|
99801
100047
|
* @remarks
|
|
99802
100048
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -99804,7 +100050,7 @@ declare namespace Word {
|
|
|
99804
100050
|
*/
|
|
99805
100051
|
startAt?: number;
|
|
99806
100052
|
/**
|
|
99807
|
-
* Gets or sets the tab position for the specified list level object
|
|
100053
|
+
* Gets or sets the tab position for the specified list level object.
|
|
99808
100054
|
*
|
|
99809
100055
|
* @remarks
|
|
99810
100056
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -99812,7 +100058,7 @@ declare namespace Word {
|
|
|
99812
100058
|
*/
|
|
99813
100059
|
tabPosition?: number;
|
|
99814
100060
|
/**
|
|
99815
|
-
* Gets or sets the position (in points) for the second line of wrapping text for the specified list level object
|
|
100061
|
+
* Gets or sets the position (in points) for the second line of wrapping text for the specified list level object.
|
|
99816
100062
|
*
|
|
99817
100063
|
* @remarks
|
|
99818
100064
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -99835,7 +100081,7 @@ declare namespace Word {
|
|
|
99835
100081
|
/** An interface for updating data on the ListTemplate object, for use in `listTemplate.set({ ... })`. */
|
|
99836
100082
|
interface ListTemplateUpdateData {
|
|
99837
100083
|
/**
|
|
99838
|
-
* Gets or sets whether the specified ListTemplate object is outline numbered
|
|
100084
|
+
* Gets or sets whether the specified ListTemplate object is outline numbered.
|
|
99839
100085
|
*
|
|
99840
100086
|
* @remarks
|
|
99841
100087
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -100011,7 +100257,7 @@ declare namespace Word {
|
|
|
100011
100257
|
*/
|
|
100012
100258
|
keepWithNext?: boolean;
|
|
100013
100259
|
/**
|
|
100014
|
-
* Gets or sets the left
|
|
100260
|
+
* Gets or sets the left indent.
|
|
100015
100261
|
*
|
|
100016
100262
|
* @remarks
|
|
100017
100263
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -100057,7 +100303,7 @@ declare namespace Word {
|
|
|
100057
100303
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
100058
100304
|
* @beta
|
|
100059
100305
|
*/
|
|
100060
|
-
outlineLevel?: Word.OutlineLevel | "OutlineLevel1" | "OutlineLevel2" | "OutlineLevel3" | "OutlineLevel4";
|
|
100306
|
+
outlineLevel?: Word.OutlineLevel | "OutlineLevel1" | "OutlineLevel2" | "OutlineLevel3" | "OutlineLevel4" | "OutlineLevel5" | "OutlineLevel6" | "OutlineLevel7" | "OutlineLevel8" | "OutlineLevel9" | "OutlineLevelBodyText";
|
|
100061
100307
|
/**
|
|
100062
100308
|
* Gets or sets the right indent (in points) for the specified paragraphs.
|
|
100063
100309
|
*
|
|
@@ -101493,7 +101739,7 @@ declare namespace Word {
|
|
|
101493
101739
|
*/
|
|
101494
101740
|
numberFormat?: string;
|
|
101495
101741
|
/**
|
|
101496
|
-
* Gets or sets the position (in points) of the number or bullet for the specified list level object
|
|
101742
|
+
* Gets or sets the position (in points) of the number or bullet for the specified list level object.
|
|
101497
101743
|
*
|
|
101498
101744
|
* @remarks
|
|
101499
101745
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -101501,7 +101747,7 @@ declare namespace Word {
|
|
|
101501
101747
|
*/
|
|
101502
101748
|
numberPosition?: number;
|
|
101503
101749
|
/**
|
|
101504
|
-
* Gets or sets the number style for the list level object
|
|
101750
|
+
* Gets or sets the number style for the list level object.
|
|
101505
101751
|
*
|
|
101506
101752
|
* @remarks
|
|
101507
101753
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -101509,7 +101755,7 @@ declare namespace Word {
|
|
|
101509
101755
|
*/
|
|
101510
101756
|
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
101757
|
/**
|
|
101512
|
-
* Gets or sets the list level that must appear before the specified list level restarts numbering at 1
|
|
101758
|
+
* Gets or sets the list level that must appear before the specified list level restarts numbering at 1.
|
|
101513
101759
|
*
|
|
101514
101760
|
* @remarks
|
|
101515
101761
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -101517,7 +101763,7 @@ declare namespace Word {
|
|
|
101517
101763
|
*/
|
|
101518
101764
|
resetOnHigher?: number;
|
|
101519
101765
|
/**
|
|
101520
|
-
* Gets or sets the starting number for the specified list level object
|
|
101766
|
+
* Gets or sets the starting number for the specified list level object.
|
|
101521
101767
|
*
|
|
101522
101768
|
* @remarks
|
|
101523
101769
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -101525,7 +101771,7 @@ declare namespace Word {
|
|
|
101525
101771
|
*/
|
|
101526
101772
|
startAt?: number;
|
|
101527
101773
|
/**
|
|
101528
|
-
* Gets or sets the tab position for the specified list level object
|
|
101774
|
+
* Gets or sets the tab position for the specified list level object.
|
|
101529
101775
|
*
|
|
101530
101776
|
* @remarks
|
|
101531
101777
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -101533,7 +101779,7 @@ declare namespace Word {
|
|
|
101533
101779
|
*/
|
|
101534
101780
|
tabPosition?: number;
|
|
101535
101781
|
/**
|
|
101536
|
-
* Gets or sets the position (in points) for the second line of wrapping text for the specified list level object
|
|
101782
|
+
* Gets or sets the position (in points) for the second line of wrapping text for the specified list level object.
|
|
101537
101783
|
*
|
|
101538
101784
|
* @remarks
|
|
101539
101785
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -101564,7 +101810,7 @@ declare namespace Word {
|
|
|
101564
101810
|
*/
|
|
101565
101811
|
listLevels?: Word.Interfaces.ListLevelData[];
|
|
101566
101812
|
/**
|
|
101567
|
-
* Gets or sets whether the specified ListTemplate object is outline numbered
|
|
101813
|
+
* Gets or sets whether the specified ListTemplate object is outline numbered.
|
|
101568
101814
|
*
|
|
101569
101815
|
* @remarks
|
|
101570
101816
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -101789,7 +102035,7 @@ declare namespace Word {
|
|
|
101789
102035
|
*/
|
|
101790
102036
|
keepWithNext?: boolean;
|
|
101791
102037
|
/**
|
|
101792
|
-
* Gets or sets the left
|
|
102038
|
+
* Gets or sets the left indent.
|
|
101793
102039
|
*
|
|
101794
102040
|
* @remarks
|
|
101795
102041
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -101835,7 +102081,7 @@ declare namespace Word {
|
|
|
101835
102081
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
101836
102082
|
* @beta
|
|
101837
102083
|
*/
|
|
101838
|
-
outlineLevel?: Word.OutlineLevel | "OutlineLevel1" | "OutlineLevel2" | "OutlineLevel3" | "OutlineLevel4";
|
|
102084
|
+
outlineLevel?: Word.OutlineLevel | "OutlineLevel1" | "OutlineLevel2" | "OutlineLevel3" | "OutlineLevel4" | "OutlineLevel5" | "OutlineLevel6" | "OutlineLevel7" | "OutlineLevel8" | "OutlineLevel9" | "OutlineLevelBodyText";
|
|
101839
102085
|
/**
|
|
101840
102086
|
* Gets or sets the right indent (in points) for the specified paragraphs.
|
|
101841
102087
|
*
|
|
@@ -103625,7 +103871,7 @@ declare namespace Word {
|
|
|
103625
103871
|
*/
|
|
103626
103872
|
code?: boolean;
|
|
103627
103873
|
/**
|
|
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
|
|
103874
|
+
* 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
103875
|
*
|
|
103630
103876
|
* @remarks
|
|
103631
103877
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -103740,7 +103986,7 @@ declare namespace Word {
|
|
|
103740
103986
|
*/
|
|
103741
103987
|
code?: boolean;
|
|
103742
103988
|
/**
|
|
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
|
|
103989
|
+
* 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
103990
|
*
|
|
103745
103991
|
* @remarks
|
|
103746
103992
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -104235,7 +104481,7 @@ declare namespace Word {
|
|
|
104235
104481
|
*/
|
|
104236
104482
|
numberFormat?: boolean;
|
|
104237
104483
|
/**
|
|
104238
|
-
* Gets or sets the position (in points) of the number or bullet for the specified list level object
|
|
104484
|
+
* Gets or sets the position (in points) of the number or bullet for the specified list level object.
|
|
104239
104485
|
*
|
|
104240
104486
|
* @remarks
|
|
104241
104487
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -104243,7 +104489,7 @@ declare namespace Word {
|
|
|
104243
104489
|
*/
|
|
104244
104490
|
numberPosition?: boolean;
|
|
104245
104491
|
/**
|
|
104246
|
-
* Gets or sets the number style for the list level object
|
|
104492
|
+
* Gets or sets the number style for the list level object.
|
|
104247
104493
|
*
|
|
104248
104494
|
* @remarks
|
|
104249
104495
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -104251,7 +104497,7 @@ declare namespace Word {
|
|
|
104251
104497
|
*/
|
|
104252
104498
|
numberStyle?: boolean;
|
|
104253
104499
|
/**
|
|
104254
|
-
* Gets or sets the list level that must appear before the specified list level restarts numbering at 1
|
|
104500
|
+
* Gets or sets the list level that must appear before the specified list level restarts numbering at 1.
|
|
104255
104501
|
*
|
|
104256
104502
|
* @remarks
|
|
104257
104503
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -104259,7 +104505,7 @@ declare namespace Word {
|
|
|
104259
104505
|
*/
|
|
104260
104506
|
resetOnHigher?: boolean;
|
|
104261
104507
|
/**
|
|
104262
|
-
* Gets or sets the starting number for the specified list level object
|
|
104508
|
+
* Gets or sets the starting number for the specified list level object.
|
|
104263
104509
|
*
|
|
104264
104510
|
* @remarks
|
|
104265
104511
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -104267,7 +104513,7 @@ declare namespace Word {
|
|
|
104267
104513
|
*/
|
|
104268
104514
|
startAt?: boolean;
|
|
104269
104515
|
/**
|
|
104270
|
-
* Gets or sets the tab position for the specified list level object
|
|
104516
|
+
* Gets or sets the tab position for the specified list level object.
|
|
104271
104517
|
*
|
|
104272
104518
|
* @remarks
|
|
104273
104519
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -104275,7 +104521,7 @@ declare namespace Word {
|
|
|
104275
104521
|
*/
|
|
104276
104522
|
tabPosition?: boolean;
|
|
104277
104523
|
/**
|
|
104278
|
-
* Gets or sets the position (in points) for the second line of wrapping text for the specified list level object
|
|
104524
|
+
* Gets or sets the position (in points) for the second line of wrapping text for the specified list level object.
|
|
104279
104525
|
*
|
|
104280
104526
|
* @remarks
|
|
104281
104527
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -104336,7 +104582,7 @@ declare namespace Word {
|
|
|
104336
104582
|
*/
|
|
104337
104583
|
numberFormat?: boolean;
|
|
104338
104584
|
/**
|
|
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
|
|
104585
|
+
* 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
104586
|
*
|
|
104341
104587
|
* @remarks
|
|
104342
104588
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -104344,7 +104590,7 @@ declare namespace Word {
|
|
|
104344
104590
|
*/
|
|
104345
104591
|
numberPosition?: boolean;
|
|
104346
104592
|
/**
|
|
104347
|
-
* For EACH ITEM in the collection: Gets or sets the number style for the list level object
|
|
104593
|
+
* For EACH ITEM in the collection: Gets or sets the number style for the list level object.
|
|
104348
104594
|
*
|
|
104349
104595
|
* @remarks
|
|
104350
104596
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -104352,7 +104598,7 @@ declare namespace Word {
|
|
|
104352
104598
|
*/
|
|
104353
104599
|
numberStyle?: boolean;
|
|
104354
104600
|
/**
|
|
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
|
|
104601
|
+
* 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
104602
|
*
|
|
104357
104603
|
* @remarks
|
|
104358
104604
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -104360,7 +104606,7 @@ declare namespace Word {
|
|
|
104360
104606
|
*/
|
|
104361
104607
|
resetOnHigher?: boolean;
|
|
104362
104608
|
/**
|
|
104363
|
-
* For EACH ITEM in the collection: Gets or sets the starting number for the specified list level object
|
|
104609
|
+
* For EACH ITEM in the collection: Gets or sets the starting number for the specified list level object.
|
|
104364
104610
|
*
|
|
104365
104611
|
* @remarks
|
|
104366
104612
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -104368,7 +104614,7 @@ declare namespace Word {
|
|
|
104368
104614
|
*/
|
|
104369
104615
|
startAt?: boolean;
|
|
104370
104616
|
/**
|
|
104371
|
-
* For EACH ITEM in the collection: Gets or sets the tab position for the specified list level object
|
|
104617
|
+
* For EACH ITEM in the collection: Gets or sets the tab position for the specified list level object.
|
|
104372
104618
|
*
|
|
104373
104619
|
* @remarks
|
|
104374
104620
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -104376,7 +104622,7 @@ declare namespace Word {
|
|
|
104376
104622
|
*/
|
|
104377
104623
|
tabPosition?: boolean;
|
|
104378
104624
|
/**
|
|
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
|
|
104625
|
+
* 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
104626
|
*
|
|
104381
104627
|
* @remarks
|
|
104382
104628
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -104405,7 +104651,7 @@ declare namespace Word {
|
|
|
104405
104651
|
*/
|
|
104406
104652
|
$all?: boolean;
|
|
104407
104653
|
/**
|
|
104408
|
-
* Gets or sets whether the specified ListTemplate object is outline numbered
|
|
104654
|
+
* Gets or sets whether the specified ListTemplate object is outline numbered.
|
|
104409
104655
|
*
|
|
104410
104656
|
* @remarks
|
|
104411
104657
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -104940,7 +105186,7 @@ declare namespace Word {
|
|
|
104940
105186
|
*/
|
|
104941
105187
|
keepWithNext?: boolean;
|
|
104942
105188
|
/**
|
|
104943
|
-
* Gets or sets the left
|
|
105189
|
+
* Gets or sets the left indent.
|
|
104944
105190
|
*
|
|
104945
105191
|
* @remarks
|
|
104946
105192
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
office-js-preview/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js-preview",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.383",
|
|
4
4
|
"description": "TypeScript definitions for Office.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,6 +45,6 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "d68c30aac167a5c05122e2408207ea802b255a74c7ba244fb94734618394d5e7",
|
|
49
49
|
"typeScriptVersion": "4.3"
|
|
50
50
|
}
|