|
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.text.AbstractTextComponent
ag.ion.bion.officelayer.internal.text.Paragraph
public class Paragraph
Paragraph of a text document.
Field Summary |
---|
Fields inherited from class ag.ion.bion.officelayer.text.AbstractTextComponent |
---|
textDocument |
Constructor Summary | |
---|---|
Paragraph(ITextDocument textDocument,
com.sun.star.text.XTextContent xTextContent)
Constructs new Paragraph. |
Method Summary | |
---|---|
ICharacterProperties |
getCharacterProperties()
Returns character properties belonging to the paragraph |
ICharacterPropertyStore |
getCharacterPropertyStore()
Gets the character property store of the paragraph |
ICloneService |
getCloneService()
Gets the clone service of the element. |
IParagraphProperties |
getParagraphProperties()
Returns properties of the paragraph. |
IParagraphPropertyStore |
getParagraphPropertyStore()
Gets the property store of the paragraph |
java.lang.String |
getParagraphText()
Gets the text contained in this pragraph |
ITextRange |
getTextRange()
Returns text range of the text table. |
com.sun.star.text.XTextContent |
getXTextContent()
Returns OpenOffice.org XTextContent interface. |
void |
setParagraphText(java.lang.String text)
Sets new text to the paragraph. |
Methods inherited from class ag.ion.bion.officelayer.text.AbstractTextComponent |
---|
getTextDocument |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ag.ion.bion.officelayer.text.ITextComponent |
---|
getTextDocument |
Constructor Detail |
---|
public Paragraph(ITextDocument textDocument, com.sun.star.text.XTextContent xTextContent) throws java.lang.IllegalArgumentException
textDocument
- text document to be usedxTextContent
- OpenOffice.org XTextContent interface
java.lang.IllegalArgumentException
- if the OpenOffice.org interface or the document is not validMethod Detail |
---|
public com.sun.star.text.XTextContent getXTextContent()
getXTextContent
in interface ITextContent
public ITextRange getTextRange()
getTextRange
in interface IParagraph
public IParagraphProperties getParagraphProperties()
getParagraphProperties
in interface IParagraph
public ICharacterProperties getCharacterProperties()
getCharacterProperties
in interface IParagraph
public IParagraphPropertyStore getParagraphPropertyStore() throws TextException
getParagraphPropertyStore
in interface IParagraph
TextException
- if any error occurspublic ICharacterPropertyStore getCharacterPropertyStore() throws TextException
getCharacterPropertyStore
in interface IParagraph
TextException
- if any error occurs getting the storepublic ICloneService getCloneService() throws CloneException
getCloneService
in interface ICloneServiceProvider
CloneException
- if the clone service could not be returnedpublic java.lang.String getParagraphText() throws TextException
getParagraphText
in interface IParagraph
TextException
- if there occurs an error while fetching the textpublic void setParagraphText(java.lang.String text)
setParagraphText
in interface IParagraph
text
- the text that should be placed
|
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 |