summaryrefslogtreecommitdiff
path: root/include/svtools/ruler.hxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2019-12-04 16:18:01 +0200
committerTor Lillqvist <tml@collabora.com>2019-12-05 13:50:21 +0100
commit891b0c54ead076f0458197233a47d227b1b36f64 (patch)
tree1656f53efc4b4da9b22fb7d1e144f94148cdc0eb /include/svtools/ruler.hxx
parent55e596956e56b175ab17b682e7c8ac7daeb9289a (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
Diffstat (limited to 'include/svtools/ruler.hxx')
-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);