void processShapes(List<XSSFShape> shapes, StringBuilder text) { if (shapes == null) { return; } for (XSSFShape shape : shapes) { if (shape instanceof XSSFSimpleShape) { String sText = ((XSSFSimpleShape) shape).getText(); if (sText != null && sText.length() > 0) { text.append(sText).append('\n'); } } } }
for (XSSFShape shape : drawing.getShapes()){ if (shape instanceof XSSFSimpleShape){ String boxText = ((XSSFSimpleShape)shape).getText(); if (boxText.length() > 0){ text.append(boxText);
for (XSSFShape shape : shapes) { if (shape instanceof XSSFSimpleShape) { String sText = ((XSSFSimpleShape) shape).getText(); if (sText != null && sText.length() > 0) { xhtml.element("p", sText);
void processShapes(List<XSSFShape> shapes, StringBuilder text) { if (shapes == null) { return; } for (XSSFShape shape : shapes) { if (shape instanceof XSSFSimpleShape) { String sText = ((XSSFSimpleShape) shape).getText(); if (sText != null && sText.length() > 0) { text.append(sText).append('\n'); } } } }
private void processShapes(List<XSSFShape> shapes, XHTMLContentHandler xhtml) throws SAXException { if (shapes == null) { return; } for (XSSFShape shape : shapes) { if (shape instanceof XSSFSimpleShape) { String sText = ((XSSFSimpleShape) shape).getText(); if (sText != null && sText.length() > 0) { xhtml.element("p", sText); } extractHyperLinksFromShape(((XSSFSimpleShape)shape).getCTShape(), xhtml); } } }
for (XSSFShape shape : drawing.getShapes()){ if (shape instanceof XSSFSimpleShape){ String boxText = ((XSSFSimpleShape)shape).getText(); if (boxText.length() > 0){ text.append(boxText);
for (XSSFShape shape : shapes) { if (shape instanceof XSSFSimpleShape) { String sText = ((XSSFSimpleShape) shape).getText(); if (sText != null && sText.length() > 0) { xhtml.element("p", sText);