public class XSSFExcelExtractorDecorator extends AbstractOOXMLExtractor
| Modifier and Type | Class and Description |
|---|---|
protected static class |
XSSFExcelExtractorDecorator.HeaderFooterFromString |
protected static class |
XSSFExcelExtractorDecorator.SheetTextAsHTML
Turns formatted sheet events into HTML
|
protected static class |
XSSFExcelExtractorDecorator.XSSFSheetInterestingPartsCapturer
Captures information on interesting tags, whilst
delegating the main work to the formatting handler
|
| Constructor and Description |
|---|
XSSFExcelExtractorDecorator(org.apache.tika.parser.ParseContext context,
org.apache.poi.xssf.extractor.XSSFEventBasedExcelExtractor extractor,
Locale locale) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
buildXHTML(org.apache.tika.sax.XHTMLContentHandler xhtml)
Populates the
XHTMLContentHandler object received as parameter. |
protected List<org.apache.poi.openxml4j.opc.PackagePart> |
getMainDocumentParts()
In Excel files, sheets have things embedded in them,
and sheet drawings which have the images
|
void |
getXHTML(ContentHandler handler,
org.apache.tika.metadata.Metadata metadata,
org.apache.tika.parser.ParseContext context)
Parses the document into a sequence of XHTML SAX events sent to the
given content handler.
|
void |
processSheet(org.apache.poi.xssf.eventusermodel.XSSFSheetXMLHandler.SheetContentsHandler sheetContentsExtractor,
org.apache.poi.xssf.model.CommentsTable comments,
org.apache.poi.xssf.model.StylesTable styles,
org.apache.poi.xssf.eventusermodel.ReadOnlySharedStringsTable strings,
InputStream sheetInputStream) |
getDocument, getJustFileName, getMetadataExtractor, handleEmbeddedFilepublic XSSFExcelExtractorDecorator(org.apache.tika.parser.ParseContext context,
org.apache.poi.xssf.extractor.XSSFEventBasedExcelExtractor extractor,
Locale locale)
public void getXHTML(ContentHandler handler, org.apache.tika.metadata.Metadata metadata, org.apache.tika.parser.ParseContext context) throws SAXException, org.apache.xmlbeans.XmlException, IOException, org.apache.tika.exception.TikaException
OOXMLExtractorgetXHTML in interface OOXMLExtractorgetXHTML in class AbstractOOXMLExtractorSAXExceptionorg.apache.xmlbeans.XmlExceptionIOExceptionorg.apache.tika.exception.TikaExceptionOOXMLExtractor.getXHTML(ContentHandler, Metadata, ParseContext)protected void buildXHTML(org.apache.tika.sax.XHTMLContentHandler xhtml)
throws SAXException,
org.apache.xmlbeans.XmlException,
IOException
AbstractOOXMLExtractorXHTMLContentHandler object received as parameter.buildXHTML in class AbstractOOXMLExtractorSAXExceptionorg.apache.xmlbeans.XmlExceptionIOExceptionXSSFExcelExtractor.getText()public void processSheet(org.apache.poi.xssf.eventusermodel.XSSFSheetXMLHandler.SheetContentsHandler sheetContentsExtractor,
org.apache.poi.xssf.model.CommentsTable comments,
org.apache.poi.xssf.model.StylesTable styles,
org.apache.poi.xssf.eventusermodel.ReadOnlySharedStringsTable strings,
InputStream sheetInputStream)
throws IOException,
SAXException
IOExceptionSAXExceptionprotected List<org.apache.poi.openxml4j.opc.PackagePart> getMainDocumentParts() throws org.apache.tika.exception.TikaException
getMainDocumentParts in class AbstractOOXMLExtractororg.apache.tika.exception.TikaExceptionCopyright © 2007–2016 The Apache Software Foundation. All rights reserved.