Package com.lowagie.text.rtf
Class RtfPageNumber
- java.lang.Object
-
- com.lowagie.text.Chunk
-
- com.lowagie.text.rtf.AbstractRtfField
-
- com.lowagie.text.rtf.GenericRtfField
-
- com.lowagie.text.rtf.RtfPageNumber
-
public class RtfPageNumber extends GenericRtfField implements RtfField
Deprecated.Please move to the RtfWriter2 and associated classes. com.lowagie.text.rtf.field.RtfPageNumber replaces the functionality of this class.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.- Version:
- $Revision: 1.1 $Date: 2009/08/28 20:31:00 $
- Author:
- Steffen.Stundzig@smb-tec.com, mhall@myrealbox.com
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringcontentDeprecated.-
Fields inherited from class com.lowagie.text.rtf.GenericRtfField
fieldInst, fieldResult
-
Fields inherited from class com.lowagie.text.Chunk
ACTION, attributes, BACKGROUND, COLOR, ENCODING, font, GENERICTAG, HSCALE, HYPHENATION, IMAGE, LOCALDESTINATION, LOCALGOTO, NEWLINE, NEWPAGE, NEXTPAGE, OBJECT_REPLACEMENT_CHARACTER, PDFANNOTATION, REMOTEGOTO, SEPARATOR, SKEW, SPLITCHARACTER, SUBSUPSCRIPT, TAB, TEXTRENDERMODE, UNDERLINE
-
Fields inherited from interface com.lowagie.text.Element
ALIGN_BASELINE, ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_JUSTIFIED, ALIGN_JUSTIFIED_ALL, ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT, ALIGN_TOP, ALIGN_UNDEFINED, ANCHOR, ANNOTATION, AUTHOR, CCITT_BLACKIS1, CCITT_ENCODEDBYTEALIGN, CCITT_ENDOFBLOCK, CCITT_ENDOFLINE, CCITTG3_1D, CCITTG3_2D, CCITTG4, CELL, CHAPTER, CHUNK, CREATIONDATE, CREATOR, HEADER, IMGRAW, IMGTEMPLATE, JBIG2, JPEG, JPEG2000, KEYWORDS, LIST, LISTITEM, MARKED, MULTI_COLUMN_TEXT, PARAGRAPH, PHRASE, PRODUCER, PTABLE, RECTANGLE, ROW, SECTION, SUBJECT, TABLE, TITLE, YMARK
-
-
Constructor Summary
Constructors Constructor Description RtfPageNumber(java.lang.String content, Font contentFont)Deprecated.construct a RtfPageNumber.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringtoString()Deprecated.Returns the content of thisChunk.voidwrite(RtfWriter writer, java.io.OutputStream out)Deprecated.write this RtfField into a stream using the writer given as first argument.-
Methods inherited from class com.lowagie.text.rtf.GenericRtfField
writeRtfFieldInitializationStuff, writeRtfFieldResultStuff
-
Methods inherited from class com.lowagie.text.rtf.AbstractRtfField
content, isAlt, isDirty, isLocked, isPrivate, setAlt, setDirty, setEdited, setLocked, setPrivate, wasEdited, writeRtfFieldBegin, writeRtfFieldEnd, writeRtfFieldInstBegin, writeRtfFieldInstEnd, writeRtfFieldModifiers, writeRtfFieldResultBegin, writeRtfFieldResultEnd
-
Methods inherited from class com.lowagie.text.Chunk
append, getAttributes, getChunks, getContent, getFont, getHorizontalScaling, getHyphenation, getImage, getTextRise, getWidthPoint, hasAttributes, isContent, isEmpty, isNestable, process, setAction, setAnchor, setAnchor, setAnnotation, setAttributes, setBackground, setBackground, setFont, setGenericTag, setHorizontalScaling, setHyphenation, setLocalDestination, setLocalGoto, setNewPage, setRemoteGoto, setRemoteGoto, setSkew, setSplitCharacter, setTextRenderMode, setTextRise, setUnderline, setUnderline, type
-
-
-
-
Constructor Detail
-
RtfPageNumber
public RtfPageNumber(java.lang.String content, Font contentFont)Deprecated.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 numbercontentFont- the font to use to display this page number
-
-
Method Detail
-
write
public void write(RtfWriter writer, java.io.OutputStream out) throws java.io.IOException
Deprecated.write this RtfField into a stream using the writer given as first argument.- Specified by:
writein interfaceRtfField- Overrides:
writein classAbstractRtfField- Parameters:
writer- the RtfWriter to use to write this RtfFieldout- the Stream to write this RtfField into.- Throws:
java.io.IOException
-
-