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 the PDF writer could be on a whole different page than the
> RTF writer... If they all use the same HeaderFooter class,
> this would lead to errors... 

If the page number is the only problem, than it could be solved by an special 
'PageNumber' class as 'Element' in iText.
In RTF I've coded this as RTFPageNumber.

So, if I wish to insert a pagenumber in the table in my footer, I must adding an 
instance of this special 'PageNumber' class and the
writers can decide what is to do for it.

E.g. the HTMLWriter ignores it, the PdfWriter writes the current concrete pagenumber 
and the RtfWriter writes an RtfField.

Or I'm wrong? Please correct me.


Regards
        Steffen...

-- 
______________________________________________________________________
Steffen Stundzig                            mailto:[EMAIL PROTECTED]
SMB GmbH                                        http://www.smb-tec.com




_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to