|
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.TextRange
public class TextRange
Range of text in a text document.
| Constructor Summary | |
|---|---|
TextRange(IDocument document,
com.sun.star.text.XTextRange xTextRange)
Constructs new TextRange. |
|
| Method Summary | |
|---|---|
short |
compareRange(ITextRange textRangeToCompare)
Compares this text range with the given text range. |
ITextTableCell |
getCell()
Returns cell of the texttable if the text range is part of cell. |
IPageStyle |
getPageStyle()
Returns related page style of the text range. |
com.sun.star.text.XTextRange |
getXTextRange()
Returns OpenOffice.org XTextRange interface. |
void |
setDocument(IDocument document)
Sets the document of the text range. |
void |
setText(java.lang.String text)
Sets text of the text range. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextRange(IDocument document,
com.sun.star.text.XTextRange xTextRange)
throws java.lang.IllegalArgumentException
document - OpenOffice.org document of the text rangexTextRange - OpenOffice.org XTextRange interface
java.lang.IllegalArgumentException - if one the OpenOffice.org interface is not valid| Method Detail |
|---|
public com.sun.star.text.XTextRange getXTextRange()
getXTextRange in interface ITextRange
public IPageStyle getPageStyle()
throws TextException
getPageStyle in interface ITextRangeTextException - if the page style is not availablepublic void setText(java.lang.String text)
setText in interface ITextRangetext - text to be usedpublic ITextTableCell getCell()
getCell in interface ITextRange
public short compareRange(ITextRange textRangeToCompare)
throws TextException
compareRange in interface ITextRangetextRangeToCompare - the text range to compare
TextException - if the text ranges to compare are not within the same text.public void setDocument(IDocument document)
setDocument in interface ITextRangedocument - document to be used
|
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 | ||||||||