i need to detect if a user change ONLY annotations (add, update, delete annotation ) in a pdf file.
I checked xapMM:DocumentID
and
xapMM:InstanceID
Unfortunately InstanceID change even if there are no real updates...
I can't compare these 2 documents each time.
I need a batch javasctipt solution.
Any ideas ?
Another method is to sign the doc before new annots are added to it. Then use the "field.signatureGetModifications()" function. This one is problematic though, I don't think is will allow you to get incremental updates for changes after the signature was made, but you'll have to check it out to be sure.
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script