Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions docs/code-snippets/office-snippets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4428,6 +4428,20 @@ Office.Slice:interface:
}
}
);
Office.SlideRange:interface:
- |-
Office.context.document.getSelectedDataAsync(Office.CoercionType.SlideRange, (asyncResult) => {
if (asyncResult.status === Office.AsyncResultStatus.Succeeded) {
const slideRange: Office.SlideRange = asyncResult.value;
console.log(`Selected ${slideRange.slides.length} slide(s)`);
slideRange.slides.forEach(slide => {
console.log(`Slide ${slide.index}: ${slide.title} (ID: ${slide.id})`);
});
}
else {
console.error(asyncResult.error.message);
}
});
Office.StartupBehavior:enum:
- |-
// Configure your add-in to load and start running when the document is opened.
Expand Down
4 changes: 4 additions & 0 deletions docs/docs-ref-autogen/common/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,10 @@ items:
uid: office!Office.SettingsChangedEventArgs:interface
- name: Slice
uid: office!Office.Slice:interface
- name: Slide
uid: office!Office.Slide:interface
- name: SlideRange
uid: office!Office.SlideRange:interface
- name: Tab
uid: office!Office.Tab:interface
- name: TableBinding
Expand Down
4 changes: 4 additions & 0 deletions docs/docs-ref-autogen/common_preview/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,10 @@ items:
uid: office!Office.SettingsChangedEventArgs:interface
- name: Slice
uid: office!Office.Slice:interface
- name: Slide
uid: office!Office.Slide:interface
- name: SlideRange
uid: office!Office.SlideRange:interface
- name: Tab
uid: office!Office.Tab:interface
- name: TableBinding
Expand Down
4 changes: 3 additions & 1 deletion docs/docs-ref-autogen/excel/excel/excel.range.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3852,7 +3852,9 @@ methods:
destination range, replacing the old information in those cells. The
destination range will be expanded automatically if it is smaller than the
current range. Any cells in the destination range that are outside of the
original range's area are not changed.
original range's area are not changed. Note: When a range is moved to a
new address using this API, the new range object should be retrieved using
the new address.
remarks: >-
\[ [API set: ExcelApi
1.11](/javascript/api/requirement-sets/excel/excel-api-requirement-sets)
Expand Down
4 changes: 4 additions & 0 deletions docs/docs-ref-autogen/excel/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1414,6 +1414,10 @@ items:
uid: office!Office.SettingsChangedEventArgs:interface
- name: Slice
uid: office!Office.Slice:interface
- name: Slide
uid: office!Office.Slide:interface
- name: SlideRange
uid: office!Office.SlideRange:interface
- name: Tab
uid: office!Office.Tab:interface
- name: TableBinding
Expand Down
4 changes: 4 additions & 0 deletions docs/docs-ref-autogen/excel_1_1/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@ items:
uid: office!Office.SettingsChangedEventArgs:interface
- name: Slice
uid: office!Office.Slice:interface
- name: Slide
uid: office!Office.Slide:interface
- name: SlideRange
uid: office!Office.SlideRange:interface
- name: Tab
uid: office!Office.Tab:interface
- name: TableBinding
Expand Down
4 changes: 4 additions & 0 deletions docs/docs-ref-autogen/excel_1_10/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1024,6 +1024,10 @@ items:
uid: office!Office.SettingsChangedEventArgs:interface
- name: Slice
uid: office!Office.Slice:interface
- name: Slide
uid: office!Office.Slide:interface
- name: SlideRange
uid: office!Office.SlideRange:interface
- name: Tab
uid: office!Office.Tab:interface
- name: TableBinding
Expand Down
4 changes: 3 additions & 1 deletion docs/docs-ref-autogen/excel_1_11/excel/excel.range.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2913,7 +2913,9 @@ methods:
destination range, replacing the old information in those cells. The
destination range will be expanded automatically if it is smaller than the
current range. Any cells in the destination range that are outside of the
original range's area are not changed.
original range's area are not changed. Note: When a range is moved to a
new address using this API, the new range object should be retrieved using
the new address.
remarks: >-
\[ [API set: ExcelApi
1.11](/javascript/api/requirement-sets/excel/excel-api-requirement-sets)
Expand Down
4 changes: 4 additions & 0 deletions docs/docs-ref-autogen/excel_1_11/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1036,6 +1036,10 @@ items:
uid: office!Office.SettingsChangedEventArgs:interface
- name: Slice
uid: office!Office.Slice:interface
- name: Slide
uid: office!Office.Slide:interface
- name: SlideRange
uid: office!Office.SlideRange:interface
- name: Tab
uid: office!Office.Tab:interface
- name: TableBinding
Expand Down
4 changes: 3 additions & 1 deletion docs/docs-ref-autogen/excel_1_12/excel/excel.range.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3196,7 +3196,9 @@ methods:
destination range, replacing the old information in those cells. The
destination range will be expanded automatically if it is smaller than the
current range. Any cells in the destination range that are outside of the
original range's area are not changed.
original range's area are not changed. Note: When a range is moved to a
new address using this API, the new range object should be retrieved using
the new address.
remarks: >-
\[ [API set: ExcelApi
1.11](/javascript/api/requirement-sets/excel/excel-api-requirement-sets)
Expand Down
4 changes: 4 additions & 0 deletions docs/docs-ref-autogen/excel_1_12/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1082,6 +1082,10 @@ items:
uid: office!Office.SettingsChangedEventArgs:interface
- name: Slice
uid: office!Office.Slice:interface
- name: Slide
uid: office!Office.Slide:interface
- name: SlideRange
uid: office!Office.SlideRange:interface
- name: Tab
uid: office!Office.Tab:interface
- name: TableBinding
Expand Down
4 changes: 3 additions & 1 deletion docs/docs-ref-autogen/excel_1_13/excel/excel.range.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3501,7 +3501,9 @@ methods:
destination range, replacing the old information in those cells. The
destination range will be expanded automatically if it is smaller than the
current range. Any cells in the destination range that are outside of the
original range's area are not changed.
original range's area are not changed. Note: When a range is moved to a
new address using this API, the new range object should be retrieved using
the new address.
remarks: >-
\[ [API set: ExcelApi
1.11](/javascript/api/requirement-sets/excel/excel-api-requirement-sets)
Expand Down
4 changes: 4 additions & 0 deletions docs/docs-ref-autogen/excel_1_13/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1092,6 +1092,10 @@ items:
uid: office!Office.SettingsChangedEventArgs:interface
- name: Slice
uid: office!Office.Slice:interface
- name: Slide
uid: office!Office.Slide:interface
- name: SlideRange
uid: office!Office.SlideRange:interface
- name: Tab
uid: office!Office.Tab:interface
- name: TableBinding
Expand Down
4 changes: 3 additions & 1 deletion docs/docs-ref-autogen/excel_1_14/excel/excel.range.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3553,7 +3553,9 @@ methods:
destination range, replacing the old information in those cells. The
destination range will be expanded automatically if it is smaller than the
current range. Any cells in the destination range that are outside of the
original range's area are not changed.
original range's area are not changed. Note: When a range is moved to a
new address using this API, the new range object should be retrieved using
the new address.
remarks: >-
\[ [API set: ExcelApi
1.11](/javascript/api/requirement-sets/excel/excel-api-requirement-sets)
Expand Down
4 changes: 4 additions & 0 deletions docs/docs-ref-autogen/excel_1_14/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1110,6 +1110,10 @@ items:
uid: office!Office.SettingsChangedEventArgs:interface
- name: Slice
uid: office!Office.Slice:interface
- name: Slide
uid: office!Office.Slide:interface
- name: SlideRange
uid: office!Office.SlideRange:interface
- name: Tab
uid: office!Office.Tab:interface
- name: TableBinding
Expand Down
4 changes: 3 additions & 1 deletion docs/docs-ref-autogen/excel_1_15/excel/excel.range.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3609,7 +3609,9 @@ methods:
destination range, replacing the old information in those cells. The
destination range will be expanded automatically if it is smaller than the
current range. Any cells in the destination range that are outside of the
original range's area are not changed.
original range's area are not changed. Note: When a range is moved to a
new address using this API, the new range object should be retrieved using
the new address.
remarks: >-
\[ [API set: ExcelApi
1.11](/javascript/api/requirement-sets/excel/excel-api-requirement-sets)
Expand Down
4 changes: 4 additions & 0 deletions docs/docs-ref-autogen/excel_1_15/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1114,6 +1114,10 @@ items:
uid: office!Office.SettingsChangedEventArgs:interface
- name: Slice
uid: office!Office.Slice:interface
- name: Slide
uid: office!Office.Slide:interface
- name: SlideRange
uid: office!Office.SlideRange:interface
- name: Tab
uid: office!Office.Tab:interface
- name: TableBinding
Expand Down
4 changes: 3 additions & 1 deletion docs/docs-ref-autogen/excel_1_16/excel/excel.range.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3687,7 +3687,9 @@ methods:
destination range, replacing the old information in those cells. The
destination range will be expanded automatically if it is smaller than the
current range. Any cells in the destination range that are outside of the
original range's area are not changed.
original range's area are not changed. Note: When a range is moved to a
new address using this API, the new range object should be retrieved using
the new address.
remarks: >-
\[ [API set: ExcelApi
1.11](/javascript/api/requirement-sets/excel/excel-api-requirement-sets)
Expand Down
4 changes: 4 additions & 0 deletions docs/docs-ref-autogen/excel_1_16/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1244,6 +1244,10 @@ items:
uid: office!Office.SettingsChangedEventArgs:interface
- name: Slice
uid: office!Office.Slice:interface
- name: Slide
uid: office!Office.Slide:interface
- name: SlideRange
uid: office!Office.SlideRange:interface
- name: Tab
uid: office!Office.Tab:interface
- name: TableBinding
Expand Down
4 changes: 3 additions & 1 deletion docs/docs-ref-autogen/excel_1_17/excel/excel.range.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3687,7 +3687,9 @@ methods:
destination range, replacing the old information in those cells. The
destination range will be expanded automatically if it is smaller than the
current range. Any cells in the destination range that are outside of the
original range's area are not changed.
original range's area are not changed. Note: When a range is moved to a
new address using this API, the new range object should be retrieved using
the new address.
remarks: >-
\[ [API set: ExcelApi
1.11](/javascript/api/requirement-sets/excel/excel-api-requirement-sets)
Expand Down
4 changes: 4 additions & 0 deletions docs/docs-ref-autogen/excel_1_17/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1250,6 +1250,10 @@ items:
uid: office!Office.SettingsChangedEventArgs:interface
- name: Slice
uid: office!Office.Slice:interface
- name: Slide
uid: office!Office.Slide:interface
- name: SlideRange
uid: office!Office.SlideRange:interface
- name: Tab
uid: office!Office.Tab:interface
- name: TableBinding
Expand Down
4 changes: 3 additions & 1 deletion docs/docs-ref-autogen/excel_1_18/excel/excel.range.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3780,7 +3780,9 @@ methods:
destination range, replacing the old information in those cells. The
destination range will be expanded automatically if it is smaller than the
current range. Any cells in the destination range that are outside of the
original range's area are not changed.
original range's area are not changed. Note: When a range is moved to a
new address using this API, the new range object should be retrieved using
the new address.
remarks: >-
\[ [API set: ExcelApi
1.11](/javascript/api/requirement-sets/excel/excel-api-requirement-sets)
Expand Down
4 changes: 4 additions & 0 deletions docs/docs-ref-autogen/excel_1_18/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1268,6 +1268,10 @@ items:
uid: office!Office.SettingsChangedEventArgs:interface
- name: Slice
uid: office!Office.Slice:interface
- name: Slide
uid: office!Office.Slide:interface
- name: SlideRange
uid: office!Office.SlideRange:interface
- name: Tab
uid: office!Office.Tab:interface
- name: TableBinding
Expand Down
4 changes: 3 additions & 1 deletion docs/docs-ref-autogen/excel_1_19/excel/excel.range.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3813,7 +3813,9 @@ methods:
destination range, replacing the old information in those cells. The
destination range will be expanded automatically if it is smaller than the
current range. Any cells in the destination range that are outside of the
original range's area are not changed.
original range's area are not changed. Note: When a range is moved to a
new address using this API, the new range object should be retrieved using
the new address.
remarks: >-
\[ [API set: ExcelApi
1.11](/javascript/api/requirement-sets/excel/excel-api-requirement-sets)
Expand Down
4 changes: 4 additions & 0 deletions docs/docs-ref-autogen/excel_1_19/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1312,6 +1312,10 @@ items:
uid: office!Office.SettingsChangedEventArgs:interface
- name: Slice
uid: office!Office.Slice:interface
- name: Slide
uid: office!Office.Slide:interface
- name: SlideRange
uid: office!Office.SlideRange:interface
- name: Tab
uid: office!Office.Tab:interface
- name: TableBinding
Expand Down
4 changes: 4 additions & 0 deletions docs/docs-ref-autogen/excel_1_2/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,10 @@ items:
uid: office!Office.SettingsChangedEventArgs:interface
- name: Slice
uid: office!Office.Slice:interface
- name: Slide
uid: office!Office.Slide:interface
- name: SlideRange
uid: office!Office.SlideRange:interface
- name: Tab
uid: office!Office.Tab:interface
- name: TableBinding
Expand Down
4 changes: 3 additions & 1 deletion docs/docs-ref-autogen/excel_1_20/excel/excel.range.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3813,7 +3813,9 @@ methods:
destination range, replacing the old information in those cells. The
destination range will be expanded automatically if it is smaller than the
current range. Any cells in the destination range that are outside of the
original range's area are not changed.
original range's area are not changed. Note: When a range is moved to a
new address using this API, the new range object should be retrieved using
the new address.
remarks: >-
\[ [API set: ExcelApi
1.11](/javascript/api/requirement-sets/excel/excel-api-requirement-sets)
Expand Down
4 changes: 4 additions & 0 deletions docs/docs-ref-autogen/excel_1_20/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1316,6 +1316,10 @@ items:
uid: office!Office.SettingsChangedEventArgs:interface
- name: Slice
uid: office!Office.Slice:interface
- name: Slide
uid: office!Office.Slide:interface
- name: SlideRange
uid: office!Office.SlideRange:interface
- name: Tab
uid: office!Office.Tab:interface
- name: TableBinding
Expand Down
4 changes: 4 additions & 0 deletions docs/docs-ref-autogen/excel_1_3/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,10 @@ items:
uid: office!Office.SettingsChangedEventArgs:interface
- name: Slice
uid: office!Office.Slice:interface
- name: Slide
uid: office!Office.Slide:interface
- name: SlideRange
uid: office!Office.SlideRange:interface
- name: Tab
uid: office!Office.Tab:interface
- name: TableBinding
Expand Down
4 changes: 4 additions & 0 deletions docs/docs-ref-autogen/excel_1_4/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,10 @@ items:
uid: office!Office.SettingsChangedEventArgs:interface
- name: Slice
uid: office!Office.Slice:interface
- name: Slide
uid: office!Office.Slide:interface
- name: SlideRange
uid: office!Office.SlideRange:interface
- name: Tab
uid: office!Office.Tab:interface
- name: TableBinding
Expand Down
4 changes: 4 additions & 0 deletions docs/docs-ref-autogen/excel_1_5/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,10 @@ items:
uid: office!Office.SettingsChangedEventArgs:interface
- name: Slice
uid: office!Office.Slice:interface
- name: Slide
uid: office!Office.Slide:interface
- name: SlideRange
uid: office!Office.SlideRange:interface
- name: Tab
uid: office!Office.Tab:interface
- name: TableBinding
Expand Down
4 changes: 4 additions & 0 deletions docs/docs-ref-autogen/excel_1_6/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,10 @@ items:
uid: office!Office.SettingsChangedEventArgs:interface
- name: Slice
uid: office!Office.Slice:interface
- name: Slide
uid: office!Office.Slide:interface
- name: SlideRange
uid: office!Office.SlideRange:interface
- name: Tab
uid: office!Office.Tab:interface
- name: TableBinding
Expand Down
4 changes: 4 additions & 0 deletions docs/docs-ref-autogen/excel_1_7/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -645,6 +645,10 @@ items:
uid: office!Office.SettingsChangedEventArgs:interface
- name: Slice
uid: office!Office.Slice:interface
- name: Slide
uid: office!Office.Slide:interface
- name: SlideRange
uid: office!Office.SlideRange:interface
- name: Tab
uid: office!Office.Tab:interface
- name: TableBinding
Expand Down
4 changes: 4 additions & 0 deletions docs/docs-ref-autogen/excel_1_8/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -739,6 +739,10 @@ items:
uid: office!Office.SettingsChangedEventArgs:interface
- name: Slice
uid: office!Office.Slice:interface
- name: Slide
uid: office!Office.Slide:interface
- name: SlideRange
uid: office!Office.SlideRange:interface
- name: Tab
uid: office!Office.Tab:interface
- name: TableBinding
Expand Down
4 changes: 4 additions & 0 deletions docs/docs-ref-autogen/excel_1_9/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -980,6 +980,10 @@ items:
uid: office!Office.SettingsChangedEventArgs:interface
- name: Slice
uid: office!Office.Slice:interface
- name: Slide
uid: office!Office.Slide:interface
- name: SlideRange
uid: office!Office.SlideRange:interface
- name: Tab
uid: office!Office.Tab:interface
- name: TableBinding
Expand Down
Loading