com.lowagie.text.rtf.field
public class RtfPageNumber extends RtfField
Version: $Revision: 1.9 $
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 byte[] | writeFieldInstContent()
Writes the field instruction content
|
protected byte[] | writeFieldResultContent()
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
Returns: A byte array containing "PAGE"
Throws: IOException
Returns: An empty byte array
Throws: IOException