@types/office-js-preview 1.0.531 → 1.0.533
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 +95 -84
- 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-preview (https://github.com
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Tue, 19 Nov 2024 18:38:08 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js-preview/index.d.ts
CHANGED
|
@@ -11851,6 +11851,8 @@ declare namespace Office {
|
|
|
11851
11851
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
|
|
11852
11852
|
*
|
|
11853
11853
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Attendee
|
|
11854
|
+
*
|
|
11855
|
+
* **Important**: In Outlook on the web and on Windows (new and classic), the appointment organizer is included in the object returned by the `requiredAttendees` property.
|
|
11854
11856
|
*/
|
|
11855
11857
|
requiredAttendees: EmailAddressDetails[];
|
|
11856
11858
|
/**
|
|
@@ -21497,6 +21499,9 @@ declare namespace Office {
|
|
|
21497
21499
|
*
|
|
21498
21500
|
* - Mac (new UI): No limit
|
|
21499
21501
|
*
|
|
21502
|
+
* In classic Outlook on Windows, the appointment organizer is included in the object returned by the `getAsync` method when you create a new appointment or edit an
|
|
21503
|
+
* existing one. In Outlook on the web and new Outlook on Windows, the organizer is only included in the returned object when you edit an existing appointment.
|
|
21504
|
+
*
|
|
21500
21505
|
* The `getAsync` method only returns recipients resolved by the Outlook client. A resolved recipient has the following characteristics.
|
|
21501
21506
|
*
|
|
21502
21507
|
* - If the recipient has a saved entry in the sender's address book, Outlook resolves the email address to the recipient's saved display name.
|
|
@@ -94367,7 +94372,7 @@ declare namespace Word {
|
|
|
94367
94372
|
* [Api set: WordApi 1.1]
|
|
94368
94373
|
*
|
|
94369
94374
|
* Note: The `contentControlType` parameter was introduced in WordApi 1.5. `PlainText` support was added in WordApi 1.5. `CheckBox` support was added in WordApi 1.7.
|
|
94370
|
-
* `DropDownList` and `ComboBox` support
|
|
94375
|
+
* `DropDownList` and `ComboBox` support was added in WordApi 1.9.
|
|
94371
94376
|
*
|
|
94372
94377
|
* @param contentControlType Optional. Content control type to insert. Must be 'RichText', 'PlainText', 'CheckBox', 'DropDownList', or 'ComboBox'. The default is 'RichText'.
|
|
94373
94378
|
*/
|
|
@@ -95300,18 +95305,17 @@ declare namespace Word {
|
|
|
95300
95305
|
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
95301
95306
|
context: RequestContext;
|
|
95302
95307
|
/**
|
|
95303
|
-
*
|
|
95308
|
+
* Gets the data of the content control when its type is 'CheckBox'. It's `null` otherwise.
|
|
95304
95309
|
*
|
|
95305
95310
|
* @remarks
|
|
95306
95311
|
* [Api set: WordApi 1.7]
|
|
95307
95312
|
*/
|
|
95308
95313
|
readonly checkboxContentControl: Word.CheckboxContentControl;
|
|
95309
95314
|
/**
|
|
95310
|
-
*
|
|
95315
|
+
* Gets the data of the content control when its type is 'ComboBox'. It's `null` otherwise.
|
|
95311
95316
|
*
|
|
95312
95317
|
* @remarks
|
|
95313
|
-
* [Api set: WordApi
|
|
95314
|
-
* @beta
|
|
95318
|
+
* [Api set: WordApi 1.9]
|
|
95315
95319
|
*/
|
|
95316
95320
|
readonly comboBoxContentControl: Word.ComboBoxContentControl;
|
|
95317
95321
|
/**
|
|
@@ -95322,11 +95326,10 @@ declare namespace Word {
|
|
|
95322
95326
|
*/
|
|
95323
95327
|
readonly contentControls: Word.ContentControlCollection;
|
|
95324
95328
|
/**
|
|
95325
|
-
*
|
|
95329
|
+
* Gets the data of the content control when its type is 'DropDownList'. It's `null` otherwise.
|
|
95326
95330
|
*
|
|
95327
95331
|
* @remarks
|
|
95328
|
-
* [Api set: WordApi
|
|
95329
|
-
* @beta
|
|
95332
|
+
* [Api set: WordApi 1.9]
|
|
95330
95333
|
*/
|
|
95331
95334
|
readonly dropDownListContentControl: Word.DropDownListContentControl;
|
|
95332
95335
|
/**
|
|
@@ -96040,8 +96043,7 @@ declare namespace Word {
|
|
|
96040
96043
|
* Represents a list item in a dropdown list or combo box content control.
|
|
96041
96044
|
*
|
|
96042
96045
|
* @remarks
|
|
96043
|
-
* [Api set: WordApi
|
|
96044
|
-
* @beta
|
|
96046
|
+
* [Api set: WordApi 1.9]
|
|
96045
96047
|
*/
|
|
96046
96048
|
class ContentControlListItem extends OfficeExtension.ClientObject {
|
|
96047
96049
|
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
@@ -96050,24 +96052,21 @@ declare namespace Word {
|
|
|
96050
96052
|
* Specifies the display text of a list item for a dropdown list or combo box content control.
|
|
96051
96053
|
*
|
|
96052
96054
|
* @remarks
|
|
96053
|
-
* [Api set: WordApi
|
|
96054
|
-
* @beta
|
|
96055
|
+
* [Api set: WordApi 1.9]
|
|
96055
96056
|
*/
|
|
96056
96057
|
displayText: string;
|
|
96057
96058
|
/**
|
|
96058
96059
|
* Specifies the index location of a content control list item in the collection of list items.
|
|
96059
96060
|
*
|
|
96060
96061
|
* @remarks
|
|
96061
|
-
* [Api set: WordApi
|
|
96062
|
-
* @beta
|
|
96062
|
+
* [Api set: WordApi 1.9]
|
|
96063
96063
|
*/
|
|
96064
96064
|
index: number;
|
|
96065
96065
|
/**
|
|
96066
96066
|
* Specifies the programmatic value of a list item for a dropdown list or combo box content control.
|
|
96067
96067
|
*
|
|
96068
96068
|
* @remarks
|
|
96069
|
-
* [Api set: WordApi
|
|
96070
|
-
* @beta
|
|
96069
|
+
* [Api set: WordApi 1.9]
|
|
96071
96070
|
*/
|
|
96072
96071
|
value: string;
|
|
96073
96072
|
/**
|
|
@@ -96082,16 +96081,14 @@ declare namespace Word {
|
|
|
96082
96081
|
* Deletes the list item.
|
|
96083
96082
|
*
|
|
96084
96083
|
* @remarks
|
|
96085
|
-
* [Api set: WordApi
|
|
96086
|
-
* @beta
|
|
96084
|
+
* [Api set: WordApi 1.9]
|
|
96087
96085
|
*/
|
|
96088
96086
|
delete(): void;
|
|
96089
96087
|
/**
|
|
96090
96088
|
* Selects the list item and sets the text of the content control to the value of the list item.
|
|
96091
96089
|
*
|
|
96092
96090
|
* @remarks
|
|
96093
|
-
* [Api set: WordApi
|
|
96094
|
-
* @beta
|
|
96091
|
+
* [Api set: WordApi 1.9]
|
|
96095
96092
|
*/
|
|
96096
96093
|
select(): void;
|
|
96097
96094
|
/**
|
|
@@ -96133,8 +96130,7 @@ declare namespace Word {
|
|
|
96133
96130
|
* Contains a collection of {@link Word.ContentControlListItem} objects that represent the items in a dropdown list or combo box content control.
|
|
96134
96131
|
*
|
|
96135
96132
|
* @remarks
|
|
96136
|
-
* [Api set: WordApi
|
|
96137
|
-
* @beta
|
|
96133
|
+
* [Api set: WordApi 1.9]
|
|
96138
96134
|
*/
|
|
96139
96135
|
class ContentControlListItemCollection extends OfficeExtension.ClientObject {
|
|
96140
96136
|
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
@@ -96145,8 +96141,7 @@ declare namespace Word {
|
|
|
96145
96141
|
* Gets the first list item in this collection. Throws an `ItemNotFound` error if this collection is empty.
|
|
96146
96142
|
*
|
|
96147
96143
|
* @remarks
|
|
96148
|
-
* [Api set: WordApi
|
|
96149
|
-
* @beta
|
|
96144
|
+
* [Api set: WordApi 1.9]
|
|
96150
96145
|
*/
|
|
96151
96146
|
getFirst(): Word.ContentControlListItem;
|
|
96152
96147
|
/**
|
|
@@ -96155,8 +96150,7 @@ declare namespace Word {
|
|
|
96155
96150
|
see {@link https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods and properties}.
|
|
96156
96151
|
*
|
|
96157
96152
|
* @remarks
|
|
96158
|
-
* [Api set: WordApi
|
|
96159
|
-
* @beta
|
|
96153
|
+
* [Api set: WordApi 1.9]
|
|
96160
96154
|
*/
|
|
96161
96155
|
getFirstOrNullObject(): Word.ContentControlListItem;
|
|
96162
96156
|
/**
|
|
@@ -96205,7 +96199,7 @@ declare namespace Word {
|
|
|
96205
96199
|
* [Api set: WordApi 1.5]
|
|
96206
96200
|
*
|
|
96207
96201
|
* Note: 'PlainText' support was added in WordApi 1.5. 'CheckBox' support was added in WordApi 1.7.
|
|
96208
|
-
* 'DropDownList' and 'ComboBox' support
|
|
96202
|
+
* 'DropDownList' and 'ComboBox' support was added in WordApi 1.9.
|
|
96209
96203
|
*/
|
|
96210
96204
|
types: Word.ContentControlType[];
|
|
96211
96205
|
}
|
|
@@ -97049,9 +97043,24 @@ declare namespace Word {
|
|
|
97049
97043
|
* @remarks
|
|
97050
97044
|
* [Api set: WordApi 1.6]
|
|
97051
97045
|
*
|
|
97046
|
+
* Note: The `importedStylesConflictBehavior` parameter was introduced in WordApiDesktop 1.1.
|
|
97047
|
+
*
|
|
97048
|
+
* @param stylesJson Required. A JSON-formatted string representing the styles.
|
|
97049
|
+
* @param importedStylesConflictBehavior Optional. Specifies how to handle any imported styles with the same name as existing styles in the current document.
|
|
97050
|
+
*/
|
|
97051
|
+
importStylesFromJson(stylesJson: string, importedStylesConflictBehavior?: Word.ImportedStylesConflictBehavior): OfficeExtension.ClientResult<string[]>;
|
|
97052
|
+
/**
|
|
97053
|
+
* Import styles from a JSON-formatted string.
|
|
97054
|
+
*
|
|
97055
|
+
* @remarks
|
|
97056
|
+
* [Api set: WordApi 1.6]
|
|
97057
|
+
*
|
|
97058
|
+
* Note: The `importedStylesConflictBehavior` parameter was introduced in WordApiDesktop 1.1.
|
|
97059
|
+
*
|
|
97052
97060
|
* @param stylesJson Required. A JSON-formatted string representing the styles.
|
|
97061
|
+
* @param importedStylesConflictBehavior Optional. Specifies how to handle any imported styles with the same name as existing styles in the current document.
|
|
97053
97062
|
*/
|
|
97054
|
-
importStylesFromJson(stylesJson: string): OfficeExtension.ClientResult<string[]>;
|
|
97063
|
+
importStylesFromJson(stylesJson: string, importedStylesConflictBehavior?: "Ignore" | "Overwrite" | "CreateNew"): OfficeExtension.ClientResult<string[]>;
|
|
97055
97064
|
/**
|
|
97056
97065
|
* Inserts a document into the target document at a specific location with additional properties.
|
|
97057
97066
|
Headers, footers, watermarks, and other section properties are copied by default.
|
|
@@ -97616,8 +97625,7 @@ declare namespace Word {
|
|
|
97616
97625
|
* The data specific to content controls of type DropDownList.
|
|
97617
97626
|
*
|
|
97618
97627
|
* @remarks
|
|
97619
|
-
* [Api set: WordApi
|
|
97620
|
-
* @beta
|
|
97628
|
+
* [Api set: WordApi 1.9]
|
|
97621
97629
|
*/
|
|
97622
97630
|
class DropDownListContentControl extends OfficeExtension.ClientObject {
|
|
97623
97631
|
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
@@ -97626,16 +97634,14 @@ declare namespace Word {
|
|
|
97626
97634
|
* Gets the collection of list items in the dropdown list content control.
|
|
97627
97635
|
*
|
|
97628
97636
|
* @remarks
|
|
97629
|
-
* [Api set: WordApi
|
|
97630
|
-
* @beta
|
|
97637
|
+
* [Api set: WordApi 1.9]
|
|
97631
97638
|
*/
|
|
97632
97639
|
readonly listItems: Word.ContentControlListItemCollection;
|
|
97633
97640
|
/**
|
|
97634
97641
|
* Adds a new list item to this dropdown list content control and returns a {@link Word.ContentControlListItem} object.
|
|
97635
97642
|
*
|
|
97636
97643
|
* @remarks
|
|
97637
|
-
* [Api set: WordApi
|
|
97638
|
-
* @beta
|
|
97644
|
+
* [Api set: WordApi 1.9]
|
|
97639
97645
|
*
|
|
97640
97646
|
* @param displayText Required. Display text of the list item.
|
|
97641
97647
|
* @param value Optional. Value of the list item.
|
|
@@ -97646,8 +97652,7 @@ declare namespace Word {
|
|
|
97646
97652
|
* Deletes all list items in this dropdown list content control.
|
|
97647
97653
|
*
|
|
97648
97654
|
* @remarks
|
|
97649
|
-
* [Api set: WordApi
|
|
97650
|
-
* @beta
|
|
97655
|
+
* [Api set: WordApi 1.9]
|
|
97651
97656
|
*/
|
|
97652
97657
|
deleteAllListItems(): void;
|
|
97653
97658
|
/**
|
|
@@ -97683,8 +97688,7 @@ declare namespace Word {
|
|
|
97683
97688
|
* The data specific to content controls of type 'ComboBox'.
|
|
97684
97689
|
*
|
|
97685
97690
|
* @remarks
|
|
97686
|
-
* [Api set: WordApi
|
|
97687
|
-
* @beta
|
|
97691
|
+
* [Api set: WordApi 1.9]
|
|
97688
97692
|
*/
|
|
97689
97693
|
class ComboBoxContentControl extends OfficeExtension.ClientObject {
|
|
97690
97694
|
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
@@ -97693,16 +97697,14 @@ declare namespace Word {
|
|
|
97693
97697
|
* Gets the collection of list items in the combo box content control.
|
|
97694
97698
|
*
|
|
97695
97699
|
* @remarks
|
|
97696
|
-
* [Api set: WordApi
|
|
97697
|
-
* @beta
|
|
97700
|
+
* [Api set: WordApi 1.9]
|
|
97698
97701
|
*/
|
|
97699
97702
|
readonly listItems: Word.ContentControlListItemCollection;
|
|
97700
97703
|
/**
|
|
97701
97704
|
* Adds a new list item to this combo box content control and returns a {@link Word.ContentControlListItem} object.
|
|
97702
97705
|
*
|
|
97703
97706
|
* @remarks
|
|
97704
|
-
* [Api set: WordApi
|
|
97705
|
-
* @beta
|
|
97707
|
+
* [Api set: WordApi 1.9]
|
|
97706
97708
|
*
|
|
97707
97709
|
* @param displayText Required. Display text of the list item.
|
|
97708
97710
|
* @param value Optional. Value of the list item.
|
|
@@ -97713,8 +97715,7 @@ declare namespace Word {
|
|
|
97713
97715
|
* Deletes all list items in this combo box content control.
|
|
97714
97716
|
*
|
|
97715
97717
|
* @remarks
|
|
97716
|
-
* [Api set: WordApi
|
|
97717
|
-
* @beta
|
|
97718
|
+
* [Api set: WordApi 1.9]
|
|
97718
97719
|
*/
|
|
97719
97720
|
deleteAllListItems(): void;
|
|
97720
97721
|
/**
|
|
@@ -99751,7 +99752,7 @@ declare namespace Word {
|
|
|
99751
99752
|
* [Api set: WordApi 1.1]
|
|
99752
99753
|
*
|
|
99753
99754
|
* Note: The `contentControlType` parameter was introduced in WordApi 1.5. `PlainText` support was added in WordApi 1.5. `CheckBox` support was added in WordApi 1.7.
|
|
99754
|
-
* `DropDownList` and `ComboBox` support
|
|
99755
|
+
* `DropDownList` and `ComboBox` support was added in WordApi 1.9.
|
|
99755
99756
|
*
|
|
99756
99757
|
* @param contentControlType Optional. Content control type to insert. Must be 'RichText', 'PlainText', 'CheckBox', 'DropDownList', or 'ComboBox'. The default is 'RichText'.
|
|
99757
99758
|
*/
|
|
@@ -100559,7 +100560,7 @@ declare namespace Word {
|
|
|
100559
100560
|
* [Api set: WordApi 1.1]
|
|
100560
100561
|
*
|
|
100561
100562
|
* Note: The `contentControlType` parameter was introduced in WordApi 1.5. `PlainText` support was added in WordApi 1.5. `CheckBox` support was added in WordApi 1.7.
|
|
100562
|
-
* `DropDownList` and `ComboBox` support
|
|
100563
|
+
* `DropDownList` and `ComboBox` support was added in WordApi 1.9.
|
|
100563
100564
|
*
|
|
100564
100565
|
* @param contentControlType Optional. Content control type to insert. Must be 'RichText', 'PlainText', 'CheckBox', 'DropDownList', or 'ComboBox'. The default is 'RichText'.
|
|
100565
100566
|
*/
|
|
@@ -107327,6 +107328,32 @@ declare namespace Word {
|
|
|
107327
107328
|
*/
|
|
107328
107329
|
compareTargetNew = "CompareTargetNew",
|
|
107329
107330
|
}
|
|
107331
|
+
/**
|
|
107332
|
+
* Specifies how to handle any conflicts, that is, when imported styles have the same name as existing styles in the current document.
|
|
107333
|
+
*
|
|
107334
|
+
* @remarks
|
|
107335
|
+
* [Api set: WordApiDesktop 1.1]
|
|
107336
|
+
*/
|
|
107337
|
+
enum ImportedStylesConflictBehavior {
|
|
107338
|
+
/**
|
|
107339
|
+
* Ignore conflicting imported styles and keep the existing version of those styles in the current document.
|
|
107340
|
+
* @remarks
|
|
107341
|
+
* [Api set: WordApiDesktop 1.1]
|
|
107342
|
+
*/
|
|
107343
|
+
ignore = "Ignore",
|
|
107344
|
+
/**
|
|
107345
|
+
* Overwrite the existing styles in the current document.
|
|
107346
|
+
* @remarks
|
|
107347
|
+
* [Api set: WordApiDesktop 1.1]
|
|
107348
|
+
*/
|
|
107349
|
+
overwrite = "Overwrite",
|
|
107350
|
+
/**
|
|
107351
|
+
* Rename conflicting imported styles so that both versions are kept in the current document. For example, if MyStyle already exists in the document, then the imported version could be added as MyStyle1.
|
|
107352
|
+
* @remarks
|
|
107353
|
+
* [Api set: WordApiDesktop 1.1]
|
|
107354
|
+
*/
|
|
107355
|
+
createNew = "CreateNew",
|
|
107356
|
+
}
|
|
107330
107357
|
enum ErrorCodes {
|
|
107331
107358
|
accessDenied = "AccessDenied",
|
|
107332
107359
|
generalException = "GeneralException",
|
|
@@ -107563,7 +107590,7 @@ declare namespace Word {
|
|
|
107563
107590
|
/** An interface for updating data on the `ContentControl` object, for use in `contentControl.set({ ... })`. */
|
|
107564
107591
|
interface ContentControlUpdateData {
|
|
107565
107592
|
/**
|
|
107566
|
-
*
|
|
107593
|
+
* Gets the data of the content control when its type is 'CheckBox'. It's `null` otherwise.
|
|
107567
107594
|
*
|
|
107568
107595
|
* @remarks
|
|
107569
107596
|
* [Api set: WordApi 1.7]
|
|
@@ -107657,24 +107684,21 @@ declare namespace Word {
|
|
|
107657
107684
|
* Specifies the display text of a list item for a dropdown list or combo box content control.
|
|
107658
107685
|
*
|
|
107659
107686
|
* @remarks
|
|
107660
|
-
* [Api set: WordApi
|
|
107661
|
-
* @beta
|
|
107687
|
+
* [Api set: WordApi 1.9]
|
|
107662
107688
|
*/
|
|
107663
107689
|
displayText?: string;
|
|
107664
107690
|
/**
|
|
107665
107691
|
* Specifies the index location of a content control list item in the collection of list items.
|
|
107666
107692
|
*
|
|
107667
107693
|
* @remarks
|
|
107668
|
-
* [Api set: WordApi
|
|
107669
|
-
* @beta
|
|
107694
|
+
* [Api set: WordApi 1.9]
|
|
107670
107695
|
*/
|
|
107671
107696
|
index?: number;
|
|
107672
107697
|
/**
|
|
107673
107698
|
* Specifies the programmatic value of a list item for a dropdown list or combo box content control.
|
|
107674
107699
|
*
|
|
107675
107700
|
* @remarks
|
|
107676
|
-
* [Api set: WordApi
|
|
107677
|
-
* @beta
|
|
107701
|
+
* [Api set: WordApi 1.9]
|
|
107678
107702
|
*/
|
|
107679
107703
|
value?: string;
|
|
107680
107704
|
}
|
|
@@ -109197,18 +109221,17 @@ declare namespace Word {
|
|
|
109197
109221
|
/** An interface describing the data returned by calling `contentControl.toJSON()`. */
|
|
109198
109222
|
interface ContentControlData {
|
|
109199
109223
|
/**
|
|
109200
|
-
*
|
|
109224
|
+
* Gets the data of the content control when its type is 'CheckBox'. It's `null` otherwise.
|
|
109201
109225
|
*
|
|
109202
109226
|
* @remarks
|
|
109203
109227
|
* [Api set: WordApi 1.7]
|
|
109204
109228
|
*/
|
|
109205
109229
|
checkboxContentControl?: Word.Interfaces.CheckboxContentControlData;
|
|
109206
109230
|
/**
|
|
109207
|
-
*
|
|
109231
|
+
* Gets the data of the content control when its type is 'ComboBox'. It's `null` otherwise.
|
|
109208
109232
|
*
|
|
109209
109233
|
* @remarks
|
|
109210
|
-
* [Api set: WordApi
|
|
109211
|
-
* @beta
|
|
109234
|
+
* [Api set: WordApi 1.9]
|
|
109212
109235
|
*/
|
|
109213
109236
|
comboBoxContentControl?: Word.Interfaces.ComboBoxContentControlData;
|
|
109214
109237
|
/**
|
|
@@ -109219,11 +109242,10 @@ declare namespace Word {
|
|
|
109219
109242
|
*/
|
|
109220
109243
|
contentControls?: Word.Interfaces.ContentControlData[];
|
|
109221
109244
|
/**
|
|
109222
|
-
*
|
|
109245
|
+
* Gets the data of the content control when its type is 'DropDownList'. It's `null` otherwise.
|
|
109223
109246
|
*
|
|
109224
109247
|
* @remarks
|
|
109225
|
-
* [Api set: WordApi
|
|
109226
|
-
* @beta
|
|
109248
|
+
* [Api set: WordApi 1.9]
|
|
109227
109249
|
*/
|
|
109228
109250
|
dropDownListContentControl?: Word.Interfaces.DropDownListContentControlData;
|
|
109229
109251
|
/**
|
|
@@ -109379,24 +109401,21 @@ declare namespace Word {
|
|
|
109379
109401
|
* Specifies the display text of a list item for a dropdown list or combo box content control.
|
|
109380
109402
|
*
|
|
109381
109403
|
* @remarks
|
|
109382
|
-
* [Api set: WordApi
|
|
109383
|
-
* @beta
|
|
109404
|
+
* [Api set: WordApi 1.9]
|
|
109384
109405
|
*/
|
|
109385
109406
|
displayText?: string;
|
|
109386
109407
|
/**
|
|
109387
109408
|
* Specifies the index location of a content control list item in the collection of list items.
|
|
109388
109409
|
*
|
|
109389
109410
|
* @remarks
|
|
109390
|
-
* [Api set: WordApi
|
|
109391
|
-
* @beta
|
|
109411
|
+
* [Api set: WordApi 1.9]
|
|
109392
109412
|
*/
|
|
109393
109413
|
index?: number;
|
|
109394
109414
|
/**
|
|
109395
109415
|
* Specifies the programmatic value of a list item for a dropdown list or combo box content control.
|
|
109396
109416
|
*
|
|
109397
109417
|
* @remarks
|
|
109398
|
-
* [Api set: WordApi
|
|
109399
|
-
* @beta
|
|
109418
|
+
* [Api set: WordApi 1.9]
|
|
109400
109419
|
*/
|
|
109401
109420
|
value?: string;
|
|
109402
109421
|
}
|
|
@@ -111695,7 +111714,7 @@ declare namespace Word {
|
|
|
111695
111714
|
*/
|
|
111696
111715
|
$all?: boolean;
|
|
111697
111716
|
/**
|
|
111698
|
-
*
|
|
111717
|
+
* Gets the data of the content control when its type is 'CheckBox'. It's `null` otherwise.
|
|
111699
111718
|
*
|
|
111700
111719
|
* @remarks
|
|
111701
111720
|
* [Api set: WordApi 1.7]
|
|
@@ -111868,7 +111887,7 @@ declare namespace Word {
|
|
|
111868
111887
|
*/
|
|
111869
111888
|
$all?: boolean;
|
|
111870
111889
|
/**
|
|
111871
|
-
* For EACH ITEM in the collection:
|
|
111890
|
+
* For EACH ITEM in the collection: Gets the data of the content control when its type is 'CheckBox'. It's `null` otherwise.
|
|
111872
111891
|
*
|
|
111873
111892
|
* @remarks
|
|
111874
111893
|
* [Api set: WordApi 1.7]
|
|
@@ -112033,8 +112052,7 @@ declare namespace Word {
|
|
|
112033
112052
|
* Represents a list item in a dropdown list or combo box content control.
|
|
112034
112053
|
*
|
|
112035
112054
|
* @remarks
|
|
112036
|
-
* [Api set: WordApi
|
|
112037
|
-
* @beta
|
|
112055
|
+
* [Api set: WordApi 1.9]
|
|
112038
112056
|
*/
|
|
112039
112057
|
interface ContentControlListItemLoadOptions {
|
|
112040
112058
|
/**
|
|
@@ -112045,24 +112063,21 @@ declare namespace Word {
|
|
|
112045
112063
|
* Specifies the display text of a list item for a dropdown list or combo box content control.
|
|
112046
112064
|
*
|
|
112047
112065
|
* @remarks
|
|
112048
|
-
* [Api set: WordApi
|
|
112049
|
-
* @beta
|
|
112066
|
+
* [Api set: WordApi 1.9]
|
|
112050
112067
|
*/
|
|
112051
112068
|
displayText?: boolean;
|
|
112052
112069
|
/**
|
|
112053
112070
|
* Specifies the index location of a content control list item in the collection of list items.
|
|
112054
112071
|
*
|
|
112055
112072
|
* @remarks
|
|
112056
|
-
* [Api set: WordApi
|
|
112057
|
-
* @beta
|
|
112073
|
+
* [Api set: WordApi 1.9]
|
|
112058
112074
|
*/
|
|
112059
112075
|
index?: boolean;
|
|
112060
112076
|
/**
|
|
112061
112077
|
* Specifies the programmatic value of a list item for a dropdown list or combo box content control.
|
|
112062
112078
|
*
|
|
112063
112079
|
* @remarks
|
|
112064
|
-
* [Api set: WordApi
|
|
112065
|
-
* @beta
|
|
112080
|
+
* [Api set: WordApi 1.9]
|
|
112066
112081
|
*/
|
|
112067
112082
|
value?: boolean;
|
|
112068
112083
|
}
|
|
@@ -112070,8 +112085,7 @@ declare namespace Word {
|
|
|
112070
112085
|
* Contains a collection of {@link Word.ContentControlListItem} objects that represent the items in a dropdown list or combo box content control.
|
|
112071
112086
|
*
|
|
112072
112087
|
* @remarks
|
|
112073
|
-
* [Api set: WordApi
|
|
112074
|
-
* @beta
|
|
112088
|
+
* [Api set: WordApi 1.9]
|
|
112075
112089
|
*/
|
|
112076
112090
|
interface ContentControlListItemCollectionLoadOptions {
|
|
112077
112091
|
/**
|
|
@@ -112082,24 +112096,21 @@ declare namespace Word {
|
|
|
112082
112096
|
* For EACH ITEM in the collection: Specifies the display text of a list item for a dropdown list or combo box content control.
|
|
112083
112097
|
*
|
|
112084
112098
|
* @remarks
|
|
112085
|
-
* [Api set: WordApi
|
|
112086
|
-
* @beta
|
|
112099
|
+
* [Api set: WordApi 1.9]
|
|
112087
112100
|
*/
|
|
112088
112101
|
displayText?: boolean;
|
|
112089
112102
|
/**
|
|
112090
112103
|
* For EACH ITEM in the collection: Specifies the index location of a content control list item in the collection of list items.
|
|
112091
112104
|
*
|
|
112092
112105
|
* @remarks
|
|
112093
|
-
* [Api set: WordApi
|
|
112094
|
-
* @beta
|
|
112106
|
+
* [Api set: WordApi 1.9]
|
|
112095
112107
|
*/
|
|
112096
112108
|
index?: boolean;
|
|
112097
112109
|
/**
|
|
112098
112110
|
* For EACH ITEM in the collection: Specifies the programmatic value of a list item for a dropdown list or combo box content control.
|
|
112099
112111
|
*
|
|
112100
112112
|
* @remarks
|
|
112101
|
-
* [Api set: WordApi
|
|
112102
|
-
* @beta
|
|
112113
|
+
* [Api set: WordApi 1.9]
|
|
112103
112114
|
*/
|
|
112104
112115
|
value?: boolean;
|
|
112105
112116
|
}
|
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.533",
|
|
4
4
|
"description": "TypeScript definitions for office-js-preview",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
|
|
6
6
|
"license": "MIT",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
48
|
"peerDependencies": {},
|
|
49
|
-
"typesPublisherContentHash": "
|
|
49
|
+
"typesPublisherContentHash": "c86073381f29ebf53b0e38dfbba5398b28fdae7195166b336e90359bbe48561f",
|
|
50
50
|
"typeScriptVersion": "4.9",
|
|
51
51
|
"nonNpm": true
|
|
52
52
|
}
|