Re: [iText-questions] corrupt PDF generated

2014-08-16 Thread Jaime Hablutzel Egoavil
> > It seems as you are generating a PDF from scratch. > This PDF contains a form field that is to be rendered in a cell. Yes, it is correct, I'm generating a PDF with a text field inside a cell from scratch, but the value set for the field (by using com.itextpdf.text.pdf.BaseField#setText(java.l

Re: [iText-questions] corrupt PDF generated

2014-08-16 Thread iText mailing list
On 8/16/2014 2:08 PM, Jaime Hablutzel Egoavil wrote: > Failing to regenerate appearances for the previous snippet would not > display the "Default value not shown if appearances are not > regenerated", because this widget appearance is bound to "new > Rectangle(0,0)" inmediately after the "text.

Re: [iText-questions] corrupt PDF generated

2014-08-16 Thread Jaime Hablutzel Egoavil
Seems than the snippet have been filtered because (Maybe because the message was sent from Nabble), sending again: How can the appearances be regenerated or the file marked as needing appearances regeneration? Can this be done without "com.itextpdf.text.pdf.AcroFields#regenerateField"? Because as

Re: [iText-questions] corrupt PDF generated

2014-08-16 Thread hablutzel1
How can the appearances be regenerated or the file marked as needing appearances regeneration? Can this be done without "com.itextpdf.text.pdf.AcroFields#regenerateField"? Because as far as I can see, you need a "PdfStamper" to load an "AcroFields" instance, so this would create a new PDF increment