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 ITextContentService

All Known Implementing Classes:
TextContentService

public interface ITextContentService

Content service of a text document.


Method Summary
 ITextDocumentImage constructNewImage(GraphicInfo graphicInfo)
          Constructs new image.
 IParagraph constructNewParagraph()
          Constructs new paragraph.
 void insertTextContent(ITextContent textContent)
          Inserts content.
 void insertTextContent(ITextRange textRange, ITextContent textContent)
          Inserts content at submitted position.
 void insertTextContentAfter(ITextContent newTextContent, ITextContent textContent)
          Inserts new text content after other text content.
 void insertTextContentBefore(ITextContent newTextContent, ITextContent textContent)
          Inserts new text content before other text content.
 void removeTextContent(ITextContent textContent)
          Removes content.
 

Method Detail

constructNewParagraph

IParagraph constructNewParagraph()
                                 throws TextException
Constructs new paragraph.

Returns:
new paragraph
Throws:
TextException - if the paragraph can not be constructed

constructNewImage

ITextDocumentImage constructNewImage(GraphicInfo graphicInfo)
                                     throws TextException
Constructs new image.

Parameters:
graphicInfo - the graphic information to construct image with
Returns:
new image
Throws:
TextException - if the image can not be constructed

insertTextContent

void insertTextContent(ITextContent textContent)
                       throws TextException
Inserts content.

Parameters:
textContent - text content to be inserted
Throws:
TextException - if the text content can not be inserted

insertTextContent

void insertTextContent(ITextRange textRange,
                       ITextContent textContent)
                       throws TextException
Inserts content at submitted position.

Parameters:
textRange - position to be used
textContent - text content to be inserted
Throws:
TextException - if the text content can not be inserted

insertTextContentBefore

void insertTextContentBefore(ITextContent newTextContent,
                             ITextContent textContent)
                             throws TextException
Inserts new text content before other text content.

Parameters:
newTextContent - text content to be inserted
textContent - available text content
Throws:
TextException - if the text content can not be inserted

insertTextContentAfter

void insertTextContentAfter(ITextContent newTextContent,
                            ITextContent textContent)
                            throws TextException
Inserts new text content after other text content.

Parameters:
newTextContent - text content to be inserted
textContent - available text content
Throws:
TextException - if the text content can not be inserted

removeTextContent

void removeTextContent(ITextContent textContent)
                       throws TextException
Removes content.

Parameters:
textContent - text content to be removed
Throws:
TextException - if the text content can not be removed

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