jimm.datavision.layout.excel
Class ExcelLE

java.lang.Object
  extended by jimm.datavision.layout.LayoutEngine
      extended by jimm.datavision.layout.excel.ExcelLE

public class ExcelLE
extends LayoutEngine

Author:
dbeeler

Field Summary
(package private)  short colAt
           
(package private)  int fieldNum
           
protected  java.io.OutputStream outStream
           
(package private)  int pageNum
           
(package private)  double pastPageUsed
           
(package private)  int rowAt
           
(package private)  boolean showPageHeaders
           
 
Fields inherited from class jimm.datavision.layout.LayoutEngine
currentSection, newPage, out, pageHeight, pageHeightUsed, pageNumber, pageWidth, POINTS_PER_INCH, previousSectionArea, report, SECT_DETAIL, SECT_GROUP_FOOTER, SECT_GROUP_HEADER, SECT_PAGE_FOOTER, SECT_PAGE_HEADER, SECT_REPORT_FOOTER, SECT_REPORT_HEADER, wantsMoreData
 
Constructor Summary
ExcelLE(java.io.OutputStream out, boolean showAllPageHeaders)
          Creates a new instance of the Excel LayoutEngine.
 
Method Summary
protected  void doEnd()
          Called by end as a chance to insert behavior when the report ends.
protected  void doOutputField(Field field)
          Called by outputField as a chance to insert behavior when a field is output.
protected  void doOutputImage(ImageField imageField)
          Called by outputImage as a chance to insert behavior when a image is output.
protected  void doOutputLine(Line line)
          Called by outputLine as a chance to insert behavior when a line is output.
protected  void doStart()
          Called by start as a chance to insert behavior when the report starts.
protected  void doStartPage()
          Called by startPage as a chance to insert behavior when a new page starts.
 
Methods inherited from class jimm.datavision.layout.LayoutEngine
calcDetailHeight, calcPageFooterHeight, calcReportFooterHeight, calcSectionHeights, cancel, checkRemainingPageLength, closeOutput, currentSectionTypeAsString, detail, doEndPage, doOutputSection, end, endPage, groupFooters, groupHeaders, outputField, outputImage, outputLine, outputSection, pageHeight, pageNumber, pageWidth, setReport, start, startPage, wantsMoreData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

outStream

protected java.io.OutputStream outStream

rowAt

int rowAt

colAt

short colAt

fieldNum

int fieldNum

pastPageUsed

double pastPageUsed

showPageHeaders

boolean showPageHeaders

pageNum

int pageNum
Constructor Detail

ExcelLE

public ExcelLE(java.io.OutputStream out,
               boolean showAllPageHeaders)
Creates a new instance of the Excel LayoutEngine.

Parameters:
out - This is a binary outputstream for receiving the generated Excel file
showAllPageHeaders - This is a flag that instructs the layoutengine to reprint all page headers sent by the report engine. Setting this to false will print the page header only the first time and then ignore the rest.
Method Detail

doStart

protected void doStart()
Description copied from class: LayoutEngine
Called by start as a chance to insert behavior when the report starts.

Overrides:
doStart in class LayoutEngine

doEnd

protected void doEnd()
Description copied from class: LayoutEngine
Called by end as a chance to insert behavior when the report ends.

Overrides:
doEnd in class LayoutEngine

doStartPage

protected void doStartPage()
Description copied from class: LayoutEngine
Called by startPage as a chance to insert behavior when a new page starts.

Overrides:
doStartPage in class LayoutEngine

doOutputField

protected void doOutputField(Field field)
Description copied from class: LayoutEngine
Called by outputField as a chance to insert behavior when a field is output.

Specified by:
doOutputField in class LayoutEngine
Parameters:
field - a field

doOutputImage

protected void doOutputImage(ImageField imageField)
Description copied from class: LayoutEngine
Called by outputImage as a chance to insert behavior when a image is output.

Specified by:
doOutputImage in class LayoutEngine
Parameters:
imageField - an image field

doOutputLine

protected void doOutputLine(Line line)
Description copied from class: LayoutEngine
Called by outputLine as a chance to insert behavior when a line is output.

Specified by:
doOutputLine in class LayoutEngine
Parameters:
line - a line