net.sf.jooreports.templates
Class ZippedDocumentTemplate

java.lang.Object
  extended by net.sf.jooreports.templates.AbstractDocumentTemplate
      extended by net.sf.jooreports.templates.ZippedDocumentTemplate
All Implemented Interfaces:
DocumentTemplate

public class ZippedDocumentTemplate
extends AbstractDocumentTemplate

Class for generating OpenDocument documents from a template and a data model.

The template is an "almost regular" OpenDocument file, except that the content.xml and styles.xml entries may contain FreeMarker variables and directives.


Nested Class Summary
 
Nested classes/interfaces inherited from interface net.sf.jooreports.templates.DocumentTemplate
DocumentTemplate.ContentWrapper
 
Constructor Summary
ZippedDocumentTemplate(java.io.File file)
          Deprecated. use DocumentTemplateFactory.getTemplate(File)
ZippedDocumentTemplate(java.io.InputStream inputStream)
          Deprecated. use DocumentTemplateFactory.getTemplate(InputStream)
ZippedDocumentTemplate(java.io.InputStream inputStream, freemarker.template.Configuration freemarkerConfiguration)
           
 
Method Summary
protected  OpenDocumentArchive getOpenDocumentArchive()
           
 
Methods inherited from class net.sf.jooreports.templates.AbstractDocumentTemplate
createDocument, setContentWrapper, setOpenDocumentSettings, setXmlEntries
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZippedDocumentTemplate

public ZippedDocumentTemplate(java.io.InputStream inputStream,
                              freemarker.template.Configuration freemarkerConfiguration)
                       throws java.io.IOException
Throws:
java.io.IOException

ZippedDocumentTemplate

public ZippedDocumentTemplate(java.io.File file)
                       throws java.io.IOException
Deprecated. use DocumentTemplateFactory.getTemplate(File)

Throws:
java.io.IOException

ZippedDocumentTemplate

public ZippedDocumentTemplate(java.io.InputStream inputStream)
                       throws java.io.IOException
Deprecated. use DocumentTemplateFactory.getTemplate(InputStream)

Throws:
java.io.IOException
Method Detail

getOpenDocumentArchive

protected OpenDocumentArchive getOpenDocumentArchive()
Specified by:
getOpenDocumentArchive in class AbstractDocumentTemplate