summaryrefslogtreecommitdiff
path: root/sw/source/ui/inc/workctrl.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/inc/workctrl.hxx')
-rw-r--r--sw/source/ui/inc/workctrl.hxx76
1 files changed, 38 insertions, 38 deletions
diff --git a/sw/source/ui/inc/workctrl.hxx b/sw/source/ui/inc/workctrl.hxx
index 364d0d3ab418..ff5ca137ff8f 100644
--- a/sw/source/ui/inc/workctrl.hxx
+++ b/sw/source/ui/inc/workctrl.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -39,8 +39,8 @@ class SwView;
// doppelter Eintrag! hrc und hxx
// diese Ids bestimmen, was die Buttons unter dem Scrollbar tun
#define NID_START 20000
-#define NID_NEXT 20000
-#define NID_PREV 20001
+#define NID_NEXT 20000
+#define NID_PREV 20001
#define NID_TBL 20002
#define NID_FRM 20003
#define NID_PGE 20004
@@ -48,17 +48,17 @@ class SwView;
#define NID_CTRL 20006
#define NID_REG 20007
#define NID_BKM 20008
-#define NID_GRF 20009
-#define NID_OLE 20010
-#define NID_OUTL 20011
-#define NID_SEL 20012
-#define NID_FTN 20013
-#define NID_MARK 20014
+#define NID_GRF 20009
+#define NID_OLE 20010
+#define NID_OUTL 20011
+#define NID_SEL 20012
+#define NID_FTN 20013
+#define NID_MARK 20014
#define NID_POSTIT 20015
#define NID_SRCH_REP 20016
#define NID_INDEX_ENTRY 20017
-#define NID_TABLE_FORMULA 20018
-#define NID_TABLE_FORMULA_ERROR 20019
+#define NID_TABLE_FORMULA 20018
+#define NID_TABLE_FORMULA_ERROR 20019
#define NID_COUNT 20
@@ -69,10 +69,10 @@ class SwView;
class SwTbxInsertCtrl : public SfxToolBoxControl
{
- USHORT nLastSlotId;
+ USHORT nLastSlotId;
using SfxToolBoxControl::Select;
- virtual void Select( BOOL bMod1 = FALSE );
+ virtual void Select( BOOL bMod1 = FALSE );
public:
SFX_DECL_TOOLBOX_CONTROL();
@@ -80,9 +80,9 @@ public:
SwTbxInsertCtrl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
~SwTbxInsertCtrl();
- virtual SfxPopupWindowType GetPopupWindowType() const;
- virtual SfxPopupWindow* CreatePopupWindow();
- virtual void StateChanged( USHORT nSID,
+ virtual SfxPopupWindowType GetPopupWindowType() const;
+ virtual SfxPopupWindow* CreatePopupWindow();
+ virtual void StateChanged( USHORT nSID,
SfxItemState eState,
const SfxPoolItem* pState );
@@ -95,20 +95,20 @@ public:
class SwTbxAutoTextCtrl : public SfxToolBoxControl
{
- PopupMenu* pPopup;
- SwView* pView;
+ PopupMenu* pPopup;
+ SwView* pView;
- void DelPopup();
+ void DelPopup();
public:
SFX_DECL_TOOLBOX_CONTROL();
SwTbxAutoTextCtrl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
~SwTbxAutoTextCtrl();
- virtual SfxPopupWindowType GetPopupWindowType() const;
- virtual SfxPopupWindow* CreatePopupWindow();
- virtual void StateChanged( USHORT nSID,
+ virtual SfxPopupWindowType GetPopupWindowType() const;
+ virtual SfxPopupWindow* CreatePopupWindow();
+ virtual void StateChanged( USHORT nSID,
SfxItemState eState,
const SfxPoolItem* pState );
@@ -122,8 +122,8 @@ public:
class SwScrollNaviToolBox : public ToolBox
{
- virtual void MouseButtonUp( const MouseEvent& rMEvt );
- virtual void RequestHelp( const HelpEvent& rHEvt );
+ virtual void MouseButtonUp( const MouseEvent& rMEvt );
+ virtual void RequestHelp( const HelpEvent& rHEvt );
public:
SwScrollNaviToolBox(Window* pParent, WinBits nWinStyle ) :
@@ -135,16 +135,16 @@ class SwScrollNaviPopup : public SfxPopupWindow
SwScrollNaviToolBox aToolBox;
FixedLine aSeparator;
FixedInfo aInfoField;
- ImageList aIList;
+ ImageList aIList;
ImageList aIListH;
- String sQuickHelp[2 * NID_COUNT];
+ String sQuickHelp[2 * NID_COUNT];
- USHORT nFwdId;
- USHORT nBackId;
+ USHORT nFwdId;
+ USHORT nBackId;
void ApplyImageList();
-
+
using Window::GetQuickHelpText;
protected:
@@ -155,8 +155,8 @@ public:
SwScrollNaviPopup( USHORT nId, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame );
~SwScrollNaviPopup();
- static String GetQuickHelpText(BOOL bNext);
-
+ static String GetQuickHelpText(BOOL bNext);
+
virtual SfxPopupWindow* Clone() const;
void GrabFocus(){aToolBox.GrabFocus();}
};
@@ -167,8 +167,8 @@ public:
class SwNaviImageButton : public ImageButton
{
- SwScrollNaviPopup* pPopup;
- Image aImage;
+ SwScrollNaviPopup* pPopup;
+ Image aImage;
Image aImageH;
String sQuickText;
SfxPopupWindow* pPopupWindow;
@@ -178,7 +178,7 @@ class SwNaviImageButton : public ImageButton
protected:
DECL_LINK( PopupModeEndHdl, void * );
DECL_LINK( ClosePopupWindow, SfxPopupWindow * );
-
+
virtual void Click();
virtual void DataChanged( const DataChangedEvent& rDCEvt );
void SetPopupWindow( SfxPopupWindow* pWindow );
@@ -188,21 +188,21 @@ class SwNaviImageButton : public ImageButton
};
//----------------------------------------------------------------------------
-// Die ImageButtons muessen sich bei Bedarf den HelpText selbst setzen
+// Die ImageButtons muessen sich bei Bedarf den HelpText selbst setzen
//----------------------------------------------------------------------------
class SwHlpImageButton : public ImageButton
{
- BOOL bUp;
+ BOOL bUp;
public:
SwHlpImageButton(Window* pParent, const ResId& rResId, BOOL bUpBtn) :
ImageButton(pParent, rResId), bUp(bUpBtn){}
- virtual void RequestHelp( const HelpEvent& rHEvt );
+ virtual void RequestHelp( const HelpEvent& rHEvt );
};
/* -----------------26.11.2002 09:25-----------------
- *
+ *
* --------------------------------------------------*/
class SwPreviewZoomControl : public SfxToolBoxControl
{