poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39547] - HSLF: IndexOutOfBoundsException in TextRun constructor
Date Fri, 02 Jun 2006 08:14:15 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39547>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39547





------- Additional Comments From yegor@dinom.ru  2006-06-02 08:14 -------
> Is that always the case on files that've been saved multiple times? I have a
> nasty feeling that the SLWTs get pretty messed up in those cases, and you can
> get quite a few of them

No, as far as I know slides are always stored in the second SLWT. If
we add a new slide we must add SlidePersistAtom to the second SLWT,
not to the last one. Ops, I wrote it and understood that the current
code adds new slides to the last SLWT and this is wrong :).

I attached a sample ppt which demonstrates the problem. Title Masters
are always stored as Slide records, not as MainMaster. Current
algorithm recognizes them as slides and this is wrong.
Check what SlideShow.getSlides() returns and see extra records.

I also prepared a picture which describes what I know about SLWTs in
PowerPoint.

> (I'm all for making it simpler, I'm just worried that it might not be quite that
> simple!)
I agree, we can simplify and improve it. We know much more about PPT
format than a year ago, it is a chance to use this knowledge and refactor the code.

Regards,
Yegor

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/


Mime
View raw message