List of usage examples for org.apache.poi.hssf.extractor ExcelExtractor _extractHeaderFooter
public static String _extractHeaderFooter(HeaderFooter hf)
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*/ }