it.eng.spagobi.engines.exporters
Class ChartExporter

java.lang.Object
  extended by it.eng.spagobi.engines.exporters.ChartExporter

public class ChartExporter
extends java.lang.Object

Author:
giachino (antonella.giachino@eng.it) This class is intended to take the result of a Chart Execution and giveBack an export in other formats

Field Summary
static int MAX_HEIGHT
           
static int MAX_WIDTH
           
 
Constructor Summary
ChartExporter()
           
 
Method Summary
 void changeLayout(com.lowagie.text.Document pdfDocument, com.lowagie.text.Image jpg, float width, float height)
          check if the image has to be turned or resize
 java.io.File getChartPDF(java.lang.String uuid, boolean multichart, java.lang.String orientation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_WIDTH

public static final int MAX_WIDTH
See Also:
Constant Field Values

MAX_HEIGHT

public static final int MAX_HEIGHT
See Also:
Constant Field Values
Constructor Detail

ChartExporter

public ChartExporter()
Method Detail

getChartPDF

public java.io.File getChartPDF(java.lang.String uuid,
                                boolean multichart,
                                java.lang.String orientation)
                         throws java.lang.Exception
Throws:
java.lang.Exception

changeLayout

public void changeLayout(com.lowagie.text.Document pdfDocument,
                         com.lowagie.text.Image jpg,
                         float width,
                         float height)
check if the image has to be turned or resize

Parameters:
document -
jpg -