public class XWPFWordExtractorDecorator extends AbstractOOXMLExtractor
config, EMBEDDED_RELATIONSHIPS, extractor
Constructor and Description |
---|
XWPFWordExtractorDecorator(Metadata metadata,
ParseContext context,
org.apache.poi.xwpf.extractor.XWPFWordExtractor extractor) |
XWPFWordExtractorDecorator(ParseContext context,
org.apache.poi.xwpf.extractor.XWPFWordExtractor extractor)
|
Modifier and Type | Method and Description |
---|---|
protected void |
buildXHTML(XHTMLContentHandler xhtml)
Populates the
XHTMLContentHandler object received as parameter. |
protected List<org.apache.poi.openxml4j.opc.PackagePart> |
getMainDocumentParts()
Include main body and anything else that can
have an attachment/embedded object
|
getDocument, getJustFileName, getMetadataExtractor, getXHTML, handleEmbeddedFile, loadLinkedRelationships
public XWPFWordExtractorDecorator(Metadata metadata, ParseContext context, org.apache.poi.xwpf.extractor.XWPFWordExtractor extractor)
@Deprecated public XWPFWordExtractorDecorator(ParseContext context, org.apache.poi.xwpf.extractor.XWPFWordExtractor extractor)
context
- extractor
- protected void buildXHTML(XHTMLContentHandler xhtml) throws SAXException, org.apache.xmlbeans.XmlException, IOException
AbstractOOXMLExtractor
XHTMLContentHandler
object received as parameter.buildXHTML
in class AbstractOOXMLExtractor
SAXException
org.apache.xmlbeans.XmlException
IOException
XWPFWordExtractor.getText()
protected List<org.apache.poi.openxml4j.opc.PackagePart> getMainDocumentParts()
getMainDocumentParts
in class AbstractOOXMLExtractor
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.