public class RtfPageNumber extends GenericRtfField implements RtfField
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
content
Deprecated.
|
fieldInst, fieldResultACTION, 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, UNDERLINEALIGN_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 and Description |
|---|
RtfPageNumber(java.lang.String content,
Font contentFont)
Deprecated.
construct a RtfPageNumber.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString()
Deprecated.
Returns the content of this
Chunk. |
void |
write(RtfWriter writer,
java.io.OutputStream out)
Deprecated.
write this RtfField into a stream using the writer given as
first argument.
|
writeRtfFieldInitializationStuff, writeRtfFieldResultStuffcontent, isAlt, isDirty, isLocked, isPrivate, setAlt, setDirty, setEdited, setLocked, setPrivate, wasEdited, writeRtfFieldBegin, writeRtfFieldEnd, writeRtfFieldInstBegin, writeRtfFieldInstEnd, writeRtfFieldModifiers, writeRtfFieldResultBegin, writeRtfFieldResultEndappend, 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, typepublic RtfPageNumber(java.lang.String content,
Font contentFont)
content - the String that will be displayed in front of the page numbercontentFont - the font to use to display this page numberpublic void write(RtfWriter writer, java.io.OutputStream out) throws java.io.IOException
write in interface RtfFieldwrite in class AbstractRtfFieldwriter - the RtfWriter to use to write this RtfFieldout - the Stream to write this RtfField into.java.io.IOException