diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-08-24 15:35:00 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-08-25 10:07:11 +0200 |
commit | 752dd8f5299cc2d661becd3b694ede1d037d3b84 (patch) | |
tree | fccf19eb79f44c72dd1d9d26e163320784a45c81 /include | |
parent | 02c3cca1fb5a0c2dbdf4ce55a5f07ebb64bcaed7 (diff) |
add a getCaretPositions like getTextArray
Change-Id: I6f5ab6c659a7b6827c1c5f017a740173806504d9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101291
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/drawinglayer/primitive2d/textlayoutdevice.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/drawinglayer/primitive2d/textlayoutdevice.hxx b/include/drawinglayer/primitive2d/textlayoutdevice.hxx index 597e1b34de09..10f0fc0b23c1 100644 --- a/include/drawinglayer/primitive2d/textlayoutdevice.hxx +++ b/include/drawinglayer/primitive2d/textlayoutdevice.hxx @@ -105,6 +105,11 @@ namespace drawinglayer::primitive2d const OUString& rText, sal_uInt32 nIndex, sal_uInt32 nLength) const; + + ::std::vector< double > getCaretPositions( + const OUString& rText, + sal_uInt32 nIndex, + sal_uInt32 nLength) const; }; // helper methods for vcl font handling |