Re: [iText-questions] Re: Multi-line headers/footers

2002-03-07 Thread Matt Benson
I apologize for my not being able to say exactly what it was that you add to your HeaderFooter; indeed, it is a Phrase. For multiline, use something like: HeaderFooter footer = new HeaderFooter(new Phrase ("line 1\nline 2")); This is what Bruno was saying. -Matt --- [EMAIL PROTECTED] wrote:

Re: [iText-questions] Re: Multi-line headers/footers

2002-03-07 Thread Mark
Hi, Steffen Stundzig wrote: >Hi bruno, > >On Thu, 07 Mar 2002 08:36:38 GMT >[EMAIL PROTECTED] wrote: > >>Steffen Stundzig writes: >> >>>Perhaps could we push this in the super class HeaderFooter? >>> >>But what if different writers are listening to the same >>Document object. The HTML writer doe

Re: [iText-questions] Re: Multi-line headers/footers

2002-03-07 Thread Steffen Stundzig
Hi bruno, On Thu, 07 Mar 2002 08:36:38 GMT [EMAIL PROTECTED] wrote: > Steffen Stundzig writes: > > > Perhaps could we push this in the super class HeaderFooter? > > But what if different writers are listening to the same > Document object. The HTML writer doesn't know about pagenumbers, > but

[iText-questions] Re: Multi-line headers/footers

2002-03-07 Thread bruno
Steffen Stundzig writes: > Perhaps could we push this in the super class HeaderFooter? But what if different writers are listening to the same Document object. The HTML writer doesn't know about pagenumbers, but the PDF writer could be on a whole different page than the RTF writer... If they all

Re: [iText-questions] Re: Multi-line headers/footers

2002-03-07 Thread Steffen Stundzig
Hi all, in the last checked in RTF stuff of iText, there is an RTFHeaderFooter that accepts an 'Element' as content parameter. I've coded this, because I need a multi columned footer and so I can pass a table to the footer. A disadvantage of this approach is, that I need to handle the page num

[iText-questions] Re: Multi-line headers/footers

2002-03-06 Thread bruno
Ulrich Rueth writes: > Forgot to mention the point: in a phrase there can only be multiple > chunks, but not lines, isn't it? I don't understand this question. A phrase is a series of Chunks that has a leading (i.e. you can define the space between to lines if a newline occurs). A phrase differ