"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/main/java/com/openkm/extractor/MsOffice2007TextExtractor.java" between
OpenKM-document-management-system-6.3.10.tar.gz and OpenKM-document-management-system-6.3.11.tar.gz

About: OpenKM (Knowledge Management) is a document management system that allows easy management of documents, users, roles and finding your enterprise documents and records. Community version (source code).

MsOffice2007TextExtractor.java  (OpenKM-document-management-system-6.3.10):MsOffice2007TextExtractor.java  (OpenKM-document-management-system-6.3.11)
skipping to change at line 24 skipping to change at line 24
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* <p> * <p>
* You should have received a copy of the GNU General Public License along * You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc., * with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
package com.openkm.extractor; package com.openkm.extractor;
import net.xeoh.plugins.base.annotations.PluginImplementation;
import org.apache.poi.openxml4j.exceptions.OpenXML4JException; import org.apache.poi.openxml4j.exceptions.OpenXML4JException;
import org.apache.poi.openxml4j.opc.OPCPackage; import org.apache.poi.openxml4j.opc.OPCPackage;
import org.apache.poi.util.IOUtils; import org.apache.poi.util.IOUtils;
import org.apache.poi.xslf.extractor.XSLFPowerPointExtractor; import org.apache.poi.xslf.extractor.XSLFPowerPointExtractor;
import org.apache.poi.xssf.extractor.XSSFExcelExtractor; import org.apache.poi.xssf.extractor.XSSFExcelExtractor;
import org.apache.poi.xwpf.extractor.XWPFWordExtractor; import org.apache.poi.xwpf.extractor.XWPFWordExtractor;
import org.apache.xmlbeans.XmlException; import org.apache.xmlbeans.XmlException;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
/** /**
* Text extractor for MS Office 2007 documents. * Text extractor for MS Office 2007 documents.
*/ */
@PluginImplementation
public class MsOffice2007TextExtractor extends AbstractTextExtractor { public class MsOffice2007TextExtractor extends AbstractTextExtractor {
private static final Logger log = LoggerFactory.getLogger(MsOffice2007Tex tExtractor.class); private static final Logger log = LoggerFactory.getLogger(MsOffice2007Tex tExtractor.class);
/** /**
* Creates a new <code>MsOffice2007TextExtractor</code> instance. * Creates a new <code>MsOffice2007TextExtractor</code> instance.
*/ */
public MsOffice2007TextExtractor() { public MsOffice2007TextExtractor() {
super(new String[]{"application/vnd.openxmlformats-officedocument .wordprocessingml.document", super(new String[]{"application/vnd.openxmlformats-officedocument .wordprocessingml.document",
"application/vnd.openxmlformats-officedocument.wo rdprocessingml.template", "application/vnd.openxmlformats-officedocument.wo rdprocessingml.template",
"application/vnd.openxmlformats-officedocument.pr esentationml.template", "application/vnd.openxmlformats-officedocument.pr esentationml.template",
 End of changes. 2 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)