The code is exactly the same as in addPTable().

Best Regards,
Paulo Soares 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Steve Appling
> Sent: Wednesday, September 22, 2004 12:15 PM
> To: Christian Lauer; iText Mailing List
> Subject: Re: [iText-questions] ColumnText
> 
> Do you think ColumnText should implement Element?  Then you 
> could add a form
> of setSimpleColumn that only sets height and width and the add call in
> PdfDocument could adjust for horizontal alignment and call 
> the existing
> setSimpleColumn using the currentHeight and indents (like it does in
> addPTable).
> 
> ----- Original Message ----- 
> From: "Christian Lauer" <[EMAIL PROTECTED]>
> To: "iText Mailing List" <[EMAIL PROTECTED]>
> Sent: Wednesday, September 22, 2004 2:44 AM
> Subject: [iText-questions] ColumnText
> 
> 
> > Hi Paulo,
> >
> > I'd like to enhance the support of ColumnText in UJAC. For 
> that I'd like
> > to add a column text seamlessly to the document like other 
> elements like
> > tables, paragraphs or lists do. To make that happen I need 
> to know the
> > current page position. To get this, I tried the following 
> workaround,
> > which works, but adds a huge spacing between the current 
> text and the
> > column text.
> >
> >
> >   public float getVerticalPosition() throws 
> DocumentHandlerException {
> >     try {
> >       Table tab = new Table(1);
> >       return ((PdfWriter) documentWriter).getTableBottom(tab);
> >     } catch (BadElementException ex) {
> >       throw new DocumentHandlerException(locator(), ex.getMessage(),
> > ex);
> >     }
> >   }
> >
> >
> > Is there a better solution?
> >
> > Best regards,
> > Christian
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> > Project Admins to receive an Apple iPod Mini FREE for your 
> judgement on
> > who ports your project to Linux PPC the best. Sponsored by IBM.
> > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
> > _______________________________________________
> > iText-questions mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/itext-questions
> >
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> Project Admins to receive an Apple iPod Mini FREE for your 
> judgement on
> who ports your project to Linux PPC the best. Sponsored by IBM.
> Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to