Ontimize 5.2072EN

com.ontimize.util.templates
Class ODFFreeMarkerParser

java.lang.Object
  extended bycom.ontimize.util.templates.ODFParser
      extended bycom.ontimize.util.templates.ODFFreeMarkerParser

public class ODFFreeMarkerParser
extends ODFParser

Check if a ODF file contains FreeMarker directives. FreeMarker directives are necessary to visualize data tables. http://jooreports.sourceforge.net http://freemarker.sourceforge.net/

Since:
28/06/2007
Author:
carlos.pereira

Field Summary
 
Fields inherited from class com.ontimize.util.templates.ODFParser
DEBUG, FILE_DIR_ODF_IMAGES, FILE_EMPTY_IMAGE, FILE_TO_PARSE, input, temp, VERBOSE, XML_TAG_DRAW_FRAME, XML_TAG_DRAW_FRAME_ANCHOR, XML_TAG_DRAW_FRAME_ANCHOR_VALUE, XML_TAG_DRAW_FRAME_HEIGHT, XML_TAG_DRAW_FRAME_HEIGHT_VALUE, XML_TAG_DRAW_FRAME_NAME, XML_TAG_DRAW_FRAME_WIDTH, XML_TAG_DRAW_FRAME_WIDTH_VALUE, XML_TAG_DRAW_IMAGE, XML_TAG_DRAW_IMAGE_HREF, XML_TAG_INPUT, XML_TAG_INPUT_DESCRIP, XML_TAG_OFFICE_TEXT, XML_TAG_STYLE, XML_TAG_STYLE_AUT, XML_TAG_STYLE_BORDER, XML_TAG_STYLE_BORDER_VALUE, XML_TAG_STYLE_CELL, XML_TAG_STYLE_FAMILY, XML_TAG_STYLE_FAMILY_4_BOLD_VALUE, XML_TAG_STYLE_FAMILY_4_TABLE_VALUE, XML_TAG_STYLE_NAME, XML_TAG_STYLE_NAME_4_BOLD_VALUE, XML_TAG_STYLE_NAME_4_TABLE_VALUE, XML_TAG_STYLE_TEXT, XML_TAG_STYLE_WEIGHT, XML_TAG_STYLE_WEIGHT_VALUE, XML_TAG_TABLE, XML_TAG_TABLE_CELL, XML_TAG_TABLE_CELL_STYLE, XML_TAG_TABLE_CELL_TYPE, XML_TAG_TABLE_CELL_TYPE_VALUE, XML_TAG_TABLE_COLUMN, XML_TAG_TABLE_COLUMN_NUMBER, XML_TAG_TABLE_NAME, XML_TAG_TABLE_ROW, XML_TAG_TEXT, XML_TAG_TEXT_STYLE
 
Constructor Summary
ODFFreeMarkerParser(java.io.File file)
           
ODFFreeMarkerParser(java.io.InputStream input)
           
 
Method Summary
protected  void configureNormalTable(org.w3c.dom.Node nTable, int tableIndex, org.w3c.dom.Document document, java.util.Hashtable valuesTable)
           
 java.io.File parse()
           
 java.io.File parse(java.util.Hashtable fieldValues, java.util.Hashtable valuesTable, java.util.Hashtable valuesImages, java.util.Hashtable valuesPivotTable)
           
 
Methods inherited from class com.ontimize.util.templates.ODFParser
create, create, get, getDocument, getEmptyImageInputStream, getTemporalDiretory, init, listFiles, log, queryTemplateFields, setDocument, unzip, verbose, zip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ODFFreeMarkerParser

public ODFFreeMarkerParser(java.io.File file)
                    throws java.io.IOException

ODFFreeMarkerParser

public ODFFreeMarkerParser(java.io.InputStream input)
                    throws java.io.IOException
Method Detail

parse

public java.io.File parse()
                   throws java.lang.Exception
Returns:
The compressed directory or the directory with the decompress content
Throws:
java.lang.Exception

parse

public java.io.File parse(java.util.Hashtable fieldValues,
                          java.util.Hashtable valuesTable,
                          java.util.Hashtable valuesImages,
                          java.util.Hashtable valuesPivotTable)
                   throws java.lang.Exception
Throws:
java.lang.Exception

configureNormalTable

protected void configureNormalTable(org.w3c.dom.Node nTable,
                                    int tableIndex,
                                    org.w3c.dom.Document document,
                                    java.util.Hashtable valuesTable)

Ontimize