com.lowagie.text.rtf.field
public class RtfPageNumber extends RtfField
Version: $Id: RtfPageNumber.java 3373 2008-05-12 16:21:24Z xlv $
Field Summary | |
---|---|
static byte[] | PAGE_NUMBER
Constant for the page number |
Constructor Summary | |
---|---|
RtfPageNumber()
Constructs a RtfPageNumber. | |
RtfPageNumber(Font font)
Constructs a RtfPageNumber with a specified Font. | |
RtfPageNumber(RtfDocument doc)
Constructs a RtfPageNumber object.
| |
RtfPageNumber(RtfDocument doc, Font font)
Constructs a RtfPageNumber object with a specific font.
|
Method Summary | |
---|---|
protected void | writeFieldInstContent(OutputStream result)
Writes the field instruction content
|
protected void | writeFieldResultContent(OutputStream result)
Writes the field result content
|
Parameters: font
Parameters: doc The RtfDocument this RtfPageNumber belongs to
Parameters: doc The RtfDocument this RtfPageNumber belongs to font The Font to use
Parameters: result The OutputStream
to write to.
Throws: IOException on i/o errors.
Parameters: result The OutputStream
to write to.
Throws: IOException on i/o errors.