From b04d175b03ec22c00e149fd3a42041225b156760 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') diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx index 7306b097df87..e2a78c16c971 100644 --- a/svtools/source/control/ruler.cxx +++ b/svtools/source/control/ruler.cxx @@ -2773,6 +2773,11 @@ void Ruler::SetTextRTL(bool bRTL) } +long Ruler::GetPageWidth() const +{ + return mpData->nPageWidth; +} + long Ruler::GetPageOffset() const { return mpData->nPageOff; -- cgit