diff options
Diffstat (limited to 'sw/source/ui/inc/inputwin.hxx')
-rw-r--r-- | sw/source/ui/inc/inputwin.hxx | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/sw/source/ui/inc/inputwin.hxx b/sw/source/ui/inc/inputwin.hxx index 72750bb7d251..e409b1b9f453 100644 --- a/sw/source/ui/inc/inputwin.hxx +++ b/sw/source/ui/inc/inputwin.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 @@ -46,11 +46,11 @@ public: InputEdit(Window* pParent, WinBits nStyle) : Edit(pParent , nStyle){} - void UpdateRange(const String& aSel, + void UpdateRange(const String& aSel, const String& aTblName ); protected: - virtual void KeyInput( const KeyEvent& ); + virtual void KeyInput( const KeyEvent& ); }; //======================================================================== @@ -59,23 +59,23 @@ class SwInputWindow : public ToolBox { friend class InputEdit; - Edit aPos; - InputEdit aEdit; - PopupMenu aPopMenu; - SwFldMgr* pMgr; - SwWrtShell* pWrtShell; - SwView* pView; + Edit aPos; + InputEdit aEdit; + PopupMenu aPopMenu; + SwFldMgr* pMgr; + SwWrtShell* pWrtShell; + SwView* pView; SfxBindings* pBindings; - String aAktTableName, sOldFml; - USHORT nActionCnt; + String aAktTableName, sOldFml; + USHORT nActionCnt; - BOOL bFirst : 1; //Initialisierungen beim ersten Aufruf - BOOL bActive : 1; //fuer Hide/Show beim Dokumentwechsel - BOOL bIsTable : 1; - BOOL bDelSel : 1; - BOOL bDoesUndo : 1; - BOOL bResetUndo : 1; - BOOL bCallUndo : 1; + BOOL bFirst : 1; //Initialisierungen beim ersten Aufruf + BOOL bActive : 1; //fuer Hide/Show beim Dokumentwechsel + BOOL bIsTable : 1; + BOOL bDelSel : 1; + BOOL bDoesUndo : 1; + BOOL bResetUndo : 1; + BOOL bCallUndo : 1; void DelBoxCntnt(); @@ -84,35 +84,35 @@ friend class InputEdit; using Window::IsActive; protected: - virtual void Resize(); - virtual void Click(); + virtual void Resize(); + virtual void Click(); DECL_LINK( MenuHdl, Menu * ); DECL_LINK( DropdownClickHdl, ToolBox* ); - void ApplyFormula(); - void CancelFormula(); + void ApplyFormula(); + void CancelFormula(); public: SwInputWindow( Window* pParent, SfxBindings* pBindings ); - virtual ~SwInputWindow(); + virtual ~SwInputWindow(); virtual void DataChanged( const DataChangedEvent& rDCEvt ); - void SelectHdl( ToolBox*); - - void ShowWin(); - - BOOL IsActive(){ return bActive; }; - + void SelectHdl( ToolBox*); + + void ShowWin(); + + BOOL IsActive(){ return bActive; }; + DECL_LINK( SelTblCellsNotify, SwWrtShell * ); - void SetFormula( const String& rFormula, BOOL bDelSel = TRUE ); - const SwView* GetView() const{return pView;} + void SetFormula( const String& rFormula, BOOL bDelSel = TRUE ); + const SwView* GetView() const{return pView;} }; class SwInputChild : public SfxChildWindow { - BOOL bObjVis; - SfxDispatcher* pDispatch; + BOOL bObjVis; + SfxDispatcher* pDispatch; public: SwInputChild( Window* , USHORT nId, @@ -120,10 +120,10 @@ public: SfxChildWinInfo* ); ~SwInputChild(); SFX_DECL_CHILDWINDOW( SwInputChild ); - void SetFormula( const String& rFormula, BOOL bDelSel = TRUE ) + void SetFormula( const String& rFormula, BOOL bDelSel = TRUE ) { ((SwInputWindow*)pWindow)->SetFormula( rFormula, bDelSel ); } - const SwView* GetView() const{return ((SwInputWindow*)pWindow)->GetView();} + const SwView* GetView() const{return ((SwInputWindow*)pWindow)->GetView();} }; |