com.lowagie.text.rtf.field
public class RtfTotalPageNumber extends RtfField
Version: $Id: RtfTotalPageNumber.java 3373 2008-05-12 16:21:24Z xlv $
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 void | writeFieldInstContent(OutputStream result)
Writes the field NUMPAGES instruction with Arabic format: "NUMPAGES \\\\* Arabic".
|
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
Parameters: result The OutputStream
to write to.
Throws: IOException on i/o errors.
Parameters: out The OutputStream
to write to.
Throws: IOException on i/o errors.