@types/office-js-preview 1.0.436 → 1.0.438

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.
@@ -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 18:35:46 GMT
11
+ * Last updated: Thu, 14 Dec 2023 23:35:42 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -8568,6 +8568,11 @@ declare namespace Office {
8568
8568
  * **Important**: The actual color depends on how the Outlook client renders it.
8569
8569
  * In this case, the colors noted on each preset apply to Outlook on Windows, on the web,
8570
8570
  * and on Mac (starting in Version 16.78).
8571
+ *
8572
+ * Earlier versions of Outlook on Mac had a bug that displayed incorrect preset colors.
8573
+ * This has now been fixed starting in Version 16.78. If you've recently updated your
8574
+ * Outlook client, you need to adjust the category colors in your add-in to match the
8575
+ * updated preset values.
8571
8576
  */
8572
8577
  enum CategoryColor {
8573
8578
  /**
@@ -88905,6 +88910,47 @@ declare namespace Word {
88905
88910
  */
88906
88911
  berry = "Berry",
88907
88912
  }
88913
+ /**
88914
+ * Properties defining the behavior of the pop-up for a given critique.
88915
+ *
88916
+ * @remarks
88917
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
88918
+ * @beta
88919
+ */
88920
+ interface CritiquePopupOptions {
88921
+ /**
88922
+ * Gets the manifest resource id of the string to use for branding.
88923
+ *
88924
+ * @remarks
88925
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
88926
+ * @beta
88927
+ */
88928
+ brandingTextResourceId: string;
88929
+ /**
88930
+ * Gets the manifest resource id of the string to use as subtitle.
88931
+ *
88932
+ * @remarks
88933
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
88934
+ * @beta
88935
+ */
88936
+ subtitleResourceId: string;
88937
+ /**
88938
+ * Gets the suggestions to display in the critique pop-up.
88939
+ *
88940
+ * @remarks
88941
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
88942
+ * @beta
88943
+ */
88944
+ suggestions: string[];
88945
+ /**
88946
+ * Gets the manifest resource id of the string to use as title.
88947
+ *
88948
+ * @remarks
88949
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
88950
+ * @beta
88951
+ */
88952
+ titleResourceId: string;
88953
+ }
88908
88954
  /**
88909
88955
  * Critique that will be rendered as underline for the specified part of paragraph in the document.
88910
88956
  *
@@ -88929,6 +88975,14 @@ declare namespace Word {
88929
88975
  * @beta
88930
88976
  */
88931
88977
  length: number;
88978
+ /**
88979
+ * Specifies the behavior of the pop-up for the critique.
88980
+ *
88981
+ * @remarks
88982
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
88983
+ * @beta
88984
+ */
88985
+ popupOptions: Word.CritiquePopupOptions;
88932
88986
  /**
88933
88987
  * Gets the start index of the critique inside paragraph.
88934
88988
  *
@@ -89207,6 +89261,39 @@ declare namespace Word {
89207
89261
  */
89208
89262
  id: string;
89209
89263
  }
89264
+ /**
89265
+ * Holds action information that is passed back on annotation pop-up action event.
89266
+ *
89267
+ * @remarks
89268
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
89269
+ * @beta
89270
+ */
89271
+ interface AnnotationPopupActionEventArgs {
89272
+ /**
89273
+ * Specifies the chosen action in the pop-up.
89274
+ *
89275
+ * @remarks
89276
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
89277
+ * @beta
89278
+ */
89279
+ action: string;
89280
+ /**
89281
+ * Specifies the suggestion accepted (only populated when accepting a critique suggestion).
89282
+ *
89283
+ * @remarks
89284
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
89285
+ * @beta
89286
+ */
89287
+ critiqueSuggestion: string;
89288
+ /**
89289
+ * Specifies the annotation ID for which the event was fired.
89290
+ *
89291
+ * @remarks
89292
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
89293
+ * @beta
89294
+ */
89295
+ id: string;
89296
+ }
89210
89297
  /**
89211
89298
  * Contains a collection of {@link Word.Annotation} objects.
89212
89299
  *
@@ -92008,7 +92095,6 @@ declare namespace Word {
92008
92095
  getContentControls(options?: Word.ContentControlOptions): Word.ContentControlCollection;
92009
92096
  /**
92010
92097
  * Gets the document's endnotes in a single body.
92011
- Not implemented in Word on the web.
92012
92098
  *
92013
92099
  * @remarks
92014
92100
  * [Api set: WordApi 1.5]
@@ -92016,7 +92102,6 @@ declare namespace Word {
92016
92102
  getEndnoteBody(): Word.Body;
92017
92103
  /**
92018
92104
  * Gets the document's footnotes in a single body.
92019
- Not implemented in Word on the web.
92020
92105
  *
92021
92106
  * @remarks
92022
92107
  * [Api set: WordApi 1.5]
@@ -92158,6 +92243,16 @@ declare namespace Word {
92158
92243
  * @beta
92159
92244
  */
