|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lowagie.text.Rectangle
com.lowagie.text.HeaderFooter
com.lowagie.text.rtf.RtfHeaderFooters
This HeaderFooter specialization contains some headers or footers for several pages. Is a list of headerFooters but also a sub class of header footer, to change as less as possible of the current API. ONLY FOR USE WITH THE RtfWriter NOT with the RtfWriter2. This class is based on the RtfWriter-package from Mark Hall.
Field Summary | |
static int |
ALL_PAGES
an attribute value |
private HeaderFooter |
allPages
header or footer placeholder |
static int |
FIRST_PAGE
an attribute value |
private HeaderFooter |
firstPage
header or footer placeholder |
static int |
LEFT_PAGES
an attribute value |
private HeaderFooter |
leftPages
header or footer placeholder |
static int |
RIGHT_PAGES
an attribute value |
private HeaderFooter |
rightPages
header or footer placeholder |
Fields inherited from class com.lowagie.text.HeaderFooter |
|
Fields inherited from class com.lowagie.text.Rectangle |
background, border, borderColorBottom, borderColorLeft, borderColorRight, borderColorTop, borderWidth, borderWidthBottom, borderWidthLeft, borderWidthRight, borderWidthTop, BOTTOM, BOX, color, LEFT, llx, lly, markupAttributes, NO_BORDER, RIGHT, rotation, TOP, UNDEFINED, urx, ury, useVariableBorders |
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, GRAPHIC, HEADER, IMGRAW, IMGTEMPLATE, JPEG, KEYWORDS, LIST, LISTITEM, MULTI_COLUMN_TEXT, PARAGRAPH, PHRASE, PRODUCER, PTABLE, RECTANGLE, ROW, SECTION, SUBJECT, TABLE, TITLE |
Constructor Summary | |
RtfHeaderFooters()
Contructs a HeaderFooters object |
|
RtfHeaderFooters(Phrase before,
boolean numbered)
Contructs a HeaderFooters object |
|
RtfHeaderFooters(Phrase before,
Phrase after)
Contructs a HeaderFooters object |
Method Summary | |
HeaderFooter |
get(int type)
Returns a type of HeaderFooter object registered in this HeaderFooters object. |
void |
set(int type,
HeaderFooter hf)
Adds a HeaderFooter to this HeaderFooters object |
Methods inherited from class com.lowagie.text.HeaderFooter |
alignment, getAfter, getBefore, isNumbered, paragraph, setAlignment, setPageNumber |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.lowagie.text.MarkupAttributes |
getMarkupAttribute, getMarkupAttributeNames, getMarkupAttributes, setMarkupAttribute, setMarkupAttributes |
Methods inherited from interface com.lowagie.text.Element |
getChunks, process, toString, type |
Field Detail |
public static final int ALL_PAGES
public static final int LEFT_PAGES
public static final int RIGHT_PAGES
public static final int FIRST_PAGE
private HeaderFooter allPages
private HeaderFooter leftPages
private HeaderFooter rightPages
private HeaderFooter firstPage
Constructor Detail |
public RtfHeaderFooters()
public RtfHeaderFooters(Phrase before, Phrase after)
before
- after
- public RtfHeaderFooters(Phrase before, boolean numbered)
before
- numbered
- Method Detail |
public void set(int type, HeaderFooter hf)
type
- hf
- public HeaderFooter get(int type)
type
- type of the HeaderFooter object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |