diff options
Diffstat (limited to 'sw/source/ui/inc/pview.hxx')
-rw-r--r-- | sw/source/ui/inc/pview.hxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sw/source/ui/inc/pview.hxx b/sw/source/ui/inc/pview.hxx index a06e08285da5..42f32dc4b040 100644 --- a/sw/source/ui/inc/pview.hxx +++ b/sw/source/ui/inc/pview.hxx @@ -164,6 +164,9 @@ public: virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> CreateAccessible(); + //IAccessibility2 Implementation 2009----- + virtual void SwitchView(); + //-----IAccessibility2 Implementation 2009 }; @@ -175,7 +178,7 @@ class SW_DLLPUBLIC SwPagePreView: public SfxViewShell { // ViewWindow und Henkel zur Core // aktuelle Dispatcher-Shell - SwPagePreViewWin aViewWin; + SwPagePreViewWin* pViewWin;//IAccessibility2 Implementation 2009 //viewdata of the previous SwView and the new crsrposition String sSwViewData, //and the new cursor position if the user double click in the PagePreView @@ -250,11 +253,11 @@ public: SFX_DECL_INTERFACE(SW_PAGEPREVIEW) inline Window* GetFrameWindow() const { return &(GetViewFrame())->GetWindow(); } - inline ViewShell* GetViewShell() const { return aViewWin.GetViewShell(); } + inline ViewShell* GetViewShell() const { return pViewWin->GetViewShell(); } inline const Rectangle& GetVisArea() const { return aVisArea; } - inline void GrabFocusViewWin() { aViewWin.GrabFocus(); } + inline void GrabFocusViewWin() { pViewWin->GrabFocus(); } inline void RepaintCoreRect( const SwRect& rRect ) - { aViewWin.RepaintCoreRect( rRect ); } + { pViewWin->RepaintCoreRect( rRect ); } void DocSzChgd(const Size& rNewSize); const Size& GetDocSz() const { return aDocSz; } |