:: com :: sun :: star :: rendering ::
|
unpublished |
struct TextHit |
|
|
|
- Usage Restrictions
- not published
- Description
- This structure contains hit information for XTextLayout.
This structure is used from the XTextLayout interface
to transport information regarding hit tests.
- Since
- OOo 2.0
|
Elements' Summary |
EntryIndex |
This contains the entry index. |
IsLeadingEdge |
This member denotes whether the hit was on the leading
edge. |
Elements' Details |
EntryIndex
long EntryIndex;
- Description
- This contains the entry index.
The entry index is the index of the insertion point in the
character sequence. The insertion point denotes positions
between the actual characters in the string, and can
thus have values ranging from 0 up to the number of characters
in the string. Hereby, an index of 0 denotes an insertion
position before the first character, and an index
containing the number of characters denotes an insertion
behind the last character.
|
|
IsLeadingEdge
boolean IsLeadingEdge;
- Description
- This member denotes whether the hit was on the leading
edge.
Each character is divided in two halves, the leading and the
trailing part. The leading edge is the part of the glyph
encountered first when reading text of the corresponding
language (i.e. the leading edge of an Arabic glyph is the
right half of it, whereas it is the left half of a Latin
character). If the hit was on the leading edge, this member is
set to true.
|
|
Top of Page
Copyright © 2000, 2014 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.