Re: Replace Form using PDFGraphicsStreamEngine

2023-03-31 Thread Tilman Hausherr
ubject: Re: Replace Form using PDFGraphicsStreamEngine You can call getStream() on the PDFormXObject and then change that one, or are you asking something different? I assume https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F75814243%2Fpdfbox-how-to-re

RE: Replace Form using PDFGraphicsStreamEngine

2023-03-30 Thread Kett, Bernward
ssage- From: Tilman Hausherr Sent: Freitag, 24. März 2023 05:36 To: dev@pdfbox.apache.org Subject: Re: Replace Form using PDFGraphicsStreamEngine You can call getStream() on the PDFormXObject and then change that one, or are you asking something different? I assume https://

Re: Replace Form using PDFGraphicsStreamEngine

2023-03-23 Thread Tilman Hausherr
You can call getStream() on the PDFormXObject and then change that one, or are you asking something different? I assume https://stackoverflow.com/questions/75814243/pdfbox-how-to-replace-text-in-a-pdformxobject is also from you? Or is your question about replacing a form in the resources? Ti

Replace Form using PDFGraphicsStreamEngine

2023-03-23 Thread Kett, Bernward
Dear all, I'm struggling with replacing text within a Form. I detect the text I can replace it, but putting it back to the form seems to be the hell on earth. What was my approach? I'm using MKL's PdfContentStreamEditor (Thanks for that it was a very useful starting point) Replacing content wit