Skip to content

Commit 0a4d894

Browse files
Merge pull request #2252 from OfficeDev/main
[Admin] Publish
2 parents daa5a19 + 034a706 commit 0a4d894

File tree

278 files changed

+5830
-780
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

278 files changed

+5830
-780
lines changed

docs/docs-ref-autogen/common/toc.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -291,10 +291,6 @@ items:
291291
href: ../../manifest/disableentityhighlighting.md
292292
- name: DisplayName
293293
href: ../../manifest/displayname.md
294-
- name: EquivalentAddin
295-
href: ../../manifest/equivalentaddin.md
296-
- name: EquivalentAddins
297-
href: ../../manifest/equivalentaddins.md
298294
- name: ExtendedOverrides
299295
href: ../../manifest/extendedoverrides.md
300296
- name: FileName

docs/docs-ref-autogen/common_preview/toc.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -293,10 +293,6 @@ items:
293293
href: ../../manifest/disableentityhighlighting.md
294294
- name: DisplayName
295295
href: ../../manifest/displayname.md
296-
- name: EquivalentAddin
297-
href: ../../manifest/equivalentaddin.md
298-
- name: EquivalentAddins
299-
href: ../../manifest/equivalentaddins.md
300296
- name: ExtendedOverrides
301297
href: ../../manifest/extendedoverrides.md
302298
- name: FileName

docs/docs-ref-autogen/excel/excel/excel.cellcontroltype.yml

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,35 @@ uid: 'excel!Excel.CellControlType:enum'
44
package: excel!
55
fullName: Excel.CellControlType
66
summary: Represents the type of cell control.
7-
remarks: '\[ [API set: ExcelApi 1.18](/javascript/api/requirement-sets/excel/excel-api-requirement-sets) \]'
7+
remarks: >-
8+
\[ [API set: ExcelApi 1.18](/javascript/api/requirement-sets/excel/excel-api-requirement-sets) \]
9+
10+
11+
#### Examples
12+
13+
14+
```TypeScript
15+
16+
// Link to full sample:
17+
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/excel/42-range/range-cell-control.yaml
18+
19+
20+
// Add checkboxes to the table.
21+
22+
await Excel.run(async (context) => {
23+
const sheet = context.workbook.worksheets.getActiveWorksheet();
24+
25+
// Get the second column in the table, without the header.
26+
const range = sheet.tables.getItem("FruitTable").columns.getItem("Analysis").getDataBodyRange();
27+
28+
// Change the boolean values to checkboxes.
29+
range.control = {
30+
type: Excel.CellControlType.checkbox
31+
};
32+
await context.sync();
33+
});
34+
35+
```
836
isPreview: false
937
isDeprecated: false
1038
fields:

docs/docs-ref-autogen/excel/excel/excel.checkboxcellcontrol.yml

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,35 @@ uid: 'excel!Excel.CheckboxCellControl:interface'
44
package: excel!
55
fullName: Excel.CheckboxCellControl
66
summary: Represents a checkbox. This is a cell control that allows a user to toggle the boolean value in a cell.
7-
remarks: '\[ [API set: ExcelApi 1.18](/javascript/api/requirement-sets/excel/excel-api-requirement-sets) \]'
7+
remarks: >-
8+
\[ [API set: ExcelApi 1.18](/javascript/api/requirement-sets/excel/excel-api-requirement-sets) \]
9+
10+
11+
#### Examples
12+
13+
14+
```TypeScript
15+
16+
// Link to full sample:
17+
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/excel/42-range/range-cell-control.yaml
18+
19+
20+
// Add checkboxes to the table.
21+
22+
await Excel.run(async (context) => {
23+
const sheet = context.workbook.worksheets.getActiveWorksheet();
24+
25+
// Get the second column in the table, without the header.
26+
const range = sheet.tables.getItem("FruitTable").columns.getItem("Analysis").getDataBodyRange();
27+
28+
// Change the boolean values to checkboxes.
29+
range.control = {
30+
type: Excel.CellControlType.checkbox
31+
};
32+
await context.sync();
33+
});
34+
35+
```
836
isPreview: false
937
isDeprecated: false
1038
type: interface

docs/docs-ref-autogen/excel/excel/excel.comment.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ properties:
4848
```TypeScript
4949
5050
// Link to full sample:
51-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/excel/12-comment/comment-basics.yaml
51+
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/excel/12-comments-and-notes/comment-basics.yaml
5252
5353
5454
await Excel.run(async (context) => {
@@ -156,7 +156,7 @@ properties:
156156
```TypeScript
157157
158158
// Link to full sample:
159-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/excel/12-comment/comment-resolution.yaml
159+
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/excel/12-comments-and-notes/comment-resolution.yaml
160160
161161
162162
await Excel.run(async (context) => {
@@ -221,7 +221,7 @@ methods:
221221
```TypeScript
222222
223223
// Link to full sample:
224-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/excel/12-comment/comment-basics.yaml
224+
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/excel/12-comments-and-notes/comment-basics.yaml
225225
226226
227227
await Excel.run(async (context) => {
@@ -329,7 +329,7 @@ methods:
329329
```TypeScript
330330
331331
// Link to full sample:
332-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/excel/12-comment/comment-basics.yaml
332+
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/excel/12-comments-and-notes/comment-basics.yaml
333333
334334
335335
await Excel.run(async (context) => {

docs/docs-ref-autogen/excel/excel/excel.commentcollection.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ methods:
5353
```TypeScript
5454
5555
// Link to full sample:
56-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/excel/12-comment/comment-basics.yaml
56+
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/excel/12-comments-and-notes/comment-basics.yaml
5757
5858
5959
await Excel.run(async (context) => {

docs/docs-ref-autogen/excel/excel/excel.commentreply.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ properties:
4848
```TypeScript
4949
5050
// Link to full sample:
51-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/excel/12-comment/comment-replies.yaml
51+
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/excel/12-comments-and-notes/comment-replies.yaml
5252
5353
5454
await Excel.run(async (context) => {
@@ -194,7 +194,7 @@ methods:
194194
```TypeScript
195195
196196
// Link to full sample:
197-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/excel/12-comment/comment-replies.yaml
197+
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/excel/12-comments-and-notes/comment-replies.yaml
198198
199199
200200
await Excel.run(async (context) => {

docs/docs-ref-autogen/excel/excel/excel.commentreplycollection.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ methods:
5151
```TypeScript
5252
5353
// Link to full sample:
54-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/excel/12-comment/comment-replies.yaml
54+
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/excel/12-comments-and-notes/comment-replies.yaml
5555
5656
5757
await Excel.run(async (context) => {

docs/docs-ref-autogen/excel/excel/excel.commentrichcontent.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ properties:
2626
```TypeScript
2727
2828
// Link to full sample:
29-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/excel/12-comment/comment-mentions.yaml
29+
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/excel/12-comments-and-notes/comment-mentions.yaml
3030
3131
3232
await Excel.run(async (context) => {

docs/docs-ref-autogen/excel/excel/excel.contenttype.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ remarks: >-
1414
```TypeScript
1515
1616
// Link to full sample:
17-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/excel/12-comment/comment-mentions.yaml
17+
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/excel/12-comments-and-notes/comment-mentions.yaml
1818
1919
2020
await Excel.run(async (context) => {

0 commit comments

Comments
 (0)