@types/office-js-preview 1.0.531 → 1.0.532
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 +90 -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: Mon, 18 Nov 2024 16:02:32 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js-preview/index.d.ts
CHANGED
|
@@ -94367,7 +94367,7 @@ declare namespace Word {
|
|
|
94367
94367
|
* [Api set: WordApi 1.1]
|
|
94368
94368
|
*
|
|
94369
94369
|
* 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
|
|
94370
|
+
* `DropDownList` and `ComboBox` support was added in WordApi 1.9.
|
|
94371
94371
|
*
|
|
94372
94372
|
* @param contentControlType Optional. Content control type to insert. Must be 'RichText', 'PlainText', 'CheckBox', 'DropDownList', or 'ComboBox'. The default is 'RichText'.
|
|
94373
94373
|
*/
|
|
@@ -95300,18 +95300,17 @@ declare namespace Word {
|
|
|
95300
95300
|
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
95301
95301
|
context: RequestContext;
|
|
95302
95302
|
/**
|
|
95303
|
-
*
|
|
95303
|
+
* Gets the data of the content control when its type is 'CheckBox'. It's `null` otherwise.
|
|
95304
95304
|
*
|
|
95305
95305
|
* @remarks
|
|
95306
95306
|
* [Api set: WordApi 1.7]
|
|
95307
95307
|
*/
|
|
95308
95308
|
readonly checkboxContentControl: Word.CheckboxContentControl;
|
|
95309
95309
|
/**
|
|
95310
|
-
*
|
|
95310
|
+
* Gets the data of the content control when its type is 'ComboBox'. It's `null` otherwise.
|
|
95311
95311
|
*
|
|
95312
95312
|
* @remarks
|
|
95313
|
-
* [Api set: WordApi
|
|
95314
|
-
* @beta
|
|
95313
|
+
* [Api set: WordApi 1.9]
|
|
95315
95314
|
*/
|
|
95316
95315
|
readonly comboBoxContentControl: Word.ComboBoxContentControl;
|
|
95317
95316
|
/**
|
|
@@ -95322,11 +95321,10 @@ declare namespace Word {
|
|
|
95322
95321
|
*/
|
|
95323
95322
|
readonly contentControls: Word.ContentControlCollection;
|
|
95324
95323
|
/**
|
|
95325
|
-
*
|
|
95324
|
+
* Gets the data of the content control when its type is 'DropDownList'. It's `null` otherwise.
|
|
95326
95325
|
*
|
|
95327
95326
|
* @remarks
|
|
95328
|
-
* [Api set: WordApi
|
|
95329
|
-
* @beta
|
|
95327
|
+
* [Api set: WordApi 1.9]
|
|
95330
95328
|
*/
|
|
95331
95329
|
readonly dropDownListContentControl: Word.DropDownListContentControl;
|
|
95332
95330
|
/**
|
|
@@ -96040,8 +96038,7 @@ declare namespace Word {
|
|
|
96040
96038
|
* Represents a list item in a dropdown list or combo box content control.
|
|
96041
96039
|
*
|
|
96042
96040
|
* @remarks
|
|
96043
|
-
* [Api set: WordApi
|
|
96044
|
-
* @beta
|
|
96041
|
+
* [Api set: WordApi 1.9]
|
|
96045
96042
|
*/
|
|
96046
96043
|
class ContentControlListItem extends OfficeExtension.ClientObject {
|
|
96047
96044
|
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
@@ -96050,24 +96047,21 @@ declare namespace Word {
|
|
|
96050
96047
|
* Specifies the display text of a list item for a dropdown list or combo box content control.
|
|
96051
96048
|
*
|
|
96052
96049
|
* @remarks
|
|
96053
|
-
* [Api set: WordApi
|
|
96054
|
-
* @beta
|
|
96050
|
+
* [Api set: WordApi 1.9]
|
|
96055
96051
|
*/
|
|
96056
96052
|
displayText: string;
|
|
96057
96053
|
/**
|
|
96058
96054
|
* Specifies the index location of a content control list item in the collection of list items.
|
|
96059
96055
|
*
|
|
96060
96056
|
* @remarks
|
|
96061
|
-
* [Api set: WordApi
|
|
96062
|
-
* @beta
|
|
96057
|
+
* [Api set: WordApi 1.9]
|
|
96063
96058
|
*/
|
|
96064
96059
|
index: number;
|
|
96065
96060
|
/**
|
|
96066
96061
|
* Specifies the programmatic value of a list item for a dropdown list or combo box content control.
|
|
96067
96062
|
*
|
|
96068
96063
|
* @remarks
|
|
96069
|
-
* [Api set: WordApi
|
|
96070
|
-
* @beta
|
|
96064
|
+
* [Api set: WordApi 1.9]
|
|
96071
96065
|
*/
|
|
96072
96066
|
value: string;
|
|
96073
96067
|
/**
|
|
@@ -96082,16 +96076,14 @@ declare namespace Word {
|
|
|
96082
96076
|
* Deletes the list item.
|
|
96083
96077
|
*
|
|
96084
96078
|
* @remarks
|
|
96085
|
-
* [Api set: WordApi
|
|
96086
|
-
* @beta
|
|
96079
|
+
* [Api set: WordApi 1.9]
|
|
96087
96080
|
*/
|
|
96088
96081
|
delete(): void;
|
|
96089
96082
|
/**
|
|
96090
96083
|
* Selects the list item and sets the text of the content control to the value of the list item.
|
|
96091
96084
|
*
|
|
96092
96085
|
* @remarks
|
|
96093
|
-
* [Api set: WordApi
|
|
96094
|
-
* @beta
|
|
96086
|
+
* [Api set: WordApi 1.9]
|
|
96095
96087
|
*/
|
|
96096
96088
|
select(): void;
|
|
96097
96089
|
/**
|
|
@@ -96133,8 +96125,7 @@ declare namespace Word {
|
|
|
96133
96125
|
* Contains a collection of {@link Word.ContentControlListItem} objects that represent the items in a dropdown list or combo box content control.
|
|
96134
96126
|
*
|
|
96135
96127
|
* @remarks
|
|
96136
|
-
* [Api set: WordApi
|
|
96137
|
-
* @beta
|
|
96128
|
+
* [Api set: WordApi 1.9]
|
|
96138
96129
|
*/
|
|
96139
96130
|
class ContentControlListItemCollection extends OfficeExtension.ClientObject {
|
|
96140
96131
|
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
@@ -96145,8 +96136,7 @@ declare namespace Word {
|
|
|
96145
96136
|
* Gets the first list item in this collection. Throws an `ItemNotFound` error if this collection is empty.
|
|
96146
96137
|
*
|
|
96147
96138
|
* @remarks
|
|
96148
|
-
* [Api set: WordApi
|
|
96149
|
-
* @beta
|
|
96139
|
+
* [Api set: WordApi 1.9]
|
|
96150
96140
|
*/
|
|
96151
96141
|
getFirst(): Word.ContentControlListItem;
|
|
96152
96142
|
/**
|
|
@@ -96155,8 +96145,7 @@ declare namespace Word {
|
|
|
96155
96145
|
see {@link https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods and properties}.
|
|
96156
96146
|
*
|
|
96157
96147
|
* @remarks
|
|
96158
|
-
* [Api set: WordApi
|
|
96159
|
-
* @beta
|
|
96148
|
+
* [Api set: WordApi 1.9]
|
|
96160
96149
|
*/
|
|
96161
96150
|
getFirstOrNullObject(): Word.ContentControlListItem;
|
|
96162
96151
|
/**
|
|
@@ -96205,7 +96194,7 @@ declare namespace Word {
|
|
|
96205
96194
|
* [Api set: WordApi 1.5]
|
|
96206
96195
|
*
|
|
96207
96196
|
* Note: 'PlainText' support was added in WordApi 1.5. 'CheckBox' support was added in WordApi 1.7.
|
|
96208
|
-
* 'DropDownList' and 'ComboBox' support
|
|
96197
|
+
* 'DropDownList' and 'ComboBox' support was added in WordApi 1.9.
|
|
96209
96198
|
*/
|
|
96210
96199
|
types: Word.ContentControlType[];
|
|
96211
96200
|
}
|
|
@@ -97049,9 +97038,24 @@ declare namespace Word {
|
|
|
97049
97038
|
* @remarks
|
|
97050
97039
|
* [Api set: WordApi 1.6]
|
|
97051
97040
|
*
|
|
97041
|
+
* Note: The `importedStylesConflictBehavior` parameter was introduced in WordApiDesktop 1.1.
|
|
97042
|
+
*
|
|
97052
97043
|
* @param stylesJson Required. A JSON-formatted string representing the styles.
|
|
97044
|
+
* @param importedStylesConflictBehavior Optional. Specifies how to handle any imported styles with the same name as existing styles in the current document.
|
|
97053
97045
|
*/
|
|
97054
|
-
importStylesFromJson(stylesJson: string): OfficeExtension.ClientResult<string[]>;
|
|
97046
|
+
importStylesFromJson(stylesJson: string, importedStylesConflictBehavior?: Word.ImportedStylesConflictBehavior): OfficeExtension.ClientResult<string[]>;
|
|
97047
|
+
/**
|
|
97048
|
+
* Import styles from a JSON-formatted string.
|
|
97049
|
+
*
|
|
97050
|
+
* @remarks
|
|
97051
|
+
* [Api set: WordApi 1.6]
|
|
97052
|
+
*
|
|
97053
|
+
* Note: The `importedStylesConflictBehavior` parameter was introduced in WordApiDesktop 1.1.
|
|
97054
|
+
*
|
|
97055
|
+
* @param stylesJson Required. A JSON-formatted string representing the styles.
|
|
97056
|
+
* @param importedStylesConflictBehavior Optional. Specifies how to handle any imported styles with the same name as existing styles in the current document.
|
|
97057
|
+
*/
|
|
97058
|
+
importStylesFromJson(stylesJson: string, importedStylesConflictBehavior?: "Ignore" | "Overwrite" | "CreateNew"): OfficeExtension.ClientResult<string[]>;
|
|
97055
97059
|
/**
|
|
97056
97060
|
* Inserts a document into the target document at a specific location with additional properties.
|
|
97057
97061
|
Headers, footers, watermarks, and other section properties are copied by default.
|
|
@@ -97616,8 +97620,7 @@ declare namespace Word {
|
|
|
97616
97620
|
* The data specific to content controls of type DropDownList.
|
|
97617
97621
|
*
|
|
97618
97622
|
* @remarks
|
|
97619
|
-
* [Api set: WordApi
|
|
97620
|
-
* @beta
|
|
97623
|
+
* [Api set: WordApi 1.9]
|
|
97621
97624
|
*/
|
|
97622
97625
|
class DropDownListContentControl extends OfficeExtension.ClientObject {
|
|
97623
97626
|
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
@@ -97626,16 +97629,14 @@ declare namespace Word {
|
|
|
97626
97629
|
* Gets the collection of list items in the dropdown list content control.
|
|
97627
97630
|
*
|
|
97628
97631
|
* @remarks
|
|
97629
|
-
* [Api set: WordApi
|
|
97630
|
-
* @beta
|
|
97632
|
+
* [Api set: WordApi 1.9]
|
|
97631
97633
|
*/
|
|
97632
97634
|
readonly listItems: Word.ContentControlListItemCollection;
|
|
97633
97635
|
/**
|
|
97634
97636
|
* Adds a new list item to this dropdown list content control and returns a {@link Word.ContentControlListItem} object.
|
|
97635
97637
|
*
|
|
97636
97638
|
* @remarks
|
|
97637
|
-
* [Api set: WordApi
|
|
97638
|
-
* @beta
|
|
97639
|
+
* [Api set: WordApi 1.9]
|
|
97639
97640
|
*
|
|
97640
97641
|
* @param displayText Required. Display text of the list item.
|
|
97641
97642
|
* @param value Optional. Value of the list item.
|
|
@@ -97646,8 +97647,7 @@ declare namespace Word {
|
|
|
97646
97647
|
* Deletes all list items in this dropdown list content control.
|
|
97647
97648
|
*
|
|
97648
97649
|
* @remarks
|
|
97649
|
-
* [Api set: WordApi
|
|
97650
|
-
* @beta
|
|
97650
|
+
* [Api set: WordApi 1.9]
|
|
97651
97651
|
*/
|
|
97652
97652
|
deleteAllListItems(): void;
|
|
97653
97653
|
/**
|
|
@@ -97683,8 +97683,7 @@ declare namespace Word {
|
|
|
97683
97683
|
* The data specific to content controls of type 'ComboBox'.
|
|
97684
97684
|
*
|
|
97685
97685
|
* @remarks
|
|
97686
|
-
* [Api set: WordApi
|
|
97687
|
-
* @beta
|
|
97686
|
+
* [Api set: WordApi 1.9]
|
|
97688
97687
|
*/
|
|
97689
97688
|
class ComboBoxContentControl extends OfficeExtension.ClientObject {
|
|
97690
97689
|
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
@@ -97693,16 +97692,14 @@ declare namespace Word {
|
|
|
97693
97692
|
* Gets the collection of list items in the combo box content control.
|
|
97694
97693
|
*
|
|
97695
97694
|
* @remarks
|
|
97696
|
-
* [Api set: WordApi
|
|
97697
|
-
* @beta
|
|
97695
|
+
* [Api set: WordApi 1.9]
|
|
97698
97696
|
*/
|
|
97699
97697
|
readonly listItems: Word.ContentControlListItemCollection;
|
|
97700
97698
|
/**
|
|
97701
97699
|
* Adds a new list item to this combo box content control and returns a {@link Word.ContentControlListItem} object.
|
|
97702
97700
|
*
|
|
97703
97701
|
* @remarks
|
|
97704
|
-
* [Api set: WordApi
|
|
97705
|
-
* @beta
|
|
97702
|
+
* [Api set: WordApi 1.9]
|
|
97706
97703
|
*
|
|
97707
97704
|
* @param displayText Required. Display text of the list item.
|
|
97708
97705
|
* @param value Optional. Value of the list item.
|
|
@@ -97713,8 +97710,7 @@ declare namespace Word {
|
|
|
97713
97710
|
* Deletes all list items in this combo box content control.
|
|
97714
97711
|
*
|
|
97715
97712
|
* @remarks
|
|
97716
|
-
* [Api set: WordApi
|
|
97717
|
-
* @beta
|
|
97713
|
+
* [Api set: WordApi 1.9]
|
|
97718
97714
|
*/
|
|
97719
97715
|
deleteAllListItems(): void;
|
|
97720
97716
|
/**
|
|
@@ -99751,7 +99747,7 @@ declare namespace Word {
|
|
|
99751
99747
|
* [Api set: WordApi 1.1]
|
|
99752
99748
|
*
|
|
99753
99749
|
* 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
|
|
99750
|
+
* `DropDownList` and `ComboBox` support was added in WordApi 1.9.
|
|
99755
99751
|
*
|
|
99756
99752
|
* @param contentControlType Optional. Content control type to insert. Must be 'RichText', 'PlainText', 'CheckBox', 'DropDownList', or 'ComboBox'. The default is 'RichText'.
|
|
99757
99753
|
*/
|
|
@@ -100559,7 +100555,7 @@ declare namespace Word {
|
|
|
100559
100555
|
* [Api set: WordApi 1.1]
|
|
100560
100556
|
*
|
|
100561
100557
|
* 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
|
|
100558
|
+
* `DropDownList` and `ComboBox` support was added in WordApi 1.9.
|
|
100563
100559
|
*
|
|
100564
100560
|
* @param contentControlType Optional. Content control type to insert. Must be 'RichText', 'PlainText', 'CheckBox', 'DropDownList', or 'ComboBox'. The default is 'RichText'.
|
|
100565
100561
|
*/
|
|
@@ -107327,6 +107323,32 @@ declare namespace Word {
|
|
|
107327
107323
|
*/
|
|
107328
107324
|
compareTargetNew = "CompareTargetNew",
|
|
107329
107325
|
}
|
|
107326
|
+
/**
|
|
107327
|
+
* Specifies how to handle any conflicts, that is, when imported styles have the same name as existing styles in the current document.
|
|
107328
|
+
*
|
|
107329
|
+
* @remarks
|
|
107330
|
+
* [Api set: WordApiDesktop 1.1]
|
|
107331
|
+
*/
|
|
107332
|
+
enum ImportedStylesConflictBehavior {
|
|
107333
|
+
/**
|
|
107334
|
+
* Ignore conflicting imported styles and keep the existing version of those styles in the current document.
|
|
107335
|
+
* @remarks
|
|
107336
|
+
* [Api set: WordApiDesktop 1.1]
|
|
107337
|
+
*/
|
|
107338
|
+
ignore = "Ignore",
|
|
107339
|
+
/**
|
|
107340
|
+
* Overwrite the existing styles in the current document.
|
|
107341
|
+
* @remarks
|
|
107342
|
+
* [Api set: WordApiDesktop 1.1]
|
|
107343
|
+
*/
|
|
107344
|
+
overwrite = "Overwrite",
|
|
107345
|
+
/**
|
|
107346
|
+
* 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.
|
|
107347
|
+
* @remarks
|
|
107348
|
+
* [Api set: WordApiDesktop 1.1]
|
|
107349
|
+
*/
|
|
107350
|
+
createNew = "CreateNew",
|
|
107351
|
+
}
|
|
107330
107352
|
enum ErrorCodes {
|
|
107331
107353
|
accessDenied = "AccessDenied",
|
|
107332
107354
|
generalException = "GeneralException",
|
|
@@ -107563,7 +107585,7 @@ declare namespace Word {
|
|
|
107563
107585
|
/** An interface for updating data on the `ContentControl` object, for use in `contentControl.set({ ... })`. */
|
|
107564
107586
|
interface ContentControlUpdateData {
|
|
107565
107587
|
/**
|
|
107566
|
-
*
|
|
107588
|
+
* Gets the data of the content control when its type is 'CheckBox'. It's `null` otherwise.
|
|
107567
107589
|
*
|
|
107568
107590
|
* @remarks
|
|
107569
107591
|
* [Api set: WordApi 1.7]
|
|
@@ -107657,24 +107679,21 @@ declare namespace Word {
|
|
|
107657
107679
|
* Specifies the display text of a list item for a dropdown list or combo box content control.
|
|
107658
107680
|
*
|
|
107659
107681
|
* @remarks
|
|
107660
|
-
* [Api set: WordApi
|
|
107661
|
-
* @beta
|
|
107682
|
+
* [Api set: WordApi 1.9]
|
|
107662
107683
|
*/
|
|
107663
107684
|
displayText?: string;
|
|
107664
107685
|
/**
|
|
107665
107686
|
* Specifies the index location of a content control list item in the collection of list items.
|
|
107666
107687
|
*
|
|
107667
107688
|
* @remarks
|
|
107668
|
-
* [Api set: WordApi
|
|
107669
|
-
* @beta
|
|
107689
|
+
* [Api set: WordApi 1.9]
|
|
107670
107690
|
*/
|
|
107671
107691
|
index?: number;
|
|
107672
107692
|
/**
|
|
107673
107693
|
* Specifies the programmatic value of a list item for a dropdown list or combo box content control.
|
|
107674
107694
|
*
|
|
107675
107695
|
* @remarks
|
|
107676
|
-
* [Api set: WordApi
|
|
107677
|
-
* @beta
|
|
107696
|
+
* [Api set: WordApi 1.9]
|
|
107678
107697
|
*/
|
|
107679
107698
|
value?: string;
|
|
107680
107699
|
}
|
|
@@ -109197,18 +109216,17 @@ declare namespace Word {
|
|
|
109197
109216
|
/** An interface describing the data returned by calling `contentControl.toJSON()`. */
|
|
109198
109217
|
interface ContentControlData {
|
|
109199
109218
|
/**
|
|
109200
|
-
*
|
|
109219
|
+
* Gets the data of the content control when its type is 'CheckBox'. It's `null` otherwise.
|
|
109201
109220
|
*
|
|
109202
109221
|
* @remarks
|
|
109203
109222
|
* [Api set: WordApi 1.7]
|
|
109204
109223
|
*/
|
|
109205
109224
|
checkboxContentControl?: Word.Interfaces.CheckboxContentControlData;
|
|
109206
109225
|
/**
|
|
109207
|
-
*
|
|
109226
|
+
* Gets the data of the content control when its type is 'ComboBox'. It's `null` otherwise.
|
|
109208
109227
|
*
|
|
109209
109228
|
* @remarks
|
|
109210
|
-
* [Api set: WordApi
|
|
109211
|
-
* @beta
|
|
109229
|
+
* [Api set: WordApi 1.9]
|
|
109212
109230
|
*/
|
|
109213
109231
|
comboBoxContentControl?: Word.Interfaces.ComboBoxContentControlData;
|
|
109214
109232
|
/**
|
|
@@ -109219,11 +109237,10 @@ declare namespace Word {
|
|
|
109219
109237
|
*/
|
|
109220
109238
|
contentControls?: Word.Interfaces.ContentControlData[];
|
|
109221
109239
|
/**
|
|
109222
|
-
*
|
|
109240
|
+
* Gets the data of the content control when its type is 'DropDownList'. It's `null` otherwise.
|
|
109223
109241
|
*
|
|
109224
109242
|
* @remarks
|
|
109225
|
-
* [Api set: WordApi
|
|
109226
|
-
* @beta
|
|
109243
|
+
* [Api set: WordApi 1.9]
|
|
109227
109244
|
*/
|
|
109228
109245
|
dropDownListContentControl?: Word.Interfaces.DropDownListContentControlData;
|
|
109229
109246
|
/**
|
|
@@ -109379,24 +109396,21 @@ declare namespace Word {
|
|
|
109379
109396
|
* Specifies the display text of a list item for a dropdown list or combo box content control.
|
|
109380
109397
|
*
|
|
109381
109398
|
* @remarks
|
|
109382
|
-
* [Api set: WordApi
|
|
109383
|
-
* @beta
|
|
109399
|
+
* [Api set: WordApi 1.9]
|
|
109384
109400
|
*/
|
|
109385
109401
|
displayText?: string;
|
|
109386
109402
|
/**
|
|
109387
109403
|
* Specifies the index location of a content control list item in the collection of list items.
|
|
109388
109404
|
*
|
|
109389
109405
|
* @remarks
|
|
109390
|
-
* [Api set: WordApi
|
|
109391
|
-
* @beta
|
|
109406
|
+
* [Api set: WordApi 1.9]
|
|
109392
109407
|
*/
|
|
109393
109408
|
index?: number;
|
|
109394
109409
|
/**
|
|
109395
109410
|
* Specifies the programmatic value of a list item for a dropdown list or combo box content control.
|
|
109396
109411
|
*
|
|
109397
109412
|
* @remarks
|
|
109398
|
-
* [Api set: WordApi
|
|
109399
|
-
* @beta
|
|
109413
|
+
* [Api set: WordApi 1.9]
|
|
109400
109414
|
*/
|
|
109401
109415
|
value?: string;
|
|
109402
109416
|
}
|
|
@@ -111695,7 +111709,7 @@ declare namespace Word {
|
|
|
111695
111709
|
*/
|
|
111696
111710
|
$all?: boolean;
|
|
111697
111711
|
/**
|
|
111698
|
-
*
|
|
111712
|
+
* Gets the data of the content control when its type is 'CheckBox'. It's `null` otherwise.
|
|
111699
111713
|
*
|
|
111700
111714
|
* @remarks
|
|
111701
111715
|
* [Api set: WordApi 1.7]
|
|
@@ -111868,7 +111882,7 @@ declare namespace Word {
|
|
|
111868
111882
|
*/
|
|
111869
111883
|
$all?: boolean;
|
|
111870
111884
|
/**
|
|
111871
|
-
* For EACH ITEM in the collection:
|
|
111885
|
+
* For EACH ITEM in the collection: Gets the data of the content control when its type is 'CheckBox'. It's `null` otherwise.
|
|
111872
111886
|
*
|
|
111873
111887
|
* @remarks
|
|
111874
111888
|
* [Api set: WordApi 1.7]
|
|
@@ -112033,8 +112047,7 @@ declare namespace Word {
|
|
|
112033
112047
|
* Represents a list item in a dropdown list or combo box content control.
|
|
112034
112048
|
*
|
|
112035
112049
|
* @remarks
|
|
112036
|
-
* [Api set: WordApi
|
|
112037
|
-
* @beta
|
|
112050
|
+
* [Api set: WordApi 1.9]
|
|
112038
112051
|
*/
|
|
112039
112052
|
interface ContentControlListItemLoadOptions {
|
|
112040
112053
|
/**
|
|
@@ -112045,24 +112058,21 @@ declare namespace Word {
|
|
|
112045
112058
|
* Specifies the display text of a list item for a dropdown list or combo box content control.
|
|
112046
112059
|
*
|
|
112047
112060
|
* @remarks
|
|
112048
|
-
* [Api set: WordApi
|
|
112049
|
-
* @beta
|
|
112061
|
+
* [Api set: WordApi 1.9]
|
|
112050
112062
|
*/
|
|
112051
112063
|
displayText?: boolean;
|
|
112052
112064
|
/**
|
|
112053
112065
|
* Specifies the index location of a content control list item in the collection of list items.
|
|
112054
112066
|
*
|
|
112055
112067
|
* @remarks
|
|
112056
|
-
* [Api set: WordApi
|
|
112057
|
-
* @beta
|
|
112068
|
+
* [Api set: WordApi 1.9]
|
|
112058
112069
|
*/
|
|
112059
112070
|
index?: boolean;
|
|
112060
112071
|
/**
|
|
112061
112072
|
* Specifies the programmatic value of a list item for a dropdown list or combo box content control.
|
|
112062
112073
|
*
|
|
112063
112074
|
* @remarks
|
|
112064
|
-
* [Api set: WordApi
|
|
112065
|
-
* @beta
|
|
112075
|
+
* [Api set: WordApi 1.9]
|
|
112066
112076
|
*/
|
|
112067
112077
|
value?: boolean;
|
|
112068
112078
|
}
|
|
@@ -112070,8 +112080,7 @@ declare namespace Word {
|
|
|
112070
112080
|
* Contains a collection of {@link Word.ContentControlListItem} objects that represent the items in a dropdown list or combo box content control.
|
|
112071
112081
|
*
|
|
112072
112082
|
* @remarks
|
|
112073
|
-
* [Api set: WordApi
|
|
112074
|
-
* @beta
|
|
112083
|
+
* [Api set: WordApi 1.9]
|
|
112075
112084
|
*/
|
|
112076
112085
|
interface ContentControlListItemCollectionLoadOptions {
|
|
112077
112086
|
/**
|
|
@@ -112082,24 +112091,21 @@ declare namespace Word {
|
|
|
112082
112091
|
* For EACH ITEM in the collection: Specifies the display text of a list item for a dropdown list or combo box content control.
|
|
112083
112092
|
*
|
|
112084
112093
|
* @remarks
|
|
112085
|
-
* [Api set: WordApi
|
|
112086
|
-
* @beta
|
|
112094
|
+
* [Api set: WordApi 1.9]
|
|
112087
112095
|
*/
|
|
112088
112096
|
displayText?: boolean;
|
|
112089
112097
|
/**
|
|
112090
112098
|
* For EACH ITEM in the collection: Specifies the index location of a content control list item in the collection of list items.
|
|
112091
112099
|
*
|
|
112092
112100
|
* @remarks
|
|
112093
|
-
* [Api set: WordApi
|
|
112094
|
-
* @beta
|
|
112101
|
+
* [Api set: WordApi 1.9]
|
|
112095
112102
|
*/
|
|
112096
112103
|
index?: boolean;
|
|
112097
112104
|
/**
|
|
112098
112105
|
* For EACH ITEM in the collection: Specifies the programmatic value of a list item for a dropdown list or combo box content control.
|
|
112099
112106
|
*
|
|
112100
112107
|
* @remarks
|
|
112101
|
-
* [Api set: WordApi
|
|
112102
|
-
* @beta
|
|
112108
|
+
* [Api set: WordApi 1.9]
|
|
112103
112109
|
*/
|
|
112104
112110
|
value?: boolean;
|
|
112105
112111
|
}
|
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.532",
|
|
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": "53a23bc9abefc5fcd5478f9d425e96353def328e427ecd6b2d78b9088a08c19a",
|
|
50
50
|
"typeScriptVersion": "4.9",
|
|
51
51
|
"nonNpm": true
|
|
52
52
|
}
|