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=39177>.
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=39177





------- Additional Comments From [EMAIL PROTECTED]  2006-04-04 15:00 -------
Hi Nick,

I got why the sum of lengths must be rawtext.length + 1.
Extra character controls the format of new text which is appended to the end.
For example, consider a string "Hello, World!" with 2 format runs:

<b>Hello,</b><i> World!</i>
The first part is bold, the second is italic. 

Total length of the string is 13 so the sum of lengths must be 13 + 1 = 14.
Extra character must be included either in  <b>Hello,</b> or to <i> World!</i>
fragment.

In first case if you edit the text in PowerPoint and append something to the end
it will be bold, in the second case - italic. 

Sounds tricky. Isn't it? I think we should keep it simple and automatically add
the extra character 
to the last format run. Any objections? 

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