summaryrefslogtreecommitdiff
path: root/include/svtools/DocumentToGraphicRenderer.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svtools/DocumentToGraphicRenderer.hxx')
-rw-r--r--include/svtools/DocumentToGraphicRenderer.hxx6
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();