(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

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

interface XTextRange
Description
describes the object's position in a text.

It represents a text range. The beginning and end of the range may be identical.


Methods' Summary
getText  
getStart  
getEnd  
getString  
setString the whole string of characters of this piece of text is replaced.  
Methods' Details
getText
XText
getText();

Returns
the text interface in which the text position is contained.
getStart
XTextRange
getStart();

Returns
a text range which contains only the start of this text range.
getEnd
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

Apache Feather

Copyright & License | Privacy | Contact Us

Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.