com.lowagie.text.rtf.field
public class RtfPageNumber extends RtfField
Version: $Id: RtfPageNumber.java 2776 2007-05-23 20:01:40Z hallm $
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 void | writeFieldInstContent(OutputStream out)
Writes the field instruction content
|
protected byte[] | writeFieldResultContent()
Writes the field result content
|
protected void | writeFieldResultContent(OutputStream out)
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
Deprecated: replaced by writeFieldInstContent
Writes the field instruction contentReturns: A byte array containing "PAGE"
Throws: IOException
Throws: IOException
Deprecated: replaced by writeFieldResultContent
Writes the field result contentReturns: An empty byte array
Throws: IOException
Throws: IOException