Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

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

interface XTextRange

Base Interface
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 points to a sequence of characters within a Text .

Methods' Summary

getText
getStart
getEnd
getString
setString the whole string of characters of this piece of text is replaced.

Methods' Details

getText
 
com::sun::star::text::XText
getText();
Returns
the text interface in which the text position is contained.
getStart
 
com::sun::star::text::XTextRange
getStart();
Returns
a text range which contains only the start of this text range.
getEnd
 
com::sun::star::text::XTextRange
getEnd();
Returns
a text range which contains only the end of this text range.
getString
 
string
getString();
Returns
the string that is included in this text range.
setString
 
[ oneway ] void
setString(
[ in ] 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