92160
92245
  readonly onAnnotationInserted: OfficeExtension.EventHandlers<Word.AnnotationInsertedEventArgs>;
92246
+ /**
92247
+ * Occurs when the user performs an action in an annotation pop-up.
92248
+ *
92249
+ * @remarks
92250
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
92251
+ *
92252
+ * @eventproperty
92253
+ * @beta
92254
+ */
92255
+ readonly onAnnotationPopupAction: OfficeExtension.EventHandlers<Word.AnnotationPopupActionEventArgs>;
92161
92256
  /**
92162
92257
  * Occurs when the user deletes one or more annotations.
92163
92258
  *
@@ -95146,14 +95241,14 @@ declare namespace Word {
95146
95241
  */
95147
95242
  readonly parentBody: Word.Body;
95148
95243
  /**
95149
- * Gets the content control that contains the range. Throws an `ItemNotFound` error if there isn't a parent content control.
95244
+ * Gets the currently supported content control that contains the range. Throws an `ItemNotFound` error if there isn't a parent content control.
95150
95245
  *
95151
95246
  * @remarks
95152
95247
  * [Api set: WordApi 1.1]
95153
95248
  */
95154
95249
  readonly parentContentControl: Word.ContentControl;
95155
95250
  /**
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}.
95251
+ * 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
95252
  *
95158
95253
  * @remarks
95159
95254
  * [Api set: WordApi 1.3]
@@ -95806,6 +95901,14 @@ declare namespace Word {
95806
95901
  * [Api set: WordApi 1.6]
95807
95902
  */
95808
95903
  importCustomXmlParts?: boolean;
95904
+ /**
95905
+ * Represents whether to import the Different Odd and Even Pages setting for the header and footer from the source document.
95906
+ *
95907
+ * @remarks
95908
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
95909
+ * @beta
95910
+ */
95911
+ importDifferentOddEvenPages?: boolean;
95809
95912
  /**
95810
95913
  * Represents whether the page color and other background information from the source document should be imported.
95811
95914
  *
@@ -98540,6 +98643,13 @@ declare namespace Word {
98540
98643
  * @beta
98541
98644
  */
98542
98645
  annotationRemoved = "AnnotationRemoved",
98646
+ /**
98647
+ * Represents an action in the annotation pop-up.
98648
+ * @remarks
98649
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
98650
+ * @beta
98651
+ */
98652
+ annotationPopupAction = "AnnotationPopupAction",
98543
98653
  }
98544
98654
  /**
98545
98655
  * An enum that specifies an event's source. It can be local or remote (through coauthoring).
@@ -98582,7 +98692,7 @@ declare namespace Word {
98582
98692
  * [Api set: WordApi BETA (PREVIEW ONLY)]
98583
98693
  * @beta
98584
98694
  */
98585
- eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved";
98695
+ eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved" | "AnnotationPopupAction";
98586
98696
  /**
98587
98697
  * Gets the content control IDs.
98588
98698
  *
@@ -98613,7 +98723,7 @@ declare namespace Word {
98613
98723
  * @remarks
98614
98724
  * [Api set: WordApi 1.5]
98615
98725
  */
98616
- eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved";
98726
+ eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved" | "AnnotationPopupAction";
98617
98727
  /**
98618
98728
  * Gets the content control IDs.
98619
98729
  *
@@ -98642,7 +98752,7 @@ declare namespace Word {
98642
98752
  * @remarks
98643
98753
  * [Api set: WordApi 1.5]
98644
98754
  */
98645
- eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved";
98755
+ eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved" | "AnnotationPopupAction";
98646
98756
  /**
98647
98757
  * Gets the content control IDs.
98648
98758
  *
@@ -98671,7 +98781,7 @@ declare namespace Word {
98671
98781
  * @remarks
98672
98782
  * [Api set: WordApi 1.5]
98673
98783
  */
98674
- eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved";
98784
+ eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved" | "AnnotationPopupAction";
98675
98785
  /**
98676
98786
  * Gets the content control IDs.
98677
98787
  *
@@ -98700,7 +98810,7 @@ declare namespace Word {
98700
98810
  * @remarks
98701
98811
  * [Api set: WordApi 1.5]
98702
98812
  */
