When adding TextBoxes to a slide, make sure we update the PPDrawing's cache of TextboxWrappers
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@395879 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5261314809
commit
9122e79a49
@ -192,5 +192,12 @@ public abstract class Sheet
|
||||
|
||||
shape.setSheet(this);
|
||||
shape.afterInsert(this);
|
||||
|
||||
// If it's a TextBox, we need to tell the PPDrawing, as it has to
|
||||
// track TextboxWrappers specially
|
||||
if(shape instanceof TextBox) {
|
||||
TextBox tbox = (TextBox)shape;
|
||||
ppdrawing.addTextboxWrapper(tbox._txtbox);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user