public class HTMLExporter extends Object implements OFDExporter
| Constructor and Description |
|---|
HTMLExporter(InputStream ofdInput,
OutputStream htmlOutput)
构造图片转换器
|
HTMLExporter(Path ofdFilePath,
Path htmlFilePath)
构造图片转换器
|
public HTMLExporter(Path ofdFilePath, Path htmlFilePath) throws IOException
ofdFilePath - 待转换OFD文件htmlFilePath - 生成HTML存放目录IOException - 文件解析异常public HTMLExporter(InputStream ofdInput, OutputStream htmlOutput) throws IOException
ofdInput - 待转换OFD文件流,该流由调用者负责关闭htmlOutput - 生成HTML输出流IOException - 文件解析异常public void export(int... indexes)
throws GeneralConvertException
export in interface OFDExporterindexes - 页码序列,如果为空表示全部页码(注意:页码从0起)GeneralConvertException - 转换异常public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2026. All rights reserved.