pdf export to different paper sizes implemented