@Override
	public String getContent() {
		// word 2003： 图片不会被读取
		InputStream is = null;
		WordExtractor ex = null;
		try {
			is = new FileInputStream(inputFile);
		} catch (FileNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
		try {
			try {
				ex = new WordExtractor(is);
			} catch (IOException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
		} catch (OfficeXmlFileException e) {
			// word 2007 图片不会被读取， 表格中的数据会被放在字符串的最后
			OPCPackage opcPackage = null;
			POIXMLTextExtractor extractor = null;
			try {
				opcPackage = POIXMLDocument.openPackage(inputFile.getAbsolutePath());
			} catch (IOException e1) {
				// TODO Auto-generated catch block
				e1.printStackTrace();
			}
			
			try {
				extractor = new XWPFWordExtractor(opcPackage);
			} catch (XmlException e1) {
				// TODO Auto-generated catch block
				e1.printStackTrace();
			} catch (OpenXML4JException e1) {
				// TODO Auto-generated catch block
				e1.printStackTrace();
			} catch (IOException e1) {
				// TODO Auto-generated catch block
				e1.printStackTrace();
			}
			String text2007 = extractor.getText();
			content = text2007;
			System.out.println(text2007);
			return content;
			
		}
		String text2003 = ex.getText();
		content = text2003;
		System.out.println(text2003);
		return content;
	}