summaryrefslogtreecommitdiffstats
path: root/include/svtools
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@collabora.com>2019-01-08 16:58:40 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2019-01-08 21:07:22 +0100
commitaf3e421fdb32f172d40ba4641f24f1356fcb55ce (patch)
tree1be8392c1c5e487953cef0ae7a8f43705be50035 /include/svtools
parentwriterfilter: avoid exception - IsProtect not page style property. (diff)
downloadcore-af3e421fdb32f172d40ba4641f24f1356fcb55ce.tar.gz
core-af3e421fdb32f172d40ba4641f24f1356fcb55ce.zip
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.hxx1
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().