it.eng.spagobi.engines.qbe.crosstable.exporter
Class CrosstabPDFExporter

java.lang.Object
  extended by it.eng.spagobi.engines.qbe.crosstable.exporter.CrosstabPDFExporter

public class CrosstabPDFExporter
extends java.lang.Object


Field Summary
static org.apache.log4j.Logger logger
           
 
Constructor Summary
CrosstabPDFExporter()
           
 
Method Summary
 void export(org.json.JSONObject json, com.lowagie.text.Document pdfDocument, java.text.DecimalFormat numberFormat)
          Builds the table for the crosstab
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

public static transient org.apache.log4j.Logger logger
Constructor Detail

CrosstabPDFExporter

public CrosstabPDFExporter()
Method Detail

export

public void export(org.json.JSONObject json,
                   com.lowagie.text.Document pdfDocument,
                   java.text.DecimalFormat numberFormat)
            throws org.json.JSONException,
                   com.lowagie.text.BadElementException,
                   com.lowagie.text.DocumentException
Builds the table for the crosstab

Parameters:
json - the JSON representation of the crosstab
pdfDocument - the pdf document that should contains the crosstab
numberFormat - the formatter for the numbers
Throws:
org.json.JSONException
com.lowagie.text.BadElementException
com.lowagie.text.DocumentException