diff --git a/.openpublishing.publish.config.json b/.openpublishing.publish.config.json
index ce0f1a7f5..8191de304 100644
--- a/.openpublishing.publish.config.json
+++ b/.openpublishing.publish.config.json
@@ -48,6 +48,7 @@
"powerpoint-js-1.3",
"powerpoint-js-1.4",
"powerpoint-js-1.5",
+ "powerpoint-js-1.6",
"visio-js-1.1",
"word-js-preview",
"word-js-1.1",
@@ -288,6 +289,10 @@
"ReferenceTOC": "docs/docs-ref-autogen/powerpoint_1_5/toc.yml",
"ConceptualTOCUrl": "/office/dev/add-ins/toc.json"
},
+ {
+ "ReferenceTOC": "docs/docs-ref-autogen/powerpoint_1_6/toc.yml",
+ "ConceptualTOCUrl": "/office/dev/add-ins/toc.json"
+ },
{
"ReferenceTOC": "docs/docs-ref-autogen/visio/toc.yml",
"ConceptualTOCUrl": "/office/dev/add-ins/toc.json"
diff --git a/docs/docfx.json b/docs/docfx.json
index 389e15b6f..40a097aa9 100644
--- a/docs/docfx.json
+++ b/docs/docfx.json
@@ -611,6 +611,18 @@
"src": "docs-ref-autogen/powerpoint_1_5",
"dest": "api"
},
+ {
+ "files": ["**/toc.yml"],
+ "group": "powerpoint-js-1.6",
+ "src": "docs-ref-autogen/powerpoint_1_6",
+ "dest": "api/office-js-docs-reference"
+ },
+ {
+ "files": ["**/*.md", "**/*.yml"],
+ "group": "powerpoint-js-1.6",
+ "src": "docs-ref-autogen/powerpoint_1_6",
+ "dest": "api"
+ },
{
"files": ["**/toc.yml"],
"group": "visio-js-1.1",
@@ -971,6 +983,10 @@
"dest": "powerpoint-js-1.5",
"moniker_range": "powerpoint-js-1.5"
},
+ "powerpoint-js-1.6": {
+ "dest": "powerpoint-js-1.6",
+ "moniker_range": "powerpoint-js-1.6"
+ },
"visio-js-1.1": {
"dest": "visio-js-1.1",
"moniker_range": "visio-js-1.1"
@@ -1126,6 +1142,7 @@
"docs-ref-autogen/powerpoint_1_3/**": "powerpoint",
"docs-ref-autogen/powerpoint_1_4/**": "powerpoint",
"docs-ref-autogen/powerpoint_1_5/**": "powerpoint",
+ "docs-ref-autogen/powerpoint_1_6/**": "powerpoint",
"docs-ref-autogen/visio/**": "visio",
"docs-ref-autogen/word/**": "word",
"docs-ref-autogen/word_1_1/**": "word",
diff --git a/docs/docs-ref-autogen/common/toc.yml b/docs/docs-ref-autogen/common/toc.yml
index d8532932b..aba4b5e61 100644
--- a/docs/docs-ref-autogen/common/toc.yml
+++ b/docs/docs-ref-autogen/common/toc.yml
@@ -806,6 +806,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/common_preview/toc.yml b/docs/docs-ref-autogen/common_preview/toc.yml
index fa01db109..fe0bae65c 100644
--- a/docs/docs-ref-autogen/common_preview/toc.yml
+++ b/docs/docs-ref-autogen/common_preview/toc.yml
@@ -808,6 +808,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/excel/toc.yml b/docs/docs-ref-autogen/excel/toc.yml
index 7302291b8..ad4748ead 100644
--- a/docs/docs-ref-autogen/excel/toc.yml
+++ b/docs/docs-ref-autogen/excel/toc.yml
@@ -1952,6 +1952,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/excel_1_1/toc.yml b/docs/docs-ref-autogen/excel_1_1/toc.yml
index 1fea27fe9..1e67d5e6c 100644
--- a/docs/docs-ref-autogen/excel_1_1/toc.yml
+++ b/docs/docs-ref-autogen/excel_1_1/toc.yml
@@ -948,6 +948,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/excel_1_10/toc.yml b/docs/docs-ref-autogen/excel_1_10/toc.yml
index 4e27fe927..cafdd6d93 100644
--- a/docs/docs-ref-autogen/excel_1_10/toc.yml
+++ b/docs/docs-ref-autogen/excel_1_10/toc.yml
@@ -1632,6 +1632,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/excel_1_11/toc.yml b/docs/docs-ref-autogen/excel_1_11/toc.yml
index 967e0e365..b0169a6df 100644
--- a/docs/docs-ref-autogen/excel_1_11/toc.yml
+++ b/docs/docs-ref-autogen/excel_1_11/toc.yml
@@ -1644,6 +1644,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/excel_1_12/toc.yml b/docs/docs-ref-autogen/excel_1_12/toc.yml
index 4a55b112f..0c9c596f9 100644
--- a/docs/docs-ref-autogen/excel_1_12/toc.yml
+++ b/docs/docs-ref-autogen/excel_1_12/toc.yml
@@ -1690,6 +1690,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/excel_1_13/toc.yml b/docs/docs-ref-autogen/excel_1_13/toc.yml
index a54a5ecee..77712ac27 100644
--- a/docs/docs-ref-autogen/excel_1_13/toc.yml
+++ b/docs/docs-ref-autogen/excel_1_13/toc.yml
@@ -1700,6 +1700,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/excel_1_14/toc.yml b/docs/docs-ref-autogen/excel_1_14/toc.yml
index 78f83b119..a328b7c97 100644
--- a/docs/docs-ref-autogen/excel_1_14/toc.yml
+++ b/docs/docs-ref-autogen/excel_1_14/toc.yml
@@ -1718,6 +1718,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/excel_1_15/toc.yml b/docs/docs-ref-autogen/excel_1_15/toc.yml
index 034d49a49..b39466f66 100644
--- a/docs/docs-ref-autogen/excel_1_15/toc.yml
+++ b/docs/docs-ref-autogen/excel_1_15/toc.yml
@@ -1722,6 +1722,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/excel_1_16/toc.yml b/docs/docs-ref-autogen/excel_1_16/toc.yml
index 0f80cf8dc..2b78ea64c 100644
--- a/docs/docs-ref-autogen/excel_1_16/toc.yml
+++ b/docs/docs-ref-autogen/excel_1_16/toc.yml
@@ -1852,6 +1852,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/excel_1_17/toc.yml b/docs/docs-ref-autogen/excel_1_17/toc.yml
index 044a5efeb..defaae153 100644
--- a/docs/docs-ref-autogen/excel_1_17/toc.yml
+++ b/docs/docs-ref-autogen/excel_1_17/toc.yml
@@ -1858,6 +1858,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/excel_1_2/toc.yml b/docs/docs-ref-autogen/excel_1_2/toc.yml
index cfbc7126c..99c3b0840 100644
--- a/docs/docs-ref-autogen/excel_1_2/toc.yml
+++ b/docs/docs-ref-autogen/excel_1_2/toc.yml
@@ -1045,6 +1045,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/excel_1_3/toc.yml b/docs/docs-ref-autogen/excel_1_3/toc.yml
index 59237f1ee..48b5c51f2 100644
--- a/docs/docs-ref-autogen/excel_1_3/toc.yml
+++ b/docs/docs-ref-autogen/excel_1_3/toc.yml
@@ -1053,6 +1053,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/excel_1_4/toc.yml b/docs/docs-ref-autogen/excel_1_4/toc.yml
index 162687417..3d41798b4 100644
--- a/docs/docs-ref-autogen/excel_1_4/toc.yml
+++ b/docs/docs-ref-autogen/excel_1_4/toc.yml
@@ -1061,6 +1061,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/excel_1_5/toc.yml b/docs/docs-ref-autogen/excel_1_5/toc.yml
index 37e267b73..a557d00a8 100644
--- a/docs/docs-ref-autogen/excel_1_5/toc.yml
+++ b/docs/docs-ref-autogen/excel_1_5/toc.yml
@@ -1069,6 +1069,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/excel_1_6/toc.yml b/docs/docs-ref-autogen/excel_1_6/toc.yml
index 65760a27e..64dff5054 100644
--- a/docs/docs-ref-autogen/excel_1_6/toc.yml
+++ b/docs/docs-ref-autogen/excel_1_6/toc.yml
@@ -1151,6 +1151,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/excel_1_7/toc.yml b/docs/docs-ref-autogen/excel_1_7/toc.yml
index a74c73168..8d5a9a923 100644
--- a/docs/docs-ref-autogen/excel_1_7/toc.yml
+++ b/docs/docs-ref-autogen/excel_1_7/toc.yml
@@ -1253,6 +1253,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/excel_1_8/toc.yml b/docs/docs-ref-autogen/excel_1_8/toc.yml
index c929b3cf4..57c9290ae 100644
--- a/docs/docs-ref-autogen/excel_1_8/toc.yml
+++ b/docs/docs-ref-autogen/excel_1_8/toc.yml
@@ -1347,6 +1347,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/excel_1_9/toc.yml b/docs/docs-ref-autogen/excel_1_9/toc.yml
index 6fccf78ce..ee1521848 100644
--- a/docs/docs-ref-autogen/excel_1_9/toc.yml
+++ b/docs/docs-ref-autogen/excel_1_9/toc.yml
@@ -1588,6 +1588,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/excel_online/toc.yml b/docs/docs-ref-autogen/excel_online/toc.yml
index e8ee37471..565a5875f 100644
--- a/docs/docs-ref-autogen/excel_online/toc.yml
+++ b/docs/docs-ref-autogen/excel_online/toc.yml
@@ -1874,6 +1874,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/onenote/toc.yml b/docs/docs-ref-autogen/onenote/toc.yml
index 4d2f59d6d..f691b38ac 100644
--- a/docs/docs-ref-autogen/onenote/toc.yml
+++ b/docs/docs-ref-autogen/onenote/toc.yml
@@ -910,6 +910,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/outlook/toc.yml b/docs/docs-ref-autogen/outlook/toc.yml
index 2ae329523..98c20fa87 100644
--- a/docs/docs-ref-autogen/outlook/toc.yml
+++ b/docs/docs-ref-autogen/outlook/toc.yml
@@ -1006,6 +1006,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/outlook_1_1/toc.yml b/docs/docs-ref-autogen/outlook_1_1/toc.yml
index 09e9a1e7d..9c62abb72 100644
--- a/docs/docs-ref-autogen/outlook_1_1/toc.yml
+++ b/docs/docs-ref-autogen/outlook_1_1/toc.yml
@@ -876,6 +876,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/outlook_1_10/toc.yml b/docs/docs-ref-autogen/outlook_1_10/toc.yml
index 4c40507cb..a2c053ead 100644
--- a/docs/docs-ref-autogen/outlook_1_10/toc.yml
+++ b/docs/docs-ref-autogen/outlook_1_10/toc.yml
@@ -966,6 +966,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/outlook_1_11/toc.yml b/docs/docs-ref-autogen/outlook_1_11/toc.yml
index 4c393d39d..e77536fd0 100644
--- a/docs/docs-ref-autogen/outlook_1_11/toc.yml
+++ b/docs/docs-ref-autogen/outlook_1_11/toc.yml
@@ -968,6 +968,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/outlook_1_12/toc.yml b/docs/docs-ref-autogen/outlook_1_12/toc.yml
index 427c75b49..2c6f62692 100644
--- a/docs/docs-ref-autogen/outlook_1_12/toc.yml
+++ b/docs/docs-ref-autogen/outlook_1_12/toc.yml
@@ -970,6 +970,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/outlook_1_13/toc.yml b/docs/docs-ref-autogen/outlook_1_13/toc.yml
index 23d076470..abdd70d0a 100644
--- a/docs/docs-ref-autogen/outlook_1_13/toc.yml
+++ b/docs/docs-ref-autogen/outlook_1_13/toc.yml
@@ -982,6 +982,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/outlook_1_14/toc.yml b/docs/docs-ref-autogen/outlook_1_14/toc.yml
index 53a53557e..d58da13e8 100644
--- a/docs/docs-ref-autogen/outlook_1_14/toc.yml
+++ b/docs/docs-ref-autogen/outlook_1_14/toc.yml
@@ -996,6 +996,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/outlook_1_2/toc.yml b/docs/docs-ref-autogen/outlook_1_2/toc.yml
index e7289c8fe..30ab91632 100644
--- a/docs/docs-ref-autogen/outlook_1_2/toc.yml
+++ b/docs/docs-ref-autogen/outlook_1_2/toc.yml
@@ -878,6 +878,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/outlook_1_3/toc.yml b/docs/docs-ref-autogen/outlook_1_3/toc.yml
index 8520f6074..4b10c46ab 100644
--- a/docs/docs-ref-autogen/outlook_1_3/toc.yml
+++ b/docs/docs-ref-autogen/outlook_1_3/toc.yml
@@ -886,6 +886,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/outlook_1_4/toc.yml b/docs/docs-ref-autogen/outlook_1_4/toc.yml
index 8520f6074..4b10c46ab 100644
--- a/docs/docs-ref-autogen/outlook_1_4/toc.yml
+++ b/docs/docs-ref-autogen/outlook_1_4/toc.yml
@@ -886,6 +886,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/outlook_1_5/toc.yml b/docs/docs-ref-autogen/outlook_1_5/toc.yml
index 8520f6074..4b10c46ab 100644
--- a/docs/docs-ref-autogen/outlook_1_5/toc.yml
+++ b/docs/docs-ref-autogen/outlook_1_5/toc.yml
@@ -886,6 +886,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/outlook_1_6/toc.yml b/docs/docs-ref-autogen/outlook_1_6/toc.yml
index 8520f6074..4b10c46ab 100644
--- a/docs/docs-ref-autogen/outlook_1_6/toc.yml
+++ b/docs/docs-ref-autogen/outlook_1_6/toc.yml
@@ -886,6 +886,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/outlook_1_7/toc.yml b/docs/docs-ref-autogen/outlook_1_7/toc.yml
index 6fac0f703..9ce302792 100644
--- a/docs/docs-ref-autogen/outlook_1_7/toc.yml
+++ b/docs/docs-ref-autogen/outlook_1_7/toc.yml
@@ -916,6 +916,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/outlook_1_8/toc.yml b/docs/docs-ref-autogen/outlook_1_8/toc.yml
index 0a4d3bd74..683bde495 100644
--- a/docs/docs-ref-autogen/outlook_1_8/toc.yml
+++ b/docs/docs-ref-autogen/outlook_1_8/toc.yml
@@ -950,6 +950,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/outlook_1_9/toc.yml b/docs/docs-ref-autogen/outlook_1_9/toc.yml
index 0a4d3bd74..683bde495 100644
--- a/docs/docs-ref-autogen/outlook_1_9/toc.yml
+++ b/docs/docs-ref-autogen/outlook_1_9/toc.yml
@@ -950,6 +950,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/overview/overview.md b/docs/docs-ref-autogen/overview/overview.md
index 02ba9b59f..8f2bbe6e0 100644
--- a/docs/docs-ref-autogen/overview/overview.md
+++ b/docs/docs-ref-autogen/overview/overview.md
@@ -3,7 +3,7 @@ ms.topic: landing-page
title: Office JavaScript API reference
description: The Office JavaScript APIs by host and version.
ms.localizationpriority: high
-ms.date: 08/29/2024
+ms.date: 10/07/2024
---
# Office Add-ins JavaScript API reference
@@ -92,6 +92,7 @@ The following is a list of APIs for the [supported Office host applications](/of
PowerPoint APIs
- PowerPointApi Preview
+ - PowerPointApi 1.6
- PowerPointApi 1.5
- PowerPointApi 1.4
- PowerPointApi 1.3
diff --git a/docs/docs-ref-autogen/powerpoint/powerpoint/powerpoint.hyperlink.yml b/docs/docs-ref-autogen/powerpoint/powerpoint/powerpoint.hyperlink.yml
index e36ee05de..ceb22d40f 100644
--- a/docs/docs-ref-autogen/powerpoint/powerpoint/powerpoint.hyperlink.yml
+++ b/docs/docs-ref-autogen/powerpoint/powerpoint/powerpoint.hyperlink.yml
@@ -5,8 +5,7 @@ package: powerpoint!
fullName: PowerPoint.Hyperlink
summary: Represents a single hyperlink.
remarks: >-
- \[ [API set: PowerPointApi BETA (PREVIEW
- ONLY)](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ \[ [API set: PowerPointApi 1.6](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
#### Examples
@@ -15,7 +14,7 @@ remarks: >-
```TypeScript
// Link to full sample:
- https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/preview-apis/manage-hyperlinks.yaml
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/hyperlinks/manage-hyperlinks.yaml
// Gets the hyperlinks found in the first selected slide.
@@ -33,7 +32,7 @@ remarks: >-
});
```
-isPreview: true
+isPreview: false
isDeprecated: false
type: class
properties:
@@ -42,10 +41,8 @@ properties:
package: powerpoint!
fullName: address
summary: Specifies the URL target of the hyperlink.
- remarks: >-
- \[ [API set: PowerPointApi BETA (PREVIEW
- ONLY)](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
- isPreview: true
+ remarks: '\[ [API set: PowerPointApi 1.6](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
isDeprecated: false
syntax:
content: 'address: string;'
@@ -59,7 +56,7 @@ properties:
The request context associated with the object. This connects the add-in's process to the Office host
application's process.
remarks: ''
- isPreview: true
+ isPreview: false
isDeprecated: false
syntax:
content: 'context: RequestContext;'
@@ -70,10 +67,8 @@ properties:
package: powerpoint!
fullName: screenTip
summary: Specifies the string displayed when hovering over the hyperlink.
- remarks: >-
- \[ [API set: PowerPointApi BETA (PREVIEW
- ONLY)](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
- isPreview: true
+ remarks: '\[ [API set: PowerPointApi 1.6](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
isDeprecated: false
syntax:
content: 'screenTip: string;'
@@ -88,7 +83,7 @@ methods:
Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
the properties.
remarks: ''
- isPreview: true
+ isPreview: false
isDeprecated: false
syntax:
content: 'load(options?: PowerPoint.Interfaces.HyperlinkLoadOptions): PowerPoint.Hyperlink;'
@@ -107,7 +102,7 @@ methods:
Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
the properties.
remarks: ''
- isPreview: true
+ isPreview: false
isDeprecated: false
syntax:
content: 'load(propertyNames?: string | string[]): PowerPoint.Hyperlink;'
@@ -126,7 +121,7 @@ methods:
Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
the properties.
remarks: ''
- isPreview: true
+ isPreview: false
isDeprecated: false
syntax:
content: |-
@@ -158,7 +153,7 @@ methods:
plain JavaScript object (typed as `PowerPoint.Interfaces.HyperlinkData`) that contains shallow copies of
any loaded child properties from the original object.
remarks: ''
- isPreview: true
+ isPreview: false
isDeprecated: false
syntax:
content: 'toJSON(): PowerPoint.Interfaces.HyperlinkData;'
diff --git a/docs/docs-ref-autogen/powerpoint/powerpoint/powerpoint.hyperlinkcollection.yml b/docs/docs-ref-autogen/powerpoint/powerpoint/powerpoint.hyperlinkcollection.yml
index 98739d316..41a349334 100644
--- a/docs/docs-ref-autogen/powerpoint/powerpoint/powerpoint.hyperlinkcollection.yml
+++ b/docs/docs-ref-autogen/powerpoint/powerpoint/powerpoint.hyperlinkcollection.yml
@@ -5,8 +5,7 @@ package: powerpoint!
fullName: PowerPoint.HyperlinkCollection
summary: Represents a collection of hyperlinks.
remarks: >-
- \[ [API set: PowerPointApi BETA (PREVIEW
- ONLY)](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ \[ [API set: PowerPointApi 1.6](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
#### Examples
@@ -15,7 +14,7 @@ remarks: >-
```TypeScript
// Link to full sample:
- https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/preview-apis/manage-hyperlinks.yaml
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/hyperlinks/manage-hyperlinks.yaml
// Gets the hyperlinks found in the first selected slide.
@@ -33,7 +32,7 @@ remarks: >-
});
```
-isPreview: true
+isPreview: false
isDeprecated: false
type: class
properties:
@@ -45,7 +44,7 @@ properties:
The request context associated with the object. This connects the add-in's process to the Office host
application's process.
remarks: ''
- isPreview: true
+ isPreview: false
isDeprecated: false
syntax:
content: 'context: RequestContext;'
@@ -57,7 +56,7 @@ properties:
fullName: items
summary: Gets the loaded child items in this collection.
remarks: ''
- isPreview: true
+ isPreview: false
isDeprecated: false
syntax:
content: 'readonly items: PowerPoint.Hyperlink[];'
@@ -69,10 +68,8 @@ methods:
package: powerpoint!
fullName: getCount()
summary: Gets the number of hyperlinks in the collection.
- remarks: >-
- \[ [API set: PowerPointApi BETA (PREVIEW
- ONLY)](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
- isPreview: true
+ remarks: '\[ [API set: PowerPointApi 1.6](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
isDeprecated: false
syntax:
content: 'getCount(): OfficeExtension.ClientResult;'
@@ -84,10 +81,8 @@ methods:
package: powerpoint!
fullName: getItemAt(index)
summary: Gets a hyperlink using its zero-based index in the collection. An error is thrown if the index is out of range.
- remarks: >-
- \[ [API set: PowerPointApi BETA (PREVIEW
- ONLY)](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
- isPreview: true
+ remarks: '\[ [API set: PowerPointApi 1.6](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
isDeprecated: false
syntax:
content: 'getItemAt(index: number): PowerPoint.Hyperlink;'
@@ -106,7 +101,7 @@ methods:
Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
the properties.
remarks: ''
- isPreview: true
+ isPreview: false
isDeprecated: false
syntax:
content: >-
@@ -129,7 +124,7 @@ methods:
Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
the properties.
remarks: ''
- isPreview: true
+ isPreview: false
isDeprecated: false
syntax:
content: 'load(propertyNames?: string | string[]): PowerPoint.HyperlinkCollection;'
@@ -148,7 +143,7 @@ methods:
Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
the properties.
remarks: ''
- isPreview: true
+ isPreview: false
isDeprecated: false
syntax:
content: 'load(propertyNamesAndPaths?: OfficeExtension.LoadOption): PowerPoint.HyperlinkCollection;'
@@ -172,7 +167,7 @@ methods:
returns a plain JavaScript object (typed as `PowerPoint.Interfaces.HyperlinkCollectionData`) that contains
an "items" array with shallow copies of any loaded properties from the collection's items.
remarks: ''
- isPreview: true
+ isPreview: false
isDeprecated: false
syntax:
content: 'toJSON(): PowerPoint.Interfaces.HyperlinkCollectionData;'
diff --git a/docs/docs-ref-autogen/powerpoint/powerpoint/powerpoint.interfaces.hyperlinkcollectionloadoptions.yml b/docs/docs-ref-autogen/powerpoint/powerpoint/powerpoint.interfaces.hyperlinkcollectionloadoptions.yml
index b3d607d30..a06a60ec6 100644
--- a/docs/docs-ref-autogen/powerpoint/powerpoint/powerpoint.interfaces.hyperlinkcollectionloadoptions.yml
+++ b/docs/docs-ref-autogen/powerpoint/powerpoint/powerpoint.interfaces.hyperlinkcollectionloadoptions.yml
@@ -4,10 +4,8 @@ uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionLoadOptions:interface'
package: powerpoint!
fullName: PowerPoint.Interfaces.HyperlinkCollectionLoadOptions
summary: Represents a collection of hyperlinks.
-remarks: >-
- \[ [API set: PowerPointApi BETA (PREVIEW
- ONLY)](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
-isPreview: true
+remarks: '\[ [API set: PowerPointApi 1.6](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+isPreview: false
isDeprecated: false
type: interface
properties:
@@ -19,7 +17,7 @@ properties:
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not
the navigational properties (such as `Range.format.fill.color`).
remarks: ''
- isPreview: true
+ isPreview: false
isDeprecated: false
syntax:
content: '$all?: boolean;'
@@ -30,10 +28,8 @@ properties:
package: powerpoint!
fullName: address
summary: 'For EACH ITEM in the collection: Specifies the URL target of the hyperlink.'
- remarks: >-
- \[ [API set: PowerPointApi BETA (PREVIEW
- ONLY)](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
- isPreview: true
+ remarks: '\[ [API set: PowerPointApi 1.6](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
isDeprecated: false
syntax:
content: 'address?: boolean;'
@@ -44,10 +40,8 @@ properties:
package: powerpoint!
fullName: screenTip
summary: 'For EACH ITEM in the collection: Specifies the string displayed when hovering over the hyperlink.'
- remarks: >-
- \[ [API set: PowerPointApi BETA (PREVIEW
- ONLY)](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
- isPreview: true
+ remarks: '\[ [API set: PowerPointApi 1.6](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
isDeprecated: false
syntax:
content: 'screenTip?: boolean;'
diff --git a/docs/docs-ref-autogen/powerpoint/powerpoint/powerpoint.interfaces.hyperlinkdata.yml b/docs/docs-ref-autogen/powerpoint/powerpoint/powerpoint.interfaces.hyperlinkdata.yml
index bd07b2a00..382f7c780 100644
--- a/docs/docs-ref-autogen/powerpoint/powerpoint/powerpoint.interfaces.hyperlinkdata.yml
+++ b/docs/docs-ref-autogen/powerpoint/powerpoint/powerpoint.interfaces.hyperlinkdata.yml
@@ -14,10 +14,8 @@ properties:
package: powerpoint!
fullName: address
summary: Specifies the URL target of the hyperlink.
- remarks: >-
- \[ [API set: PowerPointApi BETA (PREVIEW
- ONLY)](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
- isPreview: true
+ remarks: '\[ [API set: PowerPointApi 1.6](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
isDeprecated: false
syntax:
content: 'address?: string;'
@@ -28,10 +26,8 @@ properties:
package: powerpoint!
fullName: screenTip
summary: Specifies the string displayed when hovering over the hyperlink.
- remarks: >-
- \[ [API set: PowerPointApi BETA (PREVIEW
- ONLY)](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
- isPreview: true
+ remarks: '\[ [API set: PowerPointApi 1.6](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
isDeprecated: false
syntax:
content: 'screenTip?: string;'
diff --git a/docs/docs-ref-autogen/powerpoint/powerpoint/powerpoint.interfaces.hyperlinkloadoptions.yml b/docs/docs-ref-autogen/powerpoint/powerpoint/powerpoint.interfaces.hyperlinkloadoptions.yml
index eb4617a72..7e75b9cee 100644
--- a/docs/docs-ref-autogen/powerpoint/powerpoint/powerpoint.interfaces.hyperlinkloadoptions.yml
+++ b/docs/docs-ref-autogen/powerpoint/powerpoint/powerpoint.interfaces.hyperlinkloadoptions.yml
@@ -4,10 +4,8 @@ uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkLoadOptions:interface'
package: powerpoint!
fullName: PowerPoint.Interfaces.HyperlinkLoadOptions
summary: Represents a single hyperlink.
-remarks: >-
- \[ [API set: PowerPointApi BETA (PREVIEW
- ONLY)](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
-isPreview: true
+remarks: '\[ [API set: PowerPointApi 1.6](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+isPreview: false
isDeprecated: false
type: interface
properties:
@@ -19,7 +17,7 @@ properties:
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not
the navigational properties (such as `Range.format.fill.color`).
remarks: ''
- isPreview: true
+ isPreview: false
isDeprecated: false
syntax:
content: '$all?: boolean;'
@@ -30,10 +28,8 @@ properties:
package: powerpoint!
fullName: address
summary: Specifies the URL target of the hyperlink.
- remarks: >-
- \[ [API set: PowerPointApi BETA (PREVIEW
- ONLY)](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
- isPreview: true
+ remarks: '\[ [API set: PowerPointApi 1.6](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
isDeprecated: false
syntax:
content: 'address?: boolean;'
@@ -44,10 +40,8 @@ properties:
package: powerpoint!
fullName: screenTip
summary: Specifies the string displayed when hovering over the hyperlink.
- remarks: >-
- \[ [API set: PowerPointApi BETA (PREVIEW
- ONLY)](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
- isPreview: true
+ remarks: '\[ [API set: PowerPointApi 1.6](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
isDeprecated: false
syntax:
content: 'screenTip?: boolean;'
diff --git a/docs/docs-ref-autogen/powerpoint/powerpoint/powerpoint.interfaces.hyperlinkupdatedata.yml b/docs/docs-ref-autogen/powerpoint/powerpoint/powerpoint.interfaces.hyperlinkupdatedata.yml
index 5c7f6201e..75bbc8af8 100644
--- a/docs/docs-ref-autogen/powerpoint/powerpoint/powerpoint.interfaces.hyperlinkupdatedata.yml
+++ b/docs/docs-ref-autogen/powerpoint/powerpoint/powerpoint.interfaces.hyperlinkupdatedata.yml
@@ -14,10 +14,8 @@ properties:
package: powerpoint!
fullName: address
summary: Specifies the URL target of the hyperlink.
- remarks: >-
- \[ [API set: PowerPointApi BETA (PREVIEW
- ONLY)](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
- isPreview: true
+ remarks: '\[ [API set: PowerPointApi 1.6](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
isDeprecated: false
syntax:
content: 'address?: string;'
@@ -28,10 +26,8 @@ properties:
package: powerpoint!
fullName: screenTip
summary: Specifies the string displayed when hovering over the hyperlink.
- remarks: >-
- \[ [API set: PowerPointApi BETA (PREVIEW
- ONLY)](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
- isPreview: true
+ remarks: '\[ [API set: PowerPointApi 1.6](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
isDeprecated: false
syntax:
content: 'screenTip?: string;'
diff --git a/docs/docs-ref-autogen/powerpoint/powerpoint/powerpoint.slide.yml b/docs/docs-ref-autogen/powerpoint/powerpoint/powerpoint.slide.yml
index fd1d4f43d..3d4833f5c 100644
--- a/docs/docs-ref-autogen/powerpoint/powerpoint/powerpoint.slide.yml
+++ b/docs/docs-ref-autogen/powerpoint/powerpoint/powerpoint.slide.yml
@@ -64,10 +64,8 @@ properties:
package: powerpoint!
fullName: hyperlinks
summary: Returns a collection of hyperlinks in the slide.
- remarks: >-
- \[ [API set: PowerPointApi BETA (PREVIEW
- ONLY)](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
- isPreview: true
+ remarks: '\[ [API set: PowerPointApi 1.6](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
isDeprecated: false
syntax:
content: 'readonly hyperlinks: PowerPoint.HyperlinkCollection;'
diff --git a/docs/docs-ref-autogen/powerpoint/toc.yml b/docs/docs-ref-autogen/powerpoint/toc.yml
index 5efd7d438..726d4070b 100644
--- a/docs/docs-ref-autogen/powerpoint/toc.yml
+++ b/docs/docs-ref-autogen/powerpoint/toc.yml
@@ -906,6 +906,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/powerpoint_1_1/powerpoint.yml b/docs/docs-ref-autogen/powerpoint_1_1/powerpoint.yml
index ea9da374f..9bc39337e 100644
--- a/docs/docs-ref-autogen/powerpoint_1_1/powerpoint.yml
+++ b/docs/docs-ref-autogen/powerpoint_1_1/powerpoint.yml
@@ -13,6 +13,10 @@ interfaces:
- 'powerpoint!PowerPoint.Interfaces.BulletFormatData:interface'
- 'powerpoint!PowerPoint.Interfaces.BulletFormatUpdateData:interface'
- 'powerpoint!PowerPoint.Interfaces.CollectionLoadOptions:interface'
+ - 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionUpdateData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.HyperlinkData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.HyperlinkUpdateData:interface'
- 'powerpoint!PowerPoint.Interfaces.ParagraphFormatData:interface'
- 'powerpoint!PowerPoint.Interfaces.ParagraphFormatUpdateData:interface'
- 'powerpoint!PowerPoint.Interfaces.PresentationData:interface'
diff --git a/docs/docs-ref-autogen/powerpoint_1_1/powerpoint/powerpoint.interfaces.hyperlinkcollectiondata.yml b/docs/docs-ref-autogen/powerpoint_1_1/powerpoint/powerpoint.interfaces.hyperlinkcollectiondata.yml
new file mode 100644
index 000000000..d211f02b0
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_1/powerpoint/powerpoint.interfaces.hyperlinkcollectiondata.yml
@@ -0,0 +1,23 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.HyperlinkCollectionData
+uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.HyperlinkCollectionData
+summary: An interface describing the data returned by calling `hyperlinkCollection.toJSON()`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: items
+ uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionData#items:member'
+ package: powerpoint!
+ fullName: items
+ summary: ''
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'items?: PowerPoint.Interfaces.HyperlinkData[];'
+ return:
+ type: '[]'
diff --git a/docs/docs-ref-autogen/powerpoint_1_1/powerpoint/powerpoint.interfaces.hyperlinkcollectionupdatedata.yml b/docs/docs-ref-autogen/powerpoint_1_1/powerpoint/powerpoint.interfaces.hyperlinkcollectionupdatedata.yml
new file mode 100644
index 000000000..0e2bcfce3
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_1/powerpoint/powerpoint.interfaces.hyperlinkcollectionupdatedata.yml
@@ -0,0 +1,25 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.HyperlinkCollectionUpdateData
+uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionUpdateData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.HyperlinkCollectionUpdateData
+summary: >-
+ An interface for updating data on the `HyperlinkCollection` object, for use in `hyperlinkCollection.set({ ... })`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: items
+ uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionUpdateData#items:member'
+ package: powerpoint!
+ fullName: items
+ summary: ''
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'items?: PowerPoint.Interfaces.HyperlinkData[];'
+ return:
+ type: '[]'
diff --git a/docs/docs-ref-autogen/powerpoint_1_1/powerpoint/powerpoint.interfaces.hyperlinkdata.yml b/docs/docs-ref-autogen/powerpoint_1_1/powerpoint/powerpoint.interfaces.hyperlinkdata.yml
new file mode 100644
index 000000000..f0aaa5407
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_1/powerpoint/powerpoint.interfaces.hyperlinkdata.yml
@@ -0,0 +1,10 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.HyperlinkData
+uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.HyperlinkData
+summary: An interface describing the data returned by calling `hyperlink.toJSON()`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
diff --git a/docs/docs-ref-autogen/powerpoint_1_1/powerpoint/powerpoint.interfaces.hyperlinkupdatedata.yml b/docs/docs-ref-autogen/powerpoint_1_1/powerpoint/powerpoint.interfaces.hyperlinkupdatedata.yml
new file mode 100644
index 000000000..e58590f2a
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_1/powerpoint/powerpoint.interfaces.hyperlinkupdatedata.yml
@@ -0,0 +1,10 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.HyperlinkUpdateData
+uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkUpdateData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.HyperlinkUpdateData
+summary: 'An interface for updating data on the `Hyperlink` object, for use in `hyperlink.set({ ... })`.'
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
diff --git a/docs/docs-ref-autogen/powerpoint_1_1/toc.yml b/docs/docs-ref-autogen/powerpoint_1_1/toc.yml
index 474a2a283..93bdc2105 100644
--- a/docs/docs-ref-autogen/powerpoint_1_1/toc.yml
+++ b/docs/docs-ref-autogen/powerpoint_1_1/toc.yml
@@ -818,6 +818,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/powerpoint_1_2/powerpoint.yml b/docs/docs-ref-autogen/powerpoint_1_2/powerpoint.yml
index d9dadb4a3..c96877c53 100644
--- a/docs/docs-ref-autogen/powerpoint_1_2/powerpoint.yml
+++ b/docs/docs-ref-autogen/powerpoint_1_2/powerpoint.yml
@@ -17,6 +17,10 @@ interfaces:
- 'powerpoint!PowerPoint.Interfaces.BulletFormatData:interface'
- 'powerpoint!PowerPoint.Interfaces.BulletFormatUpdateData:interface'
- 'powerpoint!PowerPoint.Interfaces.CollectionLoadOptions:interface'
+ - 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionUpdateData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.HyperlinkData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.HyperlinkUpdateData:interface'
- 'powerpoint!PowerPoint.Interfaces.ParagraphFormatData:interface'
- 'powerpoint!PowerPoint.Interfaces.ParagraphFormatUpdateData:interface'
- 'powerpoint!PowerPoint.Interfaces.PresentationData:interface'
diff --git a/docs/docs-ref-autogen/powerpoint_1_2/powerpoint/powerpoint.interfaces.hyperlinkcollectiondata.yml b/docs/docs-ref-autogen/powerpoint_1_2/powerpoint/powerpoint.interfaces.hyperlinkcollectiondata.yml
new file mode 100644
index 000000000..d211f02b0
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_2/powerpoint/powerpoint.interfaces.hyperlinkcollectiondata.yml
@@ -0,0 +1,23 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.HyperlinkCollectionData
+uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.HyperlinkCollectionData
+summary: An interface describing the data returned by calling `hyperlinkCollection.toJSON()`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: items
+ uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionData#items:member'
+ package: powerpoint!
+ fullName: items
+ summary: ''
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'items?: PowerPoint.Interfaces.HyperlinkData[];'
+ return:
+ type: '[]'
diff --git a/docs/docs-ref-autogen/powerpoint_1_2/powerpoint/powerpoint.interfaces.hyperlinkcollectionupdatedata.yml b/docs/docs-ref-autogen/powerpoint_1_2/powerpoint/powerpoint.interfaces.hyperlinkcollectionupdatedata.yml
new file mode 100644
index 000000000..0e2bcfce3
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_2/powerpoint/powerpoint.interfaces.hyperlinkcollectionupdatedata.yml
@@ -0,0 +1,25 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.HyperlinkCollectionUpdateData
+uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionUpdateData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.HyperlinkCollectionUpdateData
+summary: >-
+ An interface for updating data on the `HyperlinkCollection` object, for use in `hyperlinkCollection.set({ ... })`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: items
+ uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionUpdateData#items:member'
+ package: powerpoint!
+ fullName: items
+ summary: ''
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'items?: PowerPoint.Interfaces.HyperlinkData[];'
+ return:
+ type: '[]'
diff --git a/docs/docs-ref-autogen/powerpoint_1_2/powerpoint/powerpoint.interfaces.hyperlinkdata.yml b/docs/docs-ref-autogen/powerpoint_1_2/powerpoint/powerpoint.interfaces.hyperlinkdata.yml
new file mode 100644
index 000000000..f0aaa5407
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_2/powerpoint/powerpoint.interfaces.hyperlinkdata.yml
@@ -0,0 +1,10 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.HyperlinkData
+uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.HyperlinkData
+summary: An interface describing the data returned by calling `hyperlink.toJSON()`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
diff --git a/docs/docs-ref-autogen/powerpoint_1_2/powerpoint/powerpoint.interfaces.hyperlinkupdatedata.yml b/docs/docs-ref-autogen/powerpoint_1_2/powerpoint/powerpoint.interfaces.hyperlinkupdatedata.yml
new file mode 100644
index 000000000..e58590f2a
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_2/powerpoint/powerpoint.interfaces.hyperlinkupdatedata.yml
@@ -0,0 +1,10 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.HyperlinkUpdateData
+uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkUpdateData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.HyperlinkUpdateData
+summary: 'An interface for updating data on the `Hyperlink` object, for use in `hyperlink.set({ ... })`.'
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
diff --git a/docs/docs-ref-autogen/powerpoint_1_2/toc.yml b/docs/docs-ref-autogen/powerpoint_1_2/toc.yml
index c8732ecb7..3adc7c491 100644
--- a/docs/docs-ref-autogen/powerpoint_1_2/toc.yml
+++ b/docs/docs-ref-autogen/powerpoint_1_2/toc.yml
@@ -826,6 +826,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/powerpoint_1_3/powerpoint.yml b/docs/docs-ref-autogen/powerpoint_1_3/powerpoint.yml
index 371300e3b..f77935f2a 100644
--- a/docs/docs-ref-autogen/powerpoint_1_3/powerpoint.yml
+++ b/docs/docs-ref-autogen/powerpoint_1_3/powerpoint.yml
@@ -9,6 +9,10 @@ interfaces:
- 'powerpoint!PowerPoint.Interfaces.BulletFormatData:interface'
- 'powerpoint!PowerPoint.Interfaces.BulletFormatUpdateData:interface'
- 'powerpoint!PowerPoint.Interfaces.CollectionLoadOptions:interface'
+ - 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionUpdateData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.HyperlinkData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.HyperlinkUpdateData:interface'
- 'powerpoint!PowerPoint.Interfaces.ParagraphFormatData:interface'
- 'powerpoint!PowerPoint.Interfaces.ParagraphFormatUpdateData:interface'
- 'powerpoint!PowerPoint.Interfaces.PresentationData:interface'
diff --git a/docs/docs-ref-autogen/powerpoint_1_3/powerpoint/powerpoint.interfaces.hyperlinkcollectiondata.yml b/docs/docs-ref-autogen/powerpoint_1_3/powerpoint/powerpoint.interfaces.hyperlinkcollectiondata.yml
new file mode 100644
index 000000000..d211f02b0
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_3/powerpoint/powerpoint.interfaces.hyperlinkcollectiondata.yml
@@ -0,0 +1,23 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.HyperlinkCollectionData
+uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.HyperlinkCollectionData
+summary: An interface describing the data returned by calling `hyperlinkCollection.toJSON()`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: items
+ uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionData#items:member'
+ package: powerpoint!
+ fullName: items
+ summary: ''
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'items?: PowerPoint.Interfaces.HyperlinkData[];'
+ return:
+ type: '[]'
diff --git a/docs/docs-ref-autogen/powerpoint_1_3/powerpoint/powerpoint.interfaces.hyperlinkcollectionupdatedata.yml b/docs/docs-ref-autogen/powerpoint_1_3/powerpoint/powerpoint.interfaces.hyperlinkcollectionupdatedata.yml
new file mode 100644
index 000000000..0e2bcfce3
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_3/powerpoint/powerpoint.interfaces.hyperlinkcollectionupdatedata.yml
@@ -0,0 +1,25 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.HyperlinkCollectionUpdateData
+uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionUpdateData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.HyperlinkCollectionUpdateData
+summary: >-
+ An interface for updating data on the `HyperlinkCollection` object, for use in `hyperlinkCollection.set({ ... })`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: items
+ uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionUpdateData#items:member'
+ package: powerpoint!
+ fullName: items
+ summary: ''
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'items?: PowerPoint.Interfaces.HyperlinkData[];'
+ return:
+ type: '[]'
diff --git a/docs/docs-ref-autogen/powerpoint_1_3/powerpoint/powerpoint.interfaces.hyperlinkdata.yml b/docs/docs-ref-autogen/powerpoint_1_3/powerpoint/powerpoint.interfaces.hyperlinkdata.yml
new file mode 100644
index 000000000..f0aaa5407
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_3/powerpoint/powerpoint.interfaces.hyperlinkdata.yml
@@ -0,0 +1,10 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.HyperlinkData
+uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.HyperlinkData
+summary: An interface describing the data returned by calling `hyperlink.toJSON()`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
diff --git a/docs/docs-ref-autogen/powerpoint_1_3/powerpoint/powerpoint.interfaces.hyperlinkupdatedata.yml b/docs/docs-ref-autogen/powerpoint_1_3/powerpoint/powerpoint.interfaces.hyperlinkupdatedata.yml
new file mode 100644
index 000000000..e58590f2a
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_3/powerpoint/powerpoint.interfaces.hyperlinkupdatedata.yml
@@ -0,0 +1,10 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.HyperlinkUpdateData
+uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkUpdateData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.HyperlinkUpdateData
+summary: 'An interface for updating data on the `Hyperlink` object, for use in `hyperlink.set({ ... })`.'
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
diff --git a/docs/docs-ref-autogen/powerpoint_1_3/toc.yml b/docs/docs-ref-autogen/powerpoint_1_3/toc.yml
index 7c401163a..1fd2cd6c3 100644
--- a/docs/docs-ref-autogen/powerpoint_1_3/toc.yml
+++ b/docs/docs-ref-autogen/powerpoint_1_3/toc.yml
@@ -844,6 +844,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/powerpoint_1_4/powerpoint.yml b/docs/docs-ref-autogen/powerpoint_1_4/powerpoint.yml
index b9ee3815f..9d0bf2568 100644
--- a/docs/docs-ref-autogen/powerpoint_1_4/powerpoint.yml
+++ b/docs/docs-ref-autogen/powerpoint_1_4/powerpoint.yml
@@ -10,6 +10,10 @@ interfaces:
- 'powerpoint!PowerPoint.Interfaces.BulletFormatLoadOptions:interface'
- 'powerpoint!PowerPoint.Interfaces.BulletFormatUpdateData:interface'
- 'powerpoint!PowerPoint.Interfaces.CollectionLoadOptions:interface'
+ - 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionUpdateData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.HyperlinkData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.HyperlinkUpdateData:interface'
- 'powerpoint!PowerPoint.Interfaces.ParagraphFormatData:interface'
- 'powerpoint!PowerPoint.Interfaces.ParagraphFormatLoadOptions:interface'
- 'powerpoint!PowerPoint.Interfaces.ParagraphFormatUpdateData:interface'
diff --git a/docs/docs-ref-autogen/powerpoint_1_4/powerpoint/powerpoint.interfaces.hyperlinkcollectiondata.yml b/docs/docs-ref-autogen/powerpoint_1_4/powerpoint/powerpoint.interfaces.hyperlinkcollectiondata.yml
new file mode 100644
index 000000000..d211f02b0
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_4/powerpoint/powerpoint.interfaces.hyperlinkcollectiondata.yml
@@ -0,0 +1,23 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.HyperlinkCollectionData
+uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.HyperlinkCollectionData
+summary: An interface describing the data returned by calling `hyperlinkCollection.toJSON()`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: items
+ uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionData#items:member'
+ package: powerpoint!
+ fullName: items
+ summary: ''
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'items?: PowerPoint.Interfaces.HyperlinkData[];'
+ return:
+ type: '[]'
diff --git a/docs/docs-ref-autogen/powerpoint_1_4/powerpoint/powerpoint.interfaces.hyperlinkcollectionupdatedata.yml b/docs/docs-ref-autogen/powerpoint_1_4/powerpoint/powerpoint.interfaces.hyperlinkcollectionupdatedata.yml
new file mode 100644
index 000000000..0e2bcfce3
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_4/powerpoint/powerpoint.interfaces.hyperlinkcollectionupdatedata.yml
@@ -0,0 +1,25 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.HyperlinkCollectionUpdateData
+uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionUpdateData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.HyperlinkCollectionUpdateData
+summary: >-
+ An interface for updating data on the `HyperlinkCollection` object, for use in `hyperlinkCollection.set({ ... })`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: items
+ uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionUpdateData#items:member'
+ package: powerpoint!
+ fullName: items
+ summary: ''
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'items?: PowerPoint.Interfaces.HyperlinkData[];'
+ return:
+ type: '[]'
diff --git a/docs/docs-ref-autogen/powerpoint_1_4/powerpoint/powerpoint.interfaces.hyperlinkdata.yml b/docs/docs-ref-autogen/powerpoint_1_4/powerpoint/powerpoint.interfaces.hyperlinkdata.yml
new file mode 100644
index 000000000..f0aaa5407
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_4/powerpoint/powerpoint.interfaces.hyperlinkdata.yml
@@ -0,0 +1,10 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.HyperlinkData
+uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.HyperlinkData
+summary: An interface describing the data returned by calling `hyperlink.toJSON()`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
diff --git a/docs/docs-ref-autogen/powerpoint_1_4/powerpoint/powerpoint.interfaces.hyperlinkupdatedata.yml b/docs/docs-ref-autogen/powerpoint_1_4/powerpoint/powerpoint.interfaces.hyperlinkupdatedata.yml
new file mode 100644
index 000000000..e58590f2a
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_4/powerpoint/powerpoint.interfaces.hyperlinkupdatedata.yml
@@ -0,0 +1,10 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.HyperlinkUpdateData
+uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkUpdateData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.HyperlinkUpdateData
+summary: 'An interface for updating data on the `Hyperlink` object, for use in `hyperlink.set({ ... })`.'
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
diff --git a/docs/docs-ref-autogen/powerpoint_1_4/toc.yml b/docs/docs-ref-autogen/powerpoint_1_4/toc.yml
index cb226ed91..b3b1d0805 100644
--- a/docs/docs-ref-autogen/powerpoint_1_4/toc.yml
+++ b/docs/docs-ref-autogen/powerpoint_1_4/toc.yml
@@ -880,6 +880,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/powerpoint_1_5/powerpoint.yml b/docs/docs-ref-autogen/powerpoint_1_5/powerpoint.yml
index 89756ea54..b05edc190 100644
--- a/docs/docs-ref-autogen/powerpoint_1_5/powerpoint.yml
+++ b/docs/docs-ref-autogen/powerpoint_1_5/powerpoint.yml
@@ -10,6 +10,10 @@ interfaces:
- 'powerpoint!PowerPoint.Interfaces.BulletFormatLoadOptions:interface'
- 'powerpoint!PowerPoint.Interfaces.BulletFormatUpdateData:interface'
- 'powerpoint!PowerPoint.Interfaces.CollectionLoadOptions:interface'
+ - 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionUpdateData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.HyperlinkData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.HyperlinkUpdateData:interface'
- 'powerpoint!PowerPoint.Interfaces.ParagraphFormatData:interface'
- 'powerpoint!PowerPoint.Interfaces.ParagraphFormatLoadOptions:interface'
- 'powerpoint!PowerPoint.Interfaces.ParagraphFormatUpdateData:interface'
diff --git a/docs/docs-ref-autogen/powerpoint_1_5/powerpoint/powerpoint.interfaces.hyperlinkcollectiondata.yml b/docs/docs-ref-autogen/powerpoint_1_5/powerpoint/powerpoint.interfaces.hyperlinkcollectiondata.yml
new file mode 100644
index 000000000..d211f02b0
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_5/powerpoint/powerpoint.interfaces.hyperlinkcollectiondata.yml
@@ -0,0 +1,23 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.HyperlinkCollectionData
+uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.HyperlinkCollectionData
+summary: An interface describing the data returned by calling `hyperlinkCollection.toJSON()`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: items
+ uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionData#items:member'
+ package: powerpoint!
+ fullName: items
+ summary: ''
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'items?: PowerPoint.Interfaces.HyperlinkData[];'
+ return:
+ type: '[]'
diff --git a/docs/docs-ref-autogen/powerpoint_1_5/powerpoint/powerpoint.interfaces.hyperlinkcollectionupdatedata.yml b/docs/docs-ref-autogen/powerpoint_1_5/powerpoint/powerpoint.interfaces.hyperlinkcollectionupdatedata.yml
new file mode 100644
index 000000000..0e2bcfce3
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_5/powerpoint/powerpoint.interfaces.hyperlinkcollectionupdatedata.yml
@@ -0,0 +1,25 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.HyperlinkCollectionUpdateData
+uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionUpdateData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.HyperlinkCollectionUpdateData
+summary: >-
+ An interface for updating data on the `HyperlinkCollection` object, for use in `hyperlinkCollection.set({ ... })`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: items
+ uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionUpdateData#items:member'
+ package: powerpoint!
+ fullName: items
+ summary: ''
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'items?: PowerPoint.Interfaces.HyperlinkData[];'
+ return:
+ type: '[]'
diff --git a/docs/docs-ref-autogen/powerpoint_1_5/powerpoint/powerpoint.interfaces.hyperlinkdata.yml b/docs/docs-ref-autogen/powerpoint_1_5/powerpoint/powerpoint.interfaces.hyperlinkdata.yml
new file mode 100644
index 000000000..f0aaa5407
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_5/powerpoint/powerpoint.interfaces.hyperlinkdata.yml
@@ -0,0 +1,10 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.HyperlinkData
+uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.HyperlinkData
+summary: An interface describing the data returned by calling `hyperlink.toJSON()`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
diff --git a/docs/docs-ref-autogen/powerpoint_1_5/powerpoint/powerpoint.interfaces.hyperlinkupdatedata.yml b/docs/docs-ref-autogen/powerpoint_1_5/powerpoint/powerpoint.interfaces.hyperlinkupdatedata.yml
new file mode 100644
index 000000000..e58590f2a
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_5/powerpoint/powerpoint.interfaces.hyperlinkupdatedata.yml
@@ -0,0 +1,10 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.HyperlinkUpdateData
+uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkUpdateData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.HyperlinkUpdateData
+summary: 'An interface for updating data on the `Hyperlink` object, for use in `hyperlink.set({ ... })`.'
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
diff --git a/docs/docs-ref-autogen/powerpoint_1_5/toc.yml b/docs/docs-ref-autogen/powerpoint_1_5/toc.yml
index 2b3d4dba6..4bc1a67b7 100644
--- a/docs/docs-ref-autogen/powerpoint_1_5/toc.yml
+++ b/docs/docs-ref-autogen/powerpoint_1_5/toc.yml
@@ -884,6 +884,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint.yml
new file mode 100644
index 000000000..4b1932b89
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint.yml
@@ -0,0 +1,241 @@
+### YamlMime:TSPackage
+uid: powerpoint!
+name: powerpoint
+type: package
+summary: ''
+interfaces:
+ - 'powerpoint!PowerPoint.AddSlideOptions:interface'
+ - 'powerpoint!PowerPoint.InsertSlideOptions:interface'
+ - 'powerpoint!PowerPoint.Interfaces.BulletFormatData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.BulletFormatLoadOptions:interface'
+ - 'powerpoint!PowerPoint.Interfaces.BulletFormatUpdateData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.CollectionLoadOptions:interface'
+ - 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionLoadOptions:interface'
+ - 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionUpdateData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.HyperlinkData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.HyperlinkLoadOptions:interface'
+ - 'powerpoint!PowerPoint.Interfaces.HyperlinkUpdateData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.ParagraphFormatData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.ParagraphFormatLoadOptions:interface'
+ - 'powerpoint!PowerPoint.Interfaces.ParagraphFormatUpdateData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.PresentationData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.PresentationLoadOptions:interface'
+ - 'powerpoint!PowerPoint.Interfaces.ShapeCollectionData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.ShapeCollectionLoadOptions:interface'
+ - 'powerpoint!PowerPoint.Interfaces.ShapeCollectionUpdateData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.ShapeData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.ShapeFillData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.ShapeFillLoadOptions:interface'
+ - 'powerpoint!PowerPoint.Interfaces.ShapeFillUpdateData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.ShapeFontData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.ShapeFontLoadOptions:interface'
+ - 'powerpoint!PowerPoint.Interfaces.ShapeFontUpdateData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.ShapeLineFormatData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.ShapeLineFormatLoadOptions:interface'
+ - 'powerpoint!PowerPoint.Interfaces.ShapeLineFormatUpdateData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.ShapeLoadOptions:interface'
+ - 'powerpoint!PowerPoint.Interfaces.ShapeScopedCollectionData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.ShapeScopedCollectionLoadOptions:interface'
+ - 'powerpoint!PowerPoint.Interfaces.ShapeScopedCollectionUpdateData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.ShapeUpdateData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.SlideCollectionData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.SlideCollectionLoadOptions:interface'
+ - 'powerpoint!PowerPoint.Interfaces.SlideCollectionUpdateData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.SlideData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.SlideLayoutCollectionData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.SlideLayoutCollectionLoadOptions:interface'
+ - 'powerpoint!PowerPoint.Interfaces.SlideLayoutCollectionUpdateData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.SlideLayoutData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.SlideLayoutLoadOptions:interface'
+ - 'powerpoint!PowerPoint.Interfaces.SlideLoadOptions:interface'
+ - 'powerpoint!PowerPoint.Interfaces.SlideMasterCollectionData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.SlideMasterCollectionLoadOptions:interface'
+ - 'powerpoint!PowerPoint.Interfaces.SlideMasterCollectionUpdateData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.SlideMasterData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.SlideMasterLoadOptions:interface'
+ - 'powerpoint!PowerPoint.Interfaces.SlideScopedCollectionData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.SlideScopedCollectionLoadOptions:interface'
+ - 'powerpoint!PowerPoint.Interfaces.SlideScopedCollectionUpdateData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.TagCollectionData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.TagCollectionLoadOptions:interface'
+ - 'powerpoint!PowerPoint.Interfaces.TagCollectionUpdateData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.TagData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.TagLoadOptions:interface'
+ - 'powerpoint!PowerPoint.Interfaces.TagUpdateData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.TextFrameData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.TextFrameLoadOptions:interface'
+ - 'powerpoint!PowerPoint.Interfaces.TextFrameUpdateData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.TextRangeData:interface'
+ - 'powerpoint!PowerPoint.Interfaces.TextRangeLoadOptions:interface'
+ - 'powerpoint!PowerPoint.Interfaces.TextRangeUpdateData:interface'
+ - 'powerpoint!PowerPoint.ShapeAddOptions:interface'
+classes:
+ - 'powerpoint!PowerPoint.Application:class'
+ - 'powerpoint!PowerPoint.BulletFormat:class'
+ - 'powerpoint!PowerPoint.Hyperlink:class'
+ - 'powerpoint!PowerPoint.HyperlinkCollection:class'
+ - 'powerpoint!PowerPoint.ParagraphFormat:class'
+ - 'powerpoint!PowerPoint.Presentation:class'
+ - 'powerpoint!PowerPoint.RequestContext:class'
+ - 'powerpoint!PowerPoint.Shape:class'
+ - 'powerpoint!PowerPoint.ShapeCollection:class'
+ - 'powerpoint!PowerPoint.ShapeFill:class'
+ - 'powerpoint!PowerPoint.ShapeFont:class'
+ - 'powerpoint!PowerPoint.ShapeLineFormat:class'
+ - 'powerpoint!PowerPoint.ShapeScopedCollection:class'
+ - 'powerpoint!PowerPoint.Slide:class'
+ - 'powerpoint!PowerPoint.SlideCollection:class'
+ - 'powerpoint!PowerPoint.SlideLayout:class'
+ - 'powerpoint!PowerPoint.SlideLayoutCollection:class'
+ - 'powerpoint!PowerPoint.SlideMaster:class'
+ - 'powerpoint!PowerPoint.SlideMasterCollection:class'
+ - 'powerpoint!PowerPoint.SlideScopedCollection:class'
+ - 'powerpoint!PowerPoint.Tag:class'
+ - 'powerpoint!PowerPoint.TagCollection:class'
+ - 'powerpoint!PowerPoint.TextFrame:class'
+ - 'powerpoint!PowerPoint.TextRange:class'
+enums:
+ - 'powerpoint!PowerPoint.ConnectorType:enum'
+ - 'powerpoint!PowerPoint.ErrorCodes:enum'
+ - 'powerpoint!PowerPoint.GeometricShapeType:enum'
+ - 'powerpoint!PowerPoint.InsertSlideFormatting:enum'
+ - 'powerpoint!PowerPoint.ParagraphHorizontalAlignment:enum'
+ - 'powerpoint!PowerPoint.ShapeAutoSize:enum'
+ - 'powerpoint!PowerPoint.ShapeFillType:enum'
+ - 'powerpoint!PowerPoint.ShapeFontUnderlineStyle:enum'
+ - 'powerpoint!PowerPoint.ShapeLineDashStyle:enum'
+ - 'powerpoint!PowerPoint.ShapeLineStyle:enum'
+ - 'powerpoint!PowerPoint.ShapeType:enum'
+ - 'powerpoint!PowerPoint.TextVerticalAlignment:enum'
+functions:
+ - name: PowerPoint.createPresentation(base64File)
+ uid: 'powerpoint!PowerPoint.createPresentation:function(1)'
+ package: powerpoint!
+ summary: >-
+ Creates and opens a new presentation. Optionally, the presentation can be pre-populated with a Base64-encoded
+ .pptx file.
+
+
+ \[ [API set: PowerPointApi 1.1](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'export function createPresentation(base64File?: string): Promise;'
+ parameters:
+ - id: base64File
+ description: Optional. The Base64-encoded .pptx file. The default value is null.
+ type: string
+ return:
+ type: Promise<void>
+ description: |-
+
+
+ #### Examples
+
+ ```TypeScript
+ const myFile = document.getElementById("file");
+ const reader = new FileReader();
+
+ reader.onload = (event) => {
+ // Remove the metadata before the base64-encoded string.
+ const startIndex = reader.result.toString().indexOf("base64,");
+ const copyBase64 = reader.result.toString().substr(startIndex + 7);
+
+ PowerPoint.createPresentation(copyBase64);
+ };
+
+ // Read in the file as a data URL so we can parse the base64-encoded string.
+ reader.readAsDataURL(myFile.files[0]);
+ ```
+ - name: PowerPoint.run(batch)
+ uid: 'powerpoint!PowerPoint.run:function(1)'
+ package: powerpoint!
+ summary: >-
+ Executes a batch script that performs actions on the PowerPoint object model, using a new RequestContext. When the
+ promise is resolved, any tracked objects that were automatically allocated during execution will be released.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: >-
+ export function run(batch: (context: PowerPoint.RequestContext) => OfficeExtension.IPromise):
+ OfficeExtension.IPromise;
+ parameters:
+ - id: batch
+ description: >-
+ A function that takes in a RequestContext and returns a promise (typically, just the result of
+ "context.sync()"). The context parameter facilitates requests to the PowerPoint application. Since the
+ Office add-in and the PowerPoint application run in two different processes, the RequestContext is required
+ to get access to the PowerPoint object model from the add-in.
+ type: >-
+ (context: ) => <T>
+ return:
+ type: '<T>'
+ description: ''
+ - name: 'PowerPoint.run(object, batch)'
+ uid: 'powerpoint!PowerPoint.run:function(2)'
+ package: powerpoint!
+ summary: >-
+ Executes a batch script that performs actions on the PowerPoint object model, using the RequestContext of a
+ previously-created API object. When the promise is resolved, any tracked objects that were automatically allocated
+ during execution will be released.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: >-
+ export function run(object: OfficeExtension.ClientObject, batch: (context: PowerPoint.RequestContext) =>
+ OfficeExtension.IPromise): OfficeExtension.IPromise;
+ parameters:
+ - id: object
+ description: >-
+ A previously-created API object. The batch will use the same RequestContext as the passed-in object, which
+ means that any changes applied to the object will be picked up by "context.sync()".
+ type: ''
+ - id: batch
+ description: >-
+ A function that takes in a RequestContext and returns a promise (typically, just the result of
+ "context.sync()"). The context parameter facilitates requests to the PowerPoint application. Since the
+ Office add-in and the PowerPoint application run in two different processes, the RequestContext is required
+ to get access to the PowerPoint object model from the add-in.
+ type: >-
+ (context: ) => <T>
+ return:
+ type: '<T>'
+ description: ''
+ - name: 'PowerPoint.run(objects, batch)'
+ uid: 'powerpoint!PowerPoint.run:function(3)'
+ package: powerpoint!
+ summary: >-
+ Executes a batch script that performs actions on the PowerPoint object model, using the RequestContext of
+ previously-created API objects.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: >-
+ export function run(objects: OfficeExtension.ClientObject[], batch: (context: PowerPoint.RequestContext) =>
+ OfficeExtension.IPromise): OfficeExtension.IPromise;
+ parameters:
+ - id: objects
+ description: >-
+ An array of previously-created API objects. The array will be validated to make sure that all of the objects
+ share the same context. The batch will use this shared RequestContext, which means that any changes applied
+ to these objects will be picked up by "context.sync()".
+ type: '[]'
+ - id: batch
+ description: >-
+ A function that takes in a RequestContext and returns a promise (typically, just the result of
+ "context.sync()"). The context parameter facilitates requests to the PowerPoint application. Since the
+ Office add-in and the PowerPoint application run in two different processes, the RequestContext is required
+ to get access to the PowerPoint object model from the add-in.
+ type: >-
+ (context: ) => <T>
+ return:
+ type: '<T>'
+ description: ''
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.addslideoptions.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.addslideoptions.yml
new file mode 100644
index 000000000..211ca0005
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.addslideoptions.yml
@@ -0,0 +1,70 @@
+### YamlMime:TSType
+name: PowerPoint.AddSlideOptions
+uid: 'powerpoint!PowerPoint.AddSlideOptions:interface'
+package: powerpoint!
+fullName: PowerPoint.AddSlideOptions
+summary: Represents the available options when adding a new slide.
+remarks: >-
+ \[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/slide-management/add-slides.yaml
+
+
+ const chosenMaster = $("#master-id").val() as string;
+
+ const chosenLayout = $("#layout-id").val() as string;
+
+
+ await PowerPoint.run(async function(context) {
+ // Create a new slide using an existing master slide and layout.
+ const newSlideOptions: PowerPoint.AddSlideOptions = {
+ slideMasterId: chosenMaster, /* An ID from `Presentation.slideMasters`. */
+ layoutId: chosenLayout /* An ID from `SlideMaster.layouts`. */
+ };
+ context.presentation.slides.add(newSlideOptions);
+ await context.sync();
+ });
+
+ ```
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: layoutId
+ uid: 'powerpoint!PowerPoint.AddSlideOptions#layoutId:member'
+ package: powerpoint!
+ fullName: layoutId
+ summary: >-
+ Specifies the ID of a Slide Layout to be used for the new slide. If no `layoutId` is provided, but a
+ `slideMasterId` is provided, then the ID of the first layout from the specified Slide Master will be used. If no
+ `slideMasterId` is provided, but a `layoutId` is provided, then the specified layout needs to be available for the
+ default Slide Master (as specified in the `slideMasterId` description). Otherwise, an error will be thrown.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'layoutId?: string;'
+ return:
+ type: string
+ - name: slideMasterId
+ uid: 'powerpoint!PowerPoint.AddSlideOptions#slideMasterId:member'
+ package: powerpoint!
+ fullName: slideMasterId
+ summary: >-
+ Specifies the ID of a Slide Master to be used for the new slide. If no `slideMasterId` is provided, then the
+ previous slide's Slide Master will be used. If there is no previous slide, then the presentation's first Slide
+ Master will be used.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'slideMasterId?: string;'
+ return:
+ type: string
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.application.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.application.yml
new file mode 100644
index 000000000..64e3174bc
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.application.yml
@@ -0,0 +1,68 @@
+### YamlMime:TSType
+name: PowerPoint.Application
+uid: 'powerpoint!PowerPoint.Application:class'
+package: powerpoint!
+fullName: PowerPoint.Application
+summary: ''
+remarks: '\[ [API set: PowerPointApi 1.0](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+isPreview: false
+isDeprecated: false
+type: class
+properties:
+ - name: context
+ uid: 'powerpoint!PowerPoint.Application#context:member'
+ package: powerpoint!
+ fullName: context
+ summary: >-
+ The request context associated with the object. This connects the add-in's process to the Office host
+ application's process.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'context: RequestContext;'
+ return:
+ type: ''
+methods:
+ - name: newObject(context)
+ uid: 'powerpoint!PowerPoint.Application.newObject:member(1)'
+ package: powerpoint!
+ fullName: newObject(context)
+ summary: Create a new instance of the `PowerPoint.Application` object.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'static newObject(context: OfficeExtension.ClientRequestContext): PowerPoint.Application;'
+ parameters:
+ - id: context
+ description: ''
+ type: ''
+ return:
+ type: ''
+ description: ''
+ - name: toJSON()
+ uid: 'powerpoint!PowerPoint.Application#toJSON:member(1)'
+ package: powerpoint!
+ fullName: toJSON()
+ summary: >-
+ Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to
+ `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is
+ passed to it.) Whereas the original `PowerPoint.Application` object is an API object, the `toJSON` method returns
+ a plain JavaScript object (typed as `PowerPoint.Interfaces.ApplicationData`) that contains shallow copies
+ of any loaded child properties from the original object.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: |-
+ toJSON(): {
+ [key: string]: string;
+ };
+ return:
+ type: |-
+ {
+ [key: string]: string;
+ }
+ description: ''
+extends: ''
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.bulletformat.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.bulletformat.yml
new file mode 100644
index 000000000..9d93763e7
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.bulletformat.yml
@@ -0,0 +1,128 @@
+### YamlMime:TSType
+name: PowerPoint.BulletFormat
+uid: 'powerpoint!PowerPoint.BulletFormat:class'
+package: powerpoint!
+fullName: PowerPoint.BulletFormat
+summary: >-
+ Represents the bullet formatting properties of a text that is attached to the
+ [PowerPoint.ParagraphFormat](xref:powerpoint!PowerPoint.ParagraphFormat:class).
+remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+isPreview: false
+isDeprecated: false
+type: class
+properties:
+ - name: context
+ uid: 'powerpoint!PowerPoint.BulletFormat#context:member'
+ package: powerpoint!
+ fullName: context
+ summary: >-
+ The request context associated with the object. This connects the add-in's process to the Office host
+ application's process.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'context: RequestContext;'
+ return:
+ type: ''
+ - name: visible
+ uid: 'powerpoint!PowerPoint.BulletFormat#visible:member'
+ package: powerpoint!
+ fullName: visible
+ summary: >-
+ Specifies if the bullets in the paragraph are visible. Returns 'null' if the 'TextRange' includes text fragments
+ with different bullet visibility values.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'visible: boolean;'
+ return:
+ type: boolean
+methods:
+ - name: load(options)
+ uid: 'powerpoint!PowerPoint.BulletFormat#load:member(1)'
+ package: powerpoint!
+ fullName: load(options)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(options?: PowerPoint.Interfaces.BulletFormatLoadOptions): PowerPoint.BulletFormat;'
+ parameters:
+ - id: options
+ description: Provides options for which properties of the object to load.
+ type: ''
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNames)
+ uid: 'powerpoint!PowerPoint.BulletFormat#load:member(2)'
+ package: powerpoint!
+ fullName: load(propertyNames)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(propertyNames?: string | string[]): PowerPoint.BulletFormat;'
+ parameters:
+ - id: propertyNames
+ description: A comma-delimited string or an array of strings that specify the properties to load.
+ type: 'string | string[]'
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNamesAndPaths)
+ uid: 'powerpoint!PowerPoint.BulletFormat#load:member(3)'
+ package: powerpoint!
+ fullName: load(propertyNamesAndPaths)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: |-
+ load(propertyNamesAndPaths?: {
+ select?: string;
+ expand?: string;
+ }): PowerPoint.BulletFormat;
+ parameters:
+ - id: propertyNamesAndPaths
+ description: >-
+ `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and
+ `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ type: |-
+ {
+ select?: string;
+ expand?: string;
+ }
+ return:
+ type: ''
+ description: ''
+ - name: toJSON()
+ uid: 'powerpoint!PowerPoint.BulletFormat#toJSON:member(1)'
+ package: powerpoint!
+ fullName: toJSON()
+ summary: >-
+ Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to
+ `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is
+ passed to it.) Whereas the original `PowerPoint.BulletFormat` object is an API object, the `toJSON` method returns
+ a plain JavaScript object (typed as `PowerPoint.Interfaces.BulletFormatData`) that contains shallow copies
+ of any loaded child properties from the original object.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'toJSON(): PowerPoint.Interfaces.BulletFormatData;'
+ return:
+ type: ''
+ description: ''
+extends: ''
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.connectortype.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.connectortype.yml
new file mode 100644
index 000000000..7b30df9b5
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.connectortype.yml
@@ -0,0 +1,70 @@
+### YamlMime:TSEnum
+name: PowerPoint.ConnectorType
+uid: 'powerpoint!PowerPoint.ConnectorType:enum'
+package: powerpoint!
+fullName: PowerPoint.ConnectorType
+summary: Specifies the connector type for line shapes.
+remarks: >-
+ \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/shapes/shapes.yaml
+
+
+ // This function gets the collection of shapes on the first slide,
+
+ // and adds a line to the collection, while specifying its
+
+ // start and end points. Then it names the shape.
+
+ await PowerPoint.run(async (context) => {
+ const shapes: PowerPoint.ShapeCollection = context.presentation.slides.getItemAt(0).shapes;
+
+ // For a line, left and top are the coordinates of the start point,
+ // while height and width are the coordinates of the end point.
+ const line: PowerPoint.Shape = shapes.addLine(PowerPoint.ConnectorType.straight,
+ {
+ left: 400,
+ top: 200,
+ height: 20,
+ width: 150
+ });
+ line.name = "StraightLine";
+
+ await context.sync();
+ });
+
+ ```
+isPreview: false
+isDeprecated: false
+fields:
+ - name: curve
+ uid: 'powerpoint!PowerPoint.ConnectorType.curve:member'
+ package: powerpoint!
+ summary: |-
+ Curve connector type
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Curve"'
+ - name: elbow
+ uid: 'powerpoint!PowerPoint.ConnectorType.elbow:member'
+ package: powerpoint!
+ summary: |-
+ Elbow connector type
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Elbow"'
+ - name: straight
+ uid: 'powerpoint!PowerPoint.ConnectorType.straight:member'
+ package: powerpoint!
+ summary: |-
+ Straight connector type
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Straight"'
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.errorcodes.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.errorcodes.yml
new file mode 100644
index 000000000..8e1f0ec80
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.errorcodes.yml
@@ -0,0 +1,15 @@
+### YamlMime:TSEnum
+name: PowerPoint.ErrorCodes
+uid: 'powerpoint!PowerPoint.ErrorCodes:enum'
+package: powerpoint!
+fullName: PowerPoint.ErrorCodes
+summary: ''
+remarks: ''
+isPreview: false
+isDeprecated: false
+fields:
+ - name: generalException
+ uid: 'powerpoint!PowerPoint.ErrorCodes.generalException:member'
+ package: powerpoint!
+ summary: ''
+ value: '"GeneralException"'
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.geometricshapetype.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.geometricshapetype.yml
new file mode 100644
index 000000000..46f2a3991
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.geometricshapetype.yml
@@ -0,0 +1,1459 @@
+### YamlMime:TSEnum
+name: PowerPoint.GeometricShapeType
+uid: 'powerpoint!PowerPoint.GeometricShapeType:enum'
+package: powerpoint!
+fullName: PowerPoint.GeometricShapeType
+summary: Specifies the shape type for a `GeometricShape` object.
+remarks: >-
+ \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/shapes/shapes.yaml
+
+
+ // This function gets the collection of shapes on the first slide,
+
+ // and adds a hexagon shape to the collection, while specifying its
+
+ // location and size. Then it names the shape.
+
+ await PowerPoint.run(async (context) => {
+ const shapes: PowerPoint.ShapeCollection = context.presentation.slides.getItemAt(0).shapes;
+ const shapeOptions: PowerPoint.ShapeAddOptions = {
+ left: 100,
+ top: 100,
+ height: 150,
+ width: 150
+ };
+ const hexagon: PowerPoint.Shape = shapes.addGeometricShape(PowerPoint.GeometricShapeType.hexagon, shapeOptions);
+ hexagon.name = "Hexagon";
+
+ await context.sync();
+ });
+
+ ```
+isPreview: false
+isDeprecated: false
+fields:
+ - name: accentBorderCallout1
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.accentBorderCallout1:member'
+ package: powerpoint!
+ summary: |-
+ Callout: Line with Border and Accent Bar
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"AccentBorderCallout1"'
+ - name: accentBorderCallout2
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.accentBorderCallout2:member'
+ package: powerpoint!
+ summary: |-
+ Callout: Bent Line with Border and Accent Bar
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"AccentBorderCallout2"'
+ - name: accentBorderCallout3
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.accentBorderCallout3:member'
+ package: powerpoint!
+ summary: |-
+ Callout: Double Bent Line with Border and Accent Bar
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"AccentBorderCallout3"'
+ - name: accentCallout1
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.accentCallout1:member'
+ package: powerpoint!
+ summary: |-
+ Callout: Line with Accent Bar
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"AccentCallout1"'
+ - name: accentCallout2
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.accentCallout2:member'
+ package: powerpoint!
+ summary: |-
+ Callout: Bent Line with Accent Bar
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"AccentCallout2"'
+ - name: accentCallout3
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.accentCallout3:member'
+ package: powerpoint!
+ summary: |-
+ Callout: Double Bent Line with Accent Bar
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"AccentCallout3"'
+ - name: actionButtonBackPrevious
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.actionButtonBackPrevious:member'
+ package: powerpoint!
+ summary: |-
+ Action Button: Go Back or Previous
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"ActionButtonBackPrevious"'
+ - name: actionButtonBeginning
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.actionButtonBeginning:member'
+ package: powerpoint!
+ summary: |-
+ Action Button: Go to Beginning
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"ActionButtonBeginning"'
+ - name: actionButtonBlank
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.actionButtonBlank:member'
+ package: powerpoint!
+ summary: |-
+ Action Button: Blank
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"ActionButtonBlank"'
+ - name: actionButtonDocument
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.actionButtonDocument:member'
+ package: powerpoint!
+ summary: |-
+ Action Button: Document
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"ActionButtonDocument"'
+ - name: actionButtonEnd
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.actionButtonEnd:member'
+ package: powerpoint!
+ summary: |-
+ Action Button: Go to End
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"ActionButtonEnd"'
+ - name: actionButtonForwardNext
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.actionButtonForwardNext:member'
+ package: powerpoint!
+ summary: |-
+ Action Button: Go Forward or Next
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"ActionButtonForwardNext"'
+ - name: actionButtonHelp
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.actionButtonHelp:member'
+ package: powerpoint!
+ summary: |-
+ Action Button: Help
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"ActionButtonHelp"'
+ - name: actionButtonHome
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.actionButtonHome:member'
+ package: powerpoint!
+ summary: |-
+ Action Button: Go Home
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"ActionButtonHome"'
+ - name: actionButtonInformation
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.actionButtonInformation:member'
+ package: powerpoint!
+ summary: |-
+ Action Button: Get Information
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"ActionButtonInformation"'
+ - name: actionButtonMovie
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.actionButtonMovie:member'
+ package: powerpoint!
+ summary: |-
+ Action Button: Video
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"ActionButtonMovie"'
+ - name: actionButtonReturn
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.actionButtonReturn:member'
+ package: powerpoint!
+ summary: |-
+ Action Button: Return
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"ActionButtonReturn"'
+ - name: actionButtonSound
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.actionButtonSound:member'
+ package: powerpoint!
+ summary: |-
+ Action Button: Sound
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"ActionButtonSound"'
+ - name: arc
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.arc:member'
+ package: powerpoint!
+ summary: |-
+ Arc
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Arc"'
+ - name: bentArrow
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.bentArrow:member'
+ package: powerpoint!
+ summary: |-
+ Arrow: Bent
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"BentArrow"'
+ - name: bentUpArrow
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.bentUpArrow:member'
+ package: powerpoint!
+ summary: |-
+ Arrow: Bent-Up
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"BentUpArrow"'
+ - name: bevel
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.bevel:member'
+ package: powerpoint!
+ summary: |-
+ Rectangle: Beveled
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Bevel"'
+ - name: blockArc
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.blockArc:member'
+ package: powerpoint!
+ summary: |-
+ Block Arc
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"BlockArc"'
+ - name: borderCallout1
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.borderCallout1:member'
+ package: powerpoint!
+ summary: |-
+ Callout: Line
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"BorderCallout1"'
+ - name: borderCallout2
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.borderCallout2:member'
+ package: powerpoint!
+ summary: |-
+ Callout: Bent Line
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"BorderCallout2"'
+ - name: borderCallout3
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.borderCallout3:member'
+ package: powerpoint!
+ summary: |-
+ Callout: Double Bent Line
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"BorderCallout3"'
+ - name: bracePair
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.bracePair:member'
+ package: powerpoint!
+ summary: |-
+ Double Brace
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"BracePair"'
+ - name: bracketPair
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.bracketPair:member'
+ package: powerpoint!
+ summary: |-
+ Double Bracket
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"BracketPair"'
+ - name: callout1
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.callout1:member'
+ package: powerpoint!
+ summary: |-
+ Callout: Line with No Border
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Callout1"'
+ - name: callout2
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.callout2:member'
+ package: powerpoint!
+ summary: |-
+ Callout: Bent Line with No Border
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Callout2"'
+ - name: callout3
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.callout3:member'
+ package: powerpoint!
+ summary: |-
+ Callout: Double Bent Line with No Border
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Callout3"'
+ - name: can
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.can:member'
+ package: powerpoint!
+ summary: |-
+ Cylinder
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Can"'
+ - name: chartPlus
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.chartPlus:member'
+ package: powerpoint!
+ summary: |-
+ A Rectangle Divided Vertically and Horizontally into Four Quarters.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"ChartPlus"'
+ - name: chartStar
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.chartStar:member'
+ package: powerpoint!
+ summary: |-
+ A Rectangle Divided into Six Parts Along a Vertical Line and Diagonal Lines.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"ChartStar"'
+ - name: chartX
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.chartX:member'
+ package: powerpoint!
+ summary: |-
+ A Rectangle Divided into Four Parts Along Diagonal Lines.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"ChartX"'
+ - name: chevron
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.chevron:member'
+ package: powerpoint!
+ summary: |-
+ Arrow: Chevron
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Chevron"'
+ - name: chord
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.chord:member'
+ package: powerpoint!
+ summary: |-
+ Chord
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Chord"'
+ - name: circularArrow
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.circularArrow:member'
+ package: powerpoint!
+ summary: |-
+ Arrow: Circular
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"CircularArrow"'
+ - name: cloud
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.cloud:member'
+ package: powerpoint!
+ summary: |-
+ Cloud
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Cloud"'
+ - name: cloudCallout
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.cloudCallout:member'
+ package: powerpoint!
+ summary: |-
+ Thought Bubble: Cloud
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"CloudCallout"'
+ - name: corner
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.corner:member'
+ package: powerpoint!
+ summary: |-
+ L-Shape
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Corner"'
+ - name: cornerTabs
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.cornerTabs:member'
+ package: powerpoint!
+ summary: |-
+ Four Right Triangles that Define a Rectangular Shape
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"CornerTabs"'
+ - name: cube
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.cube:member'
+ package: powerpoint!
+ summary: |-
+ Cube
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Cube"'
+ - name: curvedDownArrow
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.curvedDownArrow:member'
+ package: powerpoint!
+ summary: |-
+ Arrow: Curved Down
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"CurvedDownArrow"'
+ - name: curvedLeftArrow
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.curvedLeftArrow:member'
+ package: powerpoint!
+ summary: |-
+ Arrow: Curved Left
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"CurvedLeftArrow"'
+ - name: curvedRightArrow
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.curvedRightArrow:member'
+ package: powerpoint!
+ summary: |-
+ Arrow: Curved Right
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"CurvedRightArrow"'
+ - name: curvedUpArrow
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.curvedUpArrow:member'
+ package: powerpoint!
+ summary: |-
+ Arrow: Curved Up
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"CurvedUpArrow"'
+ - name: decagon
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.decagon:member'
+ package: powerpoint!
+ summary: |-
+ Decagon
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Decagon"'
+ - name: diagonalStripe
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.diagonalStripe:member'
+ package: powerpoint!
+ summary: |-
+ Diagonal Stripe
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"DiagonalStripe"'
+ - name: diamond
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.diamond:member'
+ package: powerpoint!
+ summary: |-
+ Diamond
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Diamond"'
+ - name: dodecagon
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.dodecagon:member'
+ package: powerpoint!
+ summary: |-
+ Dodecagon
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Dodecagon"'
+ - name: donut
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.donut:member'
+ package: powerpoint!
+ summary: |-
+ Circle: Hollow
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Donut"'
+ - name: doubleWave
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.doubleWave:member'
+ package: powerpoint!
+ summary: |-
+ Double Wave
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"DoubleWave"'
+ - name: downArrow
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.downArrow:member'
+ package: powerpoint!
+ summary: |-
+ Arrow: Down
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"DownArrow"'
+ - name: downArrowCallout
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.downArrowCallout:member'
+ package: powerpoint!
+ summary: |-
+ Callout: Down Arrow
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"DownArrowCallout"'
+ - name: ellipse
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.ellipse:member'
+ package: powerpoint!
+ summary: |-
+ Oval
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Ellipse"'
+ - name: ellipseRibbon
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.ellipseRibbon:member'
+ package: powerpoint!
+ summary: |-
+ Ribbon: Curved and Tilted Down
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"EllipseRibbon"'
+ - name: ellipseRibbon2
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.ellipseRibbon2:member'
+ package: powerpoint!
+ summary: |-
+ Ribbon: Curved and Tilted Up
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"EllipseRibbon2"'
+ - name: flowChartAlternateProcess
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.flowChartAlternateProcess:member'
+ package: powerpoint!
+ summary: |-
+ Flowchart: Alternate Process
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"FlowChartAlternateProcess"'
+ - name: flowChartCollate
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.flowChartCollate:member'
+ package: powerpoint!
+ summary: |-
+ Flowchart: Collate
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"FlowChartCollate"'
+ - name: flowChartConnector
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.flowChartConnector:member'
+ package: powerpoint!
+ summary: |-
+ Flowchart: Connector
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"FlowChartConnector"'
+ - name: flowChartDecision
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.flowChartDecision:member'
+ package: powerpoint!
+ summary: |-
+ Flowchart: Decision
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"FlowChartDecision"'
+ - name: flowChartDelay
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.flowChartDelay:member'
+ package: powerpoint!
+ summary: |-
+ Flowchart: Delay
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"FlowChartDelay"'
+ - name: flowChartDisplay
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.flowChartDisplay:member'
+ package: powerpoint!
+ summary: |-
+ Flowchart: Display
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"FlowChartDisplay"'
+ - name: flowChartDocument
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.flowChartDocument:member'
+ package: powerpoint!
+ summary: |-
+ Flowchart: Document
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"FlowChartDocument"'
+ - name: flowChartExtract
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.flowChartExtract:member'
+ package: powerpoint!
+ summary: |-
+ Flowchart: Extract
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"FlowChartExtract"'
+ - name: flowChartInputOutput
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.flowChartInputOutput:member'
+ package: powerpoint!
+ summary: |-
+ Flowchart: Data
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"FlowChartInputOutput"'
+ - name: flowChartInternalStorage
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.flowChartInternalStorage:member'
+ package: powerpoint!
+ summary: |-
+ Flowchart: Internal Storage
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"FlowChartInternalStorage"'
+ - name: flowChartMagneticDisk
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.flowChartMagneticDisk:member'
+ package: powerpoint!
+ summary: |-
+ Flowchart: Magnetic Disk
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"FlowChartMagneticDisk"'
+ - name: flowChartMagneticDrum
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.flowChartMagneticDrum:member'
+ package: powerpoint!
+ summary: |-
+ Flowchart: Direct Access Storage
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"FlowChartMagneticDrum"'
+ - name: flowChartMagneticTape
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.flowChartMagneticTape:member'
+ package: powerpoint!
+ summary: |-
+ Flowchart: Sequential Access Storage
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"FlowChartMagneticTape"'
+ - name: flowChartManualInput
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.flowChartManualInput:member'
+ package: powerpoint!
+ summary: |-
+ Flowchart: Manual Input
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"FlowChartManualInput"'
+ - name: flowChartManualOperation
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.flowChartManualOperation:member'
+ package: powerpoint!
+ summary: |-
+ Flowchart: Manual Operation
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"FlowChartManualOperation"'
+ - name: flowChartMerge
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.flowChartMerge:member'
+ package: powerpoint!
+ summary: |-
+ Flowchart: Merge
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"FlowChartMerge"'
+ - name: flowChartMultidocument
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.flowChartMultidocument:member'
+ package: powerpoint!
+ summary: |-
+ Flowchart: Multidocument
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"FlowChartMultidocument"'
+ - name: flowChartOfflineStorage
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.flowChartOfflineStorage:member'
+ package: powerpoint!
+ summary: |-
+ FlowChart: Offline Storage
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"FlowChartOfflineStorage"'
+ - name: flowChartOffpageConnector
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.flowChartOffpageConnector:member'
+ package: powerpoint!
+ summary: |-
+ Flowchart: Off-page Connector
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"FlowChartOffpageConnector"'
+ - name: flowChartOnlineStorage
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.flowChartOnlineStorage:member'
+ package: powerpoint!
+ summary: |-
+ Flowchart: Stored Data
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"FlowChartOnlineStorage"'
+ - name: flowChartOr
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.flowChartOr:member'
+ package: powerpoint!
+ summary: |-
+ Flowchart: Or
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"FlowChartOr"'
+ - name: flowChartPredefinedProcess
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.flowChartPredefinedProcess:member'
+ package: powerpoint!
+ summary: |-
+ Flowchart: Predefined Process
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"FlowChartPredefinedProcess"'
+ - name: flowChartPreparation
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.flowChartPreparation:member'
+ package: powerpoint!
+ summary: |-
+ Flowchart: Preparation
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"FlowChartPreparation"'
+ - name: flowChartProcess
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.flowChartProcess:member'
+ package: powerpoint!
+ summary: |-
+ Flowchart: Process
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"FlowChartProcess"'
+ - name: flowChartPunchedCard
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.flowChartPunchedCard:member'
+ package: powerpoint!
+ summary: |-
+ Flowchart: Card
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"FlowChartPunchedCard"'
+ - name: flowChartPunchedTape
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.flowChartPunchedTape:member'
+ package: powerpoint!
+ summary: |-
+ Flowchart: Punched Tape
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"FlowChartPunchedTape"'
+ - name: flowChartSort
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.flowChartSort:member'
+ package: powerpoint!
+ summary: |-
+ Flowchart: Sort
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"FlowChartSort"'
+ - name: flowChartSummingJunction
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.flowChartSummingJunction:member'
+ package: powerpoint!
+ summary: |-
+ Flowchart: Summing Junction
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"FlowChartSummingJunction"'
+ - name: flowChartTerminator
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.flowChartTerminator:member'
+ package: powerpoint!
+ summary: |-
+ Flowchart: Terminator
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"FlowChartTerminator"'
+ - name: foldedCorner
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.foldedCorner:member'
+ package: powerpoint!
+ summary: |-
+ Rectangle: Folded Corner
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"FoldedCorner"'
+ - name: frame
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.frame:member'
+ package: powerpoint!
+ summary: |-
+ Frame
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Frame"'
+ - name: funnel
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.funnel:member'
+ package: powerpoint!
+ summary: |-
+ Funnel
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Funnel"'
+ - name: gear6
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.gear6:member'
+ package: powerpoint!
+ summary: |-
+ Gear: A Gear with Six Teeth
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Gear6"'
+ - name: gear9
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.gear9:member'
+ package: powerpoint!
+ summary: |-
+ Gear: A Gear with Nine Teeth
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Gear9"'
+ - name: halfFrame
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.halfFrame:member'
+ package: powerpoint!
+ summary: |-
+ Half Frame
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"HalfFrame"'
+ - name: heart
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.heart:member'
+ package: powerpoint!
+ summary: |-
+ Heart
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Heart"'
+ - name: heptagon
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.heptagon:member'
+ package: powerpoint!
+ summary: |-
+ Heptagon
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Heptagon"'
+ - name: hexagon
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.hexagon:member'
+ package: powerpoint!
+ summary: |-
+ Hexagon
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Hexagon"'
+ - name: homePlate
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.homePlate:member'
+ package: powerpoint!
+ summary: |-
+ Arrow: Pentagon
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"HomePlate"'
+ - name: horizontalScroll
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.horizontalScroll:member'
+ package: powerpoint!
+ summary: |-
+ Scroll: Horizontal
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"HorizontalScroll"'
+ - name: irregularSeal1
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.irregularSeal1:member'
+ package: powerpoint!
+ summary: |-
+ Explosion: 8 Points
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"IrregularSeal1"'
+ - name: irregularSeal2
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.irregularSeal2:member'
+ package: powerpoint!
+ summary: |-
+ Explosion: 14 Points
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"IrregularSeal2"'
+ - name: leftArrow
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.leftArrow:member'
+ package: powerpoint!
+ summary: |-
+ Arrow: Left
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"LeftArrow"'
+ - name: leftArrowCallout
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.leftArrowCallout:member'
+ package: powerpoint!
+ summary: |-
+ Callout: Left Arrow
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"LeftArrowCallout"'
+ - name: leftBrace
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.leftBrace:member'
+ package: powerpoint!
+ summary: |-
+ Left Brace
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"LeftBrace"'
+ - name: leftBracket
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.leftBracket:member'
+ package: powerpoint!
+ summary: |-
+ Left Bracket
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"LeftBracket"'
+ - name: leftCircularArrow
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.leftCircularArrow:member'
+ package: powerpoint!
+ summary: |-
+ Arrow: Circular with Opposite Arrow Direction
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"LeftCircularArrow"'
+ - name: leftRightArrow
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.leftRightArrow:member'
+ package: powerpoint!
+ summary: |-
+ Arrow: Left-Right
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"LeftRightArrow"'
+ - name: leftRightArrowCallout
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.leftRightArrowCallout:member'
+ package: powerpoint!
+ summary: |-
+ Callout: Left-Right Arrow
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"LeftRightArrowCallout"'
+ - name: leftRightCircularArrow
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.leftRightCircularArrow:member'
+ package: powerpoint!
+ summary: |-
+ Arrow: Circular with Two Arrows in Both Directions
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"LeftRightCircularArrow"'
+ - name: leftRightRibbon
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.leftRightRibbon:member'
+ package: powerpoint!
+ summary: |-
+ Ribbon: Straight with Both Left and Right Arrows
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"LeftRightRibbon"'
+ - name: leftRightUpArrow
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.leftRightUpArrow:member'
+ package: powerpoint!
+ summary: |-
+ Arrow: Left-Right-Up
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"LeftRightUpArrow"'
+ - name: leftUpArrow
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.leftUpArrow:member'
+ package: powerpoint!
+ summary: |-
+ Arrow: Left-Up
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"LeftUpArrow"'
+ - name: lightningBolt
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.lightningBolt:member'
+ package: powerpoint!
+ summary: |-
+ Lightning Bolt
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"LightningBolt"'
+ - name: lineInverse
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.lineInverse:member'
+ package: powerpoint!
+ summary: |-
+ Straight Line from Top-Right Corner to Bottom-Left Corner of the Shape
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"LineInverse"'
+ - name: mathDivide
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.mathDivide:member'
+ package: powerpoint!
+ summary: |-
+ Division Sign
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"MathDivide"'
+ - name: mathEqual
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.mathEqual:member'
+ package: powerpoint!
+ summary: |-
+ Equals
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"MathEqual"'
+ - name: mathMinus
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.mathMinus:member'
+ package: powerpoint!
+ summary: |-
+ Minus Sign
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"MathMinus"'
+ - name: mathMultiply
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.mathMultiply:member'
+ package: powerpoint!
+ summary: |-
+ Multiplication Sign
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"MathMultiply"'
+ - name: mathNotEqual
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.mathNotEqual:member'
+ package: powerpoint!
+ summary: |-
+ Not Equal
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"MathNotEqual"'
+ - name: mathPlus
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.mathPlus:member'
+ package: powerpoint!
+ summary: |-
+ Plus Sign
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"MathPlus"'
+ - name: moon
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.moon:member'
+ package: powerpoint!
+ summary: |-
+ Moon
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Moon"'
+ - name: nonIsoscelesTrapezoid
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.nonIsoscelesTrapezoid:member'
+ package: powerpoint!
+ summary: |-
+ Trapezoid which may have Non-Equal Sides
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"NonIsoscelesTrapezoid"'
+ - name: noSmoking
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.noSmoking:member'
+ package: powerpoint!
+ summary: |-
+ "Not Allowed" Symbol
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"NoSmoking"'
+ - name: notchedRightArrow
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.notchedRightArrow:member'
+ package: powerpoint!
+ summary: |-
+ Arrow: Notched Right
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"NotchedRightArrow"'
+ - name: octagon
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.octagon:member'
+ package: powerpoint!
+ summary: |-
+ Octagon
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Octagon"'
+ - name: parallelogram
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.parallelogram:member'
+ package: powerpoint!
+ summary: |-
+ Parallelogram
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Parallelogram"'
+ - name: pentagon
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.pentagon:member'
+ package: powerpoint!
+ summary: |-
+ Pentagon
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Pentagon"'
+ - name: pie
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.pie:member'
+ package: powerpoint!
+ summary: |-
+ Partial Circle with Adjustable Spanning Area
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Pie"'
+ - name: pieWedge
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.pieWedge:member'
+ package: powerpoint!
+ summary: |-
+ Partial Circle
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"PieWedge"'
+ - name: plaque
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.plaque:member'
+ package: powerpoint!
+ summary: |-
+ Plaque
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Plaque"'
+ - name: plaqueTabs
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.plaqueTabs:member'
+ package: powerpoint!
+ summary: |-
+ Four Quarter Circles that Define a Rectangular Shape.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"PlaqueTabs"'
+ - name: plus
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.plus:member'
+ package: powerpoint!
+ summary: |-
+ Cross
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Plus"'
+ - name: quadArrow
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.quadArrow:member'
+ package: powerpoint!
+ summary: |-
+ Arrow: Quad
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"QuadArrow"'
+ - name: quadArrowCallout
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.quadArrowCallout:member'
+ package: powerpoint!
+ summary: |-
+ Callout: Quad Arrow
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"QuadArrowCallout"'
+ - name: rectangle
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.rectangle:member'
+ package: powerpoint!
+ summary: |-
+ Rectangle
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Rectangle"'
+ - name: ribbon
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.ribbon:member'
+ package: powerpoint!
+ summary: |-
+ Ribbon: Tilted Down
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Ribbon"'
+ - name: ribbon2
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.ribbon2:member'
+ package: powerpoint!
+ summary: |-
+ Ribbon: Tilted Up
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Ribbon2"'
+ - name: rightArrow
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.rightArrow:member'
+ package: powerpoint!
+ summary: |-
+ Arrow: Right
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"RightArrow"'
+ - name: rightArrowCallout
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.rightArrowCallout:member'
+ package: powerpoint!
+ summary: |-
+ Callout: Right Arrow
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"RightArrowCallout"'
+ - name: rightBrace
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.rightBrace:member'
+ package: powerpoint!
+ summary: |-
+ Right Brace
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"RightBrace"'
+ - name: rightBracket
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.rightBracket:member'
+ package: powerpoint!
+ summary: |-
+ Right Bracket
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"RightBracket"'
+ - name: rightTriangle
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.rightTriangle:member'
+ package: powerpoint!
+ summary: |-
+ Right Triangle
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"RightTriangle"'
+ - name: round1Rectangle
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.round1Rectangle:member'
+ package: powerpoint!
+ summary: |-
+ Rectangle: Single Corner Rounded
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Round1Rectangle"'
+ - name: round2DiagonalRectangle
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.round2DiagonalRectangle:member'
+ package: powerpoint!
+ summary: |-
+ Rectangle: Diagonal Corners Rounded
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Round2DiagonalRectangle"'
+ - name: round2SameRectangle
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.round2SameRectangle:member'
+ package: powerpoint!
+ summary: |-
+ Rectangle: Top Corners Rounded
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Round2SameRectangle"'
+ - name: roundRectangle
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.roundRectangle:member'
+ package: powerpoint!
+ summary: |-
+ Rectangle: Rounded Corners
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"RoundRectangle"'
+ - name: smileyFace
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.smileyFace:member'
+ package: powerpoint!
+ summary: |-
+ Smiley Face
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"SmileyFace"'
+ - name: snip1Rectangle
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.snip1Rectangle:member'
+ package: powerpoint!
+ summary: |-
+ Rectangle: Single Corner Snipped
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Snip1Rectangle"'
+ - name: snip2DiagonalRectangle
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.snip2DiagonalRectangle:member'
+ package: powerpoint!
+ summary: |-
+ Rectangle: Diagonal Corners Snipped
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Snip2DiagonalRectangle"'
+ - name: snip2SameRectangle
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.snip2SameRectangle:member'
+ package: powerpoint!
+ summary: |-
+ Rectangle: Top Corners Snipped
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Snip2SameRectangle"'
+ - name: snipRoundRectangle
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.snipRoundRectangle:member'
+ package: powerpoint!
+ summary: |-
+ Rectangle: Top Corners One Rounded and One Snipped
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"SnipRoundRectangle"'
+ - name: squareTabs
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.squareTabs:member'
+ package: powerpoint!
+ summary: |-
+ Four Small Squares that Define a Rectangular Shape.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"SquareTabs"'
+ - name: star10
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.star10:member'
+ package: powerpoint!
+ summary: |-
+ Star: 10 Points
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Star10"'
+ - name: star12
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.star12:member'
+ package: powerpoint!
+ summary: |-
+ Star: 12 Points
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Star12"'
+ - name: star16
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.star16:member'
+ package: powerpoint!
+ summary: |-
+ Star: 16 Points
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Star16"'
+ - name: star24
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.star24:member'
+ package: powerpoint!
+ summary: |-
+ Star: 24 Points
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Star24"'
+ - name: star32
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.star32:member'
+ package: powerpoint!
+ summary: |-
+ Star: 32 Points
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Star32"'
+ - name: star4
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.star4:member'
+ package: powerpoint!
+ summary: |-
+ Star: 4 Points
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Star4"'
+ - name: star5
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.star5:member'
+ package: powerpoint!
+ summary: |-
+ Star: 5 Points
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Star5"'
+ - name: star6
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.star6:member'
+ package: powerpoint!
+ summary: |-
+ Star: 6 Points
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Star6"'
+ - name: star7
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.star7:member'
+ package: powerpoint!
+ summary: |-
+ Star: 7 Points
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Star7"'
+ - name: star8
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.star8:member'
+ package: powerpoint!
+ summary: |-
+ Star: 8 Points
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Star8"'
+ - name: stripedRightArrow
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.stripedRightArrow:member'
+ package: powerpoint!
+ summary: |-
+ Arrow: Striped Right
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"StripedRightArrow"'
+ - name: sun
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.sun:member'
+ package: powerpoint!
+ summary: |-
+ Sun
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Sun"'
+ - name: swooshArrow
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.swooshArrow:member'
+ package: powerpoint!
+ summary: |-
+ Arrow: Curved Right Arrow with Varying Width
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"SwooshArrow"'
+ - name: teardrop
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.teardrop:member'
+ package: powerpoint!
+ summary: |-
+ Teardrop
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Teardrop"'
+ - name: trapezoid
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.trapezoid:member'
+ package: powerpoint!
+ summary: |-
+ Trapezoid
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Trapezoid"'
+ - name: triangle
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.triangle:member'
+ package: powerpoint!
+ summary: |-
+ Isosceles Triangle
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Triangle"'
+ - name: upArrow
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.upArrow:member'
+ package: powerpoint!
+ summary: |-
+ Arrow: Up
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"UpArrow"'
+ - name: upArrowCallout
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.upArrowCallout:member'
+ package: powerpoint!
+ summary: |-
+ Callout: Up Arrow
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"UpArrowCallout"'
+ - name: upDownArrow
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.upDownArrow:member'
+ package: powerpoint!
+ summary: |-
+ Arrow: Up-Down
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"UpDownArrow"'
+ - name: upDownArrowCallout
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.upDownArrowCallout:member'
+ package: powerpoint!
+ summary: |-
+ Callout: Up-Down Arrow
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"UpDownArrowCallout"'
+ - name: uturnArrow
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.uturnArrow:member'
+ package: powerpoint!
+ summary: |-
+ Arrow: U-Turn
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"UturnArrow"'
+ - name: verticalScroll
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.verticalScroll:member'
+ package: powerpoint!
+ summary: |-
+ Scroll: Vertical
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"VerticalScroll"'
+ - name: wave
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.wave:member'
+ package: powerpoint!
+ summary: |-
+ Wave
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Wave"'
+ - name: wedgeEllipseCallout
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.wedgeEllipseCallout:member'
+ package: powerpoint!
+ summary: |-
+ Speech Bubble: Oval
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"WedgeEllipseCallout"'
+ - name: wedgeRectCallout
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.wedgeRectCallout:member'
+ package: powerpoint!
+ summary: |-
+ Speech Bubble: Rectangle
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"WedgeRectCallout"'
+ - name: wedgeRRectCallout
+ uid: 'powerpoint!PowerPoint.GeometricShapeType.wedgeRRectCallout:member'
+ package: powerpoint!
+ summary: |-
+ Speech Bubble: Rectangle with Corners Rounded
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"WedgeRRectCallout"'
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.hyperlink.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.hyperlink.yml
new file mode 100644
index 000000000..ceb22d40f
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.hyperlink.yml
@@ -0,0 +1,163 @@
+### YamlMime:TSType
+name: PowerPoint.Hyperlink
+uid: 'powerpoint!PowerPoint.Hyperlink:class'
+package: powerpoint!
+fullName: PowerPoint.Hyperlink
+summary: Represents a single hyperlink.
+remarks: >-
+ \[ [API set: PowerPointApi 1.6](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/hyperlinks/manage-hyperlinks.yaml
+
+
+ // Gets the hyperlinks found in the first selected slide.
+
+ await PowerPoint.run(async (context) => {
+ const slide: PowerPoint.Slide = context.presentation.getSelectedSlides().getItemAt(0);
+ const hyperlinks: PowerPoint.HyperlinkCollection = slide.hyperlinks.load("address,screenTip");
+ const hyperlinksCount = hyperlinks.getCount();
+ await context.sync();
+
+ console.log(`${hyperlinksCount.value} hyperlinks found in first selected slide:`);
+ for (let link of hyperlinks.items) {
+ console.log(`Address: "${link.address}" (Screen tip: "${link.screenTip}")`);
+ }
+ });
+
+ ```
+isPreview: false
+isDeprecated: false
+type: class
+properties:
+ - name: address
+ uid: 'powerpoint!PowerPoint.Hyperlink#address:member'
+ package: powerpoint!
+ fullName: address
+ summary: Specifies the URL target of the hyperlink.
+ remarks: '\[ [API set: PowerPointApi 1.6](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'address: string;'
+ return:
+ type: string
+ - name: context
+ uid: 'powerpoint!PowerPoint.Hyperlink#context:member'
+ package: powerpoint!
+ fullName: context
+ summary: >-
+ The request context associated with the object. This connects the add-in's process to the Office host
+ application's process.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'context: RequestContext;'
+ return:
+ type: ''
+ - name: screenTip
+ uid: 'powerpoint!PowerPoint.Hyperlink#screenTip:member'
+ package: powerpoint!
+ fullName: screenTip
+ summary: Specifies the string displayed when hovering over the hyperlink.
+ remarks: '\[ [API set: PowerPointApi 1.6](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'screenTip: string;'
+ return:
+ type: string
+methods:
+ - name: load(options)
+ uid: 'powerpoint!PowerPoint.Hyperlink#load:member(1)'
+ package: powerpoint!
+ fullName: load(options)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(options?: PowerPoint.Interfaces.HyperlinkLoadOptions): PowerPoint.Hyperlink;'
+ parameters:
+ - id: options
+ description: Provides options for which properties of the object to load.
+ type: ''
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNames)
+ uid: 'powerpoint!PowerPoint.Hyperlink#load:member(2)'
+ package: powerpoint!
+ fullName: load(propertyNames)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(propertyNames?: string | string[]): PowerPoint.Hyperlink;'
+ parameters:
+ - id: propertyNames
+ description: A comma-delimited string or an array of strings that specify the properties to load.
+ type: 'string | string[]'
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNamesAndPaths)
+ uid: 'powerpoint!PowerPoint.Hyperlink#load:member(3)'
+ package: powerpoint!
+ fullName: load(propertyNamesAndPaths)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: |-
+ load(propertyNamesAndPaths?: {
+ select?: string;
+ expand?: string;
+ }): PowerPoint.Hyperlink;
+ parameters:
+ - id: propertyNamesAndPaths
+ description: >-
+ `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and
+ `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ type: |-
+ {
+ select?: string;
+ expand?: string;
+ }
+ return:
+ type: ''
+ description: ''
+ - name: toJSON()
+ uid: 'powerpoint!PowerPoint.Hyperlink#toJSON:member(1)'
+ package: powerpoint!
+ fullName: toJSON()
+ summary: >-
+ Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to
+ `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is
+ passed to it.) Whereas the original `PowerPoint.Hyperlink` object is an API object, the `toJSON` method returns a
+ plain JavaScript object (typed as `PowerPoint.Interfaces.HyperlinkData`) that contains shallow copies of
+ any loaded child properties from the original object.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'toJSON(): PowerPoint.Interfaces.HyperlinkData;'
+ return:
+ type: ''
+ description: ''
+extends: ''
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.hyperlinkcollection.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.hyperlinkcollection.yml
new file mode 100644
index 000000000..41a349334
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.hyperlinkcollection.yml
@@ -0,0 +1,177 @@
+### YamlMime:TSType
+name: PowerPoint.HyperlinkCollection
+uid: 'powerpoint!PowerPoint.HyperlinkCollection:class'
+package: powerpoint!
+fullName: PowerPoint.HyperlinkCollection
+summary: Represents a collection of hyperlinks.
+remarks: >-
+ \[ [API set: PowerPointApi 1.6](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/hyperlinks/manage-hyperlinks.yaml
+
+
+ // Gets the hyperlinks found in the first selected slide.
+
+ await PowerPoint.run(async (context) => {
+ const slide: PowerPoint.Slide = context.presentation.getSelectedSlides().getItemAt(0);
+ const hyperlinks: PowerPoint.HyperlinkCollection = slide.hyperlinks.load("address,screenTip");
+ const hyperlinksCount = hyperlinks.getCount();
+ await context.sync();
+
+ console.log(`${hyperlinksCount.value} hyperlinks found in first selected slide:`);
+ for (let link of hyperlinks.items) {
+ console.log(`Address: "${link.address}" (Screen tip: "${link.screenTip}")`);
+ }
+ });
+
+ ```
+isPreview: false
+isDeprecated: false
+type: class
+properties:
+ - name: context
+ uid: 'powerpoint!PowerPoint.HyperlinkCollection#context:member'
+ package: powerpoint!
+ fullName: context
+ summary: >-
+ The request context associated with the object. This connects the add-in's process to the Office host
+ application's process.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'context: RequestContext;'
+ return:
+ type: ''
+ - name: items
+ uid: 'powerpoint!PowerPoint.HyperlinkCollection#items:member'
+ package: powerpoint!
+ fullName: items
+ summary: Gets the loaded child items in this collection.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly items: PowerPoint.Hyperlink[];'
+ return:
+ type: '[]'
+methods:
+ - name: getCount()
+ uid: 'powerpoint!PowerPoint.HyperlinkCollection#getCount:member(1)'
+ package: powerpoint!
+ fullName: getCount()
+ summary: Gets the number of hyperlinks in the collection.
+ remarks: '\[ [API set: PowerPointApi 1.6](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getCount(): OfficeExtension.ClientResult;'
+ return:
+ type: '<number>'
+ description: The number of hyperlinks in the collection.
+ - name: getItemAt(index)
+ uid: 'powerpoint!PowerPoint.HyperlinkCollection#getItemAt:member(1)'
+ package: powerpoint!
+ fullName: getItemAt(index)
+ summary: Gets a hyperlink using its zero-based index in the collection. An error is thrown if the index is out of range.
+ remarks: '\[ [API set: PowerPointApi 1.6](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getItemAt(index: number): PowerPoint.Hyperlink;'
+ parameters:
+ - id: index
+ description: The index of the hyperlink in the collection.
+ type: number
+ return:
+ type: ''
+ description: The hyperlink at the given index. An error is thrown if index is out of range.
+ - name: load(options)
+ uid: 'powerpoint!PowerPoint.HyperlinkCollection#load:member(1)'
+ package: powerpoint!
+ fullName: load(options)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: >-
+ load(options?: PowerPoint.Interfaces.HyperlinkCollectionLoadOptions &
+ PowerPoint.Interfaces.CollectionLoadOptions): PowerPoint.HyperlinkCollection;
+ parameters:
+ - id: options
+ description: Provides options for which properties of the object to load.
+ type: >-
+ &
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNames)
+ uid: 'powerpoint!PowerPoint.HyperlinkCollection#load:member(2)'
+ package: powerpoint!
+ fullName: load(propertyNames)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(propertyNames?: string | string[]): PowerPoint.HyperlinkCollection;'
+ parameters:
+ - id: propertyNames
+ description: A comma-delimited string or an array of strings that specify the properties to load.
+ type: 'string | string[]'
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNamesAndPaths)
+ uid: 'powerpoint!PowerPoint.HyperlinkCollection#load:member(3)'
+ package: powerpoint!
+ fullName: load(propertyNamesAndPaths)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(propertyNamesAndPaths?: OfficeExtension.LoadOption): PowerPoint.HyperlinkCollection;'
+ parameters:
+ - id: propertyNamesAndPaths
+ description: >-
+ `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and
+ `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ type: ''
+ return:
+ type: ''
+ description: ''
+ - name: toJSON()
+ uid: 'powerpoint!PowerPoint.HyperlinkCollection#toJSON:member(1)'
+ package: powerpoint!
+ fullName: toJSON()
+ summary: >-
+ Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to
+ `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is
+ passed to it.) Whereas the original `PowerPoint.HyperlinkCollection` object is an API object, the `toJSON` method
+ returns a plain JavaScript object (typed as `PowerPoint.Interfaces.HyperlinkCollectionData`) that contains
+ an "items" array with shallow copies of any loaded properties from the collection's items.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'toJSON(): PowerPoint.Interfaces.HyperlinkCollectionData;'
+ return:
+ type: ''
+ description: ''
+extends: ''
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.insertslideformatting.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.insertslideformatting.yml
new file mode 100644
index 000000000..e19936d98
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.insertslideformatting.yml
@@ -0,0 +1,55 @@
+### YamlMime:TSEnum
+name: PowerPoint.InsertSlideFormatting
+uid: 'powerpoint!PowerPoint.InsertSlideFormatting:enum'
+package: powerpoint!
+fullName: PowerPoint.InsertSlideFormatting
+summary: Specifies the formatting options for when slides are inserted.
+remarks: >-
+ \[ [API set: PowerPointApi 1.2](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/slide-management/insert-slides.yaml
+
+
+ await PowerPoint.run(async function(context) {
+ // Get the ID of the first selected slide.
+ const presentation: PowerPoint.Presentation = context.presentation;
+ const selected: PowerPoint.Slide = presentation.getSelectedSlides().getItemAt(0);
+ selected.load("id");
+ await context.sync();
+
+ // Insert the other presentation after the selected slide.
+ const insertOptions: PowerPoint.InsertSlideOptions = {
+ formatting: PowerPoint.InsertSlideFormatting.useDestinationTheme,
+ targetSlideId: selected.id
+ };
+ presentation.insertSlidesFromBase64(chosenFileBase64, insertOptions);
+ await context.sync();
+ });
+
+ ```
+isPreview: false
+isDeprecated: false
+fields:
+ - name: keepSourceFormatting
+ uid: 'powerpoint!PowerPoint.InsertSlideFormatting.keepSourceFormatting:member'
+ package: powerpoint!
+ summary: |-
+ Copy the source theme into the target presentation and use that theme.
+
+ * \[ [API set: PowerPointApi 1.2](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"KeepSourceFormatting"'
+ - name: useDestinationTheme
+ uid: 'powerpoint!PowerPoint.InsertSlideFormatting.useDestinationTheme:member'
+ package: powerpoint!
+ summary: |-
+ Use the existing theme in the target presentation.
+
+ * \[ [API set: PowerPointApi 1.2](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"UseDestinationTheme"'
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.insertslideoptions.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.insertslideoptions.yml
new file mode 100644
index 000000000..ea50dfea4
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.insertslideoptions.yml
@@ -0,0 +1,87 @@
+### YamlMime:TSType
+name: PowerPoint.InsertSlideOptions
+uid: 'powerpoint!PowerPoint.InsertSlideOptions:interface'
+package: powerpoint!
+fullName: PowerPoint.InsertSlideOptions
+summary: Represents the available options when inserting slides.
+remarks: >-
+ \[ [API set: PowerPointApi 1.2](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/slide-management/insert-slides.yaml
+
+
+ await PowerPoint.run(async function(context) {
+ // Get the ID of the first selected slide.
+ const presentation: PowerPoint.Presentation = context.presentation;
+ const selected: PowerPoint.Slide = presentation.getSelectedSlides().getItemAt(0);
+ selected.load("id");
+ await context.sync();
+
+ // Insert the other presentation after the selected slide.
+ const insertOptions: PowerPoint.InsertSlideOptions = {
+ formatting: PowerPoint.InsertSlideFormatting.useDestinationTheme,
+ targetSlideId: selected.id
+ };
+ presentation.insertSlidesFromBase64(chosenFileBase64, insertOptions);
+ await context.sync();
+ });
+
+ ```
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: formatting
+ uid: 'powerpoint!PowerPoint.InsertSlideOptions#formatting:member'
+ package: powerpoint!
+ fullName: formatting
+ summary: Specifies which formatting to use during slide insertion. The default option is to use "KeepSourceFormatting".
+ remarks: '\[ [API set: PowerPointApi 1.2](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'formatting?: PowerPoint.InsertSlideFormatting | "KeepSourceFormatting" | "UseDestinationTheme";'
+ return:
+ type: >-
+ | "KeepSourceFormatting" |
+ "UseDestinationTheme"
+ - name: sourceSlideIds
+ uid: 'powerpoint!PowerPoint.InsertSlideOptions#sourceSlideIds:member'
+ package: powerpoint!
+ fullName: sourceSlideIds
+ summary: >-
+ Specifies the slides from the source presentation that will be inserted into the current presentation. These
+ slides are represented by their IDs which can be retrieved from a `Slide` object. The order of these slides is
+ preserved during the insertion. If any of the source slides are not found, or if the IDs are invalid, the
+ operation throws a `SlideNotFound` exception and no slides will be inserted. All of the source slides will be
+ inserted when `sourceSlideIds` is not provided (this is the default behavior).
+ remarks: '\[ [API set: PowerPointApi 1.2](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'sourceSlideIds?: string[];'
+ return:
+ type: 'string[]'
+ - name: targetSlideId
+ uid: 'powerpoint!PowerPoint.InsertSlideOptions#targetSlideId:member'
+ package: powerpoint!
+ fullName: targetSlideId
+ summary: >-
+ Specifies where in the presentation the new slides will be inserted. The new slides will be inserted after the
+ slide with the given slide ID. If `targetSlideId` is not provided, the slides will be inserted at the beginning of
+ the presentation. If `targetSlideId` is invalid or if it is pointing to a non-existing slide, the operation throws
+ a `SlideNotFound` exception and no slides will be inserted.
+ remarks: '\[ [API set: PowerPointApi 1.2](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'targetSlideId?: string;'
+ return:
+ type: string
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.bulletformatdata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.bulletformatdata.yml
new file mode 100644
index 000000000..9312d2853
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.bulletformatdata.yml
@@ -0,0 +1,25 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.BulletFormatData
+uid: 'powerpoint!PowerPoint.Interfaces.BulletFormatData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.BulletFormatData
+summary: An interface describing the data returned by calling `bulletFormat.toJSON()`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: visible
+ uid: 'powerpoint!PowerPoint.Interfaces.BulletFormatData#visible:member'
+ package: powerpoint!
+ fullName: visible
+ summary: >-
+ Specifies if the bullets in the paragraph are visible. Returns 'null' if the 'TextRange' includes text fragments
+ with different bullet visibility values.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'visible?: boolean;'
+ return:
+ type: boolean
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.bulletformatloadoptions.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.bulletformatloadoptions.yml
new file mode 100644
index 000000000..32dcc683b
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.bulletformatloadoptions.yml
@@ -0,0 +1,41 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.BulletFormatLoadOptions
+uid: 'powerpoint!PowerPoint.Interfaces.BulletFormatLoadOptions:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.BulletFormatLoadOptions
+summary: >-
+ Represents the bullet formatting properties of a text that is attached to the
+ [PowerPoint.ParagraphFormat](xref:powerpoint!PowerPoint.ParagraphFormat:class).
+remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: $all
+ uid: 'powerpoint!PowerPoint.Interfaces.BulletFormatLoadOptions#$all:member'
+ package: powerpoint!
+ fullName: $all
+ summary: >-
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not
+ the navigational properties (such as `Range.format.fill.color`).
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: '$all?: boolean;'
+ return:
+ type: boolean
+ - name: visible
+ uid: 'powerpoint!PowerPoint.Interfaces.BulletFormatLoadOptions#visible:member'
+ package: powerpoint!
+ fullName: visible
+ summary: >-
+ Specifies if the bullets in the paragraph are visible. Returns 'null' if the 'TextRange' includes text fragments
+ with different bullet visibility values.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'visible?: boolean;'
+ return:
+ type: boolean
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.bulletformatupdatedata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.bulletformatupdatedata.yml
new file mode 100644
index 000000000..e4887cc92
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.bulletformatupdatedata.yml
@@ -0,0 +1,25 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.BulletFormatUpdateData
+uid: 'powerpoint!PowerPoint.Interfaces.BulletFormatUpdateData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.BulletFormatUpdateData
+summary: 'An interface for updating data on the `BulletFormat` object, for use in `bulletFormat.set({ ... })`.'
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: visible
+ uid: 'powerpoint!PowerPoint.Interfaces.BulletFormatUpdateData#visible:member'
+ package: powerpoint!
+ fullName: visible
+ summary: >-
+ Specifies if the bullets in the paragraph are visible. Returns 'null' if the 'TextRange' includes text fragments
+ with different bullet visibility values.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'visible?: boolean;'
+ return:
+ type: boolean
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.collectionloadoptions.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.collectionloadoptions.yml
new file mode 100644
index 000000000..626c23093
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.collectionloadoptions.yml
@@ -0,0 +1,37 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.CollectionLoadOptions
+uid: 'powerpoint!PowerPoint.Interfaces.CollectionLoadOptions:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.CollectionLoadOptions
+summary: Provides ways to load properties of only a subset of members of a collection.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: $skip
+ uid: 'powerpoint!PowerPoint.Interfaces.CollectionLoadOptions#$skip:member'
+ package: powerpoint!
+ fullName: $skip
+ summary: >-
+ Specify the number of items in the collection that are to be skipped and not included in the result. If top is
+ specified, the selection of result will start after skipping the specified number of items.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: '$skip?: number;'
+ return:
+ type: number
+ - name: $top
+ uid: 'powerpoint!PowerPoint.Interfaces.CollectionLoadOptions#$top:member'
+ package: powerpoint!
+ fullName: $top
+ summary: Specify the number of items in the queried collection to be included in the result.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: '$top?: number;'
+ return:
+ type: number
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.hyperlinkcollectiondata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.hyperlinkcollectiondata.yml
new file mode 100644
index 000000000..d211f02b0
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.hyperlinkcollectiondata.yml
@@ -0,0 +1,23 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.HyperlinkCollectionData
+uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.HyperlinkCollectionData
+summary: An interface describing the data returned by calling `hyperlinkCollection.toJSON()`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: items
+ uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionData#items:member'
+ package: powerpoint!
+ fullName: items
+ summary: ''
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'items?: PowerPoint.Interfaces.HyperlinkData[];'
+ return:
+ type: '[]'
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.hyperlinkcollectionloadoptions.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.hyperlinkcollectionloadoptions.yml
new file mode 100644
index 000000000..a06a60ec6
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.hyperlinkcollectionloadoptions.yml
@@ -0,0 +1,49 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.HyperlinkCollectionLoadOptions
+uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionLoadOptions:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.HyperlinkCollectionLoadOptions
+summary: Represents a collection of hyperlinks.
+remarks: '\[ [API set: PowerPointApi 1.6](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: $all
+ uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionLoadOptions#$all:member'
+ package: powerpoint!
+ fullName: $all
+ summary: >-
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not
+ the navigational properties (such as `Range.format.fill.color`).
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: '$all?: boolean;'
+ return:
+ type: boolean
+ - name: address
+ uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionLoadOptions#address:member'
+ package: powerpoint!
+ fullName: address
+ summary: 'For EACH ITEM in the collection: Specifies the URL target of the hyperlink.'
+ remarks: '\[ [API set: PowerPointApi 1.6](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'address?: boolean;'
+ return:
+ type: boolean
+ - name: screenTip
+ uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionLoadOptions#screenTip:member'
+ package: powerpoint!
+ fullName: screenTip
+ summary: 'For EACH ITEM in the collection: Specifies the string displayed when hovering over the hyperlink.'
+ remarks: '\[ [API set: PowerPointApi 1.6](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'screenTip?: boolean;'
+ return:
+ type: boolean
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.hyperlinkcollectionupdatedata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.hyperlinkcollectionupdatedata.yml
new file mode 100644
index 000000000..0e2bcfce3
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.hyperlinkcollectionupdatedata.yml
@@ -0,0 +1,25 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.HyperlinkCollectionUpdateData
+uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionUpdateData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.HyperlinkCollectionUpdateData
+summary: >-
+ An interface for updating data on the `HyperlinkCollection` object, for use in `hyperlinkCollection.set({ ... })`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: items
+ uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkCollectionUpdateData#items:member'
+ package: powerpoint!
+ fullName: items
+ summary: ''
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'items?: PowerPoint.Interfaces.HyperlinkData[];'
+ return:
+ type: '[]'
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.hyperlinkdata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.hyperlinkdata.yml
new file mode 100644
index 000000000..382f7c780
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.hyperlinkdata.yml
@@ -0,0 +1,35 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.HyperlinkData
+uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.HyperlinkData
+summary: An interface describing the data returned by calling `hyperlink.toJSON()`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: address
+ uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkData#address:member'
+ package: powerpoint!
+ fullName: address
+ summary: Specifies the URL target of the hyperlink.
+ remarks: '\[ [API set: PowerPointApi 1.6](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'address?: string;'
+ return:
+ type: string
+ - name: screenTip
+ uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkData#screenTip:member'
+ package: powerpoint!
+ fullName: screenTip
+ summary: Specifies the string displayed when hovering over the hyperlink.
+ remarks: '\[ [API set: PowerPointApi 1.6](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'screenTip?: string;'
+ return:
+ type: string
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.hyperlinkloadoptions.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.hyperlinkloadoptions.yml
new file mode 100644
index 000000000..7e75b9cee
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.hyperlinkloadoptions.yml
@@ -0,0 +1,49 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.HyperlinkLoadOptions
+uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkLoadOptions:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.HyperlinkLoadOptions
+summary: Represents a single hyperlink.
+remarks: '\[ [API set: PowerPointApi 1.6](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: $all
+ uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkLoadOptions#$all:member'
+ package: powerpoint!
+ fullName: $all
+ summary: >-
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not
+ the navigational properties (such as `Range.format.fill.color`).
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: '$all?: boolean;'
+ return:
+ type: boolean
+ - name: address
+ uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkLoadOptions#address:member'
+ package: powerpoint!
+ fullName: address
+ summary: Specifies the URL target of the hyperlink.
+ remarks: '\[ [API set: PowerPointApi 1.6](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'address?: boolean;'
+ return:
+ type: boolean
+ - name: screenTip
+ uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkLoadOptions#screenTip:member'
+ package: powerpoint!
+ fullName: screenTip
+ summary: Specifies the string displayed when hovering over the hyperlink.
+ remarks: '\[ [API set: PowerPointApi 1.6](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'screenTip?: boolean;'
+ return:
+ type: boolean
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.hyperlinkupdatedata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.hyperlinkupdatedata.yml
new file mode 100644
index 000000000..75bbc8af8
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.hyperlinkupdatedata.yml
@@ -0,0 +1,35 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.HyperlinkUpdateData
+uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkUpdateData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.HyperlinkUpdateData
+summary: 'An interface for updating data on the `Hyperlink` object, for use in `hyperlink.set({ ... })`.'
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: address
+ uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkUpdateData#address:member'
+ package: powerpoint!
+ fullName: address
+ summary: Specifies the URL target of the hyperlink.
+ remarks: '\[ [API set: PowerPointApi 1.6](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'address?: string;'
+ return:
+ type: string
+ - name: screenTip
+ uid: 'powerpoint!PowerPoint.Interfaces.HyperlinkUpdateData#screenTip:member'
+ package: powerpoint!
+ fullName: screenTip
+ summary: Specifies the string displayed when hovering over the hyperlink.
+ remarks: '\[ [API set: PowerPointApi 1.6](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'screenTip?: string;'
+ return:
+ type: string
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.paragraphformatdata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.paragraphformatdata.yml
new file mode 100644
index 000000000..1c125385b
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.paragraphformatdata.yml
@@ -0,0 +1,31 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.ParagraphFormatData
+uid: 'powerpoint!PowerPoint.Interfaces.ParagraphFormatData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.ParagraphFormatData
+summary: An interface describing the data returned by calling `paragraphFormat.toJSON()`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: horizontalAlignment
+ uid: 'powerpoint!PowerPoint.Interfaces.ParagraphFormatData#horizontalAlignment:member'
+ package: powerpoint!
+ fullName: horizontalAlignment
+ summary: >-
+ Represents the horizontal alignment of the paragraph. Returns 'null' if the 'TextRange' includes text fragments
+ with different horizontal alignment values. See
+ [PowerPoint.ParagraphHorizontalAlignment](xref:powerpoint!PowerPoint.ParagraphHorizontalAlignment:enum) for
+ details.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: >-
+ horizontalAlignment?: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" |
+ "JustifyLow" | "Distributed" | "ThaiDistributed";
+ return:
+ type: >-
+ | "Left" | "Center" | "Right" |
+ "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed"
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.paragraphformatloadoptions.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.paragraphformatloadoptions.yml
new file mode 100644
index 000000000..4ea70f633
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.paragraphformatloadoptions.yml
@@ -0,0 +1,57 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.ParagraphFormatLoadOptions
+uid: 'powerpoint!PowerPoint.Interfaces.ParagraphFormatLoadOptions:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.ParagraphFormatLoadOptions
+summary: >-
+ Represents the paragraph formatting properties of a text that is attached to the
+ [PowerPoint.TextRange](xref:powerpoint!PowerPoint.TextRange:class).
+remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: $all
+ uid: 'powerpoint!PowerPoint.Interfaces.ParagraphFormatLoadOptions#$all:member'
+ package: powerpoint!
+ fullName: $all
+ summary: >-
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not
+ the navigational properties (such as `Range.format.fill.color`).
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: '$all?: boolean;'
+ return:
+ type: boolean
+ - name: bulletFormat
+ uid: 'powerpoint!PowerPoint.Interfaces.ParagraphFormatLoadOptions#bulletFormat:member'
+ package: powerpoint!
+ fullName: bulletFormat
+ summary: >-
+ Represents the bullet format of the paragraph. See
+ [PowerPoint.BulletFormat](xref:powerpoint!PowerPoint.BulletFormat:class) for details.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'bulletFormat?: PowerPoint.Interfaces.BulletFormatLoadOptions;'
+ return:
+ type: ''
+ - name: horizontalAlignment
+ uid: 'powerpoint!PowerPoint.Interfaces.ParagraphFormatLoadOptions#horizontalAlignment:member'
+ package: powerpoint!
+ fullName: horizontalAlignment
+ summary: >-
+ Represents the horizontal alignment of the paragraph. Returns 'null' if the 'TextRange' includes text fragments
+ with different horizontal alignment values. See
+ [PowerPoint.ParagraphHorizontalAlignment](xref:powerpoint!PowerPoint.ParagraphHorizontalAlignment:enum) for
+ details.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'horizontalAlignment?: boolean;'
+ return:
+ type: boolean
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.paragraphformatupdatedata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.paragraphformatupdatedata.yml
new file mode 100644
index 000000000..173f6b56a
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.paragraphformatupdatedata.yml
@@ -0,0 +1,31 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.ParagraphFormatUpdateData
+uid: 'powerpoint!PowerPoint.Interfaces.ParagraphFormatUpdateData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.ParagraphFormatUpdateData
+summary: 'An interface for updating data on the `ParagraphFormat` object, for use in `paragraphFormat.set({ ... })`.'
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: horizontalAlignment
+ uid: 'powerpoint!PowerPoint.Interfaces.ParagraphFormatUpdateData#horizontalAlignment:member'
+ package: powerpoint!
+ fullName: horizontalAlignment
+ summary: >-
+ Represents the horizontal alignment of the paragraph. Returns 'null' if the 'TextRange' includes text fragments
+ with different horizontal alignment values. See
+ [PowerPoint.ParagraphHorizontalAlignment](xref:powerpoint!PowerPoint.ParagraphHorizontalAlignment:enum) for
+ details.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: >-
+ horizontalAlignment?: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" |
+ "JustifyLow" | "Distributed" | "ThaiDistributed";
+ return:
+ type: >-
+ | "Left" | "Center" | "Right" |
+ "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed"
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.presentationdata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.presentationdata.yml
new file mode 100644
index 000000000..f308fd47d
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.presentationdata.yml
@@ -0,0 +1,35 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.PresentationData
+uid: 'powerpoint!PowerPoint.Interfaces.PresentationData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.PresentationData
+summary: An interface describing the data returned by calling `presentation.toJSON()`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: id
+ uid: 'powerpoint!PowerPoint.Interfaces.PresentationData#id:member'
+ package: powerpoint!
+ fullName: id
+ summary: Gets the ID of the presentation.
+ remarks: '\[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'id?: string;'
+ return:
+ type: string
+ - name: title
+ uid: 'powerpoint!PowerPoint.Interfaces.PresentationData#title:member'
+ package: powerpoint!
+ fullName: title
+ summary: ''
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'title?: string;'
+ return:
+ type: string
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.presentationloadoptions.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.presentationloadoptions.yml
new file mode 100644
index 000000000..5cf52ec9d
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.presentationloadoptions.yml
@@ -0,0 +1,49 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.PresentationLoadOptions
+uid: 'powerpoint!PowerPoint.Interfaces.PresentationLoadOptions:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.PresentationLoadOptions
+summary: ''
+remarks: '\[ [API set: PowerPointApi 1.0](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: $all
+ uid: 'powerpoint!PowerPoint.Interfaces.PresentationLoadOptions#$all:member'
+ package: powerpoint!
+ fullName: $all
+ summary: >-
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not
+ the navigational properties (such as `Range.format.fill.color`).
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: '$all?: boolean;'
+ return:
+ type: boolean
+ - name: id
+ uid: 'powerpoint!PowerPoint.Interfaces.PresentationLoadOptions#id:member'
+ package: powerpoint!
+ fullName: id
+ summary: Gets the ID of the presentation.
+ remarks: '\[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'id?: boolean;'
+ return:
+ type: boolean
+ - name: title
+ uid: 'powerpoint!PowerPoint.Interfaces.PresentationLoadOptions#title:member'
+ package: powerpoint!
+ fullName: title
+ summary: ''
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'title?: boolean;'
+ return:
+ type: boolean
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapecollectiondata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapecollectiondata.yml
new file mode 100644
index 000000000..024f40eea
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapecollectiondata.yml
@@ -0,0 +1,23 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.ShapeCollectionData
+uid: 'powerpoint!PowerPoint.Interfaces.ShapeCollectionData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.ShapeCollectionData
+summary: An interface describing the data returned by calling `shapeCollection.toJSON()`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: items
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeCollectionData#items:member'
+ package: powerpoint!
+ fullName: items
+ summary: ''
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'items?: PowerPoint.Interfaces.ShapeData[];'
+ return:
+ type: '[]'
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapecollectionloadoptions.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapecollectionloadoptions.yml
new file mode 100644
index 000000000..2f3be69aa
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapecollectionloadoptions.yml
@@ -0,0 +1,155 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.ShapeCollectionLoadOptions
+uid: 'powerpoint!PowerPoint.Interfaces.ShapeCollectionLoadOptions:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.ShapeCollectionLoadOptions
+summary: Represents the collection of shapes.
+remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: $all
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeCollectionLoadOptions#$all:member'
+ package: powerpoint!
+ fullName: $all
+ summary: >-
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not
+ the navigational properties (such as `Range.format.fill.color`).
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: '$all?: boolean;'
+ return:
+ type: boolean
+ - name: fill
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeCollectionLoadOptions#fill:member'
+ package: powerpoint!
+ fullName: fill
+ summary: 'For EACH ITEM in the collection: Returns the fill formatting of this shape.'
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'fill?: PowerPoint.Interfaces.ShapeFillLoadOptions;'
+ return:
+ type: ''
+ - name: height
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeCollectionLoadOptions#height:member'
+ package: powerpoint!
+ fullName: height
+ summary: >-
+ For EACH ITEM in the collection: Specifies the height, in points, of the shape. Throws an `InvalidArgument`
+ exception when set with a negative value.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'height?: boolean;'
+ return:
+ type: boolean
+ - name: id
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeCollectionLoadOptions#id:member'
+ package: powerpoint!
+ fullName: id
+ summary: 'For EACH ITEM in the collection: Gets the unique ID of the shape.'
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'id?: boolean;'
+ return:
+ type: boolean
+ - name: left
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeCollectionLoadOptions#left:member'
+ package: powerpoint!
+ fullName: left
+ summary: >-
+ For EACH ITEM in the collection: The distance, in points, from the left side of the shape to the left side of the
+ slide.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'left?: boolean;'
+ return:
+ type: boolean
+ - name: lineFormat
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeCollectionLoadOptions#lineFormat:member'
+ package: powerpoint!
+ fullName: lineFormat
+ summary: 'For EACH ITEM in the collection: Returns the line formatting of this shape.'
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'lineFormat?: PowerPoint.Interfaces.ShapeLineFormatLoadOptions;'
+ return:
+ type: ''
+ - name: name
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeCollectionLoadOptions#name:member'
+ package: powerpoint!
+ fullName: name
+ summary: 'For EACH ITEM in the collection: Specifies the name of this shape.'
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'name?: boolean;'
+ return:
+ type: boolean
+ - name: textFrame
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeCollectionLoadOptions#textFrame:member'
+ package: powerpoint!
+ fullName: textFrame
+ summary: 'For EACH ITEM in the collection: Returns the text frame object of this shape.'
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'textFrame?: PowerPoint.Interfaces.TextFrameLoadOptions;'
+ return:
+ type: ''
+ - name: top
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeCollectionLoadOptions#top:member'
+ package: powerpoint!
+ fullName: top
+ summary: >-
+ For EACH ITEM in the collection: The distance, in points, from the top edge of the shape to the top edge of the
+ slide.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'top?: boolean;'
+ return:
+ type: boolean
+ - name: type
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeCollectionLoadOptions#type:member'
+ package: powerpoint!
+ fullName: type
+ summary: >-
+ For EACH ITEM in the collection: Returns the type of this shape. See
+ [PowerPoint.ShapeType](xref:powerpoint!PowerPoint.ShapeType:enum) for details.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'type?: boolean;'
+ return:
+ type: boolean
+ - name: width
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeCollectionLoadOptions#width:member'
+ package: powerpoint!
+ fullName: width
+ summary: >-
+ For EACH ITEM in the collection: Specifies the width, in points, of the shape. Throws an `InvalidArgument`
+ exception when set with a negative value.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'width?: boolean;'
+ return:
+ type: boolean
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapecollectionupdatedata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapecollectionupdatedata.yml
new file mode 100644
index 000000000..7089f3eac
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapecollectionupdatedata.yml
@@ -0,0 +1,23 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.ShapeCollectionUpdateData
+uid: 'powerpoint!PowerPoint.Interfaces.ShapeCollectionUpdateData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.ShapeCollectionUpdateData
+summary: 'An interface for updating data on the `ShapeCollection` object, for use in `shapeCollection.set({ ... })`.'
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: items
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeCollectionUpdateData#items:member'
+ package: powerpoint!
+ fullName: items
+ summary: ''
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'items?: PowerPoint.Interfaces.ShapeData[];'
+ return:
+ type: '[]'
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapedata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapedata.yml
new file mode 100644
index 000000000..b28513561
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapedata.yml
@@ -0,0 +1,101 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.ShapeData
+uid: 'powerpoint!PowerPoint.Interfaces.ShapeData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.ShapeData
+summary: An interface describing the data returned by calling `shape.toJSON()`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: height
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeData#height:member'
+ package: powerpoint!
+ fullName: height
+ summary: >-
+ Specifies the height, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative
+ value.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'height?: number;'
+ return:
+ type: number
+ - name: id
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeData#id:member'
+ package: powerpoint!
+ fullName: id
+ summary: Gets the unique ID of the shape.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'id?: string;'
+ return:
+ type: string
+ - name: left
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeData#left:member'
+ package: powerpoint!
+ fullName: left
+ summary: 'The distance, in points, from the left side of the shape to the left side of the slide.'
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'left?: number;'
+ return:
+ type: number
+ - name: name
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeData#name:member'
+ package: powerpoint!
+ fullName: name
+ summary: Specifies the name of this shape.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'name?: string;'
+ return:
+ type: string
+ - name: top
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeData#top:member'
+ package: powerpoint!
+ fullName: top
+ summary: 'The distance, in points, from the top edge of the shape to the top edge of the slide.'
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'top?: number;'
+ return:
+ type: number
+ - name: type
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeData#type:member'
+ package: powerpoint!
+ fullName: type
+ summary: 'Returns the type of this shape. See [PowerPoint.ShapeType](xref:powerpoint!PowerPoint.ShapeType:enum) for details.'
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'type?: PowerPoint.ShapeType | "Unsupported" | "Image" | "GeometricShape" | "Group" | "Line" | "Table";'
+ return:
+ type: >-
+ | "Unsupported" | "Image" | "GeometricShape" | "Group" |
+ "Line" | "Table"
+ - name: width
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeData#width:member'
+ package: powerpoint!
+ fullName: width
+ summary: >-
+ Specifies the width, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative
+ value.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'width?: number;'
+ return:
+ type: number
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapefilldata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapefilldata.yml
new file mode 100644
index 000000000..5d532214b
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapefilldata.yml
@@ -0,0 +1,58 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.ShapeFillData
+uid: 'powerpoint!PowerPoint.Interfaces.ShapeFillData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.ShapeFillData
+summary: An interface describing the data returned by calling `shapeFill.toJSON()`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: foregroundColor
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeFillData#foregroundColor:member'
+ package: powerpoint!
+ fullName: foregroundColor
+ summary: >-
+ Represents the shape fill foreground color in HTML color format, in the form \#RRGGBB (e.g., "FFA500") or as a
+ named HTML color (e.g., "orange").
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'foregroundColor?: string;'
+ return:
+ type: string
+ - name: transparency
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeFillData#transparency:member'
+ package: powerpoint!
+ fullName: transparency
+ summary: >-
+ Specifies the transparency percentage of the fill as a value from 0.0 (opaque) through 1.0 (clear). Returns `null`
+ if the shape type does not support transparency or the shape fill has inconsistent transparency, such as with a
+ gradient fill type.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'transparency?: number;'
+ return:
+ type: number
+ - name: type
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeFillData#type:member'
+ package: powerpoint!
+ fullName: type
+ summary: >-
+ Returns the fill type of the shape. See [PowerPoint.ShapeFillType](xref:powerpoint!PowerPoint.ShapeFillType:enum)
+ for details.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: >-
+ type?: PowerPoint.ShapeFillType | "NoFill" | "Solid" | "Gradient" | "Pattern" | "PictureAndTexture" |
+ "SlideBackground";
+ return:
+ type: >-
+ | "NoFill" | "Solid" | "Gradient" | "Pattern" |
+ "PictureAndTexture" | "SlideBackground"
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapefillloadoptions.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapefillloadoptions.yml
new file mode 100644
index 000000000..a7866717b
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapefillloadoptions.yml
@@ -0,0 +1,68 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.ShapeFillLoadOptions
+uid: 'powerpoint!PowerPoint.Interfaces.ShapeFillLoadOptions:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.ShapeFillLoadOptions
+summary: Represents the fill formatting of a shape object.
+remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: $all
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeFillLoadOptions#$all:member'
+ package: powerpoint!
+ fullName: $all
+ summary: >-
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not
+ the navigational properties (such as `Range.format.fill.color`).
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: '$all?: boolean;'
+ return:
+ type: boolean
+ - name: foregroundColor
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeFillLoadOptions#foregroundColor:member'
+ package: powerpoint!
+ fullName: foregroundColor
+ summary: >-
+ Represents the shape fill foreground color in HTML color format, in the form \#RRGGBB (e.g., "FFA500") or as a
+ named HTML color (e.g., "orange").
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'foregroundColor?: boolean;'
+ return:
+ type: boolean
+ - name: transparency
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeFillLoadOptions#transparency:member'
+ package: powerpoint!
+ fullName: transparency
+ summary: >-
+ Specifies the transparency percentage of the fill as a value from 0.0 (opaque) through 1.0 (clear). Returns `null`
+ if the shape type does not support transparency or the shape fill has inconsistent transparency, such as with a
+ gradient fill type.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'transparency?: boolean;'
+ return:
+ type: boolean
+ - name: type
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeFillLoadOptions#type:member'
+ package: powerpoint!
+ fullName: type
+ summary: >-
+ Returns the fill type of the shape. See [PowerPoint.ShapeFillType](xref:powerpoint!PowerPoint.ShapeFillType:enum)
+ for details.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'type?: boolean;'
+ return:
+ type: boolean
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapefillupdatedata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapefillupdatedata.yml
new file mode 100644
index 000000000..cf415d8e7
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapefillupdatedata.yml
@@ -0,0 +1,40 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.ShapeFillUpdateData
+uid: 'powerpoint!PowerPoint.Interfaces.ShapeFillUpdateData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.ShapeFillUpdateData
+summary: 'An interface for updating data on the `ShapeFill` object, for use in `shapeFill.set({ ... })`.'
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: foregroundColor
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeFillUpdateData#foregroundColor:member'
+ package: powerpoint!
+ fullName: foregroundColor
+ summary: >-
+ Represents the shape fill foreground color in HTML color format, in the form \#RRGGBB (e.g., "FFA500") or as a
+ named HTML color (e.g., "orange").
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'foregroundColor?: string;'
+ return:
+ type: string
+ - name: transparency
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeFillUpdateData#transparency:member'
+ package: powerpoint!
+ fullName: transparency
+ summary: >-
+ Specifies the transparency percentage of the fill as a value from 0.0 (opaque) through 1.0 (clear). Returns `null`
+ if the shape type does not support transparency or the shape fill has inconsistent transparency, such as with a
+ gradient fill type.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'transparency?: number;'
+ return:
+ type: number
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapefontdata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapefontdata.yml
new file mode 100644
index 000000000..866eddc04
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapefontdata.yml
@@ -0,0 +1,102 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.ShapeFontData
+uid: 'powerpoint!PowerPoint.Interfaces.ShapeFontData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.ShapeFontData
+summary: An interface describing the data returned by calling `shapeFont.toJSON()`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: bold
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeFontData#bold:member'
+ package: powerpoint!
+ fullName: bold
+ summary: >-
+ Represents the bold status of font. Returns `null` if the `TextRange` includes both bold and non-bold text
+ fragments.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'bold?: boolean;'
+ return:
+ type: boolean
+ - name: color
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeFontData#color:member'
+ package: powerpoint!
+ fullName: color
+ summary: >-
+ HTML color code representation of the text color (e.g., "\#FF0000" represents red). Returns `null` if the
+ `TextRange` includes text fragments with different colors.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'color?: string;'
+ return:
+ type: string
+ - name: italic
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeFontData#italic:member'
+ package: powerpoint!
+ fullName: italic
+ summary: >-
+ Represents the italic status of font. Returns 'null' if the 'TextRange' includes both italic and non-italic text
+ fragments.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'italic?: boolean;'
+ return:
+ type: boolean
+ - name: name
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeFontData#name:member'
+ package: powerpoint!
+ fullName: name
+ summary: >-
+ Represents font name (e.g., "Calibri"). If the text is a Complex Script or East Asian language, this is the
+ corresponding font name; otherwise it is the Latin font name.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'name?: string;'
+ return:
+ type: string
+ - name: size
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeFontData#size:member'
+ package: powerpoint!
+ fullName: size
+ summary: >-
+ Represents font size in points (e.g., 11). Returns null if the TextRange includes text fragments with different
+ font sizes.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'size?: number;'
+ return:
+ type: number
+ - name: underline
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeFontData#underline:member'
+ package: powerpoint!
+ fullName: underline
+ summary: >-
+ Type of underline applied to the font. Returns `null` if the `TextRange` includes text fragments with different
+ underline styles. See
+ [PowerPoint.ShapeFontUnderlineStyle](xref:powerpoint!PowerPoint.ShapeFontUnderlineStyle:enum) for details.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: >-
+ underline?: PowerPoint.ShapeFontUnderlineStyle | "None" | "Single" | "Double" | "Heavy" | "Dotted" |
+ "DottedHeavy" | "Dash" | "DashHeavy" | "DashLong" | "DashLongHeavy" | "DotDash" | "DotDashHeavy" | "DotDotDash"
+ | "DotDotDashHeavy" | "Wavy" | "WavyHeavy" | "WavyDouble";
+ return:
+ type: >-
+ | "None" | "Single" | "Double" | "Heavy" |
+ "Dotted" | "DottedHeavy" | "Dash" | "DashHeavy" | "DashLong" | "DashLongHeavy" | "DotDash" | "DotDashHeavy" |
+ "DotDotDash" | "DotDotDashHeavy" | "Wavy" | "WavyHeavy" | "WavyDouble"
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapefontloadoptions.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapefontloadoptions.yml
new file mode 100644
index 000000000..cecefc275
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapefontloadoptions.yml
@@ -0,0 +1,110 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.ShapeFontLoadOptions
+uid: 'powerpoint!PowerPoint.Interfaces.ShapeFontLoadOptions:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.ShapeFontLoadOptions
+summary: 'Represents the font attributes, such as font name, font size, and color, for a shape''s TextRange object.'
+remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: $all
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeFontLoadOptions#$all:member'
+ package: powerpoint!
+ fullName: $all
+ summary: >-
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not
+ the navigational properties (such as `Range.format.fill.color`).
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: '$all?: boolean;'
+ return:
+ type: boolean
+ - name: bold
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeFontLoadOptions#bold:member'
+ package: powerpoint!
+ fullName: bold
+ summary: >-
+ Represents the bold status of font. Returns `null` if the `TextRange` includes both bold and non-bold text
+ fragments.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'bold?: boolean;'
+ return:
+ type: boolean
+ - name: color
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeFontLoadOptions#color:member'
+ package: powerpoint!
+ fullName: color
+ summary: >-
+ HTML color code representation of the text color (e.g., "\#FF0000" represents red). Returns `null` if the
+ `TextRange` includes text fragments with different colors.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'color?: boolean;'
+ return:
+ type: boolean
+ - name: italic
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeFontLoadOptions#italic:member'
+ package: powerpoint!
+ fullName: italic
+ summary: >-
+ Represents the italic status of font. Returns 'null' if the 'TextRange' includes both italic and non-italic text
+ fragments.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'italic?: boolean;'
+ return:
+ type: boolean
+ - name: name
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeFontLoadOptions#name:member'
+ package: powerpoint!
+ fullName: name
+ summary: >-
+ Represents font name (e.g., "Calibri"). If the text is a Complex Script or East Asian language, this is the
+ corresponding font name; otherwise it is the Latin font name.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'name?: boolean;'
+ return:
+ type: boolean
+ - name: size
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeFontLoadOptions#size:member'
+ package: powerpoint!
+ fullName: size
+ summary: >-
+ Represents font size in points (e.g., 11). Returns null if the TextRange includes text fragments with different
+ font sizes.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'size?: boolean;'
+ return:
+ type: boolean
+ - name: underline
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeFontLoadOptions#underline:member'
+ package: powerpoint!
+ fullName: underline
+ summary: >-
+ Type of underline applied to the font. Returns `null` if the `TextRange` includes text fragments with different
+ underline styles. See
+ [PowerPoint.ShapeFontUnderlineStyle](xref:powerpoint!PowerPoint.ShapeFontUnderlineStyle:enum) for details.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'underline?: boolean;'
+ return:
+ type: boolean
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapefontupdatedata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapefontupdatedata.yml
new file mode 100644
index 000000000..6e48c5d89
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapefontupdatedata.yml
@@ -0,0 +1,102 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.ShapeFontUpdateData
+uid: 'powerpoint!PowerPoint.Interfaces.ShapeFontUpdateData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.ShapeFontUpdateData
+summary: 'An interface for updating data on the `ShapeFont` object, for use in `shapeFont.set({ ... })`.'
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: bold
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeFontUpdateData#bold:member'
+ package: powerpoint!
+ fullName: bold
+ summary: >-
+ Represents the bold status of font. Returns `null` if the `TextRange` includes both bold and non-bold text
+ fragments.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'bold?: boolean;'
+ return:
+ type: boolean
+ - name: color
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeFontUpdateData#color:member'
+ package: powerpoint!
+ fullName: color
+ summary: >-
+ HTML color code representation of the text color (e.g., "\#FF0000" represents red). Returns `null` if the
+ `TextRange` includes text fragments with different colors.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'color?: string;'
+ return:
+ type: string
+ - name: italic
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeFontUpdateData#italic:member'
+ package: powerpoint!
+ fullName: italic
+ summary: >-
+ Represents the italic status of font. Returns 'null' if the 'TextRange' includes both italic and non-italic text
+ fragments.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'italic?: boolean;'
+ return:
+ type: boolean
+ - name: name
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeFontUpdateData#name:member'
+ package: powerpoint!
+ fullName: name
+ summary: >-
+ Represents font name (e.g., "Calibri"). If the text is a Complex Script or East Asian language, this is the
+ corresponding font name; otherwise it is the Latin font name.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'name?: string;'
+ return:
+ type: string
+ - name: size
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeFontUpdateData#size:member'
+ package: powerpoint!
+ fullName: size
+ summary: >-
+ Represents font size in points (e.g., 11). Returns null if the TextRange includes text fragments with different
+ font sizes.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'size?: number;'
+ return:
+ type: number
+ - name: underline
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeFontUpdateData#underline:member'
+ package: powerpoint!
+ fullName: underline
+ summary: >-
+ Type of underline applied to the font. Returns `null` if the `TextRange` includes text fragments with different
+ underline styles. See
+ [PowerPoint.ShapeFontUnderlineStyle](xref:powerpoint!PowerPoint.ShapeFontUnderlineStyle:enum) for details.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: >-
+ underline?: PowerPoint.ShapeFontUnderlineStyle | "None" | "Single" | "Double" | "Heavy" | "Dotted" |
+ "DottedHeavy" | "Dash" | "DashHeavy" | "DashLong" | "DashLongHeavy" | "DotDash" | "DotDashHeavy" | "DotDotDash"
+ | "DotDotDashHeavy" | "Wavy" | "WavyHeavy" | "WavyDouble";
+ return:
+ type: >-
+ | "None" | "Single" | "Double" | "Heavy" |
+ "Dotted" | "DottedHeavy" | "Dash" | "DashHeavy" | "DashLong" | "DashLongHeavy" | "DotDash" | "DotDashHeavy" |
+ "DotDotDash" | "DotDotDashHeavy" | "Wavy" | "WavyHeavy" | "WavyDouble"
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapelineformatdata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapelineformatdata.yml
new file mode 100644
index 000000000..5eb52bf4b
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapelineformatdata.yml
@@ -0,0 +1,102 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.ShapeLineFormatData
+uid: 'powerpoint!PowerPoint.Interfaces.ShapeLineFormatData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.ShapeLineFormatData
+summary: An interface describing the data returned by calling `shapeLineFormat.toJSON()`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: color
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeLineFormatData#color:member'
+ package: powerpoint!
+ fullName: color
+ summary: >-
+ Represents the line color in HTML color format, in the form \#RRGGBB (e.g., "FFA500") or as a named HTML color
+ (e.g., "orange").
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'color?: string;'
+ return:
+ type: string
+ - name: dashStyle
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeLineFormatData#dashStyle:member'
+ package: powerpoint!
+ fullName: dashStyle
+ summary: >-
+ Represents the dash style of the line. Returns null when the line is not visible or there are inconsistent dash
+ styles. See PowerPoint.ShapeLineDashStyle for details.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: >-
+ dashStyle?: PowerPoint.ShapeLineDashStyle | "Dash" | "DashDot" | "DashDotDot" | "LongDash" | "LongDashDot" |
+ "RoundDot" | "Solid" | "SquareDot" | "LongDashDotDot" | "SystemDash" | "SystemDot" | "SystemDashDot";
+ return:
+ type: >-
+ | "Dash" | "DashDot" | "DashDotDot" | "LongDash"
+ | "LongDashDot" | "RoundDot" | "Solid" | "SquareDot" | "LongDashDotDot" | "SystemDash" | "SystemDot" |
+ "SystemDashDot"
+ - name: style
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeLineFormatData#style:member'
+ package: powerpoint!
+ fullName: style
+ summary: >-
+ Represents the line style of the shape. Returns null when the line is not visible or there are inconsistent
+ styles. See PowerPoint.ShapeLineStyle for details.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'style?: PowerPoint.ShapeLineStyle | "Single" | "ThickBetweenThin" | "ThickThin" | "ThinThick" | "ThinThin";'
+ return:
+ type: >-
+ | "Single" | "ThickBetweenThin" | "ThickThin" |
+ "ThinThick" | "ThinThin"
+ - name: transparency
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeLineFormatData#transparency:member'
+ package: powerpoint!
+ fullName: transparency
+ summary: >-
+ Specifies the transparency percentage of the line as a value from 0.0 (opaque) through 1.0 (clear). Returns null
+ when the shape has inconsistent transparencies.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'transparency?: number;'
+ return:
+ type: number
+ - name: visible
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeLineFormatData#visible:member'
+ package: powerpoint!
+ fullName: visible
+ summary: >-
+ Specifies if the line formatting of a shape element is visible. Returns `null` when the shape has inconsistent
+ visibilities.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'visible?: boolean;'
+ return:
+ type: boolean
+ - name: weight
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeLineFormatData#weight:member'
+ package: powerpoint!
+ fullName: weight
+ summary: >-
+ Represents the weight of the line, in points. Returns `null` when the line is not visible or there are
+ inconsistent line weights.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'weight?: number;'
+ return:
+ type: number
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapelineformatloadoptions.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapelineformatloadoptions.yml
new file mode 100644
index 000000000..cb32d2948
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapelineformatloadoptions.yml
@@ -0,0 +1,111 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.ShapeLineFormatLoadOptions
+uid: 'powerpoint!PowerPoint.Interfaces.ShapeLineFormatLoadOptions:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.ShapeLineFormatLoadOptions
+summary: >-
+ Represents the line formatting for the shape object. For images and geometric shapes, line formatting represents the
+ border of the shape.
+remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: $all
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeLineFormatLoadOptions#$all:member'
+ package: powerpoint!
+ fullName: $all
+ summary: >-
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not
+ the navigational properties (such as `Range.format.fill.color`).
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: '$all?: boolean;'
+ return:
+ type: boolean
+ - name: color
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeLineFormatLoadOptions#color:member'
+ package: powerpoint!
+ fullName: color
+ summary: >-
+ Represents the line color in HTML color format, in the form \#RRGGBB (e.g., "FFA500") or as a named HTML color
+ (e.g., "orange").
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'color?: boolean;'
+ return:
+ type: boolean
+ - name: dashStyle
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeLineFormatLoadOptions#dashStyle:member'
+ package: powerpoint!
+ fullName: dashStyle
+ summary: >-
+ Represents the dash style of the line. Returns null when the line is not visible or there are inconsistent dash
+ styles. See PowerPoint.ShapeLineDashStyle for details.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'dashStyle?: boolean;'
+ return:
+ type: boolean
+ - name: style
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeLineFormatLoadOptions#style:member'
+ package: powerpoint!
+ fullName: style
+ summary: >-
+ Represents the line style of the shape. Returns null when the line is not visible or there are inconsistent
+ styles. See PowerPoint.ShapeLineStyle for details.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'style?: boolean;'
+ return:
+ type: boolean
+ - name: transparency
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeLineFormatLoadOptions#transparency:member'
+ package: powerpoint!
+ fullName: transparency
+ summary: >-
+ Specifies the transparency percentage of the line as a value from 0.0 (opaque) through 1.0 (clear). Returns null
+ when the shape has inconsistent transparencies.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'transparency?: boolean;'
+ return:
+ type: boolean
+ - name: visible
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeLineFormatLoadOptions#visible:member'
+ package: powerpoint!
+ fullName: visible
+ summary: >-
+ Specifies if the line formatting of a shape element is visible. Returns `null` when the shape has inconsistent
+ visibilities.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'visible?: boolean;'
+ return:
+ type: boolean
+ - name: weight
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeLineFormatLoadOptions#weight:member'
+ package: powerpoint!
+ fullName: weight
+ summary: >-
+ Represents the weight of the line, in points. Returns `null` when the line is not visible or there are
+ inconsistent line weights.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'weight?: boolean;'
+ return:
+ type: boolean
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapelineformatupdatedata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapelineformatupdatedata.yml
new file mode 100644
index 000000000..6bcac044a
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapelineformatupdatedata.yml
@@ -0,0 +1,102 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.ShapeLineFormatUpdateData
+uid: 'powerpoint!PowerPoint.Interfaces.ShapeLineFormatUpdateData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.ShapeLineFormatUpdateData
+summary: 'An interface for updating data on the `ShapeLineFormat` object, for use in `shapeLineFormat.set({ ... })`.'
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: color
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeLineFormatUpdateData#color:member'
+ package: powerpoint!
+ fullName: color
+ summary: >-
+ Represents the line color in HTML color format, in the form \#RRGGBB (e.g., "FFA500") or as a named HTML color
+ (e.g., "orange").
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'color?: string;'
+ return:
+ type: string
+ - name: dashStyle
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeLineFormatUpdateData#dashStyle:member'
+ package: powerpoint!
+ fullName: dashStyle
+ summary: >-
+ Represents the dash style of the line. Returns null when the line is not visible or there are inconsistent dash
+ styles. See PowerPoint.ShapeLineDashStyle for details.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: >-
+ dashStyle?: PowerPoint.ShapeLineDashStyle | "Dash" | "DashDot" | "DashDotDot" | "LongDash" | "LongDashDot" |
+ "RoundDot" | "Solid" | "SquareDot" | "LongDashDotDot" | "SystemDash" | "SystemDot" | "SystemDashDot";
+ return:
+ type: >-
+ | "Dash" | "DashDot" | "DashDotDot" | "LongDash"
+ | "LongDashDot" | "RoundDot" | "Solid" | "SquareDot" | "LongDashDotDot" | "SystemDash" | "SystemDot" |
+ "SystemDashDot"
+ - name: style
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeLineFormatUpdateData#style:member'
+ package: powerpoint!
+ fullName: style
+ summary: >-
+ Represents the line style of the shape. Returns null when the line is not visible or there are inconsistent
+ styles. See PowerPoint.ShapeLineStyle for details.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'style?: PowerPoint.ShapeLineStyle | "Single" | "ThickBetweenThin" | "ThickThin" | "ThinThick" | "ThinThin";'
+ return:
+ type: >-
+ | "Single" | "ThickBetweenThin" | "ThickThin" |
+ "ThinThick" | "ThinThin"
+ - name: transparency
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeLineFormatUpdateData#transparency:member'
+ package: powerpoint!
+ fullName: transparency
+ summary: >-
+ Specifies the transparency percentage of the line as a value from 0.0 (opaque) through 1.0 (clear). Returns null
+ when the shape has inconsistent transparencies.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'transparency?: number;'
+ return:
+ type: number
+ - name: visible
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeLineFormatUpdateData#visible:member'
+ package: powerpoint!
+ fullName: visible
+ summary: >-
+ Specifies if the line formatting of a shape element is visible. Returns `null` when the shape has inconsistent
+ visibilities.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'visible?: boolean;'
+ return:
+ type: boolean
+ - name: weight
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeLineFormatUpdateData#weight:member'
+ package: powerpoint!
+ fullName: weight
+ summary: >-
+ Represents the weight of the line, in points. Returns `null` when the line is not visible or there are
+ inconsistent line weights.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'weight?: number;'
+ return:
+ type: number
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapeloadoptions.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapeloadoptions.yml
new file mode 100644
index 000000000..41ba0293f
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapeloadoptions.yml
@@ -0,0 +1,149 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.ShapeLoadOptions
+uid: 'powerpoint!PowerPoint.Interfaces.ShapeLoadOptions:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.ShapeLoadOptions
+summary: Represents a single shape in the slide.
+remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: $all
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeLoadOptions#$all:member'
+ package: powerpoint!
+ fullName: $all
+ summary: >-
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not
+ the navigational properties (such as `Range.format.fill.color`).
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: '$all?: boolean;'
+ return:
+ type: boolean
+ - name: fill
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeLoadOptions#fill:member'
+ package: powerpoint!
+ fullName: fill
+ summary: Returns the fill formatting of this shape.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'fill?: PowerPoint.Interfaces.ShapeFillLoadOptions;'
+ return:
+ type: ''
+ - name: height
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeLoadOptions#height:member'
+ package: powerpoint!
+ fullName: height
+ summary: >-
+ Specifies the height, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative
+ value.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'height?: boolean;'
+ return:
+ type: boolean
+ - name: id
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeLoadOptions#id:member'
+ package: powerpoint!
+ fullName: id
+ summary: Gets the unique ID of the shape.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'id?: boolean;'
+ return:
+ type: boolean
+ - name: left
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeLoadOptions#left:member'
+ package: powerpoint!
+ fullName: left
+ summary: 'The distance, in points, from the left side of the shape to the left side of the slide.'
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'left?: boolean;'
+ return:
+ type: boolean
+ - name: lineFormat
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeLoadOptions#lineFormat:member'
+ package: powerpoint!
+ fullName: lineFormat
+ summary: Returns the line formatting of this shape.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'lineFormat?: PowerPoint.Interfaces.ShapeLineFormatLoadOptions;'
+ return:
+ type: ''
+ - name: name
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeLoadOptions#name:member'
+ package: powerpoint!
+ fullName: name
+ summary: Specifies the name of this shape.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'name?: boolean;'
+ return:
+ type: boolean
+ - name: textFrame
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeLoadOptions#textFrame:member'
+ package: powerpoint!
+ fullName: textFrame
+ summary: Returns the text frame object of this shape.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'textFrame?: PowerPoint.Interfaces.TextFrameLoadOptions;'
+ return:
+ type: ''
+ - name: top
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeLoadOptions#top:member'
+ package: powerpoint!
+ fullName: top
+ summary: 'The distance, in points, from the top edge of the shape to the top edge of the slide.'
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'top?: boolean;'
+ return:
+ type: boolean
+ - name: type
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeLoadOptions#type:member'
+ package: powerpoint!
+ fullName: type
+ summary: 'Returns the type of this shape. See [PowerPoint.ShapeType](xref:powerpoint!PowerPoint.ShapeType:enum) for details.'
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'type?: boolean;'
+ return:
+ type: boolean
+ - name: width
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeLoadOptions#width:member'
+ package: powerpoint!
+ fullName: width
+ summary: >-
+ Specifies the width, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative
+ value.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'width?: boolean;'
+ return:
+ type: boolean
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapescopedcollectiondata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapescopedcollectiondata.yml
new file mode 100644
index 000000000..3864f4beb
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapescopedcollectiondata.yml
@@ -0,0 +1,23 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.ShapeScopedCollectionData
+uid: 'powerpoint!PowerPoint.Interfaces.ShapeScopedCollectionData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.ShapeScopedCollectionData
+summary: An interface describing the data returned by calling `shapeScopedCollection.toJSON()`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: items
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeScopedCollectionData#items:member'
+ package: powerpoint!
+ fullName: items
+ summary: ''
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'items?: PowerPoint.Interfaces.ShapeData[];'
+ return:
+ type: '[]'
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapescopedcollectionloadoptions.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapescopedcollectionloadoptions.yml
new file mode 100644
index 000000000..a906f32c9
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapescopedcollectionloadoptions.yml
@@ -0,0 +1,155 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.ShapeScopedCollectionLoadOptions
+uid: 'powerpoint!PowerPoint.Interfaces.ShapeScopedCollectionLoadOptions:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.ShapeScopedCollectionLoadOptions
+summary: Represents a collection of shapes.
+remarks: '\[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: $all
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeScopedCollectionLoadOptions#$all:member'
+ package: powerpoint!
+ fullName: $all
+ summary: >-
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not
+ the navigational properties (such as `Range.format.fill.color`).
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: '$all?: boolean;'
+ return:
+ type: boolean
+ - name: fill
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeScopedCollectionLoadOptions#fill:member'
+ package: powerpoint!
+ fullName: fill
+ summary: 'For EACH ITEM in the collection: Returns the fill formatting of this shape.'
+ remarks: '\[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'fill?: PowerPoint.Interfaces.ShapeFillLoadOptions;'
+ return:
+ type: ''
+ - name: height
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeScopedCollectionLoadOptions#height:member'
+ package: powerpoint!
+ fullName: height
+ summary: >-
+ For EACH ITEM in the collection: Specifies the height, in points, of the shape. Throws an `InvalidArgument`
+ exception when set with a negative value.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'height?: boolean;'
+ return:
+ type: boolean
+ - name: id
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeScopedCollectionLoadOptions#id:member'
+ package: powerpoint!
+ fullName: id
+ summary: 'For EACH ITEM in the collection: Gets the unique ID of the shape.'
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'id?: boolean;'
+ return:
+ type: boolean
+ - name: left
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeScopedCollectionLoadOptions#left:member'
+ package: powerpoint!
+ fullName: left
+ summary: >-
+ For EACH ITEM in the collection: The distance, in points, from the left side of the shape to the left side of the
+ slide.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'left?: boolean;'
+ return:
+ type: boolean
+ - name: lineFormat
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeScopedCollectionLoadOptions#lineFormat:member'
+ package: powerpoint!
+ fullName: lineFormat
+ summary: 'For EACH ITEM in the collection: Returns the line formatting of this shape.'
+ remarks: '\[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'lineFormat?: PowerPoint.Interfaces.ShapeLineFormatLoadOptions;'
+ return:
+ type: ''
+ - name: name
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeScopedCollectionLoadOptions#name:member'
+ package: powerpoint!
+ fullName: name
+ summary: 'For EACH ITEM in the collection: Specifies the name of this shape.'
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'name?: boolean;'
+ return:
+ type: boolean
+ - name: textFrame
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeScopedCollectionLoadOptions#textFrame:member'
+ package: powerpoint!
+ fullName: textFrame
+ summary: 'For EACH ITEM in the collection: Returns the text frame object of this shape.'
+ remarks: '\[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'textFrame?: PowerPoint.Interfaces.TextFrameLoadOptions;'
+ return:
+ type: ''
+ - name: top
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeScopedCollectionLoadOptions#top:member'
+ package: powerpoint!
+ fullName: top
+ summary: >-
+ For EACH ITEM in the collection: The distance, in points, from the top edge of the shape to the top edge of the
+ slide.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'top?: boolean;'
+ return:
+ type: boolean
+ - name: type
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeScopedCollectionLoadOptions#type:member'
+ package: powerpoint!
+ fullName: type
+ summary: >-
+ For EACH ITEM in the collection: Returns the type of this shape. See
+ [PowerPoint.ShapeType](xref:powerpoint!PowerPoint.ShapeType:enum) for details.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'type?: boolean;'
+ return:
+ type: boolean
+ - name: width
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeScopedCollectionLoadOptions#width:member'
+ package: powerpoint!
+ fullName: width
+ summary: >-
+ For EACH ITEM in the collection: Specifies the width, in points, of the shape. Throws an `InvalidArgument`
+ exception when set with a negative value.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'width?: boolean;'
+ return:
+ type: boolean
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapescopedcollectionupdatedata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapescopedcollectionupdatedata.yml
new file mode 100644
index 000000000..5fb3a9b4e
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapescopedcollectionupdatedata.yml
@@ -0,0 +1,25 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.ShapeScopedCollectionUpdateData
+uid: 'powerpoint!PowerPoint.Interfaces.ShapeScopedCollectionUpdateData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.ShapeScopedCollectionUpdateData
+summary: >-
+ An interface for updating data on the `ShapeScopedCollection` object, for use in `shapeScopedCollection.set({ ...
+ })`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: items
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeScopedCollectionUpdateData#items:member'
+ package: powerpoint!
+ fullName: items
+ summary: ''
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'items?: PowerPoint.Interfaces.ShapeData[];'
+ return:
+ type: '[]'
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapeupdatedata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapeupdatedata.yml
new file mode 100644
index 000000000..9fd79ffc0
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.shapeupdatedata.yml
@@ -0,0 +1,75 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.ShapeUpdateData
+uid: 'powerpoint!PowerPoint.Interfaces.ShapeUpdateData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.ShapeUpdateData
+summary: 'An interface for updating data on the `Shape` object, for use in `shape.set({ ... })`.'
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: height
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeUpdateData#height:member'
+ package: powerpoint!
+ fullName: height
+ summary: >-
+ Specifies the height, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative
+ value.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'height?: number;'
+ return:
+ type: number
+ - name: left
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeUpdateData#left:member'
+ package: powerpoint!
+ fullName: left
+ summary: 'The distance, in points, from the left side of the shape to the left side of the slide.'
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'left?: number;'
+ return:
+ type: number
+ - name: name
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeUpdateData#name:member'
+ package: powerpoint!
+ fullName: name
+ summary: Specifies the name of this shape.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'name?: string;'
+ return:
+ type: string
+ - name: top
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeUpdateData#top:member'
+ package: powerpoint!
+ fullName: top
+ summary: 'The distance, in points, from the top edge of the shape to the top edge of the slide.'
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'top?: number;'
+ return:
+ type: number
+ - name: width
+ uid: 'powerpoint!PowerPoint.Interfaces.ShapeUpdateData#width:member'
+ package: powerpoint!
+ fullName: width
+ summary: >-
+ Specifies the width, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative
+ value.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'width?: number;'
+ return:
+ type: number
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidecollectiondata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidecollectiondata.yml
new file mode 100644
index 000000000..de50fb808
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidecollectiondata.yml
@@ -0,0 +1,23 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.SlideCollectionData
+uid: 'powerpoint!PowerPoint.Interfaces.SlideCollectionData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.SlideCollectionData
+summary: An interface describing the data returned by calling `slideCollection.toJSON()`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: items
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideCollectionData#items:member'
+ package: powerpoint!
+ fullName: items
+ summary: ''
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'items?: PowerPoint.Interfaces.SlideData[];'
+ return:
+ type: '[]'
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidecollectionloadoptions.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidecollectionloadoptions.yml
new file mode 100644
index 000000000..d29ee90ad
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidecollectionloadoptions.yml
@@ -0,0 +1,61 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.SlideCollectionLoadOptions
+uid: 'powerpoint!PowerPoint.Interfaces.SlideCollectionLoadOptions:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.SlideCollectionLoadOptions
+summary: Represents the collection of slides in the presentation.
+remarks: '\[ [API set: PowerPointApi 1.2](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: $all
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideCollectionLoadOptions#$all:member'
+ package: powerpoint!
+ fullName: $all
+ summary: >-
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not
+ the navigational properties (such as `Range.format.fill.color`).
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: '$all?: boolean;'
+ return:
+ type: boolean
+ - name: id
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideCollectionLoadOptions#id:member'
+ package: powerpoint!
+ fullName: id
+ summary: 'For EACH ITEM in the collection: Gets the unique ID of the slide.'
+ remarks: '\[ [API set: PowerPointApi 1.2](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'id?: boolean;'
+ return:
+ type: boolean
+ - name: layout
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideCollectionLoadOptions#layout:member'
+ package: powerpoint!
+ fullName: layout
+ summary: 'For EACH ITEM in the collection: Gets the layout of the slide.'
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'layout?: PowerPoint.Interfaces.SlideLayoutLoadOptions;'
+ return:
+ type: ''
+ - name: slideMaster
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideCollectionLoadOptions#slideMaster:member'
+ package: powerpoint!
+ fullName: slideMaster
+ summary: 'For EACH ITEM in the collection: Gets the `SlideMaster` object that represents the slide''s default content.'
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'slideMaster?: PowerPoint.Interfaces.SlideMasterLoadOptions;'
+ return:
+ type: ''
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidecollectionupdatedata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidecollectionupdatedata.yml
new file mode 100644
index 000000000..676ac35da
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidecollectionupdatedata.yml
@@ -0,0 +1,23 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.SlideCollectionUpdateData
+uid: 'powerpoint!PowerPoint.Interfaces.SlideCollectionUpdateData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.SlideCollectionUpdateData
+summary: 'An interface for updating data on the `SlideCollection` object, for use in `slideCollection.set({ ... })`.'
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: items
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideCollectionUpdateData#items:member'
+ package: powerpoint!
+ fullName: items
+ summary: ''
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'items?: PowerPoint.Interfaces.SlideData[];'
+ return:
+ type: '[]'
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidedata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidedata.yml
new file mode 100644
index 000000000..70b0835eb
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidedata.yml
@@ -0,0 +1,23 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.SlideData
+uid: 'powerpoint!PowerPoint.Interfaces.SlideData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.SlideData
+summary: An interface describing the data returned by calling `slide.toJSON()`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: id
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideData#id:member'
+ package: powerpoint!
+ fullName: id
+ summary: Gets the unique ID of the slide.
+ remarks: '\[ [API set: PowerPointApi 1.2](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'id?: string;'
+ return:
+ type: string
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidelayoutcollectiondata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidelayoutcollectiondata.yml
new file mode 100644
index 000000000..39c41bfa0
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidelayoutcollectiondata.yml
@@ -0,0 +1,23 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.SlideLayoutCollectionData
+uid: 'powerpoint!PowerPoint.Interfaces.SlideLayoutCollectionData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.SlideLayoutCollectionData
+summary: An interface describing the data returned by calling `slideLayoutCollection.toJSON()`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: items
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideLayoutCollectionData#items:member'
+ package: powerpoint!
+ fullName: items
+ summary: ''
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'items?: PowerPoint.Interfaces.SlideLayoutData[];'
+ return:
+ type: '[]'
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidelayoutcollectionloadoptions.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidelayoutcollectionloadoptions.yml
new file mode 100644
index 000000000..cc415572a
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidelayoutcollectionloadoptions.yml
@@ -0,0 +1,49 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.SlideLayoutCollectionLoadOptions
+uid: 'powerpoint!PowerPoint.Interfaces.SlideLayoutCollectionLoadOptions:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.SlideLayoutCollectionLoadOptions
+summary: Represents the collection of layouts provided by the Slide Master for slides.
+remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: $all
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideLayoutCollectionLoadOptions#$all:member'
+ package: powerpoint!
+ fullName: $all
+ summary: >-
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not
+ the navigational properties (such as `Range.format.fill.color`).
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: '$all?: boolean;'
+ return:
+ type: boolean
+ - name: id
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideLayoutCollectionLoadOptions#id:member'
+ package: powerpoint!
+ fullName: id
+ summary: 'For EACH ITEM in the collection: Gets the unique ID of the slide layout.'
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'id?: boolean;'
+ return:
+ type: boolean
+ - name: name
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideLayoutCollectionLoadOptions#name:member'
+ package: powerpoint!
+ fullName: name
+ summary: 'For EACH ITEM in the collection: Gets the name of the slide layout.'
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'name?: boolean;'
+ return:
+ type: boolean
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidelayoutcollectionupdatedata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidelayoutcollectionupdatedata.yml
new file mode 100644
index 000000000..5099c5964
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidelayoutcollectionupdatedata.yml
@@ -0,0 +1,25 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.SlideLayoutCollectionUpdateData
+uid: 'powerpoint!PowerPoint.Interfaces.SlideLayoutCollectionUpdateData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.SlideLayoutCollectionUpdateData
+summary: >-
+ An interface for updating data on the `SlideLayoutCollection` object, for use in `slideLayoutCollection.set({ ...
+ })`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: items
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideLayoutCollectionUpdateData#items:member'
+ package: powerpoint!
+ fullName: items
+ summary: ''
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'items?: PowerPoint.Interfaces.SlideLayoutData[];'
+ return:
+ type: '[]'
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidelayoutdata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidelayoutdata.yml
new file mode 100644
index 000000000..f212d8e61
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidelayoutdata.yml
@@ -0,0 +1,35 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.SlideLayoutData
+uid: 'powerpoint!PowerPoint.Interfaces.SlideLayoutData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.SlideLayoutData
+summary: An interface describing the data returned by calling `slideLayout.toJSON()`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: id
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideLayoutData#id:member'
+ package: powerpoint!
+ fullName: id
+ summary: Gets the unique ID of the slide layout.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'id?: string;'
+ return:
+ type: string
+ - name: name
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideLayoutData#name:member'
+ package: powerpoint!
+ fullName: name
+ summary: Gets the name of the slide layout.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'name?: string;'
+ return:
+ type: string
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidelayoutloadoptions.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidelayoutloadoptions.yml
new file mode 100644
index 000000000..eee607450
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidelayoutloadoptions.yml
@@ -0,0 +1,49 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.SlideLayoutLoadOptions
+uid: 'powerpoint!PowerPoint.Interfaces.SlideLayoutLoadOptions:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.SlideLayoutLoadOptions
+summary: Represents the layout of a slide.
+remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: $all
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideLayoutLoadOptions#$all:member'
+ package: powerpoint!
+ fullName: $all
+ summary: >-
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not
+ the navigational properties (such as `Range.format.fill.color`).
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: '$all?: boolean;'
+ return:
+ type: boolean
+ - name: id
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideLayoutLoadOptions#id:member'
+ package: powerpoint!
+ fullName: id
+ summary: Gets the unique ID of the slide layout.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'id?: boolean;'
+ return:
+ type: boolean
+ - name: name
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideLayoutLoadOptions#name:member'
+ package: powerpoint!
+ fullName: name
+ summary: Gets the name of the slide layout.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'name?: boolean;'
+ return:
+ type: boolean
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slideloadoptions.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slideloadoptions.yml
new file mode 100644
index 000000000..a85dc6d68
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slideloadoptions.yml
@@ -0,0 +1,61 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.SlideLoadOptions
+uid: 'powerpoint!PowerPoint.Interfaces.SlideLoadOptions:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.SlideLoadOptions
+summary: Represents a single slide of a presentation.
+remarks: '\[ [API set: PowerPointApi 1.2](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: $all
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideLoadOptions#$all:member'
+ package: powerpoint!
+ fullName: $all
+ summary: >-
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not
+ the navigational properties (such as `Range.format.fill.color`).
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: '$all?: boolean;'
+ return:
+ type: boolean
+ - name: id
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideLoadOptions#id:member'
+ package: powerpoint!
+ fullName: id
+ summary: Gets the unique ID of the slide.
+ remarks: '\[ [API set: PowerPointApi 1.2](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'id?: boolean;'
+ return:
+ type: boolean
+ - name: layout
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideLoadOptions#layout:member'
+ package: powerpoint!
+ fullName: layout
+ summary: Gets the layout of the slide.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'layout?: PowerPoint.Interfaces.SlideLayoutLoadOptions;'
+ return:
+ type: ''
+ - name: slideMaster
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideLoadOptions#slideMaster:member'
+ package: powerpoint!
+ fullName: slideMaster
+ summary: Gets the `SlideMaster` object that represents the slide's default content.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'slideMaster?: PowerPoint.Interfaces.SlideMasterLoadOptions;'
+ return:
+ type: ''
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidemastercollectiondata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidemastercollectiondata.yml
new file mode 100644
index 000000000..c7a75926f
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidemastercollectiondata.yml
@@ -0,0 +1,23 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.SlideMasterCollectionData
+uid: 'powerpoint!PowerPoint.Interfaces.SlideMasterCollectionData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.SlideMasterCollectionData
+summary: An interface describing the data returned by calling `slideMasterCollection.toJSON()`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: items
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideMasterCollectionData#items:member'
+ package: powerpoint!
+ fullName: items
+ summary: ''
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'items?: PowerPoint.Interfaces.SlideMasterData[];'
+ return:
+ type: '[]'
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidemastercollectionloadoptions.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidemastercollectionloadoptions.yml
new file mode 100644
index 000000000..8201dca89
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidemastercollectionloadoptions.yml
@@ -0,0 +1,49 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.SlideMasterCollectionLoadOptions
+uid: 'powerpoint!PowerPoint.Interfaces.SlideMasterCollectionLoadOptions:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.SlideMasterCollectionLoadOptions
+summary: Represents the collection of Slide Masters in the presentation.
+remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: $all
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideMasterCollectionLoadOptions#$all:member'
+ package: powerpoint!
+ fullName: $all
+ summary: >-
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not
+ the navigational properties (such as `Range.format.fill.color`).
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: '$all?: boolean;'
+ return:
+ type: boolean
+ - name: id
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideMasterCollectionLoadOptions#id:member'
+ package: powerpoint!
+ fullName: id
+ summary: 'For EACH ITEM in the collection: Gets the unique ID of the Slide Master.'
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'id?: boolean;'
+ return:
+ type: boolean
+ - name: name
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideMasterCollectionLoadOptions#name:member'
+ package: powerpoint!
+ fullName: name
+ summary: 'For EACH ITEM in the collection: Gets the unique name of the Slide Master.'
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'name?: boolean;'
+ return:
+ type: boolean
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidemastercollectionupdatedata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidemastercollectionupdatedata.yml
new file mode 100644
index 000000000..add100fd6
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidemastercollectionupdatedata.yml
@@ -0,0 +1,25 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.SlideMasterCollectionUpdateData
+uid: 'powerpoint!PowerPoint.Interfaces.SlideMasterCollectionUpdateData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.SlideMasterCollectionUpdateData
+summary: >-
+ An interface for updating data on the `SlideMasterCollection` object, for use in `slideMasterCollection.set({ ...
+ })`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: items
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideMasterCollectionUpdateData#items:member'
+ package: powerpoint!
+ fullName: items
+ summary: ''
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'items?: PowerPoint.Interfaces.SlideMasterData[];'
+ return:
+ type: '[]'
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidemasterdata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidemasterdata.yml
new file mode 100644
index 000000000..ededbac5c
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidemasterdata.yml
@@ -0,0 +1,35 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.SlideMasterData
+uid: 'powerpoint!PowerPoint.Interfaces.SlideMasterData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.SlideMasterData
+summary: An interface describing the data returned by calling `slideMaster.toJSON()`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: id
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideMasterData#id:member'
+ package: powerpoint!
+ fullName: id
+ summary: Gets the unique ID of the Slide Master.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'id?: string;'
+ return:
+ type: string
+ - name: name
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideMasterData#name:member'
+ package: powerpoint!
+ fullName: name
+ summary: Gets the unique name of the Slide Master.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'name?: string;'
+ return:
+ type: string
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidemasterloadoptions.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidemasterloadoptions.yml
new file mode 100644
index 000000000..37c213ed4
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidemasterloadoptions.yml
@@ -0,0 +1,49 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.SlideMasterLoadOptions
+uid: 'powerpoint!PowerPoint.Interfaces.SlideMasterLoadOptions:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.SlideMasterLoadOptions
+summary: Represents the Slide Master of a slide.
+remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: $all
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideMasterLoadOptions#$all:member'
+ package: powerpoint!
+ fullName: $all
+ summary: >-
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not
+ the navigational properties (such as `Range.format.fill.color`).
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: '$all?: boolean;'
+ return:
+ type: boolean
+ - name: id
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideMasterLoadOptions#id:member'
+ package: powerpoint!
+ fullName: id
+ summary: Gets the unique ID of the Slide Master.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'id?: boolean;'
+ return:
+ type: boolean
+ - name: name
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideMasterLoadOptions#name:member'
+ package: powerpoint!
+ fullName: name
+ summary: Gets the unique name of the Slide Master.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'name?: boolean;'
+ return:
+ type: boolean
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidescopedcollectiondata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidescopedcollectiondata.yml
new file mode 100644
index 000000000..20275c3f3
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidescopedcollectiondata.yml
@@ -0,0 +1,23 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.SlideScopedCollectionData
+uid: 'powerpoint!PowerPoint.Interfaces.SlideScopedCollectionData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.SlideScopedCollectionData
+summary: An interface describing the data returned by calling `slideScopedCollection.toJSON()`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: items
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideScopedCollectionData#items:member'
+ package: powerpoint!
+ fullName: items
+ summary: ''
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'items?: PowerPoint.Interfaces.SlideData[];'
+ return:
+ type: '[]'
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidescopedcollectionloadoptions.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidescopedcollectionloadoptions.yml
new file mode 100644
index 000000000..647a98947
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidescopedcollectionloadoptions.yml
@@ -0,0 +1,61 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.SlideScopedCollectionLoadOptions
+uid: 'powerpoint!PowerPoint.Interfaces.SlideScopedCollectionLoadOptions:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.SlideScopedCollectionLoadOptions
+summary: Represents a collection of slides in the presentation.
+remarks: '\[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: $all
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideScopedCollectionLoadOptions#$all:member'
+ package: powerpoint!
+ fullName: $all
+ summary: >-
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not
+ the navigational properties (such as `Range.format.fill.color`).
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: '$all?: boolean;'
+ return:
+ type: boolean
+ - name: id
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideScopedCollectionLoadOptions#id:member'
+ package: powerpoint!
+ fullName: id
+ summary: 'For EACH ITEM in the collection: Gets the unique ID of the slide.'
+ remarks: '\[ [API set: PowerPointApi 1.2](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'id?: boolean;'
+ return:
+ type: boolean
+ - name: layout
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideScopedCollectionLoadOptions#layout:member'
+ package: powerpoint!
+ fullName: layout
+ summary: 'For EACH ITEM in the collection: Gets the layout of the slide.'
+ remarks: '\[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'layout?: PowerPoint.Interfaces.SlideLayoutLoadOptions;'
+ return:
+ type: ''
+ - name: slideMaster
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideScopedCollectionLoadOptions#slideMaster:member'
+ package: powerpoint!
+ fullName: slideMaster
+ summary: 'For EACH ITEM in the collection: Gets the `SlideMaster` object that represents the slide''s default content.'
+ remarks: '\[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'slideMaster?: PowerPoint.Interfaces.SlideMasterLoadOptions;'
+ return:
+ type: ''
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidescopedcollectionupdatedata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidescopedcollectionupdatedata.yml
new file mode 100644
index 000000000..bcac31a97
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.slidescopedcollectionupdatedata.yml
@@ -0,0 +1,25 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.SlideScopedCollectionUpdateData
+uid: 'powerpoint!PowerPoint.Interfaces.SlideScopedCollectionUpdateData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.SlideScopedCollectionUpdateData
+summary: >-
+ An interface for updating data on the `SlideScopedCollection` object, for use in `slideScopedCollection.set({ ...
+ })`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: items
+ uid: 'powerpoint!PowerPoint.Interfaces.SlideScopedCollectionUpdateData#items:member'
+ package: powerpoint!
+ fullName: items
+ summary: ''
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'items?: PowerPoint.Interfaces.SlideData[];'
+ return:
+ type: '[]'
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.tagcollectiondata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.tagcollectiondata.yml
new file mode 100644
index 000000000..7f3e88645
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.tagcollectiondata.yml
@@ -0,0 +1,23 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.TagCollectionData
+uid: 'powerpoint!PowerPoint.Interfaces.TagCollectionData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.TagCollectionData
+summary: An interface describing the data returned by calling `tagCollection.toJSON()`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: items
+ uid: 'powerpoint!PowerPoint.Interfaces.TagCollectionData#items:member'
+ package: powerpoint!
+ fullName: items
+ summary: ''
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'items?: PowerPoint.Interfaces.TagData[];'
+ return:
+ type: '[]'
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.tagcollectionloadoptions.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.tagcollectionloadoptions.yml
new file mode 100644
index 000000000..d750d468b
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.tagcollectionloadoptions.yml
@@ -0,0 +1,51 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.TagCollectionLoadOptions
+uid: 'powerpoint!PowerPoint.Interfaces.TagCollectionLoadOptions:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.TagCollectionLoadOptions
+summary: Represents the collection of tags.
+remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: $all
+ uid: 'powerpoint!PowerPoint.Interfaces.TagCollectionLoadOptions#$all:member'
+ package: powerpoint!
+ fullName: $all
+ summary: >-
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not
+ the navigational properties (such as `Range.format.fill.color`).
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: '$all?: boolean;'
+ return:
+ type: boolean
+ - name: key
+ uid: 'powerpoint!PowerPoint.Interfaces.TagCollectionLoadOptions#key:member'
+ package: powerpoint!
+ fullName: key
+ summary: >-
+ For EACH ITEM in the collection: Gets the unique ID of the tag. The `key` is unique within the owning
+ `TagCollection` and always stored as uppercase letters within the document.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'key?: boolean;'
+ return:
+ type: boolean
+ - name: value
+ uid: 'powerpoint!PowerPoint.Interfaces.TagCollectionLoadOptions#value:member'
+ package: powerpoint!
+ fullName: value
+ summary: 'For EACH ITEM in the collection: Gets the value of the tag.'
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'value?: boolean;'
+ return:
+ type: boolean
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.tagcollectionupdatedata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.tagcollectionupdatedata.yml
new file mode 100644
index 000000000..14b351e9a
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.tagcollectionupdatedata.yml
@@ -0,0 +1,23 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.TagCollectionUpdateData
+uid: 'powerpoint!PowerPoint.Interfaces.TagCollectionUpdateData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.TagCollectionUpdateData
+summary: 'An interface for updating data on the `TagCollection` object, for use in `tagCollection.set({ ... })`.'
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: items
+ uid: 'powerpoint!PowerPoint.Interfaces.TagCollectionUpdateData#items:member'
+ package: powerpoint!
+ fullName: items
+ summary: ''
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'items?: PowerPoint.Interfaces.TagData[];'
+ return:
+ type: '[]'
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.tagdata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.tagdata.yml
new file mode 100644
index 000000000..828d5c47d
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.tagdata.yml
@@ -0,0 +1,37 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.TagData
+uid: 'powerpoint!PowerPoint.Interfaces.TagData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.TagData
+summary: An interface describing the data returned by calling `tag.toJSON()`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: key
+ uid: 'powerpoint!PowerPoint.Interfaces.TagData#key:member'
+ package: powerpoint!
+ fullName: key
+ summary: >-
+ Gets the unique ID of the tag. The `key` is unique within the owning `TagCollection` and always stored as
+ uppercase letters within the document.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'key?: string;'
+ return:
+ type: string
+ - name: value
+ uid: 'powerpoint!PowerPoint.Interfaces.TagData#value:member'
+ package: powerpoint!
+ fullName: value
+ summary: Gets the value of the tag.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'value?: string;'
+ return:
+ type: string
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.tagloadoptions.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.tagloadoptions.yml
new file mode 100644
index 000000000..17f1ca447
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.tagloadoptions.yml
@@ -0,0 +1,51 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.TagLoadOptions
+uid: 'powerpoint!PowerPoint.Interfaces.TagLoadOptions:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.TagLoadOptions
+summary: Represents a single tag in the slide.
+remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: $all
+ uid: 'powerpoint!PowerPoint.Interfaces.TagLoadOptions#$all:member'
+ package: powerpoint!
+ fullName: $all
+ summary: >-
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not
+ the navigational properties (such as `Range.format.fill.color`).
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: '$all?: boolean;'
+ return:
+ type: boolean
+ - name: key
+ uid: 'powerpoint!PowerPoint.Interfaces.TagLoadOptions#key:member'
+ package: powerpoint!
+ fullName: key
+ summary: >-
+ Gets the unique ID of the tag. The `key` is unique within the owning `TagCollection` and always stored as
+ uppercase letters within the document.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'key?: boolean;'
+ return:
+ type: boolean
+ - name: value
+ uid: 'powerpoint!PowerPoint.Interfaces.TagLoadOptions#value:member'
+ package: powerpoint!
+ fullName: value
+ summary: Gets the value of the tag.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'value?: boolean;'
+ return:
+ type: boolean
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.tagupdatedata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.tagupdatedata.yml
new file mode 100644
index 000000000..e21b9467e
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.tagupdatedata.yml
@@ -0,0 +1,23 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.TagUpdateData
+uid: 'powerpoint!PowerPoint.Interfaces.TagUpdateData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.TagUpdateData
+summary: 'An interface for updating data on the `Tag` object, for use in `tag.set({ ... })`.'
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: value
+ uid: 'powerpoint!PowerPoint.Interfaces.TagUpdateData#value:member'
+ package: powerpoint!
+ fullName: value
+ summary: Gets the value of the tag.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'value?: string;'
+ return:
+ type: string
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.textframedata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.textframedata.yml
new file mode 100644
index 000000000..f77815afd
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.textframedata.yml
@@ -0,0 +1,119 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.TextFrameData
+uid: 'powerpoint!PowerPoint.Interfaces.TextFrameData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.TextFrameData
+summary: An interface describing the data returned by calling `textFrame.toJSON()`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: autoSizeSetting
+ uid: 'powerpoint!PowerPoint.Interfaces.TextFrameData#autoSizeSetting:member'
+ package: powerpoint!
+ fullName: autoSizeSetting
+ summary: >-
+ The automatic sizing settings for the text frame. A text frame can be set to automatically fit the text to the
+ text frame, to automatically fit the text frame to the text, or not perform any automatic sizing.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: >-
+ autoSizeSetting?: PowerPoint.ShapeAutoSize | "AutoSizeNone" | "AutoSizeTextToFitShape" |
+ "AutoSizeShapeToFitText" | "AutoSizeMixed";
+ return:
+ type: >-
+ | "AutoSizeNone" | "AutoSizeTextToFitShape" |
+ "AutoSizeShapeToFitText" | "AutoSizeMixed"
+ - name: bottomMargin
+ uid: 'powerpoint!PowerPoint.Interfaces.TextFrameData#bottomMargin:member'
+ package: powerpoint!
+ fullName: bottomMargin
+ summary: 'Represents the bottom margin, in points, of the text frame.'
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'bottomMargin?: number;'
+ return:
+ type: number
+ - name: hasText
+ uid: 'powerpoint!PowerPoint.Interfaces.TextFrameData#hasText:member'
+ package: powerpoint!
+ fullName: hasText
+ summary: Specifies if the text frame contains text.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'hasText?: boolean;'
+ return:
+ type: boolean
+ - name: leftMargin
+ uid: 'powerpoint!PowerPoint.Interfaces.TextFrameData#leftMargin:member'
+ package: powerpoint!
+ fullName: leftMargin
+ summary: 'Represents the left margin, in points, of the text frame.'
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'leftMargin?: number;'
+ return:
+ type: number
+ - name: rightMargin
+ uid: 'powerpoint!PowerPoint.Interfaces.TextFrameData#rightMargin:member'
+ package: powerpoint!
+ fullName: rightMargin
+ summary: 'Represents the right margin, in points, of the text frame.'
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'rightMargin?: number;'
+ return:
+ type: number
+ - name: topMargin
+ uid: 'powerpoint!PowerPoint.Interfaces.TextFrameData#topMargin:member'
+ package: powerpoint!
+ fullName: topMargin
+ summary: 'Represents the top margin, in points, of the text frame.'
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'topMargin?: number;'
+ return:
+ type: number
+ - name: verticalAlignment
+ uid: 'powerpoint!PowerPoint.Interfaces.TextFrameData#verticalAlignment:member'
+ package: powerpoint!
+ fullName: verticalAlignment
+ summary: >-
+ Represents the vertical alignment of the text frame. See
+ [PowerPoint.TextVerticalAlignment](xref:powerpoint!PowerPoint.TextVerticalAlignment:enum) for details.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: >-
+ verticalAlignment?: PowerPoint.TextVerticalAlignment | "Top" | "Middle" | "Bottom" | "TopCentered" |
+ "MiddleCentered" | "BottomCentered";
+ return:
+ type: >-
+ | "Top" | "Middle" | "Bottom" | "TopCentered"
+ | "MiddleCentered" | "BottomCentered"
+ - name: wordWrap
+ uid: 'powerpoint!PowerPoint.Interfaces.TextFrameData#wordWrap:member'
+ package: powerpoint!
+ fullName: wordWrap
+ summary: Determines whether lines break automatically to fit text inside the shape.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'wordWrap?: boolean;'
+ return:
+ type: boolean
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.textframeloadoptions.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.textframeloadoptions.yml
new file mode 100644
index 000000000..c5fbf3af4
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.textframeloadoptions.yml
@@ -0,0 +1,139 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.TextFrameLoadOptions
+uid: 'powerpoint!PowerPoint.Interfaces.TextFrameLoadOptions:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.TextFrameLoadOptions
+summary: Represents the text frame of a shape object.
+remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: $all
+ uid: 'powerpoint!PowerPoint.Interfaces.TextFrameLoadOptions#$all:member'
+ package: powerpoint!
+ fullName: $all
+ summary: >-
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not
+ the navigational properties (such as `Range.format.fill.color`).
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: '$all?: boolean;'
+ return:
+ type: boolean
+ - name: autoSizeSetting
+ uid: 'powerpoint!PowerPoint.Interfaces.TextFrameLoadOptions#autoSizeSetting:member'
+ package: powerpoint!
+ fullName: autoSizeSetting
+ summary: >-
+ The automatic sizing settings for the text frame. A text frame can be set to automatically fit the text to the
+ text frame, to automatically fit the text frame to the text, or not perform any automatic sizing.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'autoSizeSetting?: boolean;'
+ return:
+ type: boolean
+ - name: bottomMargin
+ uid: 'powerpoint!PowerPoint.Interfaces.TextFrameLoadOptions#bottomMargin:member'
+ package: powerpoint!
+ fullName: bottomMargin
+ summary: 'Represents the bottom margin, in points, of the text frame.'
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'bottomMargin?: boolean;'
+ return:
+ type: boolean
+ - name: hasText
+ uid: 'powerpoint!PowerPoint.Interfaces.TextFrameLoadOptions#hasText:member'
+ package: powerpoint!
+ fullName: hasText
+ summary: Specifies if the text frame contains text.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'hasText?: boolean;'
+ return:
+ type: boolean
+ - name: leftMargin
+ uid: 'powerpoint!PowerPoint.Interfaces.TextFrameLoadOptions#leftMargin:member'
+ package: powerpoint!
+ fullName: leftMargin
+ summary: 'Represents the left margin, in points, of the text frame.'
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'leftMargin?: boolean;'
+ return:
+ type: boolean
+ - name: rightMargin
+ uid: 'powerpoint!PowerPoint.Interfaces.TextFrameLoadOptions#rightMargin:member'
+ package: powerpoint!
+ fullName: rightMargin
+ summary: 'Represents the right margin, in points, of the text frame.'
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'rightMargin?: boolean;'
+ return:
+ type: boolean
+ - name: textRange
+ uid: 'powerpoint!PowerPoint.Interfaces.TextFrameLoadOptions#textRange:member'
+ package: powerpoint!
+ fullName: textRange
+ summary: >-
+ Represents the text that is attached to a shape in the text frame, and properties and methods for manipulating the
+ text. See [PowerPoint.TextRange](xref:powerpoint!PowerPoint.TextRange:class) for details.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'textRange?: PowerPoint.Interfaces.TextRangeLoadOptions;'
+ return:
+ type: ''
+ - name: topMargin
+ uid: 'powerpoint!PowerPoint.Interfaces.TextFrameLoadOptions#topMargin:member'
+ package: powerpoint!
+ fullName: topMargin
+ summary: 'Represents the top margin, in points, of the text frame.'
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'topMargin?: boolean;'
+ return:
+ type: boolean
+ - name: verticalAlignment
+ uid: 'powerpoint!PowerPoint.Interfaces.TextFrameLoadOptions#verticalAlignment:member'
+ package: powerpoint!
+ fullName: verticalAlignment
+ summary: >-
+ Represents the vertical alignment of the text frame. See
+ [PowerPoint.TextVerticalAlignment](xref:powerpoint!PowerPoint.TextVerticalAlignment:enum) for details.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'verticalAlignment?: boolean;'
+ return:
+ type: boolean
+ - name: wordWrap
+ uid: 'powerpoint!PowerPoint.Interfaces.TextFrameLoadOptions#wordWrap:member'
+ package: powerpoint!
+ fullName: wordWrap
+ summary: Determines whether lines break automatically to fit text inside the shape.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'wordWrap?: boolean;'
+ return:
+ type: boolean
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.textframeupdatedata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.textframeupdatedata.yml
new file mode 100644
index 000000000..a2f8921bf
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.textframeupdatedata.yml
@@ -0,0 +1,107 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.TextFrameUpdateData
+uid: 'powerpoint!PowerPoint.Interfaces.TextFrameUpdateData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.TextFrameUpdateData
+summary: 'An interface for updating data on the `TextFrame` object, for use in `textFrame.set({ ... })`.'
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: autoSizeSetting
+ uid: 'powerpoint!PowerPoint.Interfaces.TextFrameUpdateData#autoSizeSetting:member'
+ package: powerpoint!
+ fullName: autoSizeSetting
+ summary: >-
+ The automatic sizing settings for the text frame. A text frame can be set to automatically fit the text to the
+ text frame, to automatically fit the text frame to the text, or not perform any automatic sizing.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: >-
+ autoSizeSetting?: PowerPoint.ShapeAutoSize | "AutoSizeNone" | "AutoSizeTextToFitShape" |
+ "AutoSizeShapeToFitText" | "AutoSizeMixed";
+ return:
+ type: >-
+ | "AutoSizeNone" | "AutoSizeTextToFitShape" |
+ "AutoSizeShapeToFitText" | "AutoSizeMixed"
+ - name: bottomMargin
+ uid: 'powerpoint!PowerPoint.Interfaces.TextFrameUpdateData#bottomMargin:member'
+ package: powerpoint!
+ fullName: bottomMargin
+ summary: 'Represents the bottom margin, in points, of the text frame.'
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'bottomMargin?: number;'
+ return:
+ type: number
+ - name: leftMargin
+ uid: 'powerpoint!PowerPoint.Interfaces.TextFrameUpdateData#leftMargin:member'
+ package: powerpoint!
+ fullName: leftMargin
+ summary: 'Represents the left margin, in points, of the text frame.'
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'leftMargin?: number;'
+ return:
+ type: number
+ - name: rightMargin
+ uid: 'powerpoint!PowerPoint.Interfaces.TextFrameUpdateData#rightMargin:member'
+ package: powerpoint!
+ fullName: rightMargin
+ summary: 'Represents the right margin, in points, of the text frame.'
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'rightMargin?: number;'
+ return:
+ type: number
+ - name: topMargin
+ uid: 'powerpoint!PowerPoint.Interfaces.TextFrameUpdateData#topMargin:member'
+ package: powerpoint!
+ fullName: topMargin
+ summary: 'Represents the top margin, in points, of the text frame.'
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'topMargin?: number;'
+ return:
+ type: number
+ - name: verticalAlignment
+ uid: 'powerpoint!PowerPoint.Interfaces.TextFrameUpdateData#verticalAlignment:member'
+ package: powerpoint!
+ fullName: verticalAlignment
+ summary: >-
+ Represents the vertical alignment of the text frame. See
+ [PowerPoint.TextVerticalAlignment](xref:powerpoint!PowerPoint.TextVerticalAlignment:enum) for details.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: >-
+ verticalAlignment?: PowerPoint.TextVerticalAlignment | "Top" | "Middle" | "Bottom" | "TopCentered" |
+ "MiddleCentered" | "BottomCentered";
+ return:
+ type: >-
+ | "Top" | "Middle" | "Bottom" | "TopCentered"
+ | "MiddleCentered" | "BottomCentered"
+ - name: wordWrap
+ uid: 'powerpoint!PowerPoint.Interfaces.TextFrameUpdateData#wordWrap:member'
+ package: powerpoint!
+ fullName: wordWrap
+ summary: Determines whether lines break automatically to fit text inside the shape.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'wordWrap?: boolean;'
+ return:
+ type: boolean
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.textrangedata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.textrangedata.yml
new file mode 100644
index 000000000..ed37770da
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.textrangedata.yml
@@ -0,0 +1,53 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.TextRangeData
+uid: 'powerpoint!PowerPoint.Interfaces.TextRangeData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.TextRangeData
+summary: An interface describing the data returned by calling `textRange.toJSON()`.
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: length
+ uid: 'powerpoint!PowerPoint.Interfaces.TextRangeData#length:member'
+ package: powerpoint!
+ fullName: length
+ summary: >-
+ Gets or sets the length of the range that this `TextRange` represents. Throws an `InvalidArgument` exception when
+ set with a negative value or if the value is greater than the length of the available text from the starting
+ point.
+ remarks: '\[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'length?: number;'
+ return:
+ type: number
+ - name: start
+ uid: 'powerpoint!PowerPoint.Interfaces.TextRangeData#start:member'
+ package: powerpoint!
+ fullName: start
+ summary: >-
+ Gets or sets zero-based index, relative to the parent text frame, for the starting position of the range that this
+ `TextRange` represents. Throws an `InvalidArgument` exception when set with a negative value or if the value is
+ greater than the length of the text.
+ remarks: '\[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'start?: number;'
+ return:
+ type: number
+ - name: text
+ uid: 'powerpoint!PowerPoint.Interfaces.TextRangeData#text:member'
+ package: powerpoint!
+ fullName: text
+ summary: Represents the plain text content of the text range.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'text?: string;'
+ return:
+ type: string
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.textrangeloadoptions.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.textrangeloadoptions.yml
new file mode 100644
index 000000000..4833dd271
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.textrangeloadoptions.yml
@@ -0,0 +1,93 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.TextRangeLoadOptions
+uid: 'powerpoint!PowerPoint.Interfaces.TextRangeLoadOptions:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.TextRangeLoadOptions
+summary: 'Contains the text that is attached to a shape, in addition to properties and methods for manipulating the text.'
+remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: $all
+ uid: 'powerpoint!PowerPoint.Interfaces.TextRangeLoadOptions#$all:member'
+ package: powerpoint!
+ fullName: $all
+ summary: >-
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not
+ the navigational properties (such as `Range.format.fill.color`).
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: '$all?: boolean;'
+ return:
+ type: boolean
+ - name: font
+ uid: 'powerpoint!PowerPoint.Interfaces.TextRangeLoadOptions#font:member'
+ package: powerpoint!
+ fullName: font
+ summary: Returns a `ShapeFont` object that represents the font attributes for the text range.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'font?: PowerPoint.Interfaces.ShapeFontLoadOptions;'
+ return:
+ type: ''
+ - name: length
+ uid: 'powerpoint!PowerPoint.Interfaces.TextRangeLoadOptions#length:member'
+ package: powerpoint!
+ fullName: length
+ summary: >-
+ Gets or sets the length of the range that this `TextRange` represents. Throws an `InvalidArgument` exception when
+ set with a negative value or if the value is greater than the length of the available text from the starting
+ point.
+ remarks: '\[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'length?: boolean;'
+ return:
+ type: boolean
+ - name: paragraphFormat
+ uid: 'powerpoint!PowerPoint.Interfaces.TextRangeLoadOptions#paragraphFormat:member'
+ package: powerpoint!
+ fullName: paragraphFormat
+ summary: >-
+ Represents the paragraph format of the text range. See
+ [PowerPoint.ParagraphFormat](xref:powerpoint!PowerPoint.ParagraphFormat:class) for details.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'paragraphFormat?: PowerPoint.Interfaces.ParagraphFormatLoadOptions;'
+ return:
+ type: ''
+ - name: start
+ uid: 'powerpoint!PowerPoint.Interfaces.TextRangeLoadOptions#start:member'
+ package: powerpoint!
+ fullName: start
+ summary: >-
+ Gets or sets zero-based index, relative to the parent text frame, for the starting position of the range that this
+ `TextRange` represents. Throws an `InvalidArgument` exception when set with a negative value or if the value is
+ greater than the length of the text.
+ remarks: '\[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'start?: boolean;'
+ return:
+ type: boolean
+ - name: text
+ uid: 'powerpoint!PowerPoint.Interfaces.TextRangeLoadOptions#text:member'
+ package: powerpoint!
+ fullName: text
+ summary: Represents the plain text content of the text range.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'text?: boolean;'
+ return:
+ type: boolean
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.textrangeupdatedata.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.textrangeupdatedata.yml
new file mode 100644
index 000000000..29067dbc8
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.interfaces.textrangeupdatedata.yml
@@ -0,0 +1,53 @@
+### YamlMime:TSType
+name: PowerPoint.Interfaces.TextRangeUpdateData
+uid: 'powerpoint!PowerPoint.Interfaces.TextRangeUpdateData:interface'
+package: powerpoint!
+fullName: PowerPoint.Interfaces.TextRangeUpdateData
+summary: 'An interface for updating data on the `TextRange` object, for use in `textRange.set({ ... })`.'
+remarks: ''
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: length
+ uid: 'powerpoint!PowerPoint.Interfaces.TextRangeUpdateData#length:member'
+ package: powerpoint!
+ fullName: length
+ summary: >-
+ Gets or sets the length of the range that this `TextRange` represents. Throws an `InvalidArgument` exception when
+ set with a negative value or if the value is greater than the length of the available text from the starting
+ point.
+ remarks: '\[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'length?: number;'
+ return:
+ type: number
+ - name: start
+ uid: 'powerpoint!PowerPoint.Interfaces.TextRangeUpdateData#start:member'
+ package: powerpoint!
+ fullName: start
+ summary: >-
+ Gets or sets zero-based index, relative to the parent text frame, for the starting position of the range that this
+ `TextRange` represents. Throws an `InvalidArgument` exception when set with a negative value or if the value is
+ greater than the length of the text.
+ remarks: '\[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'start?: number;'
+ return:
+ type: number
+ - name: text
+ uid: 'powerpoint!PowerPoint.Interfaces.TextRangeUpdateData#text:member'
+ package: powerpoint!
+ fullName: text
+ summary: Represents the plain text content of the text range.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'text?: string;'
+ return:
+ type: string
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.paragraphformat.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.paragraphformat.yml
new file mode 100644
index 000000000..10305e413
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.paragraphformat.yml
@@ -0,0 +1,148 @@
+### YamlMime:TSType
+name: PowerPoint.ParagraphFormat
+uid: 'powerpoint!PowerPoint.ParagraphFormat:class'
+package: powerpoint!
+fullName: PowerPoint.ParagraphFormat
+summary: >-
+ Represents the paragraph formatting properties of a text that is attached to the
+ [PowerPoint.TextRange](xref:powerpoint!PowerPoint.TextRange:class).
+remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+isPreview: false
+isDeprecated: false
+type: class
+properties:
+ - name: bulletFormat
+ uid: 'powerpoint!PowerPoint.ParagraphFormat#bulletFormat:member'
+ package: powerpoint!
+ fullName: bulletFormat
+ summary: >-
+ Represents the bullet format of the paragraph. See
+ [PowerPoint.BulletFormat](xref:powerpoint!PowerPoint.BulletFormat:class) for details.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly bulletFormat: PowerPoint.BulletFormat;'
+ return:
+ type: ''
+ - name: context
+ uid: 'powerpoint!PowerPoint.ParagraphFormat#context:member'
+ package: powerpoint!
+ fullName: context
+ summary: >-
+ The request context associated with the object. This connects the add-in's process to the Office host
+ application's process.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'context: RequestContext;'
+ return:
+ type: ''
+ - name: horizontalAlignment
+ uid: 'powerpoint!PowerPoint.ParagraphFormat#horizontalAlignment:member'
+ package: powerpoint!
+ fullName: horizontalAlignment
+ summary: >-
+ Represents the horizontal alignment of the paragraph. Returns 'null' if the 'TextRange' includes text fragments
+ with different horizontal alignment values. See
+ [PowerPoint.ParagraphHorizontalAlignment](xref:powerpoint!PowerPoint.ParagraphHorizontalAlignment:enum) for
+ details.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: >-
+ horizontalAlignment: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" |
+ "JustifyLow" | "Distributed" | "ThaiDistributed";
+ return:
+ type: >-
+ | "Left" | "Center" | "Right" |
+ "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed"
+methods:
+ - name: load(options)
+ uid: 'powerpoint!PowerPoint.ParagraphFormat#load:member(1)'
+ package: powerpoint!
+ fullName: load(options)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(options?: PowerPoint.Interfaces.ParagraphFormatLoadOptions): PowerPoint.ParagraphFormat;'
+ parameters:
+ - id: options
+ description: Provides options for which properties of the object to load.
+ type: ''
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNames)
+ uid: 'powerpoint!PowerPoint.ParagraphFormat#load:member(2)'
+ package: powerpoint!
+ fullName: load(propertyNames)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(propertyNames?: string | string[]): PowerPoint.ParagraphFormat;'
+ parameters:
+ - id: propertyNames
+ description: A comma-delimited string or an array of strings that specify the properties to load.
+ type: 'string | string[]'
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNamesAndPaths)
+ uid: 'powerpoint!PowerPoint.ParagraphFormat#load:member(3)'
+ package: powerpoint!
+ fullName: load(propertyNamesAndPaths)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: |-
+ load(propertyNamesAndPaths?: {
+ select?: string;
+ expand?: string;
+ }): PowerPoint.ParagraphFormat;
+ parameters:
+ - id: propertyNamesAndPaths
+ description: >-
+ `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and
+ `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ type: |-
+ {
+ select?: string;
+ expand?: string;
+ }
+ return:
+ type: ''
+ description: ''
+ - name: toJSON()
+ uid: 'powerpoint!PowerPoint.ParagraphFormat#toJSON:member(1)'
+ package: powerpoint!
+ fullName: toJSON()
+ summary: >-
+ Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to
+ `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is
+ passed to it.) Whereas the original `PowerPoint.ParagraphFormat` object is an API object, the `toJSON` method
+ returns a plain JavaScript object (typed as `PowerPoint.Interfaces.ParagraphFormatData`) that contains
+ shallow copies of any loaded child properties from the original object.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'toJSON(): PowerPoint.Interfaces.ParagraphFormatData;'
+ return:
+ type: ''
+ description: ''
+extends: ''
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.paragraphhorizontalalignment.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.paragraphhorizontalalignment.yml
new file mode 100644
index 000000000..2b4176e25
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.paragraphhorizontalalignment.yml
@@ -0,0 +1,68 @@
+### YamlMime:TSEnum
+name: PowerPoint.ParagraphHorizontalAlignment
+uid: 'powerpoint!PowerPoint.ParagraphHorizontalAlignment:enum'
+package: powerpoint!
+fullName: PowerPoint.ParagraphHorizontalAlignment
+summary: >-
+ Represents the horizontal alignment of the [PowerPoint.TextFrame](xref:powerpoint!PowerPoint.TextFrame:class) in a
+ [PowerPoint.Shape](xref:powerpoint!PowerPoint.Shape:class).
+remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+isPreview: false
+isDeprecated: false
+fields:
+ - name: center
+ uid: 'powerpoint!PowerPoint.ParagraphHorizontalAlignment.center:member'
+ package: powerpoint!
+ summary: |-
+ Align text in the center.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Center"'
+ - name: distributed
+ uid: 'powerpoint!PowerPoint.ParagraphHorizontalAlignment.distributed:member'
+ package: powerpoint!
+ summary: |-
+ Distributes the text words across an entire text line.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Distributed"'
+ - name: justify
+ uid: 'powerpoint!PowerPoint.ParagraphHorizontalAlignment.justify:member'
+ package: powerpoint!
+ summary: |-
+ Align text so that it is justified across the whole line.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Justify"'
+ - name: justifyLow
+ uid: 'powerpoint!PowerPoint.ParagraphHorizontalAlignment.justifyLow:member'
+ package: powerpoint!
+ summary: |-
+ Specifies the alignment or adjustment of kashida length in Arabic text.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"JustifyLow"'
+ - name: left
+ uid: 'powerpoint!PowerPoint.ParagraphHorizontalAlignment.left:member'
+ package: powerpoint!
+ summary: |-
+ Align text to the left margin.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Left"'
+ - name: right
+ uid: 'powerpoint!PowerPoint.ParagraphHorizontalAlignment.right:member'
+ package: powerpoint!
+ summary: |-
+ Align text to the right margin.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Right"'
+ - name: thaiDistributed
+ uid: 'powerpoint!PowerPoint.ParagraphHorizontalAlignment.thaiDistributed:member'
+ package: powerpoint!
+ summary: |-
+ Distributes Thai text specially, because each character is treated as a word.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"ThaiDistributed"'
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.presentation.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.presentation.yml
new file mode 100644
index 000000000..4ed6d7706
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.presentation.yml
@@ -0,0 +1,599 @@
+### YamlMime:TSType
+name: PowerPoint.Presentation
+uid: 'powerpoint!PowerPoint.Presentation:class'
+package: powerpoint!
+fullName: PowerPoint.Presentation
+summary: ''
+remarks: >-
+ \[ [API set: PowerPointApi 1.0](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/slide-management/insert-slides.yaml
+
+
+ await PowerPoint.run(async function(context) {
+ // Get the ID of the first selected slide.
+ const presentation: PowerPoint.Presentation = context.presentation;
+ const selected: PowerPoint.Slide = presentation.getSelectedSlides().getItemAt(0);
+ selected.load("id");
+ await context.sync();
+
+ // Insert the other presentation after the selected slide.
+ const insertOptions: PowerPoint.InsertSlideOptions = {
+ formatting: PowerPoint.InsertSlideFormatting.useDestinationTheme,
+ targetSlideId: selected.id
+ };
+ presentation.insertSlidesFromBase64(chosenFileBase64, insertOptions);
+ await context.sync();
+ });
+
+ ```
+isPreview: false
+isDeprecated: false
+type: class
+properties:
+ - name: context
+ uid: 'powerpoint!PowerPoint.Presentation#context:member'
+ package: powerpoint!
+ fullName: context
+ summary: >-
+ The request context associated with the object. This connects the add-in's process to the Office host
+ application's process.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'context: RequestContext;'
+ return:
+ type: ''
+ - name: id
+ uid: 'powerpoint!PowerPoint.Presentation#id:member'
+ package: powerpoint!
+ fullName: id
+ summary: Gets the ID of the presentation.
+ remarks: '\[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly id: string;'
+ return:
+ type: string
+ - name: slideMasters
+ uid: 'powerpoint!PowerPoint.Presentation#slideMasters:member'
+ package: powerpoint!
+ fullName: slideMasters
+ summary: Returns the collection of `SlideMaster` objects that are in the presentation.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly slideMasters: PowerPoint.SlideMasterCollection;'
+ return:
+ type: ''
+ - name: slides
+ uid: 'powerpoint!PowerPoint.Presentation#slides:member'
+ package: powerpoint!
+ fullName: slides
+ summary: Returns an ordered collection of slides in the presentation.
+ remarks: '\[ [API set: PowerPointApi 1.2](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly slides: PowerPoint.SlideCollection;'
+ return:
+ type: ''
+ - name: tags
+ uid: 'powerpoint!PowerPoint.Presentation#tags:member'
+ package: powerpoint!
+ fullName: tags
+ summary: Returns a collection of tags attached to the presentation.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly tags: PowerPoint.TagCollection;'
+ return:
+ type: ''
+ - name: title
+ uid: 'powerpoint!PowerPoint.Presentation#title:member'
+ package: powerpoint!
+ fullName: title
+ summary: ''
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly title: string;'
+ return:
+ type: string
+methods:
+ - name: getSelectedShapes()
+ uid: 'powerpoint!PowerPoint.Presentation#getSelectedShapes:member(1)'
+ package: powerpoint!
+ fullName: getSelectedShapes()
+ summary: >-
+ Returns the selected shapes in the current slide of the presentation. If no shapes are selected, an empty
+ collection is returned.
+ remarks: >-
+ \[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/shapes/get-set-shapes.yaml
+
+
+ // Arranges the selected shapes in a line from left to right.
+
+ await PowerPoint.run(async (context) => {
+ const shapes: PowerPoint.ShapeScopedCollection = context.presentation.getSelectedShapes();
+ const shapeCount = shapes.getCount();
+ shapes.load("items");
+ await context.sync();
+ let maxHeight = 0;
+ shapes.items.map((shape) => {
+ shape.load("width,height");
+ });
+ await context.sync();
+ shapes.items.map((shape) => {
+ shape.left = currentLeft;
+ shape.top = currentTop;
+ currentLeft += shape.width;
+ if (shape.height > maxHeight) maxHeight = shape.height;
+ });
+ await context.sync();
+ currentLeft = 0;
+ if (currentTop > slideHeight - 200) currentTop = 0;
+ });
+
+
+ ...
+
+
+ // Gets the shapes you selected on the slide and displays their IDs on the task pane.
+
+ await PowerPoint.run(async (context) => {
+ let finalTable = "";
+ const shapes: PowerPoint.ShapeScopedCollection = context.presentation.getSelectedShapes();
+ const shapeCount = shapes.getCount();
+ await context.sync();
+ finalTable += "
getSelectedShapes.getCount returned:" + shapeCount.value + "
";
+ finalTable +=
+ "
Index | Id |
";
+ shapes.load("items");
+ await context.sync();
+ shapes.items.map((shape, index) => {
+ finalTable += "" + index + " | " + shape.id + " |
";
+ });
+ finalTable += "
";
+ $("#outputSpan").empty();
+ $("#outputSpan").append(finalTable);
+ });
+
+
+ ...
+
+
+ // Saves which shapes are selected so that they can be reselected later.
+
+ await PowerPoint.run(async (context) => {
+ context.presentation.load("slides");
+ await context.sync();
+ const slides: PowerPoint.SlideScopedCollection = context.presentation.getSelectedSlides();
+ const slideCount = slides.getCount();
+ slides.load("items");
+ await context.sync();
+ savedSlideSelection = [];
+ slides.items.map((slide) => {
+ savedSlideSelection.push(slide.id);
+ });
+ const shapes: PowerPoint.ShapeScopedCollection = context.presentation.getSelectedShapes();
+ const shapeCount = shapes.getCount();
+ shapes.load("items");
+ await context.sync();
+ shapes.items.map((shape) => {
+ savedShapeSelection.push(shape.id);
+ });
+ });
+
+ ```
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getSelectedShapes(): PowerPoint.ShapeScopedCollection;'
+ return:
+ type: ''
+ description: ''
+ - name: getSelectedSlides()
+ uid: 'powerpoint!PowerPoint.Presentation#getSelectedSlides:member(1)'
+ package: powerpoint!
+ fullName: getSelectedSlides()
+ summary: >-
+ Returns the selected slides in the current view of the presentation. The first item in the collection is the
+ active slide that is visible in the editing area. If no slides are selected, an empty collection is returned.
+ remarks: >-
+ \[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/slide-management/get-set-slides.yaml
+
+
+ // Gets the selected slides and displays their IDs on the task pane.
+
+ await PowerPoint.run(async (context) => {
+ let finalTable = "";
+ context.presentation.load("slides");
+ await context.sync();
+ const allSlidesList = {};
+ const allSlidesCount = context.presentation.slides.getCount();
+ context.presentation.slides.load("items");
+ await context.sync();
+ let allSlideItems: PowerPoint.Slide[] = context.presentation.slides.items;
+ allSlideItems.map((slide, index) => {
+ allSlidesList[slide.id] = `Slide ${index + 1}`;
+ });
+
+ if ($("#id-check-usenative").is(":checked")) {
+ context.presentation.load("tags");
+ }
+ const slides: PowerPoint.SlideScopedCollection = context.presentation.getSelectedSlides();
+ const slideCount = slides.getCount();
+ slides.load("items");
+ await context.sync();
+ finalTable += "
getSelectedSlides.getCount returned:" + slideCount.value + "
";
+ finalTable +=
+ "
Index | Id |
";
+ slides.items.map((slide, index) => {
+ finalTable += "" + index + " - " + allSlidesList[slide.id] + " | " + slide.id + " |
";
+ });
+ finalTable += "
";
+ $("#outputSpan").empty();
+ $("#outputSpan").append(finalTable);
+ });
+
+
+ ...
+
+
+ // Saves which slides are currently selected so they can be reselected later.
+
+ await PowerPoint.run(async (context) => {
+ let finalTable = "";
+ context.presentation.load("slides");
+ await context.sync();
+ const slides: PowerPoint.SlideScopedCollection = context.presentation.getSelectedSlides();
+ const slideCount = slides.getCount();
+ await context.sync();
+ finalTable += "
getSelectedSlides.getCount returned:" + slideCount.value + "
";
+ finalTable +=
+ "
Index | Id |
";
+ savedSlideSelection = [];
+ slides.load("items");
+ await context.sync();
+ slides.items.map((slide, index) => {
+ finalTable += "" + index + " | " + slide.id + " |
";
+ savedSlideSelection.push(slide.id);
+ });
+ finalTable += "
";
+ $("#outputSpan").empty();
+ $("#outputSpan").append(finalTable);
+ });
+
+ ```
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getSelectedSlides(): PowerPoint.SlideScopedCollection;'
+ return:
+ type: ''
+ description: ''
+ - name: getSelectedTextRange()
+ uid: 'powerpoint!PowerPoint.Presentation#getSelectedTextRange:member(1)'
+ package: powerpoint!
+ fullName: getSelectedTextRange()
+ summary: >-
+ Returns the selected [PowerPoint.TextRange](xref:powerpoint!PowerPoint.TextRange:class) in the current view of the
+ presentation. Throws an exception if no text is selected.
+ remarks: >-
+ \[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/text/get-set-textrange.yaml
+
+
+ // Gets the selected text range and prints data about the range on the task pane.
+
+ await PowerPoint.run(async (context) => {
+ const textRange: PowerPoint.TextRange = context.presentation.getSelectedTextRange();
+ try {
+ await context.sync();
+ } catch (error) {
+ console.warn("You must select only one range of text for this action to work.");
+ return;
+ }
+ textRange.load("text");
+ textRange.load("start");
+ textRange.load("length");
+ await context.sync();
+ let txtHtml = textRange.text;
+ txtHtml = txtHtml.replace(/\n/g, "
");
+ txtHtml = txtHtml.replace(/\r/g, "
");
+ txtHtml = txtHtml.replace(/\v/g, "
");
+ let txtExplained = textRange.text;
+ txtExplained = txtExplained.replace(/\n/g, "NL");
+ txtExplained = txtExplained.replace(/\r/g, "CR");
+ txtExplained = txtExplained.replace(/\v/g, "VV");
+ let finalTable = "";
+ finalTable +=
+ "
Index | Id |
";
+ finalTable += "Raw | " + textRange.text + " |
";
+ finalTable += "Html | " + txtHtml + " |
";
+ finalTable += "Exp | " + txtExplained + " |
";
+ finalTable += "Start | " + textRange.start + " |
";
+ finalTable += "Length | " + textRange.length + " |
";
+ finalTable += "
";
+ $("#outputSpan").empty();
+ $("#outputSpan").append(finalTable);
+ });
+
+
+ ...
+
+
+ // Sets the range selection to the range that was saved previously.
+
+ await PowerPoint.run(async (context) => {
+ const slide1: PowerPoint.Slide = context.presentation.slides.getItem(savedTextSlideSelection[0]);
+ const shape1: PowerPoint.Shape = slide1.shapes.getItem(savedTextShapeSelection[0]);
+ const textRange: PowerPoint.TextRange = shape1.textFrame.textRange.getSubstring(savedTextTextRangeStart, savedTextTextRangeLength);
+ textRange.setSelected();
+ await context.sync();
+ });
+
+ ```
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getSelectedTextRange(): PowerPoint.TextRange;'
+ return:
+ type: ''
+ description: ''
+ - name: getSelectedTextRangeOrNullObject()
+ uid: 'powerpoint!PowerPoint.Presentation#getSelectedTextRangeOrNullObject:member(1)'
+ package: powerpoint!
+ fullName: getSelectedTextRangeOrNullObject()
+ summary: >-
+ Returns the selected [PowerPoint.TextRange](xref:powerpoint!PowerPoint.TextRange:class) in the current view of the
+ presentation. If no text is selected, an object with an `isNullObject` property set to `true` is returned.
+ remarks: '\[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getSelectedTextRangeOrNullObject(): PowerPoint.TextRange;'
+ return:
+ type: ''
+ description: ''
+ - name: 'insertSlidesFromBase64(base64File, options)'
+ uid: 'powerpoint!PowerPoint.Presentation#insertSlidesFromBase64:member(1)'
+ package: powerpoint!
+ fullName: 'insertSlidesFromBase64(base64File, options)'
+ summary: Inserts the specified slides from a presentation into the current presentation.
+ remarks: >-
+ \[ [API set: PowerPointApi 1.2](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/slide-management/insert-slides.yaml
+
+
+ await PowerPoint.run(async function(context) {
+ // Get the ID of the first selected slide.
+ const presentation: PowerPoint.Presentation = context.presentation;
+ const selected: PowerPoint.Slide = presentation.getSelectedSlides().getItemAt(0);
+ selected.load("id");
+ await context.sync();
+
+ // Insert the other presentation after the selected slide.
+ const insertOptions: PowerPoint.InsertSlideOptions = {
+ formatting: PowerPoint.InsertSlideFormatting.useDestinationTheme,
+ targetSlideId: selected.id
+ };
+ presentation.insertSlidesFromBase64(chosenFileBase64, insertOptions);
+ await context.sync();
+ });
+
+ ```
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'insertSlidesFromBase64(base64File: string, options?: PowerPoint.InsertSlideOptions): void;'
+ parameters:
+ - id: base64File
+ description: The Base64-encoded string representing the source presentation file.
+ type: string
+ - id: options
+ description: >-
+ The options that define which slides will be inserted, where the new slides will go, and which
+ presentation's formatting will be used.
+ type: ''
+ return:
+ type: void
+ description: ''
+ - name: load(options)
+ uid: 'powerpoint!PowerPoint.Presentation#load:member(1)'
+ package: powerpoint!
+ fullName: load(options)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(options?: PowerPoint.Interfaces.PresentationLoadOptions): PowerPoint.Presentation;'
+ parameters:
+ - id: options
+ description: Provides options for which properties of the object to load.
+ type: ''
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNames)
+ uid: 'powerpoint!PowerPoint.Presentation#load:member(2)'
+ package: powerpoint!
+ fullName: load(propertyNames)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(propertyNames?: string | string[]): PowerPoint.Presentation;'
+ parameters:
+ - id: propertyNames
+ description: A comma-delimited string or an array of strings that specify the properties to load.
+ type: 'string | string[]'
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNamesAndPaths)
+ uid: 'powerpoint!PowerPoint.Presentation#load:member(3)'
+ package: powerpoint!
+ fullName: load(propertyNamesAndPaths)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: |-
+ load(propertyNamesAndPaths?: {
+ select?: string;
+ expand?: string;
+ }): PowerPoint.Presentation;
+ parameters:
+ - id: propertyNamesAndPaths
+ description: >-
+ `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and
+ `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ type: |-
+ {
+ select?: string;
+ expand?: string;
+ }
+ return:
+ type: ''
+ description: ''
+ - name: setSelectedSlides(slideIds)
+ uid: 'powerpoint!PowerPoint.Presentation#setSelectedSlides:member(1)'
+ package: powerpoint!
+ fullName: setSelectedSlides(slideIds)
+ summary: >-
+ Selects the slides in the current view of the presentation. Existing slide selection is replaced with the new
+ selection.
+ remarks: >-
+ \[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/slide-management/get-set-slides.yaml
+
+
+ // Sets selection to the slides that were saved.
+
+ await PowerPoint.run(async (context) => {
+ context.presentation.setSelectedSlides(savedSlideSelection);
+ await context.sync();
+ });
+
+
+ ...
+
+
+ // Selects slides 2, 4, and 5.
+
+ await PowerPoint.run(async (context) => {
+ context.presentation.load("slides");
+ await context.sync();
+ const slide2: PowerPoint.Slide = context.presentation.slides.getItemAt(1);
+ const slide4: PowerPoint.Slide = context.presentation.slides.getItemAt(3);
+ const slide5: PowerPoint.Slide = context.presentation.slides.getItemAt(4);
+ slide2.load("id");
+ slide4.load("id");
+ slide5.load("id");
+ try {
+ await context.sync();
+ } catch (error) {
+ console.warn("This action requires at least 5 slides in the presentation.");
+ return;
+ }
+ await context.sync();
+ context.presentation.setSelectedSlides([slide2.id, slide4.id, slide5.id]);
+ await context.sync();
+ });
+
+ ```
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'setSelectedSlides(slideIds: string[]): void;'
+ parameters:
+ - id: slideIds
+ description: 'List of slide IDs to select in the presentation. If the list is empty, selection is cleared.'
+ type: 'string[]'
+ return:
+ type: void
+ description: ''
+ - name: toJSON()
+ uid: 'powerpoint!PowerPoint.Presentation#toJSON:member(1)'
+ package: powerpoint!
+ fullName: toJSON()
+ summary: >-
+ Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to
+ `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is
+ passed to it.) Whereas the original `PowerPoint.Presentation` object is an API object, the `toJSON` method returns
+ a plain JavaScript object (typed as `PowerPoint.Interfaces.PresentationData`) that contains shallow copies
+ of any loaded child properties from the original object.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'toJSON(): PowerPoint.Interfaces.PresentationData;'
+ return:
+ type: ''
+ description: ''
+extends: ''
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.requestcontext.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.requestcontext.yml
new file mode 100644
index 000000000..9a024c0f7
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.requestcontext.yml
@@ -0,0 +1,66 @@
+### YamlMime:TSType
+name: PowerPoint.RequestContext
+uid: 'powerpoint!PowerPoint.RequestContext:class'
+package: powerpoint!
+fullName: PowerPoint.RequestContext
+summary: >-
+ The RequestContext object facilitates requests to the PowerPoint application. Since the Office add-in and the
+ PowerPoint application run in two different processes, the request context is required to get access to the PowerPoint
+ object model from the add-in.
+remarks: |-
+
+
+ #### Examples
+
+ ```TypeScript
+ // *.run methods automatically create an OfficeExtension.ClientRequestContext
+ // object to work with the Office file.
+ await PowerPoint.run(async (context) => {
+ const presentation = context.presentation;
+ // Interact with the PowerPoint presentation...
+ });
+ ```
+isPreview: false
+isDeprecated: false
+type: class
+constructors:
+ - name: (constructor)(url)
+ uid: 'powerpoint!PowerPoint.RequestContext:constructor(1)'
+ package: powerpoint!
+ fullName: (constructor)(url)
+ summary: Constructs a new instance of the `RequestContext` class
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'constructor(url?: string);'
+ parameters:
+ - id: url
+ description: ''
+ type: string
+properties:
+ - name: application
+ uid: 'powerpoint!PowerPoint.RequestContext#application:member'
+ package: powerpoint!
+ fullName: application
+ summary: ''
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly application: Application;'
+ return:
+ type: ''
+ - name: presentation
+ uid: 'powerpoint!PowerPoint.RequestContext#presentation:member'
+ package: powerpoint!
+ fullName: presentation
+ summary: ''
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly presentation: Presentation;'
+ return:
+ type: ''
+extends: ''
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shape.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shape.yml
new file mode 100644
index 000000000..39c1be205
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shape.yml
@@ -0,0 +1,617 @@
+### YamlMime:TSType
+name: PowerPoint.Shape
+uid: 'powerpoint!PowerPoint.Shape:class'
+package: powerpoint!
+fullName: PowerPoint.Shape
+summary: Represents a single shape in the slide.
+remarks: >-
+ \[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/shapes/get-shapes-by-type.yaml
+
+
+ // Changes the transparency of every geometric shape in the slide.
+
+ await PowerPoint.run(async (context) => {
+ // Get the type of shape for every shape in the collection.
+ const shapes: PowerPoint.ShapeCollection = context.presentation.slides.getItemAt(0).shapes;
+ shapes.load("type");
+ await context.sync();
+
+ // Change the shape transparency to be halfway transparent.
+ shapes.items.forEach((shape) => {
+ if (shape.type === PowerPoint.ShapeType.geometricShape) {
+ shape.fill.transparency = 0.5;
+ }
+ });
+ await context.sync();
+ });
+
+ ```
+isPreview: false
+isDeprecated: false
+type: class
+properties:
+ - name: context
+ uid: 'powerpoint!PowerPoint.Shape#context:member'
+ package: powerpoint!
+ fullName: context
+ summary: >-
+ The request context associated with the object. This connects the add-in's process to the Office host
+ application's process.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'context: RequestContext;'
+ return:
+ type: ''
+ - name: fill
+ uid: 'powerpoint!PowerPoint.Shape#fill:member'
+ package: powerpoint!
+ fullName: fill
+ summary: Returns the fill formatting of this shape.
+ remarks: >-
+ \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/shapes/get-set-shapes.yaml
+
+
+ // Changes the selected shapes fill color to red.
+
+ await PowerPoint.run(async (context) => {
+ const shapes: PowerPoint.ShapeScopedCollection = context.presentation.getSelectedShapes();
+ const shapeCount = shapes.getCount();
+ shapes.load("items");
+ await context.sync();
+ shapes.items.map((shape) => {
+ shape.fill.setSolidColor("red");
+ });
+ await context.sync();
+ });
+
+ ```
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly fill: PowerPoint.ShapeFill;'
+ return:
+ type: ''
+ - name: height
+ uid: 'powerpoint!PowerPoint.Shape#height:member'
+ package: powerpoint!
+ fullName: height
+ summary: >-
+ Specifies the height, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative
+ value.
+ remarks: >-
+ \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/shapes/get-set-shapes.yaml
+
+
+ // Arranges the selected shapes in a line from left to right.
+
+ await PowerPoint.run(async (context) => {
+ const shapes: PowerPoint.ShapeScopedCollection = context.presentation.getSelectedShapes();
+ const shapeCount = shapes.getCount();
+ shapes.load("items");
+ await context.sync();
+ let maxHeight = 0;
+ shapes.items.map((shape) => {
+ shape.load("width,height");
+ });
+ await context.sync();
+ shapes.items.map((shape) => {
+ shape.left = currentLeft;
+ shape.top = currentTop;
+ currentLeft += shape.width;
+ if (shape.height > maxHeight) maxHeight = shape.height;
+ });
+ await context.sync();
+ currentLeft = 0;
+ if (currentTop > slideHeight - 200) currentTop = 0;
+ });
+
+ ```
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'height: number;'
+ return:
+ type: number
+ - name: id
+ uid: 'powerpoint!PowerPoint.Shape#id:member'
+ package: powerpoint!
+ fullName: id
+ summary: Gets the unique ID of the shape.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly id: string;'
+ return:
+ type: string
+ - name: left
+ uid: 'powerpoint!PowerPoint.Shape#left:member'
+ package: powerpoint!
+ fullName: left
+ summary: 'The distance, in points, from the left side of the shape to the left side of the slide.'
+ remarks: >-
+ \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/shapes/get-set-shapes.yaml
+
+
+ // Arranges the selected shapes in a line from left to right.
+
+ await PowerPoint.run(async (context) => {
+ const shapes: PowerPoint.ShapeScopedCollection = context.presentation.getSelectedShapes();
+ const shapeCount = shapes.getCount();
+ shapes.load("items");
+ await context.sync();
+ let maxHeight = 0;
+ shapes.items.map((shape) => {
+ shape.load("width,height");
+ });
+ await context.sync();
+ shapes.items.map((shape) => {
+ shape.left = currentLeft;
+ shape.top = currentTop;
+ currentLeft += shape.width;
+ if (shape.height > maxHeight) maxHeight = shape.height;
+ });
+ await context.sync();
+ currentLeft = 0;
+ if (currentTop > slideHeight - 200) currentTop = 0;
+ });
+
+ ```
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'left: number;'
+ return:
+ type: number
+ - name: lineFormat
+ uid: 'powerpoint!PowerPoint.Shape#lineFormat:member'
+ package: powerpoint!
+ fullName: lineFormat
+ summary: Returns the line formatting of this shape.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly lineFormat: PowerPoint.ShapeLineFormat;'
+ return:
+ type: ''
+ - name: name
+ uid: 'powerpoint!PowerPoint.Shape#name:member'
+ package: powerpoint!
+ fullName: name
+ summary: Specifies the name of this shape.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'name: string;'
+ return:
+ type: string
+ - name: tags
+ uid: 'powerpoint!PowerPoint.Shape#tags:member'
+ package: powerpoint!
+ fullName: tags
+ summary: Returns a collection of tags in the shape.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly tags: PowerPoint.TagCollection;'
+ return:
+ type: ''
+ - name: textFrame
+ uid: 'powerpoint!PowerPoint.Shape#textFrame:member'
+ package: powerpoint!
+ fullName: textFrame
+ summary: Returns the text frame object of this shape.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly textFrame: PowerPoint.TextFrame;'
+ return:
+ type: ''
+ - name: top
+ uid: 'powerpoint!PowerPoint.Shape#top:member'
+ package: powerpoint!
+ fullName: top
+ summary: 'The distance, in points, from the top edge of the shape to the top edge of the slide.'
+ remarks: >-
+ \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/shapes/get-set-shapes.yaml
+
+
+ // Arranges the selected shapes in a line from left to right.
+
+ await PowerPoint.run(async (context) => {
+ const shapes: PowerPoint.ShapeScopedCollection = context.presentation.getSelectedShapes();
+ const shapeCount = shapes.getCount();
+ shapes.load("items");
+ await context.sync();
+ let maxHeight = 0;
+ shapes.items.map((shape) => {
+ shape.load("width,height");
+ });
+ await context.sync();
+ shapes.items.map((shape) => {
+ shape.left = currentLeft;
+ shape.top = currentTop;
+ currentLeft += shape.width;
+ if (shape.height > maxHeight) maxHeight = shape.height;
+ });
+ await context.sync();
+ currentLeft = 0;
+ if (currentTop > slideHeight - 200) currentTop = 0;
+ });
+
+ ```
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'top: number;'
+ return:
+ type: number
+ - name: type
+ uid: 'powerpoint!PowerPoint.Shape#type:member'
+ package: powerpoint!
+ fullName: type
+ summary: 'Returns the type of this shape. See [PowerPoint.ShapeType](xref:powerpoint!PowerPoint.ShapeType:enum) for details.'
+ remarks: >-
+ \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/shapes/get-shapes-by-type.yaml
+
+
+ // Changes the transparency of every geometric shape in the slide.
+
+ await PowerPoint.run(async (context) => {
+ // Get the type of shape for every shape in the collection.
+ const shapes: PowerPoint.ShapeCollection = context.presentation.slides.getItemAt(0).shapes;
+ shapes.load("type");
+ await context.sync();
+
+ // Change the shape transparency to be halfway transparent.
+ shapes.items.forEach((shape) => {
+ if (shape.type === PowerPoint.ShapeType.geometricShape) {
+ shape.fill.transparency = 0.5;
+ }
+ });
+ await context.sync();
+ });
+
+ ```
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly type: PowerPoint.ShapeType | "Unsupported" | "Image" | "GeometricShape" | "Group" | "Line" | "Table";'
+ return:
+ type: >-
+ | "Unsupported" | "Image" | "GeometricShape" | "Group" |
+ "Line" | "Table"
+ - name: width
+ uid: 'powerpoint!PowerPoint.Shape#width:member'
+ package: powerpoint!
+ fullName: width
+ summary: >-
+ Specifies the width, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative
+ value.
+ remarks: >-
+ \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/shapes/get-set-shapes.yaml
+
+
+ // Arranges the selected shapes in a line from left to right.
+
+ await PowerPoint.run(async (context) => {
+ const shapes: PowerPoint.ShapeScopedCollection = context.presentation.getSelectedShapes();
+ const shapeCount = shapes.getCount();
+ shapes.load("items");
+ await context.sync();
+ let maxHeight = 0;
+ shapes.items.map((shape) => {
+ shape.load("width,height");
+ });
+ await context.sync();
+ shapes.items.map((shape) => {
+ shape.left = currentLeft;
+ shape.top = currentTop;
+ currentLeft += shape.width;
+ if (shape.height > maxHeight) maxHeight = shape.height;
+ });
+ await context.sync();
+ currentLeft = 0;
+ if (currentTop > slideHeight - 200) currentTop = 0;
+ });
+
+ ```
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'width: number;'
+ return:
+ type: number
+methods:
+ - name: delete()
+ uid: 'powerpoint!PowerPoint.Shape#delete:member(1)'
+ package: powerpoint!
+ fullName: delete()
+ summary: Deletes the shape from the shape collection. Does nothing if the shape does not exist.
+ remarks: >-
+ \[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/shapes/shapes.yaml
+
+
+ // This function gets the collection of shapes on the first slide,
+
+ // and then iterates through them, deleting each one.
+
+ await PowerPoint.run(async (context) => {
+ const slide: PowerPoint.Slide = context.presentation.slides.getItemAt(0);
+ const shapes: PowerPoint.ShapeCollection = slide.shapes;
+
+ // Load all the shapes in the collection without loading their properties.
+ shapes.load("items/$none");
+
+ await context.sync();
+
+ shapes.items.forEach((shape) => shape.delete());
+
+ await context.sync();
+ });
+
+ ```
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'delete(): void;'
+ return:
+ type: void
+ description: ''
+ - name: getParentSlide()
+ uid: 'powerpoint!PowerPoint.Shape#getParentSlide:member(1)'
+ package: powerpoint!
+ fullName: getParentSlide()
+ summary: >-
+ Returns the parent [PowerPoint.Slide](xref:powerpoint!PowerPoint.Slide:class) object that holds this `Shape`. Throws an exception if this shape does not belong to a `Slide`.
+ remarks: '\[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getParentSlide(): PowerPoint.Slide;'
+ return:
+ type: ''
+ description: ''
+ - name: getParentSlideLayout()
+ uid: 'powerpoint!PowerPoint.Shape#getParentSlideLayout:member(1)'
+ package: powerpoint!
+ fullName: getParentSlideLayout()
+ summary: >-
+ Returns the parent [PowerPoint.SlideLayout](xref:powerpoint!PowerPoint.SlideLayout:class) object that holds this
+ `Shape`. Throws an exception if this shape does not belong to a `SlideLayout`.
+ remarks: '\[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getParentSlideLayout(): PowerPoint.SlideLayout;'
+ return:
+ type: ''
+ description: ''
+ - name: getParentSlideLayoutOrNullObject()
+ uid: 'powerpoint!PowerPoint.Shape#getParentSlideLayoutOrNullObject:member(1)'
+ package: powerpoint!
+ fullName: getParentSlideLayoutOrNullObject()
+ summary: >-
+ Returns the parent [PowerPoint.SlideLayout](xref:powerpoint!PowerPoint.SlideLayout:class) object that holds this
+ `Shape`. If this shape does not belong to a `SlideLayout`, an object with an `isNullObject`
+ property set to `true` is returned.
+ remarks: '\[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getParentSlideLayoutOrNullObject(): PowerPoint.SlideLayout;'
+ return:
+ type: ''
+ description: ''
+ - name: getParentSlideMaster()
+ uid: 'powerpoint!PowerPoint.Shape#getParentSlideMaster:member(1)'
+ package: powerpoint!
+ fullName: getParentSlideMaster()
+ summary: >-
+ Returns the parent [PowerPoint.SlideMaster](xref:powerpoint!PowerPoint.SlideMaster:class) object that holds this
+ `Shape`. Throws an exception if this shape does not belong to a `SlideMaster`.
+ remarks: '\[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getParentSlideMaster(): PowerPoint.SlideMaster;'
+ return:
+ type: ''
+ description: ''
+ - name: getParentSlideMasterOrNullObject()
+ uid: 'powerpoint!PowerPoint.Shape#getParentSlideMasterOrNullObject:member(1)'
+ package: powerpoint!
+ fullName: getParentSlideMasterOrNullObject()
+ summary: >-
+ Returns the parent [PowerPoint.SlideMaster](xref:powerpoint!PowerPoint.SlideMaster:class) object that holds this
+ `Shape`. If this shape does not belong to a `SlideMaster`, an object with an `isNullObject`
+ property set to `true` is returned.
+ remarks: '\[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getParentSlideMasterOrNullObject(): PowerPoint.SlideMaster;'
+ return:
+ type: ''
+ description: ''
+ - name: getParentSlideOrNullObject()
+ uid: 'powerpoint!PowerPoint.Shape#getParentSlideOrNullObject:member(1)'
+ package: powerpoint!
+ fullName: getParentSlideOrNullObject()
+ summary: >-
+ Returns the parent [PowerPoint.Slide](xref:powerpoint!PowerPoint.Slide:class) object that holds this `Shape`. If this shape does not belong to a `Slide`, an object with an `isNullObject` property set to `true`
+ is returned.
+ remarks: '\[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getParentSlideOrNullObject(): PowerPoint.Slide;'
+ return:
+ type: ''
+ description: ''
+ - name: load(options)
+ uid: 'powerpoint!PowerPoint.Shape#load:member(1)'
+ package: powerpoint!
+ fullName: load(options)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(options?: PowerPoint.Interfaces.ShapeLoadOptions): PowerPoint.Shape;'
+ parameters:
+ - id: options
+ description: Provides options for which properties of the object to load.
+ type: ''
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNames)
+ uid: 'powerpoint!PowerPoint.Shape#load:member(2)'
+ package: powerpoint!
+ fullName: load(propertyNames)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(propertyNames?: string | string[]): PowerPoint.Shape;'
+ parameters:
+ - id: propertyNames
+ description: A comma-delimited string or an array of strings that specify the properties to load.
+ type: 'string | string[]'
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNamesAndPaths)
+ uid: 'powerpoint!PowerPoint.Shape#load:member(3)'
+ package: powerpoint!
+ fullName: load(propertyNamesAndPaths)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: |-
+ load(propertyNamesAndPaths?: {
+ select?: string;
+ expand?: string;
+ }): PowerPoint.Shape;
+ parameters:
+ - id: propertyNamesAndPaths
+ description: >-
+ `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and
+ `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ type: |-
+ {
+ select?: string;
+ expand?: string;
+ }
+ return:
+ type: ''
+ description: ''
+ - name: toJSON()
+ uid: 'powerpoint!PowerPoint.Shape#toJSON:member(1)'
+ package: powerpoint!
+ fullName: toJSON()
+ summary: >-
+ Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to
+ `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is
+ passed to it.) Whereas the original `PowerPoint.Shape` object is an API object, the `toJSON` method returns a
+ plain JavaScript object (typed as `PowerPoint.Interfaces.ShapeData`) that contains shallow copies of any
+ loaded child properties from the original object.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'toJSON(): PowerPoint.Interfaces.ShapeData;'
+ return:
+ type: ''
+ description: ''
+extends: ''
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapeaddoptions.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapeaddoptions.yml
new file mode 100644
index 000000000..d492e51cf
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapeaddoptions.yml
@@ -0,0 +1,100 @@
+### YamlMime:TSType
+name: PowerPoint.ShapeAddOptions
+uid: 'powerpoint!PowerPoint.ShapeAddOptions:interface'
+package: powerpoint!
+fullName: PowerPoint.ShapeAddOptions
+summary: Represents the available options when adding shapes.
+remarks: >-
+ \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/shapes/shapes.yaml
+
+
+ // This function gets the collection of shapes on the first slide,
+
+ // and adds a hexagon shape to the collection, while specifying its
+
+ // location and size. Then it names the shape.
+
+ await PowerPoint.run(async (context) => {
+ const shapes: PowerPoint.ShapeCollection = context.presentation.slides.getItemAt(0).shapes;
+ const shapeOptions: PowerPoint.ShapeAddOptions = {
+ left: 100,
+ top: 100,
+ height: 150,
+ width: 150
+ };
+ const hexagon: PowerPoint.Shape = shapes.addGeometricShape(PowerPoint.GeometricShapeType.hexagon, shapeOptions);
+ hexagon.name = "Hexagon";
+
+ await context.sync();
+ });
+
+ ```
+isPreview: false
+isDeprecated: false
+type: interface
+properties:
+ - name: height
+ uid: 'powerpoint!PowerPoint.ShapeAddOptions#height:member'
+ package: powerpoint!
+ fullName: height
+ summary: >-
+ Specifies the height, in points, of the shape. When not provided, a default value will be used. Throws an
+ `InvalidArgument` exception when set with a negative value.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'height?: number;'
+ return:
+ type: number
+ - name: left
+ uid: 'powerpoint!PowerPoint.ShapeAddOptions#left:member'
+ package: powerpoint!
+ fullName: left
+ summary: >-
+ Specifies the distance, in points, from the left side of the shape to the left side of the slide. When not
+ provided, a default value will be used.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'left?: number;'
+ return:
+ type: number
+ - name: top
+ uid: 'powerpoint!PowerPoint.ShapeAddOptions#top:member'
+ package: powerpoint!
+ fullName: top
+ summary: >-
+ Specifies the distance, in points, from the top edge of the shape to the top edge of the slide. When not provided,
+ a default value will be used.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'top?: number;'
+ return:
+ type: number
+ - name: width
+ uid: 'powerpoint!PowerPoint.ShapeAddOptions#width:member'
+ package: powerpoint!
+ fullName: width
+ summary: >-
+ Specifies the width, in points, of the shape. When not provided, a default value will be used. Throws an
+ `InvalidArgument` exception when set with a negative value.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'width?: number;'
+ return:
+ type: number
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapeautosize.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapeautosize.yml
new file mode 100644
index 000000000..158c836c6
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapeautosize.yml
@@ -0,0 +1,42 @@
+### YamlMime:TSEnum
+name: PowerPoint.ShapeAutoSize
+uid: 'powerpoint!PowerPoint.ShapeAutoSize:enum'
+package: powerpoint!
+fullName: PowerPoint.ShapeAutoSize
+summary: Determines the type of automatic sizing allowed.
+remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+isPreview: false
+isDeprecated: false
+fields:
+ - name: autoSizeMixed
+ uid: 'powerpoint!PowerPoint.ShapeAutoSize.autoSizeMixed:member'
+ package: powerpoint!
+ summary: |-
+ A combination of automatic sizing schemes are used.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"AutoSizeMixed"'
+ - name: autoSizeNone
+ uid: 'powerpoint!PowerPoint.ShapeAutoSize.autoSizeNone:member'
+ package: powerpoint!
+ summary: |-
+ No autosizing.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"AutoSizeNone"'
+ - name: autoSizeShapeToFitText
+ uid: 'powerpoint!PowerPoint.ShapeAutoSize.autoSizeShapeToFitText:member'
+ package: powerpoint!
+ summary: |-
+ The shape is adjusted to fit the text.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"AutoSizeShapeToFitText"'
+ - name: autoSizeTextToFitShape
+ uid: 'powerpoint!PowerPoint.ShapeAutoSize.autoSizeTextToFitShape:member'
+ package: powerpoint!
+ summary: |-
+ The text is adjusted to fit the shape.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"AutoSizeTextToFitShape"'
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapecollection.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapecollection.yml
new file mode 100644
index 000000000..a5efe8e5e
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapecollection.yml
@@ -0,0 +1,557 @@
+### YamlMime:TSType
+name: PowerPoint.ShapeCollection
+uid: 'powerpoint!PowerPoint.ShapeCollection:class'
+package: powerpoint!
+fullName: PowerPoint.ShapeCollection
+summary: Represents the collection of shapes.
+remarks: >-
+ \[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/shapes/get-shapes-by-type.yaml
+
+
+ // Changes the transparency of every geometric shape in the slide.
+
+ await PowerPoint.run(async (context) => {
+ // Get the type of shape for every shape in the collection.
+ const shapes: PowerPoint.ShapeCollection = context.presentation.slides.getItemAt(0).shapes;
+ shapes.load("type");
+ await context.sync();
+
+ // Change the shape transparency to be halfway transparent.
+ shapes.items.forEach((shape) => {
+ if (shape.type === PowerPoint.ShapeType.geometricShape) {
+ shape.fill.transparency = 0.5;
+ }
+ });
+ await context.sync();
+ });
+
+ ```
+isPreview: false
+isDeprecated: false
+type: class
+properties:
+ - name: context
+ uid: 'powerpoint!PowerPoint.ShapeCollection#context:member'
+ package: powerpoint!
+ fullName: context
+ summary: >-
+ The request context associated with the object. This connects the add-in's process to the Office host
+ application's process.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'context: RequestContext;'
+ return:
+ type: ''
+ - name: items
+ uid: 'powerpoint!PowerPoint.ShapeCollection#items:member'
+ package: powerpoint!
+ fullName: items
+ summary: Gets the loaded child items in this collection.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly items: PowerPoint.Shape[];'
+ return:
+ type: '[]'
+methods:
+ - name: 'addGeometricShape(geometricShapeType, options)'
+ uid: 'powerpoint!PowerPoint.ShapeCollection#addGeometricShape:member(1)'
+ package: powerpoint!
+ fullName: 'addGeometricShape(geometricShapeType, options)'
+ summary: Adds a geometric shape to the slide. Returns a `Shape` object that represents the new shape.
+ remarks: >-
+ \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/shapes/shapes.yaml
+
+
+ // This function gets the collection of shapes on the first slide,
+
+ // and adds a hexagon shape to the collection, while specifying its
+
+ // location and size. Then it names the shape.
+
+ await PowerPoint.run(async (context) => {
+ const shapes: PowerPoint.ShapeCollection = context.presentation.slides.getItemAt(0).shapes;
+ const shapeOptions: PowerPoint.ShapeAddOptions = {
+ left: 100,
+ top: 100,
+ height: 150,
+ width: 150
+ };
+ const hexagon: PowerPoint.Shape = shapes.addGeometricShape(PowerPoint.GeometricShapeType.hexagon, shapeOptions);
+ hexagon.name = "Hexagon";
+
+ await context.sync();
+ });
+
+ ```
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: >-
+ addGeometricShape(geometricShapeType: PowerPoint.GeometricShapeType, options?: PowerPoint.ShapeAddOptions):
+ PowerPoint.Shape;
+ parameters:
+ - id: geometricShapeType
+ description: >-
+ Specifies the type of the geometric shape. See
+ [PowerPoint.GeometricShapeType](xref:powerpoint!PowerPoint.GeometricShapeType:enum) for details.
+ type: ''
+ - id: options
+ description: An optional parameter to specify the additional options such as the position of the shape.
+ type: ''
+ return:
+ type: ''
+ description: The newly inserted shape.
+ - name: 'addGeometricShape(geometricShapeTypeString, options)'
+ uid: 'powerpoint!PowerPoint.ShapeCollection#addGeometricShape:member(2)'
+ package: powerpoint!
+ fullName: 'addGeometricShape(geometricShapeTypeString, options)'
+ summary: Adds a geometric shape to the slide. Returns a `Shape` object that represents the new shape.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: >-
+ addGeometricShape(geometricShapeTypeString: "LineInverse" | "Triangle" | "RightTriangle" | "Rectangle" |
+ "Diamond" | "Parallelogram" | "Trapezoid" | "NonIsoscelesTrapezoid" | "Pentagon" | "Hexagon" | "Heptagon" |
+ "Octagon" | "Decagon" | "Dodecagon" | "Star4" | "Star5" | "Star6" | "Star7" | "Star8" | "Star10" | "Star12" |
+ "Star16" | "Star24" | "Star32" | "RoundRectangle" | "Round1Rectangle" | "Round2SameRectangle" |
+ "Round2DiagonalRectangle" | "SnipRoundRectangle" | "Snip1Rectangle" | "Snip2SameRectangle" |
+ "Snip2DiagonalRectangle" | "Plaque" | "Ellipse" | "Teardrop" | "HomePlate" | "Chevron" | "PieWedge" | "Pie" |
+ "BlockArc" | "Donut" | "NoSmoking" | "RightArrow" | "LeftArrow" | "UpArrow" | "DownArrow" | "StripedRightArrow"
+ | "NotchedRightArrow" | "BentUpArrow" | "LeftRightArrow" | "UpDownArrow" | "LeftUpArrow" | "LeftRightUpArrow" |
+ "QuadArrow" | "LeftArrowCallout" | "RightArrowCallout" | "UpArrowCallout" | "DownArrowCallout" |
+ "LeftRightArrowCallout" | "UpDownArrowCallout" | "QuadArrowCallout" | "BentArrow" | "UturnArrow" |
+ "CircularArrow" | "LeftCircularArrow" | "LeftRightCircularArrow" | "CurvedRightArrow" | "CurvedLeftArrow" |
+ "CurvedUpArrow" | "CurvedDownArrow" | "SwooshArrow" | "Cube" | "Can" | "LightningBolt" | "Heart" | "Sun" |
+ "Moon" | "SmileyFace" | "IrregularSeal1" | "IrregularSeal2" | "FoldedCorner" | "Bevel" | "Frame" | "HalfFrame" |
+ "Corner" | "DiagonalStripe" | "Chord" | "Arc" | "LeftBracket" | "RightBracket" | "LeftBrace" | "RightBrace" |
+ "BracketPair" | "BracePair" | "Callout1" | "Callout2" | "Callout3" | "AccentCallout1" | "AccentCallout2" |
+ "AccentCallout3" | "BorderCallout1" | "BorderCallout2" | "BorderCallout3" | "AccentBorderCallout1" |
+ "AccentBorderCallout2" | "AccentBorderCallout3" | "WedgeRectCallout" | "WedgeRRectCallout" |
+ "WedgeEllipseCallout" | "CloudCallout" | "Cloud" | "Ribbon" | "Ribbon2" | "EllipseRibbon" | "EllipseRibbon2" |
+ "LeftRightRibbon" | "VerticalScroll" | "HorizontalScroll" | "Wave" | "DoubleWave" | "Plus" | "FlowChartProcess"
+ | "FlowChartDecision" | "FlowChartInputOutput" | "FlowChartPredefinedProcess" | "FlowChartInternalStorage" |
+ "FlowChartDocument" | "FlowChartMultidocument" | "FlowChartTerminator" | "FlowChartPreparation" |
+ "FlowChartManualInput" | "FlowChartManualOperation" | "FlowChartConnector" | "FlowChartPunchedCard" |
+ "FlowChartPunchedTape" | "FlowChartSummingJunction" | "FlowChartOr" | "FlowChartCollate" | "FlowChartSort" |
+ "FlowChartExtract" | "FlowChartMerge" | "FlowChartOfflineStorage" | "FlowChartOnlineStorage" |
+ "FlowChartMagneticTape" | "FlowChartMagneticDisk" | "FlowChartMagneticDrum" | "FlowChartDisplay" |
+ "FlowChartDelay" | "FlowChartAlternateProcess" | "FlowChartOffpageConnector" | "ActionButtonBlank" |
+ "ActionButtonHome" | "ActionButtonHelp" | "ActionButtonInformation" | "ActionButtonForwardNext" |
+ "ActionButtonBackPrevious" | "ActionButtonEnd" | "ActionButtonBeginning" | "ActionButtonReturn" |
+ "ActionButtonDocument" | "ActionButtonSound" | "ActionButtonMovie" | "Gear6" | "Gear9" | "Funnel" | "MathPlus" |
+ "MathMinus" | "MathMultiply" | "MathDivide" | "MathEqual" | "MathNotEqual" | "CornerTabs" | "SquareTabs" |
+ "PlaqueTabs" | "ChartX" | "ChartStar" | "ChartPlus", options?: PowerPoint.ShapeAddOptions): PowerPoint.Shape;
+ parameters:
+ - id: geometricShapeTypeString
+ description: >-
+ Specifies the type of the geometric shape. See
+ [PowerPoint.GeometricShapeType](xref:powerpoint!PowerPoint.GeometricShapeType:enum) for details.
+ type: >-
+ "LineInverse" | "Triangle" | "RightTriangle" | "Rectangle" | "Diamond" | "Parallelogram" | "Trapezoid" |
+ "NonIsoscelesTrapezoid" | "Pentagon" | "Hexagon" | "Heptagon" | "Octagon" | "Decagon" | "Dodecagon" |
+ "Star4" | "Star5" | "Star6" | "Star7" | "Star8" | "Star10" | "Star12" | "Star16" | "Star24" | "Star32" |
+ "RoundRectangle" | "Round1Rectangle" | "Round2SameRectangle" | "Round2DiagonalRectangle" |
+ "SnipRoundRectangle" | "Snip1Rectangle" | "Snip2SameRectangle" | "Snip2DiagonalRectangle" | "Plaque" |
+ "Ellipse" | "Teardrop" | "HomePlate" | "Chevron" | "PieWedge" | "Pie" | "BlockArc" | "Donut" | "NoSmoking" |
+ "RightArrow" | "LeftArrow" | "UpArrow" | "DownArrow" | "StripedRightArrow" | "NotchedRightArrow" |
+ "BentUpArrow" | "LeftRightArrow" | "UpDownArrow" | "LeftUpArrow" | "LeftRightUpArrow" | "QuadArrow" |
+ "LeftArrowCallout" | "RightArrowCallout" | "UpArrowCallout" | "DownArrowCallout" | "LeftRightArrowCallout" |
+ "UpDownArrowCallout" | "QuadArrowCallout" | "BentArrow" | "UturnArrow" | "CircularArrow" |
+ "LeftCircularArrow" | "LeftRightCircularArrow" | "CurvedRightArrow" | "CurvedLeftArrow" | "CurvedUpArrow" |
+ "CurvedDownArrow" | "SwooshArrow" | "Cube" | "Can" | "LightningBolt" | "Heart" | "Sun" | "Moon" |
+ "SmileyFace" | "IrregularSeal1" | "IrregularSeal2" | "FoldedCorner" | "Bevel" | "Frame" | "HalfFrame" |
+ "Corner" | "DiagonalStripe" | "Chord" | "Arc" | "LeftBracket" | "RightBracket" | "LeftBrace" | "RightBrace"
+ | "BracketPair" | "BracePair" | "Callout1" | "Callout2" | "Callout3" | "AccentCallout1" | "AccentCallout2" |
+ "AccentCallout3" | "BorderCallout1" | "BorderCallout2" | "BorderCallout3" | "AccentBorderCallout1" |
+ "AccentBorderCallout2" | "AccentBorderCallout3" | "WedgeRectCallout" | "WedgeRRectCallout" |
+ "WedgeEllipseCallout" | "CloudCallout" | "Cloud" | "Ribbon" | "Ribbon2" | "EllipseRibbon" | "EllipseRibbon2"
+ | "LeftRightRibbon" | "VerticalScroll" | "HorizontalScroll" | "Wave" | "DoubleWave" | "Plus" |
+ "FlowChartProcess" | "FlowChartDecision" | "FlowChartInputOutput" | "FlowChartPredefinedProcess" |
+ "FlowChartInternalStorage" | "FlowChartDocument" | "FlowChartMultidocument" | "FlowChartTerminator" |
+ "FlowChartPreparation" | "FlowChartManualInput" | "FlowChartManualOperation" | "FlowChartConnector" |
+ "FlowChartPunchedCard" | "FlowChartPunchedTape" | "FlowChartSummingJunction" | "FlowChartOr" |
+ "FlowChartCollate" | "FlowChartSort" | "FlowChartExtract" | "FlowChartMerge" | "FlowChartOfflineStorage" |
+ "FlowChartOnlineStorage" | "FlowChartMagneticTape" | "FlowChartMagneticDisk" | "FlowChartMagneticDrum" |
+ "FlowChartDisplay" | "FlowChartDelay" | "FlowChartAlternateProcess" | "FlowChartOffpageConnector" |
+ "ActionButtonBlank" | "ActionButtonHome" | "ActionButtonHelp" | "ActionButtonInformation" |
+ "ActionButtonForwardNext" | "ActionButtonBackPrevious" | "ActionButtonEnd" | "ActionButtonBeginning" |
+ "ActionButtonReturn" | "ActionButtonDocument" | "ActionButtonSound" | "ActionButtonMovie" | "Gear6" |
+ "Gear9" | "Funnel" | "MathPlus" | "MathMinus" | "MathMultiply" | "MathDivide" | "MathEqual" | "MathNotEqual"
+ | "CornerTabs" | "SquareTabs" | "PlaqueTabs" | "ChartX" | "ChartStar" | "ChartPlus"
+ - id: options
+ description: An optional parameter to specify the additional options such as the position of the shape.
+ type: ''
+ return:
+ type: ''
+ description: The newly inserted shape.
+ - name: 'addLine(connectorType, options)'
+ uid: 'powerpoint!PowerPoint.ShapeCollection#addLine:member(1)'
+ package: powerpoint!
+ fullName: 'addLine(connectorType, options)'
+ summary: Adds a line to the slide. Returns a `Shape` object that represents the new line.
+ remarks: >-
+ \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/shapes/shapes.yaml
+
+
+ // This function gets the collection of shapes on the first slide,
+
+ // and adds a line to the collection, while specifying its
+
+ // start and end points. Then it names the shape.
+
+ await PowerPoint.run(async (context) => {
+ const shapes: PowerPoint.ShapeCollection = context.presentation.slides.getItemAt(0).shapes;
+
+ // For a line, left and top are the coordinates of the start point,
+ // while height and width are the coordinates of the end point.
+ const line: PowerPoint.Shape = shapes.addLine(PowerPoint.ConnectorType.straight,
+ {
+ left: 400,
+ top: 200,
+ height: 20,
+ width: 150
+ });
+ line.name = "StraightLine";
+
+ await context.sync();
+ });
+
+ ```
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'addLine(connectorType?: PowerPoint.ConnectorType, options?: PowerPoint.ShapeAddOptions): PowerPoint.Shape;'
+ parameters:
+ - id: connectorType
+ description: >-
+ Specifies the connector type of the line. If not provided, `straight` connector type will be used. See
+ [PowerPoint.ConnectorType](xref:powerpoint!PowerPoint.ConnectorType:enum) for details.
+ type: ''
+ - id: options
+ description: >-
+ An optional parameter to specify the additional options such as the position of the shape object that
+ contains the line.
+ type: ''
+ return:
+ type: ''
+ description: The newly inserted shape.
+ - name: 'addLine(connectorTypeString, options)'
+ uid: 'powerpoint!PowerPoint.ShapeCollection#addLine:member(2)'
+ package: powerpoint!
+ fullName: 'addLine(connectorTypeString, options)'
+ summary: Adds a line to the slide. Returns a `Shape` object that represents the new line.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: >-
+ addLine(connectorTypeString?: "Straight" | "Elbow" | "Curve", options?: PowerPoint.ShapeAddOptions):
+ PowerPoint.Shape;
+ parameters:
+ - id: connectorTypeString
+ description: >-
+ Specifies the connector type of the line. If not provided, `straight` connector type will be used. See
+ [PowerPoint.ConnectorType](xref:powerpoint!PowerPoint.ConnectorType:enum) for details.
+ type: '"Straight" | "Elbow" | "Curve"'
+ - id: options
+ description: >-
+ An optional parameter to specify the additional options such as the position of the shape object that
+ contains the line.
+ type: ''
+ return:
+ type: ''
+ description: The newly inserted shape.
+ - name: 'addTextBox(text, options)'
+ uid: 'powerpoint!PowerPoint.ShapeCollection#addTextBox:member(1)'
+ package: powerpoint!
+ fullName: 'addTextBox(text, options)'
+ summary: >-
+ Adds a text box to the slide with the provided text as the content. Returns a `Shape` object that represents the
+ new text box.
+ remarks: >-
+ \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/shapes/shapes.yaml
+
+
+ // This function gets the collection of shapes on the first slide,
+
+ // and adds a text box to the collection, while specifying its text,
+
+ // location, and size. Then it names the text box.
+
+ await PowerPoint.run(async (context) => {
+ const shapes: PowerPoint.ShapeCollection = context.presentation.slides.getItemAt(0).shapes;
+ const textbox: PowerPoint.Shape = shapes.addTextBox("Hello!",
+ {
+ left: 100,
+ top: 300,
+ height: 300,
+ width: 450
+ });
+ textbox.name = "Textbox";
+
+ return context.sync();
+ });
+
+ ```
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'addTextBox(text: string, options?: PowerPoint.ShapeAddOptions): PowerPoint.Shape;'
+ parameters:
+ - id: text
+ description: Specifies the text that will be shown in the created text box.
+ type: string
+ - id: options
+ description: An optional parameter to specify the additional options such as the position of the text box.
+ type: ''
+ return:
+ type: ''
+ description: The newly inserted shape.
+ - name: getCount()
+ uid: 'powerpoint!PowerPoint.ShapeCollection#getCount:member(1)'
+ package: powerpoint!
+ fullName: getCount()
+ summary: Gets the number of shapes in the collection.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getCount(): OfficeExtension.ClientResult;'
+ return:
+ type: '<number>'
+ description: The number of shapes in the collection.
+ - name: getItem(key)
+ uid: 'powerpoint!PowerPoint.ShapeCollection#getItem:member(1)'
+ package: powerpoint!
+ fullName: getItem(key)
+ summary: Gets a shape using its unique ID. An error is thrown if the shape does not exist.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getItem(key: string): PowerPoint.Shape;'
+ parameters:
+ - id: key
+ description: The ID of the shape.
+ type: string
+ return:
+ type: ''
+ description: 'The shape with the unique ID. If such a shape does not exist, an error is thrown.'
+ - name: getItemAt(index)
+ uid: 'powerpoint!PowerPoint.ShapeCollection#getItemAt:member(1)'
+ package: powerpoint!
+ fullName: getItemAt(index)
+ summary: Gets a shape using its zero-based index in the collection. An error is thrown if the index is out of range.
+ remarks: >-
+ \[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/tags/tags.yaml
+
+
+ await PowerPoint.run(async function(context) {
+ const slide: PowerPoint.Slide = context.presentation.slides.getItemAt(0);
+ const shape: PowerPoint.Shape = slide.shapes.getItemAt(0);
+ shape.tags.add("MOUNTAIN", "Denali");
+
+ await context.sync();
+
+ const myShapeTag: PowerPoint.Tag = shape.tags.getItem("MOUNTAIN");
+ myShapeTag.load("key, value");
+
+ await context.sync();
+
+ console.log("Added key " + JSON.stringify(myShapeTag.key) + " with value " + JSON.stringify(myShapeTag.value));
+ });
+
+ ```
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getItemAt(index: number): PowerPoint.Shape;'
+ parameters:
+ - id: index
+ description: The index of the shape in the collection.
+ type: number
+ return:
+ type: ''
+ description: The shape at the given index. An error is thrown if index is out of range.
+ - name: getItemOrNullObject(id)
+ uid: 'powerpoint!PowerPoint.ShapeCollection#getItemOrNullObject:member(1)'
+ package: powerpoint!
+ fullName: getItemOrNullObject(id)
+ summary: >-
+ Gets a shape using its unique ID. If such a shape does not exist, an object with an `isNullObject` property set to
+ true is returned.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getItemOrNullObject(id: string): PowerPoint.Shape;'
+ parameters:
+ - id: id
+ description: The ID of the shape.
+ type: string
+ return:
+ type: ''
+ description: >-
+ The shape with the unique ID. If such a shape does not exist, an object with an `isNullObject` property set to
+ true is returned.
+ - name: load(options)
+ uid: 'powerpoint!PowerPoint.ShapeCollection#load:member(1)'
+ package: powerpoint!
+ fullName: load(options)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: >-
+ load(options?: PowerPoint.Interfaces.ShapeCollectionLoadOptions & PowerPoint.Interfaces.CollectionLoadOptions):
+ PowerPoint.ShapeCollection;
+ parameters:
+ - id: options
+ description: Provides options for which properties of the object to load.
+ type: >-
+ &
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNames)
+ uid: 'powerpoint!PowerPoint.ShapeCollection#load:member(2)'
+ package: powerpoint!
+ fullName: load(propertyNames)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(propertyNames?: string | string[]): PowerPoint.ShapeCollection;'
+ parameters:
+ - id: propertyNames
+ description: A comma-delimited string or an array of strings that specify the properties to load.
+ type: 'string | string[]'
+ return:
+ type: ''
+ description: >-
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/shapes/get-shapes-by-type.yaml
+
+
+ // Changes the transparency of every geometric shape in the slide.
+
+ await PowerPoint.run(async (context) => {
+ // Get the type of shape for every shape in the collection.
+ const shapes: PowerPoint.ShapeCollection = context.presentation.slides.getItemAt(0).shapes;
+ shapes.load("type");
+ await context.sync();
+
+ // Change the shape transparency to be halfway transparent.
+ shapes.items.forEach((shape) => {
+ if (shape.type === PowerPoint.ShapeType.geometricShape) {
+ shape.fill.transparency = 0.5;
+ }
+ });
+ await context.sync();
+ });
+
+ ```
+ - name: load(propertyNamesAndPaths)
+ uid: 'powerpoint!PowerPoint.ShapeCollection#load:member(3)'
+ package: powerpoint!
+ fullName: load(propertyNamesAndPaths)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(propertyNamesAndPaths?: OfficeExtension.LoadOption): PowerPoint.ShapeCollection;'
+ parameters:
+ - id: propertyNamesAndPaths
+ description: >-
+ `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and
+ `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ type: ''
+ return:
+ type: ''
+ description: ''
+ - name: toJSON()
+ uid: 'powerpoint!PowerPoint.ShapeCollection#toJSON:member(1)'
+ package: powerpoint!
+ fullName: toJSON()
+ summary: >-
+ Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to
+ `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is
+ passed to it.) Whereas the original `PowerPoint.ShapeCollection` object is an API object, the `toJSON` method
+ returns a plain JavaScript object (typed as `PowerPoint.Interfaces.ShapeCollectionData`) that contains an
+ "items" array with shallow copies of any loaded properties from the collection's items.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'toJSON(): PowerPoint.Interfaces.ShapeCollectionData;'
+ return:
+ type: ''
+ description: ''
+extends: ''
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapefill.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapefill.yml
new file mode 100644
index 000000000..923dd0585
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapefill.yml
@@ -0,0 +1,312 @@
+### YamlMime:TSType
+name: PowerPoint.ShapeFill
+uid: 'powerpoint!PowerPoint.ShapeFill:class'
+package: powerpoint!
+fullName: PowerPoint.ShapeFill
+summary: Represents the fill formatting of a shape object.
+remarks: >-
+ \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/shapes/get-shapes-by-type.yaml
+
+
+ // Changes the transparency of every geometric shape in the slide.
+
+ await PowerPoint.run(async (context) => {
+ // Get the type of shape for every shape in the collection.
+ const shapes: PowerPoint.ShapeCollection = context.presentation.slides.getItemAt(0).shapes;
+ shapes.load("type");
+ await context.sync();
+
+ // Change the shape transparency to be halfway transparent.
+ shapes.items.forEach((shape) => {
+ if (shape.type === PowerPoint.ShapeType.geometricShape) {
+ shape.fill.transparency = 0.5;
+ }
+ });
+ await context.sync();
+ });
+
+ ```
+isPreview: false
+isDeprecated: false
+type: class
+properties:
+ - name: context
+ uid: 'powerpoint!PowerPoint.ShapeFill#context:member'
+ package: powerpoint!
+ fullName: context
+ summary: >-
+ The request context associated with the object. This connects the add-in's process to the Office host
+ application's process.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'context: RequestContext;'
+ return:
+ type: ''
+ - name: foregroundColor
+ uid: 'powerpoint!PowerPoint.ShapeFill#foregroundColor:member'
+ package: powerpoint!
+ fullName: foregroundColor
+ summary: >-
+ Represents the shape fill foreground color in HTML color format, in the form \#RRGGBB (e.g., "FFA500") or as a
+ named HTML color (e.g., "orange").
+ remarks: >-
+ \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/shapes/get-set-shapes.yaml
+
+
+ // Creates random shapes on the selected slide.
+
+ await PowerPoint.run(async (context) => {
+ let finalTable = "";
+ const currentSlide: PowerPoint.Slide = context.presentation.getSelectedSlides().getItemAt(0);
+ const maxNewShapeWidth = 200;
+ const maxNewShapeHeight = 200;
+ const minNewShapeWidth = 50;
+ const minNewShapeHeight = 50;
+ for (let i = 0; i < 20; i++) {
+ const rectangle: PowerPoint.Shape = currentSlide.shapes.addGeometricShape(PowerPoint.GeometricShapeType.rectangle);
+ rectangle.height = getRandomBetween(minNewShapeWidth, maxNewShapeWidth);
+ rectangle.width = getRandomBetween(minNewShapeHeight, maxNewShapeHeight);
+ rectangle.left = getRandomBetween(0, slideWidth - rectangle.width);
+ rectangle.top = getRandomBetween(0, slideHeight - rectangle.height);
+ rectangle.fill.foregroundColor = generateRandomHexColor();
+ }
+ finalTable += "Done
";
+ $("#slide-tags").empty();
+ $("#slide-tags").append(finalTable);
+ });
+
+ ```
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'foregroundColor: string;'
+ return:
+ type: string
+ - name: transparency
+ uid: 'powerpoint!PowerPoint.ShapeFill#transparency:member'
+ package: powerpoint!
+ fullName: transparency
+ summary: >-
+ Specifies the transparency percentage of the fill as a value from 0.0 (opaque) through 1.0 (clear). Returns `null`
+ if the shape type does not support transparency or the shape fill has inconsistent transparency, such as with a
+ gradient fill type.
+ remarks: >-
+ \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/shapes/get-shapes-by-type.yaml
+
+
+ // Changes the transparency of every geometric shape in the slide.
+
+ await PowerPoint.run(async (context) => {
+ // Get the type of shape for every shape in the collection.
+ const shapes: PowerPoint.ShapeCollection = context.presentation.slides.getItemAt(0).shapes;
+ shapes.load("type");
+ await context.sync();
+
+ // Change the shape transparency to be halfway transparent.
+ shapes.items.forEach((shape) => {
+ if (shape.type === PowerPoint.ShapeType.geometricShape) {
+ shape.fill.transparency = 0.5;
+ }
+ });
+ await context.sync();
+ });
+
+ ```
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'transparency: number;'
+ return:
+ type: number
+ - name: type
+ uid: 'powerpoint!PowerPoint.ShapeFill#type:member'
+ package: powerpoint!
+ fullName: type
+ summary: >-
+ Returns the fill type of the shape. See [PowerPoint.ShapeFillType](xref:powerpoint!PowerPoint.ShapeFillType:enum)
+ for details.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: >-
+ readonly type: PowerPoint.ShapeFillType | "NoFill" | "Solid" | "Gradient" | "Pattern" | "PictureAndTexture" |
+ "SlideBackground";
+ return:
+ type: >-
+ | "NoFill" | "Solid" | "Gradient" | "Pattern" |
+ "PictureAndTexture" | "SlideBackground"
+methods:
+ - name: clear()
+ uid: 'powerpoint!PowerPoint.ShapeFill#clear:member(1)'
+ package: powerpoint!
+ fullName: clear()
+ summary: Clears the fill formatting of this shape.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'clear(): void;'
+ return:
+ type: void
+ description: ''
+ - name: load(options)
+ uid: 'powerpoint!PowerPoint.ShapeFill#load:member(1)'
+ package: powerpoint!
+ fullName: load(options)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(options?: PowerPoint.Interfaces.ShapeFillLoadOptions): PowerPoint.ShapeFill;'
+ parameters:
+ - id: options
+ description: Provides options for which properties of the object to load.
+ type: ''
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNames)
+ uid: 'powerpoint!PowerPoint.ShapeFill#load:member(2)'
+ package: powerpoint!
+ fullName: load(propertyNames)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(propertyNames?: string | string[]): PowerPoint.ShapeFill;'
+ parameters:
+ - id: propertyNames
+ description: A comma-delimited string or an array of strings that specify the properties to load.
+ type: 'string | string[]'
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNamesAndPaths)
+ uid: 'powerpoint!PowerPoint.ShapeFill#load:member(3)'
+ package: powerpoint!
+ fullName: load(propertyNamesAndPaths)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: |-
+ load(propertyNamesAndPaths?: {
+ select?: string;
+ expand?: string;
+ }): PowerPoint.ShapeFill;
+ parameters:
+ - id: propertyNamesAndPaths
+ description: >-
+ `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and
+ `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ type: |-
+ {
+ select?: string;
+ expand?: string;
+ }
+ return:
+ type: ''
+ description: ''
+ - name: setSolidColor(color)
+ uid: 'powerpoint!PowerPoint.ShapeFill#setSolidColor:member(1)'
+ package: powerpoint!
+ fullName: setSolidColor(color)
+ summary: Sets the fill formatting of the shape to a uniform color. This changes the fill type to `Solid`.
+ remarks: >-
+ \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/shapes/get-set-shapes.yaml
+
+
+ // Changes the selected shapes fill color to red.
+
+ await PowerPoint.run(async (context) => {
+ const shapes: PowerPoint.ShapeScopedCollection = context.presentation.getSelectedShapes();
+ const shapeCount = shapes.getCount();
+ shapes.load("items");
+ await context.sync();
+ shapes.items.map((shape) => {
+ shape.fill.setSolidColor("red");
+ });
+ await context.sync();
+ });
+
+ ```
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'setSolidColor(color: string): void;'
+ parameters:
+ - id: color
+ description: >-
+ A string that specifies the fill color in HTML color format, in the form \#RRGGBB (e.g., "FFA500") or as a
+ named HTML color (e.g., "orange").
+ type: string
+ return:
+ type: void
+ description: ''
+ - name: toJSON()
+ uid: 'powerpoint!PowerPoint.ShapeFill#toJSON:member(1)'
+ package: powerpoint!
+ fullName: toJSON()
+ summary: >-
+ Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to
+ `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is
+ passed to it.) Whereas the original `PowerPoint.ShapeFill` object is an API object, the `toJSON` method returns a
+ plain JavaScript object (typed as `PowerPoint.Interfaces.ShapeFillData`) that contains shallow copies of
+ any loaded child properties from the original object.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'toJSON(): PowerPoint.Interfaces.ShapeFillData;'
+ return:
+ type: ''
+ description: ''
+extends: ''
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapefilltype.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapefilltype.yml
new file mode 100644
index 000000000..342862823
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapefilltype.yml
@@ -0,0 +1,58 @@
+### YamlMime:TSEnum
+name: PowerPoint.ShapeFillType
+uid: 'powerpoint!PowerPoint.ShapeFillType:enum'
+package: powerpoint!
+fullName: PowerPoint.ShapeFillType
+summary: Specifies a shape's fill type.
+remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+isPreview: false
+isDeprecated: false
+fields:
+ - name: gradient
+ uid: 'powerpoint!PowerPoint.ShapeFillType.gradient:member'
+ package: powerpoint!
+ summary: |-
+ Specifies that the shape should have gradient fill.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Gradient"'
+ - name: noFill
+ uid: 'powerpoint!PowerPoint.ShapeFillType.noFill:member'
+ package: powerpoint!
+ summary: |-
+ Specifies that the shape should have no fill.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"NoFill"'
+ - name: pattern
+ uid: 'powerpoint!PowerPoint.ShapeFillType.pattern:member'
+ package: powerpoint!
+ summary: |-
+ Specifies that the shape should have pattern fill.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Pattern"'
+ - name: pictureAndTexture
+ uid: 'powerpoint!PowerPoint.ShapeFillType.pictureAndTexture:member'
+ package: powerpoint!
+ summary: |-
+ Specifies that the shape should have picture or texture fill.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"PictureAndTexture"'
+ - name: slideBackground
+ uid: 'powerpoint!PowerPoint.ShapeFillType.slideBackground:member'
+ package: powerpoint!
+ summary: |-
+ Specifies that the shape should have slide background fill.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"SlideBackground"'
+ - name: solid
+ uid: 'powerpoint!PowerPoint.ShapeFillType.solid:member'
+ package: powerpoint!
+ summary: |-
+ Specifies that the shape should have regular solid fill.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Solid"'
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapefont.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapefont.yml
new file mode 100644
index 000000000..1445929e1
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapefont.yml
@@ -0,0 +1,245 @@
+### YamlMime:TSType
+name: PowerPoint.ShapeFont
+uid: 'powerpoint!PowerPoint.ShapeFont:class'
+package: powerpoint!
+fullName: PowerPoint.ShapeFont
+summary: 'Represents the font attributes, such as font name, font size, and color, for a shape''s TextRange object.'
+remarks: >-
+ \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/text/get-set-textrange.yaml
+
+
+ // Sets the color of the selected text range to green.
+
+ await PowerPoint.run(async (context) => {
+ const textRange: PowerPoint.TextRange = context.presentation.getSelectedTextRange();
+ textRange.font.color = "green";
+ await context.sync();
+ });
+
+ ```
+isPreview: false
+isDeprecated: false
+type: class
+properties:
+ - name: bold
+ uid: 'powerpoint!PowerPoint.ShapeFont#bold:member'
+ package: powerpoint!
+ fullName: bold
+ summary: >-
+ Represents the bold status of font. Returns `null` if the `TextRange` includes both bold and non-bold text
+ fragments.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'bold: boolean;'
+ return:
+ type: boolean
+ - name: color
+ uid: 'powerpoint!PowerPoint.ShapeFont#color:member'
+ package: powerpoint!
+ fullName: color
+ summary: >-
+ HTML color code representation of the text color (e.g., "\#FF0000" represents red). Returns `null` if the
+ `TextRange` includes text fragments with different colors.
+ remarks: >-
+ \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/text/get-set-textrange.yaml
+
+
+ // Sets the color of the selected text range to green.
+
+ await PowerPoint.run(async (context) => {
+ const textRange: PowerPoint.TextRange = context.presentation.getSelectedTextRange();
+ textRange.font.color = "green";
+ await context.sync();
+ });
+
+ ```
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'color: string;'
+ return:
+ type: string
+ - name: context
+ uid: 'powerpoint!PowerPoint.ShapeFont#context:member'
+ package: powerpoint!
+ fullName: context
+ summary: >-
+ The request context associated with the object. This connects the add-in's process to the Office host
+ application's process.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'context: RequestContext;'
+ return:
+ type: ''
+ - name: italic
+ uid: 'powerpoint!PowerPoint.ShapeFont#italic:member'
+ package: powerpoint!
+ fullName: italic
+ summary: >-
+ Represents the italic status of font. Returns 'null' if the 'TextRange' includes both italic and non-italic text
+ fragments.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'italic: boolean;'
+ return:
+ type: boolean
+ - name: name
+ uid: 'powerpoint!PowerPoint.ShapeFont#name:member'
+ package: powerpoint!
+ fullName: name
+ summary: >-
+ Represents font name (e.g., "Calibri"). If the text is a Complex Script or East Asian language, this is the
+ corresponding font name; otherwise it is the Latin font name.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'name: string;'
+ return:
+ type: string
+ - name: size
+ uid: 'powerpoint!PowerPoint.ShapeFont#size:member'
+ package: powerpoint!
+ fullName: size
+ summary: >-
+ Represents font size in points (e.g., 11). Returns null if the TextRange includes text fragments with different
+ font sizes.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'size: number;'
+ return:
+ type: number
+ - name: underline
+ uid: 'powerpoint!PowerPoint.ShapeFont#underline:member'
+ package: powerpoint!
+ fullName: underline
+ summary: >-
+ Type of underline applied to the font. Returns `null` if the `TextRange` includes text fragments with different
+ underline styles. See
+ [PowerPoint.ShapeFontUnderlineStyle](xref:powerpoint!PowerPoint.ShapeFontUnderlineStyle:enum) for details.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: >-
+ underline: PowerPoint.ShapeFontUnderlineStyle | "None" | "Single" | "Double" | "Heavy" | "Dotted" |
+ "DottedHeavy" | "Dash" | "DashHeavy" | "DashLong" | "DashLongHeavy" | "DotDash" | "DotDashHeavy" | "DotDotDash"
+ | "DotDotDashHeavy" | "Wavy" | "WavyHeavy" | "WavyDouble";
+ return:
+ type: >-
+ | "None" | "Single" | "Double" | "Heavy" |
+ "Dotted" | "DottedHeavy" | "Dash" | "DashHeavy" | "DashLong" | "DashLongHeavy" | "DotDash" | "DotDashHeavy" |
+ "DotDotDash" | "DotDotDashHeavy" | "Wavy" | "WavyHeavy" | "WavyDouble"
+methods:
+ - name: load(options)
+ uid: 'powerpoint!PowerPoint.ShapeFont#load:member(1)'
+ package: powerpoint!
+ fullName: load(options)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(options?: PowerPoint.Interfaces.ShapeFontLoadOptions): PowerPoint.ShapeFont;'
+ parameters:
+ - id: options
+ description: Provides options for which properties of the object to load.
+ type: ''
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNames)
+ uid: 'powerpoint!PowerPoint.ShapeFont#load:member(2)'
+ package: powerpoint!
+ fullName: load(propertyNames)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(propertyNames?: string | string[]): PowerPoint.ShapeFont;'
+ parameters:
+ - id: propertyNames
+ description: A comma-delimited string or an array of strings that specify the properties to load.
+ type: 'string | string[]'
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNamesAndPaths)
+ uid: 'powerpoint!PowerPoint.ShapeFont#load:member(3)'
+ package: powerpoint!
+ fullName: load(propertyNamesAndPaths)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: |-
+ load(propertyNamesAndPaths?: {
+ select?: string;
+ expand?: string;
+ }): PowerPoint.ShapeFont;
+ parameters:
+ - id: propertyNamesAndPaths
+ description: >-
+ `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and
+ `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ type: |-
+ {
+ select?: string;
+ expand?: string;
+ }
+ return:
+ type: ''
+ description: ''
+ - name: toJSON()
+ uid: 'powerpoint!PowerPoint.ShapeFont#toJSON:member(1)'
+ package: powerpoint!
+ fullName: toJSON()
+ summary: >-
+ Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to
+ `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is
+ passed to it.) Whereas the original `PowerPoint.ShapeFont` object is an API object, the `toJSON` method returns a
+ plain JavaScript object (typed as `PowerPoint.Interfaces.ShapeFontData`) that contains shallow copies of
+ any loaded child properties from the original object.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'toJSON(): PowerPoint.Interfaces.ShapeFontData;'
+ return:
+ type: ''
+ description: ''
+extends: ''
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapefontunderlinestyle.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapefontunderlinestyle.yml
new file mode 100644
index 000000000..dc1790ee1
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapefontunderlinestyle.yml
@@ -0,0 +1,146 @@
+### YamlMime:TSEnum
+name: PowerPoint.ShapeFontUnderlineStyle
+uid: 'powerpoint!PowerPoint.ShapeFontUnderlineStyle:enum'
+package: powerpoint!
+fullName: PowerPoint.ShapeFontUnderlineStyle
+summary: The type of underline applied to a font.
+remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+isPreview: false
+isDeprecated: false
+fields:
+ - name: dash
+ uid: 'powerpoint!PowerPoint.ShapeFontUnderlineStyle.dash:member'
+ package: powerpoint!
+ summary: |-
+ Underlining of text with a line containing dashes.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Dash"'
+ - name: dashHeavy
+ uid: 'powerpoint!PowerPoint.ShapeFontUnderlineStyle.dashHeavy:member'
+ package: powerpoint!
+ summary: |-
+ Underlining of text with a thick line containing dashes.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"DashHeavy"'
+ - name: dashLong
+ uid: 'powerpoint!PowerPoint.ShapeFontUnderlineStyle.dashLong:member'
+ package: powerpoint!
+ summary: |-
+ Underlining of text with a line containing long dashes.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"DashLong"'
+ - name: dashLongHeavy
+ uid: 'powerpoint!PowerPoint.ShapeFontUnderlineStyle.dashLongHeavy:member'
+ package: powerpoint!
+ summary: |-
+ Underlining of text with a thick line containing long dashes.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"DashLongHeavy"'
+ - name: dotDash
+ uid: 'powerpoint!PowerPoint.ShapeFontUnderlineStyle.dotDash:member'
+ package: powerpoint!
+ summary: |-
+ Underlining of text with a line containing dots and dashes.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"DotDash"'
+ - name: dotDashHeavy
+ uid: 'powerpoint!PowerPoint.ShapeFontUnderlineStyle.dotDashHeavy:member'
+ package: powerpoint!
+ summary: |-
+ Underlining of text with a thick line containing dots and dashes.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"DotDashHeavy"'
+ - name: dotDotDash
+ uid: 'powerpoint!PowerPoint.ShapeFontUnderlineStyle.dotDotDash:member'
+ package: powerpoint!
+ summary: |-
+ Underlining of text with a line containing double dots and dashes.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"DotDotDash"'
+ - name: dotDotDashHeavy
+ uid: 'powerpoint!PowerPoint.ShapeFontUnderlineStyle.dotDotDashHeavy:member'
+ package: powerpoint!
+ summary: |-
+ Underlining of text with a thick line containing double dots and dashes.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"DotDotDashHeavy"'
+ - name: dotted
+ uid: 'powerpoint!PowerPoint.ShapeFontUnderlineStyle.dotted:member'
+ package: powerpoint!
+ summary: |-
+ Underlining of text with a dotted line.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Dotted"'
+ - name: dottedHeavy
+ uid: 'powerpoint!PowerPoint.ShapeFontUnderlineStyle.dottedHeavy:member'
+ package: powerpoint!
+ summary: |-
+ Underlining of text with a thick, dotted line.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"DottedHeavy"'
+ - name: double
+ uid: 'powerpoint!PowerPoint.ShapeFontUnderlineStyle.double:member'
+ package: powerpoint!
+ summary: |-
+ Underlining of text with double lines.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Double"'
+ - name: heavy
+ uid: 'powerpoint!PowerPoint.ShapeFontUnderlineStyle.heavy:member'
+ package: powerpoint!
+ summary: |-
+ Underlining of text with a thick line.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Heavy"'
+ - name: none
+ uid: 'powerpoint!PowerPoint.ShapeFontUnderlineStyle.none:member'
+ package: powerpoint!
+ summary: |-
+ No underlining.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"None"'
+ - name: single
+ uid: 'powerpoint!PowerPoint.ShapeFontUnderlineStyle.single:member'
+ package: powerpoint!
+ summary: |-
+ Regular single line underlining.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Single"'
+ - name: wavy
+ uid: 'powerpoint!PowerPoint.ShapeFontUnderlineStyle.wavy:member'
+ package: powerpoint!
+ summary: |-
+ Underlining of text with a wavy line.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Wavy"'
+ - name: wavyDouble
+ uid: 'powerpoint!PowerPoint.ShapeFontUnderlineStyle.wavyDouble:member'
+ package: powerpoint!
+ summary: |-
+ Underlining of text with double wavy lines.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"WavyDouble"'
+ - name: wavyHeavy
+ uid: 'powerpoint!PowerPoint.ShapeFontUnderlineStyle.wavyHeavy:member'
+ package: powerpoint!
+ summary: |-
+ Underlining of text with a thick, wavy line.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"WavyHeavy"'
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapelinedashstyle.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapelinedashstyle.yml
new file mode 100644
index 000000000..f16eefea1
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapelinedashstyle.yml
@@ -0,0 +1,136 @@
+### YamlMime:TSEnum
+name: PowerPoint.ShapeLineDashStyle
+uid: 'powerpoint!PowerPoint.ShapeLineDashStyle:enum'
+package: powerpoint!
+fullName: PowerPoint.ShapeLineDashStyle
+summary: Specifies the dash style for a line.
+remarks: >-
+ \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/shapes/get-shapes-by-type.yaml
+
+
+ // Changes the dash style of every line in the slide.
+
+ await PowerPoint.run(async (context) => {
+ // Get the type of shape for every shape in the collection.
+ const shapes: PowerPoint.ShapeCollection = context.presentation.slides.getItemAt(0).shapes;
+ shapes.load("type");
+ await context.sync();
+
+ // Change the dash style for shapes of the type `line`.
+ shapes.items.forEach((shape) => {
+ if (shape.type === PowerPoint.ShapeType.line) {
+ shape.lineFormat.dashStyle = PowerPoint.ShapeLineDashStyle.dashDot;
+ }
+ });
+ await context.sync();
+ });
+
+ ```
+isPreview: false
+isDeprecated: false
+fields:
+ - name: dash
+ uid: 'powerpoint!PowerPoint.ShapeLineDashStyle.dash:member'
+ package: powerpoint!
+ summary: |-
+ The dash line pattern.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Dash"'
+ - name: dashDot
+ uid: 'powerpoint!PowerPoint.ShapeLineDashStyle.dashDot:member'
+ package: powerpoint!
+ summary: |-
+ The dash-dot line pattern.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"DashDot"'
+ - name: dashDotDot
+ uid: 'powerpoint!PowerPoint.ShapeLineDashStyle.dashDotDot:member'
+ package: powerpoint!
+ summary: |-
+ The dash-dot-dot line pattern.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"DashDotDot"'
+ - name: longDash
+ uid: 'powerpoint!PowerPoint.ShapeLineDashStyle.longDash:member'
+ package: powerpoint!
+ summary: |-
+ The long dash line pattern.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"LongDash"'
+ - name: longDashDot
+ uid: 'powerpoint!PowerPoint.ShapeLineDashStyle.longDashDot:member'
+ package: powerpoint!
+ summary: |-
+ The long dash-dot line pattern.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"LongDashDot"'
+ - name: longDashDotDot
+ uid: 'powerpoint!PowerPoint.ShapeLineDashStyle.longDashDotDot:member'
+ package: powerpoint!
+ summary: |-
+ The long dash-dot-dot line pattern.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"LongDashDotDot"'
+ - name: roundDot
+ uid: 'powerpoint!PowerPoint.ShapeLineDashStyle.roundDot:member'
+ package: powerpoint!
+ summary: |-
+ The round dot line pattern.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"RoundDot"'
+ - name: solid
+ uid: 'powerpoint!PowerPoint.ShapeLineDashStyle.solid:member'
+ package: powerpoint!
+ summary: |-
+ The solid line pattern.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Solid"'
+ - name: squareDot
+ uid: 'powerpoint!PowerPoint.ShapeLineDashStyle.squareDot:member'
+ package: powerpoint!
+ summary: |-
+ The square dot line pattern.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"SquareDot"'
+ - name: systemDash
+ uid: 'powerpoint!PowerPoint.ShapeLineDashStyle.systemDash:member'
+ package: powerpoint!
+ summary: |-
+ The system dash line pattern.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"SystemDash"'
+ - name: systemDashDot
+ uid: 'powerpoint!PowerPoint.ShapeLineDashStyle.systemDashDot:member'
+ package: powerpoint!
+ summary: |-
+ The system dash-dot line pattern.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"SystemDashDot"'
+ - name: systemDot
+ uid: 'powerpoint!PowerPoint.ShapeLineDashStyle.systemDot:member'
+ package: powerpoint!
+ summary: |-
+ The system dot line pattern.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"SystemDot"'
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapelineformat.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapelineformat.yml
new file mode 100644
index 000000000..1c689d7ca
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapelineformat.yml
@@ -0,0 +1,265 @@
+### YamlMime:TSType
+name: PowerPoint.ShapeLineFormat
+uid: 'powerpoint!PowerPoint.ShapeLineFormat:class'
+package: powerpoint!
+fullName: PowerPoint.ShapeLineFormat
+summary: >-
+ Represents the line formatting for the shape object. For images and geometric shapes, line formatting represents the
+ border of the shape.
+remarks: >-
+ \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/shapes/get-shapes-by-type.yaml
+
+
+ // Changes the dash style of every line in the slide.
+
+ await PowerPoint.run(async (context) => {
+ // Get the type of shape for every shape in the collection.
+ const shapes: PowerPoint.ShapeCollection = context.presentation.slides.getItemAt(0).shapes;
+ shapes.load("type");
+ await context.sync();
+
+ // Change the dash style for shapes of the type `line`.
+ shapes.items.forEach((shape) => {
+ if (shape.type === PowerPoint.ShapeType.line) {
+ shape.lineFormat.dashStyle = PowerPoint.ShapeLineDashStyle.dashDot;
+ }
+ });
+ await context.sync();
+ });
+
+ ```
+isPreview: false
+isDeprecated: false
+type: class
+properties:
+ - name: color
+ uid: 'powerpoint!PowerPoint.ShapeLineFormat#color:member'
+ package: powerpoint!
+ fullName: color
+ summary: >-
+ Represents the line color in HTML color format, in the form \#RRGGBB (e.g., "FFA500") or as a named HTML color
+ (e.g., "orange").
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'color: string;'
+ return:
+ type: string
+ - name: context
+ uid: 'powerpoint!PowerPoint.ShapeLineFormat#context:member'
+ package: powerpoint!
+ fullName: context
+ summary: >-
+ The request context associated with the object. This connects the add-in's process to the Office host
+ application's process.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'context: RequestContext;'
+ return:
+ type: ''
+ - name: dashStyle
+ uid: 'powerpoint!PowerPoint.ShapeLineFormat#dashStyle:member'
+ package: powerpoint!
+ fullName: dashStyle
+ summary: >-
+ Represents the dash style of the line. Returns null when the line is not visible or there are inconsistent dash
+ styles. See PowerPoint.ShapeLineDashStyle for details.
+ remarks: >-
+ \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/shapes/get-shapes-by-type.yaml
+
+
+ // Changes the dash style of every line in the slide.
+
+ await PowerPoint.run(async (context) => {
+ // Get the type of shape for every shape in the collection.
+ const shapes: PowerPoint.ShapeCollection = context.presentation.slides.getItemAt(0).shapes;
+ shapes.load("type");
+ await context.sync();
+
+ // Change the dash style for shapes of the type `line`.
+ shapes.items.forEach((shape) => {
+ if (shape.type === PowerPoint.ShapeType.line) {
+ shape.lineFormat.dashStyle = PowerPoint.ShapeLineDashStyle.dashDot;
+ }
+ });
+ await context.sync();
+ });
+
+ ```
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: >-
+ dashStyle: PowerPoint.ShapeLineDashStyle | "Dash" | "DashDot" | "DashDotDot" | "LongDash" | "LongDashDot" |
+ "RoundDot" | "Solid" | "SquareDot" | "LongDashDotDot" | "SystemDash" | "SystemDot" | "SystemDashDot";
+ return:
+ type: >-
+ | "Dash" | "DashDot" | "DashDotDot" | "LongDash"
+ | "LongDashDot" | "RoundDot" | "Solid" | "SquareDot" | "LongDashDotDot" | "SystemDash" | "SystemDot" |
+ "SystemDashDot"
+ - name: style
+ uid: 'powerpoint!PowerPoint.ShapeLineFormat#style:member'
+ package: powerpoint!
+ fullName: style
+ summary: >-
+ Represents the line style of the shape. Returns null when the line is not visible or there are inconsistent
+ styles. See PowerPoint.ShapeLineStyle for details.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'style: PowerPoint.ShapeLineStyle | "Single" | "ThickBetweenThin" | "ThickThin" | "ThinThick" | "ThinThin";'
+ return:
+ type: >-
+ | "Single" | "ThickBetweenThin" | "ThickThin" |
+ "ThinThick" | "ThinThin"
+ - name: transparency
+ uid: 'powerpoint!PowerPoint.ShapeLineFormat#transparency:member'
+ package: powerpoint!
+ fullName: transparency
+ summary: >-
+ Specifies the transparency percentage of the line as a value from 0.0 (opaque) through 1.0 (clear). Returns null
+ when the shape has inconsistent transparencies.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'transparency: number;'
+ return:
+ type: number
+ - name: visible
+ uid: 'powerpoint!PowerPoint.ShapeLineFormat#visible:member'
+ package: powerpoint!
+ fullName: visible
+ summary: >-
+ Specifies if the line formatting of a shape element is visible. Returns `null` when the shape has inconsistent
+ visibilities.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'visible: boolean;'
+ return:
+ type: boolean
+ - name: weight
+ uid: 'powerpoint!PowerPoint.ShapeLineFormat#weight:member'
+ package: powerpoint!
+ fullName: weight
+ summary: >-
+ Represents the weight of the line, in points. Returns `null` when the line is not visible or there are
+ inconsistent line weights.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'weight: number;'
+ return:
+ type: number
+methods:
+ - name: load(options)
+ uid: 'powerpoint!PowerPoint.ShapeLineFormat#load:member(1)'
+ package: powerpoint!
+ fullName: load(options)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(options?: PowerPoint.Interfaces.ShapeLineFormatLoadOptions): PowerPoint.ShapeLineFormat;'
+ parameters:
+ - id: options
+ description: Provides options for which properties of the object to load.
+ type: ''
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNames)
+ uid: 'powerpoint!PowerPoint.ShapeLineFormat#load:member(2)'
+ package: powerpoint!
+ fullName: load(propertyNames)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(propertyNames?: string | string[]): PowerPoint.ShapeLineFormat;'
+ parameters:
+ - id: propertyNames
+ description: A comma-delimited string or an array of strings that specify the properties to load.
+ type: 'string | string[]'
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNamesAndPaths)
+ uid: 'powerpoint!PowerPoint.ShapeLineFormat#load:member(3)'
+ package: powerpoint!
+ fullName: load(propertyNamesAndPaths)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: |-
+ load(propertyNamesAndPaths?: {
+ select?: string;
+ expand?: string;
+ }): PowerPoint.ShapeLineFormat;
+ parameters:
+ - id: propertyNamesAndPaths
+ description: >-
+ `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and
+ `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ type: |-
+ {
+ select?: string;
+ expand?: string;
+ }
+ return:
+ type: ''
+ description: ''
+ - name: toJSON()
+ uid: 'powerpoint!PowerPoint.ShapeLineFormat#toJSON:member(1)'
+ package: powerpoint!
+ fullName: toJSON()
+ summary: >-
+ Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to
+ `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is
+ passed to it.) Whereas the original `PowerPoint.ShapeLineFormat` object is an API object, the `toJSON` method
+ returns a plain JavaScript object (typed as `PowerPoint.Interfaces.ShapeLineFormatData`) that contains
+ shallow copies of any loaded child properties from the original object.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'toJSON(): PowerPoint.Interfaces.ShapeLineFormatData;'
+ return:
+ type: ''
+ description: ''
+extends: ''
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapelinestyle.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapelinestyle.yml
new file mode 100644
index 000000000..e6686549d
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapelinestyle.yml
@@ -0,0 +1,54 @@
+### YamlMime:TSEnum
+name: PowerPoint.ShapeLineStyle
+uid: 'powerpoint!PowerPoint.ShapeLineStyle:enum'
+package: powerpoint!
+fullName: PowerPoint.ShapeLineStyle
+summary: Specifies the style for a line.
+remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+isPreview: false
+isDeprecated: false
+fields:
+ - name: single
+ uid: 'powerpoint!PowerPoint.ShapeLineStyle.single:member'
+ package: powerpoint!
+ summary: |-
+ Single line.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Single"'
+ - name: thickBetweenThin
+ uid: 'powerpoint!PowerPoint.ShapeLineStyle.thickBetweenThin:member'
+ package: powerpoint!
+ summary: |-
+ Thick line with a thin line on each side.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"ThickBetweenThin"'
+ - name: thickThin
+ uid: 'powerpoint!PowerPoint.ShapeLineStyle.thickThin:member'
+ package: powerpoint!
+ summary: >-
+ Thick line next to thin line. For horizontal lines, the thick line is above the thin line. For vertical lines, the
+ thick line is to the left of the thin line.
+
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"ThickThin"'
+ - name: thinThick
+ uid: 'powerpoint!PowerPoint.ShapeLineStyle.thinThick:member'
+ package: powerpoint!
+ summary: >-
+ Thick line next to thin line. For horizontal lines, the thick line is below the thin line. For vertical lines, the
+ thick line is to the right of the thin line.
+
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"ThinThick"'
+ - name: thinThin
+ uid: 'powerpoint!PowerPoint.ShapeLineStyle.thinThin:member'
+ package: powerpoint!
+ summary: |-
+ Two thin lines.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"ThinThin"'
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapescopedcollection.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapescopedcollection.yml
new file mode 100644
index 000000000..e3ac63938
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapescopedcollection.yml
@@ -0,0 +1,247 @@
+### YamlMime:TSType
+name: PowerPoint.ShapeScopedCollection
+uid: 'powerpoint!PowerPoint.ShapeScopedCollection:class'
+package: powerpoint!
+fullName: PowerPoint.ShapeScopedCollection
+summary: Represents a collection of shapes.
+remarks: >-
+ \[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/shapes/get-set-shapes.yaml
+
+
+ // Changes the selected shapes fill color to red.
+
+ await PowerPoint.run(async (context) => {
+ const shapes: PowerPoint.ShapeScopedCollection = context.presentation.getSelectedShapes();
+ const shapeCount = shapes.getCount();
+ shapes.load("items");
+ await context.sync();
+ shapes.items.map((shape) => {
+ shape.fill.setSolidColor("red");
+ });
+ await context.sync();
+ });
+
+ ```
+isPreview: false
+isDeprecated: false
+type: class
+properties:
+ - name: context
+ uid: 'powerpoint!PowerPoint.ShapeScopedCollection#context:member'
+ package: powerpoint!
+ fullName: context
+ summary: >-
+ The request context associated with the object. This connects the add-in's process to the Office host
+ application's process.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'context: RequestContext;'
+ return:
+ type: ''
+ - name: items
+ uid: 'powerpoint!PowerPoint.ShapeScopedCollection#items:member'
+ package: powerpoint!
+ fullName: items
+ summary: Gets the loaded child items in this collection.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly items: PowerPoint.Shape[];'
+ return:
+ type: '[]'
+methods:
+ - name: getCount()
+ uid: 'powerpoint!PowerPoint.ShapeScopedCollection#getCount:member(1)'
+ package: powerpoint!
+ fullName: getCount()
+ summary: Gets the number of shapes in the collection.
+ remarks: >-
+ \[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/shapes/get-set-shapes.yaml
+
+
+ // Gets the shapes you selected on the slide and displays their IDs on the task pane.
+
+ await PowerPoint.run(async (context) => {
+ let finalTable = "";
+ const shapes: PowerPoint.ShapeScopedCollection = context.presentation.getSelectedShapes();
+ const shapeCount = shapes.getCount();
+ await context.sync();
+ finalTable += "
getSelectedShapes.getCount returned:" + shapeCount.value + "
";
+ finalTable +=
+ "
Index | Id |
";
+ shapes.load("items");
+ await context.sync();
+ shapes.items.map((shape, index) => {
+ finalTable += "" + index + " | " + shape.id + " |
";
+ });
+ finalTable += "
";
+ $("#outputSpan").empty();
+ $("#outputSpan").append(finalTable);
+ });
+
+ ```
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getCount(): OfficeExtension.ClientResult;'
+ return:
+ type: '<number>'
+ description: The number of shapes in the collection.
+ - name: getItem(key)
+ uid: 'powerpoint!PowerPoint.ShapeScopedCollection#getItem:member(1)'
+ package: powerpoint!
+ fullName: getItem(key)
+ summary: Gets a shape using its unique ID. An error is thrown if the shape does not exist.
+ remarks: '\[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getItem(key: string): PowerPoint.Shape;'
+ parameters:
+ - id: key
+ description: The ID of the shape.
+ type: string
+ return:
+ type: ''
+ description: 'The shape with the unique ID. If such a shape does not exist, an error is thrown.'
+ - name: getItemAt(index)
+ uid: 'powerpoint!PowerPoint.ShapeScopedCollection#getItemAt:member(1)'
+ package: powerpoint!
+ fullName: getItemAt(index)
+ summary: Gets a shape using its zero-based index in the collection. An error is thrown if the index is out of range.
+ remarks: '\[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getItemAt(index: number): PowerPoint.Shape;'
+ parameters:
+ - id: index
+ description: The index of the shape in the collection.
+ type: number
+ return:
+ type: ''
+ description: The shape at the given index. An error is thrown if index is out of range.
+ - name: getItemOrNullObject(id)
+ uid: 'powerpoint!PowerPoint.ShapeScopedCollection#getItemOrNullObject:member(1)'
+ package: powerpoint!
+ fullName: getItemOrNullObject(id)
+ summary: >-
+ Gets a shape using its unique ID. If such a shape does not exist, an object with an `isNullObject` property set to
+ true is returned.
+ remarks: '\[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getItemOrNullObject(id: string): PowerPoint.Shape;'
+ parameters:
+ - id: id
+ description: The ID of the shape.
+ type: string
+ return:
+ type: ''
+ description: >-
+ The shape with the unique ID. If such a shape does not exist, an object with an `isNullObject` property set to
+ true is returned.
+ - name: load(options)
+ uid: 'powerpoint!PowerPoint.ShapeScopedCollection#load:member(1)'
+ package: powerpoint!
+ fullName: load(options)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: >-
+ load(options?: PowerPoint.Interfaces.ShapeScopedCollectionLoadOptions &
+ PowerPoint.Interfaces.CollectionLoadOptions): PowerPoint.ShapeScopedCollection;
+ parameters:
+ - id: options
+ description: Provides options for which properties of the object to load.
+ type: >-
+ &
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNames)
+ uid: 'powerpoint!PowerPoint.ShapeScopedCollection#load:member(2)'
+ package: powerpoint!
+ fullName: load(propertyNames)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(propertyNames?: string | string[]): PowerPoint.ShapeScopedCollection;'
+ parameters:
+ - id: propertyNames
+ description: A comma-delimited string or an array of strings that specify the properties to load.
+ type: 'string | string[]'
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNamesAndPaths)
+ uid: 'powerpoint!PowerPoint.ShapeScopedCollection#load:member(3)'
+ package: powerpoint!
+ fullName: load(propertyNamesAndPaths)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(propertyNamesAndPaths?: OfficeExtension.LoadOption): PowerPoint.ShapeScopedCollection;'
+ parameters:
+ - id: propertyNamesAndPaths
+ description: >-
+ `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and
+ `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ type: ''
+ return:
+ type: ''
+ description: ''
+ - name: toJSON()
+ uid: 'powerpoint!PowerPoint.ShapeScopedCollection#toJSON:member(1)'
+ package: powerpoint!
+ fullName: toJSON()
+ summary: >-
+ Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to
+ `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is
+ passed to it.) Whereas the original `PowerPoint.ShapeScopedCollection` object is an API object, the `toJSON`
+ method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.ShapeScopedCollectionData`) that
+ contains an "items" array with shallow copies of any loaded properties from the collection's items.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'toJSON(): PowerPoint.Interfaces.ShapeScopedCollectionData;'
+ return:
+ type: ''
+ description: ''
+extends: ''
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapetype.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapetype.yml
new file mode 100644
index 000000000..c594c6133
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.shapetype.yml
@@ -0,0 +1,88 @@
+### YamlMime:TSEnum
+name: PowerPoint.ShapeType
+uid: 'powerpoint!PowerPoint.ShapeType:enum'
+package: powerpoint!
+fullName: PowerPoint.ShapeType
+summary: Specifies the type of a shape.
+remarks: >-
+ \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/shapes/get-shapes-by-type.yaml
+
+
+ // Changes the dash style of every line in the slide.
+
+ await PowerPoint.run(async (context) => {
+ // Get the type of shape for every shape in the collection.
+ const shapes: PowerPoint.ShapeCollection = context.presentation.slides.getItemAt(0).shapes;
+ shapes.load("type");
+ await context.sync();
+
+ // Change the dash style for shapes of the type `line`.
+ shapes.items.forEach((shape) => {
+ if (shape.type === PowerPoint.ShapeType.line) {
+ shape.lineFormat.dashStyle = PowerPoint.ShapeLineDashStyle.dashDot;
+ }
+ });
+ await context.sync();
+ });
+
+ ```
+isPreview: false
+isDeprecated: false
+fields:
+ - name: geometricShape
+ uid: 'powerpoint!PowerPoint.ShapeType.geometricShape:member'
+ package: powerpoint!
+ summary: |-
+ The shape is a geometric shape such as rectangle
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"GeometricShape"'
+ - name: group
+ uid: 'powerpoint!PowerPoint.ShapeType.group:member'
+ package: powerpoint!
+ summary: |-
+ The shape is a group shape which contains sub-shapes
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Group"'
+ - name: image
+ uid: 'powerpoint!PowerPoint.ShapeType.image:member'
+ package: powerpoint!
+ summary: |-
+ The shape is an image
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Image"'
+ - name: line
+ uid: 'powerpoint!PowerPoint.ShapeType.line:member'
+ package: powerpoint!
+ summary: |-
+ The shape is a line
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Line"'
+ - name: table
+ uid: 'powerpoint!PowerPoint.ShapeType.table:member'
+ package: powerpoint!
+ summary: |-
+ The shape is a table
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Table"'
+ - name: unsupported
+ uid: 'powerpoint!PowerPoint.ShapeType.unsupported:member'
+ package: powerpoint!
+ summary: |-
+ The given shape's type is unsupported.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Unsupported"'
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.slide.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.slide.yml
new file mode 100644
index 000000000..987106953
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.slide.yml
@@ -0,0 +1,307 @@
+### YamlMime:TSType
+name: PowerPoint.Slide
+uid: 'powerpoint!PowerPoint.Slide:class'
+package: powerpoint!
+fullName: PowerPoint.Slide
+summary: Represents a single slide of a presentation.
+remarks: >-
+ \[ [API set: PowerPointApi 1.2](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/shapes/get-set-shapes.yaml
+
+
+ // Reselects shapes that were saved previously.
+
+ await PowerPoint.run(async (context) => {
+ const slide1: PowerPoint.Slide = context.presentation.slides.getItem(savedSlideSelection[0]);
+ await context.sync();
+ slide1.setSelectedShapes(savedShapeSelection);
+ await context.sync();
+ });
+
+ ```
+isPreview: false
+isDeprecated: false
+type: class
+properties:
+ - name: context
+ uid: 'powerpoint!PowerPoint.Slide#context:member'
+ package: powerpoint!
+ fullName: context
+ summary: >-
+ The request context associated with the object. This connects the add-in's process to the Office host
+ application's process.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'context: RequestContext;'
+ return:
+ type: ''
+ - name: hyperlinks
+ uid: 'powerpoint!PowerPoint.Slide#hyperlinks:member'
+ package: powerpoint!
+ fullName: hyperlinks
+ summary: Returns a collection of hyperlinks in the slide.
+ remarks: '\[ [API set: PowerPointApi 1.6](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly hyperlinks: PowerPoint.HyperlinkCollection;'
+ return:
+ type: ''
+ - name: id
+ uid: 'powerpoint!PowerPoint.Slide#id:member'
+ package: powerpoint!
+ fullName: id
+ summary: Gets the unique ID of the slide.
+ remarks: '\[ [API set: PowerPointApi 1.2](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly id: string;'
+ return:
+ type: string
+ - name: layout
+ uid: 'powerpoint!PowerPoint.Slide#layout:member'
+ package: powerpoint!
+ fullName: layout
+ summary: Gets the layout of the slide.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly layout: PowerPoint.SlideLayout;'
+ return:
+ type: ''
+ - name: shapes
+ uid: 'powerpoint!PowerPoint.Slide#shapes:member'
+ package: powerpoint!
+ fullName: shapes
+ summary: Returns a collection of shapes in the slide.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly shapes: PowerPoint.ShapeCollection;'
+ return:
+ type: ''
+ - name: slideMaster
+ uid: 'powerpoint!PowerPoint.Slide#slideMaster:member'
+ package: powerpoint!
+ fullName: slideMaster
+ summary: Gets the `SlideMaster` object that represents the slide's default content.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly slideMaster: PowerPoint.SlideMaster;'
+ return:
+ type: ''
+ - name: tags
+ uid: 'powerpoint!PowerPoint.Slide#tags:member'
+ package: powerpoint!
+ fullName: tags
+ summary: Returns a collection of tags in the slide.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly tags: PowerPoint.TagCollection;'
+ return:
+ type: ''
+methods:
+ - name: delete()
+ uid: 'powerpoint!PowerPoint.Slide#delete:member(1)'
+ package: powerpoint!
+ fullName: delete()
+ summary: Deletes the slide from the presentation. Does nothing if the slide does not exist.
+ remarks: >-
+ \[ [API set: PowerPointApi 1.2](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/slide-management/get-set-slides.yaml
+
+
+ // Deletes the selected slides.
+
+ await PowerPoint.run(async (context) => {
+ context.presentation.load("slides");
+ await context.sync();
+ const slides: PowerPoint.SlideScopedCollection = context.presentation.getSelectedSlides();
+ const slideCount = slides.getCount();
+ slides.load("items");
+ await context.sync();
+ slides.items.map((slide) => {
+ slide.delete();
+ });
+ });
+
+ ```
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'delete(): void;'
+ return:
+ type: void
+ description: ''
+ - name: load(options)
+ uid: 'powerpoint!PowerPoint.Slide#load:member(1)'
+ package: powerpoint!
+ fullName: load(options)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(options?: PowerPoint.Interfaces.SlideLoadOptions): PowerPoint.Slide;'
+ parameters:
+ - id: options
+ description: Provides options for which properties of the object to load.
+ type: ''
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNames)
+ uid: 'powerpoint!PowerPoint.Slide#load:member(2)'
+ package: powerpoint!
+ fullName: load(propertyNames)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(propertyNames?: string | string[]): PowerPoint.Slide;'
+ parameters:
+ - id: propertyNames
+ description: A comma-delimited string or an array of strings that specify the properties to load.
+ type: 'string | string[]'
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNamesAndPaths)
+ uid: 'powerpoint!PowerPoint.Slide#load:member(3)'
+ package: powerpoint!
+ fullName: load(propertyNamesAndPaths)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: |-
+ load(propertyNamesAndPaths?: {
+ select?: string;
+ expand?: string;
+ }): PowerPoint.Slide;
+ parameters:
+ - id: propertyNamesAndPaths
+ description: >-
+ `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and
+ `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ type: |-
+ {
+ select?: string;
+ expand?: string;
+ }
+ return:
+ type: ''
+ description: ''
+ - name: setSelectedShapes(shapeIds)
+ uid: 'powerpoint!PowerPoint.Slide#setSelectedShapes:member(1)'
+ package: powerpoint!
+ fullName: setSelectedShapes(shapeIds)
+ summary: Selects the specified shapes. Existing shape selection is replaced with the new selection.
+ remarks: >-
+ \[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/shapes/get-set-shapes.yaml
+
+
+ // Reselects shapes that were saved previously.
+
+ await PowerPoint.run(async (context) => {
+ const slide1: PowerPoint.Slide = context.presentation.slides.getItem(savedSlideSelection[0]);
+ await context.sync();
+ slide1.setSelectedShapes(savedShapeSelection);
+ await context.sync();
+ });
+
+
+ ...
+
+
+ // Selects the first two shapes on slide 1.
+
+ await PowerPoint.run(async (context) => {
+ context.presentation.load("slides");
+ await context.sync();
+ const slide1 = context.presentation.slides.getItemAt(0);
+ slide1.load("shapes");
+ await context.sync();
+ const shapes: PowerPoint.ShapeCollection = slide1.shapes;
+ const shape1: PowerPoint.Shape = shapes.getItemAt(0);
+ const shape2: PowerPoint.Shape = shapes.getItemAt(1);
+ shape1.load("id");
+ shape2.load("id");
+ await context.sync();
+ slide1.setSelectedShapes([shape1.id, shape2.id]);
+ await context.sync();
+ });
+
+ ```
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'setSelectedShapes(shapeIds: string[]): void;'
+ parameters:
+ - id: shapeIds
+ description: 'List of shape IDs to select in the slide. If the list is empty, the selection is cleared.'
+ type: 'string[]'
+ return:
+ type: void
+ description: ''
+ - name: toJSON()
+ uid: 'powerpoint!PowerPoint.Slide#toJSON:member(1)'
+ package: powerpoint!
+ fullName: toJSON()
+ summary: >-
+ Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to
+ `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is
+ passed to it.) Whereas the original `PowerPoint.Slide` object is an API object, the `toJSON` method returns a
+ plain JavaScript object (typed as `PowerPoint.Interfaces.SlideData`) that contains shallow copies of any
+ loaded child properties from the original object.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'toJSON(): PowerPoint.Interfaces.SlideData;'
+ return:
+ type: ''
+ description: ''
+extends: ''
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.slidecollection.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.slidecollection.yml
new file mode 100644
index 000000000..5b5589f95
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.slidecollection.yml
@@ -0,0 +1,298 @@
+### YamlMime:TSType
+name: PowerPoint.SlideCollection
+uid: 'powerpoint!PowerPoint.SlideCollection:class'
+package: powerpoint!
+fullName: PowerPoint.SlideCollection
+summary: Represents the collection of slides in the presentation.
+remarks: >-
+ \[ [API set: PowerPointApi 1.2](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/slide-management/add-slides.yaml
+
+
+ const chosenMaster = $("#master-id").val() as string;
+
+ const chosenLayout = $("#layout-id").val() as string;
+
+
+ await PowerPoint.run(async function(context) {
+ // Create a new slide using an existing master slide and layout.
+ const newSlideOptions: PowerPoint.AddSlideOptions = {
+ slideMasterId: chosenMaster, /* An ID from `Presentation.slideMasters`. */
+ layoutId: chosenLayout /* An ID from `SlideMaster.layouts`. */
+ };
+ context.presentation.slides.add(newSlideOptions);
+ await context.sync();
+ });
+
+ ```
+isPreview: false
+isDeprecated: false
+type: class
+properties:
+ - name: context
+ uid: 'powerpoint!PowerPoint.SlideCollection#context:member'
+ package: powerpoint!
+ fullName: context
+ summary: >-
+ The request context associated with the object. This connects the add-in's process to the Office host
+ application's process.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'context: RequestContext;'
+ return:
+ type: ''
+ - name: items
+ uid: 'powerpoint!PowerPoint.SlideCollection#items:member'
+ package: powerpoint!
+ fullName: items
+ summary: Gets the loaded child items in this collection.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly items: PowerPoint.Slide[];'
+ return:
+ type: '[]'
+methods:
+ - name: add(options)
+ uid: 'powerpoint!PowerPoint.SlideCollection#add:member(1)'
+ package: powerpoint!
+ fullName: add(options)
+ summary: Adds a new slide at the end of the collection.
+ remarks: >-
+ \[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/slide-management/add-slides.yaml
+
+
+ const chosenMaster = $("#master-id").val() as string;
+
+ const chosenLayout = $("#layout-id").val() as string;
+
+
+ await PowerPoint.run(async function(context) {
+ // Create a new slide using an existing master slide and layout.
+ const newSlideOptions: PowerPoint.AddSlideOptions = {
+ slideMasterId: chosenMaster, /* An ID from `Presentation.slideMasters`. */
+ layoutId: chosenLayout /* An ID from `SlideMaster.layouts`. */
+ };
+ context.presentation.slides.add(newSlideOptions);
+ await context.sync();
+ });
+
+ ```
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'add(options?: PowerPoint.AddSlideOptions): void;'
+ parameters:
+ - id: options
+ description: The options that define the theme of the new slide.
+ type: ''
+ return:
+ type: void
+ description: ''
+ - name: getCount()
+ uid: 'powerpoint!PowerPoint.SlideCollection#getCount:member(1)'
+ package: powerpoint!
+ fullName: getCount()
+ summary: Gets the number of slides in the collection.
+ remarks: '\[ [API set: PowerPointApi 1.2](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getCount(): OfficeExtension.ClientResult;'
+ return:
+ type: '<number>'
+ description: The number of slides in the collection.
+ - name: getItem(key)
+ uid: 'powerpoint!PowerPoint.SlideCollection#getItem:member(1)'
+ package: powerpoint!
+ fullName: getItem(key)
+ summary: Gets a slide using its unique ID.
+ remarks: '\[ [API set: PowerPointApi 1.2](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getItem(key: string): PowerPoint.Slide;'
+ parameters:
+ - id: key
+ description: The ID of the slide.
+ type: string
+ return:
+ type: ''
+ description: 'The slide with the unique ID. If such a slide does not exist, an error is thrown.'
+ - name: getItemAt(index)
+ uid: 'powerpoint!PowerPoint.SlideCollection#getItemAt:member(1)'
+ package: powerpoint!
+ fullName: getItemAt(index)
+ summary: >-
+ Gets a slide using its zero-based index in the collection. Slides are stored in the same order as they are shown
+ in the presentation.
+ remarks: >-
+ \[ [API set: PowerPointApi 1.2](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/slide-management/get-set-slides.yaml
+
+
+ // Selects slides 2, 4, and 5.
+
+ await PowerPoint.run(async (context) => {
+ context.presentation.load("slides");
+ await context.sync();
+ const slide2: PowerPoint.Slide = context.presentation.slides.getItemAt(1);
+ const slide4: PowerPoint.Slide = context.presentation.slides.getItemAt(3);
+ const slide5: PowerPoint.Slide = context.presentation.slides.getItemAt(4);
+ slide2.load("id");
+ slide4.load("id");
+ slide5.load("id");
+ try {
+ await context.sync();
+ } catch (error) {
+ console.warn("This action requires at least 5 slides in the presentation.");
+ return;
+ }
+ await context.sync();
+ context.presentation.setSelectedSlides([slide2.id, slide4.id, slide5.id]);
+ await context.sync();
+ });
+
+ ```
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getItemAt(index: number): PowerPoint.Slide;'
+ parameters:
+ - id: index
+ description: The index of the slide in the collection.
+ type: number
+ return:
+ type: ''
+ description: The slide at the given index. An error is thrown if index is out of range.
+ - name: getItemOrNullObject(id)
+ uid: 'powerpoint!PowerPoint.SlideCollection#getItemOrNullObject:member(1)'
+ package: powerpoint!
+ fullName: getItemOrNullObject(id)
+ summary: >-
+ Gets a slide using its unique ID. If such a slide does not exist, an object with an `isNullObject` property set to
+ true is returned. For further information, see [*OrNullObject methods and
+ properties](https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties).
+ remarks: '\[ [API set: PowerPointApi 1.2](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getItemOrNullObject(id: string): PowerPoint.Slide;'
+ parameters:
+ - id: id
+ description: The ID of the slide.
+ type: string
+ return:
+ type: ''
+ description: The slide with the unique ID.
+ - name: load(options)
+ uid: 'powerpoint!PowerPoint.SlideCollection#load:member(1)'
+ package: powerpoint!
+ fullName: load(options)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: >-
+ load(options?: PowerPoint.Interfaces.SlideCollectionLoadOptions & PowerPoint.Interfaces.CollectionLoadOptions):
+ PowerPoint.SlideCollection;
+ parameters:
+ - id: options
+ description: Provides options for which properties of the object to load.
+ type: >-
+ &
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNames)
+ uid: 'powerpoint!PowerPoint.SlideCollection#load:member(2)'
+ package: powerpoint!
+ fullName: load(propertyNames)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(propertyNames?: string | string[]): PowerPoint.SlideCollection;'
+ parameters:
+ - id: propertyNames
+ description: A comma-delimited string or an array of strings that specify the properties to load.
+ type: 'string | string[]'
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNamesAndPaths)
+ uid: 'powerpoint!PowerPoint.SlideCollection#load:member(3)'
+ package: powerpoint!
+ fullName: load(propertyNamesAndPaths)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(propertyNamesAndPaths?: OfficeExtension.LoadOption): PowerPoint.SlideCollection;'
+ parameters:
+ - id: propertyNamesAndPaths
+ description: >-
+ `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and
+ `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ type: ''
+ return:
+ type: ''
+ description: ''
+ - name: toJSON()
+ uid: 'powerpoint!PowerPoint.SlideCollection#toJSON:member(1)'
+ package: powerpoint!
+ fullName: toJSON()
+ summary: >-
+ Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to
+ `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is
+ passed to it.) Whereas the original `PowerPoint.SlideCollection` object is an API object, the `toJSON` method
+ returns a plain JavaScript object (typed as `PowerPoint.Interfaces.SlideCollectionData`) that contains an
+ "items" array with shallow copies of any loaded properties from the collection's items.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'toJSON(): PowerPoint.Interfaces.SlideCollectionData;'
+ return:
+ type: ''
+ description: ''
+extends: ''
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.slidelayout.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.slidelayout.yml
new file mode 100644
index 000000000..6ad7e506f
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.slidelayout.yml
@@ -0,0 +1,210 @@
+### YamlMime:TSType
+name: PowerPoint.SlideLayout
+uid: 'powerpoint!PowerPoint.SlideLayout:class'
+package: powerpoint!
+fullName: PowerPoint.SlideLayout
+summary: Represents the layout of a slide.
+remarks: >-
+ \[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/slide-management/add-slides.yaml
+
+
+ await PowerPoint.run(async function(context) {
+ // Load information about all the slide masters and associated layouts.
+ const slideMasters: PowerPoint.SlideMasterCollection = context.presentation.slideMasters.load("id, name, layouts/items/name, layouts/items/id");
+ await context.sync();
+
+ // Log the name and ID of each slide master.
+ for (let i = 0; i < slideMasters.items.length; i++) {
+ console.log("Master name: " + slideMasters.items[i].name);
+ console.log("Master ID: " + slideMasters.items[i].id);
+
+ // Log the name and ID of each slide layout in the slide master.
+ const layoutsInMaster: PowerPoint.SlideLayoutCollection = slideMasters.items[i].layouts;
+ for (let j = 0; j < layoutsInMaster.items.length; j++) {
+ console.log(" Layout name: " + layoutsInMaster.items[j].name + " Layout ID: " + layoutsInMaster.items[j].id);
+ }
+ }
+ });
+
+ ```
+isPreview: false
+isDeprecated: false
+type: class
+properties:
+ - name: context
+ uid: 'powerpoint!PowerPoint.SlideLayout#context:member'
+ package: powerpoint!
+ fullName: context
+ summary: >-
+ The request context associated with the object. This connects the add-in's process to the Office host
+ application's process.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'context: RequestContext;'
+ return:
+ type: ''
+ - name: id
+ uid: 'powerpoint!PowerPoint.SlideLayout#id:member'
+ package: powerpoint!
+ fullName: id
+ summary: Gets the unique ID of the slide layout.
+ remarks: >-
+ \[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/slide-management/add-slides.yaml
+
+
+ await PowerPoint.run(async function(context) {
+ // Load information about all the slide masters and associated layouts.
+ const slideMasters: PowerPoint.SlideMasterCollection = context.presentation.slideMasters.load("id, name, layouts/items/name, layouts/items/id");
+ await context.sync();
+
+ // Log the name and ID of each slide master.
+ for (let i = 0; i < slideMasters.items.length; i++) {
+ console.log("Master name: " + slideMasters.items[i].name);
+ console.log("Master ID: " + slideMasters.items[i].id);
+
+ // Log the name and ID of each slide layout in the slide master.
+ const layoutsInMaster: PowerPoint.SlideLayoutCollection = slideMasters.items[i].layouts;
+ for (let j = 0; j < layoutsInMaster.items.length; j++) {
+ console.log(" Layout name: " + layoutsInMaster.items[j].name + " Layout ID: " + layoutsInMaster.items[j].id);
+ }
+ }
+ });
+
+ ```
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly id: string;'
+ return:
+ type: string
+ - name: name
+ uid: 'powerpoint!PowerPoint.SlideLayout#name:member'
+ package: powerpoint!
+ fullName: name
+ summary: Gets the name of the slide layout.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly name: string;'
+ return:
+ type: string
+ - name: shapes
+ uid: 'powerpoint!PowerPoint.SlideLayout#shapes:member'
+ package: powerpoint!
+ fullName: shapes
+ summary: Returns a collection of shapes in the slide layout.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly shapes: PowerPoint.ShapeCollection;'
+ return:
+ type: ''
+methods:
+ - name: load(options)
+ uid: 'powerpoint!PowerPoint.SlideLayout#load:member(1)'
+ package: powerpoint!
+ fullName: load(options)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(options?: PowerPoint.Interfaces.SlideLayoutLoadOptions): PowerPoint.SlideLayout;'
+ parameters:
+ - id: options
+ description: Provides options for which properties of the object to load.
+ type: ''
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNames)
+ uid: 'powerpoint!PowerPoint.SlideLayout#load:member(2)'
+ package: powerpoint!
+ fullName: load(propertyNames)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(propertyNames?: string | string[]): PowerPoint.SlideLayout;'
+ parameters:
+ - id: propertyNames
+ description: A comma-delimited string or an array of strings that specify the properties to load.
+ type: 'string | string[]'
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNamesAndPaths)
+ uid: 'powerpoint!PowerPoint.SlideLayout#load:member(3)'
+ package: powerpoint!
+ fullName: load(propertyNamesAndPaths)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: |-
+ load(propertyNamesAndPaths?: {
+ select?: string;
+ expand?: string;
+ }): PowerPoint.SlideLayout;
+ parameters:
+ - id: propertyNamesAndPaths
+ description: >-
+ `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and
+ `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ type: |-
+ {
+ select?: string;
+ expand?: string;
+ }
+ return:
+ type: ''
+ description: ''
+ - name: toJSON()
+ uid: 'powerpoint!PowerPoint.SlideLayout#toJSON:member(1)'
+ package: powerpoint!
+ fullName: toJSON()
+ summary: >-
+ Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to
+ `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is
+ passed to it.) Whereas the original `PowerPoint.SlideLayout` object is an API object, the `toJSON` method returns
+ a plain JavaScript object (typed as `PowerPoint.Interfaces.SlideLayoutData`) that contains shallow copies
+ of any loaded child properties from the original object.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'toJSON(): PowerPoint.Interfaces.SlideLayoutData;'
+ return:
+ type: ''
+ description: ''
+extends: ''
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.slidelayoutcollection.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.slidelayoutcollection.yml
new file mode 100644
index 000000000..7076f3532
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.slidelayoutcollection.yml
@@ -0,0 +1,249 @@
+### YamlMime:TSType
+name: PowerPoint.SlideLayoutCollection
+uid: 'powerpoint!PowerPoint.SlideLayoutCollection:class'
+package: powerpoint!
+fullName: PowerPoint.SlideLayoutCollection
+summary: Represents the collection of layouts provided by the Slide Master for slides.
+remarks: >-
+ \[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/slide-management/add-slides.yaml
+
+
+ await PowerPoint.run(async function(context) {
+ // Load information about all the slide masters and associated layouts.
+ const slideMasters: PowerPoint.SlideMasterCollection = context.presentation.slideMasters.load("id, name, layouts/items/name, layouts/items/id");
+ await context.sync();
+
+ // Log the name and ID of each slide master.
+ for (let i = 0; i < slideMasters.items.length; i++) {
+ console.log("Master name: " + slideMasters.items[i].name);
+ console.log("Master ID: " + slideMasters.items[i].id);
+
+ // Log the name and ID of each slide layout in the slide master.
+ const layoutsInMaster: PowerPoint.SlideLayoutCollection = slideMasters.items[i].layouts;
+ for (let j = 0; j < layoutsInMaster.items.length; j++) {
+ console.log(" Layout name: " + layoutsInMaster.items[j].name + " Layout ID: " + layoutsInMaster.items[j].id);
+ }
+ }
+ });
+
+ ```
+isPreview: false
+isDeprecated: false
+type: class
+properties:
+ - name: context
+ uid: 'powerpoint!PowerPoint.SlideLayoutCollection#context:member'
+ package: powerpoint!
+ fullName: context
+ summary: >-
+ The request context associated with the object. This connects the add-in's process to the Office host
+ application's process.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'context: RequestContext;'
+ return:
+ type: ''
+ - name: items
+ uid: 'powerpoint!PowerPoint.SlideLayoutCollection#items:member'
+ package: powerpoint!
+ fullName: items
+ summary: Gets the loaded child items in this collection.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly items: PowerPoint.SlideLayout[];'
+ return:
+ type: '[]'
+methods:
+ - name: getCount()
+ uid: 'powerpoint!PowerPoint.SlideLayoutCollection#getCount:member(1)'
+ package: powerpoint!
+ fullName: getCount()
+ summary: Gets the number of layouts in the collection.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getCount(): OfficeExtension.ClientResult;'
+ return:
+ type: '<number>'
+ description: The number of layouts in the collection.
+ - name: getItem(key)
+ uid: 'powerpoint!PowerPoint.SlideLayoutCollection#getItem:member(1)'
+ package: powerpoint!
+ fullName: getItem(key)
+ summary: Gets a layout using its unique ID.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getItem(key: string): PowerPoint.SlideLayout;'
+ parameters:
+ - id: key
+ description: The ID of the layout.
+ type: string
+ return:
+ type: ''
+ description: 'The layout with the unique ID. If such a layout does not exist, an error is thrown.'
+ - name: getItemAt(index)
+ uid: 'powerpoint!PowerPoint.SlideLayoutCollection#getItemAt:member(1)'
+ package: powerpoint!
+ fullName: getItemAt(index)
+ summary: Gets a layout using its zero-based index in the collection.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getItemAt(index: number): PowerPoint.SlideLayout;'
+ parameters:
+ - id: index
+ description: The index of the layout in the collection.
+ type: number
+ return:
+ type: ''
+ description: The layout at the given index. An error is thrown if index is out of range.
+ - name: getItemOrNullObject(id)
+ uid: 'powerpoint!PowerPoint.SlideLayoutCollection#getItemOrNullObject:member(1)'
+ package: powerpoint!
+ fullName: getItemOrNullObject(id)
+ summary: >-
+ Gets a layout using its unique ID. If such a layout does not exist, an object with an `isNullObject` property set
+ to true is returned. For further information, see [*OrNullObject methods and
+ properties](https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties).
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getItemOrNullObject(id: string): PowerPoint.SlideLayout;'
+ parameters:
+ - id: id
+ description: The ID of the layout.
+ type: string
+ return:
+ type: ''
+ description: The layout with the unique ID.
+ - name: load(options)
+ uid: 'powerpoint!PowerPoint.SlideLayoutCollection#load:member(1)'
+ package: powerpoint!
+ fullName: load(options)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: >-
+ load(options?: PowerPoint.Interfaces.SlideLayoutCollectionLoadOptions &
+ PowerPoint.Interfaces.CollectionLoadOptions): PowerPoint.SlideLayoutCollection;
+ parameters:
+ - id: options
+ description: Provides options for which properties of the object to load.
+ type: >-
+ &
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNames)
+ uid: 'powerpoint!PowerPoint.SlideLayoutCollection#load:member(2)'
+ package: powerpoint!
+ fullName: load(propertyNames)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(propertyNames?: string | string[]): PowerPoint.SlideLayoutCollection;'
+ parameters:
+ - id: propertyNames
+ description: A comma-delimited string or an array of strings that specify the properties to load.
+ type: 'string | string[]'
+ return:
+ type: ''
+ description: >-
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/slide-management/add-slides.yaml
+
+
+ await PowerPoint.run(async function(context) {
+ // Load information about all the slide masters and associated layouts.
+ const slideMasters: PowerPoint.SlideMasterCollection = context.presentation.slideMasters.load("id, name, layouts/items/name, layouts/items/id");
+ await context.sync();
+
+ // Log the name and ID of each slide master.
+ for (let i = 0; i < slideMasters.items.length; i++) {
+ console.log("Master name: " + slideMasters.items[i].name);
+ console.log("Master ID: " + slideMasters.items[i].id);
+
+ // Log the name and ID of each slide layout in the slide master.
+ const layoutsInMaster: PowerPoint.SlideLayoutCollection = slideMasters.items[i].layouts;
+ for (let j = 0; j < layoutsInMaster.items.length; j++) {
+ console.log(" Layout name: " + layoutsInMaster.items[j].name + " Layout ID: " + layoutsInMaster.items[j].id);
+ }
+ }
+ });
+
+ ```
+ - name: load(propertyNamesAndPaths)
+ uid: 'powerpoint!PowerPoint.SlideLayoutCollection#load:member(3)'
+ package: powerpoint!
+ fullName: load(propertyNamesAndPaths)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(propertyNamesAndPaths?: OfficeExtension.LoadOption): PowerPoint.SlideLayoutCollection;'
+ parameters:
+ - id: propertyNamesAndPaths
+ description: >-
+ `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and
+ `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ type: ''
+ return:
+ type: ''
+ description: ''
+ - name: toJSON()
+ uid: 'powerpoint!PowerPoint.SlideLayoutCollection#toJSON:member(1)'
+ package: powerpoint!
+ fullName: toJSON()
+ summary: >-
+ Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to
+ `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is
+ passed to it.) Whereas the original `PowerPoint.SlideLayoutCollection` object is an API object, the `toJSON`
+ method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.SlideLayoutCollectionData`) that
+ contains an "items" array with shallow copies of any loaded properties from the collection's items.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'toJSON(): PowerPoint.Interfaces.SlideLayoutCollectionData;'
+ return:
+ type: ''
+ description: ''
+extends: ''
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.slidemaster.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.slidemaster.yml
new file mode 100644
index 000000000..400340ed7
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.slidemaster.yml
@@ -0,0 +1,222 @@
+### YamlMime:TSType
+name: PowerPoint.SlideMaster
+uid: 'powerpoint!PowerPoint.SlideMaster:class'
+package: powerpoint!
+fullName: PowerPoint.SlideMaster
+summary: Represents the Slide Master of a slide.
+remarks: >-
+ \[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/slide-management/add-slides.yaml
+
+
+ await PowerPoint.run(async function(context) {
+ // Load information about all the slide masters and associated layouts.
+ const slideMasters: PowerPoint.SlideMasterCollection = context.presentation.slideMasters.load("id, name, layouts/items/name, layouts/items/id");
+ await context.sync();
+
+ // Log the name and ID of each slide master.
+ for (let i = 0; i < slideMasters.items.length; i++) {
+ console.log("Master name: " + slideMasters.items[i].name);
+ console.log("Master ID: " + slideMasters.items[i].id);
+
+ // Log the name and ID of each slide layout in the slide master.
+ const layoutsInMaster: PowerPoint.SlideLayoutCollection = slideMasters.items[i].layouts;
+ for (let j = 0; j < layoutsInMaster.items.length; j++) {
+ console.log(" Layout name: " + layoutsInMaster.items[j].name + " Layout ID: " + layoutsInMaster.items[j].id);
+ }
+ }
+ });
+
+ ```
+isPreview: false
+isDeprecated: false
+type: class
+properties:
+ - name: context
+ uid: 'powerpoint!PowerPoint.SlideMaster#context:member'
+ package: powerpoint!
+ fullName: context
+ summary: >-
+ The request context associated with the object. This connects the add-in's process to the Office host
+ application's process.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'context: RequestContext;'
+ return:
+ type: ''
+ - name: id
+ uid: 'powerpoint!PowerPoint.SlideMaster#id:member'
+ package: powerpoint!
+ fullName: id
+ summary: Gets the unique ID of the Slide Master.
+ remarks: >-
+ \[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/slide-management/add-slides.yaml
+
+
+ await PowerPoint.run(async function(context) {
+ // Load information about all the slide masters and associated layouts.
+ const slideMasters: PowerPoint.SlideMasterCollection = context.presentation.slideMasters.load("id, name, layouts/items/name, layouts/items/id");
+ await context.sync();
+
+ // Log the name and ID of each slide master.
+ for (let i = 0; i < slideMasters.items.length; i++) {
+ console.log("Master name: " + slideMasters.items[i].name);
+ console.log("Master ID: " + slideMasters.items[i].id);
+
+ // Log the name and ID of each slide layout in the slide master.
+ const layoutsInMaster: PowerPoint.SlideLayoutCollection = slideMasters.items[i].layouts;
+ for (let j = 0; j < layoutsInMaster.items.length; j++) {
+ console.log(" Layout name: " + layoutsInMaster.items[j].name + " Layout ID: " + layoutsInMaster.items[j].id);
+ }
+ }
+ });
+
+ ```
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly id: string;'
+ return:
+ type: string
+ - name: layouts
+ uid: 'powerpoint!PowerPoint.SlideMaster#layouts:member'
+ package: powerpoint!
+ fullName: layouts
+ summary: Gets the collection of layouts provided by the Slide Master for slides.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly layouts: PowerPoint.SlideLayoutCollection;'
+ return:
+ type: ''
+ - name: name
+ uid: 'powerpoint!PowerPoint.SlideMaster#name:member'
+ package: powerpoint!
+ fullName: name
+ summary: Gets the unique name of the Slide Master.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly name: string;'
+ return:
+ type: string
+ - name: shapes
+ uid: 'powerpoint!PowerPoint.SlideMaster#shapes:member'
+ package: powerpoint!
+ fullName: shapes
+ summary: Returns a collection of shapes in the Slide Master.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly shapes: PowerPoint.ShapeCollection;'
+ return:
+ type: ''
+methods:
+ - name: load(options)
+ uid: 'powerpoint!PowerPoint.SlideMaster#load:member(1)'
+ package: powerpoint!
+ fullName: load(options)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(options?: PowerPoint.Interfaces.SlideMasterLoadOptions): PowerPoint.SlideMaster;'
+ parameters:
+ - id: options
+ description: Provides options for which properties of the object to load.
+ type: ''
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNames)
+ uid: 'powerpoint!PowerPoint.SlideMaster#load:member(2)'
+ package: powerpoint!
+ fullName: load(propertyNames)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(propertyNames?: string | string[]): PowerPoint.SlideMaster;'
+ parameters:
+ - id: propertyNames
+ description: A comma-delimited string or an array of strings that specify the properties to load.
+ type: 'string | string[]'
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNamesAndPaths)
+ uid: 'powerpoint!PowerPoint.SlideMaster#load:member(3)'
+ package: powerpoint!
+ fullName: load(propertyNamesAndPaths)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: |-
+ load(propertyNamesAndPaths?: {
+ select?: string;
+ expand?: string;
+ }): PowerPoint.SlideMaster;
+ parameters:
+ - id: propertyNamesAndPaths
+ description: >-
+ `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and
+ `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ type: |-
+ {
+ select?: string;
+ expand?: string;
+ }
+ return:
+ type: ''
+ description: ''
+ - name: toJSON()
+ uid: 'powerpoint!PowerPoint.SlideMaster#toJSON:member(1)'
+ package: powerpoint!
+ fullName: toJSON()
+ summary: >-
+ Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to
+ `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is
+ passed to it.) Whereas the original `PowerPoint.SlideMaster` object is an API object, the `toJSON` method returns
+ a plain JavaScript object (typed as `PowerPoint.Interfaces.SlideMasterData`) that contains shallow copies
+ of any loaded child properties from the original object.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'toJSON(): PowerPoint.Interfaces.SlideMasterData;'
+ return:
+ type: ''
+ description: ''
+extends: ''
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.slidemastercollection.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.slidemastercollection.yml
new file mode 100644
index 000000000..f3022d8d5
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.slidemastercollection.yml
@@ -0,0 +1,249 @@
+### YamlMime:TSType
+name: PowerPoint.SlideMasterCollection
+uid: 'powerpoint!PowerPoint.SlideMasterCollection:class'
+package: powerpoint!
+fullName: PowerPoint.SlideMasterCollection
+summary: Represents the collection of Slide Masters in the presentation.
+remarks: >-
+ \[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/slide-management/add-slides.yaml
+
+
+ await PowerPoint.run(async function(context) {
+ // Load information about all the slide masters and associated layouts.
+ const slideMasters: PowerPoint.SlideMasterCollection = context.presentation.slideMasters.load("id, name, layouts/items/name, layouts/items/id");
+ await context.sync();
+
+ // Log the name and ID of each slide master.
+ for (let i = 0; i < slideMasters.items.length; i++) {
+ console.log("Master name: " + slideMasters.items[i].name);
+ console.log("Master ID: " + slideMasters.items[i].id);
+
+ // Log the name and ID of each slide layout in the slide master.
+ const layoutsInMaster: PowerPoint.SlideLayoutCollection = slideMasters.items[i].layouts;
+ for (let j = 0; j < layoutsInMaster.items.length; j++) {
+ console.log(" Layout name: " + layoutsInMaster.items[j].name + " Layout ID: " + layoutsInMaster.items[j].id);
+ }
+ }
+ });
+
+ ```
+isPreview: false
+isDeprecated: false
+type: class
+properties:
+ - name: context
+ uid: 'powerpoint!PowerPoint.SlideMasterCollection#context:member'
+ package: powerpoint!
+ fullName: context
+ summary: >-
+ The request context associated with the object. This connects the add-in's process to the Office host
+ application's process.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'context: RequestContext;'
+ return:
+ type: ''
+ - name: items
+ uid: 'powerpoint!PowerPoint.SlideMasterCollection#items:member'
+ package: powerpoint!
+ fullName: items
+ summary: Gets the loaded child items in this collection.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly items: PowerPoint.SlideMaster[];'
+ return:
+ type: '[]'
+methods:
+ - name: getCount()
+ uid: 'powerpoint!PowerPoint.SlideMasterCollection#getCount:member(1)'
+ package: powerpoint!
+ fullName: getCount()
+ summary: Gets the number of Slide Masters in the collection.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getCount(): OfficeExtension.ClientResult;'
+ return:
+ type: '<number>'
+ description: The number of Slide Masters in the collection.
+ - name: getItem(key)
+ uid: 'powerpoint!PowerPoint.SlideMasterCollection#getItem:member(1)'
+ package: powerpoint!
+ fullName: getItem(key)
+ summary: Gets a Slide Master using its unique ID.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getItem(key: string): PowerPoint.SlideMaster;'
+ parameters:
+ - id: key
+ description: The ID of the Slide Master.
+ type: string
+ return:
+ type: ''
+ description: 'The Slide Master with the unique ID. If such a Slide Master does not exist, an error is thrown.'
+ - name: getItemAt(index)
+ uid: 'powerpoint!PowerPoint.SlideMasterCollection#getItemAt:member(1)'
+ package: powerpoint!
+ fullName: getItemAt(index)
+ summary: Gets a Slide Master using its zero-based index in the collection.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getItemAt(index: number): PowerPoint.SlideMaster;'
+ parameters:
+ - id: index
+ description: The index of the Slide Master in the collection.
+ type: number
+ return:
+ type: ''
+ description: The Slide Master at the given index. An error is thrown if index is out of range.
+ - name: getItemOrNullObject(id)
+ uid: 'powerpoint!PowerPoint.SlideMasterCollection#getItemOrNullObject:member(1)'
+ package: powerpoint!
+ fullName: getItemOrNullObject(id)
+ summary: >-
+ Gets a Slide Master using its unique ID. If such a Slide Master does not exist, an object with an `isNullObject`
+ property set to true is returned. For further information, see [*OrNullObject methods and
+ properties](https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties)."
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getItemOrNullObject(id: string): PowerPoint.SlideMaster;'
+ parameters:
+ - id: id
+ description: The ID of the Slide Master.
+ type: string
+ return:
+ type: ''
+ description: The Slide Master with the unique ID.
+ - name: load(options)
+ uid: 'powerpoint!PowerPoint.SlideMasterCollection#load:member(1)'
+ package: powerpoint!
+ fullName: load(options)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: >-
+ load(options?: PowerPoint.Interfaces.SlideMasterCollectionLoadOptions &
+ PowerPoint.Interfaces.CollectionLoadOptions): PowerPoint.SlideMasterCollection;
+ parameters:
+ - id: options
+ description: Provides options for which properties of the object to load.
+ type: >-
+ &
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNames)
+ uid: 'powerpoint!PowerPoint.SlideMasterCollection#load:member(2)'
+ package: powerpoint!
+ fullName: load(propertyNames)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(propertyNames?: string | string[]): PowerPoint.SlideMasterCollection;'
+ parameters:
+ - id: propertyNames
+ description: A comma-delimited string or an array of strings that specify the properties to load.
+ type: 'string | string[]'
+ return:
+ type: ''
+ description: >-
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/slide-management/add-slides.yaml
+
+
+ await PowerPoint.run(async function(context) {
+ // Load information about all the slide masters and associated layouts.
+ const slideMasters: PowerPoint.SlideMasterCollection = context.presentation.slideMasters.load("id, name, layouts/items/name, layouts/items/id");
+ await context.sync();
+
+ // Log the name and ID of each slide master.
+ for (let i = 0; i < slideMasters.items.length; i++) {
+ console.log("Master name: " + slideMasters.items[i].name);
+ console.log("Master ID: " + slideMasters.items[i].id);
+
+ // Log the name and ID of each slide layout in the slide master.
+ const layoutsInMaster: PowerPoint.SlideLayoutCollection = slideMasters.items[i].layouts;
+ for (let j = 0; j < layoutsInMaster.items.length; j++) {
+ console.log(" Layout name: " + layoutsInMaster.items[j].name + " Layout ID: " + layoutsInMaster.items[j].id);
+ }
+ }
+ });
+
+ ```
+ - name: load(propertyNamesAndPaths)
+ uid: 'powerpoint!PowerPoint.SlideMasterCollection#load:member(3)'
+ package: powerpoint!
+ fullName: load(propertyNamesAndPaths)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(propertyNamesAndPaths?: OfficeExtension.LoadOption): PowerPoint.SlideMasterCollection;'
+ parameters:
+ - id: propertyNamesAndPaths
+ description: >-
+ `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and
+ `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ type: ''
+ return:
+ type: ''
+ description: ''
+ - name: toJSON()
+ uid: 'powerpoint!PowerPoint.SlideMasterCollection#toJSON:member(1)'
+ package: powerpoint!
+ fullName: toJSON()
+ summary: >-
+ Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to
+ `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is
+ passed to it.) Whereas the original `PowerPoint.SlideMasterCollection` object is an API object, the `toJSON`
+ method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.SlideMasterCollectionData`) that
+ contains an "items" array with shallow copies of any loaded properties from the collection's items.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'toJSON(): PowerPoint.Interfaces.SlideMasterCollectionData;'
+ return:
+ type: ''
+ description: ''
+extends: ''
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.slidescopedcollection.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.slidescopedcollection.yml
new file mode 100644
index 000000000..a4f440071
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.slidescopedcollection.yml
@@ -0,0 +1,223 @@
+### YamlMime:TSType
+name: PowerPoint.SlideScopedCollection
+uid: 'powerpoint!PowerPoint.SlideScopedCollection:class'
+package: powerpoint!
+fullName: PowerPoint.SlideScopedCollection
+summary: Represents a collection of slides in the presentation.
+remarks: >-
+ \[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/shapes/get-set-shapes.yaml
+
+
+ // Saves which shapes are selected so that they can be reselected later.
+
+ await PowerPoint.run(async (context) => {
+ context.presentation.load("slides");
+ await context.sync();
+ const slides: PowerPoint.SlideScopedCollection = context.presentation.getSelectedSlides();
+ const slideCount = slides.getCount();
+ slides.load("items");
+ await context.sync();
+ savedSlideSelection = [];
+ slides.items.map((slide) => {
+ savedSlideSelection.push(slide.id);
+ });
+ const shapes: PowerPoint.ShapeScopedCollection = context.presentation.getSelectedShapes();
+ const shapeCount = shapes.getCount();
+ shapes.load("items");
+ await context.sync();
+ shapes.items.map((shape) => {
+ savedShapeSelection.push(shape.id);
+ });
+ });
+
+ ```
+isPreview: false
+isDeprecated: false
+type: class
+properties:
+ - name: context
+ uid: 'powerpoint!PowerPoint.SlideScopedCollection#context:member'
+ package: powerpoint!
+ fullName: context
+ summary: >-
+ The request context associated with the object. This connects the add-in's process to the Office host
+ application's process.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'context: RequestContext;'
+ return:
+ type: ''
+ - name: items
+ uid: 'powerpoint!PowerPoint.SlideScopedCollection#items:member'
+ package: powerpoint!
+ fullName: items
+ summary: Gets the loaded child items in this collection.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly items: PowerPoint.Slide[];'
+ return:
+ type: '[]'
+methods:
+ - name: getCount()
+ uid: 'powerpoint!PowerPoint.SlideScopedCollection#getCount:member(1)'
+ package: powerpoint!
+ fullName: getCount()
+ summary: Gets the number of slides in the collection.
+ remarks: '\[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getCount(): OfficeExtension.ClientResult;'
+ return:
+ type: '<number>'
+ description: The number of slides in the collection.
+ - name: getItem(key)
+ uid: 'powerpoint!PowerPoint.SlideScopedCollection#getItem:member(1)'
+ package: powerpoint!
+ fullName: getItem(key)
+ summary: Gets a slide using its unique ID.
+ remarks: '\[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getItem(key: string): PowerPoint.Slide;'
+ parameters:
+ - id: key
+ description: The ID of the slide.
+ type: string
+ return:
+ type: ''
+ description: 'The slide with the unique ID. If such a slide does not exist, an error is thrown.'
+ - name: getItemAt(index)
+ uid: 'powerpoint!PowerPoint.SlideScopedCollection#getItemAt:member(1)'
+ package: powerpoint!
+ fullName: getItemAt(index)
+ summary: Gets a slide using its zero-based index in the collection.
+ remarks: '\[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getItemAt(index: number): PowerPoint.Slide;'
+ parameters:
+ - id: index
+ description: The index of the slide in the collection.
+ type: number
+ return:
+ type: ''
+ description: The slide at the given index. An error is thrown if index is out of range.
+ - name: getItemOrNullObject(id)
+ uid: 'powerpoint!PowerPoint.SlideScopedCollection#getItemOrNullObject:member(1)'
+ package: powerpoint!
+ fullName: getItemOrNullObject(id)
+ summary: >-
+ Gets a slide using its unique ID. If such a slide does not exist, an object with an `isNullObject` property set to
+ true is returned. For further information, see [*OrNullObject methods and
+ properties](https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties).
+ remarks: '\[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getItemOrNullObject(id: string): PowerPoint.Slide;'
+ parameters:
+ - id: id
+ description: The ID of the slide.
+ type: string
+ return:
+ type: ''
+ description: The slide with the unique ID.
+ - name: load(options)
+ uid: 'powerpoint!PowerPoint.SlideScopedCollection#load:member(1)'
+ package: powerpoint!
+ fullName: load(options)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: >-
+ load(options?: PowerPoint.Interfaces.SlideScopedCollectionLoadOptions &
+ PowerPoint.Interfaces.CollectionLoadOptions): PowerPoint.SlideScopedCollection;
+ parameters:
+ - id: options
+ description: Provides options for which properties of the object to load.
+ type: >-
+ &
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNames)
+ uid: 'powerpoint!PowerPoint.SlideScopedCollection#load:member(2)'
+ package: powerpoint!
+ fullName: load(propertyNames)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(propertyNames?: string | string[]): PowerPoint.SlideScopedCollection;'
+ parameters:
+ - id: propertyNames
+ description: A comma-delimited string or an array of strings that specify the properties to load.
+ type: 'string | string[]'
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNamesAndPaths)
+ uid: 'powerpoint!PowerPoint.SlideScopedCollection#load:member(3)'
+ package: powerpoint!
+ fullName: load(propertyNamesAndPaths)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(propertyNamesAndPaths?: OfficeExtension.LoadOption): PowerPoint.SlideScopedCollection;'
+ parameters:
+ - id: propertyNamesAndPaths
+ description: >-
+ `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and
+ `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ type: ''
+ return:
+ type: ''
+ description: ''
+ - name: toJSON()
+ uid: 'powerpoint!PowerPoint.SlideScopedCollection#toJSON:member(1)'
+ package: powerpoint!
+ fullName: toJSON()
+ summary: >-
+ Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to
+ `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is
+ passed to it.) Whereas the original `PowerPoint.SlideScopedCollection` object is an API object, the `toJSON`
+ method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.SlideScopedCollectionData`) that
+ contains an "items" array with shallow copies of any loaded properties from the collection's items.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'toJSON(): PowerPoint.Interfaces.SlideScopedCollectionData;'
+ return:
+ type: ''
+ description: ''
+extends: ''
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.tag.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.tag.yml
new file mode 100644
index 000000000..58489cace
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.tag.yml
@@ -0,0 +1,165 @@
+### YamlMime:TSType
+name: PowerPoint.Tag
+uid: 'powerpoint!PowerPoint.Tag:class'
+package: powerpoint!
+fullName: PowerPoint.Tag
+summary: Represents a single tag in the slide.
+remarks: >-
+ \[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/tags/tags.yaml
+
+
+ await PowerPoint.run(async function (context) {
+ let presentationTags: PowerPoint.TagCollection = context.presentation.tags;
+ presentationTags.add("COLOR", "blue");
+
+ await context.sync();
+
+ const tag: PowerPoint.Tag = presentationTags.getItem("COLOR");
+ tag.load("key, value");
+
+ await context.sync();
+
+ console.log("Added key " + JSON.stringify(tag.key) + " with value " + JSON.stringify(tag.value));
+ });
+
+ ```
+isPreview: false
+isDeprecated: false
+type: class
+properties:
+ - name: context
+ uid: 'powerpoint!PowerPoint.Tag#context:member'
+ package: powerpoint!
+ fullName: context
+ summary: >-
+ The request context associated with the object. This connects the add-in's process to the Office host
+ application's process.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'context: RequestContext;'
+ return:
+ type: ''
+ - name: key
+ uid: 'powerpoint!PowerPoint.Tag#key:member'
+ package: powerpoint!
+ fullName: key
+ summary: >-
+ Gets the unique ID of the tag. The `key` is unique within the owning `TagCollection` and always stored as
+ uppercase letters within the document.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly key: string;'
+ return:
+ type: string
+ - name: value
+ uid: 'powerpoint!PowerPoint.Tag#value:member'
+ package: powerpoint!
+ fullName: value
+ summary: Gets the value of the tag.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'value: string;'
+ return:
+ type: string
+methods:
+ - name: load(options)
+ uid: 'powerpoint!PowerPoint.Tag#load:member(1)'
+ package: powerpoint!
+ fullName: load(options)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(options?: PowerPoint.Interfaces.TagLoadOptions): PowerPoint.Tag;'
+ parameters:
+ - id: options
+ description: Provides options for which properties of the object to load.
+ type: ''
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNames)
+ uid: 'powerpoint!PowerPoint.Tag#load:member(2)'
+ package: powerpoint!
+ fullName: load(propertyNames)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(propertyNames?: string | string[]): PowerPoint.Tag;'
+ parameters:
+ - id: propertyNames
+ description: A comma-delimited string or an array of strings that specify the properties to load.
+ type: 'string | string[]'
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNamesAndPaths)
+ uid: 'powerpoint!PowerPoint.Tag#load:member(3)'
+ package: powerpoint!
+ fullName: load(propertyNamesAndPaths)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: |-
+ load(propertyNamesAndPaths?: {
+ select?: string;
+ expand?: string;
+ }): PowerPoint.Tag;
+ parameters:
+ - id: propertyNamesAndPaths
+ description: >-
+ `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and
+ `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ type: |-
+ {
+ select?: string;
+ expand?: string;
+ }
+ return:
+ type: ''
+ description: ''
+ - name: toJSON()
+ uid: 'powerpoint!PowerPoint.Tag#toJSON:member(1)'
+ package: powerpoint!
+ fullName: toJSON()
+ summary: >-
+ Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to
+ `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is
+ passed to it.) Whereas the original `PowerPoint.Tag` object is an API object, the `toJSON` method returns a plain
+ JavaScript object (typed as `PowerPoint.Interfaces.TagData`) that contains shallow copies of any loaded
+ child properties from the original object.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'toJSON(): PowerPoint.Interfaces.TagData;'
+ return:
+ type: ''
+ description: ''
+extends: ''
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.tagcollection.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.tagcollection.yml
new file mode 100644
index 000000000..a45499360
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.tagcollection.yml
@@ -0,0 +1,348 @@
+### YamlMime:TSType
+name: PowerPoint.TagCollection
+uid: 'powerpoint!PowerPoint.TagCollection:class'
+package: powerpoint!
+fullName: PowerPoint.TagCollection
+summary: Represents the collection of tags.
+remarks: >-
+ \[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/tags/tags.yaml
+
+
+ await PowerPoint.run(async function(context) {
+ let selectedSlideIndex = await getSelectedSlideIndex();
+
+ // Decrement because the getSelectedSlideByIndex method is 1-based,
+ // but the getItemAt method is 0-based.
+ selectedSlideIndex = selectedSlideIndex - 1;
+ const slide: PowerPoint.Slide = context.presentation.slides.getItemAt(selectedSlideIndex);
+ slide.tags.add("CUSTOMER_TYPE", "Premium");
+
+ await context.sync();
+
+ const audienceTag: PowerPoint.Tag = slide.tags.getItem("CUSTOMER_TYPE");
+ audienceTag.load("key, value");
+
+ await context.sync();
+
+ console.log("Added key " + JSON.stringify(audienceTag.key) + " with value " + JSON.stringify(audienceTag.value));
+ });
+
+ ```
+isPreview: false
+isDeprecated: false
+type: class
+properties:
+ - name: context
+ uid: 'powerpoint!PowerPoint.TagCollection#context:member'
+ package: powerpoint!
+ fullName: context
+ summary: >-
+ The request context associated with the object. This connects the add-in's process to the Office host
+ application's process.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'context: RequestContext;'
+ return:
+ type: ''
+ - name: items
+ uid: 'powerpoint!PowerPoint.TagCollection#items:member'
+ package: powerpoint!
+ fullName: items
+ summary: Gets the loaded child items in this collection.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly items: PowerPoint.Tag[];'
+ return:
+ type: '[]'
+methods:
+ - name: 'add(key, value)'
+ uid: 'powerpoint!PowerPoint.TagCollection#add:member(1)'
+ package: powerpoint!
+ fullName: 'add(key, value)'
+ summary: >-
+ Adds a new tag at the end of the collection. If the `key` already exists in the collection, the value of the
+ existing tag will be replaced with the given `value`.
+ remarks: >-
+ \[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/tags/tags.yaml
+
+
+ await PowerPoint.run(async function(context) {
+ const slide: PowerPoint.Slide = context.presentation.slides.getItemAt(0);
+ slide.tags.add("OCEAN", "Indian");
+ slide.tags.add("PLANET", "Jupiter");
+ slide.tags.add("CONTINENT", "Antarctica");
+
+ await context.sync();
+
+ slide.tags.load("key, value");
+
+ await context.sync();
+
+ for (let i = 0; i < slide.tags.items.length; i++) {
+ console.log("Added key " + JSON.stringify(slide.tags.items[i].key) + " with value " + JSON.stringify(slide.tags.items[i].value));
+ }
+ });
+
+ ```
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'add(key: string, value: string): void;'
+ parameters:
+ - id: key
+ description: >-
+ The unique ID of a tag, which is unique within this `TagCollection`. 'key' parameter is
+ case-insensitive, but it is always capitalized when saved in the document.
+ type: string
+ - id: value
+ description: The value of the tag.
+ type: string
+ return:
+ type: void
+ description: ''
+ - name: delete(key)
+ uid: 'powerpoint!PowerPoint.TagCollection#delete:member(1)'
+ package: powerpoint!
+ fullName: delete(key)
+ summary: Deletes the tag with the given `key` in this collection. Does nothing if the `key` does not exist.
+ remarks: >-
+ \[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/tags/tags.yaml
+
+
+ await PowerPoint.run(async function (context) {
+ let presentationTags: PowerPoint.TagCollection = context.presentation.tags;
+
+ presentationTags.delete("COLOR");
+
+ await context.sync();
+
+ console.log(JSON.stringify(presentationTags));
+ });
+
+ ```
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'delete(key: string): void;'
+ parameters:
+ - id: key
+ description: >-
+ The unique ID of a tag, which is unique within this `TagCollection`. `key` parameter is
+ case-insensitive.
+ type: string
+ return:
+ type: void
+ description: ''
+ - name: getCount()
+ uid: 'powerpoint!PowerPoint.TagCollection#getCount:member(1)'
+ package: powerpoint!
+ fullName: getCount()
+ summary: Gets the number of tags in the collection.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getCount(): OfficeExtension.ClientResult;'
+ return:
+ type: '<number>'
+ description: The number of tags in the collection.
+ - name: getItem(key)
+ uid: 'powerpoint!PowerPoint.TagCollection#getItem:member(1)'
+ package: powerpoint!
+ fullName: getItem(key)
+ summary: Gets a tag using its unique ID. An error is thrown if the tag does not exist.
+ remarks: >-
+ \[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/tags/tags.yaml
+
+
+ await PowerPoint.run(async function(context) {
+ let selectedSlideIndex = await getSelectedSlideIndex();
+
+ // Decrement because the getSelectedSlideByIndex method is 1-based,
+ // but the getItemAt method is 0-based.
+ selectedSlideIndex = selectedSlideIndex - 1;
+ const slide: PowerPoint.Slide = context.presentation.slides.getItemAt(selectedSlideIndex);
+ slide.tags.add("CUSTOMER_TYPE", "Premium");
+
+ await context.sync();
+
+ const audienceTag: PowerPoint.Tag = slide.tags.getItem("CUSTOMER_TYPE");
+ audienceTag.load("key, value");
+
+ await context.sync();
+
+ console.log("Added key " + JSON.stringify(audienceTag.key) + " with value " + JSON.stringify(audienceTag.value));
+ });
+
+ ```
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getItem(key: string): PowerPoint.Tag;'
+ parameters:
+ - id: key
+ description: The ID of the tag.
+ type: string
+ return:
+ type: ''
+ description: 'The tag with the unique ID. If such a tag does not exist, an error is thrown.'
+ - name: getItemAt(index)
+ uid: 'powerpoint!PowerPoint.TagCollection#getItemAt:member(1)'
+ package: powerpoint!
+ fullName: getItemAt(index)
+ summary: Gets a tag using its zero-based index in the collection. An error is thrown if the index is out of range.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getItemAt(index: number): PowerPoint.Tag;'
+ parameters:
+ - id: index
+ description: The index of the tag in the collection.
+ type: number
+ return:
+ type: ''
+ description: The tag at the given index. An error is thrown if index is out of range.
+ - name: getItemOrNullObject(key)
+ uid: 'powerpoint!PowerPoint.TagCollection#getItemOrNullObject:member(1)'
+ package: powerpoint!
+ fullName: getItemOrNullObject(key)
+ summary: >-
+ Gets a tag using its unique ID. If such a tag does not exist, an object with an `isNullObject` property set to
+ true is returned.
+ remarks: '\[ [API set: PowerPointApi 1.3](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getItemOrNullObject(key: string): PowerPoint.Tag;'
+ parameters:
+ - id: key
+ description: The ID of the tag.
+ type: string
+ return:
+ type: ''
+ description: >-
+ The tag with the unique ID. If such a tag does not exist, an object with an `isNullObject` property set to
+ true is returned.
+ - name: load(options)
+ uid: 'powerpoint!PowerPoint.TagCollection#load:member(1)'
+ package: powerpoint!
+ fullName: load(options)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: >-
+ load(options?: PowerPoint.Interfaces.TagCollectionLoadOptions & PowerPoint.Interfaces.CollectionLoadOptions):
+ PowerPoint.TagCollection;
+ parameters:
+ - id: options
+ description: Provides options for which properties of the object to load.
+ type: >-
+ &
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNames)
+ uid: 'powerpoint!PowerPoint.TagCollection#load:member(2)'
+ package: powerpoint!
+ fullName: load(propertyNames)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(propertyNames?: string | string[]): PowerPoint.TagCollection;'
+ parameters:
+ - id: propertyNames
+ description: A comma-delimited string or an array of strings that specify the properties to load.
+ type: 'string | string[]'
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNamesAndPaths)
+ uid: 'powerpoint!PowerPoint.TagCollection#load:member(3)'
+ package: powerpoint!
+ fullName: load(propertyNamesAndPaths)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(propertyNamesAndPaths?: OfficeExtension.LoadOption): PowerPoint.TagCollection;'
+ parameters:
+ - id: propertyNamesAndPaths
+ description: >-
+ `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and
+ `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ type: ''
+ return:
+ type: ''
+ description: ''
+ - name: toJSON()
+ uid: 'powerpoint!PowerPoint.TagCollection#toJSON:member(1)'
+ package: powerpoint!
+ fullName: toJSON()
+ summary: >-
+ Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to
+ `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is
+ passed to it.) Whereas the original `PowerPoint.TagCollection` object is an API object, the `toJSON` method
+ returns a plain JavaScript object (typed as `PowerPoint.Interfaces.TagCollectionData`) that contains an
+ "items" array with shallow copies of any loaded properties from the collection's items.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'toJSON(): PowerPoint.Interfaces.TagCollectionData;'
+ return:
+ type: ''
+ description: ''
+extends: ''
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.textframe.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.textframe.yml
new file mode 100644
index 000000000..6d2e0188c
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.textframe.yml
@@ -0,0 +1,304 @@
+### YamlMime:TSType
+name: PowerPoint.TextFrame
+uid: 'powerpoint!PowerPoint.TextFrame:class'
+package: powerpoint!
+fullName: PowerPoint.TextFrame
+summary: Represents the text frame of a shape object.
+remarks: >-
+ \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/text/get-set-textrange.yaml
+
+
+ // Selects the first 10 characters of the selected shape.
+
+ await PowerPoint.run(async (context) => {
+ const shapes: PowerPoint.ShapeScopedCollection = context.presentation.getSelectedShapes();
+ const shapeCount = shapes.getCount();
+ await context.sync();
+ if (shapeCount.value !== 1) {
+ console.warn("You must select only one shape with text in it.");
+ return;
+ }
+ const shape: PowerPoint.Shape = shapes.getItemAt(0);
+ const textFrame: PowerPoint.TextFrame = shape.textFrame.load("textRange,hasText");
+ await context.sync();
+ if (textFrame.hasText != true) {
+ console.warn("You must select only one shape with text in it.");
+ return;
+ }
+ const textRange: PowerPoint.TextRange = textFrame.textRange;
+ textRange.load("text");
+ await context.sync();
+ if (textRange.text.length < 10) {
+ console.warn("You must select only one shape with at least 10 characters in it.");
+ return;
+ }
+ const textRange10 = textRange.getSubstring(0, 10);
+ textRange10.setSelected();
+ await context.sync();
+ });
+
+ ```
+isPreview: false
+isDeprecated: false
+type: class
+properties:
+ - name: autoSizeSetting
+ uid: 'powerpoint!PowerPoint.TextFrame#autoSizeSetting:member'
+ package: powerpoint!
+ fullName: autoSizeSetting
+ summary: >-
+ The automatic sizing settings for the text frame. A text frame can be set to automatically fit the text to the
+ text frame, to automatically fit the text frame to the text, or not perform any automatic sizing.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: >-
+ autoSizeSetting: PowerPoint.ShapeAutoSize | "AutoSizeNone" | "AutoSizeTextToFitShape" | "AutoSizeShapeToFitText"
+ | "AutoSizeMixed";
+ return:
+ type: >-
+ | "AutoSizeNone" | "AutoSizeTextToFitShape" |
+ "AutoSizeShapeToFitText" | "AutoSizeMixed"
+ - name: bottomMargin
+ uid: 'powerpoint!PowerPoint.TextFrame#bottomMargin:member'
+ package: powerpoint!
+ fullName: bottomMargin
+ summary: 'Represents the bottom margin, in points, of the text frame.'
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'bottomMargin: number;'
+ return:
+ type: number
+ - name: context
+ uid: 'powerpoint!PowerPoint.TextFrame#context:member'
+ package: powerpoint!
+ fullName: context
+ summary: >-
+ The request context associated with the object. This connects the add-in's process to the Office host
+ application's process.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'context: RequestContext;'
+ return:
+ type: ''
+ - name: hasText
+ uid: 'powerpoint!PowerPoint.TextFrame#hasText:member'
+ package: powerpoint!
+ fullName: hasText
+ summary: Specifies if the text frame contains text.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly hasText: boolean;'
+ return:
+ type: boolean
+ - name: leftMargin
+ uid: 'powerpoint!PowerPoint.TextFrame#leftMargin:member'
+ package: powerpoint!
+ fullName: leftMargin
+ summary: 'Represents the left margin, in points, of the text frame.'
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'leftMargin: number;'
+ return:
+ type: number
+ - name: rightMargin
+ uid: 'powerpoint!PowerPoint.TextFrame#rightMargin:member'
+ package: powerpoint!
+ fullName: rightMargin
+ summary: 'Represents the right margin, in points, of the text frame.'
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'rightMargin: number;'
+ return:
+ type: number
+ - name: textRange
+ uid: 'powerpoint!PowerPoint.TextFrame#textRange:member'
+ package: powerpoint!
+ fullName: textRange
+ summary: >-
+ Represents the text that is attached to a shape in the text frame, and properties and methods for manipulating the
+ text. See [PowerPoint.TextRange](xref:powerpoint!PowerPoint.TextRange:class) for details.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly textRange: PowerPoint.TextRange;'
+ return:
+ type: ''
+ - name: topMargin
+ uid: 'powerpoint!PowerPoint.TextFrame#topMargin:member'
+ package: powerpoint!
+ fullName: topMargin
+ summary: 'Represents the top margin, in points, of the text frame.'
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'topMargin: number;'
+ return:
+ type: number
+ - name: verticalAlignment
+ uid: 'powerpoint!PowerPoint.TextFrame#verticalAlignment:member'
+ package: powerpoint!
+ fullName: verticalAlignment
+ summary: >-
+ Represents the vertical alignment of the text frame. See
+ [PowerPoint.TextVerticalAlignment](xref:powerpoint!PowerPoint.TextVerticalAlignment:enum) for details.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: >-
+ verticalAlignment: PowerPoint.TextVerticalAlignment | "Top" | "Middle" | "Bottom" | "TopCentered" |
+ "MiddleCentered" | "BottomCentered";
+ return:
+ type: >-
+ | "Top" | "Middle" | "Bottom" | "TopCentered"
+ | "MiddleCentered" | "BottomCentered"
+ - name: wordWrap
+ uid: 'powerpoint!PowerPoint.TextFrame#wordWrap:member'
+ package: powerpoint!
+ fullName: wordWrap
+ summary: Determines whether lines break automatically to fit text inside the shape.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'wordWrap: boolean;'
+ return:
+ type: boolean
+methods:
+ - name: deleteText()
+ uid: 'powerpoint!PowerPoint.TextFrame#deleteText:member(1)'
+ package: powerpoint!
+ fullName: deleteText()
+ summary: Deletes all the text in the text frame.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'deleteText(): void;'
+ return:
+ type: void
+ description: ''
+ - name: getParentShape()
+ uid: 'powerpoint!PowerPoint.TextFrame#getParentShape:member(1)'
+ package: powerpoint!
+ fullName: getParentShape()
+ summary: >-
+ Returns the parent [PowerPoint.Shape](xref:powerpoint!PowerPoint.Shape:class) object that holds this
+ `TextFrame`.
+ remarks: '\[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getParentShape(): PowerPoint.Shape;'
+ return:
+ type: ''
+ description: ''
+ - name: load(options)
+ uid: 'powerpoint!PowerPoint.TextFrame#load:member(1)'
+ package: powerpoint!
+ fullName: load(options)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(options?: PowerPoint.Interfaces.TextFrameLoadOptions): PowerPoint.TextFrame;'
+ parameters:
+ - id: options
+ description: Provides options for which properties of the object to load.
+ type: ''
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNames)
+ uid: 'powerpoint!PowerPoint.TextFrame#load:member(2)'
+ package: powerpoint!
+ fullName: load(propertyNames)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(propertyNames?: string | string[]): PowerPoint.TextFrame;'
+ parameters:
+ - id: propertyNames
+ description: A comma-delimited string or an array of strings that specify the properties to load.
+ type: 'string | string[]'
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNamesAndPaths)
+ uid: 'powerpoint!PowerPoint.TextFrame#load:member(3)'
+ package: powerpoint!
+ fullName: load(propertyNamesAndPaths)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: |-
+ load(propertyNamesAndPaths?: {
+ select?: string;
+ expand?: string;
+ }): PowerPoint.TextFrame;
+ parameters:
+ - id: propertyNamesAndPaths
+ description: >-
+ `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and
+ `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ type: |-
+ {
+ select?: string;
+ expand?: string;
+ }
+ return:
+ type: ''
+ description: ''
+ - name: toJSON()
+ uid: 'powerpoint!PowerPoint.TextFrame#toJSON:member(1)'
+ package: powerpoint!
+ fullName: toJSON()
+ summary: >-
+ Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to
+ `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is
+ passed to it.) Whereas the original `PowerPoint.TextFrame` object is an API object, the `toJSON` method returns a
+ plain JavaScript object (typed as `PowerPoint.Interfaces.TextFrameData`) that contains shallow copies of
+ any loaded child properties from the original object.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'toJSON(): PowerPoint.Interfaces.TextFrameData;'
+ return:
+ type: ''
+ description: ''
+extends: ''
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.textrange.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.textrange.yml
new file mode 100644
index 000000000..4e10393b7
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.textrange.yml
@@ -0,0 +1,328 @@
+### YamlMime:TSType
+name: PowerPoint.TextRange
+uid: 'powerpoint!PowerPoint.TextRange:class'
+package: powerpoint!
+fullName: PowerPoint.TextRange
+summary: 'Contains the text that is attached to a shape, in addition to properties and methods for manipulating the text.'
+remarks: >-
+ \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/text/get-set-textrange.yaml
+
+
+ // Sets the color of the selected text range to green.
+
+ await PowerPoint.run(async (context) => {
+ const textRange: PowerPoint.TextRange = context.presentation.getSelectedTextRange();
+ textRange.font.color = "green";
+ await context.sync();
+ });
+
+ ```
+isPreview: false
+isDeprecated: false
+type: class
+properties:
+ - name: context
+ uid: 'powerpoint!PowerPoint.TextRange#context:member'
+ package: powerpoint!
+ fullName: context
+ summary: >-
+ The request context associated with the object. This connects the add-in's process to the Office host
+ application's process.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'context: RequestContext;'
+ return:
+ type: ''
+ - name: font
+ uid: 'powerpoint!PowerPoint.TextRange#font:member'
+ package: powerpoint!
+ fullName: font
+ summary: Returns a `ShapeFont` object that represents the font attributes for the text range.
+ remarks: >-
+ \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/text/get-set-textrange.yaml
+
+
+ // Sets the color of the selected text range to green.
+
+ await PowerPoint.run(async (context) => {
+ const textRange: PowerPoint.TextRange = context.presentation.getSelectedTextRange();
+ textRange.font.color = "green";
+ await context.sync();
+ });
+
+ ```
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly font: PowerPoint.ShapeFont;'
+ return:
+ type: ''
+ - name: length
+ uid: 'powerpoint!PowerPoint.TextRange#length:member'
+ package: powerpoint!
+ fullName: length
+ summary: >-
+ Gets or sets the length of the range that this `TextRange` represents. Throws an `InvalidArgument` exception when
+ set with a negative value or if the value is greater than the length of the available text from the starting
+ point.
+ remarks: '\[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'length: number;'
+ return:
+ type: number
+ - name: paragraphFormat
+ uid: 'powerpoint!PowerPoint.TextRange#paragraphFormat:member'
+ package: powerpoint!
+ fullName: paragraphFormat
+ summary: >-
+ Represents the paragraph format of the text range. See
+ [PowerPoint.ParagraphFormat](xref:powerpoint!PowerPoint.ParagraphFormat:class) for details.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'readonly paragraphFormat: PowerPoint.ParagraphFormat;'
+ return:
+ type: ''
+ - name: start
+ uid: 'powerpoint!PowerPoint.TextRange#start:member'
+ package: powerpoint!
+ fullName: start
+ summary: >-
+ Gets or sets zero-based index, relative to the parent text frame, for the starting position of the range that this
+ `TextRange` represents. Throws an `InvalidArgument` exception when set with a negative value or if the value is
+ greater than the length of the text.
+ remarks: '\[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'start: number;'
+ return:
+ type: number
+ - name: text
+ uid: 'powerpoint!PowerPoint.TextRange#text:member'
+ package: powerpoint!
+ fullName: text
+ summary: Represents the plain text content of the text range.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'text: string;'
+ return:
+ type: string
+methods:
+ - name: getParentTextFrame()
+ uid: 'powerpoint!PowerPoint.TextRange#getParentTextFrame:member(1)'
+ package: powerpoint!
+ fullName: getParentTextFrame()
+ summary: >-
+ Returns the parent [PowerPoint.TextFrame](xref:powerpoint!PowerPoint.TextFrame:class) object that holds this
+ `TextRange`.
+ remarks: '\[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getParentTextFrame(): PowerPoint.TextFrame;'
+ return:
+ type: ''
+ description: ''
+ - name: 'getSubstring(start, length)'
+ uid: 'powerpoint!PowerPoint.TextRange#getSubstring:member(1)'
+ package: powerpoint!
+ fullName: 'getSubstring(start, length)'
+ summary: Returns a `TextRange` object for the substring in the given range.
+ remarks: '\[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]'
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'getSubstring(start: number, length?: number): PowerPoint.TextRange;'
+ parameters:
+ - id: start
+ description: The zero-based index of the first character to get from the text range.
+ type: number
+ - id: length
+ description: >-
+ Optional. The number of characters to be returned in the new text range. If length is omitted, all the
+ characters from start to the end of the text range's last paragraph will be returned.
+ type: number
+ return:
+ type: ''
+ description: ''
+ - name: load(options)
+ uid: 'powerpoint!PowerPoint.TextRange#load:member(1)'
+ package: powerpoint!
+ fullName: load(options)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(options?: PowerPoint.Interfaces.TextRangeLoadOptions): PowerPoint.TextRange;'
+ parameters:
+ - id: options
+ description: Provides options for which properties of the object to load.
+ type: ''
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNames)
+ uid: 'powerpoint!PowerPoint.TextRange#load:member(2)'
+ package: powerpoint!
+ fullName: load(propertyNames)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'load(propertyNames?: string | string[]): PowerPoint.TextRange;'
+ parameters:
+ - id: propertyNames
+ description: A comma-delimited string or an array of strings that specify the properties to load.
+ type: 'string | string[]'
+ return:
+ type: ''
+ description: ''
+ - name: load(propertyNamesAndPaths)
+ uid: 'powerpoint!PowerPoint.TextRange#load:member(3)'
+ package: powerpoint!
+ fullName: load(propertyNamesAndPaths)
+ summary: >-
+ Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading
+ the properties.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: |-
+ load(propertyNamesAndPaths?: {
+ select?: string;
+ expand?: string;
+ }): PowerPoint.TextRange;
+ parameters:
+ - id: propertyNamesAndPaths
+ description: >-
+ `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and
+ `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ type: |-
+ {
+ select?: string;
+ expand?: string;
+ }
+ return:
+ type: ''
+ description: ''
+ - name: setSelected()
+ uid: 'powerpoint!PowerPoint.TextRange#setSelected:member(1)'
+ package: powerpoint!
+ fullName: setSelected()
+ summary: Selects this `TextRange` in the current view.
+ remarks: >-
+ \[ [API set: PowerPointApi 1.5](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/text/get-set-textrange.yaml
+
+
+ // Selects the first 10 characters of the selected shape.
+
+ await PowerPoint.run(async (context) => {
+ const shapes: PowerPoint.ShapeScopedCollection = context.presentation.getSelectedShapes();
+ const shapeCount = shapes.getCount();
+ await context.sync();
+ if (shapeCount.value !== 1) {
+ console.warn("You must select only one shape with text in it.");
+ return;
+ }
+ const shape: PowerPoint.Shape = shapes.getItemAt(0);
+ const textFrame: PowerPoint.TextFrame = shape.textFrame.load("textRange,hasText");
+ await context.sync();
+ if (textFrame.hasText != true) {
+ console.warn("You must select only one shape with text in it.");
+ return;
+ }
+ const textRange: PowerPoint.TextRange = textFrame.textRange;
+ textRange.load("text");
+ await context.sync();
+ if (textRange.text.length < 10) {
+ console.warn("You must select only one shape with at least 10 characters in it.");
+ return;
+ }
+ const textRange10 = textRange.getSubstring(0, 10);
+ textRange10.setSelected();
+ await context.sync();
+ });
+
+
+ ...
+
+
+ // Sets the range selection to the range that was saved previously.
+
+ await PowerPoint.run(async (context) => {
+ const slide1: PowerPoint.Slide = context.presentation.slides.getItem(savedTextSlideSelection[0]);
+ const shape1: PowerPoint.Shape = slide1.shapes.getItem(savedTextShapeSelection[0]);
+ const textRange: PowerPoint.TextRange = shape1.textFrame.textRange.getSubstring(savedTextTextRangeStart, savedTextTextRangeLength);
+ textRange.setSelected();
+ await context.sync();
+ });
+
+ ```
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'setSelected(): void;'
+ return:
+ type: void
+ description: ''
+ - name: toJSON()
+ uid: 'powerpoint!PowerPoint.TextRange#toJSON:member(1)'
+ package: powerpoint!
+ fullName: toJSON()
+ summary: >-
+ Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to
+ `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is
+ passed to it.) Whereas the original `PowerPoint.TextRange` object is an API object, the `toJSON` method returns a
+ plain JavaScript object (typed as `PowerPoint.Interfaces.TextRangeData`) that contains shallow copies of
+ any loaded child properties from the original object.
+ remarks: ''
+ isPreview: false
+ isDeprecated: false
+ syntax:
+ content: 'toJSON(): PowerPoint.Interfaces.TextRangeData;'
+ return:
+ type: ''
+ description: ''
+extends: ''
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.textverticalalignment.yml b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.textverticalalignment.yml
new file mode 100644
index 000000000..e9c780ca9
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/powerpoint/powerpoint.textverticalalignment.yml
@@ -0,0 +1,106 @@
+### YamlMime:TSEnum
+name: PowerPoint.TextVerticalAlignment
+uid: 'powerpoint!PowerPoint.TextVerticalAlignment:enum'
+package: powerpoint!
+fullName: PowerPoint.TextVerticalAlignment
+summary: >-
+ Represents the vertical alignment of a [PowerPoint.TextFrame](xref:powerpoint!PowerPoint.TextFrame:class) in a
+ [PowerPoint.Shape](xref:powerpoint!PowerPoint.Shape:class). If one the centered options are selected, the
+ contents of the `TextFrame` will be centered horizontally within the `Shape` as a group. To change the horizontal
+ alignment of a text, see [PowerPoint.ParagraphFormat](xref:powerpoint!PowerPoint.ParagraphFormat:class) and
+ [PowerPoint.ParagraphHorizontalAlignment](xref:powerpoint!PowerPoint.ParagraphHorizontalAlignment:enum).
+remarks: >-
+ \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+
+
+ #### Examples
+
+
+ ```TypeScript
+
+ // Link to full sample:
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/shapes/shapes.yaml
+
+
+ // This function gets the collection of shapes on the first slide,
+
+ // and adds a brace pair, {}, to the collection, while specifying its
+
+ // location and size. Then it names the shape, sets its text and font
+
+ // color, and centers it inside the braces.
+
+ await PowerPoint.run(async (context) => {
+ const shapes: PowerPoint.ShapeCollection = context.presentation.slides.getItemAt(0).shapes;
+ const braces: PowerPoint.Shape = shapes.addGeometricShape(PowerPoint.GeometricShapeType.bracePair, {
+ left: 100,
+ top: 400,
+ height: 50,
+ width: 150
+ });
+ braces.name = "Braces";
+ braces.textFrame.textRange.text = "Shape text";
+ braces.textFrame.textRange.font.color = "purple";
+ braces.textFrame.verticalAlignment = PowerPoint.TextVerticalAlignment.middleCentered;
+
+ return context.sync();
+ });
+
+ ```
+isPreview: false
+isDeprecated: false
+fields:
+ - name: bottom
+ uid: 'powerpoint!PowerPoint.TextVerticalAlignment.bottom:member'
+ package: powerpoint!
+ summary: |-
+ Specifies that the `TextFrame` should be bottom aligned to the `Shape`.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Bottom"'
+ - name: bottomCentered
+ uid: 'powerpoint!PowerPoint.TextVerticalAlignment.bottomCentered:member'
+ package: powerpoint!
+ summary: >-
+ Specifies that the `TextFrame` should be bottom aligned vertically to the `Shape`. Contents of the
+ `TextFrame` will be centered horizontally within the `Shape`.
+
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"BottomCentered"'
+ - name: middle
+ uid: 'powerpoint!PowerPoint.TextVerticalAlignment.middle:member'
+ package: powerpoint!
+ summary: |-
+ Specifies that the `TextFrame` should be center aligned to the `Shape`.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Middle"'
+ - name: middleCentered
+ uid: 'powerpoint!PowerPoint.TextVerticalAlignment.middleCentered:member'
+ package: powerpoint!
+ summary: >-
+ Specifies that the `TextFrame` should be center aligned vertically to the `Shape`. Contents of the
+ `TextFrame` will be centered horizontally within the `Shape`.
+
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"MiddleCentered"'
+ - name: top
+ uid: 'powerpoint!PowerPoint.TextVerticalAlignment.top:member'
+ package: powerpoint!
+ summary: |-
+ Specifies that the `TextFrame` should be top aligned to the `Shape`.
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"Top"'
+ - name: topCentered
+ uid: 'powerpoint!PowerPoint.TextVerticalAlignment.topCentered:member'
+ package: powerpoint!
+ summary: >-
+ Specifies that the `TextFrame` should be top aligned vertically to the `Shape`. Contents of the
+ `TextFrame` will be centered horizontally within the `Shape`.
+
+
+ * \[ [API set: PowerPointApi 1.4](/javascript/api/requirement-sets/powerpoint/powerpoint-api-requirement-sets) \]
+ value: '"TopCentered"'
diff --git a/docs/docs-ref-autogen/powerpoint_1_6/toc.yml b/docs/docs-ref-autogen/powerpoint_1_6/toc.yml
new file mode 100644
index 000000000..29b00ab2a
--- /dev/null
+++ b/docs/docs-ref-autogen/powerpoint_1_6/toc.yml
@@ -0,0 +1,980 @@
+items:
+ - name: API reference
+ items:
+ - name: API reference overview
+ href: ../overview/overview.md
+ - name: Excel
+ href: /javascript/api/excel
+ - name: OneNote
+ href: /javascript/api/onenote
+ - name: Outlook
+ href: /javascript/api/outlook
+ - name: PowerPoint
+ uid: powerpoint!
+ items:
+ - name: Enums
+ uid: ''
+ items:
+ - name: ConnectorType
+ uid: 'powerpoint!PowerPoint.ConnectorType:enum'
+ - name: ErrorCodes
+ uid: 'powerpoint!PowerPoint.ErrorCodes:enum'
+ - name: GeometricShapeType
+ uid: 'powerpoint!PowerPoint.GeometricShapeType:enum'
+ - name: InsertSlideFormatting
+ uid: 'powerpoint!PowerPoint.InsertSlideFormatting:enum'
+ - name: ParagraphHorizontalAlignment
+ uid: 'powerpoint!PowerPoint.ParagraphHorizontalAlignment:enum'
+ - name: ShapeAutoSize
+ uid: 'powerpoint!PowerPoint.ShapeAutoSize:enum'
+ - name: ShapeFillType
+ uid: 'powerpoint!PowerPoint.ShapeFillType:enum'
+ - name: ShapeFontUnderlineStyle
+ uid: 'powerpoint!PowerPoint.ShapeFontUnderlineStyle:enum'
+ - name: ShapeLineDashStyle
+ uid: 'powerpoint!PowerPoint.ShapeLineDashStyle:enum'
+ - name: ShapeLineStyle
+ uid: 'powerpoint!PowerPoint.ShapeLineStyle:enum'
+ - name: ShapeType
+ uid: 'powerpoint!PowerPoint.ShapeType:enum'
+ - name: TextVerticalAlignment
+ uid: 'powerpoint!PowerPoint.TextVerticalAlignment:enum'
+ - name: AddSlideOptions
+ uid: 'powerpoint!PowerPoint.AddSlideOptions:interface'
+ - name: Application
+ uid: 'powerpoint!PowerPoint.Application:class'
+ - name: BulletFormat
+ uid: 'powerpoint!PowerPoint.BulletFormat:class'
+ - name: Hyperlink
+ uid: 'powerpoint!PowerPoint.Hyperlink:class'
+ - name: HyperlinkCollection
+ uid: 'powerpoint!PowerPoint.HyperlinkCollection:class'
+ - name: InsertSlideOptions
+ uid: 'powerpoint!PowerPoint.InsertSlideOptions:interface'
+ - name: ParagraphFormat
+ uid: 'powerpoint!PowerPoint.ParagraphFormat:class'
+ - name: Presentation
+ uid: 'powerpoint!PowerPoint.Presentation:class'
+ - name: RequestContext
+ uid: 'powerpoint!PowerPoint.RequestContext:class'
+ - name: Shape
+ uid: 'powerpoint!PowerPoint.Shape:class'
+ - name: ShapeAddOptions
+ uid: 'powerpoint!PowerPoint.ShapeAddOptions:interface'
+ - name: ShapeCollection
+ uid: 'powerpoint!PowerPoint.ShapeCollection:class'
+ - name: ShapeFill
+ uid: 'powerpoint!PowerPoint.ShapeFill:class'
+ - name: ShapeFont
+ uid: 'powerpoint!PowerPoint.ShapeFont:class'
+ - name: ShapeLineFormat
+ uid: 'powerpoint!PowerPoint.ShapeLineFormat:class'
+ - name: ShapeScopedCollection
+ uid: 'powerpoint!PowerPoint.ShapeScopedCollection:class'
+ - name: Slide
+ uid: 'powerpoint!PowerPoint.Slide:class'
+ - name: SlideCollection
+ uid: 'powerpoint!PowerPoint.SlideCollection:class'
+ - name: SlideLayout
+ uid: 'powerpoint!PowerPoint.SlideLayout:class'
+ - name: SlideLayoutCollection
+ uid: 'powerpoint!PowerPoint.SlideLayoutCollection:class'
+ - name: SlideMaster
+ uid: 'powerpoint!PowerPoint.SlideMaster:class'
+ - name: SlideMasterCollection
+ uid: 'powerpoint!PowerPoint.SlideMasterCollection:class'
+ - name: SlideScopedCollection
+ uid: 'powerpoint!PowerPoint.SlideScopedCollection:class'
+ - name: Tag
+ uid: 'powerpoint!PowerPoint.Tag:class'
+ - name: TagCollection
+ uid: 'powerpoint!PowerPoint.TagCollection:class'
+ - name: TextFrame
+ uid: 'powerpoint!PowerPoint.TextFrame:class'
+ - name: TextRange
+ uid: 'powerpoint!PowerPoint.TextRange:class'
+ - name: Visio
+ href: /javascript/api/visio
+ - name: Word
+ href: /javascript/api/word
+ - name: Common APIs
+ uid: office!
+ items:
+ - name: Office
+ uid: office!
+ items:
+ - name: Enums
+ uid: ''
+ items:
+ - name: ActiveView
+ uid: 'office!Office.ActiveView:enum'
+ - name: AsyncResultStatus
+ uid: 'office!Office.AsyncResultStatus:enum'
+ - name: BindingType
+ uid: 'office!Office.BindingType:enum'
+ - name: CoercionType
+ uid: 'office!Office.CoercionType:enum'
+ - name: CustomXMLNodeType
+ uid: 'office!Office.CustomXMLNodeType:enum'
+ - name: DevicePermissionType
+ uid: 'office!Office.DevicePermissionType:enum'
+ - name: DocumentMode
+ uid: 'office!Office.DocumentMode:enum'
+ - name: EventType
+ uid: 'office!Office.EventType:enum'
+ - name: FileType
+ uid: 'office!Office.FileType:enum'
+ - name: FilterType
+ uid: 'office!Office.FilterType:enum'
+ - name: GoToType
+ uid: 'office!Office.GoToType:enum'
+ - name: HostType
+ uid: 'office!Office.HostType:enum'
+ - name: Index
+ uid: 'office!Office.Index:enum'
+ - name: InitializationReason
+ uid: 'office!Office.InitializationReason:enum'
+ - name: PlatformType
+ uid: 'office!Office.PlatformType:enum'
+ - name: ProjectProjectFields
+ uid: 'office!Office.ProjectProjectFields:enum'
+ - name: ProjectResourceFields
+ uid: 'office!Office.ProjectResourceFields:enum'
+ - name: ProjectTaskFields
+ uid: 'office!Office.ProjectTaskFields:enum'
+ - name: ProjectViewTypes
+ uid: 'office!Office.ProjectViewTypes:enum'
+ - name: SelectionMode
+ uid: 'office!Office.SelectionMode:enum'
+ - name: StartupBehavior
+ uid: 'office!Office.StartupBehavior:enum'
+ - name: Table
+ uid: 'office!Office.Table:enum'
+ - name: ThemeId
+ uid: 'office!Office.ThemeId:enum'
+ - name: ValueFormat
+ uid: 'office!Office.ValueFormat:enum'
+ - name: VisibilityMode
+ uid: 'office!Office.VisibilityMode:enum'
+ - name: Actions
+ uid: 'office!Office.Actions:interface'
+ - name: AddBindingFromNamedItemOptions
+ uid: 'office!Office.AddBindingFromNamedItemOptions:interface'
+ - name: AddBindingFromPromptOptions
+ uid: 'office!Office.AddBindingFromPromptOptions:interface'
+ - name: AddBindingFromSelectionOptions
+ uid: 'office!Office.AddBindingFromSelectionOptions:interface'
+ - name: Addin
+ uid: 'office!Office.Addin:interface'
+ - name: AddinCommands.Event
+ uid: 'office!Office.AddinCommands.Event:interface'
+ - name: AddinCommands.EventCompletedOptions
+ uid: 'office!Office.AddinCommands.EventCompletedOptions:interface'
+ - name: AddinCommands.Source
+ uid: 'office!Office.AddinCommands.Source:interface'
+ - name: AsyncContextOptions
+ uid: 'office!Office.AsyncContextOptions:interface'
+ - name: AsyncResult
+ uid: 'office!Office.AsyncResult:interface'
+ - name: Auth
+ uid: 'office!Office.Auth:interface'
+ - name: AuthOptions
+ uid: 'office!Office.AuthOptions:interface'
+ - name: BeforeDocumentCloseNotification
+ uid: 'office!Office.BeforeDocumentCloseNotification:interface'
+ - name: Binding
+ uid: 'office!Office.Binding:interface'
+ - name: BindingDataChangedEventArgs
+ uid: 'office!Office.BindingDataChangedEventArgs:interface'
+ - name: Bindings
+ uid: 'office!Office.Bindings:interface'
+ - name: BindingSelectionChangedEventArgs
+ uid: 'office!Office.BindingSelectionChangedEventArgs:interface'
+ - name: Context
+ uid: 'office!Office.Context:interface'
+ - name: ContextInformation
+ uid: 'office!Office.ContextInformation:interface'
+ - name: Control
+ uid: 'office!Office.Control:interface'
+ - name: CustomXmlNode
+ uid: 'office!Office.CustomXmlNode:interface'
+ - name: CustomXmlPart
+ uid: 'office!Office.CustomXmlPart:interface'
+ - name: CustomXmlParts
+ uid: 'office!Office.CustomXmlParts:interface'
+ - name: CustomXmlPrefixMappings
+ uid: 'office!Office.CustomXmlPrefixMappings:interface'
+ - name: DevicePermission
+ uid: 'office!Office.DevicePermission:interface'
+ - name: Dialog
+ uid: 'office!Office.Dialog:interface'
+ - name: DialogMessageOptions
+ uid: 'office!Office.DialogMessageOptions:interface'
+ - name: DialogOptions
+ uid: 'office!Office.DialogOptions:interface'
+ - name: DialogParentMessageReceivedEventArgs
+ uid: 'office!Office.DialogParentMessageReceivedEventArgs:interface'
+ - name: Document
+ uid: 'office!Office.Document:interface'
+ - name: DocumentSelectionChangedEventArgs
+ uid: 'office!Office.DocumentSelectionChangedEventArgs:interface'
+ - name: Error
+ uid: 'office!Office.Error:interface'
+ - name: File
+ uid: 'office!Office.File:interface'
+ - name: FileProperties
+ uid: 'office!Office.FileProperties:interface'
+ - name: GetBindingDataOptions
+ uid: 'office!Office.GetBindingDataOptions:interface'
+ - name: GetFileOptions
+ uid: 'office!Office.GetFileOptions:interface'
+ - name: GetSelectedDataOptions
+ uid: 'office!Office.GetSelectedDataOptions:interface'
+ - name: GoToByIdOptions
+ uid: 'office!Office.GoToByIdOptions:interface'
+ - name: Group
+ uid: 'office!Office.Group:interface'
+ - name: IPromiseConstructor
+ uid: 'office!Office.IPromiseConstructor:interface'
+ - name: MatrixBinding
+ uid: 'office!Office.MatrixBinding:interface'
+ - name: NodeDeletedEventArgs
+ uid: 'office!Office.NodeDeletedEventArgs:interface'
+ - name: NodeInsertedEventArgs
+ uid: 'office!Office.NodeInsertedEventArgs:interface'
+ - name: NodeReplacedEventArgs
+ uid: 'office!Office.NodeReplacedEventArgs:interface'
+ - name: OfficeTheme
+ uid: 'office!Office.OfficeTheme:interface'
+ - name: RangeCoordinates
+ uid: 'office!Office.RangeCoordinates:interface'
+ - name: RangeFormatConfiguration
+ uid: 'office!Office.RangeFormatConfiguration:interface'
+ - name: RemoveHandlerOptions
+ uid: 'office!Office.RemoveHandlerOptions:interface'
+ - name: RequirementSetSupport
+ uid: 'office!Office.RequirementSetSupport:interface'
+ - name: Ribbon
+ uid: 'office!Office.Ribbon:interface'
+ - name: RibbonUpdaterData
+ uid: 'office!Office.RibbonUpdaterData:interface'
+ - name: SaveSettingsOptions
+ uid: 'office!Office.SaveSettingsOptions:interface'
+ - name: SetBindingDataOptions
+ uid: 'office!Office.SetBindingDataOptions:interface'
+ - name: SetSelectedDataOptions
+ uid: 'office!Office.SetSelectedDataOptions:interface'
+ - name: Settings
+ uid: 'office!Office.Settings:interface'
+ - name: SettingsChangedEventArgs
+ uid: 'office!Office.SettingsChangedEventArgs:interface'
+ - name: Slice
+ uid: 'office!Office.Slice:interface'
+ - name: Tab
+ uid: 'office!Office.Tab:interface'
+ - name: TableBinding
+ uid: 'office!Office.TableBinding:interface'
+ - name: TableData
+ uid: 'office!Office.TableData:class'
+ - name: TextBinding
+ uid: 'office!Office.TextBinding:interface'
+ - name: UI
+ uid: 'office!Office.UI:interface'
+ - name: Urls
+ uid: 'office!Office.Urls:interface'
+ - name: VisibilityModeChangedMessage
+ uid: 'office!Office.VisibilityModeChangedMessage:interface'
+ - name: OfficeExtension
+ items:
+ - name: ClientObject
+ uid: 'office!OfficeExtension.ClientObject:class'
+ - name: ClientRequestContext
+ uid: 'office!OfficeExtension.ClientRequestContext:class'
+ - name: ClientResult
+ uid: 'office!OfficeExtension.ClientResult:class'
+ - name: DebugInfo
+ uid: 'office!OfficeExtension.DebugInfo:interface'
+ - name: EmbeddedOptions
+ uid: 'office!OfficeExtension.EmbeddedOptions:interface'
+ - name: EmbeddedSession
+ uid: 'office!OfficeExtension.EmbeddedSession:class'
+ - name: Error
+ uid: 'office!OfficeExtension.Error:class'
+ - name: ErrorCodes
+ uid: 'office!OfficeExtension.ErrorCodes:class'
+ - name: EventHandlerResult
+ uid: 'office!OfficeExtension.EventHandlerResult:class'
+ - name: EventHandlers
+ uid: 'office!OfficeExtension.EventHandlers:class'
+ - name: EventInfo
+ uid: 'office!OfficeExtension.EventInfo:interface'
+ - name: IPromise
+ uid: 'office!OfficeExtension.IPromise:type'
+ - name: LoadOption
+ uid: 'office!OfficeExtension.LoadOption:interface'
+ - name: RequestContextDebugInfo
+ uid: 'office!OfficeExtension.RequestContextDebugInfo:interface'
+ - name: RequestUrlAndHeaderInfo
+ uid: 'office!OfficeExtension.RequestUrlAndHeaderInfo:interface'
+ - name: RunOptions
+ uid: 'office!OfficeExtension.RunOptions:interface'
+ - name: TrackedObjects
+ uid: 'office!OfficeExtension.TrackedObjects:class'
+ - name: UpdateOptions
+ uid: 'office!OfficeExtension.UpdateOptions:interface'
+ - name: OfficeRuntime
+ uid: office-runtime!
+ items:
+ - name: ApiInformation
+ uid: 'office-runtime!OfficeRuntime.ApiInformation:interface'
+ - name: Auth
+ uid: 'office-runtime!OfficeRuntime.Auth:interface'
+ - name: AuthOptions
+ uid: 'office-runtime!OfficeRuntime.AuthOptions:interface'
+ - name: Dialog
+ uid: 'office-runtime!OfficeRuntime.Dialog:interface'
+ - name: DisplayWebDialogOptions
+ uid: 'office-runtime!OfficeRuntime.DisplayWebDialogOptions:interface'
+ - name: Storage
+ uid: 'office-runtime!OfficeRuntime.Storage:interface'
+ - name: Add-in only manifest reference
+ items:
+ - name: Add-in only manifest overview
+ href: ../../manifest/manifest.md
+ - name: AllowSnapshot
+ href: ../../manifest/allowsnapshot.md
+ - name: AlternateId
+ href: ../../manifest/alternateid.md
+ - name: AppDomain
+ href: ../../manifest/appdomain.md
+ - name: AppDomains
+ href: ../../manifest/appdomains.md
+ - name: CitationText
+ href: ../../manifest/citationtext.md
+ - name: DefaultLocale
+ href: ../../manifest/defaultlocale.md
+ - name: DefaultSettings
+ href: ../../manifest/defaultsettings.md
+ - name: Description
+ href: ../../manifest/description.md
+ - name: DesktopSettings
+ href: ../../manifest/desktopsettings.md
+ - name: Dictionary
+ href: ../../manifest/dictionary.md
+ - name: DictionaryHomePage
+ href: ../../manifest/dictionaryhomepage.md
+ - name: DisableEntityHighlighting
+ href: ../../manifest/disableentityhighlighting.md
+ - name: DisplayName
+ href: ../../manifest/displayname.md
+ - name: EquivalentAddin
+ href: ../../manifest/equivalentaddin.md
+ - name: EquivalentAddins
+ href: ../../manifest/equivalentaddins.md
+ - name: ExtendedOverrides
+ href: ../../manifest/extendedoverrides.md
+ - name: FileName
+ href: ../../manifest/filename.md
+ - name: Form
+ href: ../../manifest/form.md
+ - name: FormSettings
+ href: ../../manifest/formsettings.md
+ - name: HighResolutionIconUrl
+ href: ../../manifest/highresolutioniconurl.md
+ - name: Host
+ href: ../../manifest/host.md
+ - name: Hosts
+ href: ../../manifest/hosts.md
+ - name: IconUrl
+ href: ../../manifest/iconurl.md
+ - name: Id
+ href: ../../manifest/id.md
+ - name: Metadata
+ href: ../../manifest/metadata.md
+ - name: Method
+ href: ../../manifest/method.md
+ - name: Methods
+ href: ../../manifest/methods.md
+ - name: Namespace
+ href: ../../manifest/namespace.md
+ - name: OfficeApp
+ href: ../../manifest/officeapp.md
+ - name: Override
+ href: ../../manifest/override.md
+ - name: Permissions
+ href: ../../manifest/permissions.md
+ - name: PhoneSettings
+ href: ../../manifest/phonesettings.md
+ - name: ProgId
+ href: ../../manifest/progid.md
+ - name: ProviderName
+ href: ../../manifest/providername.md
+ - name: QueryUri
+ href: ../../manifest/queryuri.md
+ - name: RequestedHeight
+ href: ../../manifest/requestedheight.md
+ - name: RequestedWidth
+ href: ../../manifest/requestedwidth.md
+ - name: Requirements
+ href: ../../manifest/requirements.md
+ - name: Rule
+ href: ../../manifest/rule.md
+ - name: Set
+ href: ../../manifest/set.md
+ - name: Sets
+ href: ../../manifest/sets.md
+ - name: SourceLocation
+ href: ../../manifest/sourcelocation.md
+ - name: SupportUrl
+ href: ../../manifest/supporturl.md
+ - name: TabletSettings
+ href: ../../manifest/tabletsettings.md
+ - name: TargetDialect
+ href: ../../manifest/targetdialect.md
+ - name: TargetDialects
+ href: ../../manifest/targetdialects.md
+ - name: Tokens
+ href: ../../manifest/tokens.md
+ - name: Token
+ href: ../../manifest/token.md
+ - name: Type
+ href: ../../manifest/type.md
+ - name: Version
+ href: ../../manifest/version.md
+ - name: VersionOverrides
+ items:
+ - name: VersionOverrides Overview
+ href: ../../manifest/versionoverrides.md
+ - name: VersionOverrides 1.0 TaskPane
+ href: ../../manifest/versionoverrides-1-0-taskpane.md
+ - name: VersionOverrides 1.0 Content
+ href: ../../manifest/versionoverrides-1-0-content.md
+ - name: VersionOverrides 1.0 Mail
+ href: ../../manifest/versionoverrides-1-0-mail.md
+ - name: VersionOverrides 1.1 Mail
+ href: ../../manifest/versionoverrides-1-1-mail.md
+ - name: Action
+ href: ../../manifest/action.md
+ - name: AllFormFactors
+ href: ../../manifest/allformfactors.md
+ - name: Control
+ href: ../../manifest/control.md
+ - name: Control (Button)
+ href: ../../manifest/control-button.md
+ - name: Control (Menu)
+ href: ../../manifest/control-menu.md
+ - name: Control (MobileButton)
+ href: ../../manifest/control-mobilebutton.md
+ - name: CustomTab
+ href: ../../manifest/customtab.md
+ - name: DesktopFormFactor
+ href: ../../manifest/desktopformfactor.md
+ - name: Enabled
+ href: ../../manifest/enabled.md
+ - name: EquivalentAddin
+ href: ../../manifest/equivalentaddin.md
+ - name: EquivalentAddins
+ href: ../../manifest/equivalentaddins.md
+ - name: Event
+ href: ../../manifest/event.md
+ - name: ExtendedPermission
+ href: ../../manifest/extendedpermission.md
+ - name: ExtendedPermissions
+ href: ../../manifest/extendedpermissions.md
+ - name: ExtensionPoint
+ href: ../../manifest/extensionpoint.md
+ - name: FunctionFile
+ href: ../../manifest/functionfile.md
+ - name: GetStarted
+ href: ../../manifest/getstarted.md
+ - name: Group
+ href: ../../manifest/group.md
+ - name: Host
+ href: ../../manifest/host.md
+ - name: Hosts
+ href: ../../manifest/hosts.md
+ - name: Icon
+ href: ../../manifest/icon.md
+ - name: Image
+ href: ../../manifest/image.md
+ - name: Images
+ href: ../../manifest/images.md
+ - name: Item
+ href: ../../manifest/item.md
+ - name: Items
+ href: ../../manifest/items.md
+ - name: LaunchEvent
+ href: ../../manifest/launchevent.md
+ - name: LaunchEvents
+ href: ../../manifest/launchevents.md
+ - name: LongStrings
+ href: ../../manifest/longstrings.md
+ - name: MessageAttachment
+ href: ../../manifest/messageattachment.md
+ - name: MessageAttachments
+ href: ../../manifest/messageattachments.md
+ - name: MobileFormFactor
+ href: ../../manifest/mobileformfactor.md
+ - name: MoreInfo
+ href: ../../manifest/moreinfo.md
+ - name: OfficeMenu
+ href: ../../manifest/officemenu.md
+ - name: OfficeTab
+ href: ../../manifest/officetab.md
+ - name: Override
+ href: ../../manifest/override.md
+ - name: OverriddenByRibbonApi
+ href: ../../manifest/overriddenbyribbonapi.md
+ - name: Page
+ href: ../../manifest/page.md
+ - name: PreProcessingDialog
+ href: ../../manifest/preprocessingdialog.md
+ - name: ReportPhishingCustomization
+ href: ../../manifest/reportphishingcustomization.md
+ - name: ReportingOptions
+ href: ../../manifest/reportingoptions.md
+ - name: Resources
+ href: ../../manifest/resources.md
+ - name: Runtime
+ href: ../../manifest/runtime.md
+ - name: Runtimes
+ href: ../../manifest/runtimes.md
+ - name: Scopes
+ href: ../../manifest/scopes.md
+ - name: Script
+ href: ../../manifest/script.md
+ - name: ShortStrings
+ href: ../../manifest/shortstrings.md
+ - name: SourceLocation (version overrides)
+ href: ../../manifest/customfunctionssourcelocation.md
+ - name: String
+ href: ../../manifest/string.md
+ - name: Supertip
+ href: ../../manifest/supertip.md
+ - name: SupportsSharedFolders
+ href: ../../manifest/supportssharedfolders.md
+ - name: Url
+ href: ../../manifest/url.md
+ - name: Urls
+ href: ../../manifest/urls.md
+ - name: WebApplicationInfo
+ href: ../../manifest/webapplicationinfo.md
+ - name: Requirement sets
+ items:
+ - name: Application and platform availability
+ href: ../../requirement-sets/requirement-sets.md
+ - name: Excel requirement sets
+ items:
+ - name: Overview
+ href: ../../requirement-sets/excel/excel-api-requirement-sets.md
+ displayName: Excel
+ - name: CustomFunctionsRuntime API requirement sets
+ href: ../../requirement-sets/excel/custom-functions-requirement-sets.md
+ displayName: 'Excel, Custom Functions'
+ - name: Excel preview APIs
+ href: ../../requirement-sets/excel/excel-preview-apis.md
+ displayName: Excel
+ - name: ExcelApi online-only requirement set
+ href: ../../requirement-sets/excel/excel-api-online-requirement-set.md
+ displayName: Excel
+ - name: ExcelApi 1.17 requirement set
+ href: ../../requirement-sets/excel/excel-api-1-17-requirement-set.md
+ displayName: Excel
+ - name: ExcelApi 1.16 requirement set
+ href: ../../requirement-sets/excel/excel-api-1-16-requirement-set.md
+ displayName: Excel
+ - name: ExcelApi 1.15 requirement set
+ href: ../../requirement-sets/excel/excel-api-1-15-requirement-set.md
+ displayName: Excel
+ - name: ExcelApi 1.14 requirement set
+ href: ../../requirement-sets/excel/excel-api-1-14-requirement-set.md
+ displayName: Excel
+ - name: ExcelApi 1.13 requirement set
+ href: ../../requirement-sets/excel/excel-api-1-13-requirement-set.md
+ displayName: Excel
+ - name: ExcelApi 1.12 requirement set
+ href: ../../requirement-sets/excel/excel-api-1-12-requirement-set.md
+ displayName: Excel
+ - name: ExcelApi 1.11 requirement set
+ href: ../../requirement-sets/excel/excel-api-1-11-requirement-set.md
+ displayName: Excel
+ - name: ExcelApi 1.10 requirement set
+ href: ../../requirement-sets/excel/excel-api-1-10-requirement-set.md
+ displayName: Excel
+ - name: ExcelApi 1.9 requirement set
+ href: ../../requirement-sets/excel/excel-api-1-9-requirement-set.md
+ displayName: Excel
+ - name: ExcelApi 1.8 requirement set
+ href: ../../requirement-sets/excel/excel-api-1-8-requirement-set.md
+ displayName: Excel
+ - name: ExcelApi 1.7 requirement set
+ href: ../../requirement-sets/excel/excel-api-1-7-requirement-set.md
+ displayName: Excel
+ - name: ExcelApi 1.6 requirement set
+ href: ../../requirement-sets/excel/excel-api-1-6-requirement-set.md
+ displayName: Excel
+ - name: ExcelApi 1.5 requirement set
+ href: ../../requirement-sets/excel/excel-api-1-5-requirement-set.md
+ displayName: Excel
+ - name: ExcelApi 1.4 requirement set
+ href: ../../requirement-sets/excel/excel-api-1-4-requirement-set.md
+ displayName: Excel
+ - name: ExcelApi 1.3 requirement set
+ href: ../../requirement-sets/excel/excel-api-1-3-requirement-set.md
+ displayName: Excel
+ - name: ExcelApi 1.2 requirement set
+ href: ../../requirement-sets/excel/excel-api-1-2-requirement-set.md
+ displayName: Excel
+ - name: ExcelApi 1.1 requirement set
+ href: ../../requirement-sets/excel/excel-api-1-1-requirement-set.md
+ displayName: Excel
+ - name: OneNote requirement sets
+ items:
+ - name: API requirement sets
+ href: ../../requirement-sets/onenote/onenote-api-requirement-sets.md
+ displayName: OneNote
+ - name: Outlook requirement sets
+ items:
+ - name: Overview
+ href: ../../requirement-sets/outlook/outlook-api-requirement-sets.md
+ displayName: Outlook
+ - name: Mailbox preview requirement set
+ items:
+ - name: Overview
+ href: >-
+ ../../requirement-sets/outlook/preview-requirement-set/outlook-requirement-set-preview.md
+ - name: Office
+ href: >-
+ ../../requirement-sets/outlook/preview-requirement-set/office.md
+ - name: Office.context
+ href: >-
+ ../../requirement-sets/outlook/preview-requirement-set/Office.context.md
+ - name: Office.context.mailbox
+ href: >-
+ ../../requirement-sets/outlook/preview-requirement-set/Office.context.mailbox.md
+ - name: Office.context.mailbox.item
+ href: >-
+ ../../requirement-sets/outlook/preview-requirement-set/Office.context.mailbox.item.md
+ - name: Mailbox requirement set 1.14
+ items:
+ - name: Overview
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.14/outlook-requirement-set-1.14.md
+ - name: Office
+ href: ../../requirement-sets/outlook/requirement-set-1.14/office.md
+ - name: Office.context
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.14/Office.context.md
+ - name: Office.context.mailbox
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.14/Office.context.mailbox.md
+ - name: Office.context.mailbox.item
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.14/Office.context.mailbox.item.md
+ - name: Mailbox requirement set 1.13
+ items:
+ - name: Overview
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.13/outlook-requirement-set-1.13.md
+ - name: Office
+ href: ../../requirement-sets/outlook/requirement-set-1.13/office.md
+ - name: Office.context
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.13/Office.context.md
+ - name: Office.context.mailbox
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.13/Office.context.mailbox.md
+ - name: Office.context.mailbox.item
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.13/Office.context.mailbox.item.md
+ - name: Mailbox requirement set 1.12
+ items:
+ - name: Overview
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.12/outlook-requirement-set-1.12.md
+ - name: Office
+ href: ../../requirement-sets/outlook/requirement-set-1.12/office.md
+ - name: Office.context
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.12/Office.context.md
+ - name: Office.context.mailbox
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.12/Office.context.mailbox.md
+ - name: Office.context.mailbox.item
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.12/Office.context.mailbox.item.md
+ - name: Mailbox requirement set 1.11
+ items:
+ - name: Overview
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.11/outlook-requirement-set-1.11.md
+ - name: Office
+ href: ../../requirement-sets/outlook/requirement-set-1.11/office.md
+ - name: Office.context
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.11/Office.context.md
+ - name: Office.context.mailbox
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.11/Office.context.mailbox.md
+ - name: Office.context.mailbox.item
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.11/Office.context.mailbox.item.md
+ - name: Mailbox requirement set 1.10
+ items:
+ - name: Overview
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.10/outlook-requirement-set-1.10.md
+ - name: Office
+ href: ../../requirement-sets/outlook/requirement-set-1.10/office.md
+ - name: Office.context
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.10/Office.context.md
+ - name: Office.context.mailbox
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.10/Office.context.mailbox.md
+ - name: Office.context.mailbox.item
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.10/Office.context.mailbox.item.md
+ - name: Mailbox requirement set 1.9
+ items:
+ - name: Overview
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.9/outlook-requirement-set-1.9.md
+ - name: Office
+ href: ../../requirement-sets/outlook/requirement-set-1.9/office.md
+ - name: Office.context
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.9/Office.context.md
+ - name: Office.context.mailbox
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.9/Office.context.mailbox.md
+ - name: Office.context.mailbox.item
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.9/Office.context.mailbox.item.md
+ - name: Mailbox requirement set 1.8
+ items:
+ - name: Overview
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.8/outlook-requirement-set-1.8.md
+ - name: Office
+ href: ../../requirement-sets/outlook/requirement-set-1.8/office.md
+ - name: Office.context
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.8/Office.context.md
+ - name: Office.context.mailbox
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.8/Office.context.mailbox.md
+ - name: Office.context.mailbox.item
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.8/Office.context.mailbox.item.md
+ - name: Mailbox requirement set 1.7
+ items:
+ - name: Overview
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.7/outlook-requirement-set-1.7.md
+ - name: Office
+ href: ../../requirement-sets/outlook/requirement-set-1.7/office.md
+ - name: Office.context
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.7/Office.context.md
+ - name: Office.context.mailbox
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.7/Office.context.mailbox.md
+ - name: Office.context.mailbox.item
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.7/Office.context.mailbox.item.md
+ - name: Mailbox requirement set 1.6
+ items:
+ - name: Overview
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.6/outlook-requirement-set-1.6.md
+ - name: Office
+ href: ../../requirement-sets/outlook/requirement-set-1.6/office.md
+ - name: Office.context
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.6/Office.context.md
+ - name: Office.context.mailbox
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.6/Office.context.mailbox.md
+ - name: Office.context.mailbox.item
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.6/Office.context.mailbox.item.md
+ - name: Mailbox requirement set 1.5
+ items:
+ - name: Overview
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.5/outlook-requirement-set-1.5.md
+ - name: Office
+ href: ../../requirement-sets/outlook/requirement-set-1.5/office.md
+ - name: Office.context
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.5/Office.context.md
+ - name: Office.context.mailbox
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.5/Office.context.mailbox.md
+ - name: Office.context.mailbox.item
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.5/Office.context.mailbox.item.md
+ - name: Mailbox requirement set 1.4
+ items:
+ - name: Overview
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.4/outlook-requirement-set-1.4.md
+ - name: Office
+ href: ../../requirement-sets/outlook/requirement-set-1.4/office.md
+ - name: Office.context
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.4/Office.context.md
+ - name: Office.context.mailbox
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.4/Office.context.mailbox.md
+ - name: Office.context.mailbox.item
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.4/Office.context.mailbox.item.md
+ - name: Mailbox requirement set 1.3
+ items:
+ - name: Overview
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.3/outlook-requirement-set-1.3.md
+ - name: Office
+ href: ../../requirement-sets/outlook/requirement-set-1.3/office.md
+ - name: Office.context
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.3/Office.context.md
+ - name: Office.context.mailbox
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.3/Office.context.mailbox.md
+ - name: Office.context.mailbox.item
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.3/Office.context.mailbox.item.md
+ - name: Mailbox requirement set 1.2
+ items:
+ - name: Overview
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.2/outlook-requirement-set-1.2.md
+ - name: Office
+ href: ../../requirement-sets/outlook/requirement-set-1.2/office.md
+ - name: Office.context
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.2/Office.context.md
+ - name: Office.context.mailbox
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.2/Office.context.mailbox.md
+ - name: Office.context.mailbox.item
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.2/Office.context.mailbox.item.md
+ - name: Mailbox requirement set 1.1
+ items:
+ - name: Overview
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.1/outlook-requirement-set-1.1.md
+ - name: Office
+ href: ../../requirement-sets/outlook/requirement-set-1.1/office.md
+ - name: Office.context
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.1/Office.context.md
+ - name: Office.context.mailbox
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.1/Office.context.mailbox.md
+ - name: Office.context.mailbox.item
+ href: >-
+ ../../requirement-sets/outlook/requirement-set-1.1/Office.context.mailbox.item.md
+ - name: PowerPoint requirement sets
+ items:
+ - name: Overview
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-requirement-sets.md
+ displayName: PowerPoint
+ - name: PowerPoint preview APIs
+ href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
+ displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
+ - name: PowerPointApi 1.5 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
+ displayName: PowerPoint
+ - name: PowerPointApi 1.4 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-4-requirement-set.md
+ displayName: PowerPoint
+ - name: PowerPointApi 1.3 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-3-requirement-set.md
+ displayName: PowerPoint
+ - name: PowerPointApi 1.2 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-2-requirement-set.md
+ displayName: PowerPoint
+ - name: PowerPointApi 1.1 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-1-requirement-set.md
+ displayName: PowerPoint
+ - name: Word requirement sets
+ items:
+ - name: Overview
+ href: ../../requirement-sets/word/word-api-requirement-sets.md
+ displayName: Word
+ - name: Word preview APIs
+ href: ../../requirement-sets/word/word-preview-apis.md
+ displayName: Word
+ - name: WordApi online-only requirement set
+ href: ../../requirement-sets/word/word-api-online-requirement-set.md
+ displayName: Word
+ - name: WordApiDesktop 1.1 requirement set
+ href: >-
+ ../../requirement-sets/word/word-api-desktop-1.1-requirement-set.md
+ displayName: Word
+ - name: WordApi 1.8 requirement set
+ href: ../../requirement-sets/word/word-api-1-8-requirement-set.md
+ displayName: Word
+ - name: WordApi 1.7 requirement set
+ href: ../../requirement-sets/word/word-api-1-7-requirement-set.md
+ displayName: Word
+ - name: WordApi 1.6 requirement set
+ href: ../../requirement-sets/word/word-api-1-6-requirement-set.md
+ displayName: Word
+ - name: WordApi 1.5 requirement set
+ href: ../../requirement-sets/word/word-api-1-5-requirement-set.md
+ displayName: Word
+ - name: WordApi 1.4 requirement set
+ href: ../../requirement-sets/word/word-api-1-4-requirement-set.md
+ displayName: Word
+ - name: WordApi 1.3 requirement set
+ href: ../../requirement-sets/word/word-api-1-3-requirement-set.md
+ displayName: Word
+ - name: WordApi 1.2 requirement set
+ href: ../../requirement-sets/word/word-api-1-2-requirement-set.md
+ displayName: Word
+ - name: WordApi 1.1 requirement set
+ href: ../../requirement-sets/word/word-api-1-1-requirement-set.md
+ displayName: Word
+ - name: Common API requirement sets
+ items:
+ - name: Overview
+ href: ../../requirement-sets/common/office-add-in-requirement-sets.md
+ - name: Add-in commands requirement sets
+ href: ../../requirement-sets/common/add-in-commands-requirement-sets.md
+ - name: Device Permission Service requirement sets
+ href: >-
+ ../../requirement-sets/common/device-permission-service-requirement-sets.md
+ - name: Dialog API requirement sets
+ href: ../../requirement-sets/common/dialog-api-requirement-sets.md
+ - name: Dialog Origin requirement sets
+ href: ../../requirement-sets/common/dialog-origin-requirement-sets.md
+ - name: Identity API requirement sets
+ href: ../../requirement-sets/common/identity-api-requirement-sets.md
+ - name: Image Coercion requirement sets
+ href: ../../requirement-sets/common/image-coercion-requirement-sets.md
+ - name: Keyboard Shortcuts requirement sets
+ href: >-
+ ../../requirement-sets/common/keyboard-shortcuts-requirement-sets.md
+ - name: Open Browser Window requirement sets
+ href: >-
+ ../../requirement-sets/common/open-browser-window-api-requirement-sets.md
+ - name: Ribbon API requirement sets
+ href: ../../requirement-sets/common/ribbon-api-requirement-sets.md
+ - name: Shared Runtime requirement sets
+ href: ../../requirement-sets/common/shared-runtime-requirement-sets.md
diff --git a/docs/docs-ref-autogen/visio/toc.yml b/docs/docs-ref-autogen/visio/toc.yml
index 8af2a470d..2c2205ada 100644
--- a/docs/docs-ref-autogen/visio/toc.yml
+++ b/docs/docs-ref-autogen/visio/toc.yml
@@ -664,6 +664,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/word/toc.yml b/docs/docs-ref-autogen/word/toc.yml
index fd4152752..8af9695a1 100644
--- a/docs/docs-ref-autogen/word/toc.yml
+++ b/docs/docs-ref-autogen/word/toc.yml
@@ -1074,6 +1074,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/word_1_1/toc.yml b/docs/docs-ref-autogen/word_1_1/toc.yml
index 096659f25..5b2464b46 100644
--- a/docs/docs-ref-autogen/word_1_1/toc.yml
+++ b/docs/docs-ref-autogen/word_1_1/toc.yml
@@ -860,6 +860,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/word_1_2/toc.yml b/docs/docs-ref-autogen/word_1_2/toc.yml
index 096659f25..5b2464b46 100644
--- a/docs/docs-ref-autogen/word_1_2/toc.yml
+++ b/docs/docs-ref-autogen/word_1_2/toc.yml
@@ -860,6 +860,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/word_1_3/toc.yml b/docs/docs-ref-autogen/word_1_3/toc.yml
index 11a322830..b6ceaad6d 100644
--- a/docs/docs-ref-autogen/word_1_3/toc.yml
+++ b/docs/docs-ref-autogen/word_1_3/toc.yml
@@ -916,6 +916,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/word_1_3_hidden_document/toc.yml b/docs/docs-ref-autogen/word_1_3_hidden_document/toc.yml
index 11a322830..b6ceaad6d 100644
--- a/docs/docs-ref-autogen/word_1_3_hidden_document/toc.yml
+++ b/docs/docs-ref-autogen/word_1_3_hidden_document/toc.yml
@@ -916,6 +916,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/word_1_4/toc.yml b/docs/docs-ref-autogen/word_1_4/toc.yml
index 003a6d63f..c85f513b0 100644
--- a/docs/docs-ref-autogen/word_1_4/toc.yml
+++ b/docs/docs-ref-autogen/word_1_4/toc.yml
@@ -944,6 +944,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/word_1_4_hidden_document/toc.yml b/docs/docs-ref-autogen/word_1_4_hidden_document/toc.yml
index 003a6d63f..c85f513b0 100644
--- a/docs/docs-ref-autogen/word_1_4_hidden_document/toc.yml
+++ b/docs/docs-ref-autogen/word_1_4_hidden_document/toc.yml
@@ -944,6 +944,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/word_1_5/toc.yml b/docs/docs-ref-autogen/word_1_5/toc.yml
index 737a18f96..6a7b74f68 100644
--- a/docs/docs-ref-autogen/word_1_5/toc.yml
+++ b/docs/docs-ref-autogen/word_1_5/toc.yml
@@ -986,6 +986,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/word_1_5_hidden_document/toc.yml b/docs/docs-ref-autogen/word_1_5_hidden_document/toc.yml
index 737a18f96..6a7b74f68 100644
--- a/docs/docs-ref-autogen/word_1_5_hidden_document/toc.yml
+++ b/docs/docs-ref-autogen/word_1_5_hidden_document/toc.yml
@@ -986,6 +986,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/word_1_6/toc.yml b/docs/docs-ref-autogen/word_1_6/toc.yml
index c5b0d7eb3..df66773bd 100644
--- a/docs/docs-ref-autogen/word_1_6/toc.yml
+++ b/docs/docs-ref-autogen/word_1_6/toc.yml
@@ -1002,6 +1002,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/word_1_7/toc.yml b/docs/docs-ref-autogen/word_1_7/toc.yml
index 2208b2847..9bb21688d 100644
--- a/docs/docs-ref-autogen/word_1_7/toc.yml
+++ b/docs/docs-ref-autogen/word_1_7/toc.yml
@@ -1028,6 +1028,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/word_1_8/toc.yml b/docs/docs-ref-autogen/word_1_8/toc.yml
index 7774eb7de..ea55c9015 100644
--- a/docs/docs-ref-autogen/word_1_8/toc.yml
+++ b/docs/docs-ref-autogen/word_1_8/toc.yml
@@ -1032,6 +1032,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/word_desktop_1_1/toc.yml b/docs/docs-ref-autogen/word_desktop_1_1/toc.yml
index 168de4e7e..8a5e6dcd5 100644
--- a/docs/docs-ref-autogen/word_desktop_1_1/toc.yml
+++ b/docs/docs-ref-autogen/word_desktop_1_1/toc.yml
@@ -1056,6 +1056,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/docs-ref-autogen/word_online/toc.yml b/docs/docs-ref-autogen/word_online/toc.yml
index 7774eb7de..ea55c9015 100644
--- a/docs/docs-ref-autogen/word_online/toc.yml
+++ b/docs/docs-ref-autogen/word_online/toc.yml
@@ -1032,6 +1032,10 @@ items:
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: >-
+ ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: >-
../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
diff --git a/docs/includes/powerpoint-1_6.md b/docs/includes/powerpoint-1_6.md
new file mode 100644
index 000000000..40378a4c5
--- /dev/null
+++ b/docs/includes/powerpoint-1_6.md
@@ -0,0 +1,8 @@
+| Class | Fields | Description |
+|:---|:---|:---|
+|[Hyperlink](/javascript/api/powerpoint/powerpoint.hyperlink)|[address](/javascript/api/powerpoint/powerpoint.hyperlink#powerpoint-powerpoint-hyperlink-address-member)|Specifies the URL target of the hyperlink.|
+||[screenTip](/javascript/api/powerpoint/powerpoint.hyperlink#powerpoint-powerpoint-hyperlink-screentip-member)|Specifies the string displayed when hovering over the hyperlink.|
+|[HyperlinkCollection](/javascript/api/powerpoint/powerpoint.hyperlinkcollection)|[getCount()](/javascript/api/powerpoint/powerpoint.hyperlinkcollection#powerpoint-powerpoint-hyperlinkcollection-getcount-member(1))|Gets the number of hyperlinks in the collection.|
+||[getItemAt(index: number)](/javascript/api/powerpoint/powerpoint.hyperlinkcollection#powerpoint-powerpoint-hyperlinkcollection-getitemat-member(1))|Gets a hyperlink using its zero-based index in the collection.|
+||[items](/javascript/api/powerpoint/powerpoint.hyperlinkcollection#powerpoint-powerpoint-hyperlinkcollection-items-member)|Gets the loaded child items in this collection.|
+|[Slide](/javascript/api/powerpoint/powerpoint.slide)|[hyperlinks](/javascript/api/powerpoint/powerpoint.slide#powerpoint-powerpoint-slide-hyperlinks-member)|Returns a collection of hyperlinks in the slide.|
diff --git a/docs/includes/powerpoint-preview.md b/docs/includes/powerpoint-preview.md
index ebe31840a..9a256ceaa 100644
--- a/docs/includes/powerpoint-preview.md
+++ b/docs/includes/powerpoint-preview.md
@@ -39,18 +39,12 @@
||[revisionNumber](/javascript/api/powerpoint/powerpoint.documentproperties#powerpoint-powerpoint-documentproperties-revisionnumber-member)|The revision number of the presentation.|
||[subject](/javascript/api/powerpoint/powerpoint.documentproperties#powerpoint-powerpoint-documentproperties-subject-member)|The subject of the presentation.|
||[title](/javascript/api/powerpoint/powerpoint.documentproperties#powerpoint-powerpoint-documentproperties-title-member)|The title of the presentation.|
-|[Hyperlink](/javascript/api/powerpoint/powerpoint.hyperlink)|[address](/javascript/api/powerpoint/powerpoint.hyperlink#powerpoint-powerpoint-hyperlink-address-member)|Specifies the URL target of the hyperlink.|
-||[screenTip](/javascript/api/powerpoint/powerpoint.hyperlink#powerpoint-powerpoint-hyperlink-screentip-member)|Specifies the string displayed when hovering over the hyperlink.|
-|[HyperlinkCollection](/javascript/api/powerpoint/powerpoint.hyperlinkcollection)|[getCount()](/javascript/api/powerpoint/powerpoint.hyperlinkcollection#powerpoint-powerpoint-hyperlinkcollection-getcount-member(1))|Gets the number of hyperlinks in the collection.|
-||[getItemAt(index: number)](/javascript/api/powerpoint/powerpoint.hyperlinkcollection#powerpoint-powerpoint-hyperlinkcollection-getitemat-member(1))|Gets a hyperlink using its zero-based index in the collection.|
-||[items](/javascript/api/powerpoint/powerpoint.hyperlinkcollection#powerpoint-powerpoint-hyperlinkcollection-items-member)|Gets the loaded child items in this collection.|
|[Presentation](/javascript/api/powerpoint/powerpoint.presentation)|[customXmlParts](/javascript/api/powerpoint/powerpoint.presentation#powerpoint-powerpoint-presentation-customxmlparts-member)|Returns a collection of custom XML parts that are associated with the presentation.|
||[properties](/javascript/api/powerpoint/powerpoint.presentation#powerpoint-powerpoint-presentation-properties-member)|Gets the properties of the presentation.|
|[Shape](/javascript/api/powerpoint/powerpoint.shape)|[customXmlParts](/javascript/api/powerpoint/powerpoint.shape#powerpoint-powerpoint-shape-customxmlparts-member)|Returns a collection of custom XML parts in the shape.|
|[Slide](/javascript/api/powerpoint/powerpoint.slide)|[customXmlParts](/javascript/api/powerpoint/powerpoint.slide#powerpoint-powerpoint-slide-customxmlparts-member)|Returns a collection of custom XML parts in the slide.|
||[exportAsBase64()](/javascript/api/powerpoint/powerpoint.slide#powerpoint-powerpoint-slide-exportasbase64-member(1))|Exports the slide to its own presentation file, returned as Base64-encoded data.|
||[getImageAsBase64(options?: PowerPoint.SlideGetImageOptions)](/javascript/api/powerpoint/powerpoint.slide#powerpoint-powerpoint-slide-getimageasbase64-member(1))|Renders an image of the slide.|
-||[hyperlinks](/javascript/api/powerpoint/powerpoint.slide#powerpoint-powerpoint-slide-hyperlinks-member)|Returns a collection of hyperlinks in the slide.|
|[SlideGetImageOptions](/javascript/api/powerpoint/powerpoint.slidegetimageoptions)|[height](/javascript/api/powerpoint/powerpoint.slidegetimageoptions#powerpoint-powerpoint-slidegetimageoptions-height-member)|The desired height of the resulting image in pixels.|
||[width](/javascript/api/powerpoint/powerpoint.slidegetimageoptions#powerpoint-powerpoint-slidegetimageoptions-width-member)|The desired width of the resulting image in pixels.|
|[SlideLayout](/javascript/api/powerpoint/powerpoint.slidelayout)|[customXmlParts](/javascript/api/powerpoint/powerpoint.slidelayout#powerpoint-powerpoint-slidelayout-customxmlparts-member)|Returns a collection of custom XML parts in the slide layout.|
diff --git a/docs/requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md b/docs/requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
new file mode 100644
index 000000000..665a96c2c
--- /dev/null
+++ b/docs/requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
@@ -0,0 +1,23 @@
+---
+title: PowerPoint JavaScript API requirement set 1.6
+description: Details about the PowerPointApi 1.6 requirement set.
+ms.date: 10/07/2024
+ms.topic: whats-new
+ms.localizationpriority: medium
+---
+
+# What's new in PowerPoint JavaScript API 1.6
+
+PowerPointApi 1.6 added APIs to get and manage existing hyperlinks in the presentation.
+
+## API list
+
+The following table lists the PowerPoint JavaScript API requirement set 1.6. For a complete list of all PowerPoint JavaScript APIs (including preview APIs and previously released APIs), see [all PowerPoint JavaScript APIs](/javascript/api/powerpoint?view=powerpoint-js-preview&preserve-view=true).
+
+
+[!INCLUDE[API table](../../includes/powerpoint-1_6.md)]
+
+## See also
+
+- [PowerPoint JavaScript API Reference Documentation](/javascript/api/powerpoint?view=powerpoint-js-1.6&preserve-view=true)
+- [PowerPoint JavaScript API requirement sets](powerpoint-api-requirement-sets.md)
diff --git a/docs/requirement-sets/powerpoint/powerpoint-api-requirement-sets.md b/docs/requirement-sets/powerpoint/powerpoint-api-requirement-sets.md
index 98598a697..2cd983511 100644
--- a/docs/requirement-sets/powerpoint/powerpoint-api-requirement-sets.md
+++ b/docs/requirement-sets/powerpoint/powerpoint-api-requirement-sets.md
@@ -1,7 +1,7 @@
---
title: PowerPoint JavaScript API requirement sets
description: Learn more about the PowerPoint JavaScript API requirement sets.
-ms.date: 04/15/2024
+ms.date: 10/08/2024
ms.topic: overview
ms.localizationpriority: high
---
@@ -15,6 +15,7 @@ The following table lists the PowerPoint requirement sets, the supported Office
| Requirement set | Office on the web | Office on Windows- Microsoft 365 subscription
- retail perpetual
| Office on Windows- volume-licensed perpetual
| Office on Mac | Office on iPad |
|:-----|:-----|:-----|:-----|:-----|:-----|
| [Preview](powerpoint-preview-apis.md) | Please use the latest Office version to try preview APIs (you may need to join the [Microsoft 365 Insider program](https://insider.microsoft365.com/join)). |
+| [PowerPointApi 1.6](powerpoint-api-1-6-requirement-set.md) | Supported | Version 2410 (Build 18129.20030) | Not available | Version 16.90 (24xxxxxx) | Not available |
| [PowerPointApi 1.5](powerpoint-api-1-5-requirement-set.md) | Supported | Version 2208 (Build 15601.20230) | Not available | Version 16.64 (22080400) | Not available |
| [PowerPointApi 1.4](powerpoint-api-1-4-requirement-set.md) | Supported | Version 2207 (Build 15330.20122) | Not available | Version 16.62 (22061100) | Not available |
| [PowerPointApi 1.3](powerpoint-api-1-3-requirement-set.md) | Supported | Version 2111 (Build 14701.20060) | Not available | Version 16.55 (21111400) | Not available |
@@ -45,7 +46,11 @@ PowerPoint JavaScript API 1.4 adds additional support for adding, moving, sizing
## PowerPoint JavaScript API 1.5
-PowerPoint JavaScript API 1.5 includes APIs to select slides, text ranges, and shapes within presentations. For more information, see [PowerPoint JavaScript API requirement set 1.5](powerpoint-api-1-5-requirement-set.md).
+PowerPoint JavaScript API 1.5 includes APIs to get and manage existing hyperlinks within presentations. For more information, see [PowerPoint JavaScript API requirement set 1.5](powerpoint-api-1-5-requirement-set.md).
+
+## PowerPoint JavaScript API 1.6
+
+PowerPoint JavaScript API 1.6 includes APIs to select slides, text ranges, and shapes within presentations. For more information, see [PowerPoint JavaScript API requirement set 1.6](powerpoint-api-1-6-requirement-set.md).
## How to use PowerPoint requirement sets at runtime and in the manifest
diff --git a/docs/requirement-sets/requirement-sets.md b/docs/requirement-sets/requirement-sets.md
index 060330e1c..7e923ac78 100644
--- a/docs/requirement-sets/requirement-sets.md
+++ b/docs/requirement-sets/requirement-sets.md
@@ -91,12 +91,13 @@ To work as expected, your Office Add-in might depend on a specific Office applic
|Platform|Extension points|Application-specific API requirement sets|[Common API requirement sets](common/office-add-in-requirement-sets.md)|
|---|---|---|---|
-|Office on the web|- Content
- TaskPane
- [Add-in Commands](common/add-in-commands-requirement-sets.md)
|- [PowerPointApi 1.1](powerpoint/powerpoint-api-1-1-requirement-set.md)
- [PowerPointApi 1.2](powerpoint/powerpoint-api-1-2-requirement-set.md)
- [PowerPointApi 1.3](powerpoint/powerpoint-api-1-3-requirement-set.md)
- [PowerPointApi 1.4](powerpoint/powerpoint-api-1-4-requirement-set.md)
- [PowerPointApi 1.5](powerpoint/powerpoint-api-1-5-requirement-set.md)
|- [ActiveView](common/office-add-in-requirement-sets.md#activeview)
- [CompressedFile](common/office-add-in-requirement-sets.md#compressedfile)
- [DevicePermissionService 1.1](common/device-permission-service-requirement-sets.md)
- [DialogApi 1.1](common/dialog-api-requirement-sets.md)
- [DialogApi 1.2](common/dialog-api-requirement-sets.md)
- [DocumentEvents](common/office-add-in-requirement-sets.md#documentevents)
- [File](common/office-add-in-requirement-sets.md#file)
- [IdentityAPI 1.3](common/identity-api-requirement-sets.md)
- [ImageCoercion 1.1](common/image-coercion-requirement-sets.md#imagecoercion-11)
- [ImageCoercion 1.2](common/image-coercion-requirement-sets.md#imagecoercion-12)
- [PdfFile](common/office-add-in-requirement-sets.md#pdffile)
- [RibbonApi 1.1](common/ribbon-api-requirement-sets.md)
- [Selection](common/office-add-in-requirement-sets.md#selection)
- [Settings](common/office-add-in-requirement-sets.md#settings)
- [TextCoercion](common/office-add-in-requirement-sets.md#textcoercion)
|
-|Office on Windows- Microsoft 365 subscription
- retail perpetual Office 2016 and later
|- Content
- TaskPane
- [Add-in Commands](common/add-in-commands-requirement-sets.md)
|- [PowerPointApi 1.1](powerpoint/powerpoint-api-1-1-requirement-set.md)
- [PowerPointApi 1.2](powerpoint/powerpoint-api-1-2-requirement-set.md)
- [PowerPointApi 1.3](powerpoint/powerpoint-api-1-3-requirement-set.md)
- [PowerPointApi 1.4](powerpoint/powerpoint-api-1-4-requirement-set.md)
- [PowerPointApi 1.5](powerpoint/powerpoint-api-1-5-requirement-set.md)
|- [ActiveView](common/office-add-in-requirement-sets.md#activeview)
- [CompressedFile](common/office-add-in-requirement-sets.md#compressedfile)
- [DialogApi 1.1](common/dialog-api-requirement-sets.md)
- [DialogApi 1.2](common/dialog-api-requirement-sets.md)
- [DocumentEvents](common/office-add-in-requirement-sets.md#documentevents)
- [File](common/office-add-in-requirement-sets.md#file)
- [IdentityAPI 1.3](common/identity-api-requirement-sets.md)
- [ImageCoercion 1.1](common/image-coercion-requirement-sets.md#imagecoercion-11)
- [ImageCoercion 1.2](common/image-coercion-requirement-sets.md#imagecoercion-12)
- [OpenBrowserWindowApi 1.1](common/open-browser-window-api-requirement-sets.md)
- [PdfFile](common/office-add-in-requirement-sets.md#pdffile)
- [RibbonApi 1.1](common/ribbon-api-requirement-sets.md)
- [Selection](common/office-add-in-requirement-sets.md#selection)
- [Settings](common/office-add-in-requirement-sets.md#settings)
- [TextCoercion](common/office-add-in-requirement-sets.md#textcoercion)
|
+|Office on the web|- Content
- TaskPane
- [Add-in Commands](common/add-in-commands-requirement-sets.md)
|- [PowerPointApi 1.1](powerpoint/powerpoint-api-1-1-requirement-set.md)
- [PowerPointApi 1.2](powerpoint/powerpoint-api-1-2-requirement-set.md)
- [PowerPointApi 1.3](powerpoint/powerpoint-api-1-3-requirement-set.md)
- [PowerPointApi 1.4](powerpoint/powerpoint-api-1-4-requirement-set.md)
- [PowerPointApi 1.5](powerpoint/powerpoint-api-1-5-requirement-set.md)
- [PowerPointApi 1.6](powerpoint/powerpoint-api-1-6-requirement-set.md)
|- [ActiveView](common/office-add-in-requirement-sets.md#activeview)
- [CompressedFile](common/office-add-in-requirement-sets.md#compressedfile)
- [DevicePermissionService 1.1](common/device-permission-service-requirement-sets.md)
- [DialogApi 1.1](common/dialog-api-requirement-sets.md)
- [DialogApi 1.2](common/dialog-api-requirement-sets.md)
- [DocumentEvents](common/office-add-in-requirement-sets.md#documentevents)
- [File](common/office-add-in-requirement-sets.md#file)
- [IdentityAPI 1.3](common/identity-api-requirement-sets.md)
- [ImageCoercion 1.1](common/image-coercion-requirement-sets.md#imagecoercion-11)
- [ImageCoercion 1.2](common/image-coercion-requirement-sets.md#imagecoercion-12)
- [PdfFile](common/office-add-in-requirement-sets.md#pdffile)
- [RibbonApi 1.1](common/ribbon-api-requirement-sets.md)
- [Selection](common/office-add-in-requirement-sets.md#selection)
- [Settings](common/office-add-in-requirement-sets.md#settings)
- [TextCoercion](common/office-add-in-requirement-sets.md#textcoercion)
|
+|Office on WindowsMicrosoft 365 subscriptionretail perpetual Office 2016 and later|- Content
- TaskPane
- [Add-in Commands](common/add-in-commands-requirement-sets.md)
|- [PowerPointApi 1.1](powerpoint/powerpoint-api-1-1-requirement-set.md)
- [PowerPointApi 1.2](powerpoint/powerpoint-api-1-2-requirement-set.md)
- [PowerPointApi 1.3](powerpoint/powerpoint-api-1-3-requirement-set.md)
- [PowerPointApi 1.4](powerpoint/powerpoint-api-1-4-requirement-set.md)
- [PowerPointApi 1.5](powerpoint/powerpoint-api-1-5-requirement-set.md)
- [PowerPointApi 1.6](powerpoint/powerpoint-api-1-6-requirement-set.md)
|- [ActiveView](common/office-add-in-requirement-sets.md#activeview)
- [CompressedFile](common/office-add-in-requirement-sets.md#compressedfile)
- [DialogApi 1.1](common/dialog-api-requirement-sets.md)
- [DialogApi 1.2](common/dialog-api-requirement-sets.md)
- [DocumentEvents](common/office-add-in-requirement-sets.md#documentevents)
- [File](common/office-add-in-requirement-sets.md#file)
- [IdentityAPI 1.3](common/identity-api-requirement-sets.md)
- [ImageCoercion 1.1](common/image-coercion-requirement-sets.md#imagecoercion-11)
- [ImageCoercion 1.2](common/image-coercion-requirement-sets.md#imagecoercion-12)
- [OpenBrowserWindowApi 1.1](common/open-browser-window-api-requirement-sets.md)
- [PdfFile](common/office-add-in-requirement-sets.md#pdffile)
- [RibbonApi 1.1](common/ribbon-api-requirement-sets.md)
- [Selection](common/office-add-in-requirement-sets.md#selection)
- [Settings](common/office-add-in-requirement-sets.md#settings)
- [TextCoercion](common/office-add-in-requirement-sets.md#textcoercion)
|
|Office 2021 on Windows
(volume-licensed perpetual)|- Content
- TaskPane
- [Add-in Commands](common/add-in-commands-requirement-sets.md)
|- [PowerPointApi 1.1](powerpoint/powerpoint-api-1-1-requirement-set.md)
- [PowerPointApi 1.2](powerpoint/powerpoint-api-1-2-requirement-set.md)
|- [ActiveView](common/office-add-in-requirement-sets.md#activeview)
- [CompressedFile](common/office-add-in-requirement-sets.md#compressedfile)
- [DialogApi 1.1](common/dialog-api-requirement-sets.md)
- [DialogApi 1.2](common/dialog-api-requirement-sets.md)
- [DocumentEvents](common/office-add-in-requirement-sets.md#documentevents)
- [File](common/office-add-in-requirement-sets.md#file)
- [IdentityAPI 1.3](common/identity-api-requirement-sets.md)
- [ImageCoercion 1.1](common/image-coercion-requirement-sets.md#imagecoercion-11)
- [ImageCoercion 1.2](common/image-coercion-requirement-sets.md#imagecoercion-12)
- [OpenBrowserWindowApi 1.1](common/open-browser-window-api-requirement-sets.md)
- [PdfFile](common/office-add-in-requirement-sets.md#pdffile)
- [RibbonApi 1.1](common/ribbon-api-requirement-sets.md)
- [Selection](common/office-add-in-requirement-sets.md#selection)
- [Settings](common/office-add-in-requirement-sets.md#settings)
- [TextCoercion](common/office-add-in-requirement-sets.md#textcoercion)
|
|Office 2019 on Windows
(volume-licensed perpetual)|- Content
- TaskPane
- [Add-in Commands](common/add-in-commands-requirement-sets.md)
|Not available|- [ActiveView](common/office-add-in-requirement-sets.md#activeview)
- [CompressedFile](common/office-add-in-requirement-sets.md#compressedfile)
- [DialogApi 1.1](common/dialog-api-requirement-sets.md)\*
- [DocumentEvents](common/office-add-in-requirement-sets.md#documentevents)
- [File](common/office-add-in-requirement-sets.md#file)
- [ImageCoercion 1.1](common/image-coercion-requirement-sets.md#imagecoercion-11)
- [PdfFile](common/office-add-in-requirement-sets.md#pdffile)
- [Selection](common/office-add-in-requirement-sets.md#selection)
- [Settings](common/office-add-in-requirement-sets.md#settings)
- [TextCoercion](common/office-add-in-requirement-sets.md#textcoercion)
|
|Office 2016 on Windows
(volume-licensed perpetual)||Not available|- [ActiveView](common/office-add-in-requirement-sets.md#activeview)
- [CompressedFile](common/office-add-in-requirement-sets.md#compressedfile)
- [DialogApi 1.1](common/dialog-api-requirement-sets.md)\*
- [DocumentEvents](common/office-add-in-requirement-sets.md#documentevents)
- [File](common/office-add-in-requirement-sets.md#file)
- [ImageCoercion 1.1](common/image-coercion-requirement-sets.md#imagecoercion-11)
- [PdfFile](common/office-add-in-requirement-sets.md#pdffile)
- [Selection](common/office-add-in-requirement-sets.md#selection)
- [Settings](common/office-add-in-requirement-sets.md#settings)
- [TextCoercion](common/office-add-in-requirement-sets.md#textcoercion)
|
-|Office on Mac|- Content
- TaskPane
- [Add-in Commands](common/add-in-commands-requirement-sets.md)
|- [PowerPointApi 1.1](powerpoint/powerpoint-api-1-1-requirement-set.md)
- [PowerPointApi 1.2](powerpoint/powerpoint-api-1-2-requirement-set.md)
- [PowerPointApi 1.3](powerpoint/powerpoint-api-1-3-requirement-set.md)
- [PowerPointApi 1.4](powerpoint/powerpoint-api-1-4-requirement-set.md)
- [PowerPointApi 1.5](powerpoint/powerpoint-api-1-5-requirement-set.md)
|- [ActiveView](common/office-add-in-requirement-sets.md#activeview)
- [CompressedFile](common/office-add-in-requirement-sets.md#compressedfile)
- [DialogApi 1.1](common/dialog-api-requirement-sets.md)
- [DialogApi 1.2](common/dialog-api-requirement-sets.md)
- [DocumentEvents](common/office-add-in-requirement-sets.md#documentevents)
- [File](common/office-add-in-requirement-sets.md#file)
- [IdentityAPI 1.3](common/identity-api-requirement-sets.md)
- [ImageCoercion 1.1](common/image-coercion-requirement-sets.md#imagecoercion-11)
- [ImageCoercion 1.2](common/image-coercion-requirement-sets.md#imagecoercion-12)
- [OpenBrowserWindowApi 1.1](common/open-browser-window-api-requirement-sets.md)
- [PdfFile](common/office-add-in-requirement-sets.md#pdffile)
- [RibbonApi 1.1](common/ribbon-api-requirement-sets.md)
- [Selection](common/office-add-in-requirement-sets.md#selection)
- [Settings](common/office-add-in-requirement-sets.md#settings)
- [TextCoercion](common/office-add-in-requirement-sets.md#textcoercion)
|
+|Office on Mac|- Content
- TaskPane
- [Add-in Commands](common/add-in-commands-requirement-sets.md)
|- [PowerPointApi 1.1](powerpoint/powerpoint-api-1-1-requirement-set.md)
- [PowerPointApi 1.2](powerpoint/powerpoint-api-1-2-requirement-set.md)
- [PowerPointApi 1.3](powerpoint/powerpoint-api-1-3-requirement-set.md)
- [PowerPointApi 1.4](powerpoint/powerpoint-api-1-4-requirement-set.md)
- [PowerPointApi 1.5](powerpoint/powerpoint-api-1-5-requirement-set.md)
- [PowerPointApi 1.6](powerpoint/powerpoint-api-1-6-requirement-set.md)
|- [ActiveView](common/office-add-in-requirement-sets.md#activeview)
- [CompressedFile](common/office-add-in-requirement-sets.md#compressedfile)
- [DialogApi 1.1](common/dialog-api-requirement-sets.md)
- [DialogApi 1.2](common/dialog-api-requirement-sets.md)
- [DocumentEvents](common/office-add-in-requirement-sets.md#documentevents)
- [File](common/office-add-in-requirement-sets.md#file)
- [IdentityAPI 1.3](common/identity-api-requirement-sets.md)
- [ImageCoercion 1.1](common/image-coercion-requirement-sets.md#imagecoercion-11)
- [ImageCoercion 1.2](common/image-coercion-requirement-sets.md#imagecoercion-12)
- [OpenBrowserWindowApi 1.1](common/open-browser-window-api-requirement-sets.md)
- [PdfFile](common/office-add-in-requirement-sets.md#pdffile)
- [RibbonApi 1.1](common/ribbon-api-requirement-sets.md)
- [Selection](common/office-add-in-requirement-sets.md#selection)
- [Settings](common/office-add-in-requirement-sets.md#settings)
- [TextCoercion](common/office-add-in-requirement-sets.md#textcoercion)
|
+|Office on iPad||- [PowerPointApi 1.1](powerpoint/powerpoint-api-1-1-requirement-set.md)
|- [ActiveView](common/office-add-in-requirement-sets.md#activeview)
- [CompressedFile](common/office-add-in-requirement-sets.md#compressedfile)
- [DialogApi 1.1](common/dialog-api-requirement-sets.md)
- [DialogApi 1.2](common/dialog-api-requirement-sets.md)
- [DocumentEvents](common/office-add-in-requirement-sets.md#documentevents)
- [File](common/office-add-in-requirement-sets.md#file)
- [ImageCoercion 1.1](common/image-coercion-requirement-sets.md#imagecoercion-11)
- [OpenBrowserWindowApi 1.1](common/open-browser-window-api-requirement-sets.md)
- [PdfFile](common/office-add-in-requirement-sets.md#pdffile)
- [Selection](common/office-add-in-requirement-sets.md#selection)
- [Settings](common/office-add-in-requirement-sets.md#settings)
- [TextCoercion](common/office-add-in-requirement-sets.md#textcoercion)
|
** Added with post-release updates.*
diff --git a/docs/requirement-sets/toc.yml b/docs/requirement-sets/toc.yml
index d88474db7..ed747a315 100644
--- a/docs/requirement-sets/toc.yml
+++ b/docs/requirement-sets/toc.yml
@@ -268,6 +268,9 @@
- name: PowerPoint preview APIs
href: ../../requirement-sets/powerpoint/powerpoint-preview-apis.md
displayName: PowerPoint
+ - name: PowerPointApi 1.6 requirement set
+ href: ../../requirement-sets/powerpoint/powerpoint-api-1-6-requirement-set.md
+ displayName: PowerPoint
- name: PowerPointApi 1.5 requirement set
href: ../../requirement-sets/powerpoint/powerpoint-api-1-5-requirement-set.md
displayName: PowerPoint
diff --git a/generate-docs/GenerateDocs.sh b/generate-docs/GenerateDocs.sh
index 868a81f50..1eb200917 100644
--- a/generate-docs/GenerateDocs.sh
+++ b/generate-docs/GenerateDocs.sh
@@ -97,6 +97,7 @@ node version-remover ../api-extractor-inputs-outlook-release/outlook_1_2/outlook
node ../scripts/versioned-dts-cleanup ../api-extractor-inputs-outlook-release/outlook_1_1/outlook.d.ts Outlook 1.1
node version-remover ../api-extractor-inputs-outlook-release/outlook_1_1/outlook.d.ts "Mailbox 1.1" ./tool-inputs/outlook-base.d.ts
+node version-remover ../api-extractor-inputs-powerpoint-release/powerpoint_1_6/powerpoint.d.ts "PowerPointApi 1.6" ../api-extractor-inputs-powerpoint-release/powerpoint_1_5/powerpoint.d.ts
node version-remover ../api-extractor-inputs-powerpoint-release/powerpoint_1_5/powerpoint.d.ts "PowerPointApi 1.5" ../api-extractor-inputs-powerpoint-release/powerpoint_1_4/powerpoint.d.ts
node version-remover ../api-extractor-inputs-powerpoint-release/powerpoint_1_4/powerpoint.d.ts "PowerPointApi 1.4" ../api-extractor-inputs-powerpoint-release/powerpoint_1_3/powerpoint.d.ts
node version-remover ../api-extractor-inputs-powerpoint-release/powerpoint_1_3/powerpoint.d.ts "PowerPointApi 1.3" ../api-extractor-inputs-powerpoint-release/powerpoint_1_2/powerpoint.d.ts
@@ -163,7 +164,8 @@ node whats-new outlook ../api-extractor-inputs-outlook-release/outlook_1_3/outlo
node whats-new outlook ../api-extractor-inputs-outlook-release/outlook_1_2/outlook.d.ts ../api-extractor-inputs-outlook-release/outlook_1_1/outlook.d.ts ../../docs/includes/outlook-1_2
node whats-new outlook ../api-extractor-inputs-outlook-release/outlook_1_1/outlook.d.ts ./tool-inputs/outlook-base.d.ts ../../docs/includes/outlook-1_1
-node whats-new powerpoint ../api-extractor-inputs-powerpoint/powerpoint.d.ts ../api-extractor-inputs-powerpoint-release/powerpoint_1_5/powerpoint.d.ts ../../docs/includes/powerpoint-preview
+node whats-new powerpoint ../api-extractor-inputs-powerpoint/powerpoint.d.ts ../api-extractor-inputs-powerpoint-release/powerpoint_1_6/powerpoint.d.ts ../../docs/includes/powerpoint-preview
+node whats-new powerpoint ../api-extractor-inputs-powerpoint-release/powerpoint_1_6/powerpoint.d.ts ../api-extractor-inputs-powerpoint-release/powerpoint_1_5/powerpoint.d.ts ../../docs/includes/powerpoint-1_6
node whats-new powerpoint ../api-extractor-inputs-powerpoint-release/powerpoint_1_5/powerpoint.d.ts ../api-extractor-inputs-powerpoint-release/powerpoint_1_4/powerpoint.d.ts ../../docs/includes/powerpoint-1_5
node whats-new powerpoint ../api-extractor-inputs-powerpoint-release/powerpoint_1_4/powerpoint.d.ts ../api-extractor-inputs-powerpoint-release/powerpoint_1_3/powerpoint.d.ts ../../docs/includes/powerpoint-1_4
node whats-new powerpoint ../api-extractor-inputs-powerpoint-release/powerpoint_1_3/powerpoint.d.ts ../api-extractor-inputs-powerpoint-release/powerpoint_1_2/powerpoint.d.ts ../../docs/includes/powerpoint-1_3
@@ -419,6 +421,12 @@ if [ ! -d "json/powerpoint" ]; then
../node_modules/.bin/api-extractor run
popd
fi
+if [ ! -d "json/powerpoint_1_6" ]; then
+ echo Running API Extractor for PowerPoint 1.6.
+ pushd api-extractor-inputs-powerpoint-release/PowerPoint_1_6
+ ../../node_modules/.bin/api-extractor run
+ popd
+fi
if [ ! -d "json/powerpoint_1_5" ]; then
echo Running API Extractor for PowerPoint 1.5.
pushd api-extractor-inputs-powerpoint-release/PowerPoint_1_5
@@ -691,6 +699,9 @@ fi
if [ ! -d "yaml/powerpoint_1_5" ]; then
./node_modules/.bin/api-documenter yaml --input-folder ./json/powerpoint_1_5 --output-folder ./yaml/powerpoint_1_5 --office 2>/dev/null
fi
+if [ ! -d "yaml/powerpoint_1_6" ]; then
+ ./node_modules/.bin/api-documenter yaml --input-folder ./json/powerpoint_1_6 --output-folder ./yaml/powerpoint_1_6 --office 2>/dev/null
+fi
if [ ! -d "yaml/visio" ]; then
./node_modules/.bin/api-documenter yaml --input-folder ./json/visio --output-folder ./yaml/visio --office
fi
diff --git a/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_1/powerpoint.d.ts b/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_1/powerpoint.d.ts
index 43ae20cf9..593131b05 100644
--- a/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_1/powerpoint.d.ts
+++ b/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_1/powerpoint.d.ts
@@ -99,6 +99,8 @@ export declare namespace PowerPoint {
+
+
@@ -119,6 +121,15 @@ export declare namespace PowerPoint {
*/
$skip?: number;
}
+ /** An interface for updating data on the `Hyperlink` object, for use in `hyperlink.set({ ... })`. */
+ export interface HyperlinkUpdateData {
+
+
+ }
+ /** An interface for updating data on the `HyperlinkCollection` object, for use in `hyperlinkCollection.set({ ... })`. */
+ export interface HyperlinkCollectionUpdateData {
+ items?: PowerPoint.Interfaces.HyperlinkData[];
+ }
/** An interface for updating data on the `ShapeCollection` object, for use in `shapeCollection.set({ ... })`. */
export interface ShapeCollectionUpdateData {
items?: PowerPoint.Interfaces.ShapeData[];
@@ -211,6 +222,15 @@ export declare namespace PowerPoint {
title?: string;
}
+ /** An interface describing the data returned by calling `hyperlink.toJSON()`. */
+ export interface HyperlinkData {
+
+
+ }
+ /** An interface describing the data returned by calling `hyperlinkCollection.toJSON()`. */
+ export interface HyperlinkCollectionData {
+ items?: PowerPoint.Interfaces.HyperlinkData[];
+ }
/** An interface describing the data returned by calling `shapeCollection.toJSON()`. */
export interface ShapeCollectionData {
items?: PowerPoint.Interfaces.ShapeData[];
@@ -347,6 +367,8 @@ export declare namespace PowerPoint {
+
+
}
}
diff --git a/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_2/powerpoint.d.ts b/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_2/powerpoint.d.ts
index 6aafc20a0..8fb73e6a8 100644
--- a/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_2/powerpoint.d.ts
+++ b/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_2/powerpoint.d.ts
@@ -98,6 +98,8 @@ export declare namespace PowerPoint {
+
+
/**
* Represents a single slide of a presentation.
*
@@ -111,6 +113,7 @@ export declare namespace PowerPoint {
+
/**
* Gets the unique ID of the slide.
*
@@ -317,6 +320,15 @@ export declare namespace PowerPoint {
*/
$skip?: number;
}
+ /** An interface for updating data on the `Hyperlink` object, for use in `hyperlink.set({ ... })`. */
+ export interface HyperlinkUpdateData {
+
+
+ }
+ /** An interface for updating data on the `HyperlinkCollection` object, for use in `hyperlinkCollection.set({ ... })`. */
+ export interface HyperlinkCollectionUpdateData {
+ items?: PowerPoint.Interfaces.HyperlinkData[];
+ }
/** An interface for updating data on the `ShapeCollection` object, for use in `shapeCollection.set({ ... })`. */
export interface ShapeCollectionUpdateData {
items?: PowerPoint.Interfaces.ShapeData[];
@@ -409,6 +421,15 @@ export declare namespace PowerPoint {
title?: string;
}
+ /** An interface describing the data returned by calling `hyperlink.toJSON()`. */
+ export interface HyperlinkData {
+
+
+ }
+ /** An interface describing the data returned by calling `hyperlinkCollection.toJSON()`. */
+ export interface HyperlinkCollectionData {
+ items?: PowerPoint.Interfaces.HyperlinkData[];
+ }
/** An interface describing the data returned by calling `shapeCollection.toJSON()`. */
export interface ShapeCollectionData {
items?: PowerPoint.Interfaces.ShapeData[];
@@ -539,6 +560,8 @@ export declare namespace PowerPoint {
+
+
/**
* Represents a single slide of a presentation.
*
diff --git a/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_3/powerpoint.d.ts b/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_3/powerpoint.d.ts
index c7770f4fa..b0a92988a 100644
--- a/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_3/powerpoint.d.ts
+++ b/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_3/powerpoint.d.ts
@@ -130,6 +130,8 @@ export declare namespace PowerPoint {
+
+
/**
* Represents the collection of shapes.
*
@@ -554,6 +556,7 @@ export declare namespace PowerPoint {
export class Slide extends OfficeExtension.ClientObject {
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
context: RequestContext;
+
/**
* Gets the layout of the slide.
*
@@ -940,6 +943,15 @@ export declare namespace PowerPoint {
*/
$skip?: number;
}
+ /** An interface for updating data on the `Hyperlink` object, for use in `hyperlink.set({ ... })`. */
+ export interface HyperlinkUpdateData {
+
+
+ }
+ /** An interface for updating data on the `HyperlinkCollection` object, for use in `hyperlinkCollection.set({ ... })`. */
+ export interface HyperlinkCollectionUpdateData {
+ items?: PowerPoint.Interfaces.HyperlinkData[];
+ }
/** An interface for updating data on the `ShapeCollection` object, for use in `shapeCollection.set({ ... })`. */
export interface ShapeCollectionUpdateData {
items?: PowerPoint.Interfaces.ShapeData[];
@@ -1038,6 +1050,15 @@ export declare namespace PowerPoint {
title?: string;
}
+ /** An interface describing the data returned by calling `hyperlink.toJSON()`. */
+ export interface HyperlinkData {
+
+
+ }
+ /** An interface describing the data returned by calling `hyperlinkCollection.toJSON()`. */
+ export interface HyperlinkCollectionData {
+ items?: PowerPoint.Interfaces.HyperlinkData[];
+ }
/** An interface describing the data returned by calling `shapeCollection.toJSON()`. */
export interface ShapeCollectionData {
items?: PowerPoint.Interfaces.ShapeData[];
@@ -1204,6 +1225,8 @@ export declare namespace PowerPoint {
title?: boolean;
}
+
+
/**
* Represents the collection of shapes.
*
diff --git a/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_4/powerpoint.d.ts b/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_4/powerpoint.d.ts
index 07bc3226b..0ff952ad8 100644
--- a/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_4/powerpoint.d.ts
+++ b/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_4/powerpoint.d.ts
@@ -123,6 +123,8 @@ export declare namespace PowerPoint {
*/
slideMasterId?: string;
}
+
+
/**
* Specifies the connector type for line shapes.
*
@@ -2021,6 +2023,7 @@ export declare namespace PowerPoint {
export class Slide extends OfficeExtension.ClientObject {
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
context: RequestContext;
+
/**
* Gets the layout of the slide.
*
@@ -3108,6 +3111,15 @@ export declare namespace PowerPoint {
*/
$skip?: number;
}
+ /** An interface for updating data on the `Hyperlink` object, for use in `hyperlink.set({ ... })`. */
+ export interface HyperlinkUpdateData {
+
+
+ }
+ /** An interface for updating data on the `HyperlinkCollection` object, for use in `hyperlinkCollection.set({ ... })`. */
+ export interface HyperlinkCollectionUpdateData {
+ items?: PowerPoint.Interfaces.HyperlinkData[];
+ }
/** An interface for updating data on the `ShapeCollection` object, for use in `shapeCollection.set({ ... })`. */
export interface ShapeCollectionUpdateData {
items?: PowerPoint.Interfaces.ShapeData[];
@@ -3380,6 +3392,15 @@ export declare namespace PowerPoint {
title?: string;
}
+ /** An interface describing the data returned by calling `hyperlink.toJSON()`. */
+ export interface HyperlinkData {
+
+
+ }
+ /** An interface describing the data returned by calling `hyperlinkCollection.toJSON()`. */
+ export interface HyperlinkCollectionData {
+ items?: PowerPoint.Interfaces.HyperlinkData[];
+ }
/** An interface describing the data returned by calling `shapeCollection.toJSON()`. */
export interface ShapeCollectionData {
items?: PowerPoint.Interfaces.ShapeData[];
@@ -3738,6 +3759,8 @@ export declare namespace PowerPoint {
title?: boolean;
}
+
+
/**
* Represents the collection of shapes.
*
diff --git a/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_5/powerpoint.d.ts b/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_5/powerpoint.d.ts
index 33f9d6ca2..ea660e9a5 100644
--- a/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_5/powerpoint.d.ts
+++ b/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_5/powerpoint.d.ts
@@ -166,6 +166,8 @@ export declare namespace PowerPoint {
*/
slideMasterId?: string;
}
+
+
/**
* Specifies the connector type for line shapes.
*
@@ -2064,6 +2066,7 @@ export declare namespace PowerPoint {
export class Slide extends OfficeExtension.ClientObject {
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
context: RequestContext;
+
/**
* Gets the layout of the slide.
*
@@ -3373,6 +3376,15 @@ export declare namespace PowerPoint {
*/
$skip?: number;
}
+ /** An interface for updating data on the `Hyperlink` object, for use in `hyperlink.set({ ... })`. */
+ export interface HyperlinkUpdateData {
+
+
+ }
+ /** An interface for updating data on the `HyperlinkCollection` object, for use in `hyperlinkCollection.set({ ... })`. */
+ export interface HyperlinkCollectionUpdateData {
+ items?: PowerPoint.Interfaces.HyperlinkData[];
+ }
/** An interface for updating data on the `ShapeCollection` object, for use in `shapeCollection.set({ ... })`. */
export interface ShapeCollectionUpdateData {
items?: PowerPoint.Interfaces.ShapeData[];
@@ -3665,6 +3677,15 @@ export declare namespace PowerPoint {
id?: string;
title?: string;
}
+ /** An interface describing the data returned by calling `hyperlink.toJSON()`. */
+ export interface HyperlinkData {
+
+
+ }
+ /** An interface describing the data returned by calling `hyperlinkCollection.toJSON()`. */
+ export interface HyperlinkCollectionData {
+ items?: PowerPoint.Interfaces.HyperlinkData[];
+ }
/** An interface describing the data returned by calling `shapeCollection.toJSON()`. */
export interface ShapeCollectionData {
items?: PowerPoint.Interfaces.ShapeData[];
@@ -4043,6 +4064,8 @@ export declare namespace PowerPoint {
id?: boolean;
title?: boolean;
}
+
+
/**
* Represents the collection of shapes.
*
diff --git a/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_6/api-extractor.json b/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_6/api-extractor.json
new file mode 100644
index 000000000..d78c58cd0
--- /dev/null
+++ b/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_6/api-extractor.json
@@ -0,0 +1,41 @@
+{
+ "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
+ "mainEntryPointFilePath": "powerpoint.d.ts",
+ "apiReport": {
+ "enabled": false
+ },
+ "docModel": {
+ "enabled": true,
+ "apiJsonFilePath": "../../json/powerpoint_1_6/.api.json"
+ },
+ "dtsRollup": {
+ "enabled": false
+ },
+ "messages": {
+ "extractorMessageReporting": {
+ "ae-missing-release-tag": {
+ "logLevel": "none"
+ },
+ "ae-forgotten-export": {
+ "logLevel": "none"
+ },
+ "ae-unresolved-link": {
+ "logLevel": "none"
+ }
+ },
+ "tsdocMessageReporting": {
+ "tsdoc-escape-right-brace": {
+ "logLevel": "none"
+ },
+ "tsdoc-escape-greater-than": {
+ "logLevel": "none"
+ },
+ "tsdoc-malformed-inline-tag": {
+ "logLevel": "none"
+ },
+ "tsdoc-unnecessary-backslash": {
+ "logLevel": "none"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_6/package.json b/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_6/package.json
new file mode 100644
index 000000000..abc3da567
--- /dev/null
+++ b/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_6/package.json
@@ -0,0 +1,4 @@
+{
+ "name": "powerpoint",
+ "version": "1.6.0"
+}
\ No newline at end of file
diff --git a/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_6/powerpoint.d.ts b/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_6/powerpoint.d.ts
new file mode 100644
index 000000000..7d62be95b
--- /dev/null
+++ b/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_6/powerpoint.d.ts
@@ -0,0 +1,5104 @@
+import { OfficeExtension } from "../../api-extractor-inputs-office/office"
+import { Office as Outlook} from "../../api-extractor-inputs-outlook/outlook"
+////////////////////////////////////////////////////////////////
+//////////////////// Begin PowerPoint APIs /////////////////////
+////////////////////////////////////////////////////////////////
+
+export declare namespace PowerPoint {
+ /**
+ * @remarks
+ * [Api set: PowerPointApi 1.0]
+ */
+ export class Application extends OfficeExtension.ClientObject {
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
+ context: RequestContext;
+ /**
+ * Create a new instance of the `PowerPoint.Application` object.
+ */
+ static newObject(context: OfficeExtension.ClientRequestContext): PowerPoint.Application;
+ /**
+ * Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
+ * Whereas the original `PowerPoint.Application` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.ApplicationData`) that contains shallow copies of any loaded child properties from the original object.
+ */
+ toJSON(): {
+ [key: string]: string;
+ };
+ }
+ /**
+ * @remarks
+ * [Api set: PowerPointApi 1.0]
+ */
+ export class Presentation extends OfficeExtension.ClientObject {
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
+ context: RequestContext;
+ /**
+ * Returns the collection of `SlideMaster` objects that are in the presentation.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ readonly slideMasters: PowerPoint.SlideMasterCollection;
+ /**
+ * Returns an ordered collection of slides in the presentation.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.2]
+ */
+ readonly slides: PowerPoint.SlideCollection;
+ /**
+ * Returns a collection of tags attached to the presentation.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ readonly tags: PowerPoint.TagCollection;
+ /**
+ * Gets the ID of the presentation.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ */
+ readonly id: string;
+ readonly title: string;
+ /**
+ * Returns the selected shapes in the current slide of the presentation.
+ If no shapes are selected, an empty collection is returned.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ */
+ getSelectedShapes(): PowerPoint.ShapeScopedCollection;
+ /**
+ * Returns the selected slides in the current view of the presentation.
+ The first item in the collection is the active slide that is visible in the editing area.
+ If no slides are selected, an empty collection is returned.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ */
+ getSelectedSlides(): PowerPoint.SlideScopedCollection;
+ /**
+ * Returns the selected {@link PowerPoint.TextRange} in the current view of the presentation.
+ Throws an exception if no text is selected.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ */
+ getSelectedTextRange(): PowerPoint.TextRange;
+ /**
+ * Returns the selected {@link PowerPoint.TextRange} in the current view of the presentation.
+ If no text is selected, an object with an `isNullObject` property set to `true` is returned.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ */
+ getSelectedTextRangeOrNullObject(): PowerPoint.TextRange;
+ /**
+ * Inserts the specified slides from a presentation into the current presentation.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.2]
+ *
+ * @param base64File - The Base64-encoded string representing the source presentation file.
+ * @param options - The options that define which slides will be inserted, where the new slides will go, and which presentation's formatting will be used.
+ */
+ insertSlidesFromBase64(base64File: string, options?: PowerPoint.InsertSlideOptions): void;
+ /**
+ * Selects the slides in the current view of the presentation. Existing slide selection is replaced with the new selection.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ *
+ * @param slideIds - List of slide IDs to select in the presentation. If the list is empty, selection is cleared.
+ */
+ setSelectedSlides(slideIds: string[]): void;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param options - Provides options for which properties of the object to load.
+ */
+ load(options?: PowerPoint.Interfaces.PresentationLoadOptions): PowerPoint.Presentation;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNames - A comma-delimited string or an array of strings that specify the properties to load.
+ */
+ load(propertyNames?: string | string[]): PowerPoint.Presentation;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNamesAndPaths - `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ */
+ load(propertyNamesAndPaths?: {
+ select?: string;
+ expand?: string;
+ }): PowerPoint.Presentation;
+ /**
+ * Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
+ * Whereas the original `PowerPoint.Presentation` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.PresentationData`) that contains shallow copies of any loaded child properties from the original object.
+ */
+ toJSON(): PowerPoint.Interfaces.PresentationData;
+ }
+ /**
+ * Represents the available options when adding a new slide.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ export interface AddSlideOptions {
+ /**
+ * Specifies the ID of a Slide Layout to be used for the new slide.
+ If no `layoutId` is provided, but a `slideMasterId` is provided, then the ID of the first layout from the specified Slide Master will be used.
+ If no `slideMasterId` is provided, but a `layoutId` is provided, then the specified layout needs to be available for the default Slide Master (as specified
+ in the `slideMasterId` description). Otherwise, an error will be thrown.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ layoutId?: string;
+ /**
+ * Specifies the ID of a Slide Master to be used for the new slide.
+ If no `slideMasterId` is provided, then the previous slide's Slide Master will be used.
+ If there is no previous slide, then the presentation's first Slide Master will be used.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ slideMasterId?: string;
+ }
+ /**
+ * Represents a single hyperlink.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.6]
+ */
+ export class Hyperlink extends OfficeExtension.ClientObject {
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
+ context: RequestContext;
+ /**
+ * Specifies the URL target of the hyperlink.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.6]
+ */
+ address: string;
+ /**
+ * Specifies the string displayed when hovering over the hyperlink.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.6]
+ */
+ screenTip: string;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param options - Provides options for which properties of the object to load.
+ */
+ load(options?: PowerPoint.Interfaces.HyperlinkLoadOptions): PowerPoint.Hyperlink;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNames - A comma-delimited string or an array of strings that specify the properties to load.
+ */
+ load(propertyNames?: string | string[]): PowerPoint.Hyperlink;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNamesAndPaths - `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ */
+ load(propertyNamesAndPaths?: {
+ select?: string;
+ expand?: string;
+ }): PowerPoint.Hyperlink;
+ /**
+ * Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
+ * Whereas the original `PowerPoint.Hyperlink` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.HyperlinkData`) that contains shallow copies of any loaded child properties from the original object.
+ */
+ toJSON(): PowerPoint.Interfaces.HyperlinkData;
+ }
+ /**
+ * Represents a collection of hyperlinks.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.6]
+ */
+ export class HyperlinkCollection extends OfficeExtension.ClientObject {
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
+ context: RequestContext;
+ /** Gets the loaded child items in this collection. */
+ readonly items: PowerPoint.Hyperlink[];
+ /**
+ * Gets the number of hyperlinks in the collection.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.6]
+ * @returns The number of hyperlinks in the collection.
+ */
+ getCount(): OfficeExtension.ClientResult;
+ /**
+ * Gets a hyperlink using its zero-based index in the collection. An error is thrown if the index is out of range.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.6]
+ *
+ * @param index - The index of the hyperlink in the collection.
+ * @returns The hyperlink at the given index. An error is thrown if index is out of range.
+ */
+ getItemAt(index: number): PowerPoint.Hyperlink;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param options - Provides options for which properties of the object to load.
+ */
+ load(options?: PowerPoint.Interfaces.HyperlinkCollectionLoadOptions & PowerPoint.Interfaces.CollectionLoadOptions): PowerPoint.HyperlinkCollection;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNames - A comma-delimited string or an array of strings that specify the properties to load.
+ */
+ load(propertyNames?: string | string[]): PowerPoint.HyperlinkCollection;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNamesAndPaths - `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ */
+ load(propertyNamesAndPaths?: OfficeExtension.LoadOption): PowerPoint.HyperlinkCollection;
+ /**
+ * Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
+ * Whereas the original `PowerPoint.HyperlinkCollection` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.HyperlinkCollectionData`) that contains an "items" array with shallow copies of any loaded properties from the collection's items.
+ */
+ toJSON(): PowerPoint.Interfaces.HyperlinkCollectionData;
+ }
+ /**
+ * Specifies the connector type for line shapes.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ enum ConnectorType {
+ /**
+ * Straight connector type
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ straight = "Straight",
+ /**
+ * Elbow connector type
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ elbow = "Elbow",
+ /**
+ * Curve connector type
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ curve = "Curve",
+ }
+ /**
+ * Specifies the shape type for a `GeometricShape` object.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ enum GeometricShapeType {
+ /**
+ * Straight Line from Top-Right Corner to Bottom-Left Corner of the Shape
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ lineInverse = "LineInverse",
+ /**
+ * Isosceles Triangle
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ triangle = "Triangle",
+ /**
+ * Right Triangle
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ rightTriangle = "RightTriangle",
+ /**
+ * Rectangle
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ rectangle = "Rectangle",
+ /**
+ * Diamond
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ diamond = "Diamond",
+ /**
+ * Parallelogram
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ parallelogram = "Parallelogram",
+ /**
+ * Trapezoid
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ trapezoid = "Trapezoid",
+ /**
+ * Trapezoid which may have Non-Equal Sides
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ nonIsoscelesTrapezoid = "NonIsoscelesTrapezoid",
+ /**
+ * Pentagon
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ pentagon = "Pentagon",
+ /**
+ * Hexagon
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ hexagon = "Hexagon",
+ /**
+ * Heptagon
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ heptagon = "Heptagon",
+ /**
+ * Octagon
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ octagon = "Octagon",
+ /**
+ * Decagon
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ decagon = "Decagon",
+ /**
+ * Dodecagon
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ dodecagon = "Dodecagon",
+ /**
+ * Star: 4 Points
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ star4 = "Star4",
+ /**
+ * Star: 5 Points
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ star5 = "Star5",
+ /**
+ * Star: 6 Points
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ star6 = "Star6",
+ /**
+ * Star: 7 Points
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ star7 = "Star7",
+ /**
+ * Star: 8 Points
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ star8 = "Star8",
+ /**
+ * Star: 10 Points
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ star10 = "Star10",
+ /**
+ * Star: 12 Points
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ star12 = "Star12",
+ /**
+ * Star: 16 Points
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ star16 = "Star16",
+ /**
+ * Star: 24 Points
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ star24 = "Star24",
+ /**
+ * Star: 32 Points
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ star32 = "Star32",
+ /**
+ * Rectangle: Rounded Corners
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ roundRectangle = "RoundRectangle",
+ /**
+ * Rectangle: Single Corner Rounded
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ round1Rectangle = "Round1Rectangle",
+ /**
+ * Rectangle: Top Corners Rounded
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ round2SameRectangle = "Round2SameRectangle",
+ /**
+ * Rectangle: Diagonal Corners Rounded
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ round2DiagonalRectangle = "Round2DiagonalRectangle",
+ /**
+ * Rectangle: Top Corners One Rounded and One Snipped
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ snipRoundRectangle = "SnipRoundRectangle",
+ /**
+ * Rectangle: Single Corner Snipped
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ snip1Rectangle = "Snip1Rectangle",
+ /**
+ * Rectangle: Top Corners Snipped
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ snip2SameRectangle = "Snip2SameRectangle",
+ /**
+ * Rectangle: Diagonal Corners Snipped
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ snip2DiagonalRectangle = "Snip2DiagonalRectangle",
+ /**
+ * Plaque
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ plaque = "Plaque",
+ /**
+ * Oval
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ ellipse = "Ellipse",
+ /**
+ * Teardrop
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ teardrop = "Teardrop",
+ /**
+ * Arrow: Pentagon
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ homePlate = "HomePlate",
+ /**
+ * Arrow: Chevron
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ chevron = "Chevron",
+ /**
+ * Partial Circle
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ pieWedge = "PieWedge",
+ /**
+ * Partial Circle with Adjustable Spanning Area
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ pie = "Pie",
+ /**
+ * Block Arc
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ blockArc = "BlockArc",
+ /**
+ * Circle: Hollow
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ donut = "Donut",
+ /**
+ * "Not Allowed" Symbol
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ noSmoking = "NoSmoking",
+ /**
+ * Arrow: Right
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ rightArrow = "RightArrow",
+ /**
+ * Arrow: Left
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ leftArrow = "LeftArrow",
+ /**
+ * Arrow: Up
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ upArrow = "UpArrow",
+ /**
+ * Arrow: Down
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ downArrow = "DownArrow",
+ /**
+ * Arrow: Striped Right
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ stripedRightArrow = "StripedRightArrow",
+ /**
+ * Arrow: Notched Right
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ notchedRightArrow = "NotchedRightArrow",
+ /**
+ * Arrow: Bent-Up
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ bentUpArrow = "BentUpArrow",
+ /**
+ * Arrow: Left-Right
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ leftRightArrow = "LeftRightArrow",
+ /**
+ * Arrow: Up-Down
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ upDownArrow = "UpDownArrow",
+ /**
+ * Arrow: Left-Up
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ leftUpArrow = "LeftUpArrow",
+ /**
+ * Arrow: Left-Right-Up
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ leftRightUpArrow = "LeftRightUpArrow",
+ /**
+ * Arrow: Quad
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ quadArrow = "QuadArrow",
+ /**
+ * Callout: Left Arrow
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ leftArrowCallout = "LeftArrowCallout",
+ /**
+ * Callout: Right Arrow
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ rightArrowCallout = "RightArrowCallout",
+ /**
+ * Callout: Up Arrow
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ upArrowCallout = "UpArrowCallout",
+ /**
+ * Callout: Down Arrow
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ downArrowCallout = "DownArrowCallout",
+ /**
+ * Callout: Left-Right Arrow
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ leftRightArrowCallout = "LeftRightArrowCallout",
+ /**
+ * Callout: Up-Down Arrow
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ upDownArrowCallout = "UpDownArrowCallout",
+ /**
+ * Callout: Quad Arrow
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ quadArrowCallout = "QuadArrowCallout",
+ /**
+ * Arrow: Bent
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ bentArrow = "BentArrow",
+ /**
+ * Arrow: U-Turn
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ uturnArrow = "UturnArrow",
+ /**
+ * Arrow: Circular
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ circularArrow = "CircularArrow",
+ /**
+ * Arrow: Circular with Opposite Arrow Direction
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ leftCircularArrow = "LeftCircularArrow",
+ /**
+ * Arrow: Circular with Two Arrows in Both Directions
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ leftRightCircularArrow = "LeftRightCircularArrow",
+ /**
+ * Arrow: Curved Right
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ curvedRightArrow = "CurvedRightArrow",
+ /**
+ * Arrow: Curved Left
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ curvedLeftArrow = "CurvedLeftArrow",
+ /**
+ * Arrow: Curved Up
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ curvedUpArrow = "CurvedUpArrow",
+ /**
+ * Arrow: Curved Down
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ curvedDownArrow = "CurvedDownArrow",
+ /**
+ * Arrow: Curved Right Arrow with Varying Width
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ swooshArrow = "SwooshArrow",
+ /**
+ * Cube
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ cube = "Cube",
+ /**
+ * Cylinder
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ can = "Can",
+ /**
+ * Lightning Bolt
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ lightningBolt = "LightningBolt",
+ /**
+ * Heart
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ heart = "Heart",
+ /**
+ * Sun
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ sun = "Sun",
+ /**
+ * Moon
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ moon = "Moon",
+ /**
+ * Smiley Face
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ smileyFace = "SmileyFace",
+ /**
+ * Explosion: 8 Points
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ irregularSeal1 = "IrregularSeal1",
+ /**
+ * Explosion: 14 Points
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ irregularSeal2 = "IrregularSeal2",
+ /**
+ * Rectangle: Folded Corner
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ foldedCorner = "FoldedCorner",
+ /**
+ * Rectangle: Beveled
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ bevel = "Bevel",
+ /**
+ * Frame
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ frame = "Frame",
+ /**
+ * Half Frame
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ halfFrame = "HalfFrame",
+ /**
+ * L-Shape
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ corner = "Corner",
+ /**
+ * Diagonal Stripe
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ diagonalStripe = "DiagonalStripe",
+ /**
+ * Chord
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ chord = "Chord",
+ /**
+ * Arc
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ arc = "Arc",
+ /**
+ * Left Bracket
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ leftBracket = "LeftBracket",
+ /**
+ * Right Bracket
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ rightBracket = "RightBracket",
+ /**
+ * Left Brace
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ leftBrace = "LeftBrace",
+ /**
+ * Right Brace
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ rightBrace = "RightBrace",
+ /**
+ * Double Bracket
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ bracketPair = "BracketPair",
+ /**
+ * Double Brace
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ bracePair = "BracePair",
+ /**
+ * Callout: Line with No Border
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ callout1 = "Callout1",
+ /**
+ * Callout: Bent Line with No Border
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ callout2 = "Callout2",
+ /**
+ * Callout: Double Bent Line with No Border
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ callout3 = "Callout3",
+ /**
+ * Callout: Line with Accent Bar
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ accentCallout1 = "AccentCallout1",
+ /**
+ * Callout: Bent Line with Accent Bar
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ accentCallout2 = "AccentCallout2",
+ /**
+ * Callout: Double Bent Line with Accent Bar
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ accentCallout3 = "AccentCallout3",
+ /**
+ * Callout: Line
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ borderCallout1 = "BorderCallout1",
+ /**
+ * Callout: Bent Line
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ borderCallout2 = "BorderCallout2",
+ /**
+ * Callout: Double Bent Line
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ borderCallout3 = "BorderCallout3",
+ /**
+ * Callout: Line with Border and Accent Bar
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ accentBorderCallout1 = "AccentBorderCallout1",
+ /**
+ * Callout: Bent Line with Border and Accent Bar
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ accentBorderCallout2 = "AccentBorderCallout2",
+ /**
+ * Callout: Double Bent Line with Border and Accent Bar
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ accentBorderCallout3 = "AccentBorderCallout3",
+ /**
+ * Speech Bubble: Rectangle
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ wedgeRectCallout = "WedgeRectCallout",
+ /**
+ * Speech Bubble: Rectangle with Corners Rounded
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ wedgeRRectCallout = "WedgeRRectCallout",
+ /**
+ * Speech Bubble: Oval
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ wedgeEllipseCallout = "WedgeEllipseCallout",
+ /**
+ * Thought Bubble: Cloud
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ cloudCallout = "CloudCallout",
+ /**
+ * Cloud
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ cloud = "Cloud",
+ /**
+ * Ribbon: Tilted Down
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ ribbon = "Ribbon",
+ /**
+ * Ribbon: Tilted Up
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ ribbon2 = "Ribbon2",
+ /**
+ * Ribbon: Curved and Tilted Down
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ ellipseRibbon = "EllipseRibbon",
+ /**
+ * Ribbon: Curved and Tilted Up
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ ellipseRibbon2 = "EllipseRibbon2",
+ /**
+ * Ribbon: Straight with Both Left and Right Arrows
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ leftRightRibbon = "LeftRightRibbon",
+ /**
+ * Scroll: Vertical
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ verticalScroll = "VerticalScroll",
+ /**
+ * Scroll: Horizontal
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ horizontalScroll = "HorizontalScroll",
+ /**
+ * Wave
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ wave = "Wave",
+ /**
+ * Double Wave
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ doubleWave = "DoubleWave",
+ /**
+ * Cross
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ plus = "Plus",
+ /**
+ * Flowchart: Process
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ flowChartProcess = "FlowChartProcess",
+ /**
+ * Flowchart: Decision
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ flowChartDecision = "FlowChartDecision",
+ /**
+ * Flowchart: Data
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ flowChartInputOutput = "FlowChartInputOutput",
+ /**
+ * Flowchart: Predefined Process
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ flowChartPredefinedProcess = "FlowChartPredefinedProcess",
+ /**
+ * Flowchart: Internal Storage
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ flowChartInternalStorage = "FlowChartInternalStorage",
+ /**
+ * Flowchart: Document
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ flowChartDocument = "FlowChartDocument",
+ /**
+ * Flowchart: Multidocument
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ flowChartMultidocument = "FlowChartMultidocument",
+ /**
+ * Flowchart: Terminator
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ flowChartTerminator = "FlowChartTerminator",
+ /**
+ * Flowchart: Preparation
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ flowChartPreparation = "FlowChartPreparation",
+ /**
+ * Flowchart: Manual Input
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ flowChartManualInput = "FlowChartManualInput",
+ /**
+ * Flowchart: Manual Operation
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ flowChartManualOperation = "FlowChartManualOperation",
+ /**
+ * Flowchart: Connector
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ flowChartConnector = "FlowChartConnector",
+ /**
+ * Flowchart: Card
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ flowChartPunchedCard = "FlowChartPunchedCard",
+ /**
+ * Flowchart: Punched Tape
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ flowChartPunchedTape = "FlowChartPunchedTape",
+ /**
+ * Flowchart: Summing Junction
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ flowChartSummingJunction = "FlowChartSummingJunction",
+ /**
+ * Flowchart: Or
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ flowChartOr = "FlowChartOr",
+ /**
+ * Flowchart: Collate
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ flowChartCollate = "FlowChartCollate",
+ /**
+ * Flowchart: Sort
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ flowChartSort = "FlowChartSort",
+ /**
+ * Flowchart: Extract
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ flowChartExtract = "FlowChartExtract",
+ /**
+ * Flowchart: Merge
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ flowChartMerge = "FlowChartMerge",
+ /**
+ * FlowChart: Offline Storage
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ flowChartOfflineStorage = "FlowChartOfflineStorage",
+ /**
+ * Flowchart: Stored Data
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ flowChartOnlineStorage = "FlowChartOnlineStorage",
+ /**
+ * Flowchart: Sequential Access Storage
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ flowChartMagneticTape = "FlowChartMagneticTape",
+ /**
+ * Flowchart: Magnetic Disk
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ flowChartMagneticDisk = "FlowChartMagneticDisk",
+ /**
+ * Flowchart: Direct Access Storage
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ flowChartMagneticDrum = "FlowChartMagneticDrum",
+ /**
+ * Flowchart: Display
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ flowChartDisplay = "FlowChartDisplay",
+ /**
+ * Flowchart: Delay
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ flowChartDelay = "FlowChartDelay",
+ /**
+ * Flowchart: Alternate Process
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ flowChartAlternateProcess = "FlowChartAlternateProcess",
+ /**
+ * Flowchart: Off-page Connector
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ flowChartOffpageConnector = "FlowChartOffpageConnector",
+ /**
+ * Action Button: Blank
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ actionButtonBlank = "ActionButtonBlank",
+ /**
+ * Action Button: Go Home
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ actionButtonHome = "ActionButtonHome",
+ /**
+ * Action Button: Help
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ actionButtonHelp = "ActionButtonHelp",
+ /**
+ * Action Button: Get Information
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ actionButtonInformation = "ActionButtonInformation",
+ /**
+ * Action Button: Go Forward or Next
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ actionButtonForwardNext = "ActionButtonForwardNext",
+ /**
+ * Action Button: Go Back or Previous
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ actionButtonBackPrevious = "ActionButtonBackPrevious",
+ /**
+ * Action Button: Go to End
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ actionButtonEnd = "ActionButtonEnd",
+ /**
+ * Action Button: Go to Beginning
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ actionButtonBeginning = "ActionButtonBeginning",
+ /**
+ * Action Button: Return
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ actionButtonReturn = "ActionButtonReturn",
+ /**
+ * Action Button: Document
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ actionButtonDocument = "ActionButtonDocument",
+ /**
+ * Action Button: Sound
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ actionButtonSound = "ActionButtonSound",
+ /**
+ * Action Button: Video
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ actionButtonMovie = "ActionButtonMovie",
+ /**
+ * Gear: A Gear with Six Teeth
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ gear6 = "Gear6",
+ /**
+ * Gear: A Gear with Nine Teeth
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ gear9 = "Gear9",
+ /**
+ * Funnel
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ funnel = "Funnel",
+ /**
+ * Plus Sign
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ mathPlus = "MathPlus",
+ /**
+ * Minus Sign
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ mathMinus = "MathMinus",
+ /**
+ * Multiplication Sign
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ mathMultiply = "MathMultiply",
+ /**
+ * Division Sign
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ mathDivide = "MathDivide",
+ /**
+ * Equals
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ mathEqual = "MathEqual",
+ /**
+ * Not Equal
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ mathNotEqual = "MathNotEqual",
+ /**
+ * Four Right Triangles that Define a Rectangular Shape
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ cornerTabs = "CornerTabs",
+ /**
+ * Four Small Squares that Define a Rectangular Shape.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ squareTabs = "SquareTabs",
+ /**
+ * Four Quarter Circles that Define a Rectangular Shape.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ plaqueTabs = "PlaqueTabs",
+ /**
+ * A Rectangle Divided into Four Parts Along Diagonal Lines.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ chartX = "ChartX",
+ /**
+ * A Rectangle Divided into Six Parts Along a Vertical Line and Diagonal Lines.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ chartStar = "ChartStar",
+ /**
+ * A Rectangle Divided Vertically and Horizontally into Four Quarters.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ chartPlus = "ChartPlus",
+ }
+ /**
+ * Represents the available options when adding shapes.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ export interface ShapeAddOptions {
+ /**
+ * Specifies the height, in points, of the shape.
+ When not provided, a default value will be used.
+ Throws an `InvalidArgument` exception when set with a negative value.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ height?: number;
+ /**
+ * Specifies the distance, in points, from the left side of the shape to the left side of the slide.
+ When not provided, a default value will be used.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ left?: number;
+ /**
+ * Specifies the distance, in points, from the top edge of the shape to the top edge of the slide.
+ When not provided, a default value will be used.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ top?: number;
+ /**
+ * Specifies the width, in points, of the shape.
+ When not provided, a default value will be used.
+ Throws an `InvalidArgument` exception when set with a negative value.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ width?: number;
+ }
+ /**
+ * The type of underline applied to a font.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ enum ShapeFontUnderlineStyle {
+ /**
+ * No underlining.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ none = "None",
+ /**
+ * Regular single line underlining.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ single = "Single",
+ /**
+ * Underlining of text with double lines.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ double = "Double",
+ /**
+ * Underlining of text with a thick line.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ heavy = "Heavy",
+ /**
+ * Underlining of text with a dotted line.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ dotted = "Dotted",
+ /**
+ * Underlining of text with a thick, dotted line.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ dottedHeavy = "DottedHeavy",
+ /**
+ * Underlining of text with a line containing dashes.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ dash = "Dash",
+ /**
+ * Underlining of text with a thick line containing dashes.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ dashHeavy = "DashHeavy",
+ /**
+ * Underlining of text with a line containing long dashes.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ dashLong = "DashLong",
+ /**
+ * Underlining of text with a thick line containing long dashes.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ dashLongHeavy = "DashLongHeavy",
+ /**
+ * Underlining of text with a line containing dots and dashes.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ dotDash = "DotDash",
+ /**
+ * Underlining of text with a thick line containing dots and dashes.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ dotDashHeavy = "DotDashHeavy",
+ /**
+ * Underlining of text with a line containing double dots and dashes.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ dotDotDash = "DotDotDash",
+ /**
+ * Underlining of text with a thick line containing double dots and dashes.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ dotDotDashHeavy = "DotDotDashHeavy",
+ /**
+ * Underlining of text with a wavy line.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ wavy = "Wavy",
+ /**
+ * Underlining of text with a thick, wavy line.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ wavyHeavy = "WavyHeavy",
+ /**
+ * Underlining of text with double wavy lines.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ wavyDouble = "WavyDouble",
+ }
+ /**
+ * Represents the horizontal alignment of the {@link PowerPoint.TextFrame} in a {@link PowerPoint.Shape}.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ enum ParagraphHorizontalAlignment {
+ /**
+ * Align text to the left margin.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ left = "Left",
+ /**
+ * Align text in the center.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ center = "Center",
+ /**
+ * Align text to the right margin.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ right = "Right",
+ /**
+ * Align text so that it is justified across the whole line.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ justify = "Justify",
+ /**
+ * Specifies the alignment or adjustment of kashida length in Arabic text.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ justifyLow = "JustifyLow",
+ /**
+ * Distributes the text words across an entire text line.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ distributed = "Distributed",
+ /**
+ * Distributes Thai text specially, because each character is treated as a word.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ thaiDistributed = "ThaiDistributed",
+ }
+ /**
+ * Specifies the dash style for a line.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ enum ShapeLineDashStyle {
+ /**
+ * The dash line pattern.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ dash = "Dash",
+ /**
+ * The dash-dot line pattern.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ dashDot = "DashDot",
+ /**
+ * The dash-dot-dot line pattern.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ dashDotDot = "DashDotDot",
+ /**
+ * The long dash line pattern.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ longDash = "LongDash",
+ /**
+ * The long dash-dot line pattern.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ longDashDot = "LongDashDot",
+ /**
+ * The round dot line pattern.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ roundDot = "RoundDot",
+ /**
+ * The solid line pattern.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ solid = "Solid",
+ /**
+ * The square dot line pattern.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ squareDot = "SquareDot",
+ /**
+ * The long dash-dot-dot line pattern.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ longDashDotDot = "LongDashDotDot",
+ /**
+ * The system dash line pattern.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ systemDash = "SystemDash",
+ /**
+ * The system dot line pattern.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ systemDot = "SystemDot",
+ /**
+ * The system dash-dot line pattern.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ systemDashDot = "SystemDashDot",
+ }
+ /**
+ * Represents the vertical alignment of a {@link PowerPoint.TextFrame} in a {@link PowerPoint.Shape}.
+ If one the centered options are selected, the contents of the `TextFrame` will be centered horizontally within the `Shape` as a group.
+ To change the horizontal alignment of a text, see {@link PowerPoint.ParagraphFormat} and {@link PowerPoint.ParagraphHorizontalAlignment }.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ enum TextVerticalAlignment {
+ /**
+ * Specifies that the `TextFrame` should be top aligned to the `Shape`.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ top = "Top",
+ /**
+ * Specifies that the `TextFrame` should be center aligned to the `Shape`.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ middle = "Middle",
+ /**
+ * Specifies that the `TextFrame` should be bottom aligned to the `Shape`.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ bottom = "Bottom",
+ /**
+ * Specifies that the `TextFrame` should be top aligned vertically to the `Shape`. Contents of the `TextFrame` will be centered horizontally within the `Shape`.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ topCentered = "TopCentered",
+ /**
+ * Specifies that the `TextFrame` should be center aligned vertically to the `Shape`. Contents of the `TextFrame` will be centered horizontally within the `Shape`.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ middleCentered = "MiddleCentered",
+ /**
+ * Specifies that the `TextFrame` should be bottom aligned vertically to the `Shape`. Contents of the `TextFrame` will be centered horizontally within the `Shape`.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ bottomCentered = "BottomCentered",
+ }
+ /**
+ * Represents the collection of shapes.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ export class ShapeCollection extends OfficeExtension.ClientObject {
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
+ context: RequestContext;
+ /** Gets the loaded child items in this collection. */
+ readonly items: PowerPoint.Shape[];
+ /**
+ * Adds a geometric shape to the slide. Returns a `Shape` object that represents the new shape.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ *
+ * @param geometricShapeType - Specifies the type of the geometric shape. See {@link PowerPoint.GeometricShapeType} for details.
+ * @param options - An optional parameter to specify the additional options such as the position of the shape.
+ * @returns The newly inserted shape.
+ */
+ addGeometricShape(geometricShapeType: PowerPoint.GeometricShapeType, options?: PowerPoint.ShapeAddOptions): PowerPoint.Shape;
+ /**
+ * Adds a geometric shape to the slide. Returns a `Shape` object that represents the new shape.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ *
+ * @param geometricShapeTypeString - Specifies the type of the geometric shape. See {@link PowerPoint.GeometricShapeType} for details.
+ * @param options - An optional parameter to specify the additional options such as the position of the shape.
+ * @returns The newly inserted shape.
+ */
+ addGeometricShape(geometricShapeTypeString: "LineInverse" | "Triangle" | "RightTriangle" | "Rectangle" | "Diamond" | "Parallelogram" | "Trapezoid" | "NonIsoscelesTrapezoid" | "Pentagon" | "Hexagon" | "Heptagon" | "Octagon" | "Decagon" | "Dodecagon" | "Star4" | "Star5" | "Star6" | "Star7" | "Star8" | "Star10" | "Star12" | "Star16" | "Star24" | "Star32" | "RoundRectangle" | "Round1Rectangle" | "Round2SameRectangle" | "Round2DiagonalRectangle" | "SnipRoundRectangle" | "Snip1Rectangle" | "Snip2SameRectangle" | "Snip2DiagonalRectangle" | "Plaque" | "Ellipse" | "Teardrop" | "HomePlate" | "Chevron" | "PieWedge" | "Pie" | "BlockArc" | "Donut" | "NoSmoking" | "RightArrow" | "LeftArrow" | "UpArrow" | "DownArrow" | "StripedRightArrow" | "NotchedRightArrow" | "BentUpArrow" | "LeftRightArrow" | "UpDownArrow" | "LeftUpArrow" | "LeftRightUpArrow" | "QuadArrow" | "LeftArrowCallout" | "RightArrowCallout" | "UpArrowCallout" | "DownArrowCallout" | "LeftRightArrowCallout" | "UpDownArrowCallout" | "QuadArrowCallout" | "BentArrow" | "UturnArrow" | "CircularArrow" | "LeftCircularArrow" | "LeftRightCircularArrow" | "CurvedRightArrow" | "CurvedLeftArrow" | "CurvedUpArrow" | "CurvedDownArrow" | "SwooshArrow" | "Cube" | "Can" | "LightningBolt" | "Heart" | "Sun" | "Moon" | "SmileyFace" | "IrregularSeal1" | "IrregularSeal2" | "FoldedCorner" | "Bevel" | "Frame" | "HalfFrame" | "Corner" | "DiagonalStripe" | "Chord" | "Arc" | "LeftBracket" | "RightBracket" | "LeftBrace" | "RightBrace" | "BracketPair" | "BracePair" | "Callout1" | "Callout2" | "Callout3" | "AccentCallout1" | "AccentCallout2" | "AccentCallout3" | "BorderCallout1" | "BorderCallout2" | "BorderCallout3" | "AccentBorderCallout1" | "AccentBorderCallout2" | "AccentBorderCallout3" | "WedgeRectCallout" | "WedgeRRectCallout" | "WedgeEllipseCallout" | "CloudCallout" | "Cloud" | "Ribbon" | "Ribbon2" | "EllipseRibbon" | "EllipseRibbon2" | "LeftRightRibbon" | "VerticalScroll" | "HorizontalScroll" | "Wave" | "DoubleWave" | "Plus" | "FlowChartProcess" | "FlowChartDecision" | "FlowChartInputOutput" | "FlowChartPredefinedProcess" | "FlowChartInternalStorage" | "FlowChartDocument" | "FlowChartMultidocument" | "FlowChartTerminator" | "FlowChartPreparation" | "FlowChartManualInput" | "FlowChartManualOperation" | "FlowChartConnector" | "FlowChartPunchedCard" | "FlowChartPunchedTape" | "FlowChartSummingJunction" | "FlowChartOr" | "FlowChartCollate" | "FlowChartSort" | "FlowChartExtract" | "FlowChartMerge" | "FlowChartOfflineStorage" | "FlowChartOnlineStorage" | "FlowChartMagneticTape" | "FlowChartMagneticDisk" | "FlowChartMagneticDrum" | "FlowChartDisplay" | "FlowChartDelay" | "FlowChartAlternateProcess" | "FlowChartOffpageConnector" | "ActionButtonBlank" | "ActionButtonHome" | "ActionButtonHelp" | "ActionButtonInformation" | "ActionButtonForwardNext" | "ActionButtonBackPrevious" | "ActionButtonEnd" | "ActionButtonBeginning" | "ActionButtonReturn" | "ActionButtonDocument" | "ActionButtonSound" | "ActionButtonMovie" | "Gear6" | "Gear9" | "Funnel" | "MathPlus" | "MathMinus" | "MathMultiply" | "MathDivide" | "MathEqual" | "MathNotEqual" | "CornerTabs" | "SquareTabs" | "PlaqueTabs" | "ChartX" | "ChartStar" | "ChartPlus", options?: PowerPoint.ShapeAddOptions): PowerPoint.Shape;
+ /**
+ * Adds a line to the slide. Returns a `Shape` object that represents the new line.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ *
+ * @param connectorType - Specifies the connector type of the line. If not provided, `straight` connector type will be used. See {@link PowerPoint.ConnectorType} for details.
+ * @param options - An optional parameter to specify the additional options such as the position of the shape object that contains the line.
+ * @returns The newly inserted shape.
+ */
+ addLine(connectorType?: PowerPoint.ConnectorType, options?: PowerPoint.ShapeAddOptions): PowerPoint.Shape;
+ /**
+ * Adds a line to the slide. Returns a `Shape` object that represents the new line.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ *
+ * @param connectorTypeString - Specifies the connector type of the line. If not provided, `straight` connector type will be used. See {@link PowerPoint.ConnectorType} for details.
+ * @param options - An optional parameter to specify the additional options such as the position of the shape object that contains the line.
+ * @returns The newly inserted shape.
+ */
+ addLine(connectorTypeString?: "Straight" | "Elbow" | "Curve", options?: PowerPoint.ShapeAddOptions): PowerPoint.Shape;
+ /**
+ * Adds a text box to the slide with the provided text as the content. Returns a `Shape` object that represents the new text box.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ *
+ * @param text - Specifies the text that will be shown in the created text box.
+ * @param options - An optional parameter to specify the additional options such as the position of the text box.
+ * @returns The newly inserted shape.
+ */
+ addTextBox(text: string, options?: PowerPoint.ShapeAddOptions): PowerPoint.Shape;
+ /**
+ * Gets the number of shapes in the collection.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ * @returns The number of shapes in the collection.
+ */
+ getCount(): OfficeExtension.ClientResult;
+ /**
+ * Gets a shape using its unique ID. An error is thrown if the shape does not exist.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ *
+ * @param key - The ID of the shape.
+ * @returns The shape with the unique ID. If such a shape does not exist, an error is thrown.
+ */
+ getItem(key: string): PowerPoint.Shape;
+ /**
+ * Gets a shape using its zero-based index in the collection. An error is thrown if the index is out of range.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ *
+ * @param index - The index of the shape in the collection.
+ * @returns The shape at the given index. An error is thrown if index is out of range.
+ */
+ getItemAt(index: number): PowerPoint.Shape;
+ /**
+ * Gets a shape using its unique ID. If such a shape does not exist, an object with an `isNullObject` property set to true is returned.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ *
+ * @param id - The ID of the shape.
+ * @returns The shape with the unique ID. If such a shape does not exist, an object with an `isNullObject` property set to true is returned.
+ */
+ getItemOrNullObject(id: string): PowerPoint.Shape;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param options - Provides options for which properties of the object to load.
+ */
+ load(options?: PowerPoint.Interfaces.ShapeCollectionLoadOptions & PowerPoint.Interfaces.CollectionLoadOptions): PowerPoint.ShapeCollection;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNames - A comma-delimited string or an array of strings that specify the properties to load.
+ */
+ load(propertyNames?: string | string[]): PowerPoint.ShapeCollection;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNamesAndPaths - `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ */
+ load(propertyNamesAndPaths?: OfficeExtension.LoadOption): PowerPoint.ShapeCollection;
+ /**
+ * Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
+ * Whereas the original `PowerPoint.ShapeCollection` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.ShapeCollectionData`) that contains an "items" array with shallow copies of any loaded properties from the collection's items.
+ */
+ toJSON(): PowerPoint.Interfaces.ShapeCollectionData;
+ }
+ /**
+ * Represents the layout of a slide.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ export class SlideLayout extends OfficeExtension.ClientObject {
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
+ context: RequestContext;
+ /**
+ * Returns a collection of shapes in the slide layout.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ readonly shapes: PowerPoint.ShapeCollection;
+ /**
+ * Gets the unique ID of the slide layout.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ readonly id: string;
+ /**
+ * Gets the name of the slide layout.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ readonly name: string;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param options - Provides options for which properties of the object to load.
+ */
+ load(options?: PowerPoint.Interfaces.SlideLayoutLoadOptions): PowerPoint.SlideLayout;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNames - A comma-delimited string or an array of strings that specify the properties to load.
+ */
+ load(propertyNames?: string | string[]): PowerPoint.SlideLayout;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNamesAndPaths - `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ */
+ load(propertyNamesAndPaths?: {
+ select?: string;
+ expand?: string;
+ }): PowerPoint.SlideLayout;
+ /**
+ * Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
+ * Whereas the original `PowerPoint.SlideLayout` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.SlideLayoutData`) that contains shallow copies of any loaded child properties from the original object.
+ */
+ toJSON(): PowerPoint.Interfaces.SlideLayoutData;
+ }
+ /**
+ * Represents the collection of layouts provided by the Slide Master for slides.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ export class SlideLayoutCollection extends OfficeExtension.ClientObject {
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
+ context: RequestContext;
+ /** Gets the loaded child items in this collection. */
+ readonly items: PowerPoint.SlideLayout[];
+ /**
+ * Gets the number of layouts in the collection.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ * @returns The number of layouts in the collection.
+ */
+ getCount(): OfficeExtension.ClientResult;
+ /**
+ * Gets a layout using its unique ID.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ *
+ * @param key - The ID of the layout.
+ * @returns The layout with the unique ID. If such a layout does not exist, an error is thrown.
+ */
+ getItem(key: string): PowerPoint.SlideLayout;
+ /**
+ * Gets a layout using its zero-based index in the collection.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ *
+ * @param index - The index of the layout in the collection.
+ * @returns The layout at the given index. An error is thrown if index is out of range.
+ */
+ getItemAt(index: number): PowerPoint.SlideLayout;
+ /**
+ * Gets a layout using its unique ID. If such a layout does not exist, an object with an `isNullObject` property set to true is returned. For further information,
+ see {@link https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods and properties}.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ *
+ * @param id - The ID of the layout.
+ * @returns The layout with the unique ID.
+ */
+ getItemOrNullObject(id: string): PowerPoint.SlideLayout;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param options - Provides options for which properties of the object to load.
+ */
+ load(options?: PowerPoint.Interfaces.SlideLayoutCollectionLoadOptions & PowerPoint.Interfaces.CollectionLoadOptions): PowerPoint.SlideLayoutCollection;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNames - A comma-delimited string or an array of strings that specify the properties to load.
+ */
+ load(propertyNames?: string | string[]): PowerPoint.SlideLayoutCollection;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNamesAndPaths - `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ */
+ load(propertyNamesAndPaths?: OfficeExtension.LoadOption): PowerPoint.SlideLayoutCollection;
+ /**
+ * Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
+ * Whereas the original `PowerPoint.SlideLayoutCollection` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.SlideLayoutCollectionData`) that contains an "items" array with shallow copies of any loaded properties from the collection's items.
+ */
+ toJSON(): PowerPoint.Interfaces.SlideLayoutCollectionData;
+ }
+ /**
+ * Represents the Slide Master of a slide.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ export class SlideMaster extends OfficeExtension.ClientObject {
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
+ context: RequestContext;
+ /**
+ * Gets the collection of layouts provided by the Slide Master for slides.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ readonly layouts: PowerPoint.SlideLayoutCollection;
+ /**
+ * Returns a collection of shapes in the Slide Master.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ readonly shapes: PowerPoint.ShapeCollection;
+ /**
+ * Gets the unique ID of the Slide Master.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ readonly id: string;
+ /**
+ * Gets the unique name of the Slide Master.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ readonly name: string;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param options - Provides options for which properties of the object to load.
+ */
+ load(options?: PowerPoint.Interfaces.SlideMasterLoadOptions): PowerPoint.SlideMaster;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNames - A comma-delimited string or an array of strings that specify the properties to load.
+ */
+ load(propertyNames?: string | string[]): PowerPoint.SlideMaster;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNamesAndPaths - `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ */
+ load(propertyNamesAndPaths?: {
+ select?: string;
+ expand?: string;
+ }): PowerPoint.SlideMaster;
+ /**
+ * Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
+ * Whereas the original `PowerPoint.SlideMaster` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.SlideMasterData`) that contains shallow copies of any loaded child properties from the original object.
+ */
+ toJSON(): PowerPoint.Interfaces.SlideMasterData;
+ }
+ /**
+ * Represents a single tag in the slide.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ export class Tag extends OfficeExtension.ClientObject {
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
+ context: RequestContext;
+ /**
+ * Gets the unique ID of the tag. The `key` is unique within the owning `TagCollection` and always stored as uppercase letters within the document.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ readonly key: string;
+ /**
+ * Gets the value of the tag.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ value: string;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param options - Provides options for which properties of the object to load.
+ */
+ load(options?: PowerPoint.Interfaces.TagLoadOptions): PowerPoint.Tag;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNames - A comma-delimited string or an array of strings that specify the properties to load.
+ */
+ load(propertyNames?: string | string[]): PowerPoint.Tag;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNamesAndPaths - `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ */
+ load(propertyNamesAndPaths?: {
+ select?: string;
+ expand?: string;
+ }): PowerPoint.Tag;
+ /**
+ * Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
+ * Whereas the original `PowerPoint.Tag` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.TagData`) that contains shallow copies of any loaded child properties from the original object.
+ */
+ toJSON(): PowerPoint.Interfaces.TagData;
+ }
+ /**
+ * Represents the collection of tags.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ export class TagCollection extends OfficeExtension.ClientObject {
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
+ context: RequestContext;
+ /** Gets the loaded child items in this collection. */
+ readonly items: PowerPoint.Tag[];
+ /**
+ * Adds a new tag at the end of the collection. If the `key` already exists in the collection, the value of the existing tag will be replaced with the given `value`.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ *
+ * @param key - The unique ID of a tag, which is unique within this `TagCollection`. 'key' parameter is case-insensitive, but it is always capitalized when saved in the document.
+ * @param value - The value of the tag.
+ */
+ add(key: string, value: string): void;
+ /**
+ * Deletes the tag with the given `key` in this collection. Does nothing if the `key` does not exist.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ *
+ * @param key - The unique ID of a tag, which is unique within this `TagCollection`. `key` parameter is case-insensitive.
+ */
+ delete(key: string): void;
+ /**
+ * Gets the number of tags in the collection.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ * @returns The number of tags in the collection.
+ */
+ getCount(): OfficeExtension.ClientResult;
+ /**
+ * Gets a tag using its unique ID. An error is thrown if the tag does not exist.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ *
+ * @param key - The ID of the tag.
+ * @returns The tag with the unique ID. If such a tag does not exist, an error is thrown.
+ */
+ getItem(key: string): PowerPoint.Tag;
+ /**
+ * Gets a tag using its zero-based index in the collection. An error is thrown if the index is out of range.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ *
+ * @param index - The index of the tag in the collection.
+ * @returns The tag at the given index. An error is thrown if index is out of range.
+ */
+ getItemAt(index: number): PowerPoint.Tag;
+ /**
+ * Gets a tag using its unique ID. If such a tag does not exist, an object with an `isNullObject` property set to true is returned.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ *
+ * @param key - The ID of the tag.
+ * @returns The tag with the unique ID. If such a tag does not exist, an object with an `isNullObject` property set to true is returned.
+ */
+ getItemOrNullObject(key: string): PowerPoint.Tag;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param options - Provides options for which properties of the object to load.
+ */
+ load(options?: PowerPoint.Interfaces.TagCollectionLoadOptions & PowerPoint.Interfaces.CollectionLoadOptions): PowerPoint.TagCollection;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNames - A comma-delimited string or an array of strings that specify the properties to load.
+ */
+ load(propertyNames?: string | string[]): PowerPoint.TagCollection;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNamesAndPaths - `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ */
+ load(propertyNamesAndPaths?: OfficeExtension.LoadOption): PowerPoint.TagCollection;
+ /**
+ * Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
+ * Whereas the original `PowerPoint.TagCollection` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.TagCollectionData`) that contains an "items" array with shallow copies of any loaded properties from the collection's items.
+ */
+ toJSON(): PowerPoint.Interfaces.TagCollectionData;
+ }
+ /**
+ * Represents a single slide of a presentation.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.2]
+ */
+ export class Slide extends OfficeExtension.ClientObject {
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
+ context: RequestContext;
+ /**
+ * Returns a collection of hyperlinks in the slide.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.6]
+ */
+ readonly hyperlinks: PowerPoint.HyperlinkCollection;
+ /**
+ * Gets the layout of the slide.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ readonly layout: PowerPoint.SlideLayout;
+ /**
+ * Returns a collection of shapes in the slide.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ readonly shapes: PowerPoint.ShapeCollection;
+ /**
+ * Gets the `SlideMaster` object that represents the slide's default content.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ readonly slideMaster: PowerPoint.SlideMaster;
+ /**
+ * Returns a collection of tags in the slide.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ readonly tags: PowerPoint.TagCollection;
+ /**
+ * Gets the unique ID of the slide.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.2]
+ */
+ readonly id: string;
+ /**
+ * Deletes the slide from the presentation. Does nothing if the slide does not exist.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.2]
+ */
+ delete(): void;
+ /**
+ * Selects the specified shapes. Existing shape selection is replaced with the new selection.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ *
+ * @param shapeIds - List of shape IDs to select in the slide. If the list is empty, the selection is cleared.
+ */
+ setSelectedShapes(shapeIds: string[]): void;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param options - Provides options for which properties of the object to load.
+ */
+ load(options?: PowerPoint.Interfaces.SlideLoadOptions): PowerPoint.Slide;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNames - A comma-delimited string or an array of strings that specify the properties to load.
+ */
+ load(propertyNames?: string | string[]): PowerPoint.Slide;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNamesAndPaths - `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ */
+ load(propertyNamesAndPaths?: {
+ select?: string;
+ expand?: string;
+ }): PowerPoint.Slide;
+ /**
+ * Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
+ * Whereas the original `PowerPoint.Slide` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.SlideData`) that contains shallow copies of any loaded child properties from the original object.
+ */
+ toJSON(): PowerPoint.Interfaces.SlideData;
+ }
+ /**
+ * Specifies a shape's fill type.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ enum ShapeFillType {
+ /**
+ * Specifies that the shape should have no fill.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ noFill = "NoFill",
+ /**
+ * Specifies that the shape should have regular solid fill.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ solid = "Solid",
+ /**
+ * Specifies that the shape should have gradient fill.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ gradient = "Gradient",
+ /**
+ * Specifies that the shape should have pattern fill.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ pattern = "Pattern",
+ /**
+ * Specifies that the shape should have picture or texture fill.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ pictureAndTexture = "PictureAndTexture",
+ /**
+ * Specifies that the shape should have slide background fill.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ slideBackground = "SlideBackground",
+ }
+ /**
+ * Represents the fill formatting of a shape object.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ export class ShapeFill extends OfficeExtension.ClientObject {
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
+ context: RequestContext;
+ /**
+ * Represents the shape fill foreground color in HTML color format, in the form #RRGGBB (e.g., "FFA500") or as a named HTML color (e.g., "orange").
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ foregroundColor: string;
+ /**
+ * Specifies the transparency percentage of the fill as a value from 0.0 (opaque) through 1.0 (clear). Returns `null` if the shape type does not support transparency or the shape fill has inconsistent transparency, such as with a gradient fill type.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ transparency: number;
+ /**
+ * Returns the fill type of the shape. See {@link PowerPoint.ShapeFillType} for details.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ readonly type: PowerPoint.ShapeFillType | "NoFill" | "Solid" | "Gradient" | "Pattern" | "PictureAndTexture" | "SlideBackground";
+ /**
+ * Clears the fill formatting of this shape.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ clear(): void;
+ /**
+ * Sets the fill formatting of the shape to a uniform color. This changes the fill type to `Solid`.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ *
+ * @param color - A string that specifies the fill color in HTML color format, in the form #RRGGBB (e.g., "FFA500") or as a named HTML color (e.g., "orange").
+ */
+ setSolidColor(color: string): void;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param options - Provides options for which properties of the object to load.
+ */
+ load(options?: PowerPoint.Interfaces.ShapeFillLoadOptions): PowerPoint.ShapeFill;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNames - A comma-delimited string or an array of strings that specify the properties to load.
+ */
+ load(propertyNames?: string | string[]): PowerPoint.ShapeFill;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNamesAndPaths - `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ */
+ load(propertyNamesAndPaths?: {
+ select?: string;
+ expand?: string;
+ }): PowerPoint.ShapeFill;
+ /**
+ * Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
+ * Whereas the original `PowerPoint.ShapeFill` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.ShapeFillData`) that contains shallow copies of any loaded child properties from the original object.
+ */
+ toJSON(): PowerPoint.Interfaces.ShapeFillData;
+ }
+ /**
+ * Specifies the style for a line.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ enum ShapeLineStyle {
+ /**
+ * Single line.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ single = "Single",
+ /**
+ * Thick line with a thin line on each side.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ thickBetweenThin = "ThickBetweenThin",
+ /**
+ * Thick line next to thin line. For horizontal lines, the thick line is above the thin line. For vertical lines, the thick line is to the left of the thin line.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ thickThin = "ThickThin",
+ /**
+ * Thick line next to thin line. For horizontal lines, the thick line is below the thin line. For vertical lines, the thick line is to the right of the thin line.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ thinThick = "ThinThick",
+ /**
+ * Two thin lines.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ thinThin = "ThinThin",
+ }
+ /**
+ * Represents the line formatting for the shape object. For images and geometric shapes, line formatting represents the border of the shape.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ export class ShapeLineFormat extends OfficeExtension.ClientObject {
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
+ context: RequestContext;
+ /**
+ * Represents the line color in HTML color format, in the form #RRGGBB (e.g., "FFA500") or as a named HTML color (e.g., "orange").
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ color: string;
+ /**
+ * Represents the dash style of the line. Returns null when the line is not visible or there are inconsistent dash styles. See PowerPoint.ShapeLineDashStyle for details.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ dashStyle: PowerPoint.ShapeLineDashStyle | "Dash" | "DashDot" | "DashDotDot" | "LongDash" | "LongDashDot" | "RoundDot" | "Solid" | "SquareDot" | "LongDashDotDot" | "SystemDash" | "SystemDot" | "SystemDashDot";
+ /**
+ * Represents the line style of the shape. Returns null when the line is not visible or there are inconsistent styles. See PowerPoint.ShapeLineStyle for details.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ style: PowerPoint.ShapeLineStyle | "Single" | "ThickBetweenThin" | "ThickThin" | "ThinThick" | "ThinThin";
+ /**
+ * Specifies the transparency percentage of the line as a value from 0.0 (opaque) through 1.0 (clear). Returns null when the shape has inconsistent transparencies.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ transparency: number;
+ /**
+ * Specifies if the line formatting of a shape element is visible. Returns `null` when the shape has inconsistent visibilities.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ visible: boolean;
+ /**
+ * Represents the weight of the line, in points. Returns `null` when the line is not visible or there are inconsistent line weights.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ weight: number;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param options - Provides options for which properties of the object to load.
+ */
+ load(options?: PowerPoint.Interfaces.ShapeLineFormatLoadOptions): PowerPoint.ShapeLineFormat;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNames - A comma-delimited string or an array of strings that specify the properties to load.
+ */
+ load(propertyNames?: string | string[]): PowerPoint.ShapeLineFormat;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNamesAndPaths - `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ */
+ load(propertyNamesAndPaths?: {
+ select?: string;
+ expand?: string;
+ }): PowerPoint.ShapeLineFormat;
+ /**
+ * Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
+ * Whereas the original `PowerPoint.ShapeLineFormat` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.ShapeLineFormatData`) that contains shallow copies of any loaded child properties from the original object.
+ */
+ toJSON(): PowerPoint.Interfaces.ShapeLineFormatData;
+ }
+ /**
+ * Specifies the type of a shape.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ enum ShapeType {
+ /**
+ * The given shape's type is unsupported.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ unsupported = "Unsupported",
+ /**
+ * The shape is an image
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ image = "Image",
+ /**
+ * The shape is a geometric shape such as rectangle
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ geometricShape = "GeometricShape",
+ /**
+ * The shape is a group shape which contains sub-shapes
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ group = "Group",
+ /**
+ * The shape is a line
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ line = "Line",
+ /**
+ * The shape is a table
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ table = "Table",
+ }
+ /**
+ * Determines the type of automatic sizing allowed.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ enum ShapeAutoSize {
+ /**
+ * No autosizing.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ autoSizeNone = "AutoSizeNone",
+ /**
+ * The text is adjusted to fit the shape.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ autoSizeTextToFitShape = "AutoSizeTextToFitShape",
+ /**
+ * The shape is adjusted to fit the text.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ autoSizeShapeToFitText = "AutoSizeShapeToFitText",
+ /**
+ * A combination of automatic sizing schemes are used.
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ autoSizeMixed = "AutoSizeMixed",
+ }
+ /**
+ * Represents the bullet formatting properties of a text that is attached to the {@link PowerPoint.ParagraphFormat}.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ export class BulletFormat extends OfficeExtension.ClientObject {
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
+ context: RequestContext;
+ /**
+ * Specifies if the bullets in the paragraph are visible. Returns 'null' if the 'TextRange' includes text fragments with different bullet visibility values.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ visible: boolean;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param options - Provides options for which properties of the object to load.
+ */
+ load(options?: PowerPoint.Interfaces.BulletFormatLoadOptions): PowerPoint.BulletFormat;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNames - A comma-delimited string or an array of strings that specify the properties to load.
+ */
+ load(propertyNames?: string | string[]): PowerPoint.BulletFormat;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNamesAndPaths - `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ */
+ load(propertyNamesAndPaths?: {
+ select?: string;
+ expand?: string;
+ }): PowerPoint.BulletFormat;
+ /**
+ * Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
+ * Whereas the original `PowerPoint.BulletFormat` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.BulletFormatData`) that contains shallow copies of any loaded child properties from the original object.
+ */
+ toJSON(): PowerPoint.Interfaces.BulletFormatData;
+ }
+ /**
+ * Represents the paragraph formatting properties of a text that is attached to the {@link PowerPoint.TextRange}.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ export class ParagraphFormat extends OfficeExtension.ClientObject {
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
+ context: RequestContext;
+ /**
+ * Represents the bullet format of the paragraph. See {@link PowerPoint.BulletFormat} for details.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ readonly bulletFormat: PowerPoint.BulletFormat;
+ /**
+ * Represents the horizontal alignment of the paragraph. Returns 'null' if the 'TextRange' includes text fragments with different horizontal alignment values. See {@link PowerPoint.ParagraphHorizontalAlignment} for details.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ horizontalAlignment: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed";
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param options - Provides options for which properties of the object to load.
+ */
+ load(options?: PowerPoint.Interfaces.ParagraphFormatLoadOptions): PowerPoint.ParagraphFormat;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNames - A comma-delimited string or an array of strings that specify the properties to load.
+ */
+ load(propertyNames?: string | string[]): PowerPoint.ParagraphFormat;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNamesAndPaths - `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ */
+ load(propertyNamesAndPaths?: {
+ select?: string;
+ expand?: string;
+ }): PowerPoint.ParagraphFormat;
+ /**
+ * Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
+ * Whereas the original `PowerPoint.ParagraphFormat` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.ParagraphFormatData`) that contains shallow copies of any loaded child properties from the original object.
+ */
+ toJSON(): PowerPoint.Interfaces.ParagraphFormatData;
+ }
+ /**
+ * Represents the font attributes, such as font name, font size, and color, for a shape's TextRange object.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ export class ShapeFont extends OfficeExtension.ClientObject {
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
+ context: RequestContext;
+ /**
+ * Represents the bold status of font. Returns `null` if the `TextRange` includes both bold and non-bold text fragments.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ bold: boolean;
+ /**
+ * HTML color code representation of the text color (e.g., "#FF0000" represents red). Returns `null` if the `TextRange` includes text fragments with different colors.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ color: string;
+ /**
+ * Represents the italic status of font. Returns 'null' if the 'TextRange' includes both italic and non-italic text fragments.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ italic: boolean;
+ /**
+ * Represents font name (e.g., "Calibri"). If the text is a Complex Script or East Asian language, this is the corresponding font name; otherwise it is the Latin font name.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ name: string;
+ /**
+ * Represents font size in points (e.g., 11). Returns null if the TextRange includes text fragments with different font sizes.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ size: number;
+ /**
+ * Type of underline applied to the font. Returns `null` if the `TextRange` includes text fragments with different underline styles. See {@link PowerPoint.ShapeFontUnderlineStyle} for details.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ underline: PowerPoint.ShapeFontUnderlineStyle | "None" | "Single" | "Double" | "Heavy" | "Dotted" | "DottedHeavy" | "Dash" | "DashHeavy" | "DashLong" | "DashLongHeavy" | "DotDash" | "DotDashHeavy" | "DotDotDash" | "DotDotDashHeavy" | "Wavy" | "WavyHeavy" | "WavyDouble";
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param options - Provides options for which properties of the object to load.
+ */
+ load(options?: PowerPoint.Interfaces.ShapeFontLoadOptions): PowerPoint.ShapeFont;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNames - A comma-delimited string or an array of strings that specify the properties to load.
+ */
+ load(propertyNames?: string | string[]): PowerPoint.ShapeFont;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNamesAndPaths - `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ */
+ load(propertyNamesAndPaths?: {
+ select?: string;
+ expand?: string;
+ }): PowerPoint.ShapeFont;
+ /**
+ * Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
+ * Whereas the original `PowerPoint.ShapeFont` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.ShapeFontData`) that contains shallow copies of any loaded child properties from the original object.
+ */
+ toJSON(): PowerPoint.Interfaces.ShapeFontData;
+ }
+ /**
+ * Contains the text that is attached to a shape, in addition to properties and methods for manipulating the text.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ export class TextRange extends OfficeExtension.ClientObject {
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
+ context: RequestContext;
+ /**
+ * Returns a `ShapeFont` object that represents the font attributes for the text range.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ readonly font: PowerPoint.ShapeFont;
+ /**
+ * Represents the paragraph format of the text range. See {@link PowerPoint.ParagraphFormat} for details.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ readonly paragraphFormat: PowerPoint.ParagraphFormat;
+ /**
+ * Gets or sets the length of the range that this `TextRange` represents.
+ Throws an `InvalidArgument` exception when set with a negative value or if the value is greater than the length of the available text from the starting point.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ */
+ length: number;
+ /**
+ * Gets or sets zero-based index, relative to the parent text frame, for the starting position of the range that this `TextRange` represents.
+ Throws an `InvalidArgument` exception when set with a negative value or if the value is greater than the length of the text.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ */
+ start: number;
+ /**
+ * Represents the plain text content of the text range.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ text: string;
+ /**
+ * Returns the parent {@link PowerPoint.TextFrame} object that holds this `TextRange`.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ */
+ getParentTextFrame(): PowerPoint.TextFrame;
+ /**
+ * Returns a `TextRange` object for the substring in the given range.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ *
+ * @param start - The zero-based index of the first character to get from the text range.
+ * @param length - Optional. The number of characters to be returned in the new text range. If length is omitted, all the characters from start to the end of the text range's last paragraph will be returned.
+ */
+ getSubstring(start: number, length?: number): PowerPoint.TextRange;
+ /**
+ * Selects this `TextRange` in the current view.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ */
+ setSelected(): void;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param options - Provides options for which properties of the object to load.
+ */
+ load(options?: PowerPoint.Interfaces.TextRangeLoadOptions): PowerPoint.TextRange;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNames - A comma-delimited string or an array of strings that specify the properties to load.
+ */
+ load(propertyNames?: string | string[]): PowerPoint.TextRange;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNamesAndPaths - `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ */
+ load(propertyNamesAndPaths?: {
+ select?: string;
+ expand?: string;
+ }): PowerPoint.TextRange;
+ /**
+ * Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
+ * Whereas the original `PowerPoint.TextRange` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.TextRangeData`) that contains shallow copies of any loaded child properties from the original object.
+ */
+ toJSON(): PowerPoint.Interfaces.TextRangeData;
+ }
+ /**
+ * Represents the text frame of a shape object.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ export class TextFrame extends OfficeExtension.ClientObject {
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
+ context: RequestContext;
+ /**
+ * Represents the text that is attached to a shape in the text frame, and properties and methods for manipulating the text. See {@link PowerPoint.TextRange} for details.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ readonly textRange: PowerPoint.TextRange;
+ /**
+ * The automatic sizing settings for the text frame. A text frame can be set to automatically fit the text to the text frame, to automatically fit the text frame to the text, or not perform any automatic sizing.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ autoSizeSetting: PowerPoint.ShapeAutoSize | "AutoSizeNone" | "AutoSizeTextToFitShape" | "AutoSizeShapeToFitText" | "AutoSizeMixed";
+ /**
+ * Represents the bottom margin, in points, of the text frame.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ bottomMargin: number;
+ /**
+ * Specifies if the text frame contains text.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ readonly hasText: boolean;
+ /**
+ * Represents the left margin, in points, of the text frame.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ leftMargin: number;
+ /**
+ * Represents the right margin, in points, of the text frame.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ rightMargin: number;
+ /**
+ * Represents the top margin, in points, of the text frame.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ topMargin: number;
+ /**
+ * Represents the vertical alignment of the text frame. See {@link PowerPoint.TextVerticalAlignment} for details.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ verticalAlignment: PowerPoint.TextVerticalAlignment | "Top" | "Middle" | "Bottom" | "TopCentered" | "MiddleCentered" | "BottomCentered";
+ /**
+ * Determines whether lines break automatically to fit text inside the shape.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ wordWrap: boolean;
+ /**
+ * Deletes all the text in the text frame.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ deleteText(): void;
+ /**
+ * Returns the parent {@link PowerPoint.Shape} object that holds this `TextFrame`.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ */
+ getParentShape(): PowerPoint.Shape;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param options - Provides options for which properties of the object to load.
+ */
+ load(options?: PowerPoint.Interfaces.TextFrameLoadOptions): PowerPoint.TextFrame;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNames - A comma-delimited string or an array of strings that specify the properties to load.
+ */
+ load(propertyNames?: string | string[]): PowerPoint.TextFrame;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNamesAndPaths - `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ */
+ load(propertyNamesAndPaths?: {
+ select?: string;
+ expand?: string;
+ }): PowerPoint.TextFrame;
+ /**
+ * Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
+ * Whereas the original `PowerPoint.TextFrame` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.TextFrameData`) that contains shallow copies of any loaded child properties from the original object.
+ */
+ toJSON(): PowerPoint.Interfaces.TextFrameData;
+ }
+ /**
+ * Represents a single shape in the slide.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ export class Shape extends OfficeExtension.ClientObject {
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
+ context: RequestContext;
+ /**
+ * Returns the fill formatting of this shape.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ readonly fill: PowerPoint.ShapeFill;
+ /**
+ * Returns the line formatting of this shape.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ readonly lineFormat: PowerPoint.ShapeLineFormat;
+ /**
+ * Returns a collection of tags in the shape.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ readonly tags: PowerPoint.TagCollection;
+ /**
+ * Returns the text frame object of this shape.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ readonly textFrame: PowerPoint.TextFrame;
+ /**
+ * Specifies the height, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative value.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ height: number;
+ /**
+ * Gets the unique ID of the shape.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ readonly id: string;
+ /**
+ * The distance, in points, from the left side of the shape to the left side of the slide.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ left: number;
+ /**
+ * Specifies the name of this shape.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ name: string;
+ /**
+ * The distance, in points, from the top edge of the shape to the top edge of the slide.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ top: number;
+ /**
+ * Returns the type of this shape. See {@link PowerPoint.ShapeType} for details.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ readonly type: PowerPoint.ShapeType | "Unsupported" | "Image" | "GeometricShape" | "Group" | "Line" | "Table";
+ /**
+ * Specifies the width, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative value.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ width: number;
+ /**
+ * Deletes the shape from the shape collection. Does nothing if the shape does not exist.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ delete(): void;
+ /**
+ * Returns the parent {@link PowerPoint.Slide} object that holds this `Shape`. Throws an exception if this shape does not belong to a `Slide`.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ */
+ getParentSlide(): PowerPoint.Slide;
+ /**
+ * Returns the parent {@link PowerPoint.SlideLayout} object that holds this `Shape`. Throws an exception if this shape does not belong to a `SlideLayout`.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ */
+ getParentSlideLayout(): PowerPoint.SlideLayout;
+ /**
+ * Returns the parent {@link PowerPoint.SlideLayout} object that holds this `Shape`. If this shape does not belong to a `SlideLayout`, an object with an `isNullObject` property set to `true` is returned.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ */
+ getParentSlideLayoutOrNullObject(): PowerPoint.SlideLayout;
+ /**
+ * Returns the parent {@link PowerPoint.SlideMaster} object that holds this `Shape`. Throws an exception if this shape does not belong to a `SlideMaster`.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ */
+ getParentSlideMaster(): PowerPoint.SlideMaster;
+ /**
+ * Returns the parent {@link PowerPoint.SlideMaster} object that holds this `Shape`. If this shape does not belong to a `SlideMaster`, an object with an `isNullObject` property set to `true` is returned.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ */
+ getParentSlideMasterOrNullObject(): PowerPoint.SlideMaster;
+ /**
+ * Returns the parent {@link PowerPoint.Slide} object that holds this `Shape`. If this shape does not belong to a `Slide`, an object with an `isNullObject` property set to `true` is returned.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ */
+ getParentSlideOrNullObject(): PowerPoint.Slide;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param options - Provides options for which properties of the object to load.
+ */
+ load(options?: PowerPoint.Interfaces.ShapeLoadOptions): PowerPoint.Shape;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNames - A comma-delimited string or an array of strings that specify the properties to load.
+ */
+ load(propertyNames?: string | string[]): PowerPoint.Shape;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNamesAndPaths - `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ */
+ load(propertyNamesAndPaths?: {
+ select?: string;
+ expand?: string;
+ }): PowerPoint.Shape;
+ /**
+ * Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
+ * Whereas the original `PowerPoint.Shape` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.ShapeData`) that contains shallow copies of any loaded child properties from the original object.
+ */
+ toJSON(): PowerPoint.Interfaces.ShapeData;
+ }
+ /**
+ * Specifies the formatting options for when slides are inserted.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.2]
+ */
+ enum InsertSlideFormatting {
+ /**
+ * Copy the source theme into the target presentation and use that theme.
+ * @remarks
+ * [Api set: PowerPointApi 1.2]
+ */
+ keepSourceFormatting = "KeepSourceFormatting",
+ /**
+ * Use the existing theme in the target presentation.
+ * @remarks
+ * [Api set: PowerPointApi 1.2]
+ */
+ useDestinationTheme = "UseDestinationTheme",
+ }
+ /**
+ * Represents the available options when inserting slides.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.2]
+ */
+ export interface InsertSlideOptions {
+ /**
+ * Specifies which formatting to use during slide insertion.
+ The default option is to use "KeepSourceFormatting".
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.2]
+ */
+ formatting?: PowerPoint.InsertSlideFormatting | "KeepSourceFormatting" | "UseDestinationTheme";
+ /**
+ * Specifies the slides from the source presentation that will be inserted into the current presentation. These slides are represented by their IDs which can be retrieved from a `Slide` object.
+ The order of these slides is preserved during the insertion.
+ If any of the source slides are not found, or if the IDs are invalid, the operation throws a `SlideNotFound` exception and no slides will be inserted.
+ All of the source slides will be inserted when `sourceSlideIds` is not provided (this is the default behavior).
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.2]
+ */
+ sourceSlideIds?: string[];
+ /**
+ * Specifies where in the presentation the new slides will be inserted. The new slides will be inserted after the slide with the given slide ID.
+ If `targetSlideId` is not provided, the slides will be inserted at the beginning of the presentation.
+ If `targetSlideId` is invalid or if it is pointing to a non-existing slide, the operation throws a `SlideNotFound` exception and no slides will be inserted.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.2]
+ */
+ targetSlideId?: string;
+ }
+ /**
+ * Represents a collection of shapes.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ */
+ export class ShapeScopedCollection extends OfficeExtension.ClientObject {
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
+ context: RequestContext;
+ /** Gets the loaded child items in this collection. */
+ readonly items: PowerPoint.Shape[];
+ /**
+ * Gets the number of shapes in the collection.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ * @returns The number of shapes in the collection.
+ */
+ getCount(): OfficeExtension.ClientResult;
+ /**
+ * Gets a shape using its unique ID. An error is thrown if the shape does not exist.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ *
+ * @param key - The ID of the shape.
+ * @returns The shape with the unique ID. If such a shape does not exist, an error is thrown.
+ */
+ getItem(key: string): PowerPoint.Shape;
+ /**
+ * Gets a shape using its zero-based index in the collection. An error is thrown if the index is out of range.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ *
+ * @param index - The index of the shape in the collection.
+ * @returns The shape at the given index. An error is thrown if index is out of range.
+ */
+ getItemAt(index: number): PowerPoint.Shape;
+ /**
+ * Gets a shape using its unique ID. If such a shape does not exist, an object with an `isNullObject` property set to true is returned.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ *
+ * @param id - The ID of the shape.
+ * @returns The shape with the unique ID. If such a shape does not exist, an object with an `isNullObject` property set to true is returned.
+ */
+ getItemOrNullObject(id: string): PowerPoint.Shape;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param options - Provides options for which properties of the object to load.
+ */
+ load(options?: PowerPoint.Interfaces.ShapeScopedCollectionLoadOptions & PowerPoint.Interfaces.CollectionLoadOptions): PowerPoint.ShapeScopedCollection;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNames - A comma-delimited string or an array of strings that specify the properties to load.
+ */
+ load(propertyNames?: string | string[]): PowerPoint.ShapeScopedCollection;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNamesAndPaths - `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ */
+ load(propertyNamesAndPaths?: OfficeExtension.LoadOption): PowerPoint.ShapeScopedCollection;
+ /**
+ * Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
+ * Whereas the original `PowerPoint.ShapeScopedCollection` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.ShapeScopedCollectionData`) that contains an "items" array with shallow copies of any loaded properties from the collection's items.
+ */
+ toJSON(): PowerPoint.Interfaces.ShapeScopedCollectionData;
+ }
+ /**
+ * Represents the collection of slides in the presentation.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.2]
+ */
+ export class SlideCollection extends OfficeExtension.ClientObject {
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
+ context: RequestContext;
+ /** Gets the loaded child items in this collection. */
+ readonly items: PowerPoint.Slide[];
+ /**
+ * Adds a new slide at the end of the collection.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ *
+ * @param options - The options that define the theme of the new slide.
+ */
+ add(options?: PowerPoint.AddSlideOptions): void;
+ /**
+ * Gets the number of slides in the collection.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.2]
+ * @returns The number of slides in the collection.
+ */
+ getCount(): OfficeExtension.ClientResult;
+ /**
+ * Gets a slide using its unique ID.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.2]
+ *
+ * @param key - The ID of the slide.
+ * @returns The slide with the unique ID. If such a slide does not exist, an error is thrown.
+ */
+ getItem(key: string): PowerPoint.Slide;
+ /**
+ * Gets a slide using its zero-based index in the collection. Slides are stored in the same order as they
+ are shown in the presentation.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.2]
+ *
+ * @param index - The index of the slide in the collection.
+ * @returns The slide at the given index. An error is thrown if index is out of range.
+ */
+ getItemAt(index: number): PowerPoint.Slide;
+ /**
+ * Gets a slide using its unique ID. If such a slide does not exist, an object with an `isNullObject` property set to true is returned. For further information,
+ see {@link https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods
+ and properties}.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.2]
+ *
+ * @param id - The ID of the slide.
+ * @returns The slide with the unique ID.
+ */
+ getItemOrNullObject(id: string): PowerPoint.Slide;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param options - Provides options for which properties of the object to load.
+ */
+ load(options?: PowerPoint.Interfaces.SlideCollectionLoadOptions & PowerPoint.Interfaces.CollectionLoadOptions): PowerPoint.SlideCollection;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNames - A comma-delimited string or an array of strings that specify the properties to load.
+ */
+ load(propertyNames?: string | string[]): PowerPoint.SlideCollection;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNamesAndPaths - `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ */
+ load(propertyNamesAndPaths?: OfficeExtension.LoadOption): PowerPoint.SlideCollection;
+ /**
+ * Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
+ * Whereas the original `PowerPoint.SlideCollection` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.SlideCollectionData`) that contains an "items" array with shallow copies of any loaded properties from the collection's items.
+ */
+ toJSON(): PowerPoint.Interfaces.SlideCollectionData;
+ }
+ /**
+ * Represents a collection of slides in the presentation.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ */
+ export class SlideScopedCollection extends OfficeExtension.ClientObject {
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
+ context: RequestContext;
+ /** Gets the loaded child items in this collection. */
+ readonly items: PowerPoint.Slide[];
+ /**
+ * Gets the number of slides in the collection.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ * @returns The number of slides in the collection.
+ */
+ getCount(): OfficeExtension.ClientResult;
+ /**
+ * Gets a slide using its unique ID.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ *
+ * @param key - The ID of the slide.
+ * @returns The slide with the unique ID. If such a slide does not exist, an error is thrown.
+ */
+ getItem(key: string): PowerPoint.Slide;
+ /**
+ * Gets a slide using its zero-based index in the collection.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ *
+ * @param index - The index of the slide in the collection.
+ * @returns The slide at the given index. An error is thrown if index is out of range.
+ */
+ getItemAt(index: number): PowerPoint.Slide;
+ /**
+ * Gets a slide using its unique ID. If such a slide does not exist, an object with an `isNullObject` property set to true is returned. For further information,
+ see {@link https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods
+ and properties}.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ *
+ * @param id - The ID of the slide.
+ * @returns The slide with the unique ID.
+ */
+ getItemOrNullObject(id: string): PowerPoint.Slide;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param options - Provides options for which properties of the object to load.
+ */
+ load(options?: PowerPoint.Interfaces.SlideScopedCollectionLoadOptions & PowerPoint.Interfaces.CollectionLoadOptions): PowerPoint.SlideScopedCollection;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNames - A comma-delimited string or an array of strings that specify the properties to load.
+ */
+ load(propertyNames?: string | string[]): PowerPoint.SlideScopedCollection;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNamesAndPaths - `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ */
+ load(propertyNamesAndPaths?: OfficeExtension.LoadOption): PowerPoint.SlideScopedCollection;
+ /**
+ * Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
+ * Whereas the original `PowerPoint.SlideScopedCollection` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.SlideScopedCollectionData`) that contains an "items" array with shallow copies of any loaded properties from the collection's items.
+ */
+ toJSON(): PowerPoint.Interfaces.SlideScopedCollectionData;
+ }
+ /**
+ * Represents the collection of Slide Masters in the presentation.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ export class SlideMasterCollection extends OfficeExtension.ClientObject {
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
+ context: RequestContext;
+ /** Gets the loaded child items in this collection. */
+ readonly items: PowerPoint.SlideMaster[];
+ /**
+ * Gets the number of Slide Masters in the collection.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ * @returns The number of Slide Masters in the collection.
+ */
+ getCount(): OfficeExtension.ClientResult;
+ /**
+ * Gets a Slide Master using its unique ID.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ *
+ * @param key - The ID of the Slide Master.
+ * @returns The Slide Master with the unique ID. If such a Slide Master does not exist, an error is thrown.
+ */
+ getItem(key: string): PowerPoint.SlideMaster;
+ /**
+ * Gets a Slide Master using its zero-based index in the collection.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ *
+ * @param index - The index of the Slide Master in the collection.
+ * @returns The Slide Master at the given index. An error is thrown if index is out of range.
+ */
+ getItemAt(index: number): PowerPoint.SlideMaster;
+ /**
+ * Gets a Slide Master using its unique ID. If such a Slide Master does not exist, an object with an `isNullObject` property set to true is returned.
+ For further information, see {@link https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods and properties}."
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ *
+ * @param id - The ID of the Slide Master.
+ * @returns The Slide Master with the unique ID.
+ */
+ getItemOrNullObject(id: string): PowerPoint.SlideMaster;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param options - Provides options for which properties of the object to load.
+ */
+ load(options?: PowerPoint.Interfaces.SlideMasterCollectionLoadOptions & PowerPoint.Interfaces.CollectionLoadOptions): PowerPoint.SlideMasterCollection;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNames - A comma-delimited string or an array of strings that specify the properties to load.
+ */
+ load(propertyNames?: string | string[]): PowerPoint.SlideMasterCollection;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNamesAndPaths - `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ */
+ load(propertyNamesAndPaths?: OfficeExtension.LoadOption): PowerPoint.SlideMasterCollection;
+ /**
+ * Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
+ * Whereas the original `PowerPoint.SlideMasterCollection` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.SlideMasterCollectionData`) that contains an "items" array with shallow copies of any loaded properties from the collection's items.
+ */
+ toJSON(): PowerPoint.Interfaces.SlideMasterCollectionData;
+ }
+ enum ErrorCodes {
+ generalException = "GeneralException",
+ }
+ export namespace Interfaces {
+ /**
+ * Provides ways to load properties of only a subset of members of a collection.
+ */
+ export interface CollectionLoadOptions {
+ /**
+ * Specify the number of items in the queried collection to be included in the result.
+ */
+ $top?: number;
+ /**
+ * Specify the number of items in the collection that are to be skipped and not included in the result. If top is specified, the selection of result will start after skipping the specified number of items.
+ */
+ $skip?: number;
+ }
+ /** An interface for updating data on the `Hyperlink` object, for use in `hyperlink.set({ ... })`. */
+ export interface HyperlinkUpdateData {
+ /**
+ * Specifies the URL target of the hyperlink.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.6]
+ */
+ address?: string;
+ /**
+ * Specifies the string displayed when hovering over the hyperlink.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.6]
+ */
+ screenTip?: string;
+ }
+ /** An interface for updating data on the `HyperlinkCollection` object, for use in `hyperlinkCollection.set({ ... })`. */
+ export interface HyperlinkCollectionUpdateData {
+ items?: PowerPoint.Interfaces.HyperlinkData[];
+ }
+ /** An interface for updating data on the `ShapeCollection` object, for use in `shapeCollection.set({ ... })`. */
+ export interface ShapeCollectionUpdateData {
+ items?: PowerPoint.Interfaces.ShapeData[];
+ }
+ /** An interface for updating data on the `SlideLayoutCollection` object, for use in `slideLayoutCollection.set({ ... })`. */
+ export interface SlideLayoutCollectionUpdateData {
+ items?: PowerPoint.Interfaces.SlideLayoutData[];
+ }
+ /** An interface for updating data on the `Tag` object, for use in `tag.set({ ... })`. */
+ export interface TagUpdateData {
+ /**
+ * Gets the value of the tag.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ value?: string;
+ }
+ /** An interface for updating data on the `TagCollection` object, for use in `tagCollection.set({ ... })`. */
+ export interface TagCollectionUpdateData {
+ items?: PowerPoint.Interfaces.TagData[];
+ }
+ /** An interface for updating data on the `ShapeFill` object, for use in `shapeFill.set({ ... })`. */
+ export interface ShapeFillUpdateData {
+ /**
+ * Represents the shape fill foreground color in HTML color format, in the form #RRGGBB (e.g., "FFA500") or as a named HTML color (e.g., "orange").
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ foregroundColor?: string;
+ /**
+ * Specifies the transparency percentage of the fill as a value from 0.0 (opaque) through 1.0 (clear). Returns `null` if the shape type does not support transparency or the shape fill has inconsistent transparency, such as with a gradient fill type.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ transparency?: number;
+ }
+ /** An interface for updating data on the `ShapeLineFormat` object, for use in `shapeLineFormat.set({ ... })`. */
+ export interface ShapeLineFormatUpdateData {
+ /**
+ * Represents the line color in HTML color format, in the form #RRGGBB (e.g., "FFA500") or as a named HTML color (e.g., "orange").
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ color?: string;
+ /**
+ * Represents the dash style of the line. Returns null when the line is not visible or there are inconsistent dash styles. See PowerPoint.ShapeLineDashStyle for details.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ dashStyle?: PowerPoint.ShapeLineDashStyle | "Dash" | "DashDot" | "DashDotDot" | "LongDash" | "LongDashDot" | "RoundDot" | "Solid" | "SquareDot" | "LongDashDotDot" | "SystemDash" | "SystemDot" | "SystemDashDot";
+ /**
+ * Represents the line style of the shape. Returns null when the line is not visible or there are inconsistent styles. See PowerPoint.ShapeLineStyle for details.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ style?: PowerPoint.ShapeLineStyle | "Single" | "ThickBetweenThin" | "ThickThin" | "ThinThick" | "ThinThin";
+ /**
+ * Specifies the transparency percentage of the line as a value from 0.0 (opaque) through 1.0 (clear). Returns null when the shape has inconsistent transparencies.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ transparency?: number;
+ /**
+ * Specifies if the line formatting of a shape element is visible. Returns `null` when the shape has inconsistent visibilities.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ visible?: boolean;
+ /**
+ * Represents the weight of the line, in points. Returns `null` when the line is not visible or there are inconsistent line weights.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ weight?: number;
+ }
+ /** An interface for updating data on the `BulletFormat` object, for use in `bulletFormat.set({ ... })`. */
+ export interface BulletFormatUpdateData {
+ /**
+ * Specifies if the bullets in the paragraph are visible. Returns 'null' if the 'TextRange' includes text fragments with different bullet visibility values.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ visible?: boolean;
+ }
+ /** An interface for updating data on the `ParagraphFormat` object, for use in `paragraphFormat.set({ ... })`. */
+ export interface ParagraphFormatUpdateData {
+ /**
+ * Represents the horizontal alignment of the paragraph. Returns 'null' if the 'TextRange' includes text fragments with different horizontal alignment values. See {@link PowerPoint.ParagraphHorizontalAlignment} for details.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ horizontalAlignment?: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed";
+ }
+ /** An interface for updating data on the `ShapeFont` object, for use in `shapeFont.set({ ... })`. */
+ export interface ShapeFontUpdateData {
+ /**
+ * Represents the bold status of font. Returns `null` if the `TextRange` includes both bold and non-bold text fragments.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ bold?: boolean;
+ /**
+ * HTML color code representation of the text color (e.g., "#FF0000" represents red). Returns `null` if the `TextRange` includes text fragments with different colors.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ color?: string;
+ /**
+ * Represents the italic status of font. Returns 'null' if the 'TextRange' includes both italic and non-italic text fragments.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ italic?: boolean;
+ /**
+ * Represents font name (e.g., "Calibri"). If the text is a Complex Script or East Asian language, this is the corresponding font name; otherwise it is the Latin font name.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ name?: string;
+ /**
+ * Represents font size in points (e.g., 11). Returns null if the TextRange includes text fragments with different font sizes.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ size?: number;
+ /**
+ * Type of underline applied to the font. Returns `null` if the `TextRange` includes text fragments with different underline styles. See {@link PowerPoint.ShapeFontUnderlineStyle} for details.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ underline?: PowerPoint.ShapeFontUnderlineStyle | "None" | "Single" | "Double" | "Heavy" | "Dotted" | "DottedHeavy" | "Dash" | "DashHeavy" | "DashLong" | "DashLongHeavy" | "DotDash" | "DotDashHeavy" | "DotDotDash" | "DotDotDashHeavy" | "Wavy" | "WavyHeavy" | "WavyDouble";
+ }
+ /** An interface for updating data on the `TextRange` object, for use in `textRange.set({ ... })`. */
+ export interface TextRangeUpdateData {
+ /**
+ * Gets or sets the length of the range that this `TextRange` represents.
+ Throws an `InvalidArgument` exception when set with a negative value or if the value is greater than the length of the available text from the starting point.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ */
+ length?: number;
+ /**
+ * Gets or sets zero-based index, relative to the parent text frame, for the starting position of the range that this `TextRange` represents.
+ Throws an `InvalidArgument` exception when set with a negative value or if the value is greater than the length of the text.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ */
+ start?: number;
+ /**
+ * Represents the plain text content of the text range.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ text?: string;
+ }
+ /** An interface for updating data on the `TextFrame` object, for use in `textFrame.set({ ... })`. */
+ export interface TextFrameUpdateData {
+ /**
+ * The automatic sizing settings for the text frame. A text frame can be set to automatically fit the text to the text frame, to automatically fit the text frame to the text, or not perform any automatic sizing.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ autoSizeSetting?: PowerPoint.ShapeAutoSize | "AutoSizeNone" | "AutoSizeTextToFitShape" | "AutoSizeShapeToFitText" | "AutoSizeMixed";
+ /**
+ * Represents the bottom margin, in points, of the text frame.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ bottomMargin?: number;
+ /**
+ * Represents the left margin, in points, of the text frame.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ leftMargin?: number;
+ /**
+ * Represents the right margin, in points, of the text frame.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ rightMargin?: number;
+ /**
+ * Represents the top margin, in points, of the text frame.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ topMargin?: number;
+ /**
+ * Represents the vertical alignment of the text frame. See {@link PowerPoint.TextVerticalAlignment} for details.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ verticalAlignment?: PowerPoint.TextVerticalAlignment | "Top" | "Middle" | "Bottom" | "TopCentered" | "MiddleCentered" | "BottomCentered";
+ /**
+ * Determines whether lines break automatically to fit text inside the shape.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ wordWrap?: boolean;
+ }
+ /** An interface for updating data on the `Shape` object, for use in `shape.set({ ... })`. */
+ export interface ShapeUpdateData {
+ /**
+ * Specifies the height, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative value.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ height?: number;
+ /**
+ * The distance, in points, from the left side of the shape to the left side of the slide.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ left?: number;
+ /**
+ * Specifies the name of this shape.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ name?: string;
+ /**
+ * The distance, in points, from the top edge of the shape to the top edge of the slide.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ top?: number;
+ /**
+ * Specifies the width, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative value.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ width?: number;
+ }
+ /** An interface for updating data on the `ShapeScopedCollection` object, for use in `shapeScopedCollection.set({ ... })`. */
+ export interface ShapeScopedCollectionUpdateData {
+ items?: PowerPoint.Interfaces.ShapeData[];
+ }
+ /** An interface for updating data on the `SlideCollection` object, for use in `slideCollection.set({ ... })`. */
+ export interface SlideCollectionUpdateData {
+ items?: PowerPoint.Interfaces.SlideData[];
+ }
+ /** An interface for updating data on the `SlideScopedCollection` object, for use in `slideScopedCollection.set({ ... })`. */
+ export interface SlideScopedCollectionUpdateData {
+ items?: PowerPoint.Interfaces.SlideData[];
+ }
+ /** An interface for updating data on the `SlideMasterCollection` object, for use in `slideMasterCollection.set({ ... })`. */
+ export interface SlideMasterCollectionUpdateData {
+ items?: PowerPoint.Interfaces.SlideMasterData[];
+ }
+ /** An interface describing the data returned by calling `presentation.toJSON()`. */
+ export interface PresentationData {
+ /**
+ * Gets the ID of the presentation.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ */
+ id?: string;
+ title?: string;
+ }
+ /** An interface describing the data returned by calling `hyperlink.toJSON()`. */
+ export interface HyperlinkData {
+ /**
+ * Specifies the URL target of the hyperlink.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.6]
+ */
+ address?: string;
+ /**
+ * Specifies the string displayed when hovering over the hyperlink.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.6]
+ */
+ screenTip?: string;
+ }
+ /** An interface describing the data returned by calling `hyperlinkCollection.toJSON()`. */
+ export interface HyperlinkCollectionData {
+ items?: PowerPoint.Interfaces.HyperlinkData[];
+ }
+ /** An interface describing the data returned by calling `shapeCollection.toJSON()`. */
+ export interface ShapeCollectionData {
+ items?: PowerPoint.Interfaces.ShapeData[];
+ }
+ /** An interface describing the data returned by calling `slideLayout.toJSON()`. */
+ export interface SlideLayoutData {
+ /**
+ * Gets the unique ID of the slide layout.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ id?: string;
+ /**
+ * Gets the name of the slide layout.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ name?: string;
+ }
+ /** An interface describing the data returned by calling `slideLayoutCollection.toJSON()`. */
+ export interface SlideLayoutCollectionData {
+ items?: PowerPoint.Interfaces.SlideLayoutData[];
+ }
+ /** An interface describing the data returned by calling `slideMaster.toJSON()`. */
+ export interface SlideMasterData {
+ /**
+ * Gets the unique ID of the Slide Master.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ id?: string;
+ /**
+ * Gets the unique name of the Slide Master.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ name?: string;
+ }
+ /** An interface describing the data returned by calling `tag.toJSON()`. */
+ export interface TagData {
+ /**
+ * Gets the unique ID of the tag. The `key` is unique within the owning `TagCollection` and always stored as uppercase letters within the document.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ key?: string;
+ /**
+ * Gets the value of the tag.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ value?: string;
+ }
+ /** An interface describing the data returned by calling `tagCollection.toJSON()`. */
+ export interface TagCollectionData {
+ items?: PowerPoint.Interfaces.TagData[];
+ }
+ /** An interface describing the data returned by calling `slide.toJSON()`. */
+ export interface SlideData {
+ /**
+ * Gets the unique ID of the slide.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.2]
+ */
+ id?: string;
+ }
+ /** An interface describing the data returned by calling `shapeFill.toJSON()`. */
+ export interface ShapeFillData {
+ /**
+ * Represents the shape fill foreground color in HTML color format, in the form #RRGGBB (e.g., "FFA500") or as a named HTML color (e.g., "orange").
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ foregroundColor?: string;
+ /**
+ * Specifies the transparency percentage of the fill as a value from 0.0 (opaque) through 1.0 (clear). Returns `null` if the shape type does not support transparency or the shape fill has inconsistent transparency, such as with a gradient fill type.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ transparency?: number;
+ /**
+ * Returns the fill type of the shape. See {@link PowerPoint.ShapeFillType} for details.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ type?: PowerPoint.ShapeFillType | "NoFill" | "Solid" | "Gradient" | "Pattern" | "PictureAndTexture" | "SlideBackground";
+ }
+ /** An interface describing the data returned by calling `shapeLineFormat.toJSON()`. */
+ export interface ShapeLineFormatData {
+ /**
+ * Represents the line color in HTML color format, in the form #RRGGBB (e.g., "FFA500") or as a named HTML color (e.g., "orange").
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ color?: string;
+ /**
+ * Represents the dash style of the line. Returns null when the line is not visible or there are inconsistent dash styles. See PowerPoint.ShapeLineDashStyle for details.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ dashStyle?: PowerPoint.ShapeLineDashStyle | "Dash" | "DashDot" | "DashDotDot" | "LongDash" | "LongDashDot" | "RoundDot" | "Solid" | "SquareDot" | "LongDashDotDot" | "SystemDash" | "SystemDot" | "SystemDashDot";
+ /**
+ * Represents the line style of the shape. Returns null when the line is not visible or there are inconsistent styles. See PowerPoint.ShapeLineStyle for details.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ style?: PowerPoint.ShapeLineStyle | "Single" | "ThickBetweenThin" | "ThickThin" | "ThinThick" | "ThinThin";
+ /**
+ * Specifies the transparency percentage of the line as a value from 0.0 (opaque) through 1.0 (clear). Returns null when the shape has inconsistent transparencies.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ transparency?: number;
+ /**
+ * Specifies if the line formatting of a shape element is visible. Returns `null` when the shape has inconsistent visibilities.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ visible?: boolean;
+ /**
+ * Represents the weight of the line, in points. Returns `null` when the line is not visible or there are inconsistent line weights.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ weight?: number;
+ }
+ /** An interface describing the data returned by calling `bulletFormat.toJSON()`. */
+ export interface BulletFormatData {
+ /**
+ * Specifies if the bullets in the paragraph are visible. Returns 'null' if the 'TextRange' includes text fragments with different bullet visibility values.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ visible?: boolean;
+ }
+ /** An interface describing the data returned by calling `paragraphFormat.toJSON()`. */
+ export interface ParagraphFormatData {
+ /**
+ * Represents the horizontal alignment of the paragraph. Returns 'null' if the 'TextRange' includes text fragments with different horizontal alignment values. See {@link PowerPoint.ParagraphHorizontalAlignment} for details.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ horizontalAlignment?: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed";
+ }
+ /** An interface describing the data returned by calling `shapeFont.toJSON()`. */
+ export interface ShapeFontData {
+ /**
+ * Represents the bold status of font. Returns `null` if the `TextRange` includes both bold and non-bold text fragments.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ bold?: boolean;
+ /**
+ * HTML color code representation of the text color (e.g., "#FF0000" represents red). Returns `null` if the `TextRange` includes text fragments with different colors.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ color?: string;
+ /**
+ * Represents the italic status of font. Returns 'null' if the 'TextRange' includes both italic and non-italic text fragments.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ italic?: boolean;
+ /**
+ * Represents font name (e.g., "Calibri"). If the text is a Complex Script or East Asian language, this is the corresponding font name; otherwise it is the Latin font name.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ name?: string;
+ /**
+ * Represents font size in points (e.g., 11). Returns null if the TextRange includes text fragments with different font sizes.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ size?: number;
+ /**
+ * Type of underline applied to the font. Returns `null` if the `TextRange` includes text fragments with different underline styles. See {@link PowerPoint.ShapeFontUnderlineStyle} for details.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ underline?: PowerPoint.ShapeFontUnderlineStyle | "None" | "Single" | "Double" | "Heavy" | "Dotted" | "DottedHeavy" | "Dash" | "DashHeavy" | "DashLong" | "DashLongHeavy" | "DotDash" | "DotDashHeavy" | "DotDotDash" | "DotDotDashHeavy" | "Wavy" | "WavyHeavy" | "WavyDouble";
+ }
+ /** An interface describing the data returned by calling `textRange.toJSON()`. */
+ export interface TextRangeData {
+ /**
+ * Gets or sets the length of the range that this `TextRange` represents.
+ Throws an `InvalidArgument` exception when set with a negative value or if the value is greater than the length of the available text from the starting point.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ */
+ length?: number;
+ /**
+ * Gets or sets zero-based index, relative to the parent text frame, for the starting position of the range that this `TextRange` represents.
+ Throws an `InvalidArgument` exception when set with a negative value or if the value is greater than the length of the text.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ */
+ start?: number;
+ /**
+ * Represents the plain text content of the text range.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ text?: string;
+ }
+ /** An interface describing the data returned by calling `textFrame.toJSON()`. */
+ export interface TextFrameData {
+ /**
+ * The automatic sizing settings for the text frame. A text frame can be set to automatically fit the text to the text frame, to automatically fit the text frame to the text, or not perform any automatic sizing.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ autoSizeSetting?: PowerPoint.ShapeAutoSize | "AutoSizeNone" | "AutoSizeTextToFitShape" | "AutoSizeShapeToFitText" | "AutoSizeMixed";
+ /**
+ * Represents the bottom margin, in points, of the text frame.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ bottomMargin?: number;
+ /**
+ * Specifies if the text frame contains text.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ hasText?: boolean;
+ /**
+ * Represents the left margin, in points, of the text frame.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ leftMargin?: number;
+ /**
+ * Represents the right margin, in points, of the text frame.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ rightMargin?: number;
+ /**
+ * Represents the top margin, in points, of the text frame.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ topMargin?: number;
+ /**
+ * Represents the vertical alignment of the text frame. See {@link PowerPoint.TextVerticalAlignment} for details.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ verticalAlignment?: PowerPoint.TextVerticalAlignment | "Top" | "Middle" | "Bottom" | "TopCentered" | "MiddleCentered" | "BottomCentered";
+ /**
+ * Determines whether lines break automatically to fit text inside the shape.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ wordWrap?: boolean;
+ }
+ /** An interface describing the data returned by calling `shape.toJSON()`. */
+ export interface ShapeData {
+ /**
+ * Specifies the height, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative value.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ height?: number;
+ /**
+ * Gets the unique ID of the shape.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ id?: string;
+ /**
+ * The distance, in points, from the left side of the shape to the left side of the slide.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ left?: number;
+ /**
+ * Specifies the name of this shape.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ name?: string;
+ /**
+ * The distance, in points, from the top edge of the shape to the top edge of the slide.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ top?: number;
+ /**
+ * Returns the type of this shape. See {@link PowerPoint.ShapeType} for details.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ type?: PowerPoint.ShapeType | "Unsupported" | "Image" | "GeometricShape" | "Group" | "Line" | "Table";
+ /**
+ * Specifies the width, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative value.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ width?: number;
+ }
+ /** An interface describing the data returned by calling `shapeScopedCollection.toJSON()`. */
+ export interface ShapeScopedCollectionData {
+ items?: PowerPoint.Interfaces.ShapeData[];
+ }
+ /** An interface describing the data returned by calling `slideCollection.toJSON()`. */
+ export interface SlideCollectionData {
+ items?: PowerPoint.Interfaces.SlideData[];
+ }
+ /** An interface describing the data returned by calling `slideScopedCollection.toJSON()`. */
+ export interface SlideScopedCollectionData {
+ items?: PowerPoint.Interfaces.SlideData[];
+ }
+ /** An interface describing the data returned by calling `slideMasterCollection.toJSON()`. */
+ export interface SlideMasterCollectionData {
+ items?: PowerPoint.Interfaces.SlideMasterData[];
+ }
+ /**
+ * @remarks
+ * [Api set: PowerPointApi 1.0]
+ */
+ export interface PresentationLoadOptions {
+ /**
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
+ */
+ $all?: boolean;
+ /**
+ * Gets the ID of the presentation.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ */
+ id?: boolean;
+ title?: boolean;
+ }
+ /**
+ * Represents a single hyperlink.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.6]
+ */
+ export interface HyperlinkLoadOptions {
+ /**
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
+ */
+ $all?: boolean;
+ /**
+ * Specifies the URL target of the hyperlink.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.6]
+ */
+ address?: boolean;
+ /**
+ * Specifies the string displayed when hovering over the hyperlink.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.6]
+ */
+ screenTip?: boolean;
+ }
+ /**
+ * Represents a collection of hyperlinks.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.6]
+ */
+ export interface HyperlinkCollectionLoadOptions {
+ /**
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
+ */
+ $all?: boolean;
+ /**
+ * For EACH ITEM in the collection: Specifies the URL target of the hyperlink.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.6]
+ */
+ address?: boolean;
+ /**
+ * For EACH ITEM in the collection: Specifies the string displayed when hovering over the hyperlink.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.6]
+ */
+ screenTip?: boolean;
+ }
+ /**
+ * Represents the collection of shapes.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ export interface ShapeCollectionLoadOptions {
+ /**
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
+ */
+ $all?: boolean;
+ /**
+ * For EACH ITEM in the collection: Returns the fill formatting of this shape.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ fill?: PowerPoint.Interfaces.ShapeFillLoadOptions;
+ /**
+ * For EACH ITEM in the collection: Returns the line formatting of this shape.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ lineFormat?: PowerPoint.Interfaces.ShapeLineFormatLoadOptions;
+ /**
+ * For EACH ITEM in the collection: Returns the text frame object of this shape.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ textFrame?: PowerPoint.Interfaces.TextFrameLoadOptions;
+ /**
+ * For EACH ITEM in the collection: Specifies the height, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative value.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ height?: boolean;
+ /**
+ * For EACH ITEM in the collection: Gets the unique ID of the shape.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ id?: boolean;
+ /**
+ * For EACH ITEM in the collection: The distance, in points, from the left side of the shape to the left side of the slide.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ left?: boolean;
+ /**
+ * For EACH ITEM in the collection: Specifies the name of this shape.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ name?: boolean;
+ /**
+ * For EACH ITEM in the collection: The distance, in points, from the top edge of the shape to the top edge of the slide.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ top?: boolean;
+ /**
+ * For EACH ITEM in the collection: Returns the type of this shape. See {@link PowerPoint.ShapeType} for details.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ type?: boolean;
+ /**
+ * For EACH ITEM in the collection: Specifies the width, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative value.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ width?: boolean;
+ }
+ /**
+ * Represents the layout of a slide.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ export interface SlideLayoutLoadOptions {
+ /**
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
+ */
+ $all?: boolean;
+ /**
+ * Gets the unique ID of the slide layout.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ id?: boolean;
+ /**
+ * Gets the name of the slide layout.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ name?: boolean;
+ }
+ /**
+ * Represents the collection of layouts provided by the Slide Master for slides.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ export interface SlideLayoutCollectionLoadOptions {
+ /**
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
+ */
+ $all?: boolean;
+ /**
+ * For EACH ITEM in the collection: Gets the unique ID of the slide layout.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ id?: boolean;
+ /**
+ * For EACH ITEM in the collection: Gets the name of the slide layout.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ name?: boolean;
+ }
+ /**
+ * Represents the Slide Master of a slide.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ export interface SlideMasterLoadOptions {
+ /**
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
+ */
+ $all?: boolean;
+ /**
+ * Gets the unique ID of the Slide Master.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ id?: boolean;
+ /**
+ * Gets the unique name of the Slide Master.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ name?: boolean;
+ }
+ /**
+ * Represents a single tag in the slide.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ export interface TagLoadOptions {
+ /**
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
+ */
+ $all?: boolean;
+ /**
+ * Gets the unique ID of the tag. The `key` is unique within the owning `TagCollection` and always stored as uppercase letters within the document.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ key?: boolean;
+ /**
+ * Gets the value of the tag.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ value?: boolean;
+ }
+ /**
+ * Represents the collection of tags.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ export interface TagCollectionLoadOptions {
+ /**
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
+ */
+ $all?: boolean;
+ /**
+ * For EACH ITEM in the collection: Gets the unique ID of the tag. The `key` is unique within the owning `TagCollection` and always stored as uppercase letters within the document.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ key?: boolean;
+ /**
+ * For EACH ITEM in the collection: Gets the value of the tag.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ value?: boolean;
+ }
+ /**
+ * Represents a single slide of a presentation.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.2]
+ */
+ export interface SlideLoadOptions {
+ /**
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
+ */
+ $all?: boolean;
+ /**
+ * Gets the layout of the slide.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ layout?: PowerPoint.Interfaces.SlideLayoutLoadOptions;
+ /**
+ * Gets the `SlideMaster` object that represents the slide's default content.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ slideMaster?: PowerPoint.Interfaces.SlideMasterLoadOptions;
+ /**
+ * Gets the unique ID of the slide.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.2]
+ */
+ id?: boolean;
+ }
+ /**
+ * Represents the fill formatting of a shape object.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ export interface ShapeFillLoadOptions {
+ /**
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
+ */
+ $all?: boolean;
+ /**
+ * Represents the shape fill foreground color in HTML color format, in the form #RRGGBB (e.g., "FFA500") or as a named HTML color (e.g., "orange").
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ foregroundColor?: boolean;
+ /**
+ * Specifies the transparency percentage of the fill as a value from 0.0 (opaque) through 1.0 (clear). Returns `null` if the shape type does not support transparency or the shape fill has inconsistent transparency, such as with a gradient fill type.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ transparency?: boolean;
+ /**
+ * Returns the fill type of the shape. See {@link PowerPoint.ShapeFillType} for details.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ type?: boolean;
+ }
+ /**
+ * Represents the line formatting for the shape object. For images and geometric shapes, line formatting represents the border of the shape.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ export interface ShapeLineFormatLoadOptions {
+ /**
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
+ */
+ $all?: boolean;
+ /**
+ * Represents the line color in HTML color format, in the form #RRGGBB (e.g., "FFA500") or as a named HTML color (e.g., "orange").
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ color?: boolean;
+ /**
+ * Represents the dash style of the line. Returns null when the line is not visible or there are inconsistent dash styles. See PowerPoint.ShapeLineDashStyle for details.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ dashStyle?: boolean;
+ /**
+ * Represents the line style of the shape. Returns null when the line is not visible or there are inconsistent styles. See PowerPoint.ShapeLineStyle for details.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ style?: boolean;
+ /**
+ * Specifies the transparency percentage of the line as a value from 0.0 (opaque) through 1.0 (clear). Returns null when the shape has inconsistent transparencies.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ transparency?: boolean;
+ /**
+ * Specifies if the line formatting of a shape element is visible. Returns `null` when the shape has inconsistent visibilities.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ visible?: boolean;
+ /**
+ * Represents the weight of the line, in points. Returns `null` when the line is not visible or there are inconsistent line weights.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ weight?: boolean;
+ }
+ /**
+ * Represents the bullet formatting properties of a text that is attached to the {@link PowerPoint.ParagraphFormat}.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ export interface BulletFormatLoadOptions {
+ /**
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
+ */
+ $all?: boolean;
+ /**
+ * Specifies if the bullets in the paragraph are visible. Returns 'null' if the 'TextRange' includes text fragments with different bullet visibility values.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ visible?: boolean;
+ }
+ /**
+ * Represents the paragraph formatting properties of a text that is attached to the {@link PowerPoint.TextRange}.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ export interface ParagraphFormatLoadOptions {
+ /**
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
+ */
+ $all?: boolean;
+ /**
+ * Represents the bullet format of the paragraph. See {@link PowerPoint.BulletFormat} for details.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ bulletFormat?: PowerPoint.Interfaces.BulletFormatLoadOptions;
+ /**
+ * Represents the horizontal alignment of the paragraph. Returns 'null' if the 'TextRange' includes text fragments with different horizontal alignment values. See {@link PowerPoint.ParagraphHorizontalAlignment} for details.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ horizontalAlignment?: boolean;
+ }
+ /**
+ * Represents the font attributes, such as font name, font size, and color, for a shape's TextRange object.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ export interface ShapeFontLoadOptions {
+ /**
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
+ */
+ $all?: boolean;
+ /**
+ * Represents the bold status of font. Returns `null` if the `TextRange` includes both bold and non-bold text fragments.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ bold?: boolean;
+ /**
+ * HTML color code representation of the text color (e.g., "#FF0000" represents red). Returns `null` if the `TextRange` includes text fragments with different colors.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ color?: boolean;
+ /**
+ * Represents the italic status of font. Returns 'null' if the 'TextRange' includes both italic and non-italic text fragments.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ italic?: boolean;
+ /**
+ * Represents font name (e.g., "Calibri"). If the text is a Complex Script or East Asian language, this is the corresponding font name; otherwise it is the Latin font name.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ name?: boolean;
+ /**
+ * Represents font size in points (e.g., 11). Returns null if the TextRange includes text fragments with different font sizes.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ size?: boolean;
+ /**
+ * Type of underline applied to the font. Returns `null` if the `TextRange` includes text fragments with different underline styles. See {@link PowerPoint.ShapeFontUnderlineStyle} for details.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ underline?: boolean;
+ }
+ /**
+ * Contains the text that is attached to a shape, in addition to properties and methods for manipulating the text.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ export interface TextRangeLoadOptions {
+ /**
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
+ */
+ $all?: boolean;
+ /**
+ * Returns a `ShapeFont` object that represents the font attributes for the text range.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ font?: PowerPoint.Interfaces.ShapeFontLoadOptions;
+ /**
+ * Represents the paragraph format of the text range. See {@link PowerPoint.ParagraphFormat} for details.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ paragraphFormat?: PowerPoint.Interfaces.ParagraphFormatLoadOptions;
+ /**
+ * Gets or sets the length of the range that this `TextRange` represents.
+ Throws an `InvalidArgument` exception when set with a negative value or if the value is greater than the length of the available text from the starting point.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ */
+ length?: boolean;
+ /**
+ * Gets or sets zero-based index, relative to the parent text frame, for the starting position of the range that this `TextRange` represents.
+ Throws an `InvalidArgument` exception when set with a negative value or if the value is greater than the length of the text.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ */
+ start?: boolean;
+ /**
+ * Represents the plain text content of the text range.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ text?: boolean;
+ }
+ /**
+ * Represents the text frame of a shape object.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ export interface TextFrameLoadOptions {
+ /**
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
+ */
+ $all?: boolean;
+ /**
+ * Represents the text that is attached to a shape in the text frame, and properties and methods for manipulating the text. See {@link PowerPoint.TextRange} for details.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ textRange?: PowerPoint.Interfaces.TextRangeLoadOptions;
+ /**
+ * The automatic sizing settings for the text frame. A text frame can be set to automatically fit the text to the text frame, to automatically fit the text frame to the text, or not perform any automatic sizing.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ autoSizeSetting?: boolean;
+ /**
+ * Represents the bottom margin, in points, of the text frame.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ bottomMargin?: boolean;
+ /**
+ * Specifies if the text frame contains text.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ hasText?: boolean;
+ /**
+ * Represents the left margin, in points, of the text frame.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ leftMargin?: boolean;
+ /**
+ * Represents the right margin, in points, of the text frame.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ rightMargin?: boolean;
+ /**
+ * Represents the top margin, in points, of the text frame.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ topMargin?: boolean;
+ /**
+ * Represents the vertical alignment of the text frame. See {@link PowerPoint.TextVerticalAlignment} for details.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ verticalAlignment?: boolean;
+ /**
+ * Determines whether lines break automatically to fit text inside the shape.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ wordWrap?: boolean;
+ }
+ /**
+ * Represents a single shape in the slide.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ export interface ShapeLoadOptions {
+ /**
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
+ */
+ $all?: boolean;
+ /**
+ * Returns the fill formatting of this shape.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ fill?: PowerPoint.Interfaces.ShapeFillLoadOptions;
+ /**
+ * Returns the line formatting of this shape.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ lineFormat?: PowerPoint.Interfaces.ShapeLineFormatLoadOptions;
+ /**
+ * Returns the text frame object of this shape.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ textFrame?: PowerPoint.Interfaces.TextFrameLoadOptions;
+ /**
+ * Specifies the height, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative value.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ height?: boolean;
+ /**
+ * Gets the unique ID of the shape.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ id?: boolean;
+ /**
+ * The distance, in points, from the left side of the shape to the left side of the slide.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ left?: boolean;
+ /**
+ * Specifies the name of this shape.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ name?: boolean;
+ /**
+ * The distance, in points, from the top edge of the shape to the top edge of the slide.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ top?: boolean;
+ /**
+ * Returns the type of this shape. See {@link PowerPoint.ShapeType} for details.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ type?: boolean;
+ /**
+ * Specifies the width, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative value.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ width?: boolean;
+ }
+ /**
+ * Represents a collection of shapes.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ */
+ export interface ShapeScopedCollectionLoadOptions {
+ /**
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
+ */
+ $all?: boolean;
+ /**
+ * For EACH ITEM in the collection: Returns the fill formatting of this shape.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ */
+ fill?: PowerPoint.Interfaces.ShapeFillLoadOptions;
+ /**
+ * For EACH ITEM in the collection: Returns the line formatting of this shape.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ */
+ lineFormat?: PowerPoint.Interfaces.ShapeLineFormatLoadOptions;
+ /**
+ * For EACH ITEM in the collection: Returns the text frame object of this shape.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ */
+ textFrame?: PowerPoint.Interfaces.TextFrameLoadOptions;
+ /**
+ * For EACH ITEM in the collection: Specifies the height, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative value.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ height?: boolean;
+ /**
+ * For EACH ITEM in the collection: Gets the unique ID of the shape.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ id?: boolean;
+ /**
+ * For EACH ITEM in the collection: The distance, in points, from the left side of the shape to the left side of the slide.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ left?: boolean;
+ /**
+ * For EACH ITEM in the collection: Specifies the name of this shape.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ name?: boolean;
+ /**
+ * For EACH ITEM in the collection: The distance, in points, from the top edge of the shape to the top edge of the slide.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ top?: boolean;
+ /**
+ * For EACH ITEM in the collection: Returns the type of this shape. See {@link PowerPoint.ShapeType} for details.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ type?: boolean;
+ /**
+ * For EACH ITEM in the collection: Specifies the width, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative value.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.4]
+ */
+ width?: boolean;
+ }
+ /**
+ * Represents the collection of slides in the presentation.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.2]
+ */
+ export interface SlideCollectionLoadOptions {
+ /**
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
+ */
+ $all?: boolean;
+ /**
+ * For EACH ITEM in the collection: Gets the layout of the slide.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ layout?: PowerPoint.Interfaces.SlideLayoutLoadOptions;
+ /**
+ * For EACH ITEM in the collection: Gets the `SlideMaster` object that represents the slide's default content.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ slideMaster?: PowerPoint.Interfaces.SlideMasterLoadOptions;
+ /**
+ * For EACH ITEM in the collection: Gets the unique ID of the slide.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.2]
+ */
+ id?: boolean;
+ }
+ /**
+ * Represents a collection of slides in the presentation.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ */
+ export interface SlideScopedCollectionLoadOptions {
+ /**
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
+ */
+ $all?: boolean;
+ /**
+ * For EACH ITEM in the collection: Gets the layout of the slide.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ */
+ layout?: PowerPoint.Interfaces.SlideLayoutLoadOptions;
+ /**
+ * For EACH ITEM in the collection: Gets the `SlideMaster` object that represents the slide's default content.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.5]
+ */
+ slideMaster?: PowerPoint.Interfaces.SlideMasterLoadOptions;
+ /**
+ * For EACH ITEM in the collection: Gets the unique ID of the slide.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.2]
+ */
+ id?: boolean;
+ }
+ /**
+ * Represents the collection of Slide Masters in the presentation.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ export interface SlideMasterCollectionLoadOptions {
+ /**
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
+ */
+ $all?: boolean;
+ /**
+ * For EACH ITEM in the collection: Gets the unique ID of the Slide Master.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ id?: boolean;
+ /**
+ * For EACH ITEM in the collection: Gets the unique name of the Slide Master.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.3]
+ */
+ name?: boolean;
+ }
+ }
+}
+export declare namespace PowerPoint {
+ /**
+ * The RequestContext object facilitates requests to the PowerPoint application. Since the Office add-in and the PowerPoint application run in two different processes, the request context is required to get access to the PowerPoint object model from the add-in.
+ */
+ export class RequestContext extends OfficeExtension.ClientRequestContext {
+ constructor(url?: string);
+ readonly presentation: Presentation;
+ readonly application: Application;
+ }
+ /**
+ * Executes a batch script that performs actions on the PowerPoint object model, using a new RequestContext. When the promise is resolved, any tracked objects that were automatically allocated during execution will be released.
+ * @param batch - A function that takes in a RequestContext and returns a promise (typically, just the result of "context.sync()"). The context parameter facilitates requests to the PowerPoint application. Since the Office add-in and the PowerPoint application run in two different processes, the RequestContext is required to get access to the PowerPoint object model from the add-in.
+ */
+ export function run(batch: (context: PowerPoint.RequestContext) => OfficeExtension.IPromise): OfficeExtension.IPromise;
+ /**
+ * Executes a batch script that performs actions on the PowerPoint object model, using the RequestContext of a previously-created API object. When the promise is resolved, any tracked objects that were automatically allocated during execution will be released.
+ * @param object - A previously-created API object. The batch will use the same RequestContext as the passed-in object, which means that any changes applied to the object will be picked up by "context.sync()".
+ * @param batch - A function that takes in a RequestContext and returns a promise (typically, just the result of "context.sync()"). The context parameter facilitates requests to the PowerPoint application. Since the Office add-in and the PowerPoint application run in two different processes, the RequestContext is required to get access to the PowerPoint object model from the add-in.
+ */
+ export function run(object: OfficeExtension.ClientObject, batch: (context: PowerPoint.RequestContext) => OfficeExtension.IPromise): OfficeExtension.IPromise;
+ /**
+ * Executes a batch script that performs actions on the PowerPoint object model, using the RequestContext of previously-created API objects.
+ * @param objects - An array of previously-created API objects. The array will be validated to make sure that all of the objects share the same context. The batch will use this shared RequestContext, which means that any changes applied to these objects will be picked up by "context.sync()".
+ * @param batch - A function that takes in a RequestContext and returns a promise (typically, just the result of "context.sync()"). The context parameter facilitates requests to the PowerPoint application. Since the Office add-in and the PowerPoint application run in two different processes, the RequestContext is required to get access to the PowerPoint object model from the add-in.
+ */
+ export function run(objects: OfficeExtension.ClientObject[], batch: (context: PowerPoint.RequestContext) => OfficeExtension.IPromise): OfficeExtension.IPromise;
+}
+export declare namespace PowerPoint {
+ /**
+ * Creates and opens a new presentation. Optionally, the presentation can be pre-populated with a Base64-encoded .pptx file.
+ *
+ * [Api set: PowerPointApi 1.1]
+ *
+ * @param base64File - Optional. The Base64-encoded .pptx file. The default value is null.
+ */
+ export function createPresentation(base64File?: string): Promise;
+}
+
+
+////////////////////////////////////////////////////////////////
+///////////////////// End PowerPoint APIs //////////////////////
+////////////////////////////////////////////////////////////////
\ No newline at end of file
diff --git a/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_6/tsconfig.json b/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_6/tsconfig.json
new file mode 100644
index 000000000..c8d2a749f
--- /dev/null
+++ b/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_6/tsconfig.json
@@ -0,0 +1,22 @@
+{
+ "compilerOptions": {
+ "target": "es6",
+ "forceConsistentCasingInFileNames": true,
+ "module": "commonjs",
+ "declaration": true,
+ "sourceMap": true,
+ "experimentalDecorators": true,
+ "types": [
+ "node"
+ ],
+ "lib": [
+ "es5",
+ "scripthost",
+ "es2015.collection",
+ "es2015.promise",
+ "es2015.iterable",
+ "dom"
+ ]
+ },
+ "include": [ "powerpoint.d.ts" ]
+}
diff --git a/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_6/tsdoc-metadata.json b/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_6/tsdoc-metadata.json
new file mode 100644
index 000000000..03ce23190
--- /dev/null
+++ b/generate-docs/api-extractor-inputs-powerpoint-release/PowerPoint_1_6/tsdoc-metadata.json
@@ -0,0 +1,11 @@
+// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
+// It should be published with your NPM package. It should not be tracked by Git.
+{
+ "tsdocVersion": "0.12",
+ "toolPackages": [
+ {
+ "packageName": "@microsoft/api-extractor",
+ "packageVersion": "7.43.0"
+ }
+ ]
+}
diff --git a/generate-docs/api-extractor-inputs-powerpoint/powerpoint.d.ts b/generate-docs/api-extractor-inputs-powerpoint/powerpoint.d.ts
index 7ada9e300..fe572c5ee 100644
--- a/generate-docs/api-extractor-inputs-powerpoint/powerpoint.d.ts
+++ b/generate-docs/api-extractor-inputs-powerpoint/powerpoint.d.ts
@@ -439,8 +439,7 @@ export declare namespace PowerPoint {
* Represents a single hyperlink.
*
* @remarks
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
- * @beta
+ * [Api set: PowerPointApi 1.6]
*/
export class Hyperlink extends OfficeExtension.ClientObject {
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
@@ -449,16 +448,14 @@ export declare namespace PowerPoint {
* Specifies the URL target of the hyperlink.
*
* @remarks
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
- * @beta
+ * [Api set: PowerPointApi 1.6]
*/
address: string;
/**
* Specifies the string displayed when hovering over the hyperlink.
*
* @remarks
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
- * @beta
+ * [Api set: PowerPointApi 1.6]
*/
screenTip: string;
/**
@@ -492,8 +489,7 @@ export declare namespace PowerPoint {
* Represents a collection of hyperlinks.
*
* @remarks
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
- * @beta
+ * [Api set: PowerPointApi 1.6]
*/
export class HyperlinkCollection extends OfficeExtension.ClientObject {
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
@@ -504,8 +500,7 @@ export declare namespace PowerPoint {
* Gets the number of hyperlinks in the collection.
*
* @remarks
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
- * @beta
+ * [Api set: PowerPointApi 1.6]
* @returns The number of hyperlinks in the collection.
*/
getCount(): OfficeExtension.ClientResult;
@@ -513,8 +508,7 @@ export declare namespace PowerPoint {
* Gets a hyperlink using its zero-based index in the collection. An error is thrown if the index is out of range.
*
* @remarks
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
- * @beta
+ * [Api set: PowerPointApi 1.6]
*
* @param index - The index of the hyperlink in the collection.
* @returns The hyperlink at the given index. An error is thrown if index is out of range.
@@ -2495,8 +2489,7 @@ export declare namespace PowerPoint {
* Returns a collection of hyperlinks in the slide.
*
* @remarks
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
- * @beta
+ * [Api set: PowerPointApi 1.6]
*/
readonly hyperlinks: PowerPoint.HyperlinkCollection;
/**
@@ -4181,16 +4174,14 @@ export declare namespace PowerPoint {
* Specifies the URL target of the hyperlink.
*
* @remarks
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
- * @beta
+ * [Api set: PowerPointApi 1.6]
*/
address?: string;
/**
* Specifies the string displayed when hovering over the hyperlink.
*
* @remarks
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
- * @beta
+ * [Api set: PowerPointApi 1.6]
*/
screenTip?: string;
}
@@ -4614,16 +4605,14 @@ export declare namespace PowerPoint {
* Specifies the URL target of the hyperlink.
*
* @remarks
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
- * @beta
+ * [Api set: PowerPointApi 1.6]
*/
address?: string;
/**
* Specifies the string displayed when hovering over the hyperlink.
*
* @remarks
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
- * @beta
+ * [Api set: PowerPointApi 1.6]
*/
screenTip?: string;
}
@@ -5233,8 +5222,7 @@ export declare namespace PowerPoint {
* Represents a single hyperlink.
*
* @remarks
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
- * @beta
+ * [Api set: PowerPointApi 1.6]
*/
export interface HyperlinkLoadOptions {
/**
@@ -5245,16 +5233,14 @@ export declare namespace PowerPoint {
* Specifies the URL target of the hyperlink.
*
* @remarks
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
- * @beta
+ * [Api set: PowerPointApi 1.6]
*/
address?: boolean;
/**
* Specifies the string displayed when hovering over the hyperlink.
*
* @remarks
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
- * @beta
+ * [Api set: PowerPointApi 1.6]
*/
screenTip?: boolean;
}
@@ -5262,8 +5248,7 @@ export declare namespace PowerPoint {
* Represents a collection of hyperlinks.
*
* @remarks
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
- * @beta
+ * [Api set: PowerPointApi 1.6]
*/
export interface HyperlinkCollectionLoadOptions {
/**
@@ -5274,16 +5259,14 @@ export declare namespace PowerPoint {
* For EACH ITEM in the collection: Specifies the URL target of the hyperlink.
*
* @remarks
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
- * @beta
+ * [Api set: PowerPointApi 1.6]
*/
address?: boolean;
/**
* For EACH ITEM in the collection: Specifies the string displayed when hovering over the hyperlink.
*
* @remarks
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
- * @beta
+ * [Api set: PowerPointApi 1.6]
*/
screenTip?: boolean;
}
diff --git a/generate-docs/script-inputs/office.d.ts b/generate-docs/script-inputs/office.d.ts
index 20f0ab91a..09097233f 100644
--- a/generate-docs/script-inputs/office.d.ts
+++ b/generate-docs/script-inputs/office.d.ts
@@ -116890,6 +116890,109 @@ declare namespace PowerPoint {
*/
slideMasterId?: string;
}
+ /**
+ * Represents a single hyperlink.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.6]
+ */
+ class Hyperlink extends OfficeExtension.ClientObject {
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
+ context: RequestContext;
+ /**
+ * Specifies the URL target of the hyperlink.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.6]
+ */
+ address: string;
+ /**
+ * Specifies the string displayed when hovering over the hyperlink.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.6]
+ */
+ screenTip: string;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param options Provides options for which properties of the object to load.
+ */
+ load(options?: PowerPoint.Interfaces.HyperlinkLoadOptions): PowerPoint.Hyperlink;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
+ */
+ load(propertyNames?: string | string[]): PowerPoint.Hyperlink;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNamesAndPaths `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ */
+ load(propertyNamesAndPaths?: {
+ select?: string;
+ expand?: string;
+ }): PowerPoint.Hyperlink;
+ /**
+ * Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
+ * Whereas the original `PowerPoint.Hyperlink` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.HyperlinkData`) that contains shallow copies of any loaded child properties from the original object.
+ */
+ toJSON(): PowerPoint.Interfaces.HyperlinkData;
+ }
+ /**
+ * Represents a collection of hyperlinks.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.6]
+ */
+ class HyperlinkCollection extends OfficeExtension.ClientObject {
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
+ context: RequestContext;
+ /** Gets the loaded child items in this collection. */
+ readonly items: PowerPoint.Hyperlink[];
+ /**
+ * Gets the number of hyperlinks in the collection.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.6]
+ * @returns The number of hyperlinks in the collection.
+ */
+ getCount(): OfficeExtension.ClientResult;
+ /**
+ * Gets a hyperlink using its zero-based index in the collection. An error is thrown if the index is out of range.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.6]
+ *
+ * @param index The index of the hyperlink in the collection.
+ * @returns The hyperlink at the given index. An error is thrown if index is out of range.
+ */
+ getItemAt(index: number): PowerPoint.Hyperlink;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param options Provides options for which properties of the object to load.
+ */
+ load(options?: PowerPoint.Interfaces.HyperlinkCollectionLoadOptions & PowerPoint.Interfaces.CollectionLoadOptions): PowerPoint.HyperlinkCollection;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
+ */
+ load(propertyNames?: string | string[]): PowerPoint.HyperlinkCollection;
+ /**
+ * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
+ *
+ * @param propertyNamesAndPaths `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
+ */
+ load(propertyNamesAndPaths?: OfficeExtension.LoadOption): PowerPoint.HyperlinkCollection;
+ /**
+ * Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
+ * Whereas the original `PowerPoint.HyperlinkCollection` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.HyperlinkCollectionData`) that contains an "items" array with shallow copies of any loaded properties from the collection's items.
+ */
+ toJSON(): PowerPoint.Interfaces.HyperlinkCollectionData;
+ }
/**
* Specifies the connector type for line shapes.
*
@@ -118788,6 +118891,13 @@ declare namespace PowerPoint {
class Slide extends OfficeExtension.ClientObject {
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
context: RequestContext;
+ /**
+ * Returns a collection of hyperlinks in the slide.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.6]
+ */
+ readonly hyperlinks: PowerPoint.HyperlinkCollection;
/**
* Gets the layout of the slide.
*
@@ -120097,6 +120207,27 @@ declare namespace PowerPoint {
*/
$skip?: number;
}
+ /** An interface for updating data on the `Hyperlink` object, for use in `hyperlink.set({ ... })`. */
+ interface HyperlinkUpdateData {
+ /**
+ * Specifies the URL target of the hyperlink.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.6]
+ */
+ address?: string;
+ /**
+ * Specifies the string displayed when hovering over the hyperlink.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.6]
+ */
+ screenTip?: string;
+ }
+ /** An interface for updating data on the `HyperlinkCollection` object, for use in `hyperlinkCollection.set({ ... })`. */
+ interface HyperlinkCollectionUpdateData {
+ items?: PowerPoint.Interfaces.HyperlinkData[];
+ }
/** An interface for updating data on the `ShapeCollection` object, for use in `shapeCollection.set({ ... })`. */
interface ShapeCollectionUpdateData {
items?: PowerPoint.Interfaces.ShapeData[];
@@ -120389,6 +120520,27 @@ declare namespace PowerPoint {
id?: string;
title?: string;
}
+ /** An interface describing the data returned by calling `hyperlink.toJSON()`. */
+ interface HyperlinkData {
+ /**
+ * Specifies the URL target of the hyperlink.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.6]
+ */
+ address?: string;
+ /**
+ * Specifies the string displayed when hovering over the hyperlink.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.6]
+ */
+ screenTip?: string;
+ }
+ /** An interface describing the data returned by calling `hyperlinkCollection.toJSON()`. */
+ interface HyperlinkCollectionData {
+ items?: PowerPoint.Interfaces.HyperlinkData[];
+ }
/** An interface describing the data returned by calling `shapeCollection.toJSON()`. */
interface ShapeCollectionData {
items?: PowerPoint.Interfaces.ShapeData[];
@@ -120767,6 +120919,58 @@ declare namespace PowerPoint {
id?: boolean;
title?: boolean;
}
+ /**
+ * Represents a single hyperlink.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.6]
+ */
+ interface HyperlinkLoadOptions {
+ /**
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
+ */
+ $all?: boolean;
+ /**
+ * Specifies the URL target of the hyperlink.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.6]
+ */
+ address?: boolean;
+ /**
+ * Specifies the string displayed when hovering over the hyperlink.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.6]
+ */
+ screenTip?: boolean;
+ }
+ /**
+ * Represents a collection of hyperlinks.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.6]
+ */
+ interface HyperlinkCollectionLoadOptions {
+ /**
+ Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
+ */
+ $all?: boolean;
+ /**
+ * For EACH ITEM in the collection: Specifies the URL target of the hyperlink.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.6]
+ */
+ address?: boolean;
+ /**
+ * For EACH ITEM in the collection: Specifies the string displayed when hovering over the hyperlink.
+ *
+ * @remarks
+ * [Api set: PowerPointApi 1.6]
+ */
+ screenTip?: boolean;
+ }
/**
* Represents the collection of shapes.
*
diff --git a/generate-docs/script-inputs/office_preview.d.ts b/generate-docs/script-inputs/office_preview.d.ts
index 961582b49..eb797215f 100644
--- a/generate-docs/script-inputs/office_preview.d.ts
+++ b/generate-docs/script-inputs/office_preview.d.ts
@@ -122863,8 +122863,7 @@ declare namespace PowerPoint {
* Represents a single hyperlink.
*
* @remarks
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
- * @beta
+ * [Api set: PowerPointApi 1.6]
*/
class Hyperlink extends OfficeExtension.ClientObject {
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
@@ -122873,16 +122872,14 @@ declare namespace PowerPoint {
* Specifies the URL target of the hyperlink.
*
* @remarks
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
- * @beta
+ * [Api set: PowerPointApi 1.6]
*/
address: string;
/**
* Specifies the string displayed when hovering over the hyperlink.
*
* @remarks
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
- * @beta
+ * [Api set: PowerPointApi 1.6]
*/
screenTip: string;
/**
@@ -122916,8 +122913,7 @@ declare namespace PowerPoint {
* Represents a collection of hyperlinks.
*
* @remarks
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
- * @beta
+ * [Api set: PowerPointApi 1.6]
*/
class HyperlinkCollection extends OfficeExtension.ClientObject {
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
@@ -122928,8 +122924,7 @@ declare namespace PowerPoint {
* Gets the number of hyperlinks in the collection.
*
* @remarks
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
- * @beta
+ * [Api set: PowerPointApi 1.6]
* @returns The number of hyperlinks in the collection.
*/
getCount(): OfficeExtension.ClientResult;
@@ -122937,8 +122932,7 @@ declare namespace PowerPoint {
* Gets a hyperlink using its zero-based index in the collection. An error is thrown if the index is out of range.
*
* @remarks
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
- * @beta
+ * [Api set: PowerPointApi 1.6]
*
* @param index The index of the hyperlink in the collection.
* @returns The hyperlink at the given index. An error is thrown if index is out of range.
@@ -124919,8 +124913,7 @@ declare namespace PowerPoint {
* Returns a collection of hyperlinks in the slide.
*
* @remarks
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
- * @beta
+ * [Api set: PowerPointApi 1.6]
*/
readonly hyperlinks: PowerPoint.HyperlinkCollection;
/**
@@ -126605,16 +126598,14 @@ declare namespace PowerPoint {
* Specifies the URL target of the hyperlink.
*
* @remarks
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
- * @beta
+ * [Api set: PowerPointApi 1.6]
*/
address?: string;
/**
* Specifies the string displayed when hovering over the hyperlink.
*
* @remarks
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
- * @beta
+ * [Api set: PowerPointApi 1.6]
*/
screenTip?: string;
}
@@ -127038,16 +127029,14 @@ declare namespace PowerPoint {
* Specifies the URL target of the hyperlink.
*
* @remarks
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
- * @beta
+ * [Api set: PowerPointApi 1.6]
*/
address?: string;
/**
* Specifies the string displayed when hovering over the hyperlink.
*
* @remarks
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
- * @beta
+ * [Api set: PowerPointApi 1.6]
*/
screenTip?: string;
}
@@ -127657,8 +127646,7 @@ declare namespace PowerPoint {
* Represents a single hyperlink.
*
* @remarks
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
- * @beta
+ * [Api set: PowerPointApi 1.6]
*/
interface HyperlinkLoadOptions {
/**
@@ -127669,16 +127657,14 @@ declare namespace PowerPoint {
* Specifies the URL target of the hyperlink.
*
* @remarks
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
- * @beta
+ * [Api set: PowerPointApi 1.6]
*/
address?: boolean;
/**
* Specifies the string displayed when hovering over the hyperlink.
*
* @remarks
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
- * @beta
+ * [Api set: PowerPointApi 1.6]
*/
screenTip?: boolean;
}
@@ -127686,8 +127672,7 @@ declare namespace PowerPoint {
* Represents a collection of hyperlinks.
*
* @remarks
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
- * @beta
+ * [Api set: PowerPointApi 1.6]
*/
interface HyperlinkCollectionLoadOptions {
/**
@@ -127698,16 +127683,14 @@ declare namespace PowerPoint {
* For EACH ITEM in the collection: Specifies the URL target of the hyperlink.
*
* @remarks
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
- * @beta
+ * [Api set: PowerPointApi 1.6]
*/
address?: boolean;
/**
* For EACH ITEM in the collection: Specifies the string displayed when hovering over the hyperlink.
*
* @remarks
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
- * @beta
+ * [Api set: PowerPointApi 1.6]
*/
screenTip?: boolean;
}
diff --git a/generate-docs/script-inputs/script-lab-snippets.yaml b/generate-docs/script-inputs/script-lab-snippets.yaml
index 110a66664..a06d783df 100644
--- a/generate-docs/script-inputs/script-lab-snippets.yaml
+++ b/generate-docs/script-inputs/script-lab-snippets.yaml
@@ -13929,7 +13929,7 @@
'PowerPoint.Hyperlink:class':
- >-
// Link to full sample:
- https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/preview-apis/manage-hyperlinks.yaml
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/hyperlinks/manage-hyperlinks.yaml
// Gets the hyperlinks found in the first selected slide.
@@ -13948,7 +13948,7 @@
'PowerPoint.HyperlinkCollection:class':
- >-
// Link to full sample:
- https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/preview-apis/manage-hyperlinks.yaml
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/hyperlinks/manage-hyperlinks.yaml
// Gets the hyperlinks found in the first selected slide.
diff --git a/generate-docs/scripts/midprocessor.ts b/generate-docs/scripts/midprocessor.ts
index a1ae0e5fd..83cedc05c 100644
--- a/generate-docs/scripts/midprocessor.ts
+++ b/generate-docs/scripts/midprocessor.ts
@@ -8,7 +8,7 @@ const CURRENT_EXCEL_RELEASE = 17;
const OLDEST_EXCEL_RELEASE_WITH_CUSTOM_FUNCTIONS = 9;
const CURRENT_OUTLOOK_RELEASE = 14;
const CURRENT_WORD_RELEASE = 8;
-const CURRENT_POWERPOINT_RELEASE = 5;
+const CURRENT_POWERPOINT_RELEASE = 6;
tryCatch(async () => {
// ----
@@ -49,8 +49,8 @@ tryCatch(async () => {
console.log("\nCreating snippets file...");
- console.log("\nReading from: https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/snippet-extractor-output/snippets.yaml");
- fsx.writeFileSync("../script-inputs/script-lab-snippets.yaml", await fetchAndThrowOnError("https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/snippet-extractor-output/snippets.yaml", "text"));
+ console.log("\nReading from: https://raw.githubusercontent.com/OfficeDev/office-js-snippets/84b51d1463bb71186d9bde739207d6aca0c4b078/snippet-extractor-output/snippets.yaml");
+ fsx.writeFileSync("../script-inputs/script-lab-snippets.yaml", await fetchAndThrowOnError("https://raw.githubusercontent.com/OfficeDev/office-js-snippets/84b51d1463bb71186d9bde739207d6aca0c4b078/snippet-extractor-output/snippets.yaml", "text"));
console.log("\nReading from files: " + path.resolve("../../docs/code-snippets"));
diff --git a/generate-docs/scripts/postprocessor.ts b/generate-docs/scripts/postprocessor.ts
index 108feb60a..bba3c760f 100644
--- a/generate-docs/scripts/postprocessor.ts
+++ b/generate-docs/scripts/postprocessor.ts
@@ -96,7 +96,7 @@ tryCatch(async () => {
const hostVersionMap = [{host: "excel", versions: 18}, /*not including online*/
{host: "onenote", versions: 1},
{host: "outlook", versions: 15},
- {host: "powerpoint", versions: 6},
+ {host: "powerpoint", versions: 7},
{host: "visio", versions: 1},
{host: "word", versions: 9}]; /* not including online or desktop*/
diff --git a/generate-docs/scripts/preprocessor.ts b/generate-docs/scripts/preprocessor.ts
index 1812281d3..3651d381e 100644
--- a/generate-docs/scripts/preprocessor.ts
+++ b/generate-docs/scripts/preprocessor.ts
@@ -42,8 +42,8 @@ tryCatch(async () => {
case "DT":
forceRebuild = false;
case "DT+":
- urlToCopyOfficeJsFrom = "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/master/types/office-js/index.d.ts";
- urlToCopyPreviewOfficeJsFrom = "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/master/types/office-js-preview/index.d.ts";
+ urlToCopyOfficeJsFrom = "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/fdf07dcc56f8e213329e90e2a5d57f269ef71b57/types/office-js/index.d.ts";
+ urlToCopyPreviewOfficeJsFrom = "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/fdf07dcc56f8e213329e90e2a5d57f269ef71b57/types/office-js-preview/index.d.ts";
urlToCopyCustomFunctionsRuntimeFrom = "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/master/types/custom-functions-runtime/index.d.ts";
urlToCopyOfficeRuntimeFrom = "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/master/types/office-runtime/index.d.ts";
break;
@@ -159,7 +159,7 @@ tryCatch(async () => {
console.log("create file: powerpoint.d.ts (release)");
makeDtsAndClearJsonIfNew(
- '../api-extractor-inputs-powerpoint-release/PowerPoint_1_5/powerpoint.d.ts',
+ '../api-extractor-inputs-powerpoint-release/PowerPoint_1_6/powerpoint.d.ts',
handleCommonImports(handleLiteralParameterOverloads(dtsBuilder.extractDtsSection(releaseDefinitions, "Begin PowerPoint APIs", "End PowerPoint APIs")), "Other", true),
"powerpoint",
forceRebuild