public class XSSFBExcelExtractorDecorator extends XSSFExcelExtractorDecorator
XSSFExcelExtractorDecorator.HeaderFooterFromString, XSSFExcelExtractorDecorator.SheetTextAsHTML, XSSFExcelExtractorDecorator.XSSFSheetInterestingPartsCapturer
drawingHyperlinks, formatter, hfHelper, metadata, parseContext, sheetParts
config, EMBEDDED_RELATIONSHIPS, extractor
Constructor and Description |
---|
XSSFBExcelExtractorDecorator(ParseContext context,
org.apache.poi.ooxml.extractor.POIXMLTextExtractor extractor,
Locale locale) |
Modifier and Type | Method and Description |
---|---|
protected void |
buildXHTML(XHTMLContentHandler xhtml)
Populates the
XHTMLContentHandler object received as parameter. |
protected void |
configureExtractor(org.apache.poi.ooxml.extractor.POIXMLTextExtractor extractor,
Locale locale) |
protected void |
extractHeaderFooter(String hf,
XHTMLContentHandler xhtml) |
void |
getXHTML(ContentHandler handler,
Metadata metadata,
ParseContext context)
Parses the document into a sequence of XHTML SAX events sent to the
given content handler.
|
addDrawingHyperLinks, extractHyperLinks, getMainDocumentParts, processShapes, processSheet
getDocument, getJustFileName, getMetadataExtractor, handleEmbeddedFile, loadLinkedRelationships
public XSSFBExcelExtractorDecorator(ParseContext context, org.apache.poi.ooxml.extractor.POIXMLTextExtractor extractor, Locale locale)
protected void configureExtractor(org.apache.poi.ooxml.extractor.POIXMLTextExtractor extractor, Locale locale)
configureExtractor
in class XSSFExcelExtractorDecorator
public void getXHTML(ContentHandler handler, Metadata metadata, ParseContext context) throws SAXException, org.apache.xmlbeans.XmlException, IOException, TikaException
OOXMLExtractor
getXHTML
in interface OOXMLExtractor
getXHTML
in class XSSFExcelExtractorDecorator
SAXException
org.apache.xmlbeans.XmlException
IOException
TikaException
OOXMLExtractor.getXHTML(ContentHandler, Metadata, ParseContext)
protected void buildXHTML(XHTMLContentHandler xhtml) throws SAXException, org.apache.xmlbeans.XmlException, IOException
AbstractOOXMLExtractor
XHTMLContentHandler
object received as parameter.buildXHTML
in class XSSFExcelExtractorDecorator
SAXException
org.apache.xmlbeans.XmlException
IOException
XSSFBEventBasedExcelExtractor.getText()
protected void extractHeaderFooter(String hf, XHTMLContentHandler xhtml) throws SAXException
extractHeaderFooter
in class XSSFExcelExtractorDecorator
SAXException
Copyright © 2007–1969 The Apache Software Foundation. All rights reserved.