| STATIC METHODS
| STATIC DATA
:: com :: sun :: star :: uno ::
- Base Classes
- Known Derived Classes
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.
Top of Page
ContextLayer( const Reference< XCurrentContext > & xNewContext = Reference < XCurrentContext > ) throw( );
| Constructor: Saves the previous context and sets the new (given) one.
~ContextLayer( ) throw( );
| Destructor: restores the previous context.
|Reference< XCurrentContext >
getPreviousContext( ) const throw( );
| Gets the previously set context.
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.