Class OpenXMLParser

  • All Implemented Interfaces:
    com.logicaldoc.core.parser.Parser

    public class OpenXMLParser
    extends com.logicaldoc.core.parser.AbstractParser
    This parser is able to extract text from Office documents
    Since:
    1.0.0
    Author:
    Marco Meschieri - LogicalDOC
    • Constructor Detail

      • OpenXMLParser

        public OpenXMLParser()
    • Method Detail

      • parse

        public String parse​(File file,
                            String filename,
                            String encoding,
                            Locale locale,
                            String tenant,
                            com.logicaldoc.core.document.Document document,
                            String fileVersion)
        Specified by:
        parse in interface com.logicaldoc.core.parser.Parser
        Overrides:
        parse in class com.logicaldoc.core.parser.AbstractParser
      • countPages

        public int countPages​(InputStream input,
                              String filename)
        Specified by:
        countPages in interface com.logicaldoc.core.parser.Parser
        Overrides:
        countPages in class com.logicaldoc.core.parser.AbstractParser