@types/office-js 1.0.568 → 1.0.570
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 +12 -2
- office-js/package.json +2 -2
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: Mon, 02 Feb 2026 23:47:21 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js/index.d.ts
CHANGED
|
@@ -249,10 +249,15 @@ declare namespace Office {
|
|
|
249
249
|
* Represents the Device Permission interface.
|
|
250
250
|
*/
|
|
251
251
|
const devicePermission: DevicePermission;
|
|
252
|
+
/**
|
|
253
|
+
* Provides options to manage the user interface of an Office Add-in while the add-in is running.
|
|
254
|
+
*/
|
|
255
|
+
const extensionLifeCycle: ExtensionLifeCycle;
|
|
252
256
|
/**
|
|
253
257
|
* Represents the ribbon associated with the Office application.
|
|
254
258
|
*/
|
|
255
259
|
const ribbon: Ribbon;
|
|
260
|
+
|
|
256
261
|
/**
|
|
257
262
|
* Occurs when the runtime environment is loaded and the add-in is ready to start interacting with the application and hosted document.
|
|
258
263
|
*
|
|
@@ -35791,6 +35796,7 @@ declare namespace Excel {
|
|
|
35791
35796
|
readonly calculationEngineVersion: number;
|
|
35792
35797
|
/**
|
|
35793
35798
|
* Returns the calculation mode used in the workbook, as defined by the constants in `Excel.CalculationMode`. Possible values are: `Automatic`, where Excel controls recalculation; `AutomaticExceptTables`, where Excel controls recalculation but ignores changes in tables; `Manual`, where calculation is done when the user requests it.
|
|
35799
|
+
* This is a runtime property. The `calculationMode` setting is not persisted in the workbook.
|
|
35794
35800
|
*
|
|
35795
35801
|
* @remarks
|
|
35796
35802
|
* [Api set: ExcelApi 1.1 for get, 1.8 for set]
|
|
@@ -36344,13 +36350,12 @@ declare namespace Excel {
|
|
|
36344
36350
|
* Inserts the specified worksheets from a source workbook into the current workbook.
|
|
36345
36351
|
|
|
36346
36352
|
The `extensionHardening` Windows registry key affects this API. The file extension defined by the `base64File` param must match the real file type of the inserted file. If `extensionHardening` is set to deny mismatches and the file extension does not match the real file type, this API throws the following error: "This operation is not allowed due to the extension hardening policy."
|
|
36347
|
-
|
|
36348
|
-
**Note**: This API is currently only supported for Office on Windows, Mac, and the web.
|
|
36349
36353
|
*
|
|
36350
36354
|
* @remarks
|
|
36351
36355
|
* [Api set: ExcelApi 1.13]
|
|
36352
36356
|
*
|
|
36353
36357
|
* This API is currently only supported for Office on Windows, Mac, and the web.
|
|
36358
|
+
* In Excel on the web, this API doesn't support inserting charts, comments, PivotTables, or slicers.
|
|
36354
36359
|
*
|
|
36355
36360
|
* @param base64File Required. The Base64-encoded string representing the source workbook file.
|
|
36356
36361
|
* @param options Optional. The options that define which worksheets to insert and where in the workbook the new worksheets will be inserted. By default, all the worksheets from the source workbook are inserted at the end of the current workbook.
|
|
@@ -36810,6 +36815,7 @@ declare namespace Excel {
|
|
|
36810
36815
|
evaluate(name: string): OfficeExtension.ClientResult<any>;
|
|
36811
36816
|
/**
|
|
36812
36817
|
* Finds all occurrences of the given string based on the criteria specified and returns them as a `RangeAreas` object, comprising one or more rectangular ranges.
|
|
36818
|
+
* Content in hidden worksheets is not returned.
|
|
36813
36819
|
*
|
|
36814
36820
|
* @remarks
|
|
36815
36821
|
* [Api set: ExcelApi 1.9]
|
|
@@ -36821,6 +36827,7 @@ declare namespace Excel {
|
|
|
36821
36827
|
findAll(text: string, criteria: Excel.WorksheetSearchCriteria): Excel.RangeAreas;
|
|
36822
36828
|
/**
|
|
36823
36829
|
* Finds all occurrences of the given string based on the criteria specified and returns them as a `RangeAreas` object, comprising one or more rectangular ranges.
|
|
36830
|
+
* Content in hidden worksheets is not returned.
|
|
36824
36831
|
*
|
|
36825
36832
|
* @remarks
|
|
36826
36833
|
* [Api set: ExcelApi 1.9]
|
|
@@ -69450,6 +69457,7 @@ declare namespace Excel {
|
|
|
69450
69457
|
iterativeCalculation?: Excel.Interfaces.IterativeCalculationUpdateData;
|
|
69451
69458
|
/**
|
|
69452
69459
|
* Returns the calculation mode used in the workbook, as defined by the constants in `Excel.CalculationMode`. Possible values are: `Automatic`, where Excel controls recalculation; `AutomaticExceptTables`, where Excel controls recalculation but ignores changes in tables; `Manual`, where calculation is done when the user requests it.
|
|
69460
|
+
* This is a runtime property. The `calculationMode` setting is not persisted in the workbook.
|
|
69453
69461
|
*
|
|
69454
69462
|
* @remarks
|
|
69455
69463
|
* [Api set: ExcelApi 1.1 for get, 1.8 for set]
|
|
@@ -74987,6 +74995,7 @@ declare namespace Excel {
|
|
|
74987
74995
|
calculationEngineVersion?: number;
|
|
74988
74996
|
/**
|
|
74989
74997
|
* Returns the calculation mode used in the workbook, as defined by the constants in `Excel.CalculationMode`. Possible values are: `Automatic`, where Excel controls recalculation; `AutomaticExceptTables`, where Excel controls recalculation but ignores changes in tables; `Manual`, where calculation is done when the user requests it.
|
|
74998
|
+
* This is a runtime property. The `calculationMode` setting is not persisted in the workbook.
|
|
74990
74999
|
*
|
|
74991
75000
|
* @remarks
|
|
74992
75001
|
* [Api set: ExcelApi 1.1 for get, 1.8 for set]
|
|
@@ -82540,6 +82549,7 @@ declare namespace Excel {
|
|
|
82540
82549
|
calculationEngineVersion?: boolean;
|
|
82541
82550
|
/**
|
|
82542
82551
|
* Returns the calculation mode used in the workbook, as defined by the constants in `Excel.CalculationMode`. Possible values are: `Automatic`, where Excel controls recalculation; `AutomaticExceptTables`, where Excel controls recalculation but ignores changes in tables; `Manual`, where calculation is done when the user requests it.
|
|
82552
|
+
* This is a runtime property. The `calculationMode` setting is not persisted in the workbook.
|
|
82543
82553
|
*
|
|
82544
82554
|
* @remarks
|
|
82545
82555
|
* [Api set: ExcelApi 1.1 for get, 1.8 for set]
|
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.570",
|
|
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": "
|
|
49
|
+
"typesPublisherContentHash": "c9da67838d0c597c47ee0d5fd5d2562c8a54e5780e3993b4ddeb6cdbbb76e512",
|
|
50
50
|
"typeScriptVersion": "5.2"
|
|
51
51
|
}
|