@types/office-js-preview 1.0.457 → 1.0.458
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
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: Tue, 26 Mar 2024 18:07:46 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js-preview/index.d.ts
CHANGED
|
@@ -91393,6 +91393,14 @@ declare namespace Word {
|
|
|
91393
91393
|
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
91394
91394
|
*/
|
|
91395
91395
|
insertText(text: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
|
|
91396
|
+
/**
|
|
91397
|
+
* Resets the state of the content control.
|
|
91398
|
+
*
|
|
91399
|
+
* @remarks
|
|
91400
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
91401
|
+
* @beta
|
|
91402
|
+
*/
|
|
91403
|
+
resetState(): void;
|
|
91396
91404
|
/**
|
|
91397
91405
|
* Performs a search with the specified SearchOptions on the scope of the content control object. The search results are a collection of range objects.
|
|
91398
91406
|
*
|
|
@@ -91429,6 +91437,26 @@ declare namespace Word {
|
|
|
91429
91437
|
* @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
|
|
91430
91438
|
*/
|
|
91431
91439
|
select(selectionMode?: "Select" | "Start" | "End"): void;
|
|
91440
|
+
/**
|
|
91441
|
+
* Sets the state of the content control.
|
|
91442
|
+
*
|
|
91443
|
+
* @remarks
|
|
91444
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
91445
|
+
* @beta
|
|
91446
|
+
*
|
|
91447
|
+
* @param contentControlState State to be set.
|
|
91448
|
+
*/
|
|
91449
|
+
setState(contentControlState: Word.ContentControlState): void;
|
|
91450
|
+
/**
|
|
91451
|
+
* Sets the state of the content control.
|
|
91452
|
+
*
|
|
91453
|
+
* @remarks
|
|
91454
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
91455
|
+
* @beta
|
|
91456
|
+
*
|
|
91457
|
+
* @param contentControlState State to be set.
|
|
91458
|
+
*/
|
|
91459
|
+
setState(contentControlState: "Error"): void;
|
|
91432
91460
|
/**
|
|
91433
91461
|
* Splits the content control into child ranges by using delimiters.
|
|
91434
91462
|
*
|
|
@@ -99610,6 +99638,22 @@ declare namespace Word {
|
|
|
99610
99638
|
*/
|
|
99611
99639
|
hidden = "Hidden",
|
|
99612
99640
|
}
|
|
99641
|
+
/**
|
|
99642
|
+
* Represents the state of the content control.
|
|
99643
|
+
*
|
|
99644
|
+
* @remarks
|
|
99645
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
99646
|
+
* @beta
|
|
99647
|
+
*/
|
|
99648
|
+
enum ContentControlState {
|
|
99649
|
+
/**
|
|
99650
|
+
* Error state.
|
|
99651
|
+
* @remarks
|
|
99652
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
99653
|
+
* @beta
|
|
99654
|
+
*/
|
|
99655
|
+
error = "Error",
|
|
99656
|
+
}
|
|
99613
99657
|
/**
|
|
99614
99658
|
* The supported styles for underline format.
|
|
99615
99659
|
*
|
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.458",
|
|
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,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "cecd1f6b0ef9fb9f807df77422ba586803f5344ad77fed0ae1311593787ec02a",
|
|
49
49
|
"typeScriptVersion": "4.7",
|
|
50
50
|
"nonNpm": true
|
|
51
51
|
}
|