On Wed, 10 Nov 2010, katya wrote:
I tried to get the xml representation of the document with document.getDocument().xmlText(), then replace what I need and finally create a new file from this xml. But the formatting is not exactly the same - the picture is gone, there is a problem with the numbering, the hyperlinks are gone.
You can't work on it at that low a level without doing loads more work to maintain all the relationships. You'll probably want to just use the XWPF usermodel
Nick --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
