|
LibreOffice
LibreOffice 4.2 SDK C/C++ API Reference
|
Objects of this class are used for applying a current context until they are destructed, i.e. More...
#include <current_context.hxx>
Public Member Functions | |
| ContextLayer (Reference< XCurrentContext > const &xNewContext=Reference< XCurrentContext >()) throw () | |
| Constructor: Saves the previous context and sets the new (given) one. More... | |
| ~ContextLayer () throw () | |
| Destructor: restores the previous context. More... | |
| Reference< XCurrentContext > | getPreviousContext () const throw () |
| Gets the previously set context. More... | |
Objects of this class are used for applying a current context until they are destructed, i.e.
the ctor of this class saves the previous and sets the given context while the dtor restores the previous one upon destruction.
|
inline | ||||||||||||||
Constructor: Saves the previous context and sets the new (given) one.
| xNewContext | new context to be set |
|
inline | |||||||||||||
Destructor: restores the previous context.
|
inline | |||||||||||||
Gets the previously set context.
1.8.7