@types/office-js-preview 1.0.436 → 1.0.437
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 +125 -19
- 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: Tue, 12 Dec 2023
|
|
11
|
+
* Last updated: Tue, 12 Dec 2023 21:07:04 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js-preview/index.d.ts
CHANGED
|
@@ -88905,6 +88905,47 @@ declare namespace Word {
|
|
|
88905
88905
|
*/
|
|
88906
88906
|
berry = "Berry",
|
|
88907
88907
|
}
|
|
88908
|
+
/**
|
|
88909
|
+
* Properties defining the behavior of the pop-up for a given critique.
|
|
88910
|
+
*
|
|
88911
|
+
* @remarks
|
|
88912
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
88913
|
+
* @beta
|
|
88914
|
+
*/
|
|
88915
|
+
interface CritiquePopupOptions {
|
|
88916
|
+
/**
|
|
88917
|
+
* Gets the manifest resource id of the string to use for branding.
|
|
88918
|
+
*
|
|
88919
|
+
* @remarks
|
|
88920
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
88921
|
+
* @beta
|
|
88922
|
+
*/
|
|
88923
|
+
brandingTextResourceId: string;
|
|
88924
|
+
/**
|
|
88925
|
+
* Gets the manifest resource id of the string to use as subtitle.
|
|
88926
|
+
*
|
|
88927
|
+
* @remarks
|
|
88928
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
88929
|
+
* @beta
|
|
88930
|
+
*/
|
|
88931
|
+
subtitleResourceId: string;
|
|
88932
|
+
/**
|
|
88933
|
+
* Gets the suggestions to display in the critique pop-up.
|
|
88934
|
+
*
|
|
88935
|
+
* @remarks
|
|
88936
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
88937
|
+
* @beta
|
|
88938
|
+
*/
|
|
88939
|
+
suggestions: string[];
|
|
88940
|
+
/**
|
|
88941
|
+
* Gets the manifest resource id of the string to use as title.
|
|
88942
|
+
*
|
|
88943
|
+
* @remarks
|
|
88944
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
88945
|
+
* @beta
|
|
88946
|
+
*/
|
|
88947
|
+
titleResourceId: string;
|
|
88948
|
+
}
|
|
88908
88949
|
/**
|
|
88909
88950
|
* Critique that will be rendered as underline for the specified part of paragraph in the document.
|
|
88910
88951
|
*
|
|
@@ -88929,6 +88970,14 @@ declare namespace Word {
|
|
|
88929
88970
|
* @beta
|
|
88930
88971
|
*/
|
|
88931
88972
|
length: number;
|
|
88973
|
+
/**
|
|
88974
|
+
* Specifies the behavior of the pop-up for the critique.
|
|
88975
|
+
*
|
|
88976
|
+
* @remarks
|
|
88977
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
88978
|
+
* @beta
|
|
88979
|
+
*/
|
|
88980
|
+
popupOptions: Word.CritiquePopupOptions;
|
|
88932
88981
|
/**
|
|
88933
88982
|
* Gets the start index of the critique inside paragraph.
|
|
88934
88983
|
*
|
|
@@ -89207,6 +89256,39 @@ declare namespace Word {
|
|
|
89207
89256
|
*/
|
|
89208
89257
|
id: string;
|
|
89209
89258
|
}
|
|
89259
|
+
/**
|
|
89260
|
+
* Holds action information that is passed back on annotation pop-up action event.
|
|
89261
|
+
*
|
|
89262
|
+
* @remarks
|
|
89263
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
89264
|
+
* @beta
|
|
89265
|
+
*/
|
|
89266
|
+
interface AnnotationPopupActionEventArgs {
|
|
89267
|
+
/**
|
|
89268
|
+
* Specifies the chosen action in the pop-up.
|
|
89269
|
+
*
|
|
89270
|
+
* @remarks
|
|
89271
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
89272
|
+
* @beta
|
|
89273
|
+
*/
|
|
89274
|
+
action: string;
|
|
89275
|
+
/**
|
|
89276
|
+
* Specifies the suggestion accepted (only populated when accepting a critique suggestion).
|
|
89277
|
+
*
|
|
89278
|
+
* @remarks
|
|
89279
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
89280
|
+
* @beta
|
|
89281
|
+
*/
|
|
89282
|
+
critiqueSuggestion: string;
|
|
89283
|
+
/**
|
|
89284
|
+
* Specifies the annotation ID for which the event was fired.
|
|
89285
|
+
*
|
|
89286
|
+
* @remarks
|
|
89287
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
89288
|
+
* @beta
|
|
89289
|
+
*/
|
|
89290
|
+
id: string;
|
|
89291
|
+
}
|
|
89210
89292
|
/**
|
|
89211
89293
|
* Contains a collection of {@link Word.Annotation} objects.
|
|
89212
89294
|
*
|
|
@@ -92008,7 +92090,6 @@ declare namespace Word {
|
|
|
92008
92090
|
getContentControls(options?: Word.ContentControlOptions): Word.ContentControlCollection;
|
|
92009
92091
|
/**
|
|
92010
92092
|
* Gets the document's endnotes in a single body.
|
|
92011
|
-
Not implemented in Word on the web.
|
|
92012
92093
|
*
|
|
92013
92094
|
* @remarks
|
|
92014
92095
|
* [Api set: WordApi 1.5]
|
|
@@ -92016,7 +92097,6 @@ declare namespace Word {
|
|
|
92016
92097
|
getEndnoteBody(): Word.Body;
|
|
92017
92098
|
/**
|
|
92018
92099
|
* Gets the document's footnotes in a single body.
|
|
92019
|
-
Not implemented in Word on the web.
|
|
92020
92100
|
*
|
|
92021
92101
|
* @remarks
|
|
92022
92102
|
* [Api set: WordApi 1.5]
|
|
@@ -92158,6 +92238,16 @@ declare namespace Word {
|
|
|
92158
92238
|
* @beta
|
|
92159
92239
|
*/
|
|
92160
92240
|
readonly onAnnotationInserted: OfficeExtension.EventHandlers<Word.AnnotationInsertedEventArgs>;
|
|
92241
|
+
/**
|
|
92242
|
+
* Occurs when the user performs an action in an annotation pop-up.
|
|
92243
|
+
*
|
|
92244
|
+
* @remarks
|
|
92245
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
92246
|
+
*
|
|
92247
|
+
* @eventproperty
|
|
92248
|
+
* @beta
|
|
92249
|
+
*/
|
|
92250
|
+
readonly onAnnotationPopupAction: OfficeExtension.EventHandlers<Word.AnnotationPopupActionEventArgs>;
|
|
92161
92251
|
/**
|
|
92162
92252
|
* Occurs when the user deletes one or more annotations.
|
|
92163
92253
|
*
|
|
@@ -95146,14 +95236,14 @@ declare namespace Word {
|
|
|
95146
95236
|
*/
|
|
95147
95237
|
readonly parentBody: Word.Body;
|
|
95148
95238
|
/**
|
|
95149
|
-
* Gets the content control that contains the range. Throws an `ItemNotFound` error if there isn't a parent content control.
|
|
95239
|
+
* Gets the currently supported content control that contains the range. Throws an `ItemNotFound` error if there isn't a parent content control.
|
|
95150
95240
|
*
|
|
95151
95241
|
* @remarks
|
|
95152
95242
|
* [Api set: WordApi 1.1]
|
|
95153
95243
|
*/
|
|
95154
95244
|
readonly parentContentControl: Word.ContentControl;
|
|
95155
95245
|
/**
|
|
95156
|
-
* Gets the content control that contains the range. If there isn't a parent content control, then this method will return an object with its `isNullObject` property set to `true`. For further information, see {@link https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods and properties}.
|
|
95246
|
+
* Gets the currently supported content control that contains the range. If there isn't a parent content control, then this method will return an object with its `isNullObject` property set to `true`. For further information, see {@link https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods and properties}.
|
|
95157
95247
|
*
|
|
95158
95248
|
* @remarks
|
|
95159
95249
|
* [Api set: WordApi 1.3]
|
|
@@ -95806,6 +95896,14 @@ declare namespace Word {
|
|
|
95806
95896
|
* [Api set: WordApi 1.6]
|
|
95807
95897
|
*/
|
|
95808
95898
|
importCustomXmlParts?: boolean;
|
|
95899
|
+
/**
|
|
95900
|
+
* Represents whether to import the Different Odd and Even Pages setting for the header and footer from the source document.
|
|
95901
|
+
*
|
|
95902
|
+
* @remarks
|
|
95903
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
95904
|
+
* @beta
|
|
95905
|
+
*/
|
|
95906
|
+
importDifferentOddEvenPages?: boolean;
|
|
95809
95907
|
/**
|
|
95810
95908
|
* Represents whether the page color and other background information from the source document should be imported.
|
|
95811
95909
|
*
|
|
@@ -98540,6 +98638,13 @@ declare namespace Word {
|
|
|
98540
98638
|
* @beta
|
|
98541
98639
|
*/
|
|
98542
98640
|
annotationRemoved = "AnnotationRemoved",
|
|
98641
|
+
/**
|
|
98642
|
+
* Represents an action in the annotation pop-up.
|
|
98643
|
+
* @remarks
|
|
98644
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
98645
|
+
* @beta
|
|
98646
|
+
*/
|
|
98647
|
+
annotationPopupAction = "AnnotationPopupAction",
|
|
98543
98648
|
}
|
|
98544
98649
|
/**
|
|
98545
98650
|
* An enum that specifies an event's source. It can be local or remote (through coauthoring).
|
|
@@ -98582,7 +98687,7 @@ declare namespace Word {
|
|
|
98582
98687
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
98583
98688
|
* @beta
|
|
98584
98689
|
*/
|
|
98585
|
-
eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved";
|
|
98690
|
+
eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved" | "AnnotationPopupAction";
|
|
98586
98691
|
/**
|
|
98587
98692
|
* Gets the content control IDs.
|
|
98588
98693
|
*
|
|
@@ -98613,7 +98718,7 @@ declare namespace Word {
|
|
|
98613
98718
|
* @remarks
|
|
98614
98719
|
* [Api set: WordApi 1.5]
|
|
98615
98720
|
*/
|
|
98616
|
-
eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved";
|
|
98721
|
+
eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved" | "AnnotationPopupAction";
|
|
98617
98722
|
/**
|
|
98618
98723
|
* Gets the content control IDs.
|
|
98619
98724
|
*
|
|
@@ -98642,7 +98747,7 @@ declare namespace Word {
|
|
|
98642
98747
|
* @remarks
|
|
98643
98748
|
* [Api set: WordApi 1.5]
|
|
98644
98749
|
*/
|
|
98645
|
-
eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved";
|
|
98750
|
+
eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved" | "AnnotationPopupAction";
|
|
98646
98751
|
/**
|
|
98647
98752
|
* Gets the content control IDs.
|
|
98648
98753
|
*
|
|
@@ -98671,7 +98776,7 @@ declare namespace Word {
|
|
|
98671
98776
|
* @remarks
|
|
98672
98777
|
* [Api set: WordApi 1.5]
|
|
98673
98778
|
*/
|
|
98674
|
-
eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved";
|
|
98779
|
+
eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved" | "AnnotationPopupAction";
|
|
98675
98780
|
/**
|
|
98676
98781
|
* Gets the content control IDs.
|
|
98677
98782
|
*
|
|
@@ -98700,7 +98805,7 @@ declare namespace Word {
|
|
|
98700
98805
|
* @remarks
|
|
98701
98806
|
* [Api set: WordApi 1.5]
|
|
98702
98807
|
*/
|
|
98703
|
-
eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved";
|
|
98808
|
+
eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved" | "AnnotationPopupAction";
|
|
98704
98809
|
/**
|
|
98705
98810
|
* Gets the content control IDs.
|
|
98706
98811
|
*
|
|
@@ -98729,7 +98834,7 @@ declare namespace Word {
|
|
|
98729
98834
|
* @remarks
|
|
98730
98835
|
* [Api set: WordApi 1.5]
|
|
98731
98836
|
*/
|
|
98732
|
-
eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved";
|
|
98837
|
+
eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved" | "AnnotationPopupAction";
|
|
98733
98838
|
/**
|
|
98734
98839
|
* Gets the content control IDs.
|
|
98735
98840
|
*
|
|
@@ -98758,7 +98863,7 @@ declare namespace Word {
|
|
|
98758
98863
|
* @remarks
|
|
98759
98864
|
* [Api set: WordApi 1.5]
|
|
98760
98865
|
*/
|
|
98761
|
-
eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved";
|
|
98866
|
+
eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved" | "AnnotationPopupAction";
|
|
98762
98867
|
/**
|
|
98763
98868
|
* Gets the content control IDs.
|
|
98764
98869
|
*
|
|
@@ -98794,7 +98899,7 @@ declare namespace Word {
|
|
|
98794
98899
|
* @remarks
|
|
98795
98900
|
* [Api set: WordApi 1.6]
|
|
98796
98901
|
*/
|
|
98797
|
-
type: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved";
|
|
98902
|
+
type: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved" | "AnnotationPopupAction";
|
|
98798
98903
|
/**
|
|
98799
98904
|
* Gets the unique IDs of the involved paragraphs. IDs are in standard 8-4-4-4-12 GUID format without curly braces and differ across sessions and coauthors.
|
|
98800
98905
|
*
|
|
@@ -98823,7 +98928,7 @@ declare namespace Word {
|
|
|
98823
98928
|
* @remarks
|
|
98824
98929
|
* [Api set: WordApi 1.6]
|
|
98825
98930
|
*/
|
|
98826
|
-
type: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved";
|
|
98931
|
+
type: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved" | "AnnotationPopupAction";
|
|
98827
98932
|
/**
|
|
98828
98933
|
* Gets the unique IDs of the involved paragraphs. IDs are in standard 8-4-4-4-12 GUID format without curly braces and differ across sessions and coauthors.
|
|
98829
98934
|
*
|
|
@@ -98852,7 +98957,7 @@ declare namespace Word {
|
|
|
98852
98957
|
* @remarks
|
|
98853
98958
|
* [Api set: WordApi 1.6]
|
|
98854
98959
|
*/
|
|
98855
|
-
type: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved";
|
|
98960
|
+
type: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved" | "AnnotationPopupAction";
|
|
98856
98961
|
/**
|
|
98857
98962
|
* Gets the unique IDs of the involved paragraphs. IDs are in standard 8-4-4-4-12 GUID format without curly braces and differ across sessions and coauthors.
|
|
98858
98963
|
*
|
|
@@ -98900,7 +99005,7 @@ declare namespace Word {
|
|
|
98900
99005
|
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
98901
99006
|
* @beta
|
|
98902
99007
|
*/
|
|
98903
|
-
type: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved";
|
|
99008
|
+
type: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved" | "AnnotationPopupAction";
|
|
98904
99009
|
}
|
|
98905
99010
|
/**
|
|
98906
99011
|
* A structure for the ID and reply IDs of this comment.
|
|
@@ -102284,6 +102389,7 @@ declare namespace Word {
|
|
|
102284
102389
|
generalException = "GeneralException",
|
|
102285
102390
|
invalidArgument = "InvalidArgument",
|
|
102286
102391
|
itemNotFound = "ItemNotFound",
|
|
102392
|
+
notAllowed = "NotAllowed",
|
|
102287
102393
|
notImplemented = "NotImplemented",
|
|
102288
102394
|
searchDialogIsOpen = "SearchDialogIsOpen",
|
|
102289
102395
|
searchStringInvalidOrTooLong = "SearchStringInvalidOrTooLong",
|
|
@@ -108840,14 +108946,14 @@ declare namespace Word {
|
|
|
108840
108946
|
*/
|
|
108841
108947
|
parentBody?: Word.Interfaces.BodyLoadOptions;
|
|
108842
108948
|
/**
|
|
108843
|
-
* Gets the content control that contains the range. Throws an `ItemNotFound` error if there isn't a parent content control.
|
|
108949
|
+
* Gets the currently supported content control that contains the range. Throws an `ItemNotFound` error if there isn't a parent content control.
|
|
108844
108950
|
*
|
|
108845
108951
|
* @remarks
|
|
108846
108952
|
* [Api set: WordApi 1.1]
|
|
108847
108953
|
*/
|
|
108848
108954
|
parentContentControl?: Word.Interfaces.ContentControlLoadOptions;
|
|
108849
108955
|
/**
|
|
108850
|
-
* Gets the content control that contains the range. If there isn't a parent content control, then this method will return an object with its `isNullObject` property set to `true`. For further information, see {@link https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods and properties}.
|
|
108956
|
+
* Gets the currently supported content control that contains the range. If there isn't a parent content control, then this method will return an object with its `isNullObject` property set to `true`. For further information, see {@link https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods and properties}.
|
|
108851
108957
|
*
|
|
108852
108958
|
* @remarks
|
|
108853
108959
|
* [Api set: WordApi 1.3]
|
|
@@ -108943,14 +109049,14 @@ declare namespace Word {
|
|
|
108943
109049
|
*/
|
|
108944
109050
|
parentBody?: Word.Interfaces.BodyLoadOptions;
|
|
108945
109051
|
/**
|
|
108946
|
-
* For EACH ITEM in the collection: Gets the content control that contains the range. Throws an `ItemNotFound` error if there isn't a parent content control.
|
|
109052
|
+
* For EACH ITEM in the collection: Gets the currently supported content control that contains the range. Throws an `ItemNotFound` error if there isn't a parent content control.
|
|
108947
109053
|
*
|
|
108948
109054
|
* @remarks
|
|
108949
109055
|
* [Api set: WordApi 1.1]
|
|
108950
109056
|
*/
|
|
108951
109057
|
parentContentControl?: Word.Interfaces.ContentControlLoadOptions;
|
|
108952
109058
|
/**
|
|
108953
|
-
* For EACH ITEM in the collection: Gets the content control that contains the range. If there isn't a parent content control, then this method will return an object with its `isNullObject` property set to `true`. For further information, see {@link https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods and properties}.
|
|
109059
|
+
* For EACH ITEM in the collection: Gets the currently supported content control that contains the range. If there isn't a parent content control, then this method will return an object with its `isNullObject` property set to `true`. For further information, see {@link https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods and properties}.
|
|
108954
109060
|
*
|
|
108955
109061
|
* @remarks
|
|
108956
109062
|
* [Api set: WordApi 1.3]
|
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.437",
|
|
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": "211e7dd88043df9dc2b5058b1331305810e268265d5cae92f0e02a9dd2329bab",
|
|
49
49
|
"typeScriptVersion": "4.6"
|
|
50
50
|
}
|