Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013

ag.ion.bion.officelayer.text
Interface ITextDocument

All Superinterfaces:
IDocument, ISearchableDocument, ISelectionProvider
All Known Implementing Classes:
GlobalTextDocument, TextDocument

public interface ITextDocument
extends IDocument, ISearchableDocument

OpenOffice.org text document.


Field Summary
 
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
 
Method Summary
 IDocumentIndexService getIndexService()
          Returns index service of the document.
 INumberFormatService getNumberFormatService()
          Returns number format service.
 IPageService getPageService()
          Returns page service of the 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 zoom(short zoomType, short zoomValue)
          Sets the zoom of the document.
 
Methods inherited from interface ag.ion.bion.officelayer.document.IDocument
addCloseListener, addDocumentListener, addDocumentModifyListener, close, equalsTo, fireDocumentEvent, getDocumentType, getFilterProvider, getFormService, getFrame, getLocationURL, getPersistenceService, getPrintService, getScriptingService, getServiceProvider, getXComponent, isModified, isOpen, print, reformat, removeCloseListener, removeDocumentListener, removeDocumentModifyListener, setModified
 
Methods inherited from interface ag.ion.noa.view.ISelectionProvider
setSelection
 
Methods inherited from interface ag.ion.noa.document.ISearchableDocument
getSearchService
 

Method Detail

getXTextDocument

com.sun.star.text.XTextDocument getXTextDocument()
Returns OpenOffice.org XTextDocument interface. This method is not intended to be called by clients.

Returns:
OpenOffice.org XTextDocument interface

getPageService

IPageService getPageService()
Returns page service of the document.

Returns:
page service of the document

getTextFieldService

ITextFieldService getTextFieldService()
Returns service for text fields.

Returns:
service for text fields

getTextService

ITextService getTextService()
Returns text service.

Returns:
text service

getViewCursorService

IViewCursorService getViewCursorService()
Returns view cursor service.

Returns:
view cursor service

getTextTableService

ITextTableService getTextTableService()
Returns text table service.

Returns:
text table service

getNumberFormatService

INumberFormatService getNumberFormatService()
Returns number format service.

Returns:
number format service

getIndexService

IDocumentIndexService getIndexService()
Returns index service of the document.

Returns:
index service of the document

zoom

void zoom(short zoomType,
          short zoomValue)
          throws DocumentException
Sets the zoom of the document.

Parameters:
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
Throws:
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