转pdf
This commit is contained in:
@@ -36,9 +36,6 @@ public class PdfUtils {
|
||||
Document document = new Document();
|
||||
PdfWriter writer = null;
|
||||
try {
|
||||
// if(!new File(pdfFilePath).exists()){
|
||||
// new File(pdfFilePath).createNewFile();
|
||||
// }
|
||||
writer = PdfWriter.getInstance(document, new FileOutputStream(pdfFilePath));
|
||||
// 设置底部距离60,解决重叠问题
|
||||
|
||||
|
||||
Reference in New Issue
Block a user