pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Magnus Evensberget <magnus.evensber...@gmail.com>
Subject Something weird with PDFMergerUtility?
Date Thu, 13 Aug 2015 19:10:16 GMT
I have the following example:

PDDocument document = new PDDocument();
PDDocument d = PDDocument.load(documentBytes.get());

PDFMergerUtility merger = new PDFMergerUtility();
merger.appendDocument(document, d);
merger.appendDocument(document, d);

document.save("c:/test/blankDocWithFields.pdf");

the document has one textfield

The PDF saved has both pages, but the page content is gone, leaving only
the textfields to write in on both pages.

It worked before I went on Holiday but when I came back one week later it
did not work.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message