com.lowagie.text.rtf
Class RtfHeaderFooters

java.lang.Object
  extended bycom.lowagie.text.Rectangle
      extended bycom.lowagie.text.HeaderFooter
          extended bycom.lowagie.text.rtf.RtfHeaderFooters
All Implemented Interfaces:
Element, MarkupAttributes

public class RtfHeaderFooters
extends HeaderFooter

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. This class is based on the RtfWriter-package from Mark Hall.

Version:
$Revision: 1.9 $Date: 2004/02/07 10:29:03 $
Author:
Steffen.Stundzig@smb-tec.com, Mark.Hall@myrealbox.com

Field Summary
static int ALL_PAGES
           
private  HeaderFooter allPages
           
static int FIRST_PAGE
           
private  HeaderFooter firstPage
           
static int LEFT_PAGES
           
private  HeaderFooter leftPages
           
static int RIGHT_PAGES
           
private  HeaderFooter rightPages
           
 
Fields inherited from class com.lowagie.text.HeaderFooter
 
Fields inherited from class com.lowagie.text.Rectangle
background, border, borderWidth, BOTTOM, BOX, color, grayFill, LEFT, llx, lly, markupAttributes, NO_BORDER, RIGHT, rotation, TOP, UNDEFINED, urx, ury
 
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, PARAGRAPH, PHRASE, PRODUCER, PTABLE, RECTANGLE, ROW, SECTION, SUBJECT, TABLE, TITLE
 
Constructor Summary
RtfHeaderFooters()
           
RtfHeaderFooters(Phrase before, boolean numbered)
           
RtfHeaderFooters(Phrase before, Phrase after)
           
 
Method Summary
 HeaderFooter get(int type)
           
 void set(int type, HeaderFooter hf)
           
 
Methods inherited from class com.lowagie.text.HeaderFooter
alignment, getAfter, getBefore, isNumbered, paragraph, setAlignment, setPageNumber
 
Methods inherited from class com.lowagie.text.Rectangle
backgroundColor, border, borderColor, borderWidth, bottom, bottom, getChunks, getMarkupAttribute, getMarkupAttributeNames, getMarkupAttributes, getRotation, grayFill, hasBorder, hasBorders, height, left, left, process, rectangle, right, right, rotate, setBackgroundColor, setBorder, setBorderColor, setBorderWidth, setBottom, setGrayFill, setLeft, setMarkupAttribute, setMarkupAttributes, setRight, setTop, top, top, type, width
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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

ALL_PAGES

public static final int ALL_PAGES
See Also:
Constant Field Values

LEFT_PAGES

public static final int LEFT_PAGES
See Also:
Constant Field Values

RIGHT_PAGES

public static final int RIGHT_PAGES
See Also:
Constant Field Values

FIRST_PAGE

public static final int FIRST_PAGE
See Also:
Constant Field Values

allPages

private HeaderFooter allPages

leftPages

private HeaderFooter leftPages

rightPages

private HeaderFooter rightPages

firstPage

private HeaderFooter firstPage
Constructor Detail

RtfHeaderFooters

public RtfHeaderFooters()

RtfHeaderFooters

public RtfHeaderFooters(Phrase before,
                        Phrase after)

RtfHeaderFooters

public RtfHeaderFooters(Phrase before,
                        boolean numbered)
Method Detail

set

public void set(int type,
                HeaderFooter hf)

get

public HeaderFooter get(int type)