@types/office-js-preview 1.0.441 → 1.0.443
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 +105 -21
- 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: Thu,
|
|
11
|
+
* Last updated: Thu, 25 Jan 2024 17:35:38 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js-preview/index.d.ts
CHANGED
|
@@ -1006,6 +1006,20 @@ declare namespace Office {
|
|
|
1006
1006
|
* Provides objects and methods that you can use to create and manipulate UI components, such as dialog boxes.
|
|
1007
1007
|
*/
|
|
1008
1008
|
ui: UI;
|
|
1009
|
+
/**
|
|
1010
|
+
* Gets the object to retrieve the runtime URLs of an add-in.
|
|
1011
|
+
*
|
|
1012
|
+
* @remarks
|
|
1013
|
+
*
|
|
1014
|
+
* [Api set: Mailbox preview]
|
|
1015
|
+
*
|
|
1016
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **restricted**
|
|
1017
|
+
*
|
|
1018
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
|
|
1019
|
+
*
|
|
1020
|
+
* @beta
|
|
1021
|
+
*/
|
|
1022
|
+
urls: Urls;
|
|
1009
1023
|
}
|
|
1010
1024
|
/**
|
|
1011
1025
|
* Provides specific information about an error that occurred during an asynchronous data operation.
|
|
@@ -1443,6 +1457,51 @@ declare namespace Office {
|
|
|
1443
1457
|
*/
|
|
1444
1458
|
openBrowserWindow(url: string): void;
|
|
1445
1459
|
}
|
|
1460
|
+
/**
|
|
1461
|
+
* Provides the URLs of the runtime environments used by an add-in.
|
|
1462
|
+
*
|
|
1463
|
+
* @remarks
|
|
1464
|
+
*
|
|
1465
|
+
* [Api set: Mailbox preview]
|
|
1466
|
+
*
|
|
1467
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **restricted**
|
|
1468
|
+
*
|
|
1469
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
|
|
1470
|
+
*
|
|
1471
|
+
* @beta
|
|
1472
|
+
*/
|
|
1473
|
+
interface Urls {
|
|
1474
|
+
/**
|
|
1475
|
+
* Gets the URL of the JavaScript runtime of an add-in.
|
|
1476
|
+
*
|
|
1477
|
+
* @remarks
|
|
1478
|
+
*
|
|
1479
|
+
* [Api set: Mailbox preview]
|
|
1480
|
+
*
|
|
1481
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **restricted**
|
|
1482
|
+
*
|
|
1483
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
|
|
1484
|
+
*
|
|
1485
|
+
* **Important**:
|
|
1486
|
+
*
|
|
1487
|
+
* - This property is currently in preview in Outlook on Windows. To test it in your add-in, you must install Version 2401 (Build 17228.20000) or later.
|
|
1488
|
+
* Then, join the {@link | Microsoft 365 Insider program} and select the **Beta Channel** option to access Office beta builds.
|
|
1489
|
+
*
|
|
1490
|
+
* - The URL returned points to the location of the JavaScript file that Outlook on Windows uses to handle event-based activation
|
|
1491
|
+
* and integrated spam reporting. To learn more about these features, see
|
|
1492
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | Configure your Outlook add-in for event-based activation} and
|
|
1493
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/spam-reporting | Implement an integrated spam-reporting add-in (preview)}.
|
|
1494
|
+
*
|
|
1495
|
+
* - If your add-in uses the XML manifest, the URL returned matches the `resid` value of the **RuntimeOverride** element of type `javascript`.
|
|
1496
|
+
* To learn more, see {@link https://learn.microsoft.com/javascript/api/manifest/override#override-element-for-runtime | Override element for Runtime}.
|
|
1497
|
+
*
|
|
1498
|
+
* - If your add-in uses the unified manifest for Microsoft 365 (developer preview), the URL returned matches the value of the `script` property in the
|
|
1499
|
+
* "code" object.
|
|
1500
|
+
*
|
|
1501
|
+
* @beta
|
|
1502
|
+
*/
|
|
1503
|
+
javaScriptRuntimeUrl: string;
|
|
1504
|
+
}
|
|
1446
1505
|
/**
|
|
1447
1506
|
* Provides information about which Requirement Sets are supported in the current environment.
|
|
1448
1507
|
*/
|
|
@@ -12931,7 +12990,7 @@ declare namespace Office {
|
|
|
12931
12990
|
*/
|
|
12932
12991
|
setSelectedDataAsync(data: string, callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
|
|
12933
12992
|
/**
|
|
12934
|
-
* Adds
|
|
12993
|
+
* Adds a signature to the item body if it doesn't have an existing signature. If there's already a signature in the body, replaces that signature.
|
|
12935
12994
|
*
|
|
12936
12995
|
* @remarks
|
|
12937
12996
|
* [Api set: Mailbox 1.10]
|
|
@@ -12971,7 +13030,7 @@ declare namespace Office {
|
|
|
12971
13030
|
*/
|
|
12972
13031
|
setSignatureAsync(data: string, options: Office.AsyncContextOptions & CoercionTypeOptions, callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
|
|
12973
13032
|
/**
|
|
12974
|
-
* Adds
|
|
13033
|
+
* Adds a signature to the item body if it doesn't have an existing signature. If there's already a signature in the body, replaces that signature.
|
|
12975
13034
|
*
|
|
12976
13035
|
* @remarks
|
|
12977
13036
|
* [Api set: Mailbox 1.10]
|
|
@@ -89230,7 +89289,7 @@ declare namespace Word {
|
|
|
89230
89289
|
berry = "Berry",
|
|
89231
89290
|
}
|
|
89232
89291
|
/**
|
|
89233
|
-
* Properties defining the behavior of the pop-up for a given critique.
|
|
89292
|
+
* Properties defining the behavior of the pop-up menu for a given critique.
|
|
89234
89293
|
*
|
|
89235
89294
|
* @remarks
|
|
89236
89295
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -89238,7 +89297,7 @@ declare namespace Word {
|
|
|
89238
89297
|
*/
|
|
89239
89298
|
interface CritiquePopupOptions {
|
|
89240
89299
|
/**
|
|
89241
|
-
* Gets the manifest resource
|
|
89300
|
+
* Gets the manifest resource ID of the string to use for branding. This branding text appears next to your add-in icon in the pop-up menu.
|
|
89242
89301
|
*
|
|
89243
89302
|
* @remarks
|
|
89244
89303
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -89246,7 +89305,7 @@ declare namespace Word {
|
|
|
89246
89305
|
*/
|
|
89247
89306
|
brandingTextResourceId: string;
|
|
89248
89307
|
/**
|
|
89249
|
-
* Gets the manifest resource
|
|
89308
|
+
* Gets the manifest resource ID of the string to use as the subtitle.
|
|
89250
89309
|
*
|
|
89251
89310
|
* @remarks
|
|
89252
89311
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -89254,7 +89313,7 @@ declare namespace Word {
|
|
|
89254
89313
|
*/
|
|
89255
89314
|
subtitleResourceId: string;
|
|
89256
89315
|
/**
|
|
89257
|
-
* Gets the suggestions to display in the critique pop-up.
|
|
89316
|
+
* Gets the suggestions to display in the critique pop-up menu.
|
|
89258
89317
|
*
|
|
89259
89318
|
* @remarks
|
|
89260
89319
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -89262,7 +89321,7 @@ declare namespace Word {
|
|
|
89262
89321
|
*/
|
|
89263
89322
|
suggestions: string[];
|
|
89264
89323
|
/**
|
|
89265
|
-
* Gets the manifest resource
|
|
89324
|
+
* Gets the manifest resource ID of the string to use as the title.
|
|
89266
89325
|
*
|
|
89267
89326
|
* @remarks
|
|
89268
89327
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -89295,7 +89354,7 @@ declare namespace Word {
|
|
|
89295
89354
|
*/
|
|
89296
89355
|
length: number;
|
|
89297
89356
|
/**
|
|
89298
|
-
* Specifies the behavior of the pop-up for the critique.
|
|
89357
|
+
* Specifies the behavior of the pop-up menu for the critique.
|
|
89299
89358
|
*
|
|
89300
89359
|
* @remarks
|
|
89301
89360
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -89581,7 +89640,7 @@ declare namespace Word {
|
|
|
89581
89640
|
id: string;
|
|
89582
89641
|
}
|
|
89583
89642
|
/**
|
|
89584
|
-
*
|
|
89643
|
+
* Represents action information that's passed back on annotation pop-up action event.
|
|
89585
89644
|
*
|
|
89586
89645
|
* @remarks
|
|
89587
89646
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -89589,7 +89648,7 @@ declare namespace Word {
|
|
|
89589
89648
|
*/
|
|
89590
89649
|
interface AnnotationPopupActionEventArgs {
|
|
89591
89650
|
/**
|
|
89592
|
-
* Specifies the chosen action in the pop-up.
|
|
89651
|
+
* Specifies the chosen action in the pop-up menu.
|
|
89593
89652
|
*
|
|
89594
89653
|
* @remarks
|
|
89595
89654
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -90439,6 +90498,14 @@ declare namespace Word {
|
|
|
90439
90498
|
select?: string;
|
|
90440
90499
|
expand?: string;
|
|
90441
90500
|
}): Word.CheckboxContentControl;
|
|
90501
|
+
/**
|
|
90502
|
+
* Track the object for automatic adjustment based on surrounding changes in the document. This call is a shorthand for {@link https://learn.microsoft.com/javascript/api/office/officeextension.clientrequestcontext#office-officeextension-clientrequestcontext-trackedobjects-member | context.trackedObjects.add(thisObject)}. If you're 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.
|
|
90503
|
+
*/
|
|
90504
|
+
track(): Word.CheckboxContentControl;
|
|
90505
|
+
/**
|
|
90506
|
+
* Release the memory associated with this object, if it has previously been tracked. This call is shorthand for {@link https://learn.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.
|
|
90507
|
+
*/
|
|
90508
|
+
untrack(): Word.CheckboxContentControl;
|
|
90442
90509
|
/**
|
|
90443
90510
|
* 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.)
|
|
90444
90511
|
* Whereas the original Word.CheckboxContentControl object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `Word.Interfaces.CheckboxContentControlData`) that contains shallow copies of any loaded child properties from the original object.
|
|
@@ -90908,7 +90975,7 @@ declare namespace Word {
|
|
|
90908
90975
|
toJSON(): Word.Interfaces.CommentReplyCollectionData;
|
|
90909
90976
|
}
|
|
90910
90977
|
/**
|
|
90911
|
-
* Represents a content control. Content controls are bounded and potentially labeled regions in a document that serve as containers for specific types of content. Individual content controls may contain contents such as images, tables, or paragraphs of formatted text. Currently, only rich text
|
|
90978
|
+
* Represents a content control. Content controls are bounded and potentially labeled regions in a document that serve as containers for specific types of content. Individual content controls may contain contents such as images, tables, or paragraphs of formatted text. Currently, only rich text, plain text, and checkbox content controls are supported.
|
|
90912
90979
|
*
|
|
90913
90980
|
* @remarks
|
|
90914
90981
|
* [Api set: WordApi 1.1]
|
|
@@ -91104,7 +91171,7 @@ declare namespace Word {
|
|
|
91104
91171
|
*/
|
|
91105
91172
|
styleBuiltIn: Word.BuiltInStyleName | "Other" | "Normal" | "Heading1" | "Heading2" | "Heading3" | "Heading4" | "Heading5" | "Heading6" | "Heading7" | "Heading8" | "Heading9" | "Toc1" | "Toc2" | "Toc3" | "Toc4" | "Toc5" | "Toc6" | "Toc7" | "Toc8" | "Toc9" | "FootnoteText" | "Header" | "Footer" | "Caption" | "FootnoteReference" | "EndnoteReference" | "EndnoteText" | "Title" | "Subtitle" | "Hyperlink" | "Strong" | "Emphasis" | "NoSpacing" | "ListParagraph" | "Quote" | "IntenseQuote" | "SubtleEmphasis" | "IntenseEmphasis" | "SubtleReference" | "IntenseReference" | "BookTitle" | "Bibliography" | "TocHeading" | "TableGrid" | "PlainTable1" | "PlainTable2" | "PlainTable3" | "PlainTable4" | "PlainTable5" | "TableGridLight" | "GridTable1Light" | "GridTable1Light_Accent1" | "GridTable1Light_Accent2" | "GridTable1Light_Accent3" | "GridTable1Light_Accent4" | "GridTable1Light_Accent5" | "GridTable1Light_Accent6" | "GridTable2" | "GridTable2_Accent1" | "GridTable2_Accent2" | "GridTable2_Accent3" | "GridTable2_Accent4" | "GridTable2_Accent5" | "GridTable2_Accent6" | "GridTable3" | "GridTable3_Accent1" | "GridTable3_Accent2" | "GridTable3_Accent3" | "GridTable3_Accent4" | "GridTable3_Accent5" | "GridTable3_Accent6" | "GridTable4" | "GridTable4_Accent1" | "GridTable4_Accent2" | "GridTable4_Accent3" | "GridTable4_Accent4" | "GridTable4_Accent5" | "GridTable4_Accent6" | "GridTable5Dark" | "GridTable5Dark_Accent1" | "GridTable5Dark_Accent2" | "GridTable5Dark_Accent3" | "GridTable5Dark_Accent4" | "GridTable5Dark_Accent5" | "GridTable5Dark_Accent6" | "GridTable6Colorful" | "GridTable6Colorful_Accent1" | "GridTable6Colorful_Accent2" | "GridTable6Colorful_Accent3" | "GridTable6Colorful_Accent4" | "GridTable6Colorful_Accent5" | "GridTable6Colorful_Accent6" | "GridTable7Colorful" | "GridTable7Colorful_Accent1" | "GridTable7Colorful_Accent2" | "GridTable7Colorful_Accent3" | "GridTable7Colorful_Accent4" | "GridTable7Colorful_Accent5" | "GridTable7Colorful_Accent6" | "ListTable1Light" | "ListTable1Light_Accent1" | "ListTable1Light_Accent2" | "ListTable1Light_Accent3" | "ListTable1Light_Accent4" | "ListTable1Light_Accent5" | "ListTable1Light_Accent6" | "ListTable2" | "ListTable2_Accent1" | "ListTable2_Accent2" | "ListTable2_Accent3" | "ListTable2_Accent4" | "ListTable2_Accent5" | "ListTable2_Accent6" | "ListTable3" | "ListTable3_Accent1" | "ListTable3_Accent2" | "ListTable3_Accent3" | "ListTable3_Accent4" | "ListTable3_Accent5" | "ListTable3_Accent6" | "ListTable4" | "ListTable4_Accent1" | "ListTable4_Accent2" | "ListTable4_Accent3" | "ListTable4_Accent4" | "ListTable4_Accent5" | "ListTable4_Accent6" | "ListTable5Dark" | "ListTable5Dark_Accent1" | "ListTable5Dark_Accent2" | "ListTable5Dark_Accent3" | "ListTable5Dark_Accent4" | "ListTable5Dark_Accent5" | "ListTable5Dark_Accent6" | "ListTable6Colorful" | "ListTable6Colorful_Accent1" | "ListTable6Colorful_Accent2" | "ListTable6Colorful_Accent3" | "ListTable6Colorful_Accent4" | "ListTable6Colorful_Accent5" | "ListTable6Colorful_Accent6" | "ListTable7Colorful" | "ListTable7Colorful_Accent1" | "ListTable7Colorful_Accent2" | "ListTable7Colorful_Accent3" | "ListTable7Colorful_Accent4" | "ListTable7Colorful_Accent5" | "ListTable7Colorful_Accent6";
|
|
91106
91173
|
/**
|
|
91107
|
-
* Gets the content control subtype. The subtype can be 'RichTextInline', 'RichTextParagraphs', 'RichTextTableCell', 'RichTextTableRow' and 'RichTextTable' for rich text content controls, or 'PlainTextInline' and 'PlainTextParagraph' for plain text content controls.
|
|
91174
|
+
* Gets the content control subtype. The subtype can be 'RichTextInline', 'RichTextParagraphs', 'RichTextTableCell', 'RichTextTableRow' and 'RichTextTable' for rich text content controls, or 'PlainTextInline' and 'PlainTextParagraph' for plain text content controls, or 'CheckBox' for checkbox content controls.
|
|
91108
91175
|
*
|
|
91109
91176
|
* @remarks
|
|
91110
91177
|
* [Api set: WordApi 1.3]
|
|
@@ -91132,7 +91199,7 @@ declare namespace Word {
|
|
|
91132
91199
|
*/
|
|
91133
91200
|
title: string;
|
|
91134
91201
|
/**
|
|
91135
|
-
* Gets the content control type. Only rich text
|
|
91202
|
+
* Gets the content control type. Only rich text, plain text, and checkbox content controls are supported currently.
|
|
91136
91203
|
*
|
|
91137
91204
|
* @remarks
|
|
91138
91205
|
* [Api set: WordApi 1.1]
|
|
@@ -92563,7 +92630,7 @@ declare namespace Word {
|
|
|
92563
92630
|
*/
|
|
92564
92631
|
readonly onAnnotationInserted: OfficeExtension.EventHandlers<Word.AnnotationInsertedEventArgs>;
|
|
92565
92632
|
/**
|
|
92566
|
-
* Occurs when the user performs an action in an annotation pop-up.
|
|
92633
|
+
* Occurs when the user performs an action in an annotation pop-up menu.
|
|
92567
92634
|
*
|
|
92568
92635
|
* @remarks
|
|
92569
92636
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
@@ -95808,6 +95875,15 @@ declare namespace Word {
|
|
|
95808
95875
|
* [Api set: WordApi 1.6]
|
|
95809
95876
|
*/
|
|
95810
95877
|
getTrackedChanges(): Word.TrackedChangeCollection;
|
|
95878
|
+
/**
|
|
95879
|
+
* Highlights the range temporarily without changing document content.
|
|
95880
|
+
To highlight the text permanently, set the range's Font.HighlightColor.
|
|
95881
|
+
*
|
|
95882
|
+
* @remarks
|
|
95883
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
95884
|
+
* @beta
|
|
95885
|
+
*/
|
|
95886
|
+
highlight(): void;
|
|
95811
95887
|
/**
|
|
95812
95888
|
* Inserts a bookmark on the range. If a bookmark of the same name exists somewhere, it is deleted first.
|
|
95813
95889
|
*
|
|
@@ -96012,6 +96088,14 @@ declare namespace Word {
|
|
|
96012
96088
|
* @param range Required. Another range.
|
|
96013
96089
|
*/
|
|
96014
96090
|
intersectWithOrNullObject(range: Word.Range): Word.Range;
|
|
96091
|
+
/**
|
|
96092
|
+
* Removes the highlight added by the Highlight function if any.
|
|
96093
|
+
*
|
|
96094
|
+
* @remarks
|
|
96095
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
96096
|
+
* @beta
|
|
96097
|
+
*/
|
|
96098
|
+
removeHighlight(): void;
|
|
96015
96099
|
/**
|
|
96016
96100
|
* Performs a search with the specified SearchOptions on the scope of the range object. The search results are a collection of range objects.
|
|
96017
96101
|
*
|
|
@@ -104713,7 +104797,7 @@ declare namespace Word {
|
|
|
104713
104797
|
*/
|
|
104714
104798
|
styleBuiltIn?: Word.BuiltInStyleName | "Other" | "Normal" | "Heading1" | "Heading2" | "Heading3" | "Heading4" | "Heading5" | "Heading6" | "Heading7" | "Heading8" | "Heading9" | "Toc1" | "Toc2" | "Toc3" | "Toc4" | "Toc5" | "Toc6" | "Toc7" | "Toc8" | "Toc9" | "FootnoteText" | "Header" | "Footer" | "Caption" | "FootnoteReference" | "EndnoteReference" | "EndnoteText" | "Title" | "Subtitle" | "Hyperlink" | "Strong" | "Emphasis" | "NoSpacing" | "ListParagraph" | "Quote" | "IntenseQuote" | "SubtleEmphasis" | "IntenseEmphasis" | "SubtleReference" | "IntenseReference" | "BookTitle" | "Bibliography" | "TocHeading" | "TableGrid" | "PlainTable1" | "PlainTable2" | "PlainTable3" | "PlainTable4" | "PlainTable5" | "TableGridLight" | "GridTable1Light" | "GridTable1Light_Accent1" | "GridTable1Light_Accent2" | "GridTable1Light_Accent3" | "GridTable1Light_Accent4" | "GridTable1Light_Accent5" | "GridTable1Light_Accent6" | "GridTable2" | "GridTable2_Accent1" | "GridTable2_Accent2" | "GridTable2_Accent3" | "GridTable2_Accent4" | "GridTable2_Accent5" | "GridTable2_Accent6" | "GridTable3" | "GridTable3_Accent1" | "GridTable3_Accent2" | "GridTable3_Accent3" | "GridTable3_Accent4" | "GridTable3_Accent5" | "GridTable3_Accent6" | "GridTable4" | "GridTable4_Accent1" | "GridTable4_Accent2" | "GridTable4_Accent3" | "GridTable4_Accent4" | "GridTable4_Accent5" | "GridTable4_Accent6" | "GridTable5Dark" | "GridTable5Dark_Accent1" | "GridTable5Dark_Accent2" | "GridTable5Dark_Accent3" | "GridTable5Dark_Accent4" | "GridTable5Dark_Accent5" | "GridTable5Dark_Accent6" | "GridTable6Colorful" | "GridTable6Colorful_Accent1" | "GridTable6Colorful_Accent2" | "GridTable6Colorful_Accent3" | "GridTable6Colorful_Accent4" | "GridTable6Colorful_Accent5" | "GridTable6Colorful_Accent6" | "GridTable7Colorful" | "GridTable7Colorful_Accent1" | "GridTable7Colorful_Accent2" | "GridTable7Colorful_Accent3" | "GridTable7Colorful_Accent4" | "GridTable7Colorful_Accent5" | "GridTable7Colorful_Accent6" | "ListTable1Light" | "ListTable1Light_Accent1" | "ListTable1Light_Accent2" | "ListTable1Light_Accent3" | "ListTable1Light_Accent4" | "ListTable1Light_Accent5" | "ListTable1Light_Accent6" | "ListTable2" | "ListTable2_Accent1" | "ListTable2_Accent2" | "ListTable2_Accent3" | "ListTable2_Accent4" | "ListTable2_Accent5" | "ListTable2_Accent6" | "ListTable3" | "ListTable3_Accent1" | "ListTable3_Accent2" | "ListTable3_Accent3" | "ListTable3_Accent4" | "ListTable3_Accent5" | "ListTable3_Accent6" | "ListTable4" | "ListTable4_Accent1" | "ListTable4_Accent2" | "ListTable4_Accent3" | "ListTable4_Accent4" | "ListTable4_Accent5" | "ListTable4_Accent6" | "ListTable5Dark" | "ListTable5Dark_Accent1" | "ListTable5Dark_Accent2" | "ListTable5Dark_Accent3" | "ListTable5Dark_Accent4" | "ListTable5Dark_Accent5" | "ListTable5Dark_Accent6" | "ListTable6Colorful" | "ListTable6Colorful_Accent1" | "ListTable6Colorful_Accent2" | "ListTable6Colorful_Accent3" | "ListTable6Colorful_Accent4" | "ListTable6Colorful_Accent5" | "ListTable6Colorful_Accent6" | "ListTable7Colorful" | "ListTable7Colorful_Accent1" | "ListTable7Colorful_Accent2" | "ListTable7Colorful_Accent3" | "ListTable7Colorful_Accent4" | "ListTable7Colorful_Accent5" | "ListTable7Colorful_Accent6";
|
|
104715
104799
|
/**
|
|
104716
|
-
* Gets the content control subtype. The subtype can be 'RichTextInline', 'RichTextParagraphs', 'RichTextTableCell', 'RichTextTableRow' and 'RichTextTable' for rich text content controls, or 'PlainTextInline' and 'PlainTextParagraph' for plain text content controls.
|
|
104800
|
+
* Gets the content control subtype. The subtype can be 'RichTextInline', 'RichTextParagraphs', 'RichTextTableCell', 'RichTextTableRow' and 'RichTextTable' for rich text content controls, or 'PlainTextInline' and 'PlainTextParagraph' for plain text content controls, or 'CheckBox' for checkbox content controls.
|
|
104717
104801
|
*
|
|
104718
104802
|
* @remarks
|
|
104719
104803
|
* [Api set: WordApi 1.3]
|
|
@@ -104741,7 +104825,7 @@ declare namespace Word {
|
|
|
104741
104825
|
*/
|
|
104742
104826
|
title?: string;
|
|
104743
104827
|
/**
|
|
104744
|
-
* Gets the content control type. Only rich text
|
|
104828
|
+
* Gets the content control type. Only rich text, plain text, and checkbox content controls are supported currently.
|
|
104745
104829
|
*
|
|
104746
104830
|
* @remarks
|
|
104747
104831
|
* [Api set: WordApi 1.1]
|
|
@@ -107072,7 +107156,7 @@ declare namespace Word {
|
|
|
107072
107156
|
id?: boolean;
|
|
107073
107157
|
}
|
|
107074
107158
|
/**
|
|
107075
|
-
* Represents a content control. Content controls are bounded and potentially labeled regions in a document that serve as containers for specific types of content. Individual content controls may contain contents such as images, tables, or paragraphs of formatted text. Currently, only rich text
|
|
107159
|
+
* Represents a content control. Content controls are bounded and potentially labeled regions in a document that serve as containers for specific types of content. Individual content controls may contain contents such as images, tables, or paragraphs of formatted text. Currently, only rich text, plain text, and checkbox content controls are supported.
|
|
107076
107160
|
*
|
|
107077
107161
|
* @remarks
|
|
107078
107162
|
* [Api set: WordApi 1.1]
|
|
@@ -107212,7 +107296,7 @@ declare namespace Word {
|
|
|
107212
107296
|
*/
|
|
107213
107297
|
styleBuiltIn?: boolean;
|
|
107214
107298
|
/**
|
|
107215
|
-
* Gets the content control subtype. The subtype can be 'RichTextInline', 'RichTextParagraphs', 'RichTextTableCell', 'RichTextTableRow' and 'RichTextTable' for rich text content controls, or 'PlainTextInline' and 'PlainTextParagraph' for plain text content controls.
|
|
107299
|
+
* Gets the content control subtype. The subtype can be 'RichTextInline', 'RichTextParagraphs', 'RichTextTableCell', 'RichTextTableRow' and 'RichTextTable' for rich text content controls, or 'PlainTextInline' and 'PlainTextParagraph' for plain text content controls, or 'CheckBox' for checkbox content controls.
|
|
107216
107300
|
*
|
|
107217
107301
|
* @remarks
|
|
107218
107302
|
* [Api set: WordApi 1.3]
|
|
@@ -107240,7 +107324,7 @@ declare namespace Word {
|
|
|
107240
107324
|
*/
|
|
107241
107325
|
title?: boolean;
|
|
107242
107326
|
/**
|
|
107243
|
-
* Gets the content control type. Only rich text
|
|
107327
|
+
* Gets the content control type. Only rich text, plain text, and checkbox content controls are supported currently.
|
|
107244
107328
|
*
|
|
107245
107329
|
* @remarks
|
|
107246
107330
|
* [Api set: WordApi 1.1]
|
|
@@ -107388,7 +107472,7 @@ declare namespace Word {
|
|
|
107388
107472
|
*/
|
|
107389
107473
|
styleBuiltIn?: boolean;
|
|
107390
107474
|
/**
|
|
107391
|
-
* For EACH ITEM in the collection: Gets the content control subtype. The subtype can be 'RichTextInline', 'RichTextParagraphs', 'RichTextTableCell', 'RichTextTableRow' and 'RichTextTable' for rich text content controls, or 'PlainTextInline' and 'PlainTextParagraph' for plain text content controls.
|
|
107475
|
+
* For EACH ITEM in the collection: Gets the content control subtype. The subtype can be 'RichTextInline', 'RichTextParagraphs', 'RichTextTableCell', 'RichTextTableRow' and 'RichTextTable' for rich text content controls, or 'PlainTextInline' and 'PlainTextParagraph' for plain text content controls, or 'CheckBox' for checkbox content controls.
|
|
107392
107476
|
*
|
|
107393
107477
|
* @remarks
|
|
107394
107478
|
* [Api set: WordApi 1.3]
|
|
@@ -107416,7 +107500,7 @@ declare namespace Word {
|
|
|
107416
107500
|
*/
|
|
107417
107501
|
title?: boolean;
|
|
107418
107502
|
/**
|
|
107419
|
-
* For EACH ITEM in the collection: Gets the content control type. Only rich text
|
|
107503
|
+
* For EACH ITEM in the collection: Gets the content control type. Only rich text, plain text, and checkbox content controls are supported currently.
|
|
107420
107504
|
*
|
|
107421
107505
|
* @remarks
|
|
107422
107506
|
* [Api set: WordApi 1.1]
|
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.443",
|
|
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,6 +45,6 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "5114d78a85066f06c88466980819fe055cc6708b0039af9961780f5663baba08",
|
|
49
49
|
"typeScriptVersion": "4.6"
|
|
50
50
|
}
|