diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-03-26 11:48:08 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-03-26 11:48:08 +0000 |
commit | 55d3c08df305694317e0a93aec9c23e92f914529 (patch) | |
tree | de96a211b6616535f717ba795240694ffcac1d44 | |
parent | 1f81ac42fa49a610eddbb8b069dc1ca02975e115 (diff) |
INTEGRATION: CWS tbe3 (1.25.14); FILE MERGED
2003/02/28 17:22:21 tbe 1.25.14.2: #103595# accessibility for dialog editor
2003/02/27 14:26:47 tbe 1.25.14.1: #103595# accessibility for dialog editor
-rw-r--r-- | basctl/source/basicide/baside3.cxx | 40 |
1 files changed, 32 insertions, 8 deletions
diff --git a/basctl/source/basicide/baside3.cxx b/basctl/source/basicide/baside3.cxx index 2a5c8f427358..eb7ef2511b97 100644 --- a/basctl/source/basicide/baside3.cxx +++ b/basctl/source/basicide/baside3.cxx @@ -2,9 +2,9 @@ * * $RCSfile: baside3.cxx,v $ * - * $Revision: 1.25 $ + * $Revision: 1.26 $ * - * last change: $Author: ab $ $Date: 2002-11-05 08:59:43 $ + * last change: $Author: vg $ $Date: 2003-03-26 12:48:08 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -78,15 +78,24 @@ #include <basidesh.hrc> #include <baside3.hxx> +#ifndef _BASCTL_ACCESSIBLEDIALOGWINDOW_HXX_ +#include <accessibledialogwindow.hxx> +#endif +#ifndef _BASCTL_DLGED_HXX #include <dlged.hxx> - -#ifndef _BASCTL_PROPBRW_HXX -#include <propbrw.hxx> #endif - +#ifndef _BASCTL_DLGEDMOD_HXX +#include <dlgedmod.hxx> +#endif +#ifndef _BASCTL_DLGEDVIEW_HXX +#include <dlgedview.hxx> +#endif #ifndef _BASCTL_DLGEDDEF_HXX #include <dlgeddef.hxx> #endif +#ifndef _BASCTL_PROPBRW_HXX +#include <propbrw.hxx> +#endif #include <basobj.hxx> #include <iderdll.hxx> @@ -689,9 +698,19 @@ void DialogWindow::UpdateBrowser() ((PropBrw*)(pChildWin->GetWindow()))->Update(GetEditor()->GetView()); } -SdrView* DialogWindow::GetView() const +DlgEdModel* DialogWindow::GetModel() const { - return GetEditor()->GetView(); + return pEditor ? pEditor->GetModel() : NULL; +} + +DlgEdPage* DialogWindow::GetPage() const +{ + return pEditor ? pEditor->GetPage() : NULL; +} + +DlgEdView* DialogWindow::GetView() const +{ + return pEditor ? pEditor->GetView() : NULL; } BOOL __EXPORT DialogWindow::IsModified() @@ -812,3 +831,8 @@ void DialogWindow::InitSettings(BOOL bFont,BOOL bForeground,BOOL bBackground) if( bBackground ) SetBackground( rStyleSettings.GetFieldColor() ); } + +::com::sun::star::uno::Reference< ::drafts::com::sun::star::accessibility::XAccessible > DialogWindow::CreateAccessible() +{ + return (::drafts::com::sun::star::accessibility::XAccessible*) new AccessibleDialogWindow( this ); +} |