I think I can answer my question by myself.
There seems to be no way to edit the content of an existing PDF. The only editing capability OpenPDF provides is through the PdfStamper
, which allows you to add content to a PDF: https://librepdf.github.io/OpenPDF/docs-1-2-7/com/lowagie/text/pdf/PdfStamper.html