ソースを参照

导出研发活动三大内容新增一行换行

anderx 3 年 前
コミット
7909e190b1
共有2 個のファイルを変更した2 個の追加0 個の削除を含む
  1. 1 0
      src/main/java/com/goafanti/common/utils/pdf/PDFUtils.java
  2. 1 0
      src/main/java/com/goafanti/common/utils/word/WordUtils.java

+ 1 - 0
src/main/java/com/goafanti/common/utils/pdf/PDFUtils.java

@@ -72,6 +72,7 @@ public class PDFUtils {
         phrase.setLeading(25);
         if(value!=null)document.add(phrase);
         document.add(Chunk.NEWLINE);
+        document.add(Chunk.NEWLINE);
     }
 
 

+ 1 - 0
src/main/java/com/goafanti/common/utils/word/WordUtils.java

@@ -67,6 +67,7 @@ public class WordUtils {
         phrase.setLeading(25);
         if(value!=null)document.add(phrase);
         document.add(Chunk.NEWLINE);
+        document.add(Chunk.NEWLINE);
     }
 
     private void addDocument(Document document, String key, String value) throws DocumentException {