summaryrefslogtreecommitdiff
path: root/svx/inc/svx/ruler.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/inc/svx/ruler.hxx')
-rw-r--r--svx/inc/svx/ruler.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/svx/inc/svx/ruler.hxx b/svx/inc/svx/ruler.hxx
index e39ccde703ec..aa18893ec3cc 100644
--- a/svx/inc/svx/ruler.hxx
+++ b/svx/inc/svx/ruler.hxx
@@ -148,7 +148,6 @@ class SVX_DLLPUBLIC SvxRuler: public Ruler, public SfxListener
long GetLeftIndent() const;
long GetRightIndent() const;
long GetLogicRightIndent() const;
- long GetPageWidth() const;
inline long GetLeftFrameMargin() const;
long GetRightFrameMargin() const;
@@ -184,14 +183,13 @@ class SVX_DLLPUBLIC SvxRuler: public Ruler, public SfxListener
sal_uInt16 GetNextVisible(sal_uInt16 nColumn);
sal_uInt16 GetPrevVisible(sal_uInt16 nColumn);
- void Update();
-
enum UpdateType {
MOVE_ALL,
MOVE_LEFT,
MOVE_RIGHT
};
void UpdateParaContents_Impl(long lDiff, UpdateType = MOVE_ALL);
+
protected:
virtual void Command( const CommandEvent& rCEvt );
virtual void Click();
@@ -203,6 +201,8 @@ protected:
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
+ virtual void Update();
+
// calculation of boundary values for object borders
// values refer to the page
virtual sal_Bool CalcLimits(long &nMax1, long &nMax2, sal_Bool bFirst) const;
@@ -215,6 +215,7 @@ protected:
sal_uInt16 GetActRightColumn (
sal_Bool bForceDontConsiderHidden = sal_False, sal_uInt16 nAct=USHRT_MAX ) const;
long CalcPropMaxRight(sal_uInt16 nCol=USHRT_MAX) const;
+ long GetPageWidth() const;
public:
#define SVXRULER_SUPPORT_TABS 0x0001