Skip to content

Commit 4a07705

Browse files
authored
Merge pull request #363 from OfficeDev/autogen-docs
[excel] Pulling latest changes from CDN
2 parents 5c99a4c + 50e0a3d commit 4a07705

File tree

6 files changed

+103
-12
lines changed

6 files changed

+103
-12
lines changed

docs/docs-ref-autogen/excel/excelscript/excelscript.clearapplyto.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ fields:
3333
- name: all
3434
uid: 'ExcelScript!ExcelScript.ClearApplyTo.all:member'
3535
package: ExcelScript!
36-
summary: ''
36+
summary: Clears everything in the range.
3737
- name: contents
3838
uid: 'ExcelScript!ExcelScript.ClearApplyTo.contents:member'
3939
package: ExcelScript!
40-
summary: Clears the contents of the range.
40+
summary: 'Clears the contents of the range, leaving formatting intact.'
4141
- name: formats
4242
uid: 'ExcelScript!ExcelScript.ClearApplyTo.formats:member'
4343
package: ExcelScript!
44-
summary: Clears all formatting for the range.
44+
summary: 'Clears all formatting for the range, leaving values intact.'
4545
- name: hyperlinks
4646
uid: 'ExcelScript!ExcelScript.ClearApplyTo.hyperlinks:member'
4747
package: ExcelScript!

docs/docs-ref-autogen/excel/excelscript/excelscript.documentproperties.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,9 @@ methods:
117117
uid: 'ExcelScript!ExcelScript.DocumentProperties#getComments:member(1)'
118118
package: ExcelScript!
119119
fullName: getComments()
120-
summary: The comments of the workbook.
120+
summary: >-
121+
The comment field in the metadata of the workbook. These have no connection to comments by users made in the
122+
workbook.
121123
remarks: ''
122124
isPreview: false
123125
isDeprecated: false
@@ -319,7 +321,9 @@ methods:
319321
uid: 'ExcelScript!ExcelScript.DocumentProperties#setComments:member(1)'
320322
package: ExcelScript!
321323
fullName: setComments(comments)
322-
summary: The comments of the workbook.
324+
summary: >-
325+
The comment field in the metadata of the workbook. These have no connection to comments by users made in the
326+
workbook.
323327
remarks: ''
324328
isPreview: false
325329
isDeprecated: false

docs/docs-ref-autogen/excel/excelscript/excelscript.pivotlabelfilter.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,20 @@ isPreview: false
3838
isDeprecated: false
3939
type: interface
4040
properties:
41+
- name: comparator
42+
uid: 'ExcelScript!ExcelScript.PivotLabelFilter#comparator:member'
43+
package: ExcelScript!
44+
fullName: comparator
45+
summary: >-
46+
The comparator is the static value to which other values are compared. The type of comparison is defined by the
47+
condition. Note: A numeric string is treated as a number when being compared against other numeric strings.
48+
remarks: ''
49+
isPreview: false
50+
isDeprecated: false
51+
syntax:
52+
content: 'comparator?: string;'
53+
return:
54+
type: string
4155
- name: condition
4256
uid: 'ExcelScript!ExcelScript.PivotLabelFilter#condition:member'
4357
package: ExcelScript!

