@types/office-js 1.0.584 → 1.0.585
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/README.md +1 -1
- office-js/index.d.ts +26 -26
- office-js/package.json +3 -3
office-js/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for office-js (https://github.com/OfficeD
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Wed, 25 Mar 2026 21:44:56 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js/index.d.ts
CHANGED
|
@@ -99536,14 +99536,14 @@ declare namespace Word {
|
|
|
99536
99536
|
*/
|
|
99537
99537
|
appearance: Word.ContentControlAppearance | "BoundingBox" | "Tags" | "Hidden";
|
|
99538
99538
|
/**
|
|
99539
|
-
* Specifies
|
|
99539
|
+
* Specifies whether the user can delete the content control. Mutually exclusive with `removeWhenEdited`.
|
|
99540
99540
|
*
|
|
99541
99541
|
* @remarks
|
|
99542
99542
|
* [Api set: WordApi 1.1]
|
|
99543
99543
|
*/
|
|
99544
99544
|
cannotDelete: boolean;
|
|
99545
99545
|
/**
|
|
99546
|
-
* Specifies
|
|
99546
|
+
* Specifies whether the user can edit the contents of the content control.
|
|
99547
99547
|
*
|
|
99548
99548
|
* @remarks
|
|
99549
99549
|
* [Api set: WordApi 1.1]
|
|
@@ -99571,7 +99571,7 @@ declare namespace Word {
|
|
|
99571
99571
|
*/
|
|
99572
99572
|
placeholderText: string;
|
|
99573
99573
|
/**
|
|
99574
|
-
* Specifies
|
|
99574
|
+
* Specifies whether the content control is removed after it's edited. Mutually exclusive with `cannotDelete`.
|
|
99575
99575
|
*
|
|
99576
99576
|
* @remarks
|
|
99577
99577
|
* [Api set: WordApi 1.1]
|
|
@@ -100463,7 +100463,7 @@ declare namespace Word {
|
|
|
100463
100463
|
*/
|
|
100464
100464
|
schemaCollection: Word.CustomXmlSchemaCollection;
|
|
100465
100465
|
/**
|
|
100466
|
-
* Gets
|
|
100466
|
+
* Gets whether the `CustomXmlPart` is built-in.
|
|
100467
100467
|
*
|
|
100468
100468
|
* @remarks
|
|
100469
100469
|
* [Api set: WordApiDesktop 1.3]
|
|
@@ -104622,7 +104622,7 @@ declare namespace Word {
|
|
|
104622
104622
|
*/
|
|
104623
104623
|
readonly imageFormat: Word.ImageFormat | "Unsupported" | "Undefined" | "Bmp" | "Jpeg" | "Gif" | "Tiff" | "Png" | "Icon" | "Exif" | "Wmf" | "Emf" | "Pict" | "Pdf" | "Svg";
|
|
104624
104624
|
/**
|
|
104625
|
-
* Specifies
|
|
104625
|
+
* Specifies whether the inline image retains its original proportions when you resize it.
|
|
104626
104626
|
*
|
|
104627
104627
|
* @remarks
|
|
104628
104628
|
* [Api set: WordApi 1.1]
|
|
@@ -135499,7 +135499,7 @@ declare namespace Word {
|
|
|
135499
135499
|
*/
|
|
135500
135500
|
interface SelectionInsertSymbolOptions {
|
|
135501
135501
|
/**
|
|
135502
|
-
* If provided, specifies the font bias for symbols. This argument is useful for setting the correct font bias for East Asian characters. The default value is `
|
|
135502
|
+
* If provided, specifies the font bias for symbols. This argument is useful for setting the correct font bias for East Asian characters. The default value is `standard`.
|
|
135503
135503
|
*
|
|
135504
135504
|
* @remarks
|
|
135505
135505
|
* [Api set: WordApiDesktop 1.4]
|
|
@@ -140512,14 +140512,14 @@ declare namespace Word {
|
|
|
140512
140512
|
*/
|
|
140513
140513
|
appearance?: Word.ContentControlAppearance | "BoundingBox" | "Tags" | "Hidden";
|
|
140514
140514
|
/**
|
|
140515
|
-
* Specifies
|
|
140515
|
+
* Specifies whether the user can delete the content control. Mutually exclusive with `removeWhenEdited`.
|
|
140516
140516
|
*
|
|
140517
140517
|
* @remarks
|
|
140518
140518
|
* [Api set: WordApi 1.1]
|
|
140519
140519
|
*/
|
|
140520
140520
|
cannotDelete?: boolean;
|
|
140521
140521
|
/**
|
|
140522
|
-
* Specifies
|
|
140522
|
+
* Specifies whether the user can edit the contents of the content control.
|
|
140523
140523
|
*
|
|
140524
140524
|
* @remarks
|
|
140525
140525
|
* [Api set: WordApi 1.1]
|
|
@@ -140540,7 +140540,7 @@ declare namespace Word {
|
|
|
140540
140540
|
*/
|
|
140541
140541
|
placeholderText?: string;
|
|
140542
140542
|
/**
|
|
140543
|
-
* Specifies
|
|
140543
|
+
* Specifies whether the content control is removed after it's edited. Mutually exclusive with `cannotDelete`.
|
|
140544
140544
|
*
|
|
140545
140545
|
* @remarks
|
|
140546
140546
|
* [Api set: WordApi 1.1]
|
|
@@ -141775,7 +141775,7 @@ declare namespace Word {
|
|
|
141775
141775
|
*/
|
|
141776
141776
|
hyperlink?: string;
|
|
141777
141777
|
/**
|
|
141778
|
-
* Specifies
|
|
141778
|
+
* Specifies whether the inline image retains its original proportions when you resize it.
|
|
141779
141779
|
*
|
|
141780
141780
|
* @remarks
|
|
141781
141781
|
* [Api set: WordApi 1.1]
|
|
@@ -146919,14 +146919,14 @@ declare namespace Word {
|
|
|
146919
146919
|
*/
|
|
146920
146920
|
appearance?: Word.ContentControlAppearance | "BoundingBox" | "Tags" | "Hidden";
|
|
146921
146921
|
/**
|
|
146922
|
-
* Specifies
|
|
146922
|
+
* Specifies whether the user can delete the content control. Mutually exclusive with `removeWhenEdited`.
|
|
146923
146923
|
*
|
|
146924
146924
|
* @remarks
|
|
146925
146925
|
* [Api set: WordApi 1.1]
|
|
146926
146926
|
*/
|
|
146927
146927
|
cannotDelete?: boolean;
|
|
146928
146928
|
/**
|
|
146929
|
-
* Specifies
|
|
146929
|
+
* Specifies whether the user can edit the contents of the content control.
|
|
146930
146930
|
*
|
|
146931
146931
|
* @remarks
|
|
146932
146932
|
* [Api set: WordApi 1.1]
|
|
@@ -146954,7 +146954,7 @@ declare namespace Word {
|
|
|
146954
146954
|
*/
|
|
146955
146955
|
placeholderText?: string;
|
|
146956
146956
|
/**
|
|
146957
|
-
* Specifies
|
|
146957
|
+
* Specifies whether the content control is removed after it's edited. Mutually exclusive with `cannotDelete`.
|
|
146958
146958
|
*
|
|
146959
146959
|
* @remarks
|
|
146960
146960
|
* [Api set: WordApi 1.1]
|
|
@@ -147094,7 +147094,7 @@ declare namespace Word {
|
|
|
147094
147094
|
*/
|
|
147095
147095
|
schemaCollection?: Word.Interfaces.CustomXmlSchemaData[];
|
|
147096
147096
|
/**
|
|
147097
|
-
* Gets
|
|
147097
|
+
* Gets whether the `CustomXmlPart` is built-in.
|
|
147098
147098
|
*
|
|
147099
147099
|
* @remarks
|
|
147100
147100
|
* [Api set: WordApiDesktop 1.3]
|
|
@@ -148685,7 +148685,7 @@ declare namespace Word {
|
|
|
148685
148685
|
*/
|
|
148686
148686
|
imageFormat?: Word.ImageFormat | "Unsupported" | "Undefined" | "Bmp" | "Jpeg" | "Gif" | "Tiff" | "Png" | "Icon" | "Exif" | "Wmf" | "Emf" | "Pict" | "Pdf" | "Svg";
|
|
148687
148687
|
/**
|
|
148688
|
-
* Specifies
|
|
148688
|
+
* Specifies whether the inline image retains its original proportions when you resize it.
|
|
148689
148689
|
*
|
|
148690
148690
|
* @remarks
|
|
148691
148691
|
* [Api set: WordApi 1.1]
|
|
@@ -156096,14 +156096,14 @@ declare namespace Word {
|
|
|
156096
156096
|
*/
|
|
156097
156097
|
appearance?: boolean;
|
|
156098
156098
|
/**
|
|
156099
|
-
* Specifies
|
|
156099
|
+
* Specifies whether the user can delete the content control. Mutually exclusive with `removeWhenEdited`.
|
|
156100
156100
|
*
|
|
156101
156101
|
* @remarks
|
|
156102
156102
|
* [Api set: WordApi 1.1]
|
|
156103
156103
|
*/
|
|
156104
156104
|
cannotDelete?: boolean;
|
|
156105
156105
|
/**
|
|
156106
|
-
* Specifies
|
|
156106
|
+
* Specifies whether the user can edit the contents of the content control.
|
|
156107
156107
|
*
|
|
156108
156108
|
* @remarks
|
|
156109
156109
|
* [Api set: WordApi 1.1]
|
|
@@ -156131,7 +156131,7 @@ declare namespace Word {
|
|
|
156131
156131
|
*/
|
|
156132
156132
|
placeholderText?: boolean;
|
|
156133
156133
|
/**
|
|
156134
|
-
* Specifies
|
|
156134
|
+
* Specifies whether the content control is removed after it's edited. Mutually exclusive with `cannotDelete`.
|
|
156135
156135
|
*
|
|
156136
156136
|
* @remarks
|
|
156137
156137
|
* [Api set: WordApi 1.1]
|
|
@@ -156311,14 +156311,14 @@ declare namespace Word {
|
|
|
156311
156311
|
*/
|
|
156312
156312
|
appearance?: boolean;
|
|
156313
156313
|
/**
|
|
156314
|
-
* For EACH ITEM in the collection: Specifies
|
|
156314
|
+
* For EACH ITEM in the collection: Specifies whether the user can delete the content control. Mutually exclusive with `removeWhenEdited`.
|
|
156315
156315
|
*
|
|
156316
156316
|
* @remarks
|
|
156317
156317
|
* [Api set: WordApi 1.1]
|
|
156318
156318
|
*/
|
|
156319
156319
|
cannotDelete?: boolean;
|
|
156320
156320
|
/**
|
|
156321
|
-
* For EACH ITEM in the collection: Specifies
|
|
156321
|
+
* For EACH ITEM in the collection: Specifies whether the user can edit the contents of the content control.
|
|
156322
156322
|
*
|
|
156323
156323
|
* @remarks
|
|
156324
156324
|
* [Api set: WordApi 1.1]
|
|
@@ -156346,7 +156346,7 @@ declare namespace Word {
|
|
|
156346
156346
|
*/
|
|
156347
156347
|
placeholderText?: boolean;
|
|
156348
156348
|
/**
|
|
156349
|
-
* For EACH ITEM in the collection: Specifies
|
|
156349
|
+
* For EACH ITEM in the collection: Specifies whether the content control is removed after it's edited. Mutually exclusive with `cannotDelete`.
|
|
156350
156350
|
*
|
|
156351
156351
|
* @remarks
|
|
156352
156352
|
* [Api set: WordApi 1.1]
|
|
@@ -156553,7 +156553,7 @@ declare namespace Word {
|
|
|
156553
156553
|
*/
|
|
156554
156554
|
documentElement?: Word.Interfaces.CustomXmlNodeLoadOptions;
|
|
156555
156555
|
/**
|
|
156556
|
-
* Gets
|
|
156556
|
+
* Gets whether the `CustomXmlPart` is built-in.
|
|
156557
156557
|
*
|
|
156558
156558
|
* @remarks
|
|
156559
156559
|
* [Api set: WordApiDesktop 1.3]
|
|
@@ -156600,7 +156600,7 @@ declare namespace Word {
|
|
|
156600
156600
|
*/
|
|
156601
156601
|
documentElement?: Word.Interfaces.CustomXmlNodeLoadOptions;
|
|
156602
156602
|
/**
|
|
156603
|
-
* For EACH ITEM in the collection: Gets
|
|
156603
|
+
* For EACH ITEM in the collection: Gets whether the `CustomXmlPart` is built-in.
|
|
156604
156604
|
*
|
|
156605
156605
|
* @remarks
|
|
156606
156606
|
* [Api set: WordApiDesktop 1.3]
|
|
@@ -156647,7 +156647,7 @@ declare namespace Word {
|
|
|
156647
156647
|
*/
|
|
156648
156648
|
documentElement?: Word.Interfaces.CustomXmlNodeLoadOptions;
|
|
156649
156649
|
/**
|
|
156650
|
-
* For EACH ITEM in the collection: Gets
|
|
156650
|
+
* For EACH ITEM in the collection: Gets whether the `CustomXmlPart` is built-in.
|
|
156651
156651
|
*
|
|
156652
156652
|
* @remarks
|
|
156653
156653
|
* [Api set: WordApiDesktop 1.3]
|
|
@@ -158575,7 +158575,7 @@ declare namespace Word {
|
|
|
158575
158575
|
*/
|
|
158576
158576
|
imageFormat?: boolean;
|
|
158577
158577
|
/**
|
|
158578
|
-
* Specifies
|
|
158578
|
+
* Specifies whether the inline image retains its original proportions when you resize it.
|
|
158579
158579
|
*
|
|
158580
158580
|
* @remarks
|
|
158581
158581
|
* [Api set: WordApi 1.1]
|
|
@@ -158685,7 +158685,7 @@ declare namespace Word {
|
|
|
158685
158685
|
*/
|
|
158686
158686
|
imageFormat?: boolean;
|
|
158687
158687
|
/**
|
|
158688
|
-
* For EACH ITEM in the collection: Specifies
|
|
158688
|
+
* For EACH ITEM in the collection: Specifies whether the inline image retains its original proportions when you resize it.
|
|
158689
158689
|
*
|
|
158690
158690
|
* @remarks
|
|
158691
158691
|
* [Api set: WordApi 1.1]
|
office-js/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.585",
|
|
4
4
|
"description": "TypeScript definitions for office-js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -46,6 +46,6 @@
|
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
48
|
"peerDependencies": {},
|
|
49
|
-
"typesPublisherContentHash": "
|
|
50
|
-
"typeScriptVersion": "5.
|
|
49
|
+
"typesPublisherContentHash": "acd55baea0d9ffec68a111428ef1136958655793d0ae253ab6fd5280867e803b",
|
|
50
|
+
"typeScriptVersion": "5.3"
|
|
51
51
|
}
|