partial rewrite of pdf details view