|
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 IDocument
Office document.
Field Summary | |
---|---|
static java.lang.String |
BASE
Identifier of a OpenOffice.org Base document. |
static java.lang.String |
CALC
Identifier of a OpenOffice.org Calc document. |
static java.lang.String |
DRAW
Identifier of a OpenOffice.org Draw document. |
static java.lang.String |
EVENT_ON_ALPHA_CHAR_INPUT
Event constant for document alpha char input. |
static java.lang.String |
EVENT_ON_FOCUS
Event constant for document focus. |
static java.lang.String |
EVENT_ON_INSERT_DONE
Event constant for document insert done. |
static java.lang.String |
EVENT_ON_INSERT_START
Event constant for document insert start. |
static java.lang.String |
EVENT_ON_LOAD
Event constant for document about to load. |
static java.lang.String |
EVENT_ON_LOAD_DONE
Event constant for document load done. |
static java.lang.String |
EVENT_ON_LOAD_FINISHED
Event constant for document load finished. |
static java.lang.String |
EVENT_ON_MODIFY_CHANGED
Event constant for document modify changed. |
static java.lang.String |
EVENT_ON_MOUSE_OUT
Event constant for document mouse out. |
static java.lang.String |
EVENT_ON_MOUSE_OVER
Event constant for document mouse over. |
static java.lang.String |
EVENT_ON_NEW
Event constant for new document. |
static java.lang.String |
EVENT_ON_NON_ALPHA_CHAR_INPUT
Event constant for document non alpha char input. |
static java.lang.String |
EVENT_ON_SAVE
Event constant for document about to save. |
static java.lang.String |
EVENT_ON_SAVE_AS
Event constant for document about to save as. |
static java.lang.String |
EVENT_ON_SAVE_AS_DONE
Event constant for document save as done. |
static java.lang.String |
EVENT_ON_SAVE_DONE
Event constant for document save done. |
static java.lang.String |
EVENT_ON_SAVE_FINISHED
Event constant for document save finished. |
static java.lang.String |
EVENT_ON_UNLOAD
Event constant for document unload. |
static java.lang.String |
GLOBAL
Identifier of a OpenOffice.org Global document. |
static java.lang.String |
IMPRESS
Identifier of a OpenOffice.org Impress document. |
static java.lang.String |
MATH
Identifier of a OpenOffice.org Math document. |
static java.lang.String |
WEB
Identifier of a OpenOffice.org Web document. |
static java.lang.String |
WRITER
Identifier of a OpenOffice.org Writer document. |
Method Summary | |
---|---|
void |
addCloseListener(ICloseListener closeListener)
Adds listener for closing events to the document. |
void |
addDocumentListener(IDocumentListener documentListener)
Adds new document listener. |
void |
addDocumentModifyListener(IDocumentModifyListener documentModifyListener)
Adds new document modify listener. |
void |
close()
Closes the document. |
boolean |
equalsTo(IDocument compareDocument)
Checks if the document equals another document. |
void |
fireDocumentEvent(java.lang.String documentEventName)
Fires the document event for the submitted document event constant. |
java.lang.String |
getDocumentType()
Returns type of the document. |
IFilterProvider |
getFilterProvider()
Returns filter provider. |
IFormService |
getFormService()
Returns form service, or null if not available. |
IFrame |
getFrame()
Returns Frame of the document. |
java.net.URL |
getLocationURL()
Deprecated. Use the IPersistenceService instead. |
IPersistenceService |
getPersistenceService()
Returns persistence service. |
IPrintService |
getPrintService()
Returns the print service of the document. |
IScriptingService |
getScriptingService()
Returns scripting service of the document. |
IServiceProvider |
getServiceProvider()
Returns the applications service provider, or null if not available. |
com.sun.star.lang.XComponent |
getXComponent()
Returns OpenOffice.org XComponent interface. |
boolean |
isModified()
Returns information whether the document was modified. |
boolean |
isOpen()
Returns information whether the document is open. |
void |
print()
Prints the document. |
void |
reformat()
Reformats the document. |
void |
removeCloseListener(ICloseListener closeListener)
Removes listener for closing events to the document. |
void |
removeDocumentListener(IDocumentListener documentListener)
Removes document listener. |
void |
removeDocumentModifyListener(IDocumentModifyListener documentModifyListener)
Removes the specified modify listener. |
void |
setModified(boolean modified)
Sets modified flag. |
Methods inherited from interface ag.ion.noa.view.ISelectionProvider |
---|
setSelection |
Field Detail |
---|
static final java.lang.String WRITER
static final java.lang.String CALC
static final java.lang.String IMPRESS
static final java.lang.String DRAW
static final java.lang.String MATH
static final java.lang.String WEB
static final java.lang.String BASE
static final java.lang.String GLOBAL
static final java.lang.String EVENT_ON_NEW
static final java.lang.String EVENT_ON_LOAD
static final java.lang.String EVENT_ON_LOAD_DONE
static final java.lang.String EVENT_ON_LOAD_FINISHED
static final java.lang.String EVENT_ON_SAVE_DONE
static final java.lang.String EVENT_ON_SAVE_FINISHED
static final java.lang.String EVENT_ON_SAVE
static final java.lang.String EVENT_ON_SAVE_AS
static final java.lang.String EVENT_ON_SAVE_AS_DONE
static final java.lang.String EVENT_ON_MODIFY_CHANGED
static final java.lang.String EVENT_ON_MOUSE_OVER
static final java.lang.String EVENT_ON_MOUSE_OUT
static final java.lang.String EVENT_ON_FOCUS
static final java.lang.String EVENT_ON_ALPHA_CHAR_INPUT
static final java.lang.String EVENT_ON_NON_ALPHA_CHAR_INPUT
static final java.lang.String EVENT_ON_INSERT_DONE
static final java.lang.String EVENT_ON_INSERT_START
static final java.lang.String EVENT_ON_UNLOAD
Method Detail |
---|
com.sun.star.lang.XComponent getXComponent()
IFrame getFrame()
IPersistenceService getPersistenceService()
IScriptingService getScriptingService()
IFilterProvider getFilterProvider()
IFormService getFormService()
void addDocumentListener(IDocumentListener documentListener)
documentListener
- new document listenervoid removeDocumentListener(IDocumentListener documentListener)
documentListener
- document listenerjava.lang.String getDocumentType()
boolean isModified()
void setModified(boolean modified) throws DocumentException
modified
- flag value
DocumentException
- if the status of the document can not be setvoid addCloseListener(ICloseListener closeListener)
closeListener
- close listenervoid removeCloseListener(ICloseListener closeListener)
closeListener
- close listenerjava.net.URL getLocationURL() throws DocumentException
DocumentException
- if the URL is not validboolean isOpen()
void close()
boolean equalsTo(IDocument compareDocument)
compareDocument
- document to be compared
void reformat()
void print() throws DocumentException
DocumentException
- if printing failsIPrintService getPrintService()
void addDocumentModifyListener(IDocumentModifyListener documentModifyListener)
documentModifyListener
- new document modify listenervoid removeDocumentModifyListener(IDocumentModifyListener documentModifyListener)
documentModifyListener
- the modify listener to be removedvoid fireDocumentEvent(java.lang.String documentEventName)
documentEventName
- string constant for document eventIDocument.EVENT_ON_NEW
,
IDocument.EVENT_ON_LOAD
,
IDocument.EVENT_ON_LOAD_DONE
,
IDocument.EVENT_ON_LOAD_FINISHED
,
IDocument.EVENT_ON_SAVE_DONE
,
IDocument.EVENT_ON_SAVE_FINISHED
,
IDocument.EVENT_ON_SAVE
,
IDocument.EVENT_ON_SAVE_AS
,
IDocument.EVENT_ON_SAVE_AS_DONE
,
IDocument.EVENT_ON_MODIFY_CHANGED
,
IDocument.EVENT_ON_MOUSE_OVER
,
IDocument.EVENT_ON_MOUSE_OUT
,
IDocument.EVENT_ON_FOCUS
,
IDocument.EVENT_ON_ALPHA_CHAR_INPUT
,
IDocument.EVENT_ON_NON_ALPHA_CHAR_INPUT
,
IDocument.EVENT_ON_INSERT_DONE
,
IDocument.EVENT_ON_INSERT_START
,
IDocument.EVENT_ON_UNLOAD
IServiceProvider getServiceProvider()
|
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 |