Browse Source

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

anderx 3 years ago
parent
commit
7909e190b1

+ 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 {