Flattening only works on fields. Best Regards, Paulo Soares
> -----Original Message----- > From: Raymond Leong [SMTP:[EMAIL PROTECTED] > Sent: Tuesday, September 09, 2003 11:11 > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: [iText-questions] Missing Content and How to shift the > starting location > > stamp.setFormFlattening(true); > I had already done that. I had flatten them to output1.pdf before copying > to > output.pdf. And now I realised that my form fields are flatten, but not > the > rectangles and free text. > > Will be reading Ch10 in the mean time. > > > >From: Paulo Soares <[EMAIL PROTECTED]> > >To: 'Raymond Leong' <[EMAIL PROTECTED]>, > >[EMAIL PROTECTED] > >Subject: RE: [iText-questions] Missing Content and How to shift the > >starting location > >Date: Tue, 9 Sep 2003 11:00:11 +0100 > > > > > > > > > -----Original Message----- > > > From: Raymond Leong [SMTP:[EMAIL PROTECTED] > > > Sent: Tuesday, September 09, 2003 4:41 > > > To: [EMAIL PROTECTED] > > > Subject: [iText-questions] Missing Content and How to shift the > > > starting location > > > > > > Hi, > > > > > > > > > I wanted to create a report in a short time. So I did the following > > > 1. Create the report in MS Words and convert it into pdf. > > > 2. Use Adobe Acrobat to add forms, some wordings and rectangles so > that > >I > > > can dynamically set the values. I intend to use Adobe Acrobat for > future > > > editing. > > > 3. Use PdfStamper to set the values, and save as output1.pdf > > > 4. Use PdfWriter, PdfImportedPage to move the content of output1.pdf > to > >a > > > new document. From here programmatically add some phases and drawings. > > > Save > > > as output.pdf > > > > > > > > > Q1 : > > > Step 1,2,3 went well. But in step 4, output.pdf do not have the > > > wordings/drawings I made via Adobe Acrobat. Only wordings/drawings > from > >MS > > > > > > Words or cut and paste from other pdf appears in the final pdf. Why > did > > > loose all the changes I made via Adobe Acrobat? For your info, > >output1.pdf > > > > > > still has everything. > > > > > PdfImportedPage in PdfWriter only imports the contents not the > >interactive features. You have to flatten the fields for this to work. If > >you just want to shift the position, like in odd/even page margin > >adjustment > >other alternatives exist. > > > > > Q2 : > > > And after copying the content of output1.pdf, I want to continue add > >some > > > phases and drawings programmatically. I would like to define the > >starting > > > location to write phases and paragraphs. Right now they always starts > at > > > the > > > top of a page. Any hints on how to do that? > > > > > See http://www.lowagie.com/iText/tutorial/ch10.html. > > > > Best Regards, > > Paulo Soares > > > > _________________________________________________________________ > Get a FREE computer virus scan online from McAfee. > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
