I am trying to create a single class that creates both PDF and RTF docs.  So far, this has been working well.  Now I need to be able to define headers and footers, and the content in them are tables.  The PdfWriter seems to support tables in headers and footers through message callbacks, but I can’t find any way to put a table in a header or footer through RtfWriter.  Is this true?    By the way, the header and footer tables will change from page to page, which makes the table.EndHeaders() not very useful, and this doesn’t provide a way to add footers.  A possible solution is to not use the header and footer functionality, but insert the tables manually at the beginning and end of the pages as the document is being processed.  I then hit another roadblock when I couldn’t find any way to see if a table will fit on a page in the RtfWriter.  Does anyone know of a good way to process headers and footers so that it will work with both the PdfWriter and RrtWriter?

 

Thanks in advance,

 

- Stew

Reply via email to