diff options
author | Aditya Dewan <iit2015097@iiita.ac.in> | 2017-07-15 21:47:14 +0530 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2017-09-14 12:06:15 +0200 |
commit | b04d175b03ec22c00e149fd3a42041225b156760 (patch) | |
tree | 8d877e4a483648ec8be2187d588ebc32e8ea7665 /svtools | |
parent | 180dec34838389b17ed9d0d3d17fd19a6e5a9c71 (diff) |
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 <ci@libreoffice.org>
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/ruler.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
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; |