• Armin Le Grand's avatar
    Corrected HitTest for layouted text · d62d07b3
    Armin Le Grand yazdı
    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/40591Tested-by: 's avatarJenkins <ci@libreoffice.org>
    Reviewed-by: 's avatarArmin Le Grand <Armin.Le.Grand@cib.de>
    d62d07b3
sdrhittesthelper.hxx 2.41 KB