public class DocContext extends Object implements Closeable
| 构造器和说明 |
|---|
DocContext(Path filepath) |
public final OFDReader reader
public final ResourceManage resMgt
public final Path filepath
public DocContext(Path filepath) throws IOException
IOExceptionpublic org.ofdrw.core.basicStructure.doc.CT_PageArea getDefaultArea(int numOfDoc)
throws org.dom4j.DocumentException,
FileNotFoundException
numOfDoc - 文档序号,一般为0org.dom4j.DocumentException - 文档解析异常FileNotFoundException - 文件缺失public void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableIOExceptionCopyright © 2025. All rights reserved.