From d64a7f4ba80fa2a0a0ad2bddc6906ab6b78a23c8 Mon Sep 17 00:00:00 2001 From: Aditya Dewan Date: Sat, 15 Jul 2017 21:47:14 +0530 Subject: implementing callback for ruler invalidation adding commands to fetch and changee ruler state '.uno:RulerState' and '.uno:RulerStateChange' Change-Id: I66107039a7ae5893691feb45c8ab2e4aa476ea76 Reviewed-on: https://gerrit.libreoffice.org/40727 Tested-by: Jenkins Reviewed-by: pranavk --- svtools/source/control/ruler.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'svtools/source/control') diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx index 8392ba2fd678..f4deadc572e1 100644 --- a/svtools/source/control/ruler.cxx +++ b/svtools/source/control/ruler.cxx @@ -2678,6 +2678,11 @@ void Ruler::SetTextRTL(bool bRTL) } +long Ruler::GetPageWidth() const +{ + return mpData->nPageWidth; +} + long Ruler::GetPageOffset() const { return mpData->nPageOff; -- cgit