List of usage examples for org.apache.poi.xwpf.usermodel XWPFSDTContent getText
@Override
public String getText()
From source file:mj.ocraptor.extraction.tika.parser.microsoft.ooxml.XWPFWordExtractorDecorator.java
License:Apache License
private void extractSDT(XWPFSDT element, XHTMLContentHandler xhtml) throws SAXException, XmlException, IOException { XWPFSDTContent content = element.getContent(); String tag = "p"; xhtml.startElement(tag);/*from w ww .ja v a 2 s .c om*/ xhtml.characters(content.getText()); xhtml.endElement(tag); }