Created attachment 21954 [details] Template to modify Hello everyone, I have a ppt file as template and I want to replace some parts of text (tagged between < and >) of the text in it. Therefore I loop over each slide, get the TextRuns and RichTextRuns, and call richTextRun.setText(text) for updating the presentation and keeping the styles. At the end, I write the SlideShow to a new file. But when I open the output with PowerPoint, I get an error... I use POI 3.1-beta1 and PowerPoint2003 SP3 on WindowsXP.
Created attachment 21955 [details] Source code that produce the bug
Created attachment 21956 [details] output produce by POI
Fixed in r656252 TextSpecInfoAtom wasn't properly updated when the parent text was changed. Yegor