diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-03-30 16:20:13 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-04-07 09:18:01 +0200 |
commit | 046be649beec4393490fd189e953eb19c472d4ee (patch) | |
tree | c5aa260acebd994a4647ccaa797f55d999d99252 /include/svx | |
parent | 32cfef5cb32d944df81d2e1aa8a81d175b4101cb (diff) |
sd tiled rendering: support turning an editeng selection into a table one
With this, it's possible to drag the selection handle of an editeng
selection in an Impress table and drag it outside the table cell to
create an Impress table selection. Some unexpected graphic selection
still appears, though.
Change-Id: Ia7b36036ce2bda5cca570e8b6075238d5167090f
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/sdr/table/tablecontroller.hxx | 2 | ||||
-rw-r--r-- | include/svx/selectioncontroller.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/sdr/table/tablecontroller.hxx b/include/svx/sdr/table/tablecontroller.hxx index 6145dc4eab1b..b366a582f845 100644 --- a/include/svx/sdr/table/tablecontroller.hxx +++ b/include/svx/sdr/table/tablecontroller.hxx @@ -94,7 +94,7 @@ public: SVX_DLLPRIVATE virtual bool hasSelectedCells() const SAL_OVERRIDE { return mbCellSelectionMode || mpView->IsTextEdit(); } /// @see sdr::SelectionController::setCursorLogicPosition(). - SVX_DLLPRIVATE virtual void setCursorLogicPosition(const Point& rPosition, bool bPoint) SAL_OVERRIDE; + SVX_DLLPRIVATE virtual bool setCursorLogicPosition(const Point& rPosition, bool bPoint) SAL_OVERRIDE; void getSelectedCells( CellPos& rFirstPos, CellPos& rLastPos ); void setSelectedCells( const CellPos& rFirstPos, const CellPos& rLastPos ); diff --git a/include/svx/selectioncontroller.hxx b/include/svx/selectioncontroller.hxx index 214ccd9cff75..52bb9aa08efd 100644 --- a/include/svx/selectioncontroller.hxx +++ b/include/svx/selectioncontroller.hxx @@ -72,7 +72,7 @@ public: /// This is a table object, and one or more of its cells are selected. virtual bool hasSelectedCells() const; /// Allows adjusting the point or mark of the selection to a document coordinate. - virtual void setCursorLogicPosition(const Point& rPosition, bool bPoint); + virtual bool setCursorLogicPosition(const Point& rPosition, bool bPoint); }; } |