jdbreport.model.io.itext.pdf
Class ReportFontMapper
java.lang.Object
com.itextpdf.text.pdf.DefaultFontMapper
jdbreport.model.io.itext.pdf.ReportFontMapper
- All Implemented Interfaces:
- com.itextpdf.text.pdf.FontMapper
public class ReportFontMapper
- extends com.itextpdf.text.pdf.DefaultFontMapper
- Version:
- 1.3 28.05.2009
- Author:
- Andrey Kholmanskih
Nested classes/interfaces inherited from class com.itextpdf.text.pdf.DefaultFontMapper |
com.itextpdf.text.pdf.DefaultFontMapper.BaseFontParameters |
Methods inherited from class com.itextpdf.text.pdf.DefaultFontMapper |
getAliases, getBaseFontParameters, getMapper, insertNames, pdfToAwt, putAlias, putName |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReportFontMapper
public ReportFontMapper()
addFontPath
public static void addFontPath(java.lang.String path)
getFontPaths
public static java.util.Collection<java.lang.String> getFontPaths()
getDefaultFont
public static java.lang.String getDefaultFont()
setDefaultFont
public static void setDefaultFont(java.lang.String fontName)
styleToPdf
public com.itextpdf.text.Font styleToPdf(CellStyle style)
awtToPdf
public com.itextpdf.text.pdf.BaseFont awtToPdf(java.lang.String fontName)
awtToPdf
public com.itextpdf.text.pdf.BaseFont awtToPdf(java.awt.Font font)
- Specified by:
awtToPdf
in interface com.itextpdf.text.pdf.FontMapper
- Overrides:
awtToPdf
in class com.itextpdf.text.pdf.DefaultFontMapper
insertDirectory
public int insertDirectory(java.lang.String dir)
- Overrides:
insertDirectory
in class com.itextpdf.text.pdf.DefaultFontMapper