Skip to content

Commit 7136632

Browse files
[office-js] [office-js] (Word) Updates from CDN (DefinitelyTyped#74785)
1 parent 8f628a3 commit 7136632

File tree

2 files changed

+36
-32
lines changed

2 files changed

+36
-32
lines changed

types/office-js-preview/index.d.ts

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -144418,7 +144418,7 @@ declare namespace Word {
144418144418
unit?: Word.OperationUnit | "Character" | "Word" | "Sentence" | "Paragraph" | "Line" | "Story" | "Screen" | "Section" | "Column" | "Row" | "Window" | "Cell" | "CharacterFormat" | "ParagraphFormat" | "Table" | "Item";
144419144419
}
144420144420
/**
144421-
* Represents the options for the {@link Word.Selection | Selection.next} method.
144421+
* Represents the options for the {@link Word.Selection | Selection.getNextRange} method.
144422144422
*
144423144423
* @remarks
144424144424
* [Api set: WordApiDesktop 1.4]
@@ -144440,7 +144440,7 @@ declare namespace Word {
144440144440
unit?: Word.OperationUnit | "Character" | "Word" | "Sentence" | "Paragraph" | "Line" | "Story" | "Screen" | "Section" | "Column" | "Row" | "Window" | "Cell" | "CharacterFormat" | "ParagraphFormat" | "Table" | "Item";
144441144441
}
144442144442
/**
144443-
* Represents the options for the {@link Word.Selection | Selection.previous} method.
144443+
* Represents the options for the {@link Word.Selection | Selection.getPreviousRange} method.
144444144444
*
144445144445
* @remarks
144446144446
* [Api set: WordApiDesktop 1.4]
@@ -149201,7 +149201,7 @@ declare namespace Word {
149201149201
/** An interface for updating data on the `CommentContentRange` object, for use in `commentContentRange.set({ ... })`. */
149202149202
interface CommentContentRangeUpdateData {
149203149203
/**
149204-
* Specifies a value that indicates whether the comment text is bold.
149204+
* Specifies whether the comment text is bold.
149205149205
*
149206149206
* @remarks
149207149207
* [Api set: WordApi 1.4]
@@ -149215,21 +149215,21 @@ declare namespace Word {
149215149215
*/
149216149216
hyperlink?: string;
149217149217
/**
149218-
* Specifies a value that indicates whether the comment text is italicized.
149218+
* Specifies whether the comment text is italicized.
149219149219
*
149220149220
* @remarks
149221149221
* [Api set: WordApi 1.4]
149222149222
*/
149223149223
italic?: boolean;
149224149224
/**
149225-
* Specifies a value that indicates whether the comment text has a strikethrough.
149225+
* Specifies whether the comment text has a strikethrough.
149226149226
*
149227149227
* @remarks
149228149228
* [Api set: WordApi 1.4]
149229149229
*/
149230149230
strikeThrough?: boolean;
149231149231
/**
149232-
* Specifies a value that indicates the comment text's underline type. `none` if the comment text isn't underlined.
149232+
* Specifies the comment text's underline type. `none` if the comment text isn't underlined.
149233149233
*
149234149234
* @remarks
149235149235
* [Api set: WordApi 1.4]
@@ -155005,7 +155005,7 @@ declare namespace Word {
155005155005
*/
155006155006
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";
155007155007
/**
155008-
* Gets the text of the body. Use the insertText method to insert text.
155008+
* Gets the text of the body. Use the `insertText` method to insert text.
155009155009
*
155010155010
* @remarks
155011155011
* [Api set: WordApi 1.1]
@@ -155443,7 +155443,7 @@ declare namespace Word {
155443155443
/** An interface describing the data returned by calling `commentContentRange.toJSON()`. */
155444155444
interface CommentContentRangeData {
155445155445
/**
155446-
* Specifies a value that indicates whether the comment text is bold.
155446+
* Specifies whether the comment text is bold.
155447155447
*
155448155448
* @remarks
155449155449
* [Api set: WordApi 1.4]
@@ -155464,14 +155464,14 @@ declare namespace Word {
155464155464
*/
155465155465
isEmpty?: boolean;
155466155466
/**
155467-
* Specifies a value that indicates whether the comment text is italicized.
155467+
* Specifies whether the comment text is italicized.
155468155468
*
155469155469
* @remarks
155470155470
* [Api set: WordApi 1.4]
155471155471
*/
155472155472
italic?: boolean;
155473155473
/**
155474-
* Specifies a value that indicates whether the comment text has a strikethrough.
155474+
* Specifies whether the comment text has a strikethrough.
155475155475
*
155476155476
* @remarks
155477155477
* [Api set: WordApi 1.4]
@@ -155485,7 +155485,7 @@ declare namespace Word {
155485155485
*/
155486155486
text?: string;
155487155487
/**
155488-
* Specifies a value that indicates the comment text's underline type. `none` if the comment text isn't underlined.
155488+
* Specifies the comment text's underline type. `none` if the comment text isn't underlined.
155489155489
*
155490155490
* @remarks
155491155491
* [Api set: WordApi 1.4]
@@ -163662,7 +163662,7 @@ declare namespace Word {
163662163662
*/
163663163663
styleBuiltIn?: boolean;
163664163664
/**
163665-
* Gets the text of the body. Use the insertText method to insert text.
163665+
* Gets the text of the body. Use the `insertText` method to insert text.
163666163666
*
163667163667
* @remarks
163668163668
* [Api set: WordApi 1.1]
@@ -164451,6 +164451,8 @@ declare namespace Word {
164451164451
resolved?: boolean;
164452164452
}
164453164453
/**
164454+
* Represents a content range within a comment.
164455+
*
164454164456
* @remarks
164455164457
* [Api set: WordApi 1.4]
164456164458
*/
@@ -164460,7 +164462,7 @@ declare namespace Word {
164460164462
*/
164461164463
$all?: boolean;
164462164464
/**
164463-
* Specifies a value that indicates whether the comment text is bold.
164465+
* Specifies whether the comment text is bold.
164464164466
*
164465164467
* @remarks
164466164468
* [Api set: WordApi 1.4]
@@ -164481,14 +164483,14 @@ declare namespace Word {
164481164483
*/
164482164484
isEmpty?: boolean;
164483164485
/**
164484-
* Specifies a value that indicates whether the comment text is italicized.
164486+
* Specifies whether the comment text is italicized.
164485164487
*
164486164488
* @remarks
164487164489
* [Api set: WordApi 1.4]
164488164490
*/
164489164491
italic?: boolean;
164490164492
/**
164491-
* Specifies a value that indicates whether the comment text has a strikethrough.
164493+
* Specifies whether the comment text has a strikethrough.
164492164494
*
164493164495
* @remarks
164494164496
* [Api set: WordApi 1.4]
@@ -164502,7 +164504,7 @@ declare namespace Word {
164502164504
*/
164503164505
text?: boolean;
164504164506
/**
164505-
* Specifies a value that indicates the comment text's underline type. `none` if the comment text isn't underlined.
164507+
* Specifies the comment text's underline type. `none` if the comment text isn't underlined.
164506164508
*
164507164509
* @remarks
164508164510
* [Api set: WordApi 1.4]

types/office-js/index.d.ts

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -135623,7 +135623,7 @@ declare namespace Word {
135623135623
unit?: Word.OperationUnit | "Character" | "Word" | "Sentence" | "Paragraph" | "Line" | "Story" | "Screen" | "Section" | "Column" | "Row" | "Window" | "Cell" | "CharacterFormat" | "ParagraphFormat" | "Table" | "Item";
135624135624
}
135625135625
/**
135626-
* Represents the options for the {@link Word.Selection | Selection.next} method.
135626+
* Represents the options for the {@link Word.Selection | Selection.getNextRange} method.
135627135627
*
135628135628
* @remarks
135629135629
* [Api set: WordApiDesktop 1.4]
@@ -135645,7 +135645,7 @@ declare namespace Word {
135645135645
unit?: Word.OperationUnit | "Character" | "Word" | "Sentence" | "Paragraph" | "Line" | "Story" | "Screen" | "Section" | "Column" | "Row" | "Window" | "Cell" | "CharacterFormat" | "ParagraphFormat" | "Table" | "Item";
135646135646
}
135647135647
/**
135648-
* Represents the options for the {@link Word.Selection | Selection.previous} method.
135648+
* Represents the options for the {@link Word.Selection | Selection.getPreviousRange} method.
135649135649
*
135650135650
* @remarks
135651135651
* [Api set: WordApiDesktop 1.4]
@@ -140264,7 +140264,7 @@ declare namespace Word {
140264140264
/** An interface for updating data on the `CommentContentRange` object, for use in `commentContentRange.set({ ... })`. */
140265140265
interface CommentContentRangeUpdateData {
140266140266
/**
140267-
* Specifies a value that indicates whether the comment text is bold.
140267+
* Specifies whether the comment text is bold.
140268140268
*
140269140269
* @remarks
140270140270
* [Api set: WordApi 1.4]
@@ -140278,21 +140278,21 @@ declare namespace Word {
140278140278
*/
140279140279
hyperlink?: string;
140280140280
/**
140281-
* Specifies a value that indicates whether the comment text is italicized.
140281+
* Specifies whether the comment text is italicized.
140282140282
*
140283140283
* @remarks
140284140284
* [Api set: WordApi 1.4]
140285140285
*/
140286140286
italic?: boolean;
140287140287
/**
140288-
* Specifies a value that indicates whether the comment text has a strikethrough.
140288+
* Specifies whether the comment text has a strikethrough.
140289140289
*
140290140290
* @remarks
140291140291
* [Api set: WordApi 1.4]
140292140292
*/
140293140293
strikeThrough?: boolean;
140294140294
/**
140295-
* Specifies a value that indicates the comment text's underline type. `none` if the comment text isn't underlined.
140295+
* Specifies the comment text's underline type. `none` if the comment text isn't underlined.
140296140296
*
140297140297
* @remarks
140298140298
* [Api set: WordApi 1.4]
@@ -146029,7 +146029,7 @@ declare namespace Word {
146029146029
*/
146030146030
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";
146031146031
/**
146032-
* Gets the text of the body. Use the insertText method to insert text.
146032+
* Gets the text of the body. Use the `insertText` method to insert text.
146033146033
*
146034146034
* @remarks
146035146035
* [Api set: WordApi 1.1]
@@ -146467,7 +146467,7 @@ declare namespace Word {
146467146467
/** An interface describing the data returned by calling `commentContentRange.toJSON()`. */
146468146468
interface CommentContentRangeData {
146469146469
/**
146470-
* Specifies a value that indicates whether the comment text is bold.
146470+
* Specifies whether the comment text is bold.
146471146471
*
146472146472
* @remarks
146473146473
* [Api set: WordApi 1.4]
@@ -146488,14 +146488,14 @@ declare namespace Word {
146488146488
*/
146489146489
isEmpty?: boolean;
146490146490
/**
146491-
* Specifies a value that indicates whether the comment text is italicized.
146491+
* Specifies whether the comment text is italicized.
146492146492
*
146493146493
* @remarks
146494146494
* [Api set: WordApi 1.4]
146495146495
*/
146496146496
italic?: boolean;
146497146497
/**
146498-
* Specifies a value that indicates whether the comment text has a strikethrough.
146498+
* Specifies whether the comment text has a strikethrough.
146499146499
*
146500146500
* @remarks
146501146501
* [Api set: WordApi 1.4]
@@ -146509,7 +146509,7 @@ declare namespace Word {
146509146509
*/
146510146510
text?: string;
146511146511
/**
146512-
* Specifies a value that indicates the comment text's underline type. `none` if the comment text isn't underlined.
146512+
* Specifies the comment text's underline type. `none` if the comment text isn't underlined.
146513146513
*
146514146514
* @remarks
146515146515
* [Api set: WordApi 1.4]
@@ -154583,7 +154583,7 @@ declare namespace Word {
154583154583
*/
154584154584
styleBuiltIn?: boolean;
154585154585
/**
154586-
* Gets the text of the body. Use the insertText method to insert text.
154586+
* Gets the text of the body. Use the `insertText` method to insert text.
154587154587
*
154588154588
* @remarks
154589154589
* [Api set: WordApi 1.1]
@@ -155372,6 +155372,8 @@ declare namespace Word {
155372155372
resolved?: boolean;
155373155373
}
155374155374
/**
155375+
* Represents a content range within a comment.
155376+
*
155375155377
* @remarks
155376155378
* [Api set: WordApi 1.4]
155377155379
*/
@@ -155381,7 +155383,7 @@ declare namespace Word {
155381155383
*/
155382155384
$all?: boolean;
155383155385
/**
155384-
* Specifies a value that indicates whether the comment text is bold.
155386+
* Specifies whether the comment text is bold.
155385155387
*
155386155388
* @remarks
155387155389
* [Api set: WordApi 1.4]
@@ -155402,14 +155404,14 @@ declare namespace Word {
155402155404
*/
155403155405
isEmpty?: boolean;
155404155406
/**
155405-
* Specifies a value that indicates whether the comment text is italicized.
155407+
* Specifies whether the comment text is italicized.
155406155408
*
155407155409
* @remarks
155408155410
* [Api set: WordApi 1.4]
155409155411
*/
155410155412
italic?: boolean;
155411155413
/**
155412-
* Specifies a value that indicates whether the comment text has a strikethrough.
155414+
* Specifies whether the comment text has a strikethrough.
155413155415
*
155414155416
* @remarks
155415155417
* [Api set: WordApi 1.4]
@@ -155423,7 +155425,7 @@ declare namespace Word {
155423155425
*/
155424155426
text?: boolean;
155425155427
/**
155426-
* Specifies a value that indicates the comment text's underline type. `none` if the comment text isn't underlined.
155428+
* Specifies the comment text's underline type. `none` if the comment text isn't underlined.
155427155429
*
155428155430
* @remarks
155429155431
* [Api set: WordApi 1.4]

0 commit comments

Comments
 (0)