public abstract class AbstractFormFieldBuilder extends Object
Copyright (c) 2020-2024 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 HorizontalAlignment |
alignment
水平对齐
|
protected Document |
document
文档
|
protected Boolean |
isNoExport
是否不导出
|
protected Boolean |
isReadonly
是否只读
|
protected Boolean |
isRequired
是否必须
|
protected String |
name
字段名称
|
protected Page |
page
页面
|
protected Size |
size
尺寸
|
Constructor and Description |
---|
AbstractFormFieldBuilder(Document document,
Page page,
Size size)
有参构造
|
Modifier and Type | Method and Description |
---|---|
abstract org.apache.pdfbox.pdmodel.interactive.form.PDField |
build(org.apache.pdfbox.pdmodel.interactive.form.PDAcroForm form)
构建
|
protected void |
initProperties(org.apache.pdfbox.pdmodel.interactive.form.PDField field)
初始化属性
|
protected void |
initSize(org.apache.pdfbox.pdmodel.interactive.form.PDField field)
初始化尺寸
|
protected Document document
protected Page page
protected Size size
protected HorizontalAlignment alignment
protected String name
protected Boolean isReadonly
protected Boolean isRequired
protected Boolean isNoExport
public abstract org.apache.pdfbox.pdmodel.interactive.form.PDField build(org.apache.pdfbox.pdmodel.interactive.form.PDAcroForm form)
form
- 表单protected void initProperties(org.apache.pdfbox.pdmodel.interactive.form.PDField field)
field
- 字段protected void initSize(org.apache.pdfbox.pdmodel.interactive.form.PDField field)
field
- 字段Copyright © 2024. All rights reserved.