下面这个链接是java6读取docx文件内容的例子。可正常运行,但是怎么读取pptx,excelx文件内容我一直没有修改成功,哪位达人给指点一下。麻烦给个能调试通过的例子。分数不够可以再加。
http://www.infoq.com/cn/articles/cracking-office-2007-with-java
========================================================================
我改为“ZipEntry documentXML = docxFile.getEntry("ppt/document.xml");”后,变量documentXML 是null,显然是没有读取成功
http://www.infoq.com/cn/articles/cracking-office-2007-with-java
========================================================================
我改为“ZipEntry documentXML = docxFile.getEntry("ppt/document.xml");”后,变量documentXML 是null,显然是没有读取成功
pptx: docxFile.getEntry("ppt/document.xml");
xlsx(原帖写错了-_-!!):docxFile.getEntry("xl/workbook.xml");目前我正在进一步调查这2种格式的内部结构。
谢谢哒
谢谢