1*1d2dbeb0SAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3*1d2dbeb0SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*1d2dbeb0SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*1d2dbeb0SAndrew Rist * distributed with this work for additional information 6*1d2dbeb0SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*1d2dbeb0SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*1d2dbeb0SAndrew Rist * "License"); you may not use this file except in compliance 9*1d2dbeb0SAndrew Rist * with the License. You may obtain a copy of the License at 10*1d2dbeb0SAndrew Rist * 11*1d2dbeb0SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*1d2dbeb0SAndrew Rist * 13*1d2dbeb0SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*1d2dbeb0SAndrew Rist * software distributed under the License is distributed on an 15*1d2dbeb0SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*1d2dbeb0SAndrew Rist * KIND, either express or implied. See the License for the 17*1d2dbeb0SAndrew Rist * specific language governing permissions and limitations 18*1d2dbeb0SAndrew Rist * under the License. 19*1d2dbeb0SAndrew Rist * 20*1d2dbeb0SAndrew Rist *************************************************************/ 21*1d2dbeb0SAndrew Rist 22*1d2dbeb0SAndrew Rist 23cdf0e10cSrcweir #ifndef _UNOIDX_HXX 24cdf0e10cSrcweir #define _UNOIDX_HXX 25cdf0e10cSrcweir 26cdf0e10cSrcweir #include <com/sun/star/lang/XUnoTunnel.hpp> 27cdf0e10cSrcweir #include <com/sun/star/beans/XPropertySet.hpp> 28cdf0e10cSrcweir #include <com/sun/star/container/XNamed.hpp> 29cdf0e10cSrcweir #include <com/sun/star/text/XDocumentIndexMark.hpp> 30cdf0e10cSrcweir #include <com/sun/star/text/XDocumentIndex.hpp> 31cdf0e10cSrcweir 32cdf0e10cSrcweir #include <cppuhelper/implbase4.hxx> 33cdf0e10cSrcweir #include <cppuhelper/implbase5.hxx> 34cdf0e10cSrcweir 35cdf0e10cSrcweir #include <sfx2/Metadatable.hxx> 36cdf0e10cSrcweir 37cdf0e10cSrcweir #include <unocoll.hxx> 38cdf0e10cSrcweir #include <toxe.hxx> 39cdf0e10cSrcweir 40cdf0e10cSrcweir 41cdf0e10cSrcweir class SwTOXBaseSection; 42cdf0e10cSrcweir class SwTOXMark; 43cdf0e10cSrcweir class SwTOXType; 44cdf0e10cSrcweir 45cdf0e10cSrcweir /* -----------------07.12.98 10:08------------------- 46cdf0e10cSrcweir * 47cdf0e10cSrcweir * --------------------------------------------------*/ 48cdf0e10cSrcweir 49cdf0e10cSrcweir typedef ::cppu::ImplInheritanceHelper5 50cdf0e10cSrcweir < ::sfx2::MetadatableMixin 51cdf0e10cSrcweir , ::com::sun::star::lang::XUnoTunnel 52cdf0e10cSrcweir , ::com::sun::star::lang::XServiceInfo 53cdf0e10cSrcweir , ::com::sun::star::beans::XPropertySet 54cdf0e10cSrcweir , ::com::sun::star::container::XNamed 55cdf0e10cSrcweir , ::com::sun::star::text::XDocumentIndex 56cdf0e10cSrcweir > SwXDocumentIndex_Base; 57cdf0e10cSrcweir 58cdf0e10cSrcweir class SwXDocumentIndex 59cdf0e10cSrcweir : public SwXDocumentIndex_Base 60cdf0e10cSrcweir { 61cdf0e10cSrcweir 62cdf0e10cSrcweir private: 63cdf0e10cSrcweir 64cdf0e10cSrcweir class StyleAccess_Impl; 65cdf0e10cSrcweir class TokenAccess_Impl; 66cdf0e10cSrcweir 67cdf0e10cSrcweir class Impl; 68cdf0e10cSrcweir ::sw::UnoImplPtr<Impl> m_pImpl; 69cdf0e10cSrcweir 70cdf0e10cSrcweir virtual ~SwXDocumentIndex(); 71cdf0e10cSrcweir 72cdf0e10cSrcweir SwXDocumentIndex(SwTOXBaseSection const&, SwDoc &); 73cdf0e10cSrcweir 74cdf0e10cSrcweir public: 75cdf0e10cSrcweir 76cdf0e10cSrcweir /// descriptor 77cdf0e10cSrcweir SwXDocumentIndex(const TOXTypes eToxType, SwDoc& rDoc); 78cdf0e10cSrcweir 79cdf0e10cSrcweir static ::com::sun::star::uno::Reference< 80cdf0e10cSrcweir ::com::sun::star::text::XDocumentIndex> 81cdf0e10cSrcweir CreateXDocumentIndex(SwDoc & rDoc, SwTOXBaseSection const& rSection); 82cdf0e10cSrcweir 83cdf0e10cSrcweir // MetadatableMixin 84cdf0e10cSrcweir virtual ::sfx2::Metadatable* GetCoreObject(); 85cdf0e10cSrcweir virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > 86cdf0e10cSrcweir GetModel(); 87cdf0e10cSrcweir 88cdf0e10cSrcweir static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId(); 89cdf0e10cSrcweir 90cdf0e10cSrcweir // XUnoTunnel 91cdf0e10cSrcweir virtual sal_Int64 SAL_CALL getSomething( 92cdf0e10cSrcweir const ::com::sun::star::uno::Sequence< sal_Int8 >& rIdentifier) 93cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 94cdf0e10cSrcweir 95cdf0e10cSrcweir // XServiceInfo 96cdf0e10cSrcweir virtual ::rtl::OUString SAL_CALL getImplementationName() 97cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 98cdf0e10cSrcweir virtual sal_Bool SAL_CALL supportsService( 99cdf0e10cSrcweir const ::rtl::OUString& rServiceName) 100cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 101cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL 102cdf0e10cSrcweir getSupportedServiceNames() 103cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 104cdf0e10cSrcweir 105cdf0e10cSrcweir // XComponent 106cdf0e10cSrcweir virtual void SAL_CALL dispose() 107cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 108cdf0e10cSrcweir virtual void SAL_CALL addEventListener( 109cdf0e10cSrcweir const ::com::sun::star::uno::Reference< 110cdf0e10cSrcweir ::com::sun::star::lang::XEventListener > & xListener) 111cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 112cdf0e10cSrcweir virtual void SAL_CALL removeEventListener( 113cdf0e10cSrcweir const ::com::sun::star::uno::Reference< 114cdf0e10cSrcweir ::com::sun::star::lang::XEventListener > & xListener) 115cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 116cdf0e10cSrcweir 117cdf0e10cSrcweir // XPropertySet 118cdf0e10cSrcweir virtual ::com::sun::star::uno::Reference< 119cdf0e10cSrcweir ::com::sun::star::beans::XPropertySetInfo > SAL_CALL 120cdf0e10cSrcweir getPropertySetInfo() 121cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 122cdf0e10cSrcweir virtual void SAL_CALL setPropertyValue( 123cdf0e10cSrcweir const ::rtl::OUString& rPropertyName, 124cdf0e10cSrcweir const ::com::sun::star::uno::Any& rValue) 125cdf0e10cSrcweir throw (::com::sun::star::beans::UnknownPropertyException, 126cdf0e10cSrcweir ::com::sun::star::beans::PropertyVetoException, 127cdf0e10cSrcweir ::com::sun::star::lang::IllegalArgumentException, 128cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 129cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 130cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( 131cdf0e10cSrcweir const ::rtl::OUString& rPropertyName) 132cdf0e10cSrcweir throw (::com::sun::star::beans::UnknownPropertyException, 133cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 134cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 135cdf0e10cSrcweir virtual void SAL_CALL addPropertyChangeListener( 136cdf0e10cSrcweir const ::rtl::OUString& rPropertyName, 137cdf0e10cSrcweir const ::com::sun::star::uno::Reference< 138cdf0e10cSrcweir ::com::sun::star::beans::XPropertyChangeListener >& xListener) 139cdf0e10cSrcweir throw (::com::sun::star::beans::UnknownPropertyException, 140cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 141cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 142cdf0e10cSrcweir virtual void SAL_CALL removePropertyChangeListener( 143cdf0e10cSrcweir const ::rtl::OUString& rPropertyName, 144cdf0e10cSrcweir const ::com::sun::star::uno::Reference< 145cdf0e10cSrcweir ::com::sun::star::beans::XPropertyChangeListener >& xListener) 146cdf0e10cSrcweir throw (::com::sun::star::beans::UnknownPropertyException, 147cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 148cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 149cdf0e10cSrcweir virtual void SAL_CALL addVetoableChangeListener( 150cdf0e10cSrcweir const ::rtl::OUString& rPropertyName, 151cdf0e10cSrcweir const ::com::sun::star::uno::Reference< 152cdf0e10cSrcweir ::com::sun::star::beans::XVetoableChangeListener >& xListener) 153cdf0e10cSrcweir throw (::com::sun::star::beans::UnknownPropertyException, 154cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 155cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 156cdf0e10cSrcweir virtual void SAL_CALL removeVetoableChangeListener( 157cdf0e10cSrcweir const ::rtl::OUString& rPropertyName, 158cdf0e10cSrcweir const ::com::sun::star::uno::Reference< 159cdf0e10cSrcweir ::com::sun::star::beans::XVetoableChangeListener >& xListener) 160cdf0e10cSrcweir throw (::com::sun::star::beans::UnknownPropertyException, 161cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 162cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 163cdf0e10cSrcweir 164cdf0e10cSrcweir // XNamed 165cdf0e10cSrcweir virtual ::rtl::OUString SAL_CALL getName() 166cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 167cdf0e10cSrcweir virtual void SAL_CALL setName(const ::rtl::OUString& rName) 168cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 169cdf0e10cSrcweir 170cdf0e10cSrcweir // XTextContent 171cdf0e10cSrcweir virtual void SAL_CALL attach( 172cdf0e10cSrcweir const ::com::sun::star::uno::Reference< 173cdf0e10cSrcweir ::com::sun::star::text::XTextRange > & xTextRange) 174cdf0e10cSrcweir throw (::com::sun::star::lang::IllegalArgumentException, 175cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 176cdf0e10cSrcweir virtual ::com::sun::star::uno::Reference< 177cdf0e10cSrcweir ::com::sun::star::text::XTextRange > SAL_CALL getAnchor() 178cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 179cdf0e10cSrcweir 180cdf0e10cSrcweir 181cdf0e10cSrcweir // XDocumentIndex 182cdf0e10cSrcweir virtual ::rtl::OUString SAL_CALL getServiceName() 183cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 184cdf0e10cSrcweir virtual void SAL_CALL update() 185cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 186cdf0e10cSrcweir 187cdf0e10cSrcweir }; 188cdf0e10cSrcweir 189cdf0e10cSrcweir /* -----------------07.12.98 10:08------------------- 190cdf0e10cSrcweir * 191cdf0e10cSrcweir * --------------------------------------------------*/ 192cdf0e10cSrcweir typedef ::cppu::WeakImplHelper4 193cdf0e10cSrcweir < ::com::sun::star::lang::XUnoTunnel 194cdf0e10cSrcweir , ::com::sun::star::lang::XServiceInfo 195cdf0e10cSrcweir , ::com::sun::star::beans::XPropertySet 196cdf0e10cSrcweir , ::com::sun::star::text::XDocumentIndexMark 197cdf0e10cSrcweir > SwXDocumentIndexMark_Base; 198cdf0e10cSrcweir 199cdf0e10cSrcweir class SwXDocumentIndexMark 200cdf0e10cSrcweir : public SwXDocumentIndexMark_Base 201cdf0e10cSrcweir { 202cdf0e10cSrcweir 203cdf0e10cSrcweir private: 204cdf0e10cSrcweir 205cdf0e10cSrcweir class Impl; 206cdf0e10cSrcweir ::sw::UnoImplPtr<Impl> m_pImpl; 207cdf0e10cSrcweir 208cdf0e10cSrcweir virtual ~SwXDocumentIndexMark(); 209cdf0e10cSrcweir 210cdf0e10cSrcweir SwXDocumentIndexMark(SwDoc & rDoc, 211cdf0e10cSrcweir SwTOXType & rType, SwTOXMark & rMark); 212cdf0e10cSrcweir 213cdf0e10cSrcweir public: 214cdf0e10cSrcweir 215cdf0e10cSrcweir /// descriptor 216cdf0e10cSrcweir SwXDocumentIndexMark(const TOXTypes eToxType); 217cdf0e10cSrcweir 218cdf0e10cSrcweir static ::com::sun::star::uno::Reference< 219cdf0e10cSrcweir ::com::sun::star::text::XDocumentIndexMark> 220cdf0e10cSrcweir CreateXDocumentIndexMark(SwDoc & rDoc, 221cdf0e10cSrcweir SwTOXType & rType, SwTOXMark & rMark); 222cdf0e10cSrcweir 223cdf0e10cSrcweir static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId(); 224cdf0e10cSrcweir 225cdf0e10cSrcweir // XUnoTunnel 226cdf0e10cSrcweir virtual sal_Int64 SAL_CALL getSomething( 227cdf0e10cSrcweir const ::com::sun::star::uno::Sequence< sal_Int8 >& rIdentifier) 228cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 229cdf0e10cSrcweir 230cdf0e10cSrcweir // XServiceInfo 231cdf0e10cSrcweir virtual ::rtl::OUString SAL_CALL getImplementationName() 232cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 233cdf0e10cSrcweir virtual sal_Bool SAL_CALL supportsService( 234cdf0e10cSrcweir const ::rtl::OUString& rServiceName) 235cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 236cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL 237cdf0e10cSrcweir getSupportedServiceNames() 238cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 239cdf0e10cSrcweir 240cdf0e10cSrcweir // XComponent 241cdf0e10cSrcweir virtual void SAL_CALL dispose() 242cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 243cdf0e10cSrcweir virtual void SAL_CALL addEventListener( 244cdf0e10cSrcweir const ::com::sun::star::uno::Reference< 245cdf0e10cSrcweir ::com::sun::star::lang::XEventListener > & xListener) 246cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 247cdf0e10cSrcweir virtual void SAL_CALL removeEventListener( 248cdf0e10cSrcweir const ::com::sun::star::uno::Reference< 249cdf0e10cSrcweir ::com::sun::star::lang::XEventListener > & xListener) 250cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 251cdf0e10cSrcweir 252cdf0e10cSrcweir // XPropertySet 253cdf0e10cSrcweir virtual ::com::sun::star::uno::Reference< 254cdf0e10cSrcweir ::com::sun::star::beans::XPropertySetInfo > SAL_CALL 255cdf0e10cSrcweir getPropertySetInfo() 256cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 257cdf0e10cSrcweir virtual void SAL_CALL setPropertyValue( 258cdf0e10cSrcweir const ::rtl::OUString& rPropertyName, 259cdf0e10cSrcweir const ::com::sun::star::uno::Any& rValue) 260cdf0e10cSrcweir throw (::com::sun::star::beans::UnknownPropertyException, 261cdf0e10cSrcweir ::com::sun::star::beans::PropertyVetoException, 262cdf0e10cSrcweir ::com::sun::star::lang::IllegalArgumentException, 263cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 264cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 265cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( 266cdf0e10cSrcweir const ::rtl::OUString& rPropertyName) 267cdf0e10cSrcweir throw (::com::sun::star::beans::UnknownPropertyException, 268cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 269cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 270cdf0e10cSrcweir virtual void SAL_CALL addPropertyChangeListener( 271cdf0e10cSrcweir const ::rtl::OUString& rPropertyName, 272cdf0e10cSrcweir const ::com::sun::star::uno::Reference< 273cdf0e10cSrcweir ::com::sun::star::beans::XPropertyChangeListener >& xListener) 274cdf0e10cSrcweir throw (::com::sun::star::beans::UnknownPropertyException, 275cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 276cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 277cdf0e10cSrcweir virtual void SAL_CALL removePropertyChangeListener( 278cdf0e10cSrcweir const ::rtl::OUString& rPropertyName, 279cdf0e10cSrcweir const ::com::sun::star::uno::Reference< 280cdf0e10cSrcweir ::com::sun::star::beans::XPropertyChangeListener >& xListener) 281cdf0e10cSrcweir throw (::com::sun::star::beans::UnknownPropertyException, 282cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 283cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 284cdf0e10cSrcweir virtual void SAL_CALL addVetoableChangeListener( 285cdf0e10cSrcweir const ::rtl::OUString& rPropertyName, 286cdf0e10cSrcweir const ::com::sun::star::uno::Reference< 287cdf0e10cSrcweir ::com::sun::star::beans::XVetoableChangeListener >& xListener) 288cdf0e10cSrcweir throw (::com::sun::star::beans::UnknownPropertyException, 289cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 290cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 291cdf0e10cSrcweir virtual void SAL_CALL removeVetoableChangeListener( 292cdf0e10cSrcweir const ::rtl::OUString& rPropertyName, 293cdf0e10cSrcweir const ::com::sun::star::uno::Reference< 294cdf0e10cSrcweir ::com::sun::star::beans::XVetoableChangeListener >& xListener) 295cdf0e10cSrcweir throw (::com::sun::star::beans::UnknownPropertyException, 296cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 297cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 298cdf0e10cSrcweir 299cdf0e10cSrcweir // XTextContent 300cdf0e10cSrcweir virtual void SAL_CALL attach( 301cdf0e10cSrcweir const ::com::sun::star::uno::Reference< 302cdf0e10cSrcweir ::com::sun::star::text::XTextRange > & xTextRange) 303cdf0e10cSrcweir throw (::com::sun::star::lang::IllegalArgumentException, 304cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 305cdf0e10cSrcweir virtual ::com::sun::star::uno::Reference< 306cdf0e10cSrcweir ::com::sun::star::text::XTextRange > SAL_CALL getAnchor() 307cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 308cdf0e10cSrcweir 309cdf0e10cSrcweir // XDocumentIndexMark 310cdf0e10cSrcweir virtual rtl::OUString SAL_CALL getMarkEntry() 311cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 312cdf0e10cSrcweir virtual void SAL_CALL setMarkEntry(const rtl::OUString& rIndexEntry) 313cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 314cdf0e10cSrcweir 315cdf0e10cSrcweir }; 316cdf0e10cSrcweir 317cdf0e10cSrcweir /* -----------------05.05.99 12:27------------------- 318cdf0e10cSrcweir * 319cdf0e10cSrcweir * --------------------------------------------------*/ 320cdf0e10cSrcweir class SwXDocumentIndexes 321cdf0e10cSrcweir : public SwCollectionBaseClass 322cdf0e10cSrcweir , public SwUnoCollection 323cdf0e10cSrcweir { 324cdf0e10cSrcweir 325cdf0e10cSrcweir private: 326cdf0e10cSrcweir 327cdf0e10cSrcweir virtual ~SwXDocumentIndexes(); 328cdf0e10cSrcweir 329cdf0e10cSrcweir public: 330cdf0e10cSrcweir 331cdf0e10cSrcweir SwXDocumentIndexes(SwDoc *const pDoc); 332cdf0e10cSrcweir 333cdf0e10cSrcweir // XServiceInfo 334cdf0e10cSrcweir virtual ::rtl::OUString SAL_CALL getImplementationName() 335cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 336cdf0e10cSrcweir virtual sal_Bool SAL_CALL supportsService( 337cdf0e10cSrcweir const ::rtl::OUString& rServiceName) 338cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 339cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL 340cdf0e10cSrcweir getSupportedServiceNames() 341cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 342cdf0e10cSrcweir 343cdf0e10cSrcweir // XElementAccess 344cdf0e10cSrcweir virtual ::com::sun::star::uno::Type SAL_CALL getElementType() 345cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 346cdf0e10cSrcweir virtual sal_Bool SAL_CALL hasElements() 347cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 348cdf0e10cSrcweir 349cdf0e10cSrcweir // XIndexAccess 350cdf0e10cSrcweir virtual sal_Int32 SAL_CALL getCount() 351cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 352cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL getByIndex(sal_Int32 nIndex) 353cdf0e10cSrcweir throw (::com::sun::star::lang::IndexOutOfBoundsException, 354cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 355cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 356cdf0e10cSrcweir 357cdf0e10cSrcweir // XNameAccess 358cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL getByName( 359cdf0e10cSrcweir const ::rtl::OUString& rName) 360cdf0e10cSrcweir throw (::com::sun::star::container::NoSuchElementException, 361cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 362cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 363cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL 364cdf0e10cSrcweir getElementNames() throw (::com::sun::star::uno::RuntimeException); 365cdf0e10cSrcweir virtual sal_Bool SAL_CALL hasByName(const ::rtl::OUString& rName) 366cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 367cdf0e10cSrcweir 368cdf0e10cSrcweir }; 369cdf0e10cSrcweir 370cdf0e10cSrcweir #endif 371cdf0e10cSrcweir 372