Re: [iText-questions] template top moves off the page when I add xml content

2008-12-15 Thread 1T3XT info
Shanti Mangala wrote: > When I add an image using the XmlPeer tag, the content > that comes before the image is replaced by image. > > Is there a workaround for this? What content, what image? Isn't it normal that a background image is covered by regular content? > Is there also a way to add

Re: [iText-questions] template top moves off the page when I add xml content

2008-12-14 Thread Shanti Mangala
1T3XT info 1t3xt.info> writes: > Please compare the page size of your background.pdf with the page size > of the PDF generated by Spring. Maybe one is in the A4 format, whereas > the other is in LETTER. That could explain the offset. That worked - thanks. When I add an image using the XmlPee

Re: [iText-questions] template top moves off the page when I add xml content

2008-12-14 Thread 1T3XT info
Shanti Mangala wrote: > I am using Spring's AbstractPdfView class to get my PDF document built, Here > is > the view class Please compare the page size of your background.pdf with the page size of the PDF generated by Spring. Maybe one is in the A4 format, whereas the other is in LETTER. That c

Re: [iText-questions] template top moves off the page when I add xml content

2008-12-14 Thread Shanti Mangala
1T3XT info 1t3xt.info> writes: > > Shanti.Mangala perficient.com wrote: > > > > Here is my issue - I am adding a pdf document as a template (this has a > > header and footer) using pageevents as a layer. > > The template is a PDF that is used as background. Is that correct? > > > Later on, I

Re: [iText-questions] template top moves off the page when I add xml content

2008-12-14 Thread 1T3XT info
shanti.mang...@perficient.com wrote: > > Here is my issue - I am adding a pdf document as a template (this has a > header and footer) using pageevents as a layer. The template is a PDF that is used as background. Is that correct? > Later on, I am adding to > this, some dynamic content parsed f

[iText-questions] template top moves off the page when I add xml content

2008-12-14 Thread Shanti . Mangala
Here is my issue - I am adding a pdf document as a template (this has a header and footer) using pageevents as a layer. Later on, I am adding to this, some dynamic content parsed from xml (pretty much similar to what is described in the book for simple letter example). When I don't add the xml