ArrayIndexOutOfBoundsException in TextRun

2006-12-26 Thread Eitan Gur
Hi I have several PPT presentations that cause an ArrayIndexOutOfBoundsException to be thrown. Before I open a bug in bugzilla, I wanted to know whether this is already a known issue, and whether there's an easy workaround. Here's a stacktrac: java.lang.ArrayIndexOutOfBoundsException

RE: Master sheet handling

2006-12-26 Thread Eitan Gur
Hi A further explanation: I'm working with POI HSLF to read MS-PowerPoint presentations to JAVA objects supplied with POI. I have a code that traverses the RichTextRun._getRawParagraphStyle().getTextPropList() list, finding any property with key containing bullet.. This is the way I identify

Re[2]: Master sheet handling

2006-12-26 Thread Yegor Kozlov
Hi Aha! You are doing it wrong. RichTextRun._getRawParagraphStyle() returns the collection of the OVERRIDDEN style properties. If the properly is not there, you should examine the master sheet. A good example is RichTextRun.getCharTextPropVal(). If a character property is not found it searches

Re: ArrayIndexOutOfBoundsException in TextRun

2006-12-26 Thread Yegor Kozlov
Hi Exceptions are not supposed to be thrown. Please post the bug. If possible, attach the ppt file. Regards, Yegor EG Hi EG I have several PPT presentations that cause an EG ArrayIndexOutOfBoundsException to be thrown. EG Before I open a bug in bugzilla, I wanted to know whether this is EG