jdbreport.model.io.xml.odf
Class OdsWriter
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OdsWriter
public OdsWriter()
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