jdbreport.model.io.xml.odf
Class OdsWriter

java.lang.Object
  extended by jdbreport.model.io.xml.odf.OdsWriter
All Implemented Interfaces:
ReportWriter, ResourceWriter
Direct Known Subclasses:
OdtWriter

public class OdsWriter
extends Object
implements ReportWriter

Version:
1.3 15.08.2009
Author:
Andrey Kholmanskih

Constructor Summary
OdsWriter()
           
 
Method Summary
protected  ReportWriter getContentWriter()
           
protected  ReportWriter getMetaWriter()
           
protected  ReportWriter getSettingsWriter()
           
protected  ReportWriter getStylesWriter()
           
protected  void mimeWrite(OutputStream stream)
           
 void save(File file, ReportBook reportBook)
           
 void save(OutputStream out, ReportBook reportBook)
           
 void save(Writer writer, ReportBook reportBook)
           
 String write(String fileName, Object resource)
          Write of resources
 void writeIcon(String fileName, RenderedImage image)
           
protected  void writeIconsManifest(PrintWriter fw)
           
protected  void writeManifest(OutputStream stream)
           
protected  void writeManifestFiles(PrintWriter fw)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OdsWriter

public OdsWriter()
Method Detail

save

public void save(OutputStream out,
                 ReportBook reportBook)
          throws SaveReportException
Specified by:
save in interface ReportWriter
Throws:
SaveReportException

getMetaWriter

protected ReportWriter getMetaWriter()

getSettingsWriter

protected ReportWriter getSettingsWriter()

getStylesWriter

protected ReportWriter getStylesWriter()

writeManifest

protected void writeManifest(OutputStream stream)

writeManifestFiles

protected void writeManifestFiles(PrintWriter fw)

writeIconsManifest

protected void writeIconsManifest(PrintWriter fw)

mimeWrite

protected void mimeWrite(OutputStream stream)

getContentWriter

protected ReportWriter getContentWriter()

save

public void save(Writer writer,
                 ReportBook reportBook)
          throws SaveReportException
Specified by:
save in interface ReportWriter
Throws:
SaveReportException

save

public void save(File file,
                 ReportBook reportBook)
          throws SaveReportException
Specified by:
save in interface ReportWriter
Throws:
SaveReportException

writeIcon

public void writeIcon(String fileName,
                      RenderedImage image)

write

public String write(String fileName,
                    Object resource)
Description copied from interface: ResourceWriter
Write of resources

Specified by:
write in interface ResourceWriter
Returns:
the filename