|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectag.ion.bion.officelayer.application.connection.AbstractOfficeConnection
ag.ion.bion.officelayer.internal.application.connection.LocalOfficeConnection
public class LocalOfficeConnection
Connection in order to communicate with local OpenOffice.org application.
Field Summary |
---|
Fields inherited from class ag.ion.bion.officelayer.application.connection.AbstractOfficeConnection |
---|
xBridge |
Constructor Summary | |
---|---|
LocalOfficeConnection()
|
Method Summary | |
---|---|
void |
closeConnection()
Closes connection to OpenOffice.org. |
com.sun.star.comp.beans.OfficeWindow |
createLocalOfficeWindow(java.awt.Container container)
Constructs new local window for OpenOffice.org. |
java.lang.String |
getHost()
Returns host of the connection |
com.sun.star.frame.XFrame |
getOfficeFrame(java.awt.Container container)
Returns OpenOffice.org frame integrated into the submitted Java AWT container. |
com.sun.star.frame.XFrame |
getOfficeFrame(NativeView nativeView)
Returns OpenOffice.org frame integrated into the submitted native view. |
java.lang.String |
getPort()
Returns port of the connection. |
com.sun.star.uno.XComponentContext |
getXComponentContext()
Returns XComponentContext. |
com.sun.star.lang.XMultiComponentFactory |
getXMultiComponentFactory()
Returns XMultiComponentFactory. |
com.sun.star.lang.XMultiServiceFactory |
getXMultiServiceFactory()
Returns XMultiServiceFactory. |
boolean |
isConnected()
Returns information whether the connection is active. |
boolean |
openConnection()
Opens connection to OpenOffice.org. |
boolean |
openConnection(IOfficeProgressMonitor officeProgressMonitor)
Opens connection to OpenOffice.org. |
void |
setHost(java.lang.String host)
Sets host where Office instance is listening. |
void |
setOfficePath(java.lang.String officePath)
Sets path to OpenOffice.org installation. |
void |
setPort(java.lang.String port)
Sets port where Office instance is listening |
void |
setUseBridge(boolean useBridge)
Sets information whether the connection uses a bridge. |
boolean |
usesBridge()
Returns information whether the connection uses a bridge. |
Methods inherited from class ag.ion.bion.officelayer.application.connection.AbstractOfficeConnection |
---|
addBridgeEventListener, createService, createServiceWithContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LocalOfficeConnection()
Method Detail |
---|
public void setOfficePath(java.lang.String officePath)
officePath
- path to OpenOffice.org installationpublic void setHost(java.lang.String host)
host
- host where Office instance is listeningpublic void setPort(java.lang.String port)
port
- port where Office instance is listeningpublic void setUseBridge(boolean useBridge)
useBridge
- information whether the connection uses a bridgepublic boolean usesBridge()
public boolean openConnection(IOfficeProgressMonitor officeProgressMonitor) throws java.lang.Exception
officeProgressMonitor
- office progress monitor to be used
java.lang.Exception
- if any error occurspublic boolean openConnection() throws java.lang.Exception
java.lang.Exception
- if any error occurspublic boolean isConnected()
public void closeConnection()
public com.sun.star.uno.XComponentContext getXComponentContext()
public com.sun.star.lang.XMultiServiceFactory getXMultiServiceFactory() throws java.lang.Exception
java.lang.Exception
- if anything failspublic com.sun.star.lang.XMultiComponentFactory getXMultiComponentFactory() throws java.lang.Exception
java.lang.Exception
- if the closed connection could not be openedpublic java.lang.String getHost()
public java.lang.String getPort()
public com.sun.star.comp.beans.OfficeWindow createLocalOfficeWindow(java.awt.Container container)
container
- java AWT container
public com.sun.star.frame.XFrame getOfficeFrame(java.awt.Container container)
container
- java AWT container
public com.sun.star.frame.XFrame getOfficeFrame(NativeView nativeView)
nativeView
- native view
|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |