You must use ColumnText otherwise all the fancy effects like superscript or underline get lost.
Best Regards, Paulo Soares > -----Original Message----- > From: Bruno [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, July 04, 2002 13:40 > To: Susana Pereira > Cc: [EMAIL PROTECTED] > Subject: Re: [iText-questions] Using Chunks within templates > > Quoting Susana Pereira <[EMAIL PROTECTED]>: > > > Hi. > > I'm building a table with a vertical header using a template that is > placed > > > > vertically in a cell. > > The template is generated through an array of Chunk. One chunk should > have > > text rise = 2. > > But when I added it to the template it doesn't appear rise. I believe > that > > it appends because I add chunk content to the template. > > Yes, you are mixing two things. > I wouldn't would with Chunks in your case. > > But anyway: > You extract the content of the chunk and add this String to a template. > You forget to ask the chunk for its SUPSUPSCRIPT-attribute and move > the current pointer on the template accordingly. > > Bruno > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Caffeinated soap. No kidding. > http://thinkgeek.com/sf > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Caffeinated soap. No kidding. http://thinkgeek.com/sf _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
