summaryrefslogtreecommitdiff
path: root/include/editeng/editview.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-10-13 15:54:56 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-10-13 16:42:41 +0200
commitf7764214f2ab8aff030aaeb29efd693275822761 (patch)
tree31678334a77fb53e5d788d304eff9261f38786e4 /include/editeng/editview.hxx
parent2e0b9891764bb4cae6ed9a1b111d9b6dafeee92d (diff)
editeng: add EditView::GetSelectionRectangles()
This gives sd access to the selection rectangles as well (as opposed only to the document model positions of selections). Change-Id: Icb903e91f9e868573403b360bbe839705ddf2916
Diffstat (limited to 'include/editeng/editview.hxx')
-rw-r--r--include/editeng/editview.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/editeng/editview.hxx b/include/editeng/editview.hxx
index 835e540ec5fc..d6b21f2960d4 100644
--- a/include/editeng/editview.hxx
+++ b/include/editeng/editview.hxx
@@ -122,6 +122,8 @@ public:
ESelection GetSelection() const;
void SetSelection( const ESelection& rNewSel );
bool SelectCurrentWord( sal_Int16 nWordType = ::com::sun::star::i18n::WordType::ANYWORD_IGNOREWHITESPACES );
+ /// Returns the rectangles of the current selection in TWIPs.
+ void GetSelectionRectangles(std::vector<Rectangle>& rLogicRects) const;
bool IsInsertMode() const;
void SetInsertMode( bool bInsert );