Overview | Module | Use | Devguide | Index

Elements' Summary | Elements' Details

:: com :: sun :: star :: accessibility ::
unpublished | struct TextSegment |
Usage Restrictions not published Description 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 enclosing text. An empty text segment is expressed by SegmentStart and 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 position. The SegmentText member is a copy of the corresponding text segment of the enclosing text. Modifying this structure does not alter the enclosing text. Since OOo 1.1.2 See also XAccessibleText

Elements' Summary
SegmentText | A copy of the text segment of the enclosing text delimited by the text indices TextSegment::SegmentStart and TextSegment::SegmentEnd. Modifying it does not alter the enclosing text.
SegmentStart | Index of the first character of the text segment represented by this structure. The index refers to the enclosing text.
SegmentEnd | Index of the character directly behind the last character of the text segment represented by this structure. The index refers to the enclosing text.

Elements' Details
SegmentText
string SegmentText; Description A copy of the text segment of the enclosing text delimited by the text indices TextSegment::SegmentStart and TextSegment::SegmentEnd. Modifying it does not alter the enclosing text.
SegmentStart
long SegmentStart; Description Index of the first character of the text segment represented by this structure. The index refers to the enclosing text.
SegmentEnd
long SegmentEnd; Description Index of the character directly behind the last character of the text segment represented by this structure. The index refers to the enclosing text.

Top of Page

Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.