summaryrefslogtreecommitdiffstats
path: root/include/LibreOfficeKit/LibreOfficeKit.h
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-09-16 12:38:31 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-09-16 14:48:23 +0200
commitdcc92a7cb5aa1faa711c8da7f7d8ecee0a192c25 (patch)
treef6ed2e55dd7dad168af83e266dc53acbe2926af9 /include/LibreOfficeKit/LibreOfficeKit.h
parentembeddedobj: add a comment why the original size is restored (diff)
downloadcore-dcc92a7cb5aa1faa711c8da7f7d8ecee0a192c25.tar.gz
core-dcc92a7cb5aa1faa711c8da7f7d8ecee0a192c25.zip
sfx2: add SfxLokHelper::getViewIds
and also expose it in the LOK API. This way clients don't have to keep track of what views they created / destroyed, they can also get an up to date list with this method. Change-Id: Ibaee42c545803e04a31e7c13ab6ec370b99465c4
Diffstat (limited to 'include/LibreOfficeKit/LibreOfficeKit.h')
-rw-r--r--include/LibreOfficeKit/LibreOfficeKit.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKit.h b/include/LibreOfficeKit/LibreOfficeKit.h
index a0ed81947280..c97655f94f8e 100644
--- a/include/LibreOfficeKit/LibreOfficeKit.h
+++ b/include/LibreOfficeKit/LibreOfficeKit.h
@@ -244,6 +244,11 @@ struct _LibreOfficeKitDocumentClass
const int nTileWidth,
const int nTileHeight);
+ /// @see lok::Document::getViewIds().
+ bool (*getViewIds) (LibreOfficeKitDocument* pThis,
+ int* pArray,
+ size_t nSize);
+
#endif // defined LOK_USE_UNSTABLE_API || defined LIBO_INTERNAL_ONLY
};