Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15
 Overview   Namespace   Class   Index   Help 

Global Functions in Namespace uno
in Sourcefile current_context.hxx


getCurrentContext
Reference< XCurrentContext > getCurrentContext() throw();

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

Summary
Getting the current context.
ATTENTION!
Don't spread the returned interface around to other threads. Every thread has its own current context.
Return
current context or null ref, if none is set

setCurrentContext
bool setCurrentContext(
const Reference< XCurrentContext > & xContext ) throw();

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

Summary
Setting the current context.
Parameters
xContext
current context to be set
    
Return
true, if context has been successfully set

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.