@types/office-js-preview 1.0.477 → 1.0.479
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 +164 -33
- 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: Thu, 20 Jun 2024 16:08:33 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js-preview/index.d.ts
CHANGED
|
@@ -3072,6 +3072,30 @@ declare namespace Office {
|
|
|
3072
3072
|
*/
|
|
3073
3073
|
Headers
|
|
3074
3074
|
}
|
|
3075
|
+
/**
|
|
3076
|
+
* Specifies the Office theme that's currently selected.
|
|
3077
|
+
*
|
|
3078
|
+
* For information on Office themes, see
|
|
3079
|
+
* {@link https://support.microsoft.com/office/63e65e1c-08d4-4dea-820e-335f54672310 | Change the look and feel of Microsoft 365}.
|
|
3080
|
+
*/
|
|
3081
|
+
enum ThemeId {
|
|
3082
|
+
/**
|
|
3083
|
+
* The currently selected Office theme is **Black**.
|
|
3084
|
+
*/
|
|
3085
|
+
Black,
|
|
3086
|
+
/**
|
|
3087
|
+
* The currently selected Office theme is **Colorful**.
|
|
3088
|
+
*/
|
|
3089
|
+
Colorful,
|
|
3090
|
+
/**
|
|
3091
|
+
* The currently selected Office theme is **Dark Gray**.
|
|
3092
|
+
*/
|
|
3093
|
+
DarkGray,
|
|
3094
|
+
/**
|
|
3095
|
+
* The currently selected Office theme is **White**.
|
|
3096
|
+
*/
|
|
3097
|
+
White
|
|
3098
|
+
}
|
|
3075
3099
|
/**
|
|
3076
3100
|
* Specifies whether values, such as numbers and dates, returned by the invoked method are returned with their formatting applied.
|
|
3077
3101
|
*
|
|
@@ -6989,10 +7013,14 @@ declare namespace Office {
|
|
|
6989
7013
|
/**
|
|
6990
7014
|
* Provides access to the properties for Office theme colors.
|
|
6991
7015
|
*
|
|
6992
|
-
* Using Office theme colors lets you coordinate the color scheme of your add-in with the current Office theme selected by the user
|
|
6993
|
-
*
|
|
7016
|
+
* Using Office theme colors lets you coordinate the color scheme of your add-in with the current Office theme selected by the user.
|
|
7017
|
+
* The user sets a theme in an Office application through **File** \> **Account** or **Office Account** \> **Office Theme**.
|
|
7018
|
+
* The selected theme is then applied across all Office applications. Using Office theme colors is appropriate for mail and
|
|
6994
7019
|
* task pane add-ins.
|
|
6995
7020
|
*
|
|
7021
|
+
* For more information on Office themes, see
|
|
7022
|
+
* {@link https://support.microsoft.com/office/63e65e1c-08d4-4dea-820e-335f54672310 | Change the look and feel of Microsoft 365}.
|
|
7023
|
+
*
|
|
6996
7024
|
* @remarks
|
|
6997
7025
|
*
|
|
6998
7026
|
* *Supported applications, by platform*
|
|
@@ -7007,7 +7035,7 @@ declare namespace Office {
|
|
|
7007
7035
|
* </tr>
|
|
7008
7036
|
* <tr>
|
|
7009
7037
|
* <td><strong>Excel</strong></td>
|
|
7010
|
-
* <td>
|
|
7038
|
+
* <td>Supported</td>
|
|
7011
7039
|
* <td>Supported</td>
|
|
7012
7040
|
* <td>Supported</td>
|
|
7013
7041
|
* <td>Supported</td>
|
|
@@ -7015,15 +7043,15 @@ declare namespace Office {
|
|
|
7015
7043
|
* </tr>
|
|
7016
7044
|
* <tr>
|
|
7017
7045
|
* <td><strong>Outlook</strong></td>
|
|
7018
|
-
* <td>Supported
|
|
7019
|
-
* <td>Supported
|
|
7046
|
+
* <td>Supported</td>
|
|
7047
|
+
* <td>Supported</td>
|
|
7020
7048
|
* <td>Not available</td>
|
|
7021
7049
|
* <td>Not available</td>
|
|
7022
7050
|
* <td>Not available</td>
|
|
7023
7051
|
* </tr>
|
|
7024
7052
|
* <tr>
|
|
7025
7053
|
* <td><strong>PowerPoint</strong></td>
|
|
7026
|
-
* <td>
|
|
7054
|
+
* <td>Supported</td>
|
|
7027
7055
|
* <td>Supported</td>
|
|
7028
7056
|
* <td>Supported</td>
|
|
7029
7057
|
* <td>Supported</td>
|
|
@@ -7039,7 +7067,7 @@ declare namespace Office {
|
|
|
7039
7067
|
* </tr>
|
|
7040
7068
|
* </table>
|
|
7041
7069
|
*
|
|
7042
|
-
*
|
|
7070
|
+
* **Important**: In Outlook, the Office theme API is supported starting in
|
|
7043
7071
|
* {@link https://learn.microsoft.com/javascript/api/requirement-sets/outlook/requirement-set-1.14/outlook-requirement-set-1.14 | Mailbox requirement set 1.14}.
|
|
7044
7072
|
* It isn't supported in Outlook add-ins that implement {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation}.
|
|
7045
7073
|
*/
|
|
@@ -7060,6 +7088,22 @@ declare namespace Office {
|
|
|
7060
7088
|
* Gets the Office theme control foreground color as a hexadecimal color triplet (e.g., "#FFA500").
|
|
7061
7089
|
*/
|
|
7062
7090
|
controlForegroundColor: string;
|
|
7091
|
+
/**
|
|
7092
|
+
* Returns `true` if the Office theme that's currently selected is **Black** (dark mode) or **Dark Gray**.
|
|
7093
|
+
*
|
|
7094
|
+
* @remarks
|
|
7095
|
+
*
|
|
7096
|
+
* **Important**: The `isDarkTheme` property isn't yet supported in Outlook.
|
|
7097
|
+
*/
|
|
7098
|
+
isDarkTheme: boolean;
|
|
7099
|
+
/**
|
|
7100
|
+
* Gets the Office theme that's currently selected.
|
|
7101
|
+
*
|
|
7102
|
+
* @remarks
|
|
7103
|
+
*
|
|
7104
|
+
* **Important**: The `themeId` property isn't yet supported in Outlook.
|
|
7105
|
+
*/
|
|
7106
|
+
themeId: ThemeId;
|
|
7063
7107
|
}
|
|
7064
7108
|
/**
|
|
7065
7109
|
* Specifies a cell, or row, or column, by its zero-based row and/or column number. Example: `{row: 3, column: 4}` specifies the cell in the 3rd
|
|
@@ -90678,11 +90722,11 @@ declare namespace Word {
|
|
|
90678
90722
|
* [Api set: WordApi 1.1]
|
|
90679
90723
|
*
|
|
90680
90724
|
* 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.
|
|
90681
|
-
* `DropDownList` support
|
|
90725
|
+
* `DropDownList` and `ComboBox` support are currently in preview.
|
|
90682
90726
|
*
|
|
90683
|
-
* @param contentControlType Optional. Content control type to insert. Must be 'RichText', 'PlainText', 'CheckBox', or '
|
|
90727
|
+
* @param contentControlType Optional. Content control type to insert. Must be 'RichText', 'PlainText', 'CheckBox', 'DropDownList', or 'ComboBox'. The default is 'RichText'.
|
|
90684
90728
|
*/
|
|
90685
|
-
insertContentControl(contentControlType?: Word.ContentControlType.richText | Word.ContentControlType.plainText | Word.ContentControlType.checkBox | Word.ContentControlType.dropDownList | "RichText" | "PlainText" | "CheckBox" | "DropDownList"): Word.ContentControl;
|
|
90729
|
+
insertContentControl(contentControlType?: Word.ContentControlType.richText | Word.ContentControlType.plainText | Word.ContentControlType.checkBox | Word.ContentControlType.dropDownList | Word.ContentControlType.comboBox | "RichText" | "PlainText" | "CheckBox" | "DropDownList" | "ComboBox"): Word.ContentControl;
|
|
90686
90730
|
/**
|
|
90687
90731
|
* Inserts a document into the body at the specified location.
|
|
90688
90732
|
*
|
|
@@ -91634,6 +91678,14 @@ declare namespace Word {
|
|
|
91634
91678
|
* [Api set: WordApi 1.7]
|
|
91635
91679
|
*/
|
|
91636
91680
|
readonly checkboxContentControl: Word.CheckboxContentControl;
|
|
91681
|
+
/**
|
|
91682
|
+
* Specifies the combo box-related data if the content control's type is 'ComboBox'. It's `null` otherwise.
|
|
91683
|
+
*
|
|
91684
|
+
* @remarks
|
|
91685
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
91686
|
+
* @beta
|
|
91687
|
+
*/
|
|
91688
|
+
readonly comboBoxContentControl: Word.ComboBoxContentControl;
|
|
91637
91689
|
/**
|
|
91638
91690
|
* Gets the collection of content control objects in the content control.
|
|
91639
91691
|
*
|
|
@@ -92359,7 +92411,7 @@ declare namespace Word {
|
|
|
92359
92411
|
toJSON(): Word.Interfaces.ContentControlCollectionData;
|
|
92360
92412
|
}
|
|
92361
92413
|
/**
|
|
92362
|
-
* Represents a list item in a dropdown list content control.
|
|
92414
|
+
* Represents a list item in a dropdown list or combo box content control.
|
|
92363
92415
|
*
|
|
92364
92416
|
* @remarks
|
|
92365
92417
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -92369,7 +92421,7 @@ declare namespace Word {
|
|
|
92369
92421
|
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
92370
92422
|
context: RequestContext;
|
|
92371
92423
|
/**
|
|
92372
|
-
* Specifies the display text of a list item for a dropdown list content control.
|
|
92424
|
+
* Specifies the display text of a list item for a dropdown list or combo box content control.
|
|
92373
92425
|
*
|
|
92374
92426
|
* @remarks
|
|
92375
92427
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -92385,7 +92437,7 @@ declare namespace Word {
|
|
|
92385
92437
|
*/
|
|
92386
92438
|
index: number;
|
|
92387
92439
|
/**
|
|
92388
|
-
* Specifies the programmatic value of a list item for a dropdown list content control.
|
|
92440
|
+
* Specifies the programmatic value of a list item for a dropdown list or combo box content control.
|
|
92389
92441
|
*
|
|
92390
92442
|
* @remarks
|
|
92391
92443
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -92452,7 +92504,7 @@ declare namespace Word {
|
|
|
92452
92504
|
toJSON(): Word.Interfaces.ContentControlListItemData;
|
|
92453
92505
|
}
|
|
92454
92506
|
/**
|
|
92455
|
-
* Contains a collection of {@link Word.ContentControlListItem} objects that represent the items in a dropdown list content control.
|
|
92507
|
+
* Contains a collection of {@link Word.ContentControlListItem} objects that represent the items in a dropdown list or combo box content control.
|
|
92456
92508
|
*
|
|
92457
92509
|
* @remarks
|
|
92458
92510
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -92521,12 +92573,13 @@ declare namespace Word {
|
|
|
92521
92573
|
*/
|
|
92522
92574
|
interface ContentControlOptions {
|
|
92523
92575
|
/**
|
|
92524
|
-
* An array of content control types, item must be 'RichText', 'PlainText', or '
|
|
92576
|
+
* An array of content control types, item must be 'RichText', 'PlainText', 'CheckBox', 'DropDownList', or 'ComboBox'.
|
|
92525
92577
|
*
|
|
92526
92578
|
* @remarks
|
|
92527
92579
|
* [Api set: WordApi 1.5]
|
|
92528
92580
|
*
|
|
92529
|
-
* Note:
|
|
92581
|
+
* Note: 'PlainText' support was added in WordApi 1.5. 'CheckBox' support was added in WordApi 1.7.
|
|
92582
|
+
* 'DropDownList' and 'ComboBox' support are currently in preview.
|
|
92530
92583
|
*/
|
|
92531
92584
|
types: Word.ContentControlType[];
|
|
92532
92585
|
}
|
|
@@ -93986,6 +94039,73 @@ declare namespace Word {
|
|
|
93986
94039
|
*/
|
|
93987
94040
|
toJSON(): Word.Interfaces.DropDownListContentControlData;
|
|
93988
94041
|
}
|
|
94042
|
+
/**
|
|
94043
|
+
* The data specific to content controls of type 'ComboBox'.
|
|
94044
|
+
*
|
|
94045
|
+
* @remarks
|
|
94046
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
94047
|
+
* @beta
|
|
94048
|
+
*/
|
|
94049
|
+
class ComboBoxContentControl extends OfficeExtension.ClientObject {
|
|
94050
|
+
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
94051
|
+
context: RequestContext;
|
|
94052
|
+
/**
|
|
94053
|
+
* Gets the collection of list items in the combo box content control.
|
|
94054
|
+
*
|
|
94055
|
+
* @remarks
|
|
94056
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
94057
|
+
* @beta
|
|
94058
|
+
*/
|
|
94059
|
+
readonly listItems: Word.ContentControlListItemCollection;
|
|
94060
|
+
/**
|
|
94061
|
+
* Adds a new list item to this combo box content control and returns a {@link Word.ContentControlListItem} object.
|
|
94062
|
+
*
|
|
94063
|
+
* @remarks
|
|
94064
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
94065
|
+
* @beta
|
|
94066
|
+
*
|
|
94067
|
+
* @param displayText Required. Display text of the list item.
|
|
94068
|
+
* @param value Optional. Value of the list item.
|
|
94069
|
+
* @param index Optional. Index location of the new item in the list. If an item exists at the position specified, the existing item is pushed down in the list. If omitted, the new item is added to the end of the list.
|
|
94070
|
+
*/
|
|
94071
|
+
addListItem(displayText: string, value?: string, index?: number): Word.ContentControlListItem;
|
|
94072
|
+
/**
|
|
94073
|
+
* Deletes all list items in this combo box content control.
|
|
94074
|
+
*
|
|
94075
|
+
* @remarks
|
|
94076
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
94077
|
+
* @beta
|
|
94078
|
+
*/
|
|
94079
|
+
deleteAllListItems(): void;
|
|
94080
|
+
/**
|
|
94081
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
94082
|
+
*
|
|
94083
|
+
* @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
|
|
94084
|
+
*/
|
|
94085
|
+
load(propertyNames?: string | string[]): Word.ComboBoxContentControl;
|
|
94086
|
+
/**
|
|
94087
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
94088
|
+
*
|
|
94089
|
+
* @param propertyNamesAndPaths `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
|
|
94090
|
+
*/
|
|
94091
|
+
load(propertyNamesAndPaths?: {
|
|
94092
|
+
select?: string;
|
|
94093
|
+
expand?: string;
|
|
94094
|
+
}): Word.ComboBoxContentControl;
|
|
94095
|
+
/**
|
|
94096
|
+
* 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.
|
|
94097
|
+
*/
|
|
94098
|
+
track(): Word.ComboBoxContentControl;
|
|
94099
|
+
/**
|
|
94100
|
+
* Release the memory associated with this object, if it has previously been tracked. This call is shorthand for {@link https://docs.microsoft.com/javascript/api/office/officeextension.clientrequestcontext#office-officeextension-clientrequestcontext-trackedobjects-member | context.trackedObjects.remove(thisObject)}. Having many tracked objects slows down the host application, so please remember to free any objects you add, once you're done using them. You will need to call `context.sync()` before the memory release takes effect.
|
|
94101
|
+
*/
|
|
94102
|
+
untrack(): Word.ComboBoxContentControl;
|
|
94103
|
+
/**
|
|
94104
|
+
* Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
|
|
94105
|
+
* Whereas the original Word.ComboBoxContentControl object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `Word.Interfaces.ComboBoxContentControlData`) that contains shallow copies of any loaded child properties from the original object.
|
|
94106
|
+
*/
|
|
94107
|
+
toJSON(): Word.Interfaces.ComboBoxContentControlData;
|
|
94108
|
+
}
|
|
93989
94109
|
/**
|
|
93990
94110
|
* Represents a field.
|
|
93991
94111
|
*
|
|
@@ -96007,11 +96127,11 @@ declare namespace Word {
|
|
|
96007
96127
|
* [Api set: WordApi 1.1]
|
|
96008
96128
|
*
|
|
96009
96129
|
* 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.
|
|
96010
|
-
* `DropDownList` support
|
|
96130
|
+
* `DropDownList` and `ComboBox` support are currently in preview.
|
|
96011
96131
|
*
|
|
96012
|
-
* @param contentControlType Optional. Content control type to insert. Must be 'RichText', 'PlainText', 'CheckBox', or '
|
|
96132
|
+
* @param contentControlType Optional. Content control type to insert. Must be 'RichText', 'PlainText', 'CheckBox', 'DropDownList', or 'ComboBox'. The default is 'RichText'.
|
|
96013
96133
|
*/
|
|
96014
|
-
insertContentControl(contentControlType?: Word.ContentControlType.richText | Word.ContentControlType.plainText | Word.ContentControlType.checkBox | Word.ContentControlType.dropDownList | "RichText" | "PlainText" | "CheckBox" | "DropDownList"): Word.ContentControl;
|
|
96134
|
+
insertContentControl(contentControlType?: Word.ContentControlType.richText | Word.ContentControlType.plainText | Word.ContentControlType.checkBox | Word.ContentControlType.dropDownList | Word.ContentControlType.comboBox | "RichText" | "PlainText" | "CheckBox" | "DropDownList" | "ComboBox"): Word.ContentControl;
|
|
96015
96135
|
/**
|
|
96016
96136
|
* Inserts a document into the paragraph at the specified location.
|
|
96017
96137
|
*
|
|
@@ -96815,11 +96935,11 @@ declare namespace Word {
|
|
|
96815
96935
|
* [Api set: WordApi 1.1]
|
|
96816
96936
|
*
|
|
96817
96937
|
* 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.
|
|
96818
|
-
* `DropDownList` support
|
|
96938
|
+
* `DropDownList` and `ComboBox` support are currently in preview.
|
|
96819
96939
|
*
|
|
96820
|
-
* @param contentControlType Optional. Content control type to insert. Must be 'RichText', 'PlainText', 'CheckBox', or '
|
|
96940
|
+
* @param contentControlType Optional. Content control type to insert. Must be 'RichText', 'PlainText', 'CheckBox', 'DropDownList', or 'ComboBox'. The default is 'RichText'.
|
|
96821
96941
|
*/
|
|
96822
|
-
insertContentControl(contentControlType?: Word.ContentControlType.richText | Word.ContentControlType.plainText | Word.ContentControlType.checkBox | Word.ContentControlType.dropDownList | "RichText" | "PlainText" | "CheckBox" | "DropDownList"): Word.ContentControl;
|
|
96942
|
+
insertContentControl(contentControlType?: Word.ContentControlType.richText | Word.ContentControlType.plainText | Word.ContentControlType.checkBox | Word.ContentControlType.dropDownList | Word.ContentControlType.comboBox | "RichText" | "PlainText" | "CheckBox" | "DropDownList" | "ComboBox"): Word.ContentControl;
|
|
96823
96943
|
/**
|
|
96824
96944
|
* Inserts an endnote. The endnote reference is placed after the range.
|
|
96825
96945
|
*
|
|
@@ -103997,7 +104117,7 @@ declare namespace Word {
|
|
|
103997
104117
|
/** An interface for updating data on the ContentControlListItem object, for use in `contentControlListItem.set({ ... })`. */
|
|
103998
104118
|
interface ContentControlListItemUpdateData {
|
|
103999
104119
|
/**
|
|
104000
|
-
* Specifies the display text of a list item for a dropdown list content control.
|
|
104120
|
+
* Specifies the display text of a list item for a dropdown list or combo box content control.
|
|
104001
104121
|
*
|
|
104002
104122
|
* @remarks
|
|
104003
104123
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -104013,7 +104133,7 @@ declare namespace Word {
|
|
|
104013
104133
|
*/
|
|
104014
104134
|
index?: number;
|
|
104015
104135
|
/**
|
|
104016
|
-
* Specifies the programmatic value of a list item for a dropdown list content control.
|
|
104136
|
+
* Specifies the programmatic value of a list item for a dropdown list or combo box content control.
|
|
104017
104137
|
*
|
|
104018
104138
|
* @remarks
|
|
104019
104139
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -105570,6 +105690,14 @@ declare namespace Word {
|
|
|
105570
105690
|
* [Api set: WordApi 1.7]
|
|
105571
105691
|
*/
|
|
105572
105692
|
checkboxContentControl?: Word.Interfaces.CheckboxContentControlData;
|
|
105693
|
+
/**
|
|
105694
|
+
* Specifies the combo box-related data if the content control's type is 'ComboBox'. It's null otherwise.
|
|
105695
|
+
*
|
|
105696
|
+
* @remarks
|
|
105697
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
105698
|
+
* @beta
|
|
105699
|
+
*/
|
|
105700
|
+
comboBoxContentControl?: Word.Interfaces.ComboBoxContentControlData;
|
|
105573
105701
|
/**
|
|
105574
105702
|
* Gets the collection of content control objects in the content control.
|
|
105575
105703
|
*
|
|
@@ -105737,7 +105865,7 @@ declare namespace Word {
|
|
|
105737
105865
|
/** An interface describing the data returned by calling `contentControlListItem.toJSON()`. */
|
|
105738
105866
|
interface ContentControlListItemData {
|
|
105739
105867
|
/**
|
|
105740
|
-
* Specifies the display text of a list item for a dropdown list content control.
|
|
105868
|
+
* Specifies the display text of a list item for a dropdown list or combo box content control.
|
|
105741
105869
|
*
|
|
105742
105870
|
* @remarks
|
|
105743
105871
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -105753,7 +105881,7 @@ declare namespace Word {
|
|
|
105753
105881
|
*/
|
|
105754
105882
|
index?: number;
|
|
105755
105883
|
/**
|
|
105756
|
-
* Specifies the programmatic value of a list item for a dropdown list content control.
|
|
105884
|
+
* Specifies the programmatic value of a list item for a dropdown list or combo box content control.
|
|
105757
105885
|
*
|
|
105758
105886
|
* @remarks
|
|
105759
105887
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -106061,6 +106189,9 @@ declare namespace Word {
|
|
|
106061
106189
|
/** An interface describing the data returned by calling `dropDownListContentControl.toJSON()`. */
|
|
106062
106190
|
interface DropDownListContentControlData {
|
|
106063
106191
|
}
|
|
106192
|
+
/** An interface describing the data returned by calling `comboBoxContentControl.toJSON()`. */
|
|
106193
|
+
interface ComboBoxContentControlData {
|
|
106194
|
+
}
|
|
106064
106195
|
/** An interface describing the data returned by calling `field.toJSON()`. */
|
|
106065
106196
|
interface FieldData {
|
|
106066
106197
|
/**
|
|
@@ -108425,7 +108556,7 @@ declare namespace Word {
|
|
|
108425
108556
|
type?: boolean;
|
|
108426
108557
|
}
|
|
108427
108558
|
/**
|
|
108428
|
-
* Represents a list item in a dropdown list content control.
|
|
108559
|
+
* Represents a list item in a dropdown list or combo box content control.
|
|
108429
108560
|
*
|
|
108430
108561
|
* @remarks
|
|
108431
108562
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -108437,7 +108568,7 @@ declare namespace Word {
|
|
|
108437
108568
|
*/
|
|
108438
108569
|
$all?: boolean;
|
|
108439
108570
|
/**
|
|
108440
|
-
* Specifies the display text of a list item for a dropdown list content control.
|
|
108571
|
+
* Specifies the display text of a list item for a dropdown list or combo box content control.
|
|
108441
108572
|
*
|
|
108442
108573
|
* @remarks
|
|
108443
108574
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -108453,7 +108584,7 @@ declare namespace Word {
|
|
|
108453
108584
|
*/
|
|
108454
108585
|
index?: boolean;
|
|
108455
108586
|
/**
|
|
108456
|
-
* Specifies the programmatic value of a list item for a dropdown list content control.
|
|
108587
|
+
* Specifies the programmatic value of a list item for a dropdown list or combo box content control.
|
|
108457
108588
|
*
|
|
108458
108589
|
* @remarks
|
|
108459
108590
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -108462,7 +108593,7 @@ declare namespace Word {
|
|
|
108462
108593
|
value?: boolean;
|
|
108463
108594
|
}
|
|
108464
108595
|
/**
|
|
108465
|
-
* Contains a collection of {@link Word.ContentControlListItem} objects that represent the items in a dropdown list content control.
|
|
108596
|
+
* Contains a collection of {@link Word.ContentControlListItem} objects that represent the items in a dropdown list or combo box content control.
|
|
108466
108597
|
*
|
|
108467
108598
|
* @remarks
|
|
108468
108599
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -108474,7 +108605,7 @@ declare namespace Word {
|
|
|
108474
108605
|
*/
|
|
108475
108606
|
$all?: boolean;
|
|
108476
108607
|
/**
|
|
108477
|
-
* For EACH ITEM in the collection: Specifies the display text of a list item for a dropdown list content control.
|
|
108608
|
+
* For EACH ITEM in the collection: Specifies the display text of a list item for a dropdown list or combo box content control.
|
|
108478
108609
|
*
|
|
108479
108610
|
* @remarks
|
|
108480
108611
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -108490,7 +108621,7 @@ declare namespace Word {
|
|
|
108490
108621
|
*/
|
|
108491
108622
|
index?: boolean;
|
|
108492
108623
|
/**
|
|
108493
|
-
* For EACH ITEM in the collection: Specifies the programmatic value of a list item for a dropdown list content control.
|
|
108624
|
+
* For EACH ITEM in the collection: Specifies the programmatic value of a list item for a dropdown list or combo box content control.
|
|
108494
108625
|
*
|
|
108495
108626
|
* @remarks
|
|
108496
108627
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -110622,7 +110753,7 @@ declare namespace Word {
|
|
|
110622
110753
|
*
|
|
110623
110754
|
* @remarks
|
|
110624
110755
|
* [Api set: WordApi 1.1]
|
|
110625
|
-
|
|
110756
|
+
*/
|
|
110626
110757
|
body?: Word.Interfaces.BodyLoadOptions;
|
|
110627
110758
|
}
|
|
110628
110759
|
/**
|
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.479",
|
|
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",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "555ccb55a6776312c1857533b39d243c6acba81068830c2249e0548694b49b21",
|
|
49
49
|
"typeScriptVersion": "4.7",
|
|
50
50
|
"nonNpm": true
|
|
51
51
|
}
|