palio.modules.itext
Class ITextDocumentLogger
java.lang.Object
palio.modules.itext.ITextDocumentLogger
- All Implemented Interfaces:
- com.lowagie.text.DocListener, com.lowagie.text.ElementListener, java.util.EventListener
public class ITextDocumentLogger
- extends java.lang.Object
- implements com.lowagie.text.DocListener
Klasa stworzona do pomocy przy tworzeniu modułu IText.
W przyszłości można też za jej pomocą rozszerzyć funkcjonalność modułu o logowanie
konkretnych zdarzeń dokumentu.
- Author:
- Mateusz Gembarzewski
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ITextDocumentLogger
public ITextDocumentLogger(Instance instance,
java.lang.String serviceName,
java.lang.String documentID)
open
public void open()
- Specified by:
open
in interface com.lowagie.text.DocListener
setPageSize
public boolean setPageSize(com.lowagie.text.Rectangle rectangle)
- Specified by:
setPageSize
in interface com.lowagie.text.DocListener
setMargins
public boolean setMargins(float v,
float v1,
float v2,
float v3)
- Specified by:
setMargins
in interface com.lowagie.text.DocListener
setMarginMirroring
public boolean setMarginMirroring(boolean b)
- Specified by:
setMarginMirroring
in interface com.lowagie.text.DocListener
setMarginMirroringTopBottom
public boolean setMarginMirroringTopBottom(boolean b)
- Specified by:
setMarginMirroringTopBottom
in interface com.lowagie.text.DocListener
newPage
public boolean newPage()
- Specified by:
newPage
in interface com.lowagie.text.DocListener
setHeader
public void setHeader(com.lowagie.text.HeaderFooter headerFooter)
- Specified by:
setHeader
in interface com.lowagie.text.DocListener
resetHeader
public void resetHeader()
- Specified by:
resetHeader
in interface com.lowagie.text.DocListener
setFooter
public void setFooter(com.lowagie.text.HeaderFooter headerFooter)
- Specified by:
setFooter
in interface com.lowagie.text.DocListener
resetFooter
public void resetFooter()
- Specified by:
resetFooter
in interface com.lowagie.text.DocListener
resetPageCount
public void resetPageCount()
- Specified by:
resetPageCount
in interface com.lowagie.text.DocListener
setPageCount
public void setPageCount(int i)
- Specified by:
setPageCount
in interface com.lowagie.text.DocListener
close
public void close()
- Specified by:
close
in interface com.lowagie.text.DocListener
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