|
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.internal.document.DocumentLoader
public class DocumentLoader
Document loading helper class.
Constructor Summary | |
---|---|
DocumentLoader()
|
Method Summary | |
---|---|
static IDocument |
getDocument(com.sun.star.lang.XComponent xComponent,
IServiceProvider serviceProvider)
Returns document on the basis of the submitted OpenOffice.org XComponent. |
static IDocument |
loadDocument(IServiceProvider serviceProvider,
java.lang.String URL)
Loads document from submitted URL. |
static IDocument |
loadDocument(IServiceProvider serviceProvider,
java.lang.String URL,
com.sun.star.beans.PropertyValue[] properties)
Loads document from submitted URL. |
static IDocument |
loadDocument(IServiceProvider serviceProvider,
com.sun.star.frame.XFrame xFrame,
java.lang.String URL,
int searchFlags,
com.sun.star.beans.PropertyValue[] properties)
Loads document from the submitted URL into the OpenOffice.org frame. |
static IDocument |
loadDocument(IServiceProvider serviceProvider,
com.sun.star.io.XInputStream xInputStream)
Loads document on the basis of the submitted XInputStream implementation. |
static IDocument |
loadDocument(IServiceProvider serviceProvider,
com.sun.star.io.XInputStream xInputStream,
com.sun.star.beans.PropertyValue[] properties)
Loads document on the basis of the submitted XInputStream implementation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DocumentLoader()
Method Detail |
---|
public static IDocument loadDocument(IServiceProvider serviceProvider, java.lang.String URL) throws java.lang.Exception, java.io.IOException
serviceProvider
- the service provider to be usedURL
- URL of the document
java.lang.Exception
- if an OpenOffice.org communication error occurs
java.io.IOException
- if document can not be foundpublic static IDocument loadDocument(IServiceProvider serviceProvider, java.lang.String URL, com.sun.star.beans.PropertyValue[] properties) throws java.lang.Exception, java.io.IOException
serviceProvider
- the service provider to be usedURL
- URL of the documentproperties
- properties for OpenOffice.org
java.lang.Exception
- if an OpenOffice.org communication error occurs
java.io.IOException
- if document can not be foundpublic static IDocument loadDocument(IServiceProvider serviceProvider, com.sun.star.io.XInputStream xInputStream) throws java.lang.Exception, java.io.IOException
serviceProvider
- the service provider to be usedxInputStream
- OpenOffice.org XInputStream inplementation
java.lang.Exception
- if an OpenOffice.org communication error occurs
java.io.IOException
- if document can not be foundpublic static IDocument loadDocument(IServiceProvider serviceProvider, com.sun.star.io.XInputStream xInputStream, com.sun.star.beans.PropertyValue[] properties) throws java.lang.Exception, java.io.IOException
serviceProvider
- the service provider to be usedxInputStream
- OpenOffice.org XInputStream inplementationproperties
- properties for OpenOffice.org
java.lang.Exception
- if an OpenOffice.org communication error occurs
java.io.IOException
- if document can not be foundpublic static IDocument loadDocument(IServiceProvider serviceProvider, com.sun.star.frame.XFrame xFrame, java.lang.String URL, int searchFlags, com.sun.star.beans.PropertyValue[] properties) throws java.lang.Exception, java.io.IOException
serviceProvider
- the service provider to be usedxFrame
- frame to used for documentURL
- URL of the documentsearchFlags
- search flags for the target frameproperties
- properties for OpenOffice.org
java.lang.Exception
- if an OpenOffice.org communication error occurs
java.io.IOException
- if document can not be foundpublic static IDocument getDocument(com.sun.star.lang.XComponent xComponent, IServiceProvider serviceProvider)
xComponent
- OpenOffice.org XComponent or null if the document can not be
buildedserviceProvider
- the service provider to be used for the documents
|
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 |