diff options
author | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-05-18 08:36:16 +0100 |
---|---|---|
committer | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-06-25 13:04:29 +0100 |
commit | fd5f324b0988f62f89216ce01ef23131bffb4e0c (patch) | |
tree | 7188ecb033b316620aebfecf6b4f45482613314e /include/LibreOfficeKit/LibreOfficeKit.h | |
parent | 41911db36efa2b97fdca18e468b6dd162d654a4d (diff) |
Implement document size retrieval for LibLO.
Change-Id: Ibd69f8e766fd421b05d2305f967179a969bc5b56
Diffstat (limited to 'include/LibreOfficeKit/LibreOfficeKit.h')
-rw-r--r-- | include/LibreOfficeKit/LibreOfficeKit.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKit.h b/include/LibreOfficeKit/LibreOfficeKit.h index cf2bcb2a757e..f63f3a71ac91 100644 --- a/include/LibreOfficeKit/LibreOfficeKit.h +++ b/include/LibreOfficeKit/LibreOfficeKit.h @@ -98,6 +98,11 @@ struct _LibreOfficeKitDocumentClass const int nTilePosY, const int nTileWidth, const int nTileHeight); + + // Get the document sizes in twips. + void (*getDocumentSize) (LibreOfficeKitDocument* pThis, + long* pWidth, + long* pHeight); #endif // LOK_USE_UNSTABLE_API }; |