diff options
Diffstat (limited to 'starmath/inc/view.hxx')
-rw-r--r-- | starmath/inc/view.hxx | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/starmath/inc/view.hxx b/starmath/inc/view.hxx index cc13a35edf9f..925b2cc07e49 100644 --- a/starmath/inc/view.hxx +++ b/starmath/inc/view.hxx @@ -61,10 +61,10 @@ public: void ShowCursor(BOOL bShow); const SmNode * SetCursorPos(USHORT nRow, USHORT nCol); protected: - void SetIsCursorVisible(BOOL bVis) { bIsCursorVisible = bVis; } + void SetIsCursorVisible(BOOL bVis) { bIsCursorVisible = bVis; } using Window::SetCursor; void SetCursor(const SmNode *pNode); - void SetCursor(const Rectangle &rRect); + void SetCursor(const Rectangle &rRect); bool IsInlineEditEnabled() const; private: @@ -73,11 +73,11 @@ private: SmGraphicAccessible * pAccessible; SmViewShell *pViewShell; - USHORT nZoom; - short nModifyCount; + USHORT nZoom; + short nModifyCount; protected: - void SetFormulaDrawPos(const Point &rPos) { aFormulaDrawPos = rPos; } + void SetFormulaDrawPos(const Point &rPos) { aFormulaDrawPos = rPos; } virtual void DataChanged( const DataChangedEvent& ); virtual void Paint(const Rectangle&); @@ -125,8 +125,8 @@ protected: SmGraphicWindow &rGraphic; public: SmGraphicController(SmGraphicWindow &, USHORT, SfxBindings & ); - virtual void StateChanged(USHORT nSID, - SfxItemState eState, + virtual void StateChanged(USHORT nSID, + SfxItemState eState, const SfxPoolItem* pState); }; @@ -143,8 +143,8 @@ public: virtual ~SmEditController(); #endif - virtual void StateChanged(USHORT nSID, - SfxItemState eState, + virtual void StateChanged(USHORT nSID, + SfxItemState eState, const SfxPoolItem* pState); }; @@ -152,8 +152,8 @@ public: class SmCmdBoxWindow : public SfxDockingWindow { - SmEditWindow aEdit; - SmEditController aController; + SmEditWindow aEdit; + SmEditController aController; BOOL bExiting; Timer aInitialFocusTimer; @@ -172,12 +172,12 @@ protected : virtual SfxChildAlignment CheckAlignment(SfxChildAlignment eActual, SfxChildAlignment eWish); - virtual void ToggleFloatingMode(); + virtual void ToggleFloatingMode(); public: - SmCmdBoxWindow(SfxBindings *pBindings, + SmCmdBoxWindow(SfxBindings *pBindings, SfxChildWindow *pChildWindow, - Window *pParent); + Window *pParent); virtual ~SmCmdBoxWindow (); @@ -194,9 +194,9 @@ class SmCmdBoxWrapper : public SfxChildWindow SFX_DECL_CHILDWINDOW(SmCmdBoxWrapper); protected: - SmCmdBoxWrapper(Window *pParentWindow, - USHORT nId, - SfxBindings *pBindings, + SmCmdBoxWrapper(Window *pParentWindow, + USHORT nId, + SfxBindings *pBindings, SfxChildWinInfo *pInfo); #if OSL_DEBUG_LEVEL > 1 @@ -222,15 +222,15 @@ class SmViewShell: public SfxViewShell // for handling the PasteClipboardState friend class SmClipboardChangeListener; - SmGraphicWindow aGraphic; + SmGraphicWindow aGraphic; SmGraphicController aGraphicController; - String StatusText; + String StatusText; ::com::sun::star::uno:: Reference < ::com::sun::star::lang:: XEventListener > xClipEvtLstnr; - SmClipboardChangeListener* pClipEvtLstnr; + SmClipboardChangeListener* pClipEvtLstnr; SmViewShell_Impl* pImpl; - BOOL bPasteState; + BOOL bPasteState; DECL_LINK( DialogClosedHdl, sfx2::FileDialogHelper* ); virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); @@ -246,14 +246,14 @@ protected: const String& rLine); Size GetTextSize(OutputDevice& rDevice, const String& rText, - long MaxWidth); + long MaxWidth); void DrawTextLine(OutputDevice& rDevice, - const Point& rPosition, + const Point& rPosition, const String& rLine); void DrawText(OutputDevice& rDevice, - const Point& rPosition, + const Point& rPosition, const String& rText, - USHORT MaxWidth); + USHORT MaxWidth); virtual USHORT Print(SfxProgress &rProgress, BOOL bIsAPI, PrintDialog *pPrintDialog = 0); virtual SfxPrinter *GetPrinter(BOOL bCreate = FALSE); @@ -263,7 +263,7 @@ protected: BOOL Insert( SfxMedium& rMedium ); BOOL InsertFrom(SfxMedium &rMedium); - virtual SfxTabPage *CreatePrintOptionsPage(Window *pParent, + virtual SfxTabPage *CreatePrintOptionsPage(Window *pParent, const SfxItemSet &rOptions); virtual void Deactivate(BOOL IsMDIActivate); virtual void Activate(BOOL IsMDIActivate); @@ -286,14 +286,14 @@ public: } SmEditWindow * GetEditWindow(); - SmGraphicWindow & GetGraphicWindow() { return aGraphic; } + SmGraphicWindow & GetGraphicWindow() { return aGraphic; } const SmGraphicWindow & GetGraphicWindow() const { return aGraphic; } - void SetStatusText(const String& Text); + void SetStatusText(const String& Text); - void ShowError( const SmErrorDesc *pErrorDesc ); - void NextError(); - void PrevError(); + void ShowError( const SmErrorDesc *pErrorDesc ); + void NextError(); + void PrevError(); SFX_DECL_INTERFACE(SFX_INTERFACE_SMA_START+2) SFX_DECL_VIEWFACTORY(SmViewShell); |