Read in .pdf files
-
It can be read words in .pdf document file ? Should be use an special .pdf library , or MFC can do that ?
-
It can be read words in .pdf document file ? Should be use an special .pdf library , or MFC can do that ?
You should either use a library or parse yourself the
PDF
format (specifications are available). I believe there are articles, here at CodeProject, covering both techniques. :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
It can be read words in .pdf document file ? Should be use an special .pdf library , or MFC can do that ?
-
You should either use a library or parse yourself the
PDF
format (specifications are available). I believe there are articles, here at CodeProject, covering both techniques. :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles]After all , I need a pdf library to read words in .pdf file ... I was thinking that MFC knows something tricky ...
-
After all , I need a pdf library to read words in .pdf file ... I was thinking that MFC knows something tricky ...
mesajflaviu wrote:
After all , I need a pdf library to read words in .pdf file ... I was thinking that MFC knows something tricky ...
Why would MFC need to bother about PDF files?! MFC is just a wrapper around Windows API. On the other hand, PDF is one of the several hundred proprietary file formats which is not related in any way with Windows or Microsoft. I wouldn't ever expect MFC to make it easier for me to read PDF files. By the way, if you do a Google search as suggested by two of us, you'll find a whole lot of libraries/code/exmaples which deals with the subject of manipulating PDF files.
It was ever thus, the Neophiles will always rush out and get 'The Latest Thing' at a high price and with all the inherent faults - Dalek Dave.
-
mesajflaviu wrote:
After all , I need a pdf library to read words in .pdf file ... I was thinking that MFC knows something tricky ...
Why would MFC need to bother about PDF files?! MFC is just a wrapper around Windows API. On the other hand, PDF is one of the several hundred proprietary file formats which is not related in any way with Windows or Microsoft. I wouldn't ever expect MFC to make it easier for me to read PDF files. By the way, if you do a Google search as suggested by two of us, you'll find a whole lot of libraries/code/exmaples which deals with the subject of manipulating PDF files.
It was ever thus, the Neophiles will always rush out and get 'The Latest Thing' at a high price and with all the inherent faults - Dalek Dave.
You are right ... I try http://www.pdflib.com/[^] but I didn't find what I need : to read every string from an .pdf file ... and I was thinking that I could read a .pdf file like an binary file or something ...
-
You are right ... I try http://www.pdflib.com/[^] but I didn't find what I need : to read every string from an .pdf file ... and I was thinking that I could read a .pdf file like an binary file or something ...
Try looking around their examples and documentation. http://libharu.org/wiki/Documentation/Usage#Save_document_to_file_or_memory_stream[^]
It was ever thus, the Neophiles will always rush out and get 'The Latest Thing' at a high price and with all the inherent faults - Dalek Dave.
-
It can be read words in .pdf document file ? Should be use an special .pdf library , or MFC can do that ?
I found this to be a good read - The Great PDF - Revealed[^]
«_Superman_» _I love work. It gives me something to do between weekends.
-
I found this to be a good read - The Great PDF - Revealed[^]
«_Superman_» _I love work. It gives me something to do between weekends.
Thank you all !