jdbreport.model.io.itext5.pdf
Class ReportFontMapper
java.lang.Object
com.itextpdf.text.pdf.DefaultFontMapper
jdbreport.model.io.itext5.pdf.ReportFontMapper
- All Implemented Interfaces:
- com.itextpdf.text.pdf.FontMapper
public class ReportFontMapper
- extends com.itextpdf.text.pdf.DefaultFontMapper
- Version:
- 2.0 19.04.2011
- 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, insertFile, insertNames, pdfToAwt, putAlias, putName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReportFontMapper
public ReportFontMapper()
addFontPath
public static void addFontPath(String path)
setFontPaths
public static void setFontPaths(Collection<String> fontPaths)
getFontPaths
public static Collection<String> getFontPaths()
getDefaultFont
public static String getDefaultFont()
setDefaultFont
public static void setDefaultFont(String fontName)
styleToPdf
public com.itextpdf.text.Font styleToPdf(CellStyle style)
awtToPdf
public com.itextpdf.text.pdf.BaseFont awtToPdf(String fontName)
awtToPdf
public com.itextpdf.text.pdf.BaseFont awtToPdf(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(String dir)
- Overrides:
insertDirectory
in class com.itextpdf.text.pdf.DefaultFontMapper