Copy link to clipboard
Copied
Hi,
I am developing an adobe plugin in visual studio 2010 using VC++ and need to extract documentid from pdf metadata using PDDocGetXAPMetadata while requesting pdf file to open but it is giving error PDDocGetXAPMetadataSELPROTO is undefined. I have already included header files PDMetadataProcs.h and PDMetadataCalls.h.
In header file PDMetadataProcs.h
XNPROC(ASText,
I want to extract documentid of pdf file before opening it in adobe reader.
Please help me out in resolving this issue.
Thanks.
Copy link to clipboard
Copied
This method is not available in Reader.
Copy link to clipboard
Copied
Is there any way of getting documentid of pdf file?
Copy link to clipboard
Copied
Use the method PDDocGetID.
Copy link to clipboard
Copied
PDDoc pdDoc = AVDocGetPDDoc(MyDoc);
char buf[256] = {0};
ASInt32 uintChars = PDDocGetID(pdDoc, 0, (unsigned char*)buf, 256);
it is giving encrypted documentid..my requirement is retrieving decrypted docid
Find more inspiration, events, and resources on the new Adobe Community
Explore Now