com.jurismarches.vradi.services.ooo
Class SingletonOOo

java.lang.Object
  extended by com.jurismarches.vradi.services.ooo.SingletonOOo

public class SingletonOOo
extends java.lang.Object

Author:
Yolpo, kmorin Source : http://user.services.openoffice.org/fr/forum/viewtopic.php?f=15&t=17839

Field Summary
static java.lang.String DEFAULT_CONNECTION_STRING
           
 
Method Summary
 void closeConnectionOpenOffice()
           
static SingletonOOo GetInstance(java.lang.String oOoExecFolder)
           
 com.sun.star.frame.XComponentLoader getLoader()
           
 com.sun.star.lang.XMultiComponentFactory getServiceManager()
           
 com.sun.star.uno.XComponentContext getXContext()
           
 void openConnectionOpenOffice(java.lang.String oOoExecFolder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CONNECTION_STRING

public static final java.lang.String DEFAULT_CONNECTION_STRING
See Also:
Constant Field Values
Method Detail

GetInstance

public static SingletonOOo GetInstance(java.lang.String oOoExecFolder)
                                throws com.sun.star.uno.Exception,
                                       com.sun.star.comp.helper.BootstrapException
Throws:
com.sun.star.uno.Exception
com.sun.star.comp.helper.BootstrapException

getServiceManager

public com.sun.star.lang.XMultiComponentFactory getServiceManager()

getXContext

public com.sun.star.uno.XComponentContext getXContext()

getLoader

public com.sun.star.frame.XComponentLoader getLoader()

openConnectionOpenOffice

public void openConnectionOpenOffice(java.lang.String oOoExecFolder)
                              throws com.sun.star.comp.helper.BootstrapException,
                                     com.sun.star.uno.Exception
Throws:
com.sun.star.comp.helper.BootstrapException
com.sun.star.uno.Exception

closeConnectionOpenOffice

public void closeConnectionOpenOffice()


Copyright © 2009-2010 JurisMarches. All Rights Reserved.