diff options
author | Eike Rathke <erack@redhat.com> | 2017-09-19 19:08:14 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-09-19 19:09:22 +0200 |
commit | cb6cbbd5cad2ea0433cf5cc3ced8491f5c400a38 (patch) | |
tree | b5d6108dbe18e77851ba0ed92ecce1f1ff0056b4 /include/svtools | |
parent | 179da6befe2181e276a12de350e3dd80682c4b2f (diff) |
Introduce DocumentToGraphicRenderer::hasSelection() and maSelection
Change-Id: Ib7a9df04eb1b8646e20f58c3f9af3ee2dbbb13db
Reviewed-on: https://gerrit.libreoffice.org/42489
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/DocumentToGraphicRenderer.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/svtools/DocumentToGraphicRenderer.hxx b/include/svtools/DocumentToGraphicRenderer.hxx index 450672ebe7ad..2240b160d79b 100644 --- a/include/svtools/DocumentToGraphicRenderer.hxx +++ b/include/svtools/DocumentToGraphicRenderer.hxx @@ -38,8 +38,14 @@ class SVT_DLLPUBLIC DocumentToGraphicRenderer css::uno::Reference<css::frame::XController> mxController; css::uno::Reference<css::view::XRenderable> mxRenderable; css::uno::Reference<css::awt::XToolkit> mxToolkit; + css::uno::Any maSelection; bool mbSelectionOnly; + bool hasSelection() const; + + /** Always something even if hasSelection() is false (in which case the + selection is mxDocument). + */ css::uno::Any getSelection() const; sal_Int32 getCurrentPageWriter(); |