demo.zip (67.8 KB)
使用aspose for java22 版,生成的word 左侧修订框线显示正常,但是生成pdf时修订框线距离正文内容较远,如果装订的时候会压线,请问这种问题怎么解决。下面是 转换代码:
String wordPath = PUB_HTML_PATH+mDto.getId()+".pdf";
File wordFile = new File(PROJECT_PATH+wordPath);
PdfSaveOptions pdfSaveOptions = new PdfSaveOptions();
pdfSaveOptions.setCompliance(PdfCompliance.PDF_17);
pubDocument.save(wordFile.getPath(),pdfSaveOptions);