|
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 valid| Method Detail |
|---|
public IParagraph constructNewParagraph()
throws TextException
constructNewParagraph in interface ITextContentServiceTextException - if the paragraph can not be constructed
public ITextDocumentImage constructNewImage(GraphicInfo graphicInfo)
throws TextException
constructNewImage in interface ITextContentServicegraphicInfo - the graphic information to construct image with
TextException - if the image can not be constructed
public void insertTextContent(ITextContent textContent)
throws TextException
insertTextContent in interface ITextContentServicetextContent - text content to be inserted
TextException - if the text content can not be inserted
public void removeTextContent(ITextContent textContent)
throws TextException
removeTextContent in interface ITextContentServicetextContent - text content to be removed
TextException - if the text content can not be removed
public void insertTextContent(ITextRange textRange,
ITextContent textContent)
throws TextException
insertTextContent in interface ITextContentServicetextRange - position to be usedtextContent - text content to be inserted
TextException - if the text content can not be inserted
public void insertTextContentBefore(ITextContent newTextContent,
ITextContent textContent)
throws TextException
insertTextContentBefore in interface ITextContentServicenewTextContent - text content to be insertedtextContent - available text content
TextException - if the text content can not be inserted
public void insertTextContentAfter(ITextContent newTextContent,
ITextContent textContent)
throws TextException
insertTextContentAfter in interface ITextContentServicenewTextContent - 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 | ||||||||