Class DocContext
java.lang.Object
org.ofdrw.tool.merge.DocContext
- All Implemented Interfaces:
Closeable, AutoCloseable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()org.ofdrw.core.basicStructure.doc.CT_PageAreagetDefaultArea(int numOfDoc) 获取默认情况的页面信息
-
Field Details
-
reader
-
resMgt
-
filepath
-
-
Constructor Details
-
DocContext
- Throws:
IOException
-
-
Method Details
-
getDefaultArea
public org.ofdrw.core.basicStructure.doc.CT_PageArea getDefaultArea(int numOfDoc) throws org.dom4j.DocumentException, FileNotFoundException 获取默认情况的页面信息- Parameters:
numOfDoc- 文档序号,一般为0- Returns:
- 页面尺寸信息
- Throws:
org.dom4j.DocumentException- 文档解析异常FileNotFoundException- 文件缺失
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-