| |
|
| com.lowagie.text.rtf.field.RtfField com.lowagie.text.rtf.field.RtfTotalPageNumber
RtfTotalPageNumber | public class RtfTotalPageNumber extends RtfField (Code) | | The RtfTotalPageNumber provides the total number of pages field in rtf documents.
version: $Id: RtfTotalPageNumber.java 2776 2007-05-23 20:01:40Z hallm $ author: Jose Hurtado (jose.hurtado@gft.com) author: Mark Hall (mhall@edu.uni-klu.ac.at) author: Thomas Bickel (tmb99@inode.at) |
RtfTotalPageNumber | public RtfTotalPageNumber()(Code) | | Constructs a RtfTotalPageNumber. This can be added anywhere to add a total number of pages field.
|
RtfTotalPageNumber | public RtfTotalPageNumber(Font font)(Code) | | Constructs a RtfTotalPageNumber with a specified Font. This can be added anywhere
to add a total number of pages field.
Parameters: font - |
RtfTotalPageNumber | public RtfTotalPageNumber(RtfDocument doc)(Code) | | Constructs a RtfTotalPageNumber object.
Parameters: doc - The RtfDocument this RtfTotalPageNumber belongs to |
RtfTotalPageNumber | public RtfTotalPageNumber(RtfDocument doc, Font font)(Code) | | Constructs a RtfTotalPageNumber object with a specific font.
Parameters: doc - The RtfDocument this RtfTotalPageNumber belongs to Parameters: font - The Font to use |
writeFieldInstContent | protected byte[] writeFieldInstContent() throws IOException(Code) | | Writes the field NUMPAGES instruction with Arabic format
A byte array containing "NUMPAGES \\\\* Arabic". throws: IOException - |
writeFieldInstContent | protected void writeFieldInstContent(OutputStream out) throws IOException(Code) | | Writes the field NUMPAGES instruction with Arabic format: "NUMPAGES \\\\* Arabic".
|
writeFieldResultContent | protected byte[] writeFieldResultContent() throws IOException(Code) | | Writes the field result content
An byte array containing "1". throws: IOException - |
|
|
|