https://issues.apache.org/bugzilla/show_bug.cgi?id=55292
Darren Roberts <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #30646|0 |1 is obsolete| | Attachment #30647|0 |1 is obsolete| | --- Comment #21 from Darren Roberts <[email protected]> --- Created attachment 30651 --> https://issues.apache.org/bugzilla/attachment.cgi?id=30651&action=edit Replacement patch which implements getText() auto-numbering according to Excel rules I've implemented the auto-numbering rules I found in a document on the openxmldeveloper.org website and the getText() auto-numbering does now tally now with what I see in Excel 2010. Also expanded XSSFSimpleShape getText() so that auto-numbered bullets will now appear according to their type/scheme - so you will get alpha (a,b,c), arabic (1,2,3) or roman (i, ii, iv) along with the various options for brackets and periods. In the case of the wingdings scheme I use the default bullet character since we getText returns a string rather than a rich text string. Normal bullets will also use the bullet character if it has been explicitly set in the getText() output. I think this is just about as complete as I can make this function (even if the code isn't pretty). I have contemplated a method on the XSSFTextParagraph which would calculate that paragraphs auto-number (for dev's manually parsing the paragraphs) but I think that can wait and be implemented as a seperate patch. -- 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]
