I'm working on a application to search files.
I have some pdf documents and i want to be able to search in plain text and above all in the keywords associate with each file (visible with "right-click -> properties").
I didn't find solution to do this and i don't know how to go farer than loader.data........
Are there solutions in as3 to read pdf files or should i use some extern librairies??
Thanks for you help!
PS: loader.data show this in a TextArea.text
10 0 obj
<</Linearized 1/L 6965/O 12/E 2425/N 1/T 6663/H [ 449 146]>>
15 0 obj
<</DecodeParms<</Columns 4/Predictor 12>>/Filter/FlateDecode/ID[<6A8AB3203F1C2C4C77ED30BAF7159EBE><AC5D5C529999B848B93A1D3679B 04152>]/Index[10 15]/Info 9 0 R/Length 48/Prev 6664/Root 11 0 R/Size 25/Type/XRef/W[1 2 1]>>stream
hÞbbd ``b`r ~@‚± Ä]
$~/g`bd˜ ’``$@ügÜò À
the best way is to use the PurePDF AS3 Library (http://code.google.com/p/purepdf/). It has just been updated with the getInfo method - read the following blog entry http://www.sephiroth.it/weblog/archives/2010/05/read_pdf_metadata_with_purepdf.php