Bug 42485 - All TextBoxes inside ShapeGroups have null TextRuns
Summary: All TextBoxes inside ShapeGroups have null TextRuns
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HSLF (show other bugs)
Version: 3.0-dev
Hardware: Other other
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL: http://thefdp.org/alterman_security.ppt
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-21 20:34 UTC by Ivan Todoroski
Modified: 2007-05-24 04:40 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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