I added the new property ColumnText.setAdjustFirstLine() to take care of
this.

If you have:
1
2
3
go()

It's equivalent to:
1
go()
2
setAdjustFirstLine(false)
go()
3
go()

Paulo

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Paulo Soares
> Sent: Wednesday, September 12, 2007 12:04 PM
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] Problem withColumnTextand 
> SpaceAfterof paragraphs
> 
>  
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECTED] On 
> > Behalf Of Bruno Lowagie (iText)
> > Sent: Wednesday, September 12, 2007 11:54 AM
> > To: Post all your questions about iText here
> > Subject: Re: [iText-questions] Problem with ColumnTextand 
> > SpaceAfterof paragraphs
> > 
> > Paulo Soares wrote:
> > > I didn't have yet time to reproduce the problem but the the 
> > placement of
> > > go() has influence in the output (this is by design) 
> > specially in the
> > > spacing before where it's not applied in the first 
> > paragraph each time
> > > go() is called.
> > 
> > That's what I mean: if you add the line I mentioned,
> > both columns look identical. However: when you set
> > the value for the ascender and you have a column and
> > you do 1, 2, 3, go(), you expect the ascender to be
> > taken into account only for 1.
> > If you do 1, go(), 2, go(), 3, go(), the ascender will
> > be taken into account for 1, 2, and 3.
> > I think that makes sense, and that's why I didn't commit
> > the 'fix' yet. I'm not sure if it's really a fix.
> > 
> 
> There's nothing to fix here but I think that an extra 
> optional parameter
> is needed in ColumnText to have a, sort of, go() with memory 
> if needed.
> Stay tuned.
> 
> Paulo
> 
> > As for the RtfFields not showing up, I have the impression
> > that the wrong writeContent is invoked. I haven't found out
> > why yet.
> > br,
> > Bruno


Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter 
informação confidencial ou legalmente protegida. A incorrecta transmissão desta 
mensagem não significa a perca de confidencialidade. Se esta mensagem for 
recebida por engano, por favor envie-a de volta para o remetente e apague-a do 
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de 
usar, revelar ou distribuir qualquer parte desta mensagem. 

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain 
confidential or legally protected information. The incorrect transmission of 
this message does not mean the loss of its confidentiality. If this message is 
received by mistake, please send it back to the sender and delete it from your 
system immediately. It is forbidden to any person who is not the intended 
receiver to use, distribute or copy any part of this message.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to