| 程序包 | 说明 |
|---|---|
| org.ofdrw.pkg.container |
| 限定符和类型 | 方法和说明 |
|---|---|
DocDir |
DocDir.addResource(Path resource)
增加资源
|
DocDir |
OFDDir.getDocByIndex(int index)
通过文档索引获取文档容器
|
DocDir |
OFDDir.getDocDir(String name) |
DocDir |
OFDDir.getLatestDir()
获取OFD文档中最新的文档目录
一般来说序号最大的最新 Doc_N
|
DocDir |
OFDDir.newDoc()
新建一个文档容器
|
DocDir |
OFDDir.obtainDoc(int index)
获取指定Index的文档
如果文档不存在那么创建
|
DocDir |
OFDDir.obtainDocDefault()
获取第一个文档容器作为默认
|
DocDir |
DocDir.setAnnotations(Annotations annotations)
设置注释列表对象
|
DocDir |
DocDir.setDocument(Document document)
设置 文档的根节点
|
DocDir |
DocDir.setDocumentRes(Res documentRes)
设置 文档自身资源索引
|
DocDir |
DocDir.setPublicRes(Res publicRes)
设置 文档公共资源索引
|
Copyright © 2023. All rights reserved.