public abstract class AbstractCommentAnalyzer extends AbstractAnalyzer
Copyright (c) 2020 xsx All Rights Reserved. x-easypdf-pdfbox is licensed under Mulan PSL v2. You can use this software according to the terms and conditions of the Mulan PSL v2. You may obtain a copy of Mulan PSL v2 at: http://license.coscl.org.cn/MulanPSL2 THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. See the Mulan PSL v2 for more details.
Modifier and Type | Field and Description |
---|---|
protected Set<CommentInfo> |
infoSet
评论信息列表
|
document, log
Constructor and Description |
---|
AbstractCommentAnalyzer(Document document)
有参构造
|
Modifier and Type | Method and Description |
---|---|
protected String[] |
getFontInfo(org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotation annotation)
处理字体名称
|
abstract void |
processComment(int pageIndex,
org.apache.pdfbox.pdmodel.PDPage page)
处理评论
|
protected void |
processComment(int pageIndex,
org.apache.pdfbox.pdmodel.PDPage page,
org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotation annotation)
处理评论
|
getDocument
protected final Set<CommentInfo> infoSet
public AbstractCommentAnalyzer(Document document)
document
- 文档public abstract void processComment(int pageIndex, org.apache.pdfbox.pdmodel.PDPage page)
pageIndex
- 页面索引page
- 页面protected void processComment(int pageIndex, org.apache.pdfbox.pdmodel.PDPage page, org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotation annotation)
pageIndex
- 页面索引page
- 页面annotation
- 文档注解protected String[] getFontInfo(org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotation annotation)
annotation
- 文档注解Copyright © 2024. All rights reserved.