com.lowagie.text.rtf

Class RtfHeaderFooter

public class RtfHeaderFooter extends HeaderFooter

Deprecated: Please move to the RtfWriter2 and associated classes. com.lowagie.text.rtf.headerfooter.RtfHeaderFooter replaces the functionality of this class.

This HeaderFooter specialization extends the normal HeaderFooter impl. by the new ctor with 'Element' param. So we have the ability to add a table or some moe sophisticated stuff as header or footer content. ONLY FOR USE WITH THE RtfWriter NOT with the RtfWriter2. This class is based on the RtfWriter-package from Mark Hall.

Version: $Revision: 1.22 $Date: 2006/09/12 13:12:54 $

Author: Steffen.Stundzig (Steffen.Stundzig@smb-tec.com) Mark Hall (mhall@edu.uni-klu.ac.at)

Field Summary
Elementcontent
Constructor Summary
RtfHeaderFooter(Phrase before, Phrase after)
Constructs a new header
RtfHeaderFooter(Phrase before, boolean numbered)
Constructs a new header
RtfHeaderFooter(Element content)
Constructs a new header
Method Summary
Elementcontent()

Field Detail

content

private Element content

Constructor Detail

RtfHeaderFooter

public RtfHeaderFooter(Phrase before, Phrase after)
Constructs a new header

Parameters: before after

RtfHeaderFooter

public RtfHeaderFooter(Phrase before, boolean numbered)
Constructs a new header

Parameters: before numbered

RtfHeaderFooter

public RtfHeaderFooter(Element content)
Constructs a new header

Parameters: content

Method Detail

content

public Element content()

Returns: the element specified in the ctor or null;