Excellent - works a treat :o)

Thank you both for your efforts, greatly appreciated...

PhilQ.

"Paulo Soares" <[EMAIL PROTECTED]> wrote on 10/19/2005 11:21:29 AM:

> Have a look at the PdfStamper javadocs. Just as a pointer:
>
> PdfReader r = new PdfReader(...);
> PdfStamper stp = new PdfStamper(reader, ...);
> PdfContentByte cb = stp.getOverContent(1);
> // place your text, images, etc. in cb
> stp.close();
>
> > -----Original Message-----
> > From: Phil Queripel [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, October 19, 2005 4:19 PM
> > To: Paulo Soares
> > Cc: itext-questions@lists.sourceforge.net; Leonard Rosenthol
> > Subject: RE: [iText-questions] Writing To Existing PDFs
> >
> >
> > >Are you using PdfStamper.getOverContent()?
> > Nope, I'll investigate that now - if you have a few example
> > lines handy, that would be nice :o)
> >
> > Phil.
> >
> > "Paulo Soares" <[EMAIL PROTECTED]> wrote on 10/19/2005 11:13:47 AM:
> >
> > > Are you using PdfStamper.getOverContent()?
> > >
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED]
> > > > [mailto:[EMAIL PROTECTED] On
> > > > Behalf Of Phil Queripel
> > > > Sent: Wednesday, October 19, 2005 4:05 PM
> > > > To: Leonard Rosenthol
> > > > Cc: itext-questions@lists.sourceforge.net; Phil Queripel
> > > > Subject: Re: [iText-questions] Writing To Existing PDFs
> > > >
> > > >
> > > > > Then you aren't getting the coordinates correct.
> > > > I think my coordinates are ok, look at the example attachment
> > > > (sorry had to screen dump, the rest of the doc contains
> > > > client details), you'll see half of my name obscured (Phil
> > > > Queripel) by the first box, I want to fill many of these
> > > > types boxes across the form.
> > > >
> > > >  
> > > >
> > > > > How are you determining the coordinates?  Are you
> > > > > remembering that PDF is origined in the lower left and NOT
> > > > the upper left?
> > > > Yes I understand the lower left is the starting point.
> > > >
> > > > Regards.
> > > >
> > > > Phil.
> > > >
> > > > Leonard Rosenthol <[EMAIL PROTECTED]> wrote on 10/19/2005
> > > > 10:40:24 AM:
> > > >
> > > > > At 10:37 AM 10/19/2005, Phil Queripel wrote:
> > > > > > > Meaning you can't get teh coordinates correct?
> > > > > >Nope, I can set the coordinates fine.
> > > > >
> > > > >          OK, then if you are getting coordinates
> > correct - then the
> > > > > text will appear will you tell it.
> > > > >
> > > > >
> > > > > > >Or the text
> > > > > > > shows up UNDER the areas, but never on top?  What
> > do you mean
> > > > > > > "everywhere except where I want it"??
> > > > > >It's just that I want to put the text over existing
> > boxes and it
> > > > > >doesn't appear above the boxes, in other areas of the
> > doc my text
> > > > > >appears ie. over existing text, between lines etc.
> > > > >
> > > > >          Then you aren't getting the coordinates correct.
> > > > >
> > > > >          How are you determining the coordinates?  Are you
> > > > > remembering that PDF is origined in the lower left and NOT
> > > > the upper left?
> > > > >
> > > > >
> > > > > Leonard
> > > > >
> > > > >
> > > > --------------------------------------------------------------
> > > > -------------
> > > > > Leonard Rosenthol                            
> > > > <mailto:[EMAIL PROTECTED]>
> > > > > Chief Technical Officer                      
> > > > <http://www.pdfsages.com>
> > > > > PDF Sages, Inc.                              
> > 215-938-7080 (voice)
> > > > >                                               215-938-0880 (fax)
> > > > >
> > > > >
> > > >
> > > >
> > >
> >
> >
>

Reply via email to