| 程序包 | 说明 |
|---|---|
| org.ofdrw.layout | |
| org.ofdrw.layout.edit |
| 限定符和类型 | 方法和说明 |
|---|---|
OFDDoc |
OFDDoc.addAnnotation(int pageNum,
Annotation annotation)
向页面中增加注释对象
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
Watermark
水印,是一种特殊的注释。
|
| 限定符和类型 | 方法和说明 |
|---|---|
Annotation |
Annotation.addParameter(String name,
String parameter)
增加 注释参数
|
Annotation |
WatermarkDrawer.getAnnotation()
水印注释信息
|
Annotation |
Annotation.setCreator(String creator)
设置 注释创建者
|
Annotation |
Annotation.setDrawer(Drawer drawer)
设置注释绘制器
|
Annotation |
Annotation.setLastModDate(LocalDate lastModDate)
设置 最近一次修改的时间
|
Annotation |
Annotation.setNoRotate(boolean noRotate)
设置 对象的 Remark 信息是否不随页面旋转而旋转
默认值为 false
|
Annotation |
Annotation.setNoZoom(boolean noZoom)
设置 对象的 Remark 信息是否不随页面缩放而同步缩放
默认值为 false
|
Annotation |
Annotation.setPrint(boolean print)
设置 对象的Remark 信息是否随页面一起打印
默认值为 true
|
Annotation |
Annotation.setReadOnly(boolean readOnly)
设置 对象的 Remark 信息是否不能被用户更改
默认值为 true
|
Annotation |
Annotation.setRemark(String remark)
设置 注释说明内容
|
Annotation |
Annotation.setSubtype(String subtype)
设置 注释子类型
|
Annotation |
Annotation.setType(org.ofdrw.core.annotation.pageannot.AnnotType type)
设置 注释类型
具体取值见
AnnotType |
Annotation |
Annotation.setVisible(boolean visible)
设置 表示该注释对象是否显示
默认值为 true
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
AnnotationRender.render(PageInfo pageInfo,
Annotation build)
注释 渲染器
|
void |
WatermarkDrawer.setAnnotation(Annotation annotation)
设置水印注释信息
|
Copyright © 2024. All rights reserved.