Merge pull request #32174 from AlexJerabek/AlexJ-CoercionType

[office-js, office-js-preview] Adding XmlSvg CoercionType to Common API
This commit is contained in:
Daniel Rosenwasser
2019-01-15 14:33:15 -08:00
committed by GitHub
2 changed files with 30 additions and 4 deletions
+15 -2
View File
@@ -1661,7 +1661,7 @@ declare namespace Office {
* Specifies how to coerce data returned or set by the invoked method.
*
* @remarks
* PowerPoint supports only `Office.CoercionType.Text`, `Office.CoercionType.Image`, and `Office.CoercionType.SlideRange`.
* PowerPoint supports only `Office.CoercionType.Text`, `Office.CoercionType.Image`, `Office.CoercionType.SlideRange`, and `Office.CoercionType.XmlSvg`.
*
* Project supports only `Office.CoercionType.Text`.
*
@@ -1726,7 +1726,12 @@ declare namespace Office {
* Data is returned or set as an image stream.
* Note: Only applies to data in Excel, Word, and PowerPoint.
*/
Image
Image,
/**
* Data is returned or set as XML data containing an SVG image.
* Note: Only applies to data in Excel, Word, and PowerPoint.
*/
XmlSvg
}
/**
* Specifies whether the document in the associated application is read-only or read-write.
@@ -3543,6 +3548,10 @@ declare namespace Office {
* <td>PowerPoint and PowerPoint Online</td>
* <td>`Office.CoercionType.SlideRange`</td>
* </tr>
* <tr>
* <td>Excel, PowerPoint, and Word</td>
* <td>`Office.CoercionType.XmlSvg`</td>
* </tr>
* </table>
*
* **Support details**
@@ -3710,6 +3719,10 @@ declare namespace Office {
* <td>PowerPoint and PowerPoint Online</td>
* <td>`Office.CoercionType.SlideRange`</td>
* </tr>
* <tr>
* <td>Excel, PowerPoint, and Word</td>
* <td>`Office.CoercionType.XmlSvg`</td>
* </tr>
* </table>
*
* **Support details**
+15 -2
View File
@@ -1661,7 +1661,7 @@ declare namespace Office {
* Specifies how to coerce data returned or set by the invoked method.
*
* @remarks
* PowerPoint supports only `Office.CoercionType.Text`, `Office.CoercionType.Image`, and `Office.CoercionType.SlideRange`.
* PowerPoint supports only `Office.CoercionType.Text`, `Office.CoercionType.Image`, `Office.CoercionType.SlideRange`, and `Office.CoercionType.XmlSvg`.
*
* Project supports only `Office.CoercionType.Text`.
*
@@ -1726,7 +1726,12 @@ declare namespace Office {
* Data is returned or set as an image stream.
* Note: Only applies to data in Excel, Word, and PowerPoint.
*/
Image
Image,
/**
* Data is returned or set as XML data containing an SVG image.
* Note: Only applies to data in Excel, Word, and PowerPoint.
*/
XmlSvg
}
/**
* Specifies whether the document in the associated application is read-only or read-write.
@@ -3543,6 +3548,10 @@ declare namespace Office {
* <td>PowerPoint and PowerPoint Online</td>
* <td>`Office.CoercionType.SlideRange`</td>
* </tr>
* <tr>
* <td>Excel, PowerPoint, and Word</td>
* <td>`Office.CoercionType.XmlSvg`</td>
* </tr>
* </table>
*
* **Support details**
@@ -3710,6 +3719,10 @@ declare namespace Office {
* <td>PowerPoint and PowerPoint Online</td>
* <td>`Office.CoercionType.SlideRange`</td>
* </tr>
* <tr>
* <td>Excel, PowerPoint, and Word</td>
* <td>`Office.CoercionType.XmlSvg`</td>
* </tr>
* </table>
*
* **Support details**