:: com :: sun :: star :: rendering ::
|
struct TextHit |
|
- 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 on
encounteres 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 © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.