|
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 valid| Method Detail |
|---|
public com.sun.star.text.XTextDocument getXTextDocument()
getXTextDocument in interface ITextDocumentpublic 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 ITextDocumentpublic ITextFieldService getTextFieldService()
getTextFieldService in interface ITextDocumentpublic ITextService getTextService()
getTextService in interface ITextDocumentpublic IViewCursorService getViewCursorService()
getViewCursorService in interface ITextDocumentpublic ITextTableService getTextTableService()
getTextTableService in interface ITextDocumentpublic INumberFormatService getNumberFormatService()
getNumberFormatService in interface ITextDocumentpublic void reformat()
reformat in interface IDocumentreformat in class AbstractDocumentpublic ISearchService getSearchService()
getSearchService in interface ISearchableDocumentpublic IDocumentIndexService getIndexService()
getIndexService in interface ITextDocument
public void zoom(short zoomType,
short zoomValue)
throws DocumentException
zoom in interface ITextDocumentzoomType - the type of the zoom as in class DocumentZoomTypezoomValue - 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 | ||||||||