Hi,

I am trying to get the bounding box for the text shown on html page.
I used the QWebFrame to iterate over the dom tree and used QWebElement's
geometry element to get the bounding box of the html tags, however using
this technique I can't get bounding box of the text as text are not html
tags.

Can anyone please tell me how to get the bounding box of the text or how to
accurately calculate it from the bounding box of the parent tag and sibling
tags. Any reference to code in qt/webkit would be very useful.

thanks,
Tarandeep
_______________________________________________
webkit-qt mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt

Reply via email to