Add method DocumentToGraphicRenderer::getPageCount()

Desktop / LibreOffice - Muhammet Kara [collabora.com] - 8 January 2019 20:07 EST

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

af3e421fdb32 Add method DocumentToGraphicRenderer::getPageCount()
include/svtools/DocumentToGraphicRenderer.hxx | 1 +
sfx2/source/doc/objserv.cxx | 16 +++------------
.../source/filter/DocumentToGraphicRenderer.cxx | 23 ++++++++++++++++++++++
3 files changed, 27 insertions(+), 13 deletions(-)

Upstream: cgit.freedesktop.org


  • Share