[Okular-devel] Problem with LinkRect and OOO generator

Pino Toscano toscano.pino at tiscali.it
Thu Nov 23 08:15:12 CET 2006


Alle 10:55, mercoledì 22 novembre 2006, Tobias Koenig ha scritto:
> When I extract the coordinates of links in a ooo document I get the
> following data which are passed to ObjectRect:
>
>   QRectF(0.264706,0.493687 0.0767974x0.0290404)
>
> So the link should start quite to the left (0.2) side and shortly after
> half of the page (0.4). However the picture I get when activating
> accessibility feature looks like the attached one...
>
> Any idea where the problem could be?

Hmmm maybe you are passing the aeguments to ObjectRect in the wrong order?
From what I see from the image, the bottom-right point of the "wrong" rect is 
correct, but other coordinates not.
Without looking at the code, it's all I can say, sorry :-/

Regards,

-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/okular-devel/attachments/20061123/36e91c0a/attachment.pgp 


More information about the Okular-devel mailing list