interface XLineCursor in module com::sun::star::view::

(Global Index)

Syntax

interface XLineCursor : com::sun::star::uno::XInterface ;

Description

makes it possible to move a cursor to the start or end of laid out text.

See also

CellCursor

See also

TextCursor

See also

ViewCursor

Method Summary

isAtStartOfLine determines if the cursor is positioned at the start of a line.

isAtEndOfLine determines if the cursor is positioned at the end of a line.

gotoEndOfLine moves the cursor to the end of the current line.

gotoStartOfLine moves the cursor to the start of the current line.

Method Details



isAtStartOfLine

Syntax

boolean isAtStartOfLine ();

Description

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


isAtEndOfLine

Syntax

boolean isAtEndOfLine ();

Description

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


gotoEndOfLine

Syntax

void gotoEndOfLine (
boolean bExpand );

Description

moves the cursor to the end of the current line.


gotoStartOfLine

Syntax

void gotoStartOfLine (
boolean bExpand );

Description

moves the cursor to the start of the current line.

See also

XLineCursor::gotoPreviousOfPara
Top of Page