Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


Methods of Class OComponentHelper


OComponentHelper
OComponentHelper(
::osl::Mutex & rMutex ) throw();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Summary
Constructor.

Parameters
rMutex
the mutex used to protect multi-threaded access;
lifetime must be longer than the lifetime of this object.

~OComponentHelper
virtual ~OComponentHelper()
throw( ::com::sun::star::uno::RuntimeException );

virtual abstract const volatile template static inline C-linkage
YES NO NO NO NO NO NO NO

Summary
Dewstructor. If this object was not disposed previously, object will be disposed manually.

queryInterface
virtual ::com::sun::star::uno::Any queryInterface(
const ::com::sun::star::uno::Type & rType )
throw( ::com::sun::star::uno::RuntimeException );

virtual abstract const volatile template static inline C-linkage
YES NO NO NO NO NO NO NO


queryAggregation
virtual ::com::sun::star::uno::Any queryAggregation(
const ::com::sun::star::uno::Type & rType )
throw( ::com::sun::star::uno::RuntimeException );

virtual abstract const volatile template static inline C-linkage
YES NO NO NO NO NO NO NO


acquire
virtual void acquire() throw();

virtual abstract const volatile template static inline C-linkage
YES NO NO NO NO NO NO NO


release
virtual void release() throw();

virtual abstract const volatile template static inline C-linkage
YES NO NO NO NO NO NO NO


getImplementationId
virtual ::com::sun::star::uno::Sequence< sal_Int8 > getImplementationId()
throw( ::com::sun::star::uno::RuntimeException ) = 0;

virtual abstract const volatile template static inline C-linkage
YES YES NO NO NO NO NO NO

ATTENTION!
XTypeProvider::getImplementationId()has to be implemented separately!

getTypes
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > getTypes()
throw( ::com::sun::star::uno::RuntimeException );

virtual abstract const volatile template static inline C-linkage
YES NO NO NO NO NO NO NO

ATTENTION!
XTypeProvider::getTypes()has to be re-implemented!

dispose
virtual void dispose()
throw( ::com::sun::star::uno::RuntimeException );

virtual abstract const volatile template static inline C-linkage
YES NO NO NO NO NO NO NO


addEventListener
virtual void addEventListener(
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & aListener )
throw( ::com::sun::star::uno::RuntimeException );

virtual abstract const volatile template static inline C-linkage
YES NO NO NO NO NO NO NO


removeEventListener
virtual void removeEventListener(
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & aListener )
throw( ::com::sun::star::uno::RuntimeException );

virtual abstract const volatile template static inline C-linkage
YES NO NO NO NO NO NO NO


disposing
virtual void disposing();

virtual abstract const volatile template static inline C-linkage
YES NO NO NO NO NO NO NO

Summary
Called in dispose method after the listeners were notified.

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.