summaryrefslogtreecommitdiff
path: root/include/svx/selectioncontroller.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx/selectioncontroller.hxx')
-rw-r--r--include/svx/selectioncontroller.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/svx/selectioncontroller.hxx b/include/svx/selectioncontroller.hxx
index 4c4a8e5c6020..d2fb9c4b9964 100644
--- a/include/svx/selectioncontroller.hxx
+++ b/include/svx/selectioncontroller.hxx
@@ -37,6 +37,8 @@ class Point;
namespace sdr
{
+namespace table { struct CellPos; }
+
class SVX_DLLPUBLIC SelectionController: public cppu::OWeakObject
{
public:
@@ -74,6 +76,8 @@ public:
virtual bool hasSelectedCells() const;
/// Allows adjusting the point or mark of the selection to a document coordinate.
virtual bool setCursorLogicPosition(const Point& rPosition, bool bPoint);
+ /// Get the position of the first and the last selected cell.
+ virtual void getSelectedCells(table::CellPos& rFirstPos, table::CellPos& rLastPos);
};
}