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 [EMAIL PROTECTED]  2006-05-29 15:42 -------
Nick,

(1) I had to comment a line in StyleTextPropAtom.setParentTextSize:

                        // Handle extra 1 char styles at the end
                        if(pos < rawContents.length && textHandled == size) {
                                //size++; //do we need this code? 
                        }

It results in errors as described above. Do you have examples when this code
works properly and we need it?
All test cases pass, I can add text to a slide and see it in PPT. 

(2)  Finally I found how to get slides in the correct order: the order of slides
is defined by
the order in which slides are listed in SlideListWithText.  I'm 99% sure it is 
so.
I did lots of tests and this rule seems OK. 
BTW: There are potential bugs in SlideShow.buildSlidesAndNotes.
To get slides and atoms we need only the second SlideListWithText, not all.

There can be several SlideListWithText containers:
 - SlideListWithText[0]:  always present. Contains MainMaster and TitleMaster
objects.
 Since PowerPoint 2003 there can be multiple masters and this is the place where
their references are stored.
- SlideListWithText[1]:  Always exists if a ppt contains at least one slide. 
Stores slides and slide atoms
- SlideListWithText[2] (if any): Stores other objects like notes, handouts, etc.

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: [EMAIL PROTECTED]
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/

Reply via email to