com.lowagie.text.rtf
public class RtfHeaderFooters extends HeaderFooter
Deprecated: Please move to the RtfWriter2 and associated classes. com.lowagie.text.rtf.headerfooter.RtfHeaderFooterGroup replaces the functionality of this class.
This HeaderFooter specialization contains some headers or footers for several pages. Is a list of headerFooters but also a sub class of header footer, to change as less as possible of the current API. ONLY FOR USE WITH THE RtfWriter NOT with the RtfWriter2. This class is based on the RtfWriter-package from Mark Hall.Version: $Revision: 1.23 $Date: 2006/09/12 13:12:53 $
Field Summary | |
---|---|
static int | ALL_PAGES an attribute value |
HeaderFooter | allPages header or footer placeholder |
HeaderFooter | firstPage header or footer placeholder |
static int | FIRST_PAGE an attribute value |
HeaderFooter | leftPages header or footer placeholder |
static int | LEFT_PAGES an attribute value |
HeaderFooter | rightPages header or footer placeholder |
static int | RIGHT_PAGES an attribute value |
Constructor Summary | |
---|---|
RtfHeaderFooters()
Contructs a HeaderFooters object | |
RtfHeaderFooters(Phrase before, Phrase after)
Contructs a HeaderFooters object | |
RtfHeaderFooters(Phrase before, boolean numbered)
Contructs a HeaderFooters object |
Method Summary | |
---|---|
HeaderFooter | get(int type)
Returns a type of HeaderFooter object registered in this HeaderFooters object. |
void | set(int type, HeaderFooter hf)
Adds a HeaderFooter to this HeaderFooters object |
Parameters: before after
Parameters: before numbered
Parameters: type type of the HeaderFooter object
Returns: a HeaderFooter object
Parameters: type hf