Bug 42485

Summary: All TextBoxes inside ShapeGroups have null TextRuns
Product: POI Reporter: Ivan Todoroski <grnch>
Component: HSLFAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 3.0-dev   
Target Milestone: ---   
Hardware: Other   
OS: other   
URL: http://thefdp.org/alterman_security.ppt

Description Ivan Todoroski 2007-05-21 20:34:10 UTC
Same file as in bug #42481, to reproduce:

ShapeGroup group = (ShapeGroup)new SlideShow(new 
HSLFSlideShow("alterman_security.ppt")).getSlides()[9].getShapes()[1];

TextBox txt = (TextBox)group.getShapes()[0]; // or 1, 2, 3

System.out.println(txt.getTextRun());
Comment 1 Yegor Kozlov 2007-05-24 04:40:01 UTC
Fixed.

shape.setSheet(Sheet sh) wasn't called in ShapeGroup.getShapes()

Yegor