public class OWriterDoc.ParaCursor extends java.lang.Object implements OWriterDoc.TextCursor
| Constructor and Description |
|---|
ParaCursor()
Constructs a paragraph cursor positioned at the document start.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Advances the cursor to the next paragraph, if there is one.
|
java.lang.String |
text()
Returns the paragraph text.
|
com.sun.star.text.XParagraphCursor |
xGetXWordCursor()
Gets the XParagraphCursor object for the document.
|
public ParaCursor()
throws com.sun.star.uno.Exception
com.sun.star.uno.Exceptionpublic boolean hasNext()
hasNext in interface OWriterDoc.TextCursorpublic java.lang.String text()
text in interface OWriterDoc.TextCursorpublic com.sun.star.text.XParagraphCursor xGetXWordCursor()
xGetXWordCursor in interface OWriterDoc.TextCursor