|
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 |
public interface IDocumentService
Service for documents.
Method Summary | |
---|---|
IDocument |
constructNewDocument(IFrame frame,
java.lang.String documentType,
IDocumentDescriptor documentDescriptor)
Constructs new document in the submitted frame. |
IDocument |
constructNewDocument(java.lang.String documentType,
IDocumentDescriptor documentDescriptor)
Constructs new document. |
IDocument |
constructNewHiddenDocument(java.lang.String documentType)
Constructs new hidden document of the submitted type. |
IDocument[] |
getCurrentDocuments()
Returns current documents of an application. |
IDocument |
loadDocument(IFrame frame,
java.io.InputStream inputStream,
IDocumentDescriptor documentDescriptor)
Loads document on the basis of the submitted stream. |
IDocument |
loadDocument(IFrame frame,
java.lang.String url)
Loads document into the submitted frame. |
IDocument |
loadDocument(IFrame frame,
java.lang.String url,
IDocumentDescriptor documentDescriptor)
Loads document into the submitted frame. |
IDocument |
loadDocument(java.io.InputStream inputStream,
IDocumentDescriptor documentDescriptor)
Loads document on the basis of the submitted stream. |
IDocument |
loadDocument(IOfficeProgressMonitor officeProgressMonitor,
IFrame frame,
java.io.InputStream inputStream,
IDocumentDescriptor documentDescriptor)
Loads document on the basis of the submitted stream. |
IDocument |
loadDocument(IOfficeProgressMonitor officeProgressMonitor,
java.io.InputStream inputStream,
IDocumentDescriptor documentDescriptor)
Loads document on the basis of the submitted stream. |
IDocument |
loadDocument(java.lang.String url)
Loads document on the basis of the submitted URL. |
IDocument |
loadDocument(java.lang.String url,
IDocumentDescriptor documentDescriptor)
Loads document on the basis of the submitted URL. |
Methods inherited from interface ag.ion.bion.officelayer.IDisposeable |
---|
dispose |
Method Detail |
---|
IDocument constructNewDocument(java.lang.String documentType, IDocumentDescriptor documentDescriptor) throws NOAException
IDocument.WRITER
IDocument.CALC
IDocument.IMPRESS
IDocument.DRAW
IDocument.MATH
IDocument.WEB
IDocument.BASE
IDocument.GLOBAL
documentType
- document type to be useddocumentDescriptor
- document descriptor to be used
NOAException
- if the new document can not be constructedIDocument constructNewDocument(IFrame frame, java.lang.String documentType, IDocumentDescriptor documentDescriptor) throws NOAException
IDocument.WRITER
IDocument.CALC
IDocument.IMPRESS
IDocument.DRAW
IDocument.MATH
IDocument.WEB
IDocument.BASE
IDocument.GLOBAL
frame
- frame to be useddocumentType
- document type to be useddocumentDescriptor
- document descriptor to be used
NOAException
- if the new document can not be constructedIDocument constructNewHiddenDocument(java.lang.String documentType) throws NOAException
IDocument.WRITER
IDocument.CALC
IDocument.IMPRESS
IDocument.DRAW
IDocument.MATH
IDocument.WEB
IDocument.BASE
IDocument.GLOBAL
documentType
- document type to be constructed
NOAException
- if the document can not be contructedIDocument loadDocument(java.lang.String url) throws DocumentException
url
- URL of the document
DocumentException
- if the document can not be loaded or the URL does
not locate an OpenOffice.org documentIDocument loadDocument(java.lang.String url, IDocumentDescriptor documentDescriptor) throws NOAException
url
- URL of the documentdocumentDescriptor
- document descriptor to be used
NOAException
- if the document can not be loaded or the URL does
not locate an OpenOffice.org documentIDocument loadDocument(java.io.InputStream inputStream, IDocumentDescriptor documentDescriptor) throws DocumentException
inputStream
- input stream to be useddocumentDescriptor
- document descriptor to be used
DocumentException
- if the document can not be loadedIDocument loadDocument(IOfficeProgressMonitor officeProgressMonitor, java.io.InputStream inputStream, IDocumentDescriptor documentDescriptor) throws DocumentException
officeProgressMonitor
- office progress monitor to be usedinputStream
- input stream to be useddocumentDescriptor
- document descriptor to be used
DocumentException
- if the document can not be loadedIDocument loadDocument(IFrame frame, java.io.InputStream inputStream, IDocumentDescriptor documentDescriptor) throws DocumentException
IPersistenceService
. Furthermore
OpenOffice.org can not recognize if the document is already open -
therefore the document will be never opened in ReadOnly
mode.
frame
- frame to be used for the documentinputStream
- input stream to be useddocumentDescriptor
- document descriptor to be used
DocumentException
- if the document can not be loadedIDocument loadDocument(IOfficeProgressMonitor officeProgressMonitor, IFrame frame, java.io.InputStream inputStream, IDocumentDescriptor documentDescriptor) throws DocumentException
IPersistenceService
. Furthermore
OpenOffice.org can not recognize if the document is already open -
therefore the document will be never opened in ReadOnly
mode.
officeProgressMonitor
- office progress monitor to be usedframe
- frame to be used for the documentinputStream
- input stream to be useddocumentDescriptor
- document descriptor to be used
DocumentException
- if the document can not be loadedIDocument loadDocument(IFrame frame, java.lang.String url) throws DocumentException
frame
- frame to be used for the documenturl
- URL of the document (must start with file:///)
DocumentException
- if the document can not be loaded, the URL does
not locate an OpenOffice.org document or the submitted frame is not validIDocument loadDocument(IFrame frame, java.lang.String url, IDocumentDescriptor documentDescriptor) throws DocumentException
frame
- frame to be used for the documenturl
- URL of the document (must start with file:///)documentDescriptor
- document descriptor to be used
DocumentException
- if the document can not be loaded, the URL does
not locate an OpenOffice.org document or the submitted frame is not validIDocument[] getCurrentDocuments() throws DocumentException
DocumentException
- if the documents cannot be provided
|
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 |