Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15
 Overview   Namespace   Class   Index   Help 
PUBLIC MEMBERS:  CLASSESSTRUCTSUNIONSENUMSTYPEDEFSMETHODSSTATIC METHODSDATASTATIC DATA

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

class ContextLayer


Base Classes
None.
Known Derived Classes
None.

virtual abstract interface template
NO NO NO NO
Description
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.
File
current_context.hxx

Public Members

Methods


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( ) throw( );
Gets the previously set context.

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.