生成word主要代码:Document document = new Document(PageSize.A4);RtfWriter2.getInstance(document, os);当前用poi解析报错:The document is really a RTF file
查看文件内容里面有rtf格式的也有doc格式的不知道如何解析里面的内容。
https://blog.csdn.net/boybruce/article/details/37695235