Language
	
	Asturianu (ast) 
	Català (ca) 
	Čeština (cs) 
	Dansk (da) 
	Deutsch (de) 
	
	English [US] (en-US) 
	Español (es) 
	Esperanto (eo) 
	Eesti keel (et) 
	Euskara (eu) 
	Français (fr) 
	Gàidhlig (gd) 
	Galego (gl) 
	Italiano (it) 
	Lietuvių (lt) 
	Magyar (hu) 
	Nederlands (nl) 
	Norsk (no) 
	Polski (pl) 
	Português [do Brasil] (pt-BR) 
	Português [Europeu] (pt) 
	Română (ro) 
	Slovenčina (sk) 
	Slovenščina (sl) 
	Suomi (fi) 
	Svenska (sv) 
	Yкраїнська (uk) 
	Tiếng Việt (vi) 
	Türkçe (tr) 
	ኦሮሚኛ (om) 
	Հայերեն (hy) 
	Ελληνικά (el) 
	български език (bg) 
	Русский (ru) 
	Cрпски [ћирилицом] (sr) 
	
	עברית (he) 
	हिन्दी (hi) 
	ភាសាខ្មែរ (km) 
	தமிழ் (ta) 
	ภาษาไทย (th) 
	简体中文 (zh-CN) 
	正體中文 (zh-TW) 
	日本語 (ja) 
	한국어 (ko) 
	 
	
  
  
    
     The Free and Open Productivity Suite
   
      
      
  
PUBLIC MEMBERS:  
 CLASSES 
| STRUCTS 
| UNIONS 
| ENUMS 
| TYPEDEFS 
| METHODS  
| STATIC METHODS 
| DATA 
| STATIC 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 ( ) const throw( ); 
 Gets the previously set context.
 
 
 
 
 
Top of Page 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.