我正在使用Poi XWPF将docx文件转换为pdf,结果很好,但DrawText丢失了,我该如何解决这个问题?
XWPFDocument document = new XWPFDocument(inputStream);
PdfOptions options = PdfOptions.create().fontEncoding("windows-1250");
OutputStream out = new FileOutputStream(new File(outputTemplate));
org.apache.poi.xwpf.converter.pdf.PdfConverter.getInstance().convert(document, out, options);