Re: PDF reader
- Posted by jimcbrown (admin) Nov 25, 2013
- 2739 views
The words you have to real think about in the questioner's request are "so I can strip out information needed". That is call extraction from a PDF file. Try it under Euphoria - you will not do it programatically in one month.
This is why a 3rd party tool is used.
The next lot of words are also very clear and explicit - " I can do that with a txt file but not a pdf file"
This is why a 3rd party tool is used to convert it to a text-based format first.
That exactly is the case for at least one month of programming using ready made application for him to to do it conveniently as often as he needs to.
Many minutes and hours have passed and you have not come up with anything so far.
Actually, I wrote a utility with Euphoria several years ago that did the same thing - it converted a pdf file to an html file and then converted that to a plain text file and then grepped out a set of lines that I was interested in.
I think this argument makes more sense against you - you've posted among the most on this thread, but have failed to come up with any helpful ideas.
If you can do in in 2 minutes in Euphoria, you will be essentially claiming to be a unmatched genius
I don't claim to be an unmatched genius, but ... with the caveat that I'm using system() to call non-Euphorian 3rd party applications to do all the hard work, I claim that I can write an application that will do a to and from conversion and extraction and even allowing a human to manually perform some editing in less than 2 minutes with Euphoria. It's simple really - just call htmltopdf to convert the PDF file into an html file, open the whole html file with LibreOffice and let a human do some editing, then manually invoke LibreOffice's print-to-file functionality to convert it back to a PDF file again...
You still show ignorance. If you have to keep on switching between 3rd party applications, everybody knows they can do it. WRITE a full application in Euphoria, call your htmltopdf then call other editors and search and replace and give it to any user to do comfortably without keeping on explicitly calling 3rd party application. THAT is what the guy want and you have not don it yet given the hours you have spent talking half truths.
You have contradicting requirements here. I'm suppose to "call your htmltopdf then call other editors" but at the same time avoid "explicitly calling 3rd party application[s]" ?
Enough nonsense. I think it's time to get this thread back on track with helpful information.