|
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.document.AbstractDocument
ag.ion.bion.officelayer.internal.text.TextDocument
public class TextDocument
OpenOffice.org text document.
Field Summary |
---|
Fields inherited from class ag.ion.bion.officelayer.document.AbstractDocument |
---|
xComponent |
Fields inherited from interface ag.ion.bion.officelayer.document.IDocument |
---|
BASE, CALC, DRAW, EVENT_ON_ALPHA_CHAR_INPUT, EVENT_ON_FOCUS, EVENT_ON_INSERT_DONE, EVENT_ON_INSERT_START, EVENT_ON_LOAD, EVENT_ON_LOAD_DONE, EVENT_ON_LOAD_FINISHED, EVENT_ON_MODIFY_CHANGED, EVENT_ON_MOUSE_OUT, EVENT_ON_MOUSE_OVER, EVENT_ON_NEW, EVENT_ON_NON_ALPHA_CHAR_INPUT, EVENT_ON_SAVE, EVENT_ON_SAVE_AS, EVENT_ON_SAVE_AS_DONE, EVENT_ON_SAVE_DONE, EVENT_ON_SAVE_FINISHED, EVENT_ON_UNLOAD, GLOBAL, IMPRESS, MATH, WEB, WRITER |
Constructor Summary | |
---|---|
TextDocument(com.sun.star.text.XTextDocument xTextDocument)
Constructs new OpenOffice.org swriter document. |
Method Summary | |
---|---|
java.lang.String |
getDocumentType()
Returns type of the document. |
IDocumentIndexService |
getIndexService()
Returns index service of the document. |
com.sun.star.lang.XMultiServiceFactory |
getMultiServiceFactory()
Returns the XMultiServiceFactory of the document. |
INumberFormatService |
getNumberFormatService()
Returns number format service. |
IPageService |
getPageService()
Returns page service of the document. |
ISearchService |
getSearchService()
Returns search service of the searchable document. |
ITextFieldService |
getTextFieldService()
Returns service for text fields. |
ITextService |
getTextService()
Returns text service. |
ITextTableService |
getTextTableService()
Returns text table service. |
IViewCursorService |
getViewCursorService()
Returns view cursor service. |
com.sun.star.text.XTextDocument |
getXTextDocument()
Returns OpenOffice.org XTextDocument interface. |
void |
reformat()
Reformats the document. |
void |
zoom(short zoomType,
short zoomValue)
Sets the zoom of the document. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ag.ion.bion.officelayer.document.IDocument |
---|
addCloseListener, addDocumentListener, addDocumentModifyListener, close, equalsTo, fireDocumentEvent, getFilterProvider, getFormService, getFrame, getLocationURL, getPersistenceService, getPrintService, getScriptingService, getServiceProvider, getXComponent, isModified, isOpen, print, removeCloseListener, removeDocumentListener, removeDocumentModifyListener, setModified |
Methods inherited from interface ag.ion.noa.view.ISelectionProvider |
---|
setSelection |
Constructor Detail |
---|
public TextDocument(com.sun.star.text.XTextDocument xTextDocument) throws java.lang.IllegalArgumentException
xTextDocument
- OpenOffice.org XTextDocument interface
java.lang.IllegalArgumentException
- if the submitted OpenOffice.org XTextDocument is not validMethod Detail |
---|
public com.sun.star.text.XTextDocument getXTextDocument()
getXTextDocument
in interface ITextDocument
public java.lang.String getDocumentType()
getDocumentType
in interface IDocument
public com.sun.star.lang.XMultiServiceFactory getMultiServiceFactory() throws java.lang.Exception
java.lang.Exception
- if any error occurspublic IPageService getPageService()
getPageService
in interface ITextDocument
public ITextFieldService getTextFieldService()
getTextFieldService
in interface ITextDocument
public ITextService getTextService()
getTextService
in interface ITextDocument
public IViewCursorService getViewCursorService()
getViewCursorService
in interface ITextDocument
public ITextTableService getTextTableService()
getTextTableService
in interface ITextDocument
public INumberFormatService getNumberFormatService()
getNumberFormatService
in interface ITextDocument
public void reformat()
reformat
in interface IDocument
reformat
in class AbstractDocument
public ISearchService getSearchService()
getSearchService
in interface ISearchableDocument
public IDocumentIndexService getIndexService()
getIndexService
in interface ITextDocument
public void zoom(short zoomType, short zoomValue) throws DocumentException
zoom
in interface ITextDocument
zoomType
- the type of the zoom as in class DocumentZoomType
zoomValue
- the value of the zoom, does only take afect if zoom type is
set to DocumentZoomType.BY_VALUE. Values between 20 and 600 are allowed.
DocumentException
- if zoom fails
|
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 |