25

I want to read text from pdf file and search text into pdf file.

here the link that I know.

none of this help me out.

Getting text position while parsing pdf with Quartz 2D

HIghlighting the text in PDF document iPhone xcode

https://developer.apple.com/library/archive/documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/dq_pdf_scan/dq_pdf_scan.html#//apple_ref/doc/uid/TP30001066-CH220-CJBDCGCB

Reading PDF files as string through iPhone application

Cœur
  • 37,241
  • 25
  • 195
  • 267
GameLoading
  • 6,688
  • 2
  • 33
  • 57
  • 1
    Did you look for pdf text extraction? – p4553d Feb 24 '11 at 13:41
  • if there are not an API already, why not to create one yourself? – Umair A. Feb 24 '11 at 20:53
  • yes i want ti extract text and also search inside pdf. – GameLoading Feb 25 '11 at 04:26
  • http://doc.mobfarm.eu/FastPdfKit/ its showing a function name of one file which is used to highlight code. – GameLoading Mar 21 '11 at 11:24
  • can we read context of any view? – GameLoading Mar 25 '11 at 06:08
  • Look at [this](http://stackoverflow.com/questions/4949809/pdf-viewer-ipad-app) question. – MacTeo Feb 27 '11 at 14:20
  • i dont want to use https://github.com/mobfarm/FastPdfKit – GameLoading Mar 01 '11 at 10:31
  • @Fasttracks FastPdf kit is really good,i used this in my application.Well there is no proper documentation for the search in pdf,the available are also not up to date. – Sabby Mar 04 '11 at 10:56
  • the fast kit pdf shows its logo at the first what about that? and i want to learn how to highlight this.. – GameLoading Mar 04 '11 at 11:23
  • There's the FastPdfKit+ version available. The documentation is included in the GitHub project. You can also point your browser at http://doc.mobfarm.eu/FastPdfKit/ also the sample project is heavily commented. – MacTeo Mar 05 '11 at 09:58
  • I am able to parse pdf page, now i want to highlight particular word in pdf, how can i do so? – GameLoading Mar 15 '11 at 05:54
  • @Fastttracks you need to use CoreText framework to highlight text. and more over you can also hide the logo in fastpdfkit by giving your ownlogo there,you just need to do some tric bro........if you don't want to do that then you can buy this.Well my company only gave me 7 days to do this type off app,so it was not possible for me to do r n d and use core text at my own.So i used that pdf kit. – Sabby Mar 18 '11 at 04:59
  • can you please provide some information on http://stackoverflow.com/questions/5335799/is-there-any-framework-to-highlight-text-on-pdf-file-after-rendering – ajay Mar 21 '11 at 11:20
  • http://stackoverflow.com/questions/5354457/text-selection-on-pdf-after-rendering-in-iphone – ajay Mar 21 '11 at 11:21

1 Answers1

4

Look at PDFKitten, it's a good start - it does all the glyph width analysis for you, but it's not perfect either.

steipete
  • 7,581
  • 5
  • 47
  • 81