* @see org.apache.poi.xssf.extractor.XSSFExcelExtractor#getText()
*/
@Override
protected void buildXHTML(XHTMLContentHandler xhtml) throws SAXException,
XmlException, IOException {
XSSFWorkbook document = (XSSFWorkbook) extractor.getDocument();
for (int i = 0; i < document.getNumberOfSheets(); i++) {
xhtml.startElement("div");
XSSFSheet sheet = (XSSFSheet) document.getSheetAt(i);
xhtml.element("h1", document.getSheetName(i));
// Header(s), if present
extractHeaderFooter(sheet.getFirstHeader(), xhtml);
extractHeaderFooter(sheet.getOddHeader(), xhtml);
extractHeaderFooter(sheet.getEvenHeader(), xhtml);