|
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.internal.text.TextContentService
public class TextContentService
Content service implementation of a text document.
Constructor Summary | |
---|---|
TextContentService(ITextDocument textDocument,
com.sun.star.lang.XMultiServiceFactory xMultiServiceFactory,
com.sun.star.text.XText xText)
Constructs new TextContentService. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextContentService(ITextDocument textDocument, com.sun.star.lang.XMultiServiceFactory xMultiServiceFactory, com.sun.star.text.XText xText) throws java.lang.IllegalArgumentException
textDocument
- text document to be usedxText
- OpenOffice.org XText interfacexMultiServiceFactory
- OpenOffice.org XMultiServiceFactory interface
java.lang.IllegalArgumentException
- if the submitted text document or OpenOffice.org XText interface
is not validMethod Detail |
---|
public IParagraph constructNewParagraph() throws TextException
constructNewParagraph
in interface ITextContentService
TextException
- if the paragraph can not be constructedpublic ITextDocumentImage constructNewImage(GraphicInfo graphicInfo) throws TextException
constructNewImage
in interface ITextContentService
graphicInfo
- the graphic information to construct image with
TextException
- if the image can not be constructedpublic void insertTextContent(ITextContent textContent) throws TextException
insertTextContent
in interface ITextContentService
textContent
- text content to be inserted
TextException
- if the text content can not be insertedpublic void removeTextContent(ITextContent textContent) throws TextException
removeTextContent
in interface ITextContentService
textContent
- text content to be removed
TextException
- if the text content can not be removedpublic void insertTextContent(ITextRange textRange, ITextContent textContent) throws TextException
insertTextContent
in interface ITextContentService
textRange
- position to be usedtextContent
- text content to be inserted
TextException
- if the text content can not be insertedpublic void insertTextContentBefore(ITextContent newTextContent, ITextContent textContent) throws TextException
insertTextContentBefore
in interface ITextContentService
newTextContent
- text content to be insertedtextContent
- available text content
TextException
- if the text content can not be insertedpublic void insertTextContentAfter(ITextContent newTextContent, ITextContent textContent) throws TextException
insertTextContentAfter
in interface ITextContentService
newTextContent
- text content to be insertedtextContent
- available text content
TextException
- if the text content can not be inserted
|
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 |