Style Intelligence v12.0

inetsoft.report.io
Class SVGGenerator

java.lang.Object
  extended by inetsoft.report.io.AbstractGenerator
      extended by inetsoft.report.io.SVGGenerator
All Implemented Interfaces:
Generator

public class SVGGenerator
extends AbstractGenerator

Generates a SVG page from a report or a set of StylePages.


Field Summary
 
Fields inherited from class inetsoft.report.io.AbstractGenerator
docInfo
 
Constructor Summary
SVGGenerator(OutputStream output)
          Create a SVGGenerator.
 
Method Summary
 void cancel()
          Cancel the generation if one is going on.
 void generate(Enumeration pages)
          Write a collection of pages to html.
 void generate(ReportSheet sheet)
          Export a report.
 void generate(ReportSheet sheet, Enumeration pages)
          Write a collection of pages to text.
 Dimension getPageSize()
          Deprecated. replaced by ReportSheet.getPageSize().
 void setPageSize(Size size)
          Deprecated. replaced by ReportSheet.setPageSize().
protected  void writePages(Enumeration pages)
          Write a set of pages to a SVG file.
 
Methods inherited from class inetsoft.report.io.AbstractGenerator
addProgressListener, fireProgressEvent, getCachePages, getOutput, getReportCache, getReportId, removeProgressListener, setDocumentInfo, setOutput, setReportCache, setReportId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVGGenerator

public SVGGenerator(OutputStream output)
Create a SVGGenerator.

Method Detail

setPageSize

public void setPageSize(Size size)
Deprecated. replaced by ReportSheet.setPageSize().

Set the page size in inches. Common paper sizes are defined as constants in StyleConstants.

Parameters:
size - Size object in inches.

getPageSize

public Dimension getPageSize()
Deprecated. replaced by ReportSheet.getPageSize().

Get the page size in pixel.


generate

public void generate(ReportSheet sheet,
                     Enumeration pages)
              throws IOException
Write a collection of pages to text.

Throws:
IOException

generate

public void generate(ReportSheet sheet)
              throws IOException
Export a report.

Parameters:
sheet - report to export.
Throws:
IOException

generate

public void generate(Enumeration pages)
              throws IOException
Write a collection of pages to html.

Throws:
IOException

writePages

protected void writePages(Enumeration pages)
                   throws Exception
Write a set of pages to a SVG file.

Parameters:
pages - a collection of StylePage objects.
Throws:
Exception

cancel

public void cancel()
Cancel the generation if one is going on.


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