diff options
author | Michael Brauer <mib@openoffice.org> | 2002-08-15 09:25:23 +0000 |
---|---|---|
committer | Michael Brauer <mib@openoffice.org> | 2002-08-15 09:25:23 +0000 |
commit | f28e2c8e2728972126b1930ced0d9a28e3be3565 (patch) | |
tree | 6c20e390a6600795f0a50a8078a28324ce1d5597 | |
parent | 96d5567e2f9cc64f2307886afec73d2ed975c268 (diff) |
#102308#: getImplementationId was missing
22 files changed, 222 insertions, 47 deletions
diff --git a/sw/source/core/access/acccell.cxx b/sw/source/core/access/acccell.cxx index b66b572f0cb9..6105c71d59e2 100644 --- a/sw/source/core/access/acccell.cxx +++ b/sw/source/core/access/acccell.cxx @@ -2,9 +2,9 @@ * * $RCSfile: acccell.cxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: mib $ $Date: 2002-08-07 13:32:16 $ + * last change: $Author: mib $ $Date: 2002-08-15 10:25:05 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -85,6 +85,9 @@ #ifndef _COM_SUN_STAR_UNO_RUNTIMEEXCEPTION_HPP_ #include <com/sun/star/uno/RuntimeException.hpp> #endif +#ifndef _RTL_UUID_H_ +#include <rtl/uuid.h> +#endif #ifndef _SV_SVAPP_HXX //autogen #include <vcl/svapp.hxx> #endif @@ -374,7 +377,16 @@ Sequence< Type > SAL_CALL SwAccessibleCell::getTypes() throw(RuntimeException) return aTypes; } - +Sequence< sal_Int8 > SAL_CALL SwAccessibleCell::getImplementationId() + throw(RuntimeException) +{ + static Sequence< sal_Int8 > aId( 16 ); + static sal_Bool bInit = sal_False; + if(!bInit) + rtl_createUuid( reinterpret_cast< sal_uInt8 * >(aId.getArray() ), + 0, sal_True ); + return aId; +} // ===== XAccessibleValue =============================================== diff --git a/sw/source/core/access/acccell.hxx b/sw/source/core/access/acccell.hxx index 8c4d605ca3a3..87466db43120 100644 --- a/sw/source/core/access/acccell.hxx +++ b/sw/source/core/access/acccell.hxx @@ -2,9 +2,9 @@ * * $RCSfile: acccell.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: mib $ $Date: 2002-08-07 13:32:16 $ + * last change: $Author: mib $ $Date: 2002-08-15 10:25:05 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -152,6 +152,7 @@ public: //====== XTypeProvider ==================================================== virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw(::com::sun::star::uno::RuntimeException); + virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException); //===== XAccessibleValue ================================================ diff --git a/sw/source/core/access/accdoc.cxx b/sw/source/core/access/accdoc.cxx index 5bcb567a912d..3abf2111619a 100644 --- a/sw/source/core/access/accdoc.cxx +++ b/sw/source/core/access/accdoc.cxx @@ -2,9 +2,9 @@ * * $RCSfile: accdoc.cxx,v $ * - * $Revision: 1.17 $ + * $Revision: 1.18 $ * - * last change: $Author: mib $ $Date: 2002-08-07 13:32:16 $ + * last change: $Author: mib $ $Date: 2002-08-15 10:25:06 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -95,6 +95,9 @@ #include <sfx2/viewsh.hxx> #endif +#ifndef _RTL_UUID_H_ +#include <rtl/uuid.h> +#endif #ifndef _VOS_MUTEX_HXX_ //autogen #include <vos/mutex.hxx> #endif @@ -507,6 +510,17 @@ Sequence< Type > SAL_CALL SwAccessibleDocument::getTypes() throw(RuntimeExceptio return aTypes; } +Sequence< sal_Int8 > SAL_CALL SwAccessibleDocument::getImplementationId() + throw(RuntimeException) +{ + static Sequence< sal_Int8 > aId( 16 ); + static sal_Bool bInit = sal_False; + if(!bInit) + rtl_createUuid( reinterpret_cast< sal_uInt8 * >(aId.getArray() ), + 0, sal_True ); + return aId; +} + //===== XAccessibleSelection ============================================ void SwAccessibleDocument::selectAccessibleChild( diff --git a/sw/source/core/access/accdoc.hxx b/sw/source/core/access/accdoc.hxx index e81b359df43b..9988cb74180a 100644 --- a/sw/source/core/access/accdoc.hxx +++ b/sw/source/core/access/accdoc.hxx @@ -2,9 +2,9 @@ * * $RCSfile: accdoc.hxx,v $ * - * $Revision: 1.13 $ + * $Revision: 1.14 $ * - * last change: $Author: mib $ $Date: 2002-08-07 13:32:16 $ + * last change: $Author: mib $ $Date: 2002-08-15 10:25:07 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -217,7 +217,7 @@ public: //====== XTypeProvider ==================================================== virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw(::com::sun::star::uno::RuntimeException); - + virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException); //===== XAccessibleSelection ============================================ diff --git a/sw/source/core/access/accembedded.cxx b/sw/source/core/access/accembedded.cxx index 160fb29e0e18..53acc19460d6 100644 --- a/sw/source/core/access/accembedded.cxx +++ b/sw/source/core/access/accembedded.cxx @@ -2,9 +2,9 @@ * * $RCSfile: accembedded.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: mib $ $Date: 2002-07-09 12:51:27 $ + * last change: $Author: mib $ $Date: 2002-08-15 10:25:08 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -72,6 +72,9 @@ #ifndef _COM_SUN_STAR_UNO_RUNTIMEEXCEPTION_HPP_ #include <com/sun/star/uno/RuntimeException.hpp> #endif +#ifndef _RTL_UUID_H_ +#include <rtl/uuid.h> +#endif #ifndef _FLYFRM_HXX #include <flyfrm.hxx> #endif @@ -124,3 +127,15 @@ Sequence< OUString > SAL_CALL SwAccessibleEmbeddedObject::getSupportedServiceNam pArray[1] = OUString( RTL_CONSTASCII_USTRINGPARAM(sAccessibleServiceName) ); return aRet; } + + +Sequence< sal_Int8 > SAL_CALL SwAccessibleEmbeddedObject::getImplementationId() + throw(RuntimeException) +{ + static Sequence< sal_Int8 > aId( 16 ); + static sal_Bool bInit = sal_False; + if(!bInit) + rtl_createUuid( reinterpret_cast< sal_uInt8 * >(aId.getArray() ), + 0, sal_True ); + return aId; +} diff --git a/sw/source/core/access/accembedded.hxx b/sw/source/core/access/accembedded.hxx index 6f23c98e1957..a5ab7df5e2c5 100644 --- a/sw/source/core/access/accembedded.hxx +++ b/sw/source/core/access/accembedded.hxx @@ -2,9 +2,9 @@ * * $RCSfile: accembedded.hxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: mib $ $Date: 2002-04-05 12:04:13 $ + * last change: $Author: mib $ $Date: 2002-08-15 10:25:09 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -102,6 +102,9 @@ public: virtual ::com::sun::star::uno::Sequence< ::rtl::OUString> SAL_CALL getSupportedServiceNames (void) throw (::com::sun::star::uno::RuntimeException); + + //===== XTypeProvider ==================================================== + virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException); }; diff --git a/sw/source/core/access/accfootnote.cxx b/sw/source/core/access/accfootnote.cxx index c9d6dbaadacb..a87a48670995 100644 --- a/sw/source/core/access/accfootnote.cxx +++ b/sw/source/core/access/accfootnote.cxx @@ -2,9 +2,9 @@ * * $RCSfile: accfootnote.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: mib $ $Date: 2002-07-10 16:53:32 $ + * last change: $Author: mib $ $Date: 2002-08-15 10:25:10 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -82,6 +82,9 @@ #ifndef _COM_SUN_STAR_UNO_RUNTIMEEXCEPTION_HPP_ #include <com/sun/star/uno/RuntimeException.hpp> #endif +#ifndef _RTL_UUID_H_ +#include <rtl/uuid.h> +#endif #ifndef _SV_SVAPP_HXX //autogen #include <vcl/svapp.hxx> #endif @@ -207,6 +210,17 @@ Sequence< OUString > SAL_CALL SwAccessibleFootnote::getSupportedServiceNames() return aRet; } +Sequence< sal_Int8 > SAL_CALL SwAccessibleFootnote::getImplementationId() + throw(RuntimeException) +{ + static Sequence< sal_Int8 > aId( 16 ); + static sal_Bool bInit = sal_False; + if(!bInit) + rtl_createUuid( reinterpret_cast< sal_uInt8 * >(aId.getArray() ), + 0, sal_True ); + return aId; +} + sal_Bool SwAccessibleFootnote::IsEndnote( const SwFtnFrm *pFtnFrm ) { const SwTxtFtn *pTxtFtn = pFtnFrm ->GetAttr(); diff --git a/sw/source/core/access/accfootnote.hxx b/sw/source/core/access/accfootnote.hxx index 57346dadc610..4afc71e9915f 100644 --- a/sw/source/core/access/accfootnote.hxx +++ b/sw/source/core/access/accfootnote.hxx @@ -2,9 +2,9 @@ * * $RCSfile: accfootnote.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: mib $ $Date: 2002-07-10 16:53:32 $ + * last change: $Author: mib $ $Date: 2002-08-15 10:25:11 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -114,6 +114,9 @@ public: getSupportedServiceNames (void) throw (::com::sun::star::uno::RuntimeException); + //===== XTypeProvider ==================================================== + virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException); + static sal_Bool IsEndnote( const SwFtnFrm *pFrm ); }; diff --git a/sw/source/core/access/accgraphic.cxx b/sw/source/core/access/accgraphic.cxx index e6d8d5218e1f..f958e8828fc6 100644 --- a/sw/source/core/access/accgraphic.cxx +++ b/sw/source/core/access/accgraphic.cxx @@ -2,9 +2,9 @@ * * $RCSfile: accgraphic.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: mib $ $Date: 2002-07-09 12:51:28 $ + * last change: $Author: mib $ $Date: 2002-08-15 10:25:12 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -72,6 +72,9 @@ #ifndef _COM_SUN_STAR_UNO_RUNTIMEEXCEPTION_HPP_ #include <com/sun/star/uno/RuntimeException.hpp> #endif +#ifndef _RTL_UUID_H_ +#include <rtl/uuid.h> +#endif #ifndef _FLYFRM_HXX #include <flyfrm.hxx> #endif @@ -124,3 +127,14 @@ Sequence< OUString > SAL_CALL SwAccessibleGraphic::getSupportedServiceNames() pArray[1] = OUString( RTL_CONSTASCII_USTRINGPARAM(sAccessibleServiceName) ); return aRet; } + +Sequence< sal_Int8 > SAL_CALL SwAccessibleGraphic::getImplementationId() + throw(RuntimeException) +{ + static Sequence< sal_Int8 > aId( 16 ); + static sal_Bool bInit = sal_False; + if(!bInit) + rtl_createUuid( reinterpret_cast< sal_uInt8 * >(aId.getArray() ), + 0, sal_True ); + return aId; +} diff --git a/sw/source/core/access/accgraphic.hxx b/sw/source/core/access/accgraphic.hxx index 6fb8d51c204f..ecf167711245 100644 --- a/sw/source/core/access/accgraphic.hxx +++ b/sw/source/core/access/accgraphic.hxx @@ -2,9 +2,9 @@ * * $RCSfile: accgraphic.hxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: mib $ $Date: 2002-04-05 12:06:38 $ + * last change: $Author: mib $ $Date: 2002-08-15 10:25:13 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -102,6 +102,9 @@ public: virtual ::com::sun::star::uno::Sequence< ::rtl::OUString> SAL_CALL getSupportedServiceNames (void) throw (::com::sun::star::uno::RuntimeException); + + //===== XTypeProvider ==================================================== + virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException); }; diff --git a/sw/source/core/access/accheaderfooter.cxx b/sw/source/core/access/accheaderfooter.cxx index 13b990ab1aac..0cc69441a9e4 100644 --- a/sw/source/core/access/accheaderfooter.cxx +++ b/sw/source/core/access/accheaderfooter.cxx @@ -2,9 +2,9 @@ * * $RCSfile: accheaderfooter.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: mib $ $Date: 2002-07-10 16:53:33 $ + * last change: $Author: mib $ $Date: 2002-08-15 10:25:15 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -82,6 +82,9 @@ #ifndef _COM_SUN_STAR_UNO_RUNTIMEEXCEPTION_HPP_ #include <com/sun/star/uno/RuntimeException.hpp> #endif +#ifndef _RTL_UUID_H_ +#include <rtl/uuid.h> +#endif #ifndef _SV_SVAPP_HXX //autogen #include <vcl/svapp.hxx> #endif @@ -183,3 +186,14 @@ Sequence< OUString > SAL_CALL SwAccessibleHeaderFooter::getSupportedServiceNames pArray[1] = OUString( RTL_CONSTASCII_USTRINGPARAM(sAccessibleServiceName) ); return aRet; } + +Sequence< sal_Int8 > SAL_CALL SwAccessibleHeaderFooter::getImplementationId() + throw(RuntimeException) +{ + static Sequence< sal_Int8 > aId( 16 ); + static sal_Bool bInit = sal_False; + if(!bInit) + rtl_createUuid( reinterpret_cast< sal_uInt8 * >(aId.getArray() ), + 0, sal_True ); + return aId; +} diff --git a/sw/source/core/access/accheaderfooter.hxx b/sw/source/core/access/accheaderfooter.hxx index 857c3c593633..1324c37b5071 100644 --- a/sw/source/core/access/accheaderfooter.hxx +++ b/sw/source/core/access/accheaderfooter.hxx @@ -2,9 +2,9 @@ * * $RCSfile: accheaderfooter.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: mib $ $Date: 2002-07-10 16:53:33 $ + * last change: $Author: mib $ $Date: 2002-08-15 10:25:16 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -114,6 +114,9 @@ public: virtual ::com::sun::star::uno::Sequence< ::rtl::OUString> SAL_CALL getSupportedServiceNames (void) throw (::com::sun::star::uno::RuntimeException); + + //===== XTypeProvider ==================================================== + virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException); }; diff --git a/sw/source/core/access/accpage.cxx b/sw/source/core/access/accpage.cxx index 51af1d72d17e..4206df8ffa6c 100644 --- a/sw/source/core/access/accpage.cxx +++ b/sw/source/core/access/accpage.cxx @@ -2,9 +2,9 @@ * * $RCSfile: accpage.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: mib $ $Date: 2002-07-10 16:53:34 $ + * last change: $Author: mib $ $Date: 2002-08-15 10:25:16 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -65,6 +65,9 @@ #pragma hdrstop +#ifndef _RTL_UUID_H_ +#include <rtl/uuid.h> +#endif #ifndef _SV_WINDOW_HXX #include <vcl/window.hxx> #endif @@ -240,6 +243,17 @@ Sequence<OUString> SwAccessiblePage::getSupportedServiceNames( ) return aRet; } +Sequence< sal_Int8 > SAL_CALL SwAccessiblePage::getImplementationId() + throw(RuntimeException) +{ + static Sequence< sal_Int8 > aId( 16 ); + static sal_Bool bInit = sal_False; + if(!bInit) + rtl_createUuid( reinterpret_cast< sal_uInt8 * >(aId.getArray() ), + 0, sal_True ); + return aId; +} + OUString SwAccessiblePage::getAccessibleDescription( ) throw( RuntimeException ) { diff --git a/sw/source/core/access/accpage.hxx b/sw/source/core/access/accpage.hxx index 4ae3b2779ff0..f2d78c0ac3fb 100644 --- a/sw/source/core/access/accpage.hxx +++ b/sw/source/core/access/accpage.hxx @@ -2,9 +2,9 @@ * * $RCSfile: accpage.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: mib $ $Date: 2002-07-10 16:53:34 $ + * last change: $Author: mib $ $Date: 2002-08-15 10:25:16 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -124,6 +124,9 @@ public: getSupportedServiceNames (void) throw (::com::sun::star::uno::RuntimeException); + //===== XTypeProvider ==================================================== + virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException); + virtual sal_Bool HasCursor(); // required by map to remember that object }; diff --git a/sw/source/core/access/accpara.cxx b/sw/source/core/access/accpara.cxx index 9abc2c82118b..ed44e93ea2db 100644 --- a/sw/source/core/access/accpara.cxx +++ b/sw/source/core/access/accpara.cxx @@ -2,9 +2,9 @@ * * $RCSfile: accpara.cxx,v $ * - * $Revision: 1.44 $ + * $Revision: 1.45 $ * - * last change: $Author: mib $ $Date: 2002-08-15 09:30:32 $ + * last change: $Author: mib $ $Date: 2002-08-15 10:25:17 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -89,6 +89,9 @@ #ifndef _VIEWOPT_HXX #include <viewopt.hxx> #endif +#ifndef _RTL_UUID_H_ +#include <rtl/uuid.h> +#endif #ifndef _VOS_MUTEX_HXX_ //autogen #include <vos/mutex.hxx> #endif @@ -1089,6 +1092,16 @@ Sequence< Type > SAL_CALL SwAccessibleParagraph::getTypes() throw(RuntimeExcepti return aTypes; } +Sequence< sal_Int8 > SAL_CALL SwAccessibleParagraph::getImplementationId() + throw(RuntimeException) +{ + static Sequence< sal_Int8 > aId( 16 ); + static sal_Bool bInit = sal_False; + if(!bInit) + rtl_createUuid( reinterpret_cast< sal_uInt8 * >(aId.getArray() ), + 0, sal_True ); + return aId; +} // diff --git a/sw/source/core/access/accpara.hxx b/sw/source/core/access/accpara.hxx index 419673aa7b83..991d9214ac0b 100644 --- a/sw/source/core/access/accpara.hxx +++ b/sw/source/core/access/accpara.hxx @@ -2,9 +2,9 @@ * * $RCSfile: accpara.hxx,v $ * - * $Revision: 1.27 $ + * $Revision: 1.28 $ * - * last change: $Author: mib $ $Date: 2002-08-07 13:32:17 $ + * last change: $Author: mib $ $Date: 2002-08-15 10:25:18 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -306,6 +306,7 @@ public: //====== XTypeProvider ==================================================== virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw(::com::sun::star::uno::RuntimeException); + virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException); //===== XAccesibleText ================================================== virtual sal_Int32 SAL_CALL getCaretPosition( ) throw (::com::sun::star::uno::RuntimeException); diff --git a/sw/source/core/access/accpreview.cxx b/sw/source/core/access/accpreview.cxx index b5872f06598d..89acf5d63ad4 100644 --- a/sw/source/core/access/accpreview.cxx +++ b/sw/source/core/access/accpreview.cxx @@ -2,9 +2,9 @@ * * $RCSfile: accpreview.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: mib $ $Date: 2002-07-10 16:53:35 $ + * last change: $Author: mib $ $Date: 2002-08-15 10:25:19 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -65,6 +65,9 @@ #pragma hdrstop +#ifndef _RTL_UUID_H_ +#include <rtl/uuid.h> +#endif #ifndef _ACCESS_HRC #include "access.hrc" #endif @@ -124,3 +127,14 @@ Sequence<OUString> SwAccessiblePreview::getSupportedServiceNames( ) aSeq[1] = OUString( RTL_CONSTASCII_USTRINGPARAM( sAccessibleServiceName ) ); return aSeq; } + +Sequence< sal_Int8 > SAL_CALL SwAccessiblePreview::getImplementationId() + throw(RuntimeException) +{ + static Sequence< sal_Int8 > aId( 16 ); + static sal_Bool bInit = sal_False; + if(!bInit) + rtl_createUuid( reinterpret_cast< sal_uInt8 * >(aId.getArray() ), + 0, sal_True ); + return aId; +} diff --git a/sw/source/core/access/accpreview.hxx b/sw/source/core/access/accpreview.hxx index e5dcdc854aa6..d9d52780d7c9 100644 --- a/sw/source/core/access/accpreview.hxx +++ b/sw/source/core/access/accpreview.hxx @@ -2,9 +2,9 @@ * * $RCSfile: accpreview.hxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: dvo $ $Date: 2002-05-22 11:38:22 $ + * last change: $Author: mib $ $Date: 2002-08-15 10:25:19 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -103,6 +103,9 @@ public: virtual ::com::sun::star::uno::Sequence< ::rtl::OUString> SAL_CALL getSupportedServiceNames (void) throw (::com::sun::star::uno::RuntimeException); + + //====== XTypeProvider ==================================================== + virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException); }; #endif diff --git a/sw/source/core/access/acctable.cxx b/sw/source/core/access/acctable.cxx index 7c6f36377013..bbfaea9e01d8 100644 --- a/sw/source/core/access/acctable.cxx +++ b/sw/source/core/access/acctable.cxx @@ -2,9 +2,9 @@ * * $RCSfile: acctable.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: mib $ $Date: 2002-08-15 09:30:32 $ + * last change: $Author: mib $ $Date: 2002-08-15 10:25:20 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -68,6 +68,9 @@ #ifndef _VOS_MUTEX_HXX_ //autogen #include <vos/mutex.hxx> #endif +#ifndef _RTL_UUID_H_ +#include <rtl/uuid.h> +#endif #ifndef _RTL_USTRBUF_HXX_ #include <rtl/ustrbuf.hxx> #endif @@ -910,6 +913,17 @@ Sequence< ::com::sun::star::uno::Type > SAL_CALL SwAccessibleTable::getTypes() t return aTypes; } +Sequence< sal_Int8 > SAL_CALL SwAccessibleTable::getImplementationId() + throw(RuntimeException) +{ + static Sequence< sal_Int8 > aId( 16 ); + static sal_Bool bInit = sal_False; + if(!bInit) + rtl_createUuid( reinterpret_cast< sal_uInt8 * >(aId.getArray() ), + 0, sal_True ); + return aId; +} + void SwAccessibleTable::UpdateTableData() { diff --git a/sw/source/core/access/acctable.hxx b/sw/source/core/access/acctable.hxx index 26deb7df6ec7..fc8840244695 100644 --- a/sw/source/core/access/acctable.hxx +++ b/sw/source/core/access/acctable.hxx @@ -2,9 +2,9 @@ * * $RCSfile: acctable.hxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: mib $ $Date: 2002-08-15 09:30:33 $ + * last change: $Author: mib $ $Date: 2002-08-15 10:25:21 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -145,7 +145,7 @@ public: //====== XTypeProvider ==================================================== virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw(::com::sun::star::uno::RuntimeException); - + virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException); //===== XAccessibleContext ============================================== diff --git a/sw/source/core/access/acctextframe.cxx b/sw/source/core/access/acctextframe.cxx index e42973d22d19..acb0b890cca1 100644 --- a/sw/source/core/access/acctextframe.cxx +++ b/sw/source/core/access/acctextframe.cxx @@ -2,9 +2,9 @@ * * $RCSfile: acctextframe.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: mib $ $Date: 2002-07-24 13:14:55 $ + * last change: $Author: mib $ $Date: 2002-08-15 10:25:22 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -65,6 +65,9 @@ #pragma hdrstop +#ifndef _RTL_UUID_H_ +#include <rtl/uuid.h> +#endif #ifndef _VOS_MUTEX_HXX_ //autogen #include <vos/mutex.hxx> #endif @@ -200,6 +203,17 @@ Sequence< OUString > SAL_CALL SwAccessibleTextFrame::getSupportedServiceNames() return aRet; } +Sequence< sal_Int8 > SAL_CALL SwAccessibleTextFrame::getImplementationId() + throw(RuntimeException) +{ + static Sequence< sal_Int8 > aId( 16 ); + static sal_Bool bInit = sal_False; + if(!bInit) + rtl_createUuid( reinterpret_cast< sal_uInt8 * >(aId.getArray() ), + 0, sal_True ); + return aId; +} + // // XAccessibleRelationSet diff --git a/sw/source/core/access/acctextframe.hxx b/sw/source/core/access/acctextframe.hxx index 4db7fa1e4715..c5730ffb86a5 100644 --- a/sw/source/core/access/acctextframe.hxx +++ b/sw/source/core/access/acctextframe.hxx @@ -2,9 +2,9 @@ * * $RCSfile: acctextframe.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: mib $ $Date: 2002-07-24 13:14:57 $ + * last change: $Author: mib $ $Date: 2002-08-15 10:25:23 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -117,6 +117,9 @@ public: getSupportedServiceNames (void) throw (::com::sun::star::uno::RuntimeException); + //====== XTypeProvider ==================================================== + virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException); + //===== XAccessibleContext::getAccessibleRelationSet ==================== |