On Wed, 27 Apr 2011, McEuen, Michael E (from Team Exstream) wrote:
I'm using POI to create Docx from scratch and the XWPF interface is great. However, I'm trying to generate abstract numberings and I've hit a wall with XWPFNumbering. I don't see a way to use this class without reading in a document that already includes numberings.

XWPFNumbering is largely user contributed, so I suspect that the person who did the original work didn't need to add it from scratch. It looks like it shouldn't be too hard to add in the extra support though

or would a patch that implements this be considered?

A patch would be great! I'd suggest adding another method to XWPFDocument that will create the numbering if needed, and then a suitable constructor on XPWFNumbering to set up the initial beans. Something needs to do the relationships too, probably that'll want to be in the xwpfdocument. Please open a new bug in bugzilla and attach your patch when it's done

Cheers
Nick

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

Reply via email to