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.internal.text
Class TextService

java.lang.Object
  extended by ag.ion.bion.officelayer.internal.text.TextService
All Implemented Interfaces:
ITextService

public class TextService
extends java.lang.Object
implements ITextService

Text service implementation of a text document.


Constructor Summary
TextService(ITextDocument textDocument, com.sun.star.lang.XMultiServiceFactory xMultiServiceFactory, com.sun.star.text.XText xText)
          Constructs new TextService.
 
Method Summary
 IAnnotationService getAnnotationService()
          Returns annotation service.
 IBookmarkService getBookmarkService()
          Returns bookmark service.
 ITextCursorService getCursorService()
          Returns cursor service.
 IText getText()
          Returns text.
 ITextContentService getTextContentService()
          Returns text content service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextService

public TextService(ITextDocument textDocument,
                   com.sun.star.lang.XMultiServiceFactory xMultiServiceFactory,
                   com.sun.star.text.XText xText)
            throws java.lang.IllegalArgumentException
Constructs new TextService.

Parameters:
textDocument - text document to be used
xMultiServiceFactory - OpenOffice.org XMultiServiceFactory interface
xText - OpenOffice.org XText interface
Throws:
java.lang.IllegalArgumentException - if the submitted text document or OpenOffice.org XText interface is not valid
Method Detail

getTextContentService

public ITextContentService getTextContentService()
Returns text content service.

Specified by:
getTextContentService in interface ITextService
Returns:
text content service

getCursorService

public ITextCursorService getCursorService()
Returns cursor service.

Specified by:
getCursorService in interface ITextService
Returns:
cursor service

getBookmarkService

public IBookmarkService getBookmarkService()
Returns bookmark service.

Specified by:
getBookmarkService in interface ITextService
Returns:
bookmark service

getAnnotationService

public IAnnotationService getAnnotationService()
Returns annotation service.

Specified by:
getAnnotationService in interface ITextService
Returns:
annotation service

getText

public IText getText()
Returns text.

Specified by:
getText in interface ITextService
Returns:
text

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