98703
- eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved";
98813
+ eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved" | "AnnotationPopupAction";
98704
98814
  /**
98705
98815
  * Gets the content control IDs.
98706
98816
  *
@@ -98729,7 +98839,7 @@ declare namespace Word {
98729
98839
  * @remarks
98730
98840
  * [Api set: WordApi 1.5]
98731
98841
  */
98732
- eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved";
98842
+ eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved" | "AnnotationPopupAction";
98733
98843
  /**
98734
98844
  * Gets the content control IDs.
98735
98845
  *
@@ -98758,7 +98868,7 @@ declare namespace Word {
98758
98868
  * @remarks
98759
98869
  * [Api set: WordApi 1.5]
98760
98870
  */
98761
- eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved";
98871
+ eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved" | "AnnotationPopupAction";
98762
98872
  /**
98763
98873
  * Gets the content control IDs.
98764
98874
  *
@@ -98794,7 +98904,7 @@ declare namespace Word {
98794
98904
  * @remarks
98795
98905
  * [Api set: WordApi 1.6]
98796
98906
  */
98797
- type: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved";
98907
+ type: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved" | "AnnotationPopupAction";
98798
98908
  /**
98799
98909
  * 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
98910
  *
@@ -98823,7 +98933,7 @@ declare namespace Word {
98823
98933
  * @remarks
98824
98934
  * [Api set: WordApi 1.6]
98825
98935
  */
98826
- type: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved";
98936
+ type: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved" | "AnnotationPopupAction";
98827
98937
  /**
98828
98938
  * 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
98939
  *
@@ -98852,7 +98962,7 @@ declare namespace Word {
98852
98962
  * @remarks
98853
98963
  * [Api set: WordApi 1.6]
98854
98964
  */
98855
- type: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved";
98965
+ type: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved" | "AnnotationPopupAction";
98856
98966
  /**
98857
98967
  * 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
98968
  *
@@ -98900,7 +99010,7 @@ declare namespace Word {
98900
99010
  * [Api set: WordApi BETA (PREVIEW ONLY)]
98901
99011
  * @beta
98902
99012
  */
98903
- type: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved";
99013
+ type: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved" | "AnnotationPopupAction";
98904
99014
  }
98905
99015
  /**
98906
99016
  * A structure for the ID and reply IDs of this comment.
@@ -102284,6 +102394,7 @@ declare namespace Word {
102284
102394
  generalException = "GeneralException",
102285
102395
  invalidArgument = "InvalidArgument",
102286
102396
  itemNotFound = "ItemNotFound",
102397
+ notAllowed = "NotAllowed",
102287
102398
  notImplemented = "NotImplemented",
102288
102399
  searchDialogIsOpen = "SearchDialogIsOpen",
102289
102400
  searchStringInvalidOrTooLong = "SearchStringInvalidOrTooLong",
@@ -108840,14 +108951,14 @@ declare namespace Word {
108840
108951
  */
108841
108952
  parentBody?: Word.Interfaces.BodyLoadOptions;
108842
108953
  /**
108843
- * Gets the content control that contains the range. Throws an `ItemNotFound` error if there isn't a parent content control.
108954
+ * Gets the currently supported content control that contains the range. Throws an `ItemNotFound` error if there isn't a parent content control.
108844
108955
  *
108845
108956
  * @remarks
108846
108957
  * [Api set: WordApi 1.1]
108847
108958
  */
108848
108959
  parentContentControl?: Word.Interfaces.ContentControlLoadOptions;
108849
108960
  /**
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}.
108961
+ * 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
108962
  *
108852
108963
  * @remarks
108853
108964
  * [Api set: WordApi 1.3]
@@ -108943,14 +109054,14 @@ declare namespace Word {
108943
109054
  */
108944
109055
  parentBody?: Word.Interfaces.BodyLoadOptions;
108945
109056
  /**
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.
109057
+ * 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
109058
  *
108948
109059
  * @remarks
108949
109060
  * [Api set: WordApi 1.1]
108950
109061
  */
108951
109062
  parentContentControl?: Word.Interfaces.ContentControlLoadOptions;
108952
109063
  /**
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}.
109064
+ * 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
109065
  *
108955
109066
  * @remarks
108956
109067
  * [Api set: WordApi 1.3]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.436",
3
+ "version": "1.0.438",
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": "e27948117bec43276a746f8eae24faa9b3a9310ddd350af6826fdeb54f0b96e7",
48
+ "typesPublisherContentHash": "7c92aa7d4cd4e56f956d79dce5c93e7598111f0675b203880fd67e012144faf1",
49
49
  "typeScriptVersion": "4.6"
50
50
  }