Re: [iText-questions] PDFReader rebuilt property causes DocumentException

2012-03-13 Thread Reza Hedayat
Hi Paulo Thanks a lot for your comprehensive answer. The approach to use the PdfStamper to create a valid PDF out of a recovered PDF works for me. Best wishes Reza On 03/13/12 14:32, Paulo Soares wrote: > On Tue, Mar 13, 2012 at 12:14 PM, Reza Hedayat > wrote: >> Hi iText developers >> >> T

Re: [iText-questions] PDFReader rebuilt property causes DocumentException

2012-03-13 Thread Paulo Soares
On Tue, Mar 13, 2012 at 12:14 PM, Reza Hedayat wrote: > Hi iText developers > > The PdfReader class has a protected member variable called rebuilt, which is > set to true in some cases. Therefore, this causes a DocumentException in the > PdfStamperImp class as follows: > > [start: Fragment of com.

[iText-questions] PDFReader rebuilt property causes DocumentException

2012-03-13 Thread Reza Hedayat
Hi iText developers The PdfReader class has a protected member variable called rebuilt, which is set to true in some cases. Therefore, this causes a DocumentException in the PdfStamperImp class as follows: [start: Fragment of com.itextpdf.text.pdf.PdfStamperImp] ... PdfStamperImp(PdfReader r