diff options
author | Armin Le Grand <Armin.Le.Grand@cib.de> | 2017-07-31 14:46:03 +0200 |
---|---|---|
committer | Armin Le Grand <Armin.Le.Grand@cib.de> | 2017-07-31 21:26:03 +0200 |
commit | d62d07b3d29014f76c0d676c891cbafa80d0765f (patch) | |
tree | 0e5f5c4bcd2348a1ef98ad06142c0573e1c7684b /include/svl | |
parent | 22334f8a003d26c71d772a8e00fc80b7e6d2bef1 (diff) |
Corrected HitTest for layouted text
For text layouted using EditEngine the HitTest in SVX is
identifying Field like URLs. Thus ist is better to use the
anyways more precise primitives for HitTest (rotation/shear/
mirror, ...). This was necessary since the former mechanism
which used a combination of primitive-beased HitTest and then
using an Outliner to get the position/content of the Field
landed on different positions e.g. when the layout needed to
use multiple lines for the contained URL, but there could
be more cases found.
Adapted the text decompositon, the primitive HitTest and
the TextHirearchyFieldPrimitive2D accordingly.
Change-Id: Ice559e20d02547fdcfcf9783e7cc5481706aab03
Reviewed-on: https://gerrit.libreoffice.org/40591
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
Diffstat (limited to 'include/svl')
0 files changed, 0 insertions, 0 deletions