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