Hey, I wont to make a program which can read a PDF and find itz 'title' and 'author' and write it to a .txt file..
most of the PDF files are encoded, i need to decode them and fine the title so im not sure how to do that...
please help!
Thanx in advance.
2 replies to this topic
#1
Posted 27 September 2010 - 12:52 AM
|
|
|
#2
Posted 27 September 2010 - 01:48 AM
You should look into pdf spec if you want to roll your own parser
PDF Reference and Adobe Extensions to the PDF Specification
or look into existing ones, like: PoDoFo.
PDF Reference and Adobe Extensions to the PDF Specification
or look into existing ones, like: PoDoFo.
std::string s("oberq zhpu?");std::for_each(s.begin(),s.end(),[&](char&c){c=~c;c=~c-0x01/(~(c|0x20)/0x0D*0x02-0x0B)*0x0D;});std::cout<<s;
#3
Posted 27 September 2010 - 01:48 AM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









