https://issues.apache.org/bugzilla/show_bug.cgi?id=55292

--- Comment #19 from Darren Roberts <[email protected]> ---
(In reply to Darren Roberts from comment #18)
> But what happens when someone loads a file containing numbered bullets in a
> TextBox? The other way to look at it is as I said in an earlier response the
> getText method is a simple way to get the basic text out, for anything more
> complicated the developer would need to parse the paragraphs manually which
> means they have the headache of working this out for themselves anyway.
> 
> I see no reason to exclude setBulletAutoNumber as that caters to the dev's
> like me who are creating xlsx files with POI more than reading them. 
> 
> But since the current missing piece of information is how Excel calculates
> the numbers, perhaps in the getText method instead of calulating (guessing)
> what the number should be then we should just output something identifiable
> like "[autonum] bullet text" or "? bullet text". That way we've informed the
> dev that there should be a number or something there, but it's up to them
> how to handle it?
> 
> It would be so much easier if the schema just stored the value Excel
> assigned the bullet, even if it was just a hint... <sigh>

Actually, I've just found something online which gives a little bit more
information regarding rules for calculating the numbers which actually makes
sense of the two startAt="5" elements I saw. I'll try modifying the getText
method to use these rules and see if that gets us any closer to Excel.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to