configure documentviewer