Kaydet (Commit) ca2a68d9 authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

INTEGRATION: CWS uaa02 (1.7.180); FILE MERGED

2003/04/11 17:06:53 mt 1.7.180.1: #108656# Moved accessibility from drafts to final
üst cf7708a3
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: AccessibleParaManager.hxx,v $ * $RCSfile: AccessibleParaManager.hxx,v $
* *
* $Revision: 1.7 $ * $Revision: 1.8 $
* *
* last change: $Author: thb $ $Date: 2002-07-24 16:19:18 $ * last change: $Author: vg $ $Date: 2003-04-24 16:54:29 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -82,8 +82,8 @@ ...@@ -82,8 +82,8 @@
#include <cppuhelper/weakref.hxx> #include <cppuhelper/weakref.hxx>
#endif #endif
#ifndef _DRAFTS_COM_SUN_STAR_ACCESSIBILITY_XACCESSIBLECONTEXT_HPP_ #ifndef _COM_SUN_STAR_ACCESSIBILITY_XACCESSIBLECONTEXT_HPP_
#include <drafts/com/sun/star/accessibility/XAccessibleContext.hpp> #include <com/sun/star/accessibility/XAccessibleContext.hpp>
#endif #endif
class SvxEditSourceAdapter; class SvxEditSourceAdapter;
...@@ -192,10 +192,10 @@ namespace accessibility ...@@ -192,10 +192,10 @@ namespace accessibility
class AccessibleParaManager class AccessibleParaManager
{ {
public: public:
typedef WeakCppRef < ::drafts::com::sun::star::accessibility::XAccessible, AccessibleEditableTextPara > WeakPara; typedef WeakCppRef < ::com::sun::star::accessibility::XAccessible, AccessibleEditableTextPara > WeakPara;
typedef ::std::pair< WeakPara, ::com::sun::star::awt::Rectangle > WeakChild; typedef ::std::pair< WeakPara, ::com::sun::star::awt::Rectangle > WeakChild;
typedef ::std::pair< ::com::sun::star::uno::Reference< typedef ::std::pair< ::com::sun::star::uno::Reference<
::drafts::com::sun::star::accessibility::XAccessible > , ::com::sun::star::awt::Rectangle > Child; ::com::sun::star::accessibility::XAccessible > , ::com::sun::star::awt::Rectangle > Child;
typedef ::std::vector< WeakChild > VectorOfChildren; typedef ::std::vector< WeakChild > VectorOfChildren;
AccessibleParaManager(); AccessibleParaManager();
...@@ -233,7 +233,7 @@ namespace accessibility ...@@ -233,7 +233,7 @@ namespace accessibility
static void ShutdownPara( const WeakChild& rChild ); static void ShutdownPara( const WeakChild& rChild );
Child CreateChild( sal_Int32 nChild, Child CreateChild( sal_Int32 nChild,
const ::com::sun::star::uno::Reference< ::drafts::com::sun::star::accessibility::XAccessible >& xFrontEnd, const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >& xFrontEnd,
SvxEditSourceAdapter& rEditSource, SvxEditSourceAdapter& rEditSource,
sal_uInt32 nParagraphIndex ); sal_uInt32 nParagraphIndex );
...@@ -322,7 +322,7 @@ namespace accessibility ...@@ -322,7 +322,7 @@ namespace accessibility
template < typename Argument > class MemFunAdapter : public ::std::unary_function< const WeakChild&, void > template < typename Argument > class MemFunAdapter : public ::std::unary_function< const WeakChild&, void >
{ {
public: public:
typedef void (accessibility::AccessibleEditableTextPara::*FunctionPointer)( Argument ); typedef void (::accessibility::AccessibleEditableTextPara::*FunctionPointer)( Argument );
MemFunAdapter( FunctionPointer aFunPtr, Argument aArg ) : maFunPtr(aFunPtr), maArg(aArg) {} MemFunAdapter( FunctionPointer aFunPtr, Argument aArg ) : maFunPtr(aFunPtr), maArg(aArg) {}
void operator()( const WeakChild& rPara ) void operator()( const WeakChild& rPara )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment