| Package | Description |
|---|---|
| org.ofdrw.layout | |
| org.ofdrw.layout.edit |
| Modifier and Type | Method and Description |
|---|---|
OFDDoc |
OFDDoc.addAttachment(Attachment attachment)
向文档中添加附件文件
|
OFDDoc |
OFDDoc.addAttachment(String absPath,
Attachment attachment)
向文档中添加附件文件
|
| Modifier and Type | Method and Description |
|---|---|
Attachment |
Attachment.setCreationDate(LocalDate creationDate)
Deprecated.
|
Attachment |
Attachment.setCreationDate(LocalDateTime creationDate)
【可选 属性】
设置 创建时间
|
Attachment |
Attachment.setDisableReplace(boolean disableReplace)
设置是否禁用同名替换
|
Attachment |
Attachment.setFile(Path file)
设置附件文件
|
Attachment |
Attachment.setFormat(String format)
【可选 属性】
设置 附件格式
|
Attachment |
Attachment.setModDate(LocalDate modDate)
Deprecated.
|
Attachment |
Attachment.setModDateTime(LocalDateTime modDate)
【可选 属性】
设置 修改时间
|
Attachment |
Attachment.setName(String attachmentName)
【必选 属性】
设置 附件名称
|
Attachment |
Attachment.setUsage(String usage)
【可选 属性】
设置 附件用途
|
Attachment |
Attachment.setVisible(Boolean visible)
【可选 属相】
设置 附件是否可见
|
Copyright © 2026. All rights reserved.