Example usage for org.apache.poi.hssf.extractor ExcelExtractor _extractHeaderFooter

List of usage examples for org.apache.poi.hssf.extractor ExcelExtractor _extractHeaderFooter

Introduction

In this page you can find the example usage for org.apache.poi.hssf.extractor ExcelExtractor _extractHeaderFooter.

Prototype

public static String _extractHeaderFooter(HeaderFooter hf) 

Source Link

Usage

From source file:mj.ocraptor.extraction.tika.parser.microsoft.ooxml.XSSFExcelExtractorDecorator.java

License:Apache License

private void extractHeaderFooter(String hf, XHTMLContentHandler xhtml) throws SAXException {
    String content = ExcelExtractor._extractHeaderFooter(new HeaderFooterFromString(hf));
    if (content.length() > 0) {
        xhtml.element("p", content);
    }/*w w w .  j  a  v  a  2 s.  com*/
}

From source file:org.olat.search.service.document.file.ExcelOOXMLDocument.java

License:Apache License

private void extractHeaderFooter(final StringBuilder buffy, final HeaderFooter hf) {
    final String content = ExcelExtractor._extractHeaderFooter(hf);
    if (content.length() > 0) {
        buffy.append(content).append(' ');
    }/*ww w.j a  v a2  s.  c  o  m*/
}