diff options
Diffstat (limited to 'include/LibreOfficeKit/LibreOfficeKit.hxx')
-rw-r--r-- | include/LibreOfficeKit/LibreOfficeKit.hxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKit.hxx b/include/LibreOfficeKit/LibreOfficeKit.hxx index 816ade5649b2..c526bda95593 100644 --- a/include/LibreOfficeKit/LibreOfficeKit.hxx +++ b/include/LibreOfficeKit/LibreOfficeKit.hxx @@ -246,6 +246,14 @@ public: { mpDoc->pClass->resetSelection(mpDoc); } + + /** + * Returns a json map, {"familyName1" : ["list of style names in the family1"], etc.} + */ + inline char* getStyles() + { + return mpDoc->pClass->getStyles(mpDoc); + } #endif // LOK_USE_UNSTABLE_API }; |