Here's an example of a pdf document from which I need to extract the user's selection http://www.ada.gov/hospcombrprt.pdf . If we look in the page source we will see smth like:
<html>
<body marginwidth="0" marginheight="0" style="background-color: rgb(38,38,38)">
<embed width="100%" height="100%" name="plugin"
src="http://www.ada.gov/hospcombrprt.pdf" type="application/pdf">
</body>
</html>
How can we get a user's selection from this embedded pdf?
I found a post about extracting the whole text from a pdf doc here and a similar to mine post here where it's written that there are no such possibilities.
But there should be some way out. Probably it's possible to extract the whole text and then somehow determine what's been selected? Or determine the selection through the mouse cursor position on the mouse-down and up events? Would appreciate any ideas.