net.sf.dc.reporting
Class TextReport

java.lang.Object
  extended byjava.lang.Thread
      extended bynet.sf.dc.reporting.Report
          extended bynet.sf.dc.reporting.TextReport
All Implemented Interfaces:
java.lang.Runnable

public class TextReport
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
TextReport(ReportingDialog dialog, DcObject[] data, java.io.File target, int module, ReportFieldDefinitions definitions)
           
 
Method Summary
protected  void addFrontPage(Document document)
           
 void create()
           
 void initialize()
           
 void initializeWriter(Document document, java.io.FileOutputStream out)
           
protected  void setTextCellDefaults(Cell cell, ReportFieldDefinition definition)
           
 
Methods inherited from class net.sf.dc.reporting.Report
cancel, compile, getAlignment, getFont, getTable, getTextCell, 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

TextReport

public TextReport(ReportingDialog dialog,
                  DcObject[] data,
                  java.io.File target,
                  int module,
                  ReportFieldDefinitions definitions)
Method Detail

initialize

public void initialize()
                throws java.lang.Exception
Overrides:
initialize in class Report
Throws:
java.lang.Exception

initializeWriter

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

create

public void create()
            throws java.lang.Exception
Specified by:
create in class Report
Throws:
java.lang.Exception

addFrontPage

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

setTextCellDefaults

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