diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/LibreOfficeKit/LibreOfficeKit.h | 5 | ||||
-rw-r--r-- | include/LibreOfficeKit/LibreOfficeKit.hxx | 9 |
2 files changed, 14 insertions, 0 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKit.h b/include/LibreOfficeKit/LibreOfficeKit.h index 27d968c4a6b7..0da392467b84 100644 --- a/include/LibreOfficeKit/LibreOfficeKit.h +++ b/include/LibreOfficeKit/LibreOfficeKit.h @@ -347,6 +347,11 @@ struct _LibreOfficeKitDocumentClass /// @see lok::Document::getSignatureState(). int (*getSignatureState) (LibreOfficeKitDocument* pThis); + /// @see lok::Document::renderShapeSelection + void (*renderShapeSelection) (LibreOfficeKitDocument* pThis, + char*& pOutput, + size_t& nOutputSize); + #endif // defined LOK_USE_UNSTABLE_API || defined LIBO_INTERNAL_ONLY }; diff --git a/include/LibreOfficeKit/LibreOfficeKit.hxx b/include/LibreOfficeKit/LibreOfficeKit.hxx index 4a0ec6784b7b..865ad434417b 100644 --- a/include/LibreOfficeKit/LibreOfficeKit.hxx +++ b/include/LibreOfficeKit/LibreOfficeKit.hxx @@ -619,6 +619,15 @@ public: return mpDoc->pClass->getSignatureState(mpDoc); } + /** + * Gets an image of the selected shapes. + * + */ + void renderShapeSelection(char*& pOutput, size_t& nOutputSize) + { + mpDoc->pClass->renderShapeSelection(mpDoc, pOutput, nOutputSize); + } + #endif // defined LOK_USE_UNSTABLE_API || defined LIBO_INTERNAL_ONLY }; |