diff options
author | Muhammet Kara <muhammet.kara@collabora.com> | 2019-01-08 16:58:40 +0300 |
---|---|---|
committer | Muhammet Kara <muhammet.kara@collabora.com> | 2019-01-08 21:07:22 +0100 |
commit | af3e421fdb32f172d40ba4641f24f1356fcb55ce (patch) | |
tree | 1be8392c1c5e487953cef0ae7a8f43705be50035 /include/svtools | |
parent | 93d3ef817af1e07ff8b6ea2e6636358c1762a62a (diff) |
Add method DocumentToGraphicRenderer::getPageCount()
And use that in sfx2 Redaction code to be independent of
the document/module type
Change-Id: Ic206f7a10a27d8d44566df34a10d009a34adf0a5
Reviewed-on: https://gerrit.libreoffice.org/65971
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/DocumentToGraphicRenderer.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/svtools/DocumentToGraphicRenderer.hxx b/include/svtools/DocumentToGraphicRenderer.hxx index 5d153a2f5c71..4ce5cb4d41fa 100644 --- a/include/svtools/DocumentToGraphicRenderer.hxx +++ b/include/svtools/DocumentToGraphicRenderer.hxx @@ -68,6 +68,7 @@ public: ~DocumentToGraphicRenderer(); sal_Int32 getCurrentPage(); + sal_Int32 getPageCount(); /** * Get list of chapter names for a page, current page is set by * renderToGraphic(). |