Style Intelligence v12.0

inetsoft.report.io
Class HTMLBundleFormatter

java.lang.Object
  extended by inetsoft.report.io.BaseFormatter
      extended by inetsoft.report.io.HTMLFormatter
          extended by inetsoft.report.io.HTMLBundleFormatter
All Implemented Interfaces:
Formatter

public class HTMLBundleFormatter
extends HTMLFormatter

HTMLBundleFormatter is responsible for converting report and report elements into a HTML format. The generated HTML uses HTML tags only, with no cascade style sheet or other advanced features. For Web presentation of reports, use Style Report/EE's built-in web interface instead.


Field Summary
 
Fields inherited from class inetsoft.report.io.HTMLFormatter
centerV, currAlign, dir, inHeader, leftV, output, prefix, rightV, sheet, writer
 
Fields inherited from class inetsoft.report.io.BaseFormatter
docInfo, report
 
Constructor Summary
HTMLBundleFormatter(OutputStream output, ZipOutputStream zout, File htmlTemp)
          Create a report formatter.
 
Method Summary
 void end()
          Write the end of report.
protected  String writeImage(Painter painter, Dimension d, Color fg, Color bg)
          Write a painter to an image file.
 
Methods inherited from class inetsoft.report.io.HTMLFormatter
addElement, endCell, endGrid, endHeader, endRow, flushElements, getFontName, prolog, setJPEGPrefix, startCell, startGrid, startHeader, startHeader, startRow, toString, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, writeAlignment, writeHeading, writeImage0, writePainter, writeParagraph, writeSection, writeSectionBand, writeShapes, writeText, writeTOC
 
Methods inherited from class inetsoft.report.io.BaseFormatter
addProgressListener, escape, fireProgressEvent, init, localize, removeProgressListener, setDocumentInfo, write, write, write, write, writeBeanPropertyDefinition, writeContents, writeContents, writeContents, writeElementContents, writeSection, writeWarnings, writeWarnings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLBundleFormatter

public HTMLBundleFormatter(OutputStream output,
                           ZipOutputStream zout,
                           File htmlTemp)
                    throws IOException
Create a report formatter.

Throws:
IOException
Method Detail

writeImage

protected String writeImage(Painter painter,
                            Dimension d,
                            Color fg,
                            Color bg)
Write a painter to an image file.

Overrides:
writeImage in class HTMLFormatter

end

public void end()
         throws IOException
Write the end of report.

Specified by:
end in interface Formatter
Overrides:
end in class HTMLFormatter
Throws:
IOException

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.