@@ -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);