Better PDF parsing + documentviewer compliancy
Merge pull request #359 from simong/paris2013-previews-documentviewer

Better PDF parsing + documentviewer compliancy