public class XPSExtractorDecorator extends AbstractOOXMLExtractor
config, EMBEDDED_RELATIONSHIPS, extractor| Constructor and Description |
|---|
XPSExtractorDecorator(ParseContext context,
org.apache.poi.ooxml.extractor.POIXMLTextExtractor extractor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
buildXHTML(XHTMLContentHandler xhtml)
Populates the
XHTMLContentHandler object received as parameter. |
org.apache.poi.ooxml.POIXMLDocument |
getDocument()
Returns the opened document.
|
protected List<org.apache.poi.openxml4j.opc.PackagePart> |
getMainDocumentParts()
Return a list of the main parts of the document, used
when searching for embedded resources.
|
getJustFileName, getMetadataExtractor, getXHTML, handleEmbeddedFile, loadLinkedRelationshipspublic XPSExtractorDecorator(ParseContext context, org.apache.poi.ooxml.extractor.POIXMLTextExtractor extractor) throws TikaException
TikaExceptionpublic org.apache.poi.ooxml.POIXMLDocument getDocument()
OOXMLExtractorgetDocument in interface OOXMLExtractorgetDocument in class AbstractOOXMLExtractorOOXMLExtractor.getDocument()protected void buildXHTML(XHTMLContentHandler xhtml) throws SAXException, IOException
AbstractOOXMLExtractorXHTMLContentHandler object received as parameter.buildXHTML in class AbstractOOXMLExtractorSAXExceptionIOExceptionprotected List<org.apache.poi.openxml4j.opc.PackagePart> getMainDocumentParts() throws TikaException
AbstractOOXMLExtractorgetMainDocumentParts in class AbstractOOXMLExtractorTikaExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.