@types/office-js 1.0.244 → 1.0.245
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 +22 -21
- 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: Thu, 31 Mar 2022 18:31:49 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
|
|
14
14
|
|
office-js/index.d.ts
CHANGED
|
@@ -22715,7 +22715,7 @@ declare namespace Excel {
|
|
|
22715
22715
|
* @remarks
|
|
22716
22716
|
* [Api set: ExcelApi 1.9]
|
|
22717
22717
|
*
|
|
22718
|
-
* @param address Optional. A string containing the comma-separated addresses or names of the individual ranges. For example, "A1:B2, A5:B5". If not specified,
|
|
22718
|
+
* @param address Optional. A string containing the comma-separated or semicolon-separated addresses or names of the individual ranges. For example, "A1:B2, A5:B5" or "A1:B2; A5:B5". If not specified, a `RangeAreas` object for the entire worksheet is returned.
|
|
22719
22719
|
*/
|
|
22720
22720
|
getRanges(address?: string): Excel.RangeAreas;
|
|
22721
22721
|
/**
|
|
@@ -23092,7 +23092,7 @@ declare namespace Excel {
|
|
|
23092
23092
|
*/
|
|
23093
23093
|
readonly onFormulaChanged: OfficeExtension.EventHandlers<Excel.WorksheetFormulaChangedEventArgs>;
|
|
23094
23094
|
/**
|
|
23095
|
-
* Occurs when a worksheet is moved
|
|
23095
|
+
* Occurs when a worksheet is moved within a workbook. This event only triggers when a worksheet is directly moved within a workbook. This event doesn't trigger when the position of a worksheet is indirectly changed, such as when a new worksheet is inserted and causes existing worksheets to change positions.
|
|
23096
23096
|
*
|
|
23097
23097
|
* @remarks
|
|
23098
23098
|
* [Api set: ExcelApiOnline 1.1]
|
|
@@ -23172,7 +23172,7 @@ declare namespace Excel {
|
|
|
23172
23172
|
toJSON(): Excel.Interfaces.WorksheetCollectionData;
|
|
23173
23173
|
}
|
|
23174
23174
|
/**
|
|
23175
|
-
* Represents the protection of a
|
|
23175
|
+
* Represents the protection of a worksheet object.
|
|
23176
23176
|
*
|
|
23177
23177
|
* @remarks
|
|
23178
23178
|
* [Api set: ExcelApi 1.2]
|
|
@@ -23716,11 +23716,11 @@ declare namespace Excel {
|
|
|
23716
23716
|
/** Sets multiple properties on the object at the same time, based on an existing loaded object. */
|
|
23717
23717
|
set(properties: Excel.Range): void;
|
|
23718
23718
|
/**
|
|
23719
|
-
* Fills range from the current range to the destination range using the specified AutoFill logic.
|
|
23720
|
-
|
|
23721
|
-
|
|
23719
|
+
* Fills a range from the current range to the destination range using the specified AutoFill logic.
|
|
23720
|
+
The destination range can be `null` or can extend the source range either horizontally or vertically.
|
|
23721
|
+
Discontiguous ranges are not supported.
|
|
23722
23722
|
|
|
23723
|
-
|
|
23723
|
+
For more information, see {@link https://support.microsoft.com/office/2e79a709-c814-4b27-8bc2-c4dc84d49464 | Use AutoFill and Flash Fill}.
|
|
23724
23724
|
*
|
|
23725
23725
|
* @remarks
|
|
23726
23726
|
* [Api set: ExcelApi 1.9, ExcelApi Preview for null `destinationRange`]
|
|
@@ -23730,11 +23730,11 @@ declare namespace Excel {
|
|
|
23730
23730
|
*/
|
|
23731
23731
|
autoFill(destinationRange?: Range | string, autoFillType?: Excel.AutoFillType): void;
|
|
23732
23732
|
/**
|
|
23733
|
-
* Fills range from the current range to the destination range using the specified AutoFill logic.
|
|
23734
|
-
|
|
23735
|
-
|
|
23733
|
+
* Fills a range from the current range to the destination range using the specified AutoFill logic.
|
|
23734
|
+
The destination range can be `null` or can extend the source range either horizontally or vertically.
|
|
23735
|
+
Discontiguous ranges are not supported.
|
|
23736
23736
|
|
|
23737
|
-
|
|
23737
|
+
For more information, see {@link https://support.microsoft.com/office/2e79a709-c814-4b27-8bc2-c4dc84d49464 | Use AutoFill and Flash Fill}.
|
|
23738
23738
|
*
|
|
23739
23739
|
* @remarks
|
|
23740
23740
|
* [Api set: ExcelApi 1.9, ExcelApi Preview for null `destinationRange`]
|
|
@@ -24035,7 +24035,8 @@ declare namespace Excel {
|
|
|
24035
24035
|
*/
|
|
24036
24036
|
getLastRow(): Excel.Range;
|
|
24037
24037
|
/**
|
|
24038
|
-
* Returns a RangeAreas object that represents the merged areas in this range. Note that if the merged areas count in this range is more than 512,
|
|
24038
|
+
* Returns a `RangeAreas` object that represents the merged areas in this range. Note that if the merged areas count in this range is more than 512, then this method will fail to return the result. If the `RangeAreas` object doesn't exist, then this function will return an object with its `isNullObject` property set to `true`.
|
|
24039
|
+
For further information, see {@link https://docs.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods and properties}.
|
|
24039
24040
|
*
|
|
24040
24041
|
* @remarks
|
|
24041
24042
|
* [Api set: ExcelApi 1.13]
|
|
@@ -26531,7 +26532,7 @@ declare namespace Excel {
|
|
|
26531
26532
|
/**
|
|
26532
26533
|
* Name of the table.
|
|
26533
26534
|
|
|
26534
|
-
The set name of the table must follow the guidelines specified in the {@link https://support.
|
|
26535
|
+
The set name of the table must follow the guidelines specified in the {@link https://support.microsoft.com/office/fbf49a4f-82a3-43eb-8ba2-44d21233b114 | Rename an Excel table} article.
|
|
26535
26536
|
*
|
|
26536
26537
|
* @remarks
|
|
26537
26538
|
* [Api set: ExcelApi 1.1]
|
|
@@ -33134,7 +33135,7 @@ declare namespace Excel {
|
|
|
33134
33135
|
*/
|
|
33135
33136
|
getRangeOrNullObject(): Excel.Range;
|
|
33136
33137
|
/**
|
|
33137
|
-
* Applies the specified
|
|
33138
|
+
* Applies the specified AutoFilter object currently on the range.
|
|
33138
33139
|
*
|
|
33139
33140
|
* @remarks
|
|
33140
33141
|
* [Api set: ExcelApi 1.9]
|
|
@@ -39916,7 +39917,7 @@ declare namespace Excel {
|
|
|
39916
39917
|
* @remarks
|
|
39917
39918
|
* [Api set: ExcelApi 1.9]
|
|
39918
39919
|
*
|
|
39919
|
-
* @param key
|
|
39920
|
+
* @param key The name or ID of the shape to be retrieved.
|
|
39920
39921
|
*/
|
|
39921
39922
|
getItem(key: string): Excel.Shape;
|
|
39922
39923
|
/**
|
|
@@ -52928,7 +52929,7 @@ declare namespace Excel {
|
|
|
52928
52929
|
/**
|
|
52929
52930
|
* Name of the table.
|
|
52930
52931
|
|
|
52931
|
-
The set name of the table must follow the guidelines specified in the {@link https://support.
|
|
52932
|
+
The set name of the table must follow the guidelines specified in the {@link https://support.microsoft.com/office/fbf49a4f-82a3-43eb-8ba2-44d21233b114 | Rename an Excel table} article.
|
|
52932
52933
|
*
|
|
52933
52934
|
* @remarks
|
|
52934
52935
|
* [Api set: ExcelApi 1.1]
|
|
@@ -58467,7 +58468,7 @@ declare namespace Excel {
|
|
|
58467
58468
|
/**
|
|
58468
58469
|
* Name of the table.
|
|
58469
58470
|
|
|
58470
|
-
The set name of the table must follow the guidelines specified in the {@link https://support.
|
|
58471
|
+
The set name of the table must follow the guidelines specified in the {@link https://support.microsoft.com/office/fbf49a4f-82a3-43eb-8ba2-44d21233b114 | Rename an Excel table} article.
|
|
58471
58472
|
*
|
|
58472
58473
|
* @remarks
|
|
58473
58474
|
* [Api set: ExcelApi 1.1]
|
|
@@ -64398,7 +64399,7 @@ declare namespace Excel {
|
|
|
64398
64399
|
visibility?: boolean;
|
|
64399
64400
|
}
|
|
64400
64401
|
/**
|
|
64401
|
-
* Represents the protection of a
|
|
64402
|
+
* Represents the protection of a worksheet object.
|
|
64402
64403
|
*
|
|
64403
64404
|
* @remarks
|
|
64404
64405
|
* [Api set: ExcelApi 1.2]
|
|
@@ -65331,7 +65332,7 @@ declare namespace Excel {
|
|
|
65331
65332
|
/**
|
|
65332
65333
|
* For EACH ITEM in the collection: Name of the table.
|
|
65333
65334
|
|
|
65334
|
-
The set name of the table must follow the guidelines specified in the {@link https://support.
|
|
65335
|
+
The set name of the table must follow the guidelines specified in the {@link https://support.microsoft.com/office/fbf49a4f-82a3-43eb-8ba2-44d21233b114 | Rename an Excel table} article.
|
|
65335
65336
|
*
|
|
65336
65337
|
* @remarks
|
|
65337
65338
|
* [Api set: ExcelApi 1.1]
|
|
@@ -65457,7 +65458,7 @@ declare namespace Excel {
|
|
|
65457
65458
|
/**
|
|
65458
65459
|
* For EACH ITEM in the collection: Name of the table.
|
|
65459
65460
|
|
|
65460
|
-
The set name of the table must follow the guidelines specified in the {@link https://support.
|
|
65461
|
+
The set name of the table must follow the guidelines specified in the {@link https://support.microsoft.com/office/fbf49a4f-82a3-43eb-8ba2-44d21233b114 | Rename an Excel table} article.
|
|
65461
65462
|
*
|
|
65462
65463
|
* @remarks
|
|
65463
65464
|
* [Api set: ExcelApi 1.1]
|
|
@@ -65584,7 +65585,7 @@ declare namespace Excel {
|
|
|
65584
65585
|
/**
|
|
65585
65586
|
* Name of the table.
|
|
65586
65587
|
|
|
65587
|
-
The set name of the table must follow the guidelines specified in the {@link https://support.
|
|
65588
|
+
The set name of the table must follow the guidelines specified in the {@link https://support.microsoft.com/office/fbf49a4f-82a3-43eb-8ba2-44d21233b114 | Rename an Excel table} article.
|
|
65588
65589
|
*
|
|
65589
65590
|
* @remarks
|
|
65590
65591
|
* [Api set: ExcelApi 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.245",
|
|
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",
|
|
@@ -45,6 +45,6 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "3e054f529246bb5176c7c8f6c2d2d89203fa1b946ab9d6d2538b39d8598f9589",
|
|
49
49
|
"typeScriptVersion": "3.9"
|
|
50
50
|
}
|