for pdf view