public static class PDFExporter.MyFontMapper
extends java.lang.Object
implements com.fr.third.com.lowagie.text.pdf.FontMapper
限定符和类型 | 类和说明 |
---|---|
static class |
PDFExporter.MyFontMapper.BaseFontParameters |
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
CHINESE_SIMPLIFIED_ENCODING_H |
static java.lang.String |
CHINESE_SIMPLIFIED_ENCODING_V |
static java.lang.String |
CHINESE_SIMPLIFIED_FONT |
static java.lang.String |
CHINESE_TRADITIONAL_ENCODING_H |
static java.lang.String |
CHINESE_TRADITIONAL_ENCODING_V |
static java.lang.String |
CHINESE_TRADITIONAL_FONT_M_HEI |
static java.lang.String |
CHINESE_TRADITIONAL_FONT_M_SUNG |
static com.fr.third.com.lowagie.text.pdf.BaseFont |
defaultFont |
static java.lang.String |
JAPANESE_ENCODING_H |
static java.lang.String |
JAPANESE_ENCODING_HW_H |
static java.lang.String |
JAPANESE_ENCODING_HW_V |
static java.lang.String |
JAPANESE_ENCODING_V |
static java.lang.String |
JAPANESE_FONT_GO |
static java.lang.String |
JAPANESE_FONT_MIN |
static java.lang.String |
KOREAN_ENCODING_H |
static java.lang.String |
KOREAN_ENCODING_V |
static java.lang.String |
KOREAN_FONT_GO_THIC |
static java.lang.String |
KOREAN_FONT_S_MYEONG_JO |
构造器和说明 |
---|
PDFExporter.MyFontMapper() |
限定符和类型 | 方法和说明 |
---|---|
com.fr.third.com.lowagie.text.pdf.BaseFont |
awtToPdf(java.awt.Font font)
转化字体
|
java.util.Map |
getMapper() |
int |
insertDirectory(java.lang.String dir)
插入目录里的字体
|
protected void |
insertNames(java.lang.String[][] names,
java.lang.String path) |
java.awt.Font |
pdfToAwt(com.fr.third.com.lowagie.text.pdf.BaseFont font,
int size)
转化字体
|
public static final java.lang.String CHINESE_SIMPLIFIED_FONT
public static final java.lang.String CHINESE_SIMPLIFIED_ENCODING_H
public static final java.lang.String CHINESE_SIMPLIFIED_ENCODING_V
public static final java.lang.String CHINESE_TRADITIONAL_FONT_M_HEI
public static final java.lang.String CHINESE_TRADITIONAL_FONT_M_SUNG
public static final java.lang.String CHINESE_TRADITIONAL_ENCODING_H
public static final java.lang.String CHINESE_TRADITIONAL_ENCODING_V
public static final java.lang.String JAPANESE_FONT_GO
public static final java.lang.String JAPANESE_FONT_MIN
public static final java.lang.String JAPANESE_ENCODING_H
public static final java.lang.String JAPANESE_ENCODING_V
public static final java.lang.String JAPANESE_ENCODING_HW_H
public static final java.lang.String JAPANESE_ENCODING_HW_V
public static final java.lang.String KOREAN_FONT_GO_THIC
public static final java.lang.String KOREAN_FONT_S_MYEONG_JO
public static final java.lang.String KOREAN_ENCODING_H
public static final java.lang.String KOREAN_ENCODING_V
public static com.fr.third.com.lowagie.text.pdf.BaseFont defaultFont
public java.util.Map getMapper()
public com.fr.third.com.lowagie.text.pdf.BaseFont awtToPdf(java.awt.Font font)
awtToPdf
在接口中 com.fr.third.com.lowagie.text.pdf.FontMapper
font
- awt字体public java.awt.Font pdfToAwt(com.fr.third.com.lowagie.text.pdf.BaseFont font, int size)
pdfToAwt
在接口中 com.fr.third.com.lowagie.text.pdf.FontMapper
font
- pdf字体size
- 大小protected void insertNames(java.lang.String[][] names, java.lang.String path)
public int insertDirectory(java.lang.String dir)
dir
- 目录