interface XParagraphCursor in module com::sun::star::text::

(Global Index)

Syntax

interface XParagraphCursor : com::sun::star::text::XTextCursor ;

Description

makes it possible to move paragraph by paragraph.

Method Summary

isStartOfParagraph determines if the cursor is positioned at the start of a paragraph.

isEndOfParagraph determines if the cursor is positioned at the end of a paragraph.

gotoStartOfParagraph moves the cursor to the start of the current paragraph.

gotoEndOfParagraph moves the cursor to the end of the current paragraph.

gotoNextParagraph moves the cursor to the next paragraph.

gotoPreviousParagraph moves the cursor to the previous paragraph.

Known Services Which Export this Interface

com::sun::star::text::TextCursor

Method Details



isStartOfParagraph

Syntax

boolean isStartOfParagraph ();

Description

determines if the cursor is positioned at the start of a paragraph.


isEndOfParagraph

Syntax

boolean isEndOfParagraph ();

Description

determines if the cursor is positioned at the end of a paragraph.


gotoStartOfParagraph

Syntax

boolean gotoStartOfParagraph (
boolean bExpand );

Description

moves the cursor to the start of the current paragraph.


gotoEndOfParagraph

Syntax

boolean gotoEndOfParagraph (
boolean bExpand );

Description

moves the cursor to the end of the current paragraph.


gotoNextParagraph

Syntax

boolean gotoNextParagraph (
boolean bExpand );

Description

moves the cursor to the next paragraph.


gotoPreviousParagraph

Syntax

boolean gotoPreviousParagraph (
boolean bExpand );

Description

moves the cursor to the previous paragraph.

Top of Page