diff options
author | Muhammet Kara <muhammet.kara@collabora.com> | 2019-01-08 16:58:40 +0300 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2019-03-27 21:40:13 +0100 |
commit | d132d2206926c8b25a11384844d5afe446901826 (patch) | |
tree | 2424b941d209ea079c159547640da375561b4fb3 /include | |
parent | 91b9632395a191264b13b2d51fc6510ac9a1134c (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>
Reviewed-on: https://gerrit.libreoffice.org/69813
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'include')
-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 af0ce6e8086f..b44a7015d0df 100644 --- a/include/svtools/DocumentToGraphicRenderer.hxx +++ b/include/svtools/DocumentToGraphicRenderer.hxx @@ -66,6 +66,7 @@ public: ~DocumentToGraphicRenderer(); sal_Int32 getCurrentPage(); + sal_Int32 getPageCount(); Size getDocumentSizeInPixels( sal_Int32 nCurrentPage ); |