Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
0

PDF Metadata

New Here ,
Mar 01, 2016 Mar 01, 2016

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,

      PDDocGetXAPMetadata, (IN  PDDoc pdDoc)) also showing error: explicit type is missing('int' assumed) and expected a type specifier when compiling.

I want to extract documentid of pdf file before opening it in adobe reader.

Please help me out in resolving this issue.

Thanks.

TOPICS
Acrobat SDK and JavaScript
806
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 02, 2016 Mar 02, 2016

This method is not available in Reader.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 02, 2016 Mar 02, 2016

Is there any way of getting documentid of pdf file?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 02, 2016 Mar 02, 2016

Use the method PDDocGetID.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 02, 2016 Mar 02, 2016
LATEST

  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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines