Telephone connection receiving content from a PDF file

I want to get content from a pdf file using phonegap (android). is it possible? I was looking for "how to get content from a pdf file using javascript", but I think it’s better to indicate which tool I'm working with.

My goal is to do a Content search in PDF (String / Word) format and display it. My idea is to open the PDF file and extract its contents into a variable, but the problem is that there is memory, I think that the variable cannot support a large number of words.

+4
source share
1 answer

Hi, I think you can use the power of HTML-5 i.e. Use the HTML 5 FileReader API. I think it's possible

check this

+2
source

Source: https://habr.com/ru/post/1432205/


All Articles