(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

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 OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. 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.