Language
	
	
  
  
    
    
The Free and Open Productivity Suite
   
      
      
helper
Class  OfficeProvider
java.lang.Object
  |
  +--helper.OfficeProvider
- All Implemented Interfaces: 
- AppProvider
- public class OfficeProvider- extends Object- implements AppProvider
This class will connect the office and start it if possible
| Field Summary | 
| protected static boolean | debug
 | 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
debug
protected static boolean debug
OfficeProvider
public OfficeProvider()
disposeManager
public boolean disposeManager(TestParameters param)
- Dispose the office.
 This method can only be used, if the office was connected in the first
 place: getManager() was called first.- 
- Specified by: 
- disposeManagerin interface- AppProvider
 
getManager
public Object getManager(TestParameters param)
- Method to get the ServiceManager of an Office- 
- Specified by: 
- getManagerin interface- AppProvider
 
connect
protected static XMultiServiceFactory connect(String connectStr)
                                       throws Exception,
                                              RuntimeException,
                                              NoConnectException,
                                              Exception
- Connect an Office- 
 
closeExistingOffice
public boolean closeExistingOffice(TestParameters param,
                                   boolean closeIfPossible)
- Close an office.- 
- Specified by: 
- closeExistingOfficein interface- AppProvider
 
- 
- Parameters:
- param- The test parameters.
- closeIfPossible- If true, close even if
 it was running before the test
 
closeAllWindows
protected boolean closeAllWindows(XDesktop desk)
-