Skip to content

Commit 0f98359

Browse files
authored
[office-js-prevew] (Excel) Pulling latest Excel type definitions from CDN (DefinitelyTyped#72456)
1 parent c8e0591 commit 0f98359

File tree

1 file changed

+116
-25
lines changed

1 file changed

+116
-25
lines changed

types/office-js-preview/index.d.ts

Lines changed: 116 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -24996,7 +24996,7 @@ declare namespace Excel {
2499624996
icon?: string | EntityCompactLayoutIcons;
2499724997
}
2499824998
/**
24999-
* Represents a card layout used for the boolean, double, and string basic types.
24999+
* Represents a card layout used for the Boolean, double, and string basic types.
2500025000
*
2500125001
* @remarks
2500225002
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
@@ -31046,36 +31046,36 @@ declare namespace Excel {
3104631046
*/
3104731047
preview?: CellValue;
3104831048
/**
31049-
* Represents the runtime language of this external code service.
31050-
*
31051-
* @remarks
31052-
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
31053-
* @beta
31054-
*/
31049+
* Represents the runtime language of this external code service.
31050+
*
31051+
* @remarks
31052+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
31053+
* @beta
31054+
*/
3105531055
language: "Python";
3105631056
/**
31057-
* Represents the full type name of this object.
31058-
*
31059-
* @remarks
31060-
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
31061-
* @beta
31062-
*/
31057+
* Represents the full type name of this object.
31058+
*
31059+
* @remarks
31060+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
31061+
* @beta
31062+
*/
3106331063
Python_type: string;
3106431064
/**
31065-
* Represents the short type name of this object.
31066-
*
31067-
* @remarks
31068-
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
31069-
* @beta
31070-
*/
31065+
* Represents the short type name of this object.
31066+
*
31067+
* @remarks
31068+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
31069+
* @beta
31070+
*/
3107131071
Python_typeName: string;
3107231072
/**
31073-
* Represents the output of str() function when used on this object.
31074-
*
31075-
* @remarks
31076-
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
31077-
* @beta
31078-
*/
31073+
* Represents the output of the `str()` function when used on this object.
31074+
*
31075+
* @remarks
31076+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
31077+
* @beta
31078+
*/
3107931079
Python_str: string;
3108031080
/**
3108131081
* Represents information about the service that provided the data in this `ExternalCodeServiceObjectCellValue`.
@@ -41718,6 +41718,26 @@ declare namespace Excel {
4171841718
* @param groupOption Specifies whether to show the details of grouped rows or grouped columns.
4171941719
*/
4172041720
showGroupDetails(groupOption: "ByRows" | "ByColumns"): void;
41721+
/**
41722+
* Sets the marshaling mode of the Python in Excel formula =PY.
41723+
*
41724+
* @remarks
41725+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
41726+
* @beta
41727+
*
41728+
* @param marshalMode The mode to set. If not specified, switches from `ExcelValue` to `PythonObject` or vice versa.
41729+
*/
41730+
togglePythonMarshalMode(marshalMode?: Excel.PythonMarshalMode): void;
41731+
/**
41732+
* Sets the marshaling mode of the Python in Excel formula =PY.
41733+
*
41734+
* @remarks
41735+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
41736+
* @beta
41737+
*
41738+
* @param marshalMode The mode to set. If not specified, switches from `ExcelValue` to `PythonObject` or vice versa.
41739+
*/
41740+
togglePythonMarshalMode(marshalMode?: "PythonObject" | "ExcelValue"): void;
4172141741
/**
4172241742
* Ungroups columns and rows for an outline.
4172341743
*
@@ -51712,6 +51732,14 @@ declare namespace Excel {
5171251732
* [Api set: ExcelApi 1.12]
5171351733
*/
5171451734
allowMultipleFiltersPerField: boolean;
51735+
/**
51736+
* Specifies whether the PivotTable auto refreshes when the source data changes. Corresponds to "Auto Refresh" setting in the UI.
51737+
*
51738+
* @remarks
51739+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
51740+
* @beta
51741+
*/
51742+
autoRefresh: boolean;
5171551743
/**
5171651744
* Specifies if the PivotTable allows values in the data body to be edited by the user.
5171751745
*
@@ -62275,6 +62303,29 @@ declare namespace Excel {
6227562303
*/
6227662304
power = "Power"
6227762305
}
62306+
/**
62307+
* Specifies what an =PY formula returns, such as an Excel value or a Python object.
62308+
*
62309+
* @remarks
62310+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
62311+
* @beta
62312+
*/
62313+
enum PythonMarshalMode {
62314+
/**
62315+
* Specifies that the result of an =PY formula should be a reference to an object in the Python service.
62316+
* @remarks
62317+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
62318+
* @beta
62319+
*/
62320+
pythonObject = "PythonObject",
62321+
/**
62322+
* Specifies that the result of an =PY formula should be an Excel value.
62323+
* @remarks
62324+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
62325+
* @beta
62326+
*/
62327+
excelValue = "ExcelValue"
62328+
}
6227862329
/**
6227962330
* Specifies where in the z-order a shape should be moved relative to other shapes.
6228062331
*
@@ -75013,6 +75064,14 @@ declare namespace Excel {
7501375064
* [Api set: ExcelApi 1.12]
7501475065
*/
7501575066
allowMultipleFiltersPerField?: boolean;
75067+
/**
75068+
* Specifies whether the PivotTable auto refreshes when the source data changes. Corresponds to "Auto Refresh" setting in the UI.
75069+
*
75070+
* @remarks
75071+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
75072+
* @beta
75073+
*/
75074+
autoRefresh?: boolean;
7501675075
/**
7501775076
* Specifies if the PivotTable allows values in the data body to be edited by the user.
7501875077
*
@@ -81610,6 +81669,14 @@ declare namespace Excel {
8161081669
* [Api set: ExcelApi 1.12]
8161181670
*/
8161281671
allowMultipleFiltersPerField?: boolean;
81672+
/**
81673+
* Specifies whether the PivotTable auto refreshes when the source data changes. Corresponds to "Auto Refresh" setting in the UI.
81674+
*
81675+
* @remarks
81676+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
81677+
* @beta
81678+
*/
81679+
autoRefresh?: boolean;
8161381680
/**
8161481681
* Specifies if the PivotTable allows values in the data body to be edited by the user.
8161581682
*
@@ -91237,6 +91304,14 @@ declare namespace Excel {
9123791304
* [Api set: ExcelApi 1.12]
9123891305
*/
9123991306
allowMultipleFiltersPerField?: boolean;
91307+
/**
91308+
* For EACH ITEM in the collection: Specifies whether the PivotTable auto refreshes when the source data changes. Corresponds to "Auto Refresh" setting in the UI.
91309+
*
91310+
* @remarks
91311+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
91312+
* @beta
91313+
*/
91314+
autoRefresh?: boolean;
9124091315
/**
9124191316
* For EACH ITEM in the collection: Specifies if the PivotTable allows values in the data body to be edited by the user.
9124291317
*
@@ -91305,6 +91380,14 @@ declare namespace Excel {
9130591380
* [Api set: ExcelApi 1.12]
9130691381
*/
9130791382
allowMultipleFiltersPerField?: boolean;
91383+
/**
91384+
* For EACH ITEM in the collection: Specifies whether the PivotTable auto refreshes when the source data changes. Corresponds to "Auto Refresh" setting in the UI.
91385+
*
91386+
* @remarks
91387+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
91388+
* @beta
91389+
*/
91390+
autoRefresh?: boolean;
9130891391
/**
9130991392
* For EACH ITEM in the collection: Specifies if the PivotTable allows values in the data body to be edited by the user.
9131091393
*
@@ -91374,6 +91457,14 @@ declare namespace Excel {
9137491457
* [Api set: ExcelApi 1.12]
9137591458
*/
9137691459
allowMultipleFiltersPerField?: boolean;
91460+
/**
91461+
* Specifies whether the PivotTable auto refreshes when the source data changes. Corresponds to "Auto Refresh" setting in the UI.
91462+
*
91463+
* @remarks
91464+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
91465+
* @beta
91466+
*/
91467+
autoRefresh?: boolean;
9137791468
/**
9137891469
* Specifies if the PivotTable allows values in the data body to be edited by the user.
9137991470
*

0 commit comments

Comments
 (0)