Prechádzať zdrojové kódy

调整pdf顶部高度

sakuya 3 rokov pred
rodič
commit
a2237588c6

+ 2 - 2
eladmin-system/src/main/java/me/zhengjie/base/util/HtmlConvertPdf.java

@@ -74,11 +74,11 @@ public class HtmlConvertPdf {
 		// 设置html的宽度
 		pdf.setHtmlWidth(width);
 		// 设置字体的数据
-		int topValue = 10;
+		int topValue = 20;
 		int leftValue = 10;
 		int rightValue = 10;
 		int bottomValue = 10;
-	
+
 		pdf.setPageInsetsMM(new Insets(topValue, leftValue, bottomValue, rightValue));
 		// 设置页面的标准
 		pdf.setPageSizeMM(PD4Constants.A4);