make the pdf visibility changing methods public