Skip to content

Commit 0c36477

Browse files
ElizabethSamuel-MSFTgithub-actions
andauthored
Automatically generated docs (#2436)
Co-authored-by: github-actions <github-actions@github.com>
1 parent 9c5f400 commit 0c36477

File tree

285 files changed

+872
-872
lines changed

Some content is hidden

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

285 files changed

+872
-872
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1409,7 +1409,7 @@ methods:
14091409
await context.sync();
14101410
14111411
// Log the information.
1412-
console.log(`Series ${category.value} - X:${xValues.value},Y:${yValues.value},Bubble:${bubbleSize.value}`);
1412+
console.log(`Series ${category.value} - X: ${xValues.value}, Y: ${yValues.value}, Bubble: ${bubbleSize.value}`);
14131413
});
14141414
14151415
```

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ remarks: >-
3636
await context.sync();
3737
3838
// Log the information.
39-
console.log(`Series ${category.value} - X:${xValues.value},Y:${yValues.value},Bubble:${bubbleSize.value}`);
39+
console.log(`Series ${category.value} - X: ${xValues.value}, Y: ${yValues.value}, Bubble: ${bubbleSize.value}`);
4040
});
4141
4242
```

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ remarks: >-
3636
3737
// Update text format.
3838
cellRange.format.font.underline = Excel.RangeUnderlineStyle.none;
39-
cellRange.format.font.color="#000000";
39+
cellRange.format.font.color = "#000000";
4040
}
4141
4242
await context.sync();

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -422,21 +422,21 @@ events:
422422
423423
async function commentAdded(event: Excel.CommentAddedEventArgs) {
424424
// Retrieve the added comment using the comment ID.
425-
// Note: This function assumes only a single comment is added at a time.
425+
// Note: This function assumes only a single comment is added at a time.
426426
await Excel.run(async (context) => {
427427
const addedComment = context.workbook.comments.getItem(event.commentDetails[0].commentId);
428428
429429
// Load the added comment's data.
430-
addedComment.load(["content","authorName","creationDate"]);
430+
addedComment.load(["content", "authorName", "creationDate"]);
431431
432432
await context.sync();
433433
434434
// Print out the added comment's data.
435435
console.log(`A comment was added:`);
436436
console.log(` ID: ${event.commentDetails[0].commentId}`);
437-
console.log(` Comment content:${addedComment.content}`);
438-
console.log(` Comment author:${addedComment.authorName}`);
439-
console.log(` Creation date:${addedComment.creationDate}`);
437+
console.log(` Comment content: ${addedComment.content}`);
438+
console.log(` Comment author: ${addedComment.authorName}`);
439+
console.log(` Creation date: ${addedComment.creationDate}`);
440440
});
441441
}
442442
@@ -493,12 +493,12 @@ events:
493493
494494
async function commentChanged(event: Excel.CommentChangedEventArgs) {
495495
// Retrieve the changed comment using the comment ID.
496-
// Note: This function assumes only a single comment is changed at a time.
496+
// Note: This function assumes only a single comment is changed at a time.
497497
await Excel.run(async (context) => {
498498
const changedComment = context.workbook.comments.getItem(event.commentDetails[0].commentId);
499499
500500
// Load the changed comment's data.
501-
changedComment.load(["content","authorName","creationDate"]);
501+
changedComment.load(["content", "authorName", "creationDate"]);
502502
503503
await context.sync();
504504
@@ -562,7 +562,7 @@ events:
562562
563563
async function commentDeleted(event: Excel.CommentDeletedEventArgs) {
564564
// Print out the deleted comment's ID.
565-
// Note: This function assumes only a single comment is deleted at a time.
565+
// Note: This function assumes only a single comment is deleted at a time.
566566
await Excel.run(async (context) => {
567567
console.log(`A comment was deleted:`);
568568
console.log(` ID: ${event.commentDetails[0].commentId}`);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ methods:
7171
7272
await context.sync();
7373
74-
console.log(`Successfully set custom document property ${userKey}:${userValue}.`);
74+
console.log(`Successfully set custom document property ${userKey}: ${userValue}.`);
7575
});
7676
7777
```

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ properties:
132132
// Log each custom property to the console.
133133
// Note that your document may have more properties than those you have set using this snippet.
134134
customDocProperties.items.forEach((property) => {
135-
console.log(`${property.key}:${property.value}`);
135+
console.log(`${property.key}: ${property.value}`);
136136
});
137137
});
138138

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1911,7 +1911,7 @@ methods:
19111911
// Use the dependents API to loop through dependents of the active cell.
19121912
for (let i = 0; i < dependents.areas.items.length; i++) {
19131913
// Highlight and print out the address of each dependent cell.
1914-
dependents.areas.items[i].format.fill.color="Orange";
1914+
dependents.areas.items[i].format.fill.color = "Orange";
19151915
console.log(` ${dependents.areas.items[i].address}`);
19161916
}
19171917
await context.sync();
@@ -1963,7 +1963,7 @@ methods:
19631963
// Use the direct dependents API to loop through direct dependents of the active cell.
19641964
for (let i = 0; i < directDependents.areas.items.length; i++) {
19651965
// Highlight and print the address of each dependent cell.
1966-
directDependents.areas.items[i].format.fill.color="Yellow";
1966+
directDependents.areas.items[i].format.fill.color = "Yellow";
19671967
console.log(` ${directDependents.areas.items[i].address}`);
19681968
}
19691969
await context.sync();
@@ -2015,8 +2015,8 @@ methods:
20152015
20162016
// Use the direct precedents API to loop through precedents of the active cell.
20172017
for (let i = 0; i < directPrecedents.areas.items.length; i++) {
2018-
// Highlight and console the address of each precedent cell.
2019-
directPrecedents.areas.items[i].format.fill.color="Yellow";
2018+
// Highlight and print out the address of each direct precedent cell.
2019+
directPrecedents.areas.items[i].format.fill.color = "Yellow";
20202020
console.log(` ${directPrecedents.areas.items[i].address}`);
20212021
}
20222022
await context.sync();
@@ -2717,8 +2717,8 @@ methods:
27172717
27182718
// Use the precedents API to loop through precedents of the active cell.
27192719
for (let i = 0; i < precedents.areas.items.length; i++) {
2720-
// Highlight and console the address of each precedent cell.
2721-
precedents.areas.items[i].format.fill.color="Orange";
2720+
// Highlight and print out the address of each precedent cell.
2721+
precedents.areas.items[i].format.fill.color = "Orange";
27222722
console.log(` ${precedents.areas.items[i].address}`);
27232723
}
27242724
await context.sync();

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ remarks: >-
3636
3737
// Update text format.
3838
cellRange.format.font.underline = Excel.RangeUnderlineStyle.none;
39-
cellRange.format.font.color="#000000";
39+
cellRange.format.font.color = "#000000";
4040
}
4141
4242
await context.sync();

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ properties:
6868
6969
// Use the direct precedents API to loop through precedents of the active cell.
7070
for (let i = 0; i < directPrecedents.areas.items.length; i++) {
71-
// Highlight and console the address of each precedent cell.
72-
directPrecedents.areas.items[i].format.fill.color="Yellow";
71+
// Highlight and print out the address of each direct precedent cell.
72+
directPrecedents.areas.items[i].format.fill.color = "Yellow";
7373
console.log(` ${directPrecedents.areas.items[i].address}`);
7474
}
7575
await context.sync();

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ properties:
154154
// Log each custom property to the console.
155155
// Note that your document may have more properties than those you have set using this snippet.
156156
customWorksheetProperties.items.forEach((property) => {
157-
console.log(`${property.key}:${property.value}`);
157+
console.log(`${property.key}: ${property.value}`);
158158
});
159159
});
160160

0 commit comments

Comments
 (0)