Looks like a bug. I will find time to look at it. Could you open a bug in bugzilla and put in it a copy of this post?
Thanks, Yegor > Hi all, > I'm having a problem extracting text and geometry info from a > powerpoint file. Sometimes, I find that while slide->getTextRuns > returns the correct text, slide->getShapes->getTextRun returns the > wrong text: it seems to replace the text of an earlier run with that > of the last run. > Jython code below. Demo attached. > Thanks, > Nick >> slideshow > [EMAIL PROTECTED] >> slide = slideshow.getSlides()[0] >> slide > [EMAIL PROTECTED] >> for run in slide.getTextRuns(): >> print run.getText() >> > First run > Second run >> for shape in slide.getShapes(): >> print shape.getAnchor(), shape.getTextRun().getText() >> > java.awt.Rectangle[x=54,y=105,width=624,height=122] Second run > java.awt.Rectangle[x=48,y=270,width=624,height=36] Second run --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
