Requirement is to process a batch of PDFs one at a time and on success encrypt each of them with an user password. However, these PDFs were encrypted previously with randomly generated dynamic owner password (not known to any one) to prevent any edits.
I have a PdfReader instance that contains some pages in landscape mode and other page in portrait. I need to distinguish them to perform some operations... However, if I call the getPageSize() , the value is always the same.