mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 00:07:07 +00:00
Merge pull request #32174 from AlexJerabek/AlexJ-CoercionType
[office-js, office-js-preview] Adding XmlSvg CoercionType to Common API
This commit is contained in:
Vendored
+15
-2
@@ -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**
|
||||
|
||||
Vendored
+15
-2
@@ -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**
|
||||
|
||||
Reference in New Issue
Block a user