Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: uno ::

interface XComponentContext
Description
Component context to be passed to a component via ::com::sun::star::lang::XSingleComponentFactory. Arbitrary values (e.g. deployment values) can be retrieved from the context.
Developers Guide
ProUNO - Service Manager and Component Context
FirstSteps - First Contact - Getting Started
ProUNO - Java - Getting a Service Manager
ProUNO - C++ - Establishing Interprocess Connections
ProUNO - UNO Interprocess Connections
ProUNO - C++ - Transparent Use of Office UNO Components
ProUNO - Java - Transparent Use of Office UNO Components

Methods' Summary
getValueByName Gets a value from the context.  
getServiceManager Gets the service manager instance to be used from key /singletons/com.sun.star.lang.theServiceManager (maybe null ref). This method has been added for convenience, because the service manager is used very often.  
Methods' Details
getValueByName
any
getValueByName( [in] string  Name );

Description
Gets a value from the context.
Parameter Name
name of value
Returns
value
getServiceManager
::com::sun::star::lang::XMultiComponentFactory
getServiceManager();

Description
Gets the service manager instance to be used from key /singletons/com.sun.star.lang.theServiceManager (maybe null ref). This method has been added for convenience, because the service manager is used very often.
Returns
service manager, if any
Top of Page

Apache Software Foundation

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

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