Added all dependencies for the documentviewer in the lib.
Merge pull request #2605 from simong/fullblowndocviewer

Added all dependencies for the documentviewer in the lib.