1*cdf0e10cSrcweir /************************************************************************* 2*cdf0e10cSrcweir * 3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir * 5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 6*cdf0e10cSrcweir * 7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * This file is part of OpenOffice.org. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir * 21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir * 26*cdf0e10cSrcweir ************************************************************************/ 27*cdf0e10cSrcweir 28*cdf0e10cSrcweir #ifndef _NUMFMUNO_HXX 29*cdf0e10cSrcweir #define _NUMFMUNO_HXX 30*cdf0e10cSrcweir 31*cdf0e10cSrcweir #include <com/sun/star/util/XNumberFormatter.hpp> 32*cdf0e10cSrcweir #include <com/sun/star/util/XNumberFormatPreviewer.hpp> 33*cdf0e10cSrcweir #include <com/sun/star/util/XNumberFormats.hpp> 34*cdf0e10cSrcweir #include <com/sun/star/util/XNumberFormatTypes.hpp> 35*cdf0e10cSrcweir #include <com/sun/star/lang/XServiceInfo.hpp> 36*cdf0e10cSrcweir #include <com/sun/star/beans/XPropertyAccess.hpp> 37*cdf0e10cSrcweir #include <cppuhelper/implbase2.hxx> 38*cdf0e10cSrcweir #include <cppuhelper/implbase3.hxx> 39*cdf0e10cSrcweir #include <comphelper/sharedmutex.hxx> 40*cdf0e10cSrcweir #include <rtl/ref.hxx> 41*cdf0e10cSrcweir 42*cdf0e10cSrcweir class SvNumberformat; 43*cdf0e10cSrcweir class SvNumberFormatter; 44*cdf0e10cSrcweir class SvNumberFormatsSupplierObj; 45*cdf0e10cSrcweir 46*cdf0e10cSrcweir 47*cdf0e10cSrcweir // SvNumberFormatterServiceObj wird global als Service angemeldet 48*cdf0e10cSrcweir 49*cdf0e10cSrcweir class SvNumberFormatterServiceObj : public cppu::WeakImplHelper3< 50*cdf0e10cSrcweir com::sun::star::util::XNumberFormatter, 51*cdf0e10cSrcweir com::sun::star::util::XNumberFormatPreviewer, 52*cdf0e10cSrcweir com::sun::star::lang::XServiceInfo> 53*cdf0e10cSrcweir { 54*cdf0e10cSrcweir private: 55*cdf0e10cSrcweir ::rtl::Reference< SvNumberFormatsSupplierObj > xSupplier; 56*cdf0e10cSrcweir mutable ::comphelper::SharedMutex m_aMutex; 57*cdf0e10cSrcweir 58*cdf0e10cSrcweir public: 59*cdf0e10cSrcweir SvNumberFormatterServiceObj(); 60*cdf0e10cSrcweir virtual ~SvNumberFormatterServiceObj(); 61*cdf0e10cSrcweir 62*cdf0e10cSrcweir // XNumberFormatter 63*cdf0e10cSrcweir virtual void SAL_CALL attachNumberFormatsSupplier( 64*cdf0e10cSrcweir const ::com::sun::star::uno::Reference< 65*cdf0e10cSrcweir ::com::sun::star::util::XNumberFormatsSupplier >& xSupplier ) 66*cdf0e10cSrcweir throw(::com::sun::star::uno::RuntimeException); 67*cdf0e10cSrcweir virtual ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatsSupplier > 68*cdf0e10cSrcweir SAL_CALL getNumberFormatsSupplier() 69*cdf0e10cSrcweir throw(::com::sun::star::uno::RuntimeException); 70*cdf0e10cSrcweir virtual sal_Int32 SAL_CALL detectNumberFormat( sal_Int32 nKey, const ::rtl::OUString& aString ) 71*cdf0e10cSrcweir throw(::com::sun::star::util::NotNumericException, 72*cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 73*cdf0e10cSrcweir virtual double SAL_CALL convertStringToNumber( sal_Int32 nKey, const ::rtl::OUString& aString ) 74*cdf0e10cSrcweir throw(::com::sun::star::util::NotNumericException, 75*cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 76*cdf0e10cSrcweir virtual ::rtl::OUString SAL_CALL convertNumberToString( sal_Int32 nKey, double fValue ) 77*cdf0e10cSrcweir throw(::com::sun::star::uno::RuntimeException); 78*cdf0e10cSrcweir virtual ::com::sun::star::util::Color SAL_CALL queryColorForNumber( sal_Int32 nKey, 79*cdf0e10cSrcweir double fValue, ::com::sun::star::util::Color aDefaultColor ) 80*cdf0e10cSrcweir throw(::com::sun::star::uno::RuntimeException); 81*cdf0e10cSrcweir virtual ::rtl::OUString SAL_CALL formatString( sal_Int32 nKey, const ::rtl::OUString& aString ) 82*cdf0e10cSrcweir throw(::com::sun::star::uno::RuntimeException); 83*cdf0e10cSrcweir virtual ::com::sun::star::util::Color SAL_CALL queryColorForString( sal_Int32 nKey, 84*cdf0e10cSrcweir const ::rtl::OUString& aString, 85*cdf0e10cSrcweir ::com::sun::star::util::Color aDefaultColor ) 86*cdf0e10cSrcweir throw(::com::sun::star::uno::RuntimeException); 87*cdf0e10cSrcweir virtual ::rtl::OUString SAL_CALL getInputString( sal_Int32 nKey, double fValue ) 88*cdf0e10cSrcweir throw(::com::sun::star::uno::RuntimeException); 89*cdf0e10cSrcweir 90*cdf0e10cSrcweir // XNumberFormatPreviewer 91*cdf0e10cSrcweir virtual ::rtl::OUString SAL_CALL convertNumberToPreviewString( 92*cdf0e10cSrcweir const ::rtl::OUString& aFormat, double fValue, 93*cdf0e10cSrcweir const ::com::sun::star::lang::Locale& nLocale, sal_Bool bAllowEnglish ) 94*cdf0e10cSrcweir throw(::com::sun::star::util::MalformedNumberFormatException, 95*cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 96*cdf0e10cSrcweir virtual ::com::sun::star::util::Color SAL_CALL queryPreviewColorForNumber( 97*cdf0e10cSrcweir const ::rtl::OUString& aFormat, double fValue, 98*cdf0e10cSrcweir const ::com::sun::star::lang::Locale& nLocale, sal_Bool bAllowEnglish, 99*cdf0e10cSrcweir ::com::sun::star::util::Color aDefaultColor ) 100*cdf0e10cSrcweir throw(::com::sun::star::util::MalformedNumberFormatException, 101*cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 102*cdf0e10cSrcweir 103*cdf0e10cSrcweir // XServiceInfo 104*cdf0e10cSrcweir virtual ::rtl::OUString SAL_CALL getImplementationName( ) 105*cdf0e10cSrcweir throw(::com::sun::star::uno::RuntimeException); 106*cdf0e10cSrcweir virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName ) 107*cdf0e10cSrcweir throw(::com::sun::star::uno::RuntimeException); 108*cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames() 109*cdf0e10cSrcweir throw(::com::sun::star::uno::RuntimeException); 110*cdf0e10cSrcweir }; 111*cdf0e10cSrcweir 112*cdf0e10cSrcweir 113*cdf0e10cSrcweir class SvNumberFormatsObj : public cppu::WeakImplHelper3< 114*cdf0e10cSrcweir com::sun::star::util::XNumberFormats, 115*cdf0e10cSrcweir com::sun::star::util::XNumberFormatTypes, 116*cdf0e10cSrcweir com::sun::star::lang::XServiceInfo> 117*cdf0e10cSrcweir { 118*cdf0e10cSrcweir private: 119*cdf0e10cSrcweir SvNumberFormatsSupplierObj& rSupplier; 120*cdf0e10cSrcweir mutable ::comphelper::SharedMutex m_aMutex; 121*cdf0e10cSrcweir 122*cdf0e10cSrcweir public: 123*cdf0e10cSrcweir SvNumberFormatsObj(SvNumberFormatsSupplierObj& pParent, ::comphelper::SharedMutex& _rMutex); 124*cdf0e10cSrcweir virtual ~SvNumberFormatsObj(); 125*cdf0e10cSrcweir 126*cdf0e10cSrcweir 127*cdf0e10cSrcweir // XNumberFormats 128*cdf0e10cSrcweir virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL 129*cdf0e10cSrcweir getByKey( sal_Int32 nKey ) throw(::com::sun::star::uno::RuntimeException); 130*cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< sal_Int32 > SAL_CALL queryKeys( sal_Int16 nType, 131*cdf0e10cSrcweir const ::com::sun::star::lang::Locale& nLocale, sal_Bool bCreate ) 132*cdf0e10cSrcweir throw(::com::sun::star::uno::RuntimeException); 133*cdf0e10cSrcweir virtual sal_Int32 SAL_CALL queryKey( const ::rtl::OUString& aFormat, 134*cdf0e10cSrcweir const ::com::sun::star::lang::Locale& nLocale, sal_Bool bScan ) 135*cdf0e10cSrcweir throw(::com::sun::star::uno::RuntimeException); 136*cdf0e10cSrcweir virtual sal_Int32 SAL_CALL addNew( const ::rtl::OUString& aFormat, 137*cdf0e10cSrcweir const ::com::sun::star::lang::Locale& nLocale ) 138*cdf0e10cSrcweir throw(::com::sun::star::util::MalformedNumberFormatException, 139*cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 140*cdf0e10cSrcweir virtual sal_Int32 SAL_CALL addNewConverted( const ::rtl::OUString& aFormat, 141*cdf0e10cSrcweir const ::com::sun::star::lang::Locale& nLocale, 142*cdf0e10cSrcweir const ::com::sun::star::lang::Locale& nNewLocale ) 143*cdf0e10cSrcweir throw(::com::sun::star::util::MalformedNumberFormatException, 144*cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 145*cdf0e10cSrcweir virtual void SAL_CALL removeByKey( sal_Int32 nKey ) throw(::com::sun::star::uno::RuntimeException); 146*cdf0e10cSrcweir virtual ::rtl::OUString SAL_CALL generateFormat( sal_Int32 nBaseKey, 147*cdf0e10cSrcweir const ::com::sun::star::lang::Locale& nLocale, sal_Bool bThousands, 148*cdf0e10cSrcweir sal_Bool bRed, sal_Int16 nDecimals, sal_Int16 nLeading ) 149*cdf0e10cSrcweir throw(::com::sun::star::uno::RuntimeException); 150*cdf0e10cSrcweir 151*cdf0e10cSrcweir // XNumberFormatTypes 152*cdf0e10cSrcweir virtual sal_Int32 SAL_CALL getStandardIndex( const ::com::sun::star::lang::Locale& nLocale ) 153*cdf0e10cSrcweir throw(::com::sun::star::uno::RuntimeException); 154*cdf0e10cSrcweir virtual sal_Int32 SAL_CALL getStandardFormat( sal_Int16 nType, 155*cdf0e10cSrcweir const ::com::sun::star::lang::Locale& nLocale ) 156*cdf0e10cSrcweir throw(::com::sun::star::uno::RuntimeException); 157*cdf0e10cSrcweir virtual sal_Int32 SAL_CALL getFormatIndex( sal_Int16 nIndex, 158*cdf0e10cSrcweir const ::com::sun::star::lang::Locale& nLocale ) 159*cdf0e10cSrcweir throw(::com::sun::star::uno::RuntimeException); 160*cdf0e10cSrcweir virtual sal_Bool SAL_CALL isTypeCompatible( sal_Int16 nOldType, sal_Int16 nNewType ) 161*cdf0e10cSrcweir throw(::com::sun::star::uno::RuntimeException); 162*cdf0e10cSrcweir virtual sal_Int32 SAL_CALL getFormatForLocale( sal_Int32 nKey, 163*cdf0e10cSrcweir const ::com::sun::star::lang::Locale& nLocale ) 164*cdf0e10cSrcweir throw(::com::sun::star::uno::RuntimeException); 165*cdf0e10cSrcweir 166*cdf0e10cSrcweir // XServiceInfo 167*cdf0e10cSrcweir virtual ::rtl::OUString SAL_CALL getImplementationName( ) 168*cdf0e10cSrcweir throw(::com::sun::star::uno::RuntimeException); 169*cdf0e10cSrcweir virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName ) 170*cdf0e10cSrcweir throw(::com::sun::star::uno::RuntimeException); 171*cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames() 172*cdf0e10cSrcweir throw(::com::sun::star::uno::RuntimeException); 173*cdf0e10cSrcweir 174*cdf0e10cSrcweir private: 175*cdf0e10cSrcweir SvNumberFormatsObj(); // never implemented 176*cdf0e10cSrcweir }; 177*cdf0e10cSrcweir 178*cdf0e10cSrcweir 179*cdf0e10cSrcweir class SvNumberFormatObj : public cppu::WeakImplHelper3< 180*cdf0e10cSrcweir com::sun::star::beans::XPropertySet, 181*cdf0e10cSrcweir com::sun::star::beans::XPropertyAccess, 182*cdf0e10cSrcweir com::sun::star::lang::XServiceInfo> 183*cdf0e10cSrcweir { 184*cdf0e10cSrcweir private: 185*cdf0e10cSrcweir SvNumberFormatsSupplierObj& rSupplier; 186*cdf0e10cSrcweir sal_uLong nKey; 187*cdf0e10cSrcweir mutable ::comphelper::SharedMutex m_aMutex; 188*cdf0e10cSrcweir 189*cdf0e10cSrcweir public: 190*cdf0e10cSrcweir SvNumberFormatObj( SvNumberFormatsSupplierObj& rParent, sal_uLong nK, const ::comphelper::SharedMutex& _rMutex ); 191*cdf0e10cSrcweir virtual ~SvNumberFormatObj(); 192*cdf0e10cSrcweir 193*cdf0e10cSrcweir // XPropertySet 194*cdf0e10cSrcweir virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > 195*cdf0e10cSrcweir SAL_CALL getPropertySetInfo( ) 196*cdf0e10cSrcweir throw(::com::sun::star::uno::RuntimeException); 197*cdf0e10cSrcweir virtual void SAL_CALL setPropertyValue( const ::rtl::OUString& aPropertyName, 198*cdf0e10cSrcweir const ::com::sun::star::uno::Any& aValue ) 199*cdf0e10cSrcweir throw(::com::sun::star::beans::UnknownPropertyException, 200*cdf0e10cSrcweir ::com::sun::star::beans::PropertyVetoException, 201*cdf0e10cSrcweir ::com::sun::star::lang::IllegalArgumentException, 202*cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 203*cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 204*cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( 205*cdf0e10cSrcweir const ::rtl::OUString& PropertyName ) 206*cdf0e10cSrcweir throw(::com::sun::star::beans::UnknownPropertyException, 207*cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 208*cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 209*cdf0e10cSrcweir virtual void SAL_CALL addPropertyChangeListener( const ::rtl::OUString& aPropertyName, 210*cdf0e10cSrcweir const ::com::sun::star::uno::Reference< 211*cdf0e10cSrcweir ::com::sun::star::beans::XPropertyChangeListener >& xListener ) 212*cdf0e10cSrcweir throw(::com::sun::star::beans::UnknownPropertyException, 213*cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 214*cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 215*cdf0e10cSrcweir virtual void SAL_CALL removePropertyChangeListener( const ::rtl::OUString& aPropertyName, 216*cdf0e10cSrcweir const ::com::sun::star::uno::Reference< 217*cdf0e10cSrcweir ::com::sun::star::beans::XPropertyChangeListener >& aListener ) 218*cdf0e10cSrcweir throw(::com::sun::star::beans::UnknownPropertyException, 219*cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 220*cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 221*cdf0e10cSrcweir virtual void SAL_CALL addVetoableChangeListener( const ::rtl::OUString& PropertyName, 222*cdf0e10cSrcweir const ::com::sun::star::uno::Reference< 223*cdf0e10cSrcweir ::com::sun::star::beans::XVetoableChangeListener >& aListener ) 224*cdf0e10cSrcweir throw(::com::sun::star::beans::UnknownPropertyException, 225*cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 226*cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 227*cdf0e10cSrcweir virtual void SAL_CALL removeVetoableChangeListener( const ::rtl::OUString& PropertyName, 228*cdf0e10cSrcweir const ::com::sun::star::uno::Reference< 229*cdf0e10cSrcweir ::com::sun::star::beans::XVetoableChangeListener >& aListener ) 230*cdf0e10cSrcweir throw(::com::sun::star::beans::UnknownPropertyException, 231*cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 232*cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 233*cdf0e10cSrcweir 234*cdf0e10cSrcweir // XPropertyAccess 235*cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > SAL_CALL 236*cdf0e10cSrcweir getPropertyValues() throw(::com::sun::star::uno::RuntimeException); 237*cdf0e10cSrcweir virtual void SAL_CALL setPropertyValues( const ::com::sun::star::uno::Sequence< 238*cdf0e10cSrcweir ::com::sun::star::beans::PropertyValue >& aProps ) 239*cdf0e10cSrcweir throw(::com::sun::star::beans::UnknownPropertyException, 240*cdf0e10cSrcweir ::com::sun::star::beans::PropertyVetoException, 241*cdf0e10cSrcweir ::com::sun::star::lang::IllegalArgumentException, 242*cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 243*cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 244*cdf0e10cSrcweir 245*cdf0e10cSrcweir // XServiceInfo 246*cdf0e10cSrcweir virtual ::rtl::OUString SAL_CALL getImplementationName( ) 247*cdf0e10cSrcweir throw(::com::sun::star::uno::RuntimeException); 248*cdf0e10cSrcweir virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName ) 249*cdf0e10cSrcweir throw(::com::sun::star::uno::RuntimeException); 250*cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames() 251*cdf0e10cSrcweir throw(::com::sun::star::uno::RuntimeException); 252*cdf0e10cSrcweir }; 253*cdf0e10cSrcweir 254*cdf0e10cSrcweir 255*cdf0e10cSrcweir class SvNumberFormatSettingsObj : public cppu::WeakImplHelper2< 256*cdf0e10cSrcweir com::sun::star::beans::XPropertySet, 257*cdf0e10cSrcweir com::sun::star::lang::XServiceInfo> 258*cdf0e10cSrcweir { 259*cdf0e10cSrcweir private: 260*cdf0e10cSrcweir SvNumberFormatsSupplierObj& rSupplier; 261*cdf0e10cSrcweir mutable ::comphelper::SharedMutex m_aMutex; 262*cdf0e10cSrcweir 263*cdf0e10cSrcweir public: 264*cdf0e10cSrcweir SvNumberFormatSettingsObj( SvNumberFormatsSupplierObj& rParent, const ::comphelper::SharedMutex& _rMutex); 265*cdf0e10cSrcweir virtual ~SvNumberFormatSettingsObj(); 266*cdf0e10cSrcweir 267*cdf0e10cSrcweir 268*cdf0e10cSrcweir // XPropertySet 269*cdf0e10cSrcweir virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > 270*cdf0e10cSrcweir SAL_CALL getPropertySetInfo( ) 271*cdf0e10cSrcweir throw(::com::sun::star::uno::RuntimeException); 272*cdf0e10cSrcweir virtual void SAL_CALL setPropertyValue( const ::rtl::OUString& aPropertyName, 273*cdf0e10cSrcweir const ::com::sun::star::uno::Any& aValue ) 274*cdf0e10cSrcweir throw(::com::sun::star::beans::UnknownPropertyException, 275*cdf0e10cSrcweir ::com::sun::star::beans::PropertyVetoException, 276*cdf0e10cSrcweir ::com::sun::star::lang::IllegalArgumentException, 277*cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 278*cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 279*cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( 280*cdf0e10cSrcweir const ::rtl::OUString& PropertyName ) 281*cdf0e10cSrcweir throw(::com::sun::star::beans::UnknownPropertyException, 282*cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 283*cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 284*cdf0e10cSrcweir virtual void SAL_CALL addPropertyChangeListener( const ::rtl::OUString& aPropertyName, 285*cdf0e10cSrcweir const ::com::sun::star::uno::Reference< 286*cdf0e10cSrcweir ::com::sun::star::beans::XPropertyChangeListener >& xListener ) 287*cdf0e10cSrcweir throw(::com::sun::star::beans::UnknownPropertyException, 288*cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 289*cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 290*cdf0e10cSrcweir virtual void SAL_CALL removePropertyChangeListener( const ::rtl::OUString& aPropertyName, 291*cdf0e10cSrcweir const ::com::sun::star::uno::Reference< 292*cdf0e10cSrcweir ::com::sun::star::beans::XPropertyChangeListener >& aListener ) 293*cdf0e10cSrcweir throw(::com::sun::star::beans::UnknownPropertyException, 294*cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 295*cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 296*cdf0e10cSrcweir virtual void SAL_CALL addVetoableChangeListener( const ::rtl::OUString& PropertyName, 297*cdf0e10cSrcweir const ::com::sun::star::uno::Reference< 298*cdf0e10cSrcweir ::com::sun::star::beans::XVetoableChangeListener >& aListener ) 299*cdf0e10cSrcweir throw(::com::sun::star::beans::UnknownPropertyException, 300*cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 301*cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 302*cdf0e10cSrcweir virtual void SAL_CALL removeVetoableChangeListener( const ::rtl::OUString& PropertyName, 303*cdf0e10cSrcweir const ::com::sun::star::uno::Reference< 304*cdf0e10cSrcweir ::com::sun::star::beans::XVetoableChangeListener >& aListener ) 305*cdf0e10cSrcweir throw(::com::sun::star::beans::UnknownPropertyException, 306*cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 307*cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 308*cdf0e10cSrcweir 309*cdf0e10cSrcweir // XServiceInfo 310*cdf0e10cSrcweir virtual ::rtl::OUString SAL_CALL getImplementationName( ) 311*cdf0e10cSrcweir throw(::com::sun::star::uno::RuntimeException); 312*cdf0e10cSrcweir virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName ) 313*cdf0e10cSrcweir throw(::com::sun::star::uno::RuntimeException); 314*cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames() 315*cdf0e10cSrcweir throw(::com::sun::star::uno::RuntimeException); 316*cdf0e10cSrcweir }; 317*cdf0e10cSrcweir 318*cdf0e10cSrcweir 319*cdf0e10cSrcweir 320*cdf0e10cSrcweir #endif 321*cdf0e10cSrcweir 322