public class DefaultFreeTextAppearanceHandler
extends org.apache.pdfbox.pdmodel.interactive.annotation.handlers.PDFreeTextAppearanceHandler
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.
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotation |
annotation
注释
|
protected Document |
document
文档
|
protected PDFont |
font
字体
|
| 构造器和说明 |
|---|
DefaultFreeTextAppearanceHandler(Document document,
org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotation annotation)
有参构造
|
DefaultFreeTextAppearanceHandler(Document document,
org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotation annotation,
PDFont font)
有参构造
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
generateNormalAppearance()
生成正常外观
|
protected PDFont |
getDefaultFont()
获取默认字体
|
protected void |
release()
释放资源
|
generateDownAppearance, generateRolloverAppearancecreateCOSStreamprotected Document document
protected org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotation annotation
protected PDFont font
public DefaultFreeTextAppearanceHandler(Document document, org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotation annotation)
document - 文档annotation - 注释protected PDFont getDefaultFont()
getDefaultFont 在类中 org.apache.pdfbox.pdmodel.interactive.annotation.handlers.PDAbstractAppearanceHandlerpublic void generateNormalAppearance()
generateNormalAppearance 在接口中 org.apache.pdfbox.pdmodel.interactive.annotation.handlers.PDAppearanceHandlergenerateNormalAppearance 在类中 org.apache.pdfbox.pdmodel.interactive.annotation.handlers.PDFreeTextAppearanceHandlerprotected void release()
Copyright © 2024. All rights reserved.