parent
4cec411b5f
commit
2337d40e49
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,24 @@
|
|||||||
|
package com.dsideal.base.Tools.Test;
|
||||||
|
|
||||||
|
import com.dsideal.base.Tools.FillData.ExcelKit.ExcelKit;
|
||||||
|
import org.apache.poi.openxml4j.exceptions.InvalidFormatException;
|
||||||
|
import org.dom4j.Document;
|
||||||
|
import org.dom4j.DocumentException;
|
||||||
|
import org.dom4j.Node;
|
||||||
|
import org.dom4j.io.SAXReader;
|
||||||
|
import org.xml.sax.SAXException;
|
||||||
|
|
||||||
|
import javax.xml.parsers.ParserConfigurationException;
|
||||||
|
import javax.xml.xpath.XPathExpressionException;
|
||||||
|
import java.io.File;
|
||||||
|
import java.io.IOException;
|
||||||
|
|
||||||
|
public class TestDanWei {
|
||||||
|
public static void main(String[] args) throws IOException, InvalidFormatException, InterruptedException, ParserConfigurationException, SAXException, XPathExpressionException, DocumentException {
|
||||||
|
String sourceDoc = "c:/双江县人口变化及其对教育的影响的研究报告.docx";
|
||||||
|
ExcelKit.UnCompress(sourceDoc);
|
||||||
|
String xmlPath = ExcelKit.DocxUnzipDirectory + "word\\charts\\chart" + 37 + ".xml";
|
||||||
|
int mul = ExcelKit.getMul(xmlPath);
|
||||||
|
System.out.println(mul);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue