Syntax
interface XTextRange : com::sun::star::uno::XInterface ;
Description
describes the object's position in a text.
It represents a text range. The beginning and end of the range may
be identical.
Known Services Which Export this Interface
|
com::sun::star::text::TextRange -
Method Details
|
|
Syntax
- com::sun::star::text::XText getText
();
Returns
-
the text interface in which the text position is contained.
Syntax
- com::sun::star::text::XTextRange getStart
();
Returns
-
a text range which contains only the start of this text range.
Syntax
- com::sun::star::text::XTextRange getEnd
();
Returns
-
a text range which contains only the end of this text range.
Syntax
- string getString
();
Returns
-
the string that is included in this text range.
Syntax
- oneway void setString
(
- string aString );
Description
the whole string of characters of this piece of text is replaced.
All styles are removed when applying this method.
|
Top of Page
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.