Automatic generation of SCORM compliant metadata for portable document format files