On Tue, 13 Dec 2011, John Turnbull wrote:
I have a requirement to reorder some paragraphs within a XWPFDocument but cannot see a simple way (or even a hard way) of doing it.

There's no simple way as yet, though we'd love a patch :)

The hard way is to dig down into the xmlbeans level, and get the CTP object for your paragraphs. From these, get their parent xml object, and check it's the same (if it isn't then it isn't a simple re-ordering job). Then do regular xml operations to change the order. Finally, generalise it and submit that patch ;-)

Nick

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

Reply via email to