使用openoffice+jodconverter将word转换为pdf,结果pdf的内容为xml

1、首先WROD是在程序中用freemarker动态生成的,生成后用openoffice+jodconverter转换为pdf,结果pdf的内容为XML格式。
2、如果将生成的word单独另存下,再生成pdf是正常的。
图片说明

https://www.oschina.net/question/2677552_2192046