added framework for koPDF