AndroidPdfViewer icon indicating copy to clipboard operation
AndroidPdfViewer copied to clipboard

Search word in pdf file

Open biggieteps opened this issue 7 years ago • 4 comments
trafficstars

Hi, please is possible to find a word in pdf file with PdfViewer? otherwise how to integrate a search module in the pdf file? Thx

biggieteps avatar Feb 19 '18 08:02 biggieteps

you would have to write your own code for this, but probably a few people who would help as its a feature lots of people want added.

1stmetro avatar Feb 19 '18 22:02 1stmetro

Thank you. why redo the wheel? Is there someone who has already done it? If yes, an example will be welcome

biggieteps avatar Feb 20 '18 15:02 biggieteps

I'm not aware anyone has implemented this yet

1stmetro avatar Feb 20 '18 18:02 1stmetro

pdfium should have this function, the problem is to implement it for android. I remember the old app "google pdf viewer" which however was based on pdfium and had this function

I did some research and found some libraries that have implemented the search, but I don't know if they work, they should be tested. It would take someone to test them and maybe fork and keep an updated fork.

Test them and let me know if they work in any way

https://github.com/gulshan98185/AndroidPdfViewer

https://github.com/beeline09/AdvancedPdfView

https://github.com/beeline09/android-support-pdfium

https://github.com/benjinus/android-support-pdfium

odmfl avatar Oct 20 '22 13:10 odmfl