iText 7 Core is available via Maven on The Central repository. If you need all iText 7 modules, then you don't need to add the individual modules and you can just add this XML snippet in your pom.xml. Maven will then do all the heavy lifting for you and download the required modules from The Central Repository. Simply add iText 7 as a dependency to your pom.xml:
NOTE: We use "RELEASE" as the iText version in this installation, which will ensure you install the current release versions of the iText 7 modules. If your project requires a specific version of iText 7 to function correctly, ensure you replace this with your desired version number in your pom.xml.
When I create a PDF form (for instance using Acrobat) that contains text fields in AcroForm format (PDF dictionaries, no XFA), and I submit the data to a server, how can I specify/retrieve the encoding that will be used?
My goal is to move text in a PDF around, which is within a certain rectangular area.
All content matching the area in the original PDF should be shifted somewhat in the x and y direction.
I have no influence on how the PDFs are created and I can accept a solution that only vaguely works.
I am using PdfWriter, PdfImportedPage and the addTemplate() method to shrink pages.
However, when I do so, I lose the rotation of the pages and I lose all interactive features.
Is there another way I can shrink pages?
I create a PDF where I define absolute measurements. However, when I print this PDF, the measurements aren't correct. I want to have a PDF file that contains no differences between the actual size vs "fit to page" when printing.