docs/docs-ref-autogen/excel/excelscript/excelscript.range.yml

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ methods:
161161
uid: 'ExcelScript!ExcelScript.Range#clear:member(1)'
162162
package: ExcelScript!
163163
fullName: clear(applyTo)
164-
summary: 'Clear range values, format, fill, border, etc.'
164+
summary: 'Clear range values and formatting, such as fill and border.'
165165
remarks: ''
166166
isPreview: false
167167
isDeprecated: false
@@ -785,6 +785,36 @@ methods:
785785
});
786786
}
787787
```
788+
- name: getDependents()
789+
uid: 'ExcelScript!ExcelScript.Range#getDependents:member(1)'
790+
package: ExcelScript!
791+
fullName: getDependents()
792+
summary: >-
793+
Returns a `WorkbookRangeAreas` object that represents the range containing all the dependent cells of a specified
794+
range in the same worksheet or across multiple worksheets.
795+
remarks: ''
796+
isPreview: false
797+
isDeprecated: false
798+
syntax:
799+
content: 'getDependents(): WorkbookRangeAreas;'
800+
return:
801+
type: '<xref uid="ExcelScript!ExcelScript.WorkbookRangeAreas:interface" />'
802+
description: ''
803+
- name: getDirectDependents()
804+
uid: 'ExcelScript!ExcelScript.Range#getDirectDependents:member(1)'
805+
package: ExcelScript!
806+
fullName: getDirectDependents()
807+
summary: >-
808+
Returns a `WorkbookRangeAreas` object that represents the range containing all the direct dependent cells of a
809+
specified range in the same worksheet or across multiple worksheets.
810+
remarks: ''
811+
isPreview: false
812+
isDeprecated: false
813+
syntax:
814+
content: 'getDirectDependents(): WorkbookRangeAreas;'
815+
return:
816+
type: '<xref uid="ExcelScript!ExcelScript.WorkbookRangeAreas:interface" />'
817+
description: ''
788818
- name: getDirectPrecedents()
789819
uid: 'ExcelScript!ExcelScript.Range#getDirectPrecedents:member(1)'
790820
package: ExcelScript!
@@ -1492,6 +1522,21 @@ methods:
14921522
return:
14931523
type: '<xref uid="ExcelScript!ExcelScript.PivotTable:interface" />[]'
14941524
description: ''
1525+
- name: getPrecedents()
1526+
uid: 'ExcelScript!ExcelScript.Range#getPrecedents:member(1)'
1527+
package: ExcelScript!
1528+
fullName: getPrecedents()
1529+
summary: >-
1530+
Returns a `WorkbookRangeAreas` object that represents the range containing all the precedent cells of a specified
1531+
range in the same worksheet or across multiple worksheets.
1532+
remarks: ''
1533+
isPreview: false
1534+
isDeprecated: false
1535+
syntax:
1536+
content: 'getPrecedents(): WorkbookRangeAreas;'
1537+
return:
1538+
type: '<xref uid="ExcelScript!ExcelScript.WorkbookRangeAreas:interface" />'
1539+
description: ''
14951540
- name: getPredefinedCellStyle()
14961541
uid: 'ExcelScript!ExcelScript.Range#getPredefinedCellStyle:member(1)'
14971542
package: ExcelScript!

generate-docs/API Coverage Report.csv

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1052,7 +1052,7 @@ ExcelScript.ChartUnderlineStyle,N/A,Enum,Missing,false
10521052
ExcelScript.ChartUnderlineStyle,"none",EnumField,Missing,false
10531053
ExcelScript.ChartUnderlineStyle,"single",EnumField,Missing,false
10541054
ExcelScript.ClearApplyTo,N/A,Enum,Missing,true
1055-
ExcelScript.ClearApplyTo,"all",EnumField,Missing,false
1055+
ExcelScript.ClearApplyTo,"all",EnumField,Poor,false
10561056
ExcelScript.ClearApplyTo,"contents",EnumField,Fine,false
10571057
ExcelScript.ClearApplyTo,"formats",EnumField,Fine,false
10581058
ExcelScript.ClearApplyTo,"hyperlinks",EnumField,Fine,false
@@ -2193,6 +2193,7 @@ ExcelScript.PivotItem,"setIsExpanded(isExpanded)",Method,Poor,false
21932193
ExcelScript.PivotItem,"setName(name)",Method,Poor,false
21942194
ExcelScript.PivotItem,"setVisible(visible)",Method,Poor,false
21952195
ExcelScript.PivotLabelFilter,N/A,Class,Good,true
2196+
ExcelScript.PivotLabelFilter,"comparator",Property,Good,false
21962197
ExcelScript.PivotLabelFilter,"condition",Property,Fine,false
21972198
ExcelScript.PivotLabelFilter,"exclusive",Property,Good,false
21982199
ExcelScript.PivotLabelFilter,"lowerBound",Property,Good,false
@@ -2387,6 +2388,8 @@ ExcelScript.Range,"getColumnsBefore(count)",Method,Poor,false
23872388
ExcelScript.Range,"getConditionalFormat(id)",Method,Poor,false
23882389
ExcelScript.Range,"getConditionalFormats()",Method,Poor,false
23892390
ExcelScript.Range,"getDataValidation()",Method,Poor,true
2391+
ExcelScript.Range,"getDependents()",Method,Poor,false
2392+
ExcelScript.Range,"getDirectDependents()",Method,Poor,false
23902393
ExcelScript.Range,"getDirectPrecedents()",Method,Fine,true
23912394
ExcelScript.Range,"getEntireColumn()",Method,Poor,false
23922395
ExcelScript.Range,"getEntireRow()",Method,Poor,false
@@ -2421,6 +2424,7 @@ ExcelScript.Range,"getNumberFormats()",Method,Poor,false
24212424
ExcelScript.Range,"getNumberFormatsLocal()",Method,Poor,false
24222425
ExcelScript.Range,"getOffsetRange(rowOffset, columnOffset)",Method,Fine,true
24232426
ExcelScript.Range,"getPivotTables(fullyContained)",Method,Poor,false
2427+
ExcelScript.Range,"getPrecedents()",Method,Poor,false
24242428
ExcelScript.Range,"getPredefinedCellStyle()",Method,Poor,false
24252429
ExcelScript.Range,"getRangeEdge(direction, activeCell)",Method,Fine,true
24262430
ExcelScript.Range,"getResizedRange(deltaRows, deltaColumns)",Method,Fine,true

generate-docs/api-extractor-inputs-excel/excel.d.ts

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1734,7 +1734,7 @@ export declare namespace ExcelScript {
17341734
calculate(): void;
17351735

17361736
/**
1737-
* Clear range values, format, fill, border, etc.
1737+
* Clear range values and formatting, such as fill and border.
17381738
* @param applyTo - Optional. Determines the type of clear action. See `ExcelScript.ClearApplyTo` for details.
17391739
*/
17401740
clear(applyTo?: ClearApplyTo): void;
@@ -1817,6 +1817,16 @@ export declare namespace ExcelScript {
18171817
*/
18181818
getColumnsBefore(count?: number): Range;
18191819

1820+
/**
1821+
* Returns a `WorkbookRangeAreas` object that represents the range containing all the dependent cells of a specified range in the same worksheet or across multiple worksheets.
1822+
*/
1823+
getDependents(): WorkbookRangeAreas;
1824+
1825+
/**
1826+
* Returns a `WorkbookRangeAreas` object that represents the range containing all the direct dependent cells of a specified range in the same worksheet or across multiple worksheets.
1827+
*/
1828+
getDirectDependents(): WorkbookRangeAreas;
1829+
18201830
/**
18211831
* Returns a `WorkbookRangeAreas` object that represents the range containing all the direct precedent cells of a specified range in the same worksheet or across multiple worksheets.
18221832
*/
@@ -1886,6 +1896,11 @@ export declare namespace ExcelScript {
18861896
*/
18871897
getPivotTables(fullyContained?: boolean): PivotTable[];
18881898

1899+
/**
1900+
* Returns a `WorkbookRangeAreas` object that represents the range containing all the precedent cells of a specified range in the same worksheet or across multiple worksheets.
1901+
*/
1902+
getPrecedents(): WorkbookRangeAreas;
1903+
18891904
/**
18901905
* Returns a range object that is the edge cell of the data region that corresponds to the provided direction. This matches the Ctrl+Arrow key behavior in the Excel on Windows UI.
18911906
* @param direction - The direction from the active cell.
@@ -7406,12 +7421,12 @@ export declare namespace ExcelScript {
74067421
setCategory(category: string): void;
74077422

74087423
/**
7409-
* The comments of the workbook.
7424+
* The comment field in the metadata of the workbook. These have no connection to comments by users made in the workbook.
74107425
*/
74117426
getComments(): string;
74127427

74137428
/**
7414-
* The comments of the workbook.
7429+
* The comment field in the metadata of the workbook. These have no connection to comments by users made in the workbook.
74157430
*/
74167431
setComments(comments: string): void;
74177432

@@ -10172,6 +10187,12 @@ export declare namespace ExcelScript {
1017210187
* The `condition` defines what criteria need to be set in order for the filter to operate.
1017310188
*/
1017410189
export interface PivotLabelFilter {
10190+
/**
10191+
* The comparator is the static value to which other values are compared. The type of comparison is defined by the condition.
10192+
* Note: A numeric string is treated as a number when being compared against other numeric strings.
10193+
*/
10194+
comparator?: string;
10195+
1017510196
/**
1017610197
* Specifies the condition for the filter, which defines the necessary filtering criteria.
1017710198
*/
@@ -12798,15 +12819,18 @@ export declare namespace ExcelScript {
1279812819
}
1279912820

1280012821
enum ClearApplyTo {
12822+
/**
12823+
* Clears everything in the range.
12824+
*/
1280112825
all,
1280212826

1280312827
/**
12804-
* Clears all formatting for the range.
12828+
* Clears all formatting for the range, leaving values intact.
1280512829
*/
1280612830
formats,
1280712831

1280812832
/**
12809-
* Clears the contents of the range.
12833+
* Clears the contents of the range, leaving formatting intact.
1281012834
*/
1281112835
contents,
1281212836

0 commit comments

Comments
 (0)