net.sf.dc.reporting
Class PdfReport

java.lang.Object
  extended byjava.lang.Thread
      extended bynet.sf.dc.reporting.Report
          extended bynet.sf.dc.reporting.PdfReport
All Implemented Interfaces:
java.lang.Runnable
Direct Known Subclasses:
PdfCardReport, PdfListReport

public abstract class PdfReport
extends Report


Field Summary
 
Fields inherited from class net.sf.dc.reporting.Report
data, definitions, dialog, document, keepOnRunning, target
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
PdfReport()
           
 
Method Summary
protected  void addFrontPage(Document document)
           
protected  Cell getAvailabilityCell(java.lang.Object value, ReportFieldDefinition definition)
           
protected  Cell getImageCell(javax.swing.ImageIcon icon, ReportFieldDefinition definition, int width, int height, boolean inRow)
           
protected  Cell getLabelCell(java.lang.String label, ReportFieldDefinition definition)
           
protected  Cell getModuleCell(DCModule module, ReportFieldDefinition definition)
           
protected  Cell getRatingCell(java.lang.Object value, ReportFieldDefinition definition)
           
 void initializeWriter(Document document, java.io.FileOutputStream out)
           
protected  void setTextCellDefaults(Cell cell, ReportFieldDefinition definition)
           
protected  void setWidths(Table table, DcObject dco, ReportFieldDefinitions definitions)
           
 
Methods inherited from class net.sf.dc.reporting.Report
cancel, compile, create, getAlignment, getFont, getTable, getTextCell, initialize, run
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PdfReport

public PdfReport()
Method Detail

initializeWriter

public void initializeWriter(Document document,
                             java.io.FileOutputStream out)
                      throws java.lang.Exception
Specified by:
initializeWriter in class Report
Throws:
java.lang.Exception

getRatingCell

protected Cell getRatingCell(java.lang.Object value,
                             ReportFieldDefinition definition)
                      throws java.lang.Exception
Throws:
java.lang.Exception

getModuleCell

protected Cell getModuleCell(DCModule module,
                             ReportFieldDefinition definition)
                      throws java.lang.Exception
Throws:
java.lang.Exception

getAvailabilityCell

protected Cell getAvailabilityCell(java.lang.Object value,
                                   ReportFieldDefinition definition)
                            throws java.lang.Exception
Throws:
java.lang.Exception

getImageCell

protected Cell getImageCell(javax.swing.ImageIcon icon,
                            ReportFieldDefinition definition,
                            int width,
                            int height,
                            boolean inRow)
                     throws java.lang.Exception
Throws:
java.lang.Exception

getLabelCell

protected Cell getLabelCell(java.lang.String label,
                            ReportFieldDefinition definition)
                     throws BadElementException
Throws:
BadElementException

setWidths

protected void setWidths(Table table,
                         DcObject dco,
                         ReportFieldDefinitions definitions)

setTextCellDefaults

protected void setTextCellDefaults(Cell cell,
                                   ReportFieldDefinition definition)
Specified by:
setTextCellDefaults in class Report

addFrontPage

protected void addFrontPage(Document document)
                     throws java.lang.Exception
Specified by:
addFrontPage in class Report
Throws:
java.lang.Exception