jdbreport.model.io.itext5.pdf
Class ITextWriter
java.lang.Object
jdbreport.model.io.itext5.pdf.ITextWriter
- All Implemented Interfaces:
- ReportWriter, ResourceWriter
- Direct Known Subclasses:
- PdfWriter
public abstract class ITextWriter
- extends Object
- implements ReportWriter
- Version:
- 2.0 14.04.2011
- Author:
- Andrey Kholmanskih
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ITextWriter
public ITextWriter()
initFontMapper
public static void initFontMapper()
- Since:
- 2.0
getFontMapper
protected ReportFontMapper getFontMapper()
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
toPdfHAlignment
protected int toPdfHAlignment(int horizontalAlignment)
toPdfVAlignment
protected int toPdfVAlignment(int verticalAlignment)
getHTMLReportRenderer
protected JTextComponent getHTMLReportRenderer()
roundAngle
protected int roundAngle(int angle)
write
public String write(String fileName,
Object resource)
throws SaveReportException
- Description copied from interface:
ResourceWriter
- Write of resources
- Specified by:
write
in interface ResourceWriter
- Returns:
- the filename
- Throws:
SaveReportException