jdbreport.model.io.itext.pdf
Class ReportFontMapper

java.lang.Object
  extended by com.itextpdf.text.pdf.DefaultFontMapper
      extended by 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 Class Summary
 
Nested classes/interfaces inherited from class com.itextpdf.text.pdf.DefaultFontMapper
com.itextpdf.text.pdf.DefaultFontMapper.BaseFontParameters
 
Constructor Summary
ReportFontMapper()
           
 
Method Summary
static void addFontPath(java.lang.String path)
           
 com.itextpdf.text.pdf.BaseFont awtToPdf(java.awt.Font font)
           
 com.itextpdf.text.pdf.BaseFont awtToPdf(java.lang.String fontName)
           
static java.lang.String getDefaultFont()
           
static java.util.Collection<java.lang.String> getFontPaths()
           
 int insertDirectory(java.lang.String dir)
           
static void setDefaultFont(java.lang.String fontName)
           
 com.itextpdf.text.Font styleToPdf(CellStyle style)
           
 
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
 

Constructor Detail

ReportFontMapper

public ReportFontMapper()
Method Detail

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