The OpenOffice or odt plugin can be configured to use e.g. LibreOffice to convert from .odt to .pdf. The comand line for this action can be configured so you could also use it to go from .odt to .docx using LibreOffice's converter.
Also see
https://forum.dokuwiki.org/thread/13892.