I'm having some problems with my generated .docx file using docx4j: Word just does not open it and it just tells me nonsense messages like I've problem in row 0 column 12334234 or something. I guess this is because in the document.xml everything is in 1/single line. It would be great if that .xml (and others too) would be pretty printed, so mere humans could find where the error is.
Is there a way to turn pretty printing on? I was using simply the wordMLPackage.save() so far.