Overview  Package   Class  Tree  Index 

be.lassi.pdf
Class DefaultDocListener

java.lang.Object
  extended by be.lassi.pdf.DefaultDocListener
All Implemented Interfaces:
com.lowagie.text.DocListener, com.lowagie.text.ElementListener, java.util.EventListener

public class DefaultDocListener
extends java.lang.Object
implements com.lowagie.text.DocListener

Implements the DocListener interface with some default behaviour.


Constructor Summary
DefaultDocListener()
           
 
Method Summary
 boolean add(com.lowagie.text.Element element)
          
 void close()
          
 boolean newPage()
          
 void open()
          
 void resetFooter()
          
 void resetHeader()
          
 void resetPageCount()
          
 void setFooter(com.lowagie.text.HeaderFooter footer)
          
 void setHeader(com.lowagie.text.HeaderFooter header)
          
 boolean setMarginMirroring(boolean marginMirroring)
          
 boolean setMargins(float marginLeft, float marginRight, float marginTop, float marginBottom)
          
 void setPageCount(int pageN)
          
 boolean setPageSize(com.lowagie.text.Rectangle pageSize)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDocListener

public DefaultDocListener()
Method Detail

add

public boolean add(com.lowagie.text.Element element)
            throws com.lowagie.text.DocumentException

Specified by:
add in interface com.lowagie.text.ElementListener
Throws:
com.lowagie.text.DocumentException

close

public void close()

Specified by:
close in interface com.lowagie.text.DocListener

newPage

public boolean newPage()

Specified by:
newPage in interface com.lowagie.text.DocListener

open

public void open()

Specified by:
open in interface com.lowagie.text.DocListener

resetFooter

public void resetFooter()

Specified by:
resetFooter in interface com.lowagie.text.DocListener

resetHeader

public void resetHeader()

Specified by:
resetHeader in interface com.lowagie.text.DocListener

resetPageCount

public void resetPageCount()

Specified by:
resetPageCount in interface com.lowagie.text.DocListener

setFooter

public void setFooter(com.lowagie.text.HeaderFooter footer)

Specified by:
setFooter in interface com.lowagie.text.DocListener

setHeader

public void setHeader(com.lowagie.text.HeaderFooter header)

Specified by:
setHeader in interface com.lowagie.text.DocListener

setMarginMirroring

public boolean setMarginMirroring(boolean marginMirroring)

Specified by:
setMarginMirroring in interface com.lowagie.text.DocListener

setMargins

public boolean setMargins(float marginLeft,
                          float marginRight,
                          float marginTop,
                          float marginBottom)

Specified by:
setMargins in interface com.lowagie.text.DocListener

setPageCount

public void setPageCount(int pageN)

Specified by:
setPageCount in interface com.lowagie.text.DocListener

setPageSize

public boolean setPageSize(com.lowagie.text.Rectangle pageSize)

Specified by:
setPageSize in interface com.lowagie.text.DocListener

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2