Class ODFTemplate

java.lang.Object
com.nomagic.magicreport.Template
com.nomagic.magicreport.ODFTemplate
All Implemented Interfaces:
IObserverMessage, Serializable

@OpenApiAll public class ODFTemplate extends Template
ODFTemplate use for handling the ODF document. Open Document Format (ODF) is differ from other existing template. ODF consists of many contents and resources but all of files are zipped into single file. This class will unzip the template file at the beginning process and zip template at ending process.
Since:
Mar 28, 2008 1:48:19 PM
See Also:
  • Constructor Details

    • ODFTemplate

      public ODFTemplate()
      Create ODF template.
    • ODFTemplate

      public ODFTemplate(File input)
      Create ODF template.
      Parameters:
      input - template file.
  • Method Details

    • getTemplateFile

      public File getTemplateFile()
      Return template file.
      Returns:
      the template file
    • finalizeOutput

      public void finalizeOutput()
      Finalize the output before terminate this object.
      Overrides:
      finalizeOutput in class Template