| 程序包 | 说明 |
|---|---|
| org.dromara.pdf.fop.support.barcode |
pdf模板-条形码支持
|
| org.dromara.pdf.fop.util |
pdf模板工具
|
| 限定符和类型 | 方法和说明 |
|---|---|
FontStyleUtil.FontStyle |
BarCodeConfig.getWordsStyle()
条形码文字样式
正常:Font.PLAIN
粗体:Font.BOLD
斜体:Font.ITALIC
粗体斜体:Font.BOLD|Font.ITALIC
|
| 限定符和类型 | 方法和说明 |
|---|---|
BarCodeConfig |
BarCodeConfig.setWordsStyle(FontStyleUtil.FontStyle wordsStyle)
条形码文字样式
正常:Font.PLAIN
粗体:Font.BOLD
斜体:Font.ITALIC
粗体斜体:Font.BOLD|Font.ITALIC
|
| 限定符和类型 | 方法和说明 |
|---|---|
static FontStyleUtil.FontStyle |
FontStyleUtil.getStyle(String name)
获取样式
|
static FontStyleUtil.FontStyle |
FontStyleUtil.FontStyle.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static FontStyleUtil.FontStyle[] |
FontStyleUtil.FontStyle.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Font |
FontUtil.createAWTFont(String name,
FontStyleUtil.FontStyle style,
int size)
创建awt字体
|
Copyright © 2025. All rights reserved.