Maybe ColumnText could be made an Element and be added to the Document.

Best Regards,
Paulo Soares

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Christian Lauer
> Sent: Wednesday, September 22, 2004 7:44 AM
> To: iText Mailing List
> 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

Reply via email to