diff options
Diffstat (limited to 'include/editeng')
-rw-r--r-- | include/editeng/editdata.hxx | 8 | ||||
-rw-r--r-- | include/editeng/editview.hxx | 4 | ||||
-rw-r--r-- | include/editeng/outliner.hxx | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/include/editeng/editdata.hxx b/include/editeng/editdata.hxx index b50cff44c4e3..00e8a2d65ac0 100644 --- a/include/editeng/editdata.hxx +++ b/include/editeng/editdata.hxx @@ -37,10 +37,10 @@ enum EESelectionMode { EE_SELMODE_STD, EE_SELMODE_TXTONLY, EE_SELMODE_HIDDEN // EE_SELMODE_HIDDEN can be used to completely hide the selection. This is useful e.g. when you want show the selection // only as long as your window (which the edit view works on) has the focus enum class EESpellState { Ok, LanguageNotInstalled, NoSpeller, ErrorFound }; -enum EVAnchorMode { - ANCHOR_TOP_LEFT, ANCHOR_VCENTER_LEFT, ANCHOR_BOTTOM_LEFT, - ANCHOR_TOP_HCENTER, ANCHOR_VCENTER_HCENTER, ANCHOR_BOTTOM_HCENTER, - ANCHOR_TOP_RIGHT, ANCHOR_VCENTER_RIGHT, ANCHOR_BOTTOM_RIGHT }; +enum class EEAnchorMode { + TopLeft, TopHCenter, TopRight, + VCenterLeft, VCenterHCenter, VCenterRight, + BottomLeft, BottomHCenter, BottomRight }; #define EE_PARA_NOT_FOUND SAL_MAX_INT32 #define EE_PARA_APPEND SAL_MAX_INT32 diff --git a/include/editeng/editview.hxx b/include/editeng/editview.hxx index 55b2620c9e87..3ff03cc7097b 100644 --- a/include/editeng/editview.hxx +++ b/include/editeng/editview.hxx @@ -214,8 +214,8 @@ public: const SfxStyleSheet* GetStyleSheet() const; SfxStyleSheet* GetStyleSheet(); - void SetAnchorMode( EVAnchorMode eMode ); - EVAnchorMode GetAnchorMode() const; + void SetAnchorMode( EEAnchorMode eMode ); + EEAnchorMode GetAnchorMode() const; void CompleteAutoCorrect( vcl::Window* pFrameWin = nullptr ); diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx index ed4eebbdc26a..06b21e38ec21 100644 --- a/include/editeng/outliner.hxx +++ b/include/editeng/outliner.hxx @@ -287,8 +287,8 @@ public: void SetControlWord( EVControlBits nWord ); EVControlBits GetControlWord() const; - void SetAnchorMode( EVAnchorMode eMode ); - EVAnchorMode GetAnchorMode() const; + void SetAnchorMode( EEAnchorMode eMode ); + EEAnchorMode GetAnchorMode() const; Pointer GetPointer( const Point& rPosPixel ); void Command( const CommandEvent& rCEvt ); |