| 程序包 | 说明 |
|---|---|
| org.dromara.pdf.pdfbox.util |
工具
|
| 限定符和类型 | 方法和说明 |
|---|---|
static List<TextTokenInfo> |
TextTokenUtil.initTextTokenInfoListForCharacter(org.apache.commons.logging.Log log,
org.apache.pdfbox.pdmodel.PDResources resources,
List<Object> tokens,
List<ReplaceInfo> replaceList,
Map<Character,Integer> replaceIndexMap)
初始化文本标记信息列表
|
static List<TextTokenInfo> |
TextTokenUtil.initTextTokenInfoListForString(org.apache.pdfbox.pdmodel.PDResources resources,
List<Object> tokens)
初始化文本标记信息列表
|
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
TextTokenUtil.getTextForTokenInfo(TextTokenInfo info)
获取文本
|
static void |
TextTokenUtil.initTextTokenInfoTextValue(org.apache.commons.logging.Log log,
TextTokenInfo tokenInfo,
Object token,
int tokenIndex,
List<ReplaceInfo> replaceList,
Map<Character,Integer> replaceIndexMap)
初始化文本标记值
|
static void |
TextTokenUtil.processNotSameLengthReplaceText(PDDocument document,
org.apache.pdfbox.pdmodel.PDResources resources,
PDFont font,
TextTokenInfo info,
String replaceText)
处理不同长度替换文本
|
static void |
TextTokenUtil.processSameLengthReplaceText(PDDocument document,
org.apache.pdfbox.pdmodel.PDResources resources,
PDFont font,
TextTokenInfo info,
String replaceText)
处理相同长度替换文本
|
Copyright © 2024. All rights reserved.