Hi,
I need to read pdf clicked text (With com.radaee.pdf.Page -> "objs") but I've a problem with pdf position,
On OnPDFDoubleTapped event I receive x,y wrong position,
when device is in portrait the position seems to be upsidedown, when in landscape seems correct but page number returned is always the left page regardless of what I click(com.radaee.reader.PDFGLLayoutView -> "PDFGetDoc").
I've found that vGetPos function return correct values but I can't use it without change library and in any case i can't return the right page Nr from double click event
Have any hint
Thanks in advance
Regards Tommaso Honoré
final int x = (int)e.getX();
final int y = (int)e.getY();
final GLLayout.PDFPos pos = m_layout.vGetPos(x, y);
m_layout.vSetPos(x, y, pos);
Log.e("", "Pagina " + pos.pageno + ".");
if (m_listener == null || !m_listener.OnPDFDoubleTapped(pos.x, pos.y))
return false;