|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jopendocument.link.OOConnexion
public abstract class OOConnexion
Connexion avec une instance d'OO
| Constructor Summary | |
|---|---|
OOConnexion()
|
|
| Method Summary | |
|---|---|
abstract void |
closeConnexion()
|
static OOConnexion |
create()
Return a connection to the default OpenOffice installation. |
static OOConnexion |
create(OOInstallation ooInstall)
|
abstract boolean |
isClosed()
Whether the bridge is closed. |
Component |
loadDocument(java.io.File f,
boolean hidden)
Load a document in OpenOffice. |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OOConnexion()
| Method Detail |
|---|
public static OOConnexion create()
throws java.lang.IllegalStateException
null if none is found.
java.lang.IllegalStateException - if an error occurs while searching.
public static OOConnexion create(OOInstallation ooInstall)
throws java.lang.IllegalStateException
java.lang.IllegalStateException
public static void main(java.lang.String[] args)
throws java.io.IOException
java.io.IOException
public final Component loadDocument(java.io.File f,
boolean hidden)
throws java.io.IOException
f - the file to load.hidden - true if no frame should be visible.
java.io.IOException - if an error occurs.public abstract void closeConnexion()
public abstract boolean isClosed()
true if closeConnexion() was called or OpenOffice is now longer
running.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||