The Free and Open Productivity Suite
QA Volunteers Needed -- Help us test OpenOffice

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for Apache OpenOffice version 3.4.

:: com :: sun :: star :: ucb ::

interface XSourceInitialization
Description
provides the initialization of a component with any source object.

Methods' Summary
setSource provides the initialization of a component with any source object.  
Methods' Details
setSource
void
setSource( [in] ::com::sun::star::uno::XInterface  Source )
raises( AlreadyInitializedException );

Description
provides the initialization of a component with any source object.

The service description has to specify which type of interface must be set as parameter.

Hopefully you will only use this, when Source is an ::com::sun::star::lang::XComponent and this is an ::com::sun::star::lang::XEventListener. Than you should call ::com::sun::star::lang::XComponent::addEventListener() from inside the implementation of this method.

Parameter Source
the source.
Throws
AlreadyInitializedException if this method is called more than once during the lifetime of the object implementing this interface.
Top of Page

Apache Feather

Copyright & License | Privacy | Contact Us | Donate

Apache, the Apache feather logo, and OpenOffice 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.