This structure describes a text segment that is embedded in a larger
portion of text. It is used for example by the
XAccessibleText interface to describe a text portion that
was inserted into or deleted from an accessible text.
The indices SegmentStart and
SegmentEnd refer to the enclosing text.
The SegmentText member contains the text
between these two indices including the start index but not the end
index. With it you can use this structure without having to
access the XAccessibleText interface that represents the
An empty text segment is expressed by
SegmentEnd set to the same value. While a
value of -1 signals an error (like the request for a word after the last
character of a text) all other values define the empty string at that
The SegmentText member is a copy of the
corresponding text segment of the enclosing text. Modifying this
structure does not alter the enclosing text.
Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation.
The Apache feather logo is a trademark of The Apache Software Foundation.
Other names appearing on the site may be trademarks of their respective owners.