summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2019-12-04 16:18:01 +0200
committerTor Lillqvist <tml@collabora.com>2020-05-18 08:39:48 +0200
commita6e4f1e18b510d0644802232262174b5e19085c6 (patch)
tree06580605dc57a4451a8cd3c341a1b0d3b379c7c0 /include
parentb703ac70fca000dc9e45f2faad33996305ca8ecf (diff)
tdf#128468: Add Ruler::GetTabs()
Change-Id: I785f8af1eec54f36721a354c4d3f82d8b86ceb86 Reviewed-on: https://gerrit.libreoffice.org/84419 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/84519 Tested-by: Jenkins Reviewed-on: https://gerrit.libreoffice.org/84759 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94206
Diffstat (limited to 'include')
-rw-r--r--include/svtools/ruler.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/svtools/ruler.hxx b/include/svtools/ruler.hxx
index 7902f307a1a4..80f38d8922db 100644
--- a/include/svtools/ruler.hxx
+++ b/include/svtools/ruler.hxx
@@ -22,6 +22,7 @@
#include <memory>
#include <map>
+#include <vector>
#include <svtools/svtdllapi.h>
#include <rtl/ref.hxx>
#include <tools/fldunit.hxx>
@@ -778,6 +779,7 @@ public:
void SetIndents( sal_uInt32 n = 0, const RulerIndent* pIndentAry = nullptr );
void SetTabs( sal_uInt32 n = 0, const RulerTab* pTabAry = nullptr );
+ const std::vector<RulerTab>& GetTabs() const;
static void DrawTab(vcl::RenderContext& rRenderContext, const Color &rFillColor,
const Point& rPos, sal_uInt16 nStyle);