Hi, i want to extract some advertising text form a pdf file, the problem is that i would show it perfectly like is shown in pdf. There are all advertices inside box thus (for example) like is shown at this picture
I´d like show all this content as i would want using css and js then. There possibility to extract fonts and text properties simultaneusly? Of course that i want do that because i want to handle all pdf content in a website
I work with php, js and mysl and remember something about c from the university. Can someone tell me how do that? I can extract all text content but i would like so much that this text appear seem that in pdf but need plain text of cource, i cant use small box´s picture by each one, i would show that with js and css with border=1 or something like that. Greeting and hopping your answer, Leonardo.
So, basically: You want an automated way of extracting the text and formatting information, and then recreating the look - as closely as possible - using HTML and CSS?
You want to read character by character an PDF File.
More precisely, reading the PDF into a character recognition (OCR) software, if your PDF is an all graphics file (indicated by the impossibility of highlighting text).
The results of course depend on your OCR software and the settings you apply before recognition.
In any case, the procedure is likely to involve a lot of work and only pays off if the text contains lots of repetitions and you can use a CAT software afterwards. Otherwise, just use a printout and type the translation into Word.
I suggest that you'd better choose a suitable tool to help you.Whenever I have such a similar need, I use this professional PDF sdk.Then you will understand: file conversion is a convenience. It saves your having to retype document in Word from scratch. A converted file cannot be used as a final document. You will save yourself untold hours of frustration if you get your brain around this simple fact.
Download the free trial of Yiigo and try it. Let me know if this helped and were able to do this with success.
Bookmarks