Here is a
docx exporter written in Python. Compared to
rtf, the
docx file format has the advantage of providing paragraph and character style sheets, so you can easily customize the document's look to your own preferences.
Please note that the program has not yet been extensively tested. To me, it's actually just a proof of concept. Since I don't use Word myself, I can't provide much support, and probably won't develop the program further. But if you know Python, feel free to copy the project and modify it to your own liking.