metadata

PDF HTML FlashPaper

Main

File Formats

JPEG

PDF

  • author RW
  • creator RW
  • company RW
  • title RW
  • keywords RW
  • producer RW
  • creationDate RW
  • modDate RW
  • pdfVersion R
  • pageCount R
  • metadata R

DOC,XLS,PPT

  • author RW
  • comments RW
  • keywords RW
  • subject RW
  • title RW
  • revNumber RW
  • lastSaveDateTime RW
  • createDateTime R
  • detail R
  • applicationName R
  • charCount R
  • editTime R
  • lastAuthor R
  • lastPrinted R
  • pageCount R
  • security R
  • template R
  • thumbnail R
  • wordCount R

Examples

Get Metadata information from a PDF file

  • Create an instance of the object and initiate it with the file path
    • myPDF=CreateObject("component","meta").init("c:/inetpub/wwwroot/dev/dev/test1.pdf");
  • get the PDF meta
    • getMeta=myPDF.getMeta();

Set metadata to a PDF file

  • Create an instance of the object and initiate it with the file path
    • myPDF=CreateObject("component","meta").init("c:/inetpub/wwwroot/dev/dev/test1.pdf");
  • create a structure to set some values
    • struct={author="Martha Reeves",creator="Creator"};
  • add values to the pdf
    • myPDF.setMeta(struct);

Requirement

Full metadata

  • Itext
  • POI
  • Perl / EXIFTOOL module

Just java libraries

  • Itext
  • POI

No requirement

Performance Issue

  • Java or not Java
  • Perl
    • Perl with cfexecute
    • Perl with ISAPI on IIS