@types/office-js-preview 1.0.334 → 1.0.335
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 +1 -1
- office-js-preview/index.d.ts +100 -0
- office-js-preview/package.json +2 -2
office-js-preview/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-preview.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Thu, 15 Sep 2022 20:32:52 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
|
|
14
14
|
|
office-js-preview/index.d.ts
CHANGED
|
@@ -38264,6 +38264,14 @@ declare namespace Excel {
|
|
|
38264
38264
|
* [Api set: ExcelApi 1.1]
|
|
38265
38265
|
*/
|
|
38266
38266
|
clear(): void;
|
|
38267
|
+
/**
|
|
38268
|
+
* Gets the uniform color fill formatting of a chart element.
|
|
38269
|
+
*
|
|
38270
|
+
* @remarks
|
|
38271
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
38272
|
+
* @beta
|
|
38273
|
+
*/
|
|
38274
|
+
getSolidColor(): OfficeExtension.ClientResult<string>;
|
|
38267
38275
|
/**
|
|
38268
38276
|
* Sets the fill formatting of a chart element to a uniform color.
|
|
38269
38277
|
*
|
|
@@ -42971,6 +42979,80 @@ declare namespace Excel {
|
|
|
42971
42979
|
set(properties: Interfaces.ConditionalFormatUpdateData, options?: OfficeExtension.UpdateOptions): void;
|
|
42972
42980
|
/** Sets multiple properties on the object at the same time, based on an existing loaded object. */
|
|
42973
42981
|
set(properties: Excel.ConditionalFormat): void;
|
|
42982
|
+
/**
|
|
42983
|
+
* Change the conditional format rule type to cell value.
|
|
42984
|
+
*
|
|
42985
|
+
* @remarks
|
|
42986
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
42987
|
+
* @beta
|
|
42988
|
+
*
|
|
42989
|
+
* @param properties The properties to set for the cell value conditional format rule.
|
|
42990
|
+
*/
|
|
42991
|
+
changeRuleToCellValue(properties: Excel.ConditionalCellValueRule): void;
|
|
42992
|
+
/**
|
|
42993
|
+
* Change the conditional format rule type to color scale.
|
|
42994
|
+
*
|
|
42995
|
+
* @remarks
|
|
42996
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
42997
|
+
* @beta
|
|
42998
|
+
*/
|
|
42999
|
+
changeRuleToColorScale(): void;
|
|
43000
|
+
/**
|
|
43001
|
+
* Change the conditional format rule type to text comparison.
|
|
43002
|
+
*
|
|
43003
|
+
* @remarks
|
|
43004
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
43005
|
+
* @beta
|
|
43006
|
+
*
|
|
43007
|
+
* @param properties The properties to set for the text comparison conditional format rule.
|
|
43008
|
+
*/
|
|
43009
|
+
changeRuleToContainsText(properties: Excel.ConditionalTextComparisonRule): void;
|
|
43010
|
+
/**
|
|
43011
|
+
* Change the conditional format rule type to custom.
|
|
43012
|
+
*
|
|
43013
|
+
* @remarks
|
|
43014
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
43015
|
+
* @beta
|
|
43016
|
+
*
|
|
43017
|
+
* @param formula The formula to set for the custom conditional format rule.
|
|
43018
|
+
*/
|
|
43019
|
+
changeRuleToCustom(formula: string): void;
|
|
43020
|
+
/**
|
|
43021
|
+
* Change the conditional format rule type to data bar.
|
|
43022
|
+
*
|
|
43023
|
+
* @remarks
|
|
43024
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
43025
|
+
* @beta
|
|
43026
|
+
*/
|
|
43027
|
+
changeRuleToDataBar(): void;
|
|
43028
|
+
/**
|
|
43029
|
+
* Change the conditional format rule type to icon set.
|
|
43030
|
+
*
|
|
43031
|
+
* @remarks
|
|
43032
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
43033
|
+
* @beta
|
|
43034
|
+
*/
|
|
43035
|
+
changeRuleToIconSet(): void;
|
|
43036
|
+
/**
|
|
43037
|
+
* Change the conditional format rule type to preset criteria.
|
|
43038
|
+
*
|
|
43039
|
+
* @remarks
|
|
43040
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
43041
|
+
* @beta
|
|
43042
|
+
*
|
|
43043
|
+
* @param properties The properties to set for the preset criteria conditional format rule.
|
|
43044
|
+
*/
|
|
43045
|
+
changeRuleToPresetCriteria(properties: Excel.ConditionalPresetCriteriaRule): void;
|
|
43046
|
+
/**
|
|
43047
|
+
* Change the conditional format rule type to top/bottom.
|
|
43048
|
+
*
|
|
43049
|
+
* @remarks
|
|
43050
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
43051
|
+
* @beta
|
|
43052
|
+
*
|
|
43053
|
+
* @param properties The properties to set for the top/bottom conditional format rule.
|
|
43054
|
+
*/
|
|
43055
|
+
changeRuleToTopBottom(properties: Excel.ConditionalTopBottomRule): void;
|
|
42974
43056
|
/**
|
|
42975
43057
|
* Deletes this conditional format.
|
|
42976
43058
|
*
|
|
@@ -43000,6 +43082,16 @@ declare namespace Excel {
|
|
|
43000
43082
|
* [Api set: ExcelApi 1.9]
|
|
43001
43083
|
*/
|
|
43002
43084
|
getRanges(): Excel.RangeAreas;
|
|
43085
|
+
/**
|
|
43086
|
+
* Set the ranges that the conditonal format rule is applied to.
|
|
43087
|
+
*
|
|
43088
|
+
* @remarks
|
|
43089
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
43090
|
+
* @beta
|
|
43091
|
+
*
|
|
43092
|
+
* @param ranges Collection of one or more ranges for this rule to be applied to.
|
|
43093
|
+
*/
|
|
43094
|
+
setRanges(ranges: Range | RangeAreas | string): void;
|
|
43003
43095
|
/**
|
|
43004
43096
|
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
43005
43097
|
*
|
|
@@ -44004,6 +44096,14 @@ declare namespace Excel {
|
|
|
44004
44096
|
set(properties: Interfaces.ConditionalRangeFormatUpdateData, options?: OfficeExtension.UpdateOptions): void;
|
|
44005
44097
|
/** Sets multiple properties on the object at the same time, based on an existing loaded object. */
|
|
44006
44098
|
set(properties: Excel.ConditionalRangeFormat): void;
|
|
44099
|
+
/**
|
|
44100
|
+
* Remove the format properties from a conditional format rule. This creates a rule with no format settings.
|
|
44101
|
+
*
|
|
44102
|
+
* @remarks
|
|
44103
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
44104
|
+
* @beta
|
|
44105
|
+
*/
|
|
44106
|
+
clearFormat(): void;
|
|
44007
44107
|
/**
|
|
44008
44108
|
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
44009
44109
|
*
|
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.335",
|
|
4
4
|
"description": "TypeScript definitions for Office.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,6 +45,6 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "e6454c73b10ff169858c598c9b40546958dc1ee0f9144322dfc7e7865572dc8f",
|
|
49
49
|
"typeScriptVersion": "4.1"
|
|
50
50
|
}
|