@types/office-js-preview 1.0.695 → 1.0.696
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 +18 -16
- office-js-preview/package.json +2 -2
office-js-preview/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for office-js-preview (https://github.com
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Fri, 20 Mar 2026 16:26:47 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js-preview/index.d.ts
CHANGED
|
@@ -144418,7 +144418,7 @@ declare namespace Word {
|
|
|
144418
144418
|
unit?: Word.OperationUnit | "Character" | "Word" | "Sentence" | "Paragraph" | "Line" | "Story" | "Screen" | "Section" | "Column" | "Row" | "Window" | "Cell" | "CharacterFormat" | "ParagraphFormat" | "Table" | "Item";
|
|
144419
144419
|
}
|
|
144420
144420
|
/**
|
|
144421
|
-
* Represents the options for the {@link Word.Selection | Selection.
|
|
144421
|
+
* Represents the options for the {@link Word.Selection | Selection.getNextRange} method.
|
|
144422
144422
|
*
|
|
144423
144423
|
* @remarks
|
|
144424
144424
|
* [Api set: WordApiDesktop 1.4]
|
|
@@ -144440,7 +144440,7 @@ declare namespace Word {
|
|
|
144440
144440
|
unit?: Word.OperationUnit | "Character" | "Word" | "Sentence" | "Paragraph" | "Line" | "Story" | "Screen" | "Section" | "Column" | "Row" | "Window" | "Cell" | "CharacterFormat" | "ParagraphFormat" | "Table" | "Item";
|
|
144441
144441
|
}
|
|
144442
144442
|
/**
|
|
144443
|
-
* Represents the options for the {@link Word.Selection | Selection.
|
|
144443
|
+
* Represents the options for the {@link Word.Selection | Selection.getPreviousRange} method.
|
|
144444
144444
|
*
|
|
144445
144445
|
* @remarks
|
|
144446
144446
|
* [Api set: WordApiDesktop 1.4]
|
|
@@ -149201,7 +149201,7 @@ declare namespace Word {
|
|
|
149201
149201
|
/** An interface for updating data on the `CommentContentRange` object, for use in `commentContentRange.set({ ... })`. */
|
|
149202
149202
|
interface CommentContentRangeUpdateData {
|
|
149203
149203
|
/**
|
|
149204
|
-
* Specifies
|
|
149204
|
+
* Specifies whether the comment text is bold.
|
|
149205
149205
|
*
|
|
149206
149206
|
* @remarks
|
|
149207
149207
|
* [Api set: WordApi 1.4]
|
|
@@ -149215,21 +149215,21 @@ declare namespace Word {
|
|
|
149215
149215
|
*/
|
|
149216
149216
|
hyperlink?: string;
|
|
149217
149217
|
/**
|
|
149218
|
-
* Specifies
|
|
149218
|
+
* Specifies whether the comment text is italicized.
|
|
149219
149219
|
*
|
|
149220
149220
|
* @remarks
|
|
149221
149221
|
* [Api set: WordApi 1.4]
|
|
149222
149222
|
*/
|
|
149223
149223
|
italic?: boolean;
|
|
149224
149224
|
/**
|
|
149225
|
-
* Specifies
|
|
149225
|
+
* Specifies whether the comment text has a strikethrough.
|
|
149226
149226
|
*
|
|
149227
149227
|
* @remarks
|
|
149228
149228
|
* [Api set: WordApi 1.4]
|
|
149229
149229
|
*/
|
|
149230
149230
|
strikeThrough?: boolean;
|
|
149231
149231
|
/**
|
|
149232
|
-
* Specifies
|
|
149232
|
+
* Specifies the comment text's underline type. `none` if the comment text isn't underlined.
|
|
149233
149233
|
*
|
|
149234
149234
|
* @remarks
|
|
149235
149235
|
* [Api set: WordApi 1.4]
|
|
@@ -155005,7 +155005,7 @@ declare namespace Word {
|
|
|
155005
155005
|
*/
|
|
155006
155006
|
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";
|
|
155007
155007
|
/**
|
|
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.
|
|
155009
155009
|
*
|
|
155010
155010
|
* @remarks
|
|
155011
155011
|
* [Api set: WordApi 1.1]
|
|
@@ -155443,7 +155443,7 @@ declare namespace Word {
|
|
|
155443
155443
|
/** An interface describing the data returned by calling `commentContentRange.toJSON()`. */
|
|
155444
155444
|
interface CommentContentRangeData {
|
|
155445
155445
|
/**
|
|
155446
|
-
* Specifies
|
|
155446
|
+
* Specifies whether the comment text is bold.
|
|
155447
155447
|
*
|
|
155448
155448
|
* @remarks
|
|
155449
155449
|
* [Api set: WordApi 1.4]
|
|
@@ -155464,14 +155464,14 @@ declare namespace Word {
|
|
|
155464
155464
|
*/
|
|
155465
155465
|
isEmpty?: boolean;
|
|
155466
155466
|
/**
|
|
155467
|
-
* Specifies
|
|
155467
|
+
* Specifies whether the comment text is italicized.
|
|
155468
155468
|
*
|
|
155469
155469
|
* @remarks
|
|
155470
155470
|
* [Api set: WordApi 1.4]
|
|
155471
155471
|
*/
|
|
155472
155472
|
italic?: boolean;
|
|
155473
155473
|
/**
|
|
155474
|
-
* Specifies
|
|
155474
|
+
* Specifies whether the comment text has a strikethrough.
|
|
155475
155475
|
*
|
|
155476
155476
|
* @remarks
|
|
155477
155477
|
* [Api set: WordApi 1.4]
|
|
@@ -155485,7 +155485,7 @@ declare namespace Word {
|
|
|
155485
155485
|
*/
|
|
155486
155486
|
text?: string;
|
|
155487
155487
|
/**
|
|
155488
|
-
* Specifies
|
|
155488
|
+
* Specifies the comment text's underline type. `none` if the comment text isn't underlined.
|
|
155489
155489
|
*
|
|
155490
155490
|
* @remarks
|
|
155491
155491
|
* [Api set: WordApi 1.4]
|
|
@@ -163662,7 +163662,7 @@ declare namespace Word {
|
|
|
163662
163662
|
*/
|
|
163663
163663
|
styleBuiltIn?: boolean;
|
|
163664
163664
|
/**
|
|
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.
|
|
163666
163666
|
*
|
|
163667
163667
|
* @remarks
|
|
163668
163668
|
* [Api set: WordApi 1.1]
|
|
@@ -164451,6 +164451,8 @@ declare namespace Word {
|
|
|
164451
164451
|
resolved?: boolean;
|
|
164452
164452
|
}
|
|
164453
164453
|
/**
|
|
164454
|
+
* Represents a content range within a comment.
|
|
164455
|
+
*
|
|
164454
164456
|
* @remarks
|
|
164455
164457
|
* [Api set: WordApi 1.4]
|
|
164456
164458
|
*/
|
|
@@ -164460,7 +164462,7 @@ declare namespace Word {
|
|
|
164460
164462
|
*/
|
|
164461
164463
|
$all?: boolean;
|
|
164462
164464
|
/**
|
|
164463
|
-
* Specifies
|
|
164465
|
+
* Specifies whether the comment text is bold.
|
|
164464
164466
|
*
|
|
164465
164467
|
* @remarks
|
|
164466
164468
|
* [Api set: WordApi 1.4]
|
|
@@ -164481,14 +164483,14 @@ declare namespace Word {
|
|
|
164481
164483
|
*/
|
|
164482
164484
|
isEmpty?: boolean;
|
|
164483
164485
|
/**
|
|
164484
|
-
* Specifies
|
|
164486
|
+
* Specifies whether the comment text is italicized.
|
|
164485
164487
|
*
|
|
164486
164488
|
* @remarks
|
|
164487
164489
|
* [Api set: WordApi 1.4]
|
|
164488
164490
|
*/
|
|
164489
164491
|
italic?: boolean;
|
|
164490
164492
|
/**
|
|
164491
|
-
* Specifies
|
|
164493
|
+
* Specifies whether the comment text has a strikethrough.
|
|
164492
164494
|
*
|
|
164493
164495
|
* @remarks
|
|
164494
164496
|
* [Api set: WordApi 1.4]
|
|
@@ -164502,7 +164504,7 @@ declare namespace Word {
|
|
|
164502
164504
|
*/
|
|
164503
164505
|
text?: boolean;
|
|
164504
164506
|
/**
|
|
164505
|
-
* Specifies
|
|
164507
|
+
* Specifies the comment text's underline type. `none` if the comment text isn't underlined.
|
|
164506
164508
|
*
|
|
164507
164509
|
* @remarks
|
|
164508
164510
|
* [Api set: WordApi 1.4]
|
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.696",
|
|
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",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
48
|
"peerDependencies": {},
|
|
49
|
-
"typesPublisherContentHash": "
|
|
49
|
+
"typesPublisherContentHash": "957ea6b05bfb01d8487c2cc04d2461733b71451437d855cd4c062726a86b22ad",
|
|
50
50
|
"typeScriptVersion": "5.2",
|
|
51
51
|
"nonNpm": true
|
|
52
52
|
}
|