com.lowagie.text.rtf.field
public class RtfTotalPageNumber extends RtfField
Version: $Id: RtfTotalPageNumber.java 2776 2007-05-23 20:01:40Z hallm $
Field Summary | |
---|---|
static byte[] | ARABIC_TOTAL_PAGES
Constant for arabic total page numbers. |
Constructor Summary | |
---|---|
RtfTotalPageNumber()
Constructs a RtfTotalPageNumber. | |
RtfTotalPageNumber(Font font)
Constructs a RtfTotalPageNumber with a specified Font. | |
RtfTotalPageNumber(RtfDocument doc)
Constructs a RtfTotalPageNumber object.
| |
RtfTotalPageNumber(RtfDocument doc, Font font)
Constructs a RtfTotalPageNumber object with a specific font.
|
Method Summary | |
---|---|
protected byte[] | writeFieldInstContent()
Writes the field NUMPAGES instruction with Arabic format
|
protected void | writeFieldInstContent(OutputStream out)
Writes the field NUMPAGES instruction with Arabic format: "NUMPAGES \\\\* Arabic". |
protected byte[] | writeFieldResultContent()
Writes the field result content
|
protected void | writeFieldResultContent(OutputStream out)
Writes the field result content "1" |
Parameters: font
Parameters: doc The RtfDocument this RtfTotalPageNumber belongs to
Parameters: doc The RtfDocument this RtfTotalPageNumber belongs to font The Font to use
Deprecated:
Writes the field NUMPAGES instruction with Arabic formatReturns: A byte array containing "NUMPAGES \\\\* Arabic".
Throws: IOException
Deprecated:
Writes the field result contentReturns: An byte array containing "1".
Throws: IOException