Re[2]: PPT/POI - RichTextRun - java.lang.StringIndexOutOfBoundsException - method getText()

2006-11-26 Thread Yegor Kozlov
Hi Erez, There was a bug in StyleTextPropAtom. See the fix for Bug 41015. http://issues.apache.org/bugzilla/show_bug.cgi?id=41015. It should also fix the problem with indentation, i.e. getIdnetLevel() should return the correct level. BTW, what version of PowerPoint you are using? Are there any s

RE: PPT/POI - RichTextRun - java.lang.StringIndexOutOfBoundsException - method getText()

2006-11-22 Thread Erez Eisenstein
Sent: Wednesday, November 22, 2006 3:08 PM To: POI Users List Subject: Re: PPT/POI - RichTextRun - java.lang.StringIndexOutOfBoundsException - method getText() On Wed, 22 Nov 2006, Erez Eisenstein wrote: > When I invoke the method > org.apache.poi.hslf.usermodel.RichTextRun.getText() I get a

Re: PPT/POI - RichTextRun - java.lang.StringIndexOutOfBoundsException - method getText()

2006-11-22 Thread Nick Burch
On Wed, 22 Nov 2006, Erez Eisenstein wrote: When I invoke the method org.apache.poi.hslf.usermodel.RichTextRun.getText() I get an exception - StringIndexOutOfBoundsException. I can see that the length member of this instance has a very big value (1572863), while the getText() method of the TextR

PPT/POI - RichTextRun - java.lang.StringIndexOutOfBoundsException - method getText()

2006-11-22 Thread Erez Eisenstein
Hi Nick & Yegor. When I invoke the method org.apache.poi.hslf.usermodel.RichTextRun.getText() I get an exception - StringIndexOutOfBoundsException. I can see that the length member of this instance has a very big value (1572863), while the getText() method of the TextRun returns a shorter String