com.lowagie.text.rtf
public class RtfPageNumber extends GenericRtfField
Deprecated: Please move to the RtfWriter2 and associated classes. com.lowagie.text.rtf.field.RtfPageNumber replaces the functionality of this class.
A rtf page number field. ONLY FOR USE WITH THE RtfWriter NOT with the RtfWriter2. This class is based on the RtfWriter-package from Mark Hall.Version: $Revision: 2623 $Date: 2006/09/12 13:12:54 $
| Field Summary | |
|---|---|
| String | content |
| Constructor Summary | |
|---|---|
| RtfPageNumber(String content, Font contentFont)
construct a RtfPageNumber. | |
| Method Summary | |
|---|---|
| String | toString() |
| void | write(RtfWriter writer, OutputStream out)
write this RtfField into a stream using the writer given as
first argument. |
Parameters: content the String that will be displayed in front of the page number contentFont the font to use to display this page number
See Also: toString
Parameters: writer the RtfWriter to use to write this RtfField out the Stream to write this RtfField into.
Throws: IOException