| |
|
| com.lowagie.text.rtf.AbstractRtfField com.lowagie.text.rtf.GenericRtfField com.lowagie.text.rtf.RtfPageNumber
RtfPageNumber | public class RtfPageNumber extends GenericRtfField (Code) | | A rtf page number field.
ONLY FOR USE WITH THE RtfWriter NOT with the RtfWriter2.
This class is based on the RtfWriter-package from Mark Hall.
author: Steffen.Stundzig (Steffen.Stundzig@smb-tec.com) author: Mark Hall (mhall@edu.uni-klu.ac.at) version: $Revision: 2623 $Date: 2006/09/12 13:12:54 $ |
RtfPageNumber | public RtfPageNumber(String content, Font contentFont)(Code) | | construct a RtfPageNumber. The parameter content will be
displayed in front of the page number using the font given as
second argument.
Parameters: content - the String that will be displayed in front of the page number Parameters: contentFont - the font to use to display this page number |
write | public void write(RtfWriter writer, OutputStream out) throws IOException(Code) | | write this RtfField into a stream using the writer given as
first argument.
Parameters: writer - the RtfWriter to use to write this RtfField Parameters: out - the Stream to write this RtfField into. throws: IOException - |
|
|
|