Hellow iam new to javascript i want extract the hilighted(Text) comments from pdf file with corresponding page number.
Can u plz assist me .
Thanks
Eswer.
Hellow iam new to javascript i want extract the hilighted(Text) comments from pdf file with corresponding page number.
Can u plz assist me .
Thanks
Eswer.
There is also the "Summarize" feature, that collects and displays information on each comment in a human readable form. There is some control over which comments are summarized, but maybe not exactly what you want. This is also an undocumented JavaScript function that you can modify for your own purposes. But it's pretty advanced stuff and I wouldn't suggest it.
You can also write your own fucntion for summarizing comment data by looping through the list of comments on the PDF. Acquire the list of comments with the "doc.getAnnots()" function.
In order to give you further advice we'll need some more information. What do you mean by "hilighted" comments? Do you mean the "Highlight" type of comment, or Selected comments? What do you mean by extract? Do you want the comment info in a particular file format, like XML, or do you just want a summary of the comments? What information about the comments do you want to collect?
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script