Ver Fonte

build 样式调整

mamingxu há 1 mês atrás
pai
commit
a7130f6fac

+ 2 - 2
easier-report-biz/src/main/java/com/yaoyicloud/tools/OfficeUtil1.java

@@ -318,14 +318,14 @@ public class OfficeUtil1 {
             } else {
                 secondarycurrentStyle += " margin-top: 13pt;";
             }
-            secondaryelement.attr("style",  secondarycurrentStyle + "line-height: 1.5; margin-bottom: 2pt; margin-left: 0.5em");
+            secondaryelement.attr("style",  secondarycurrentStyle + "line-height: 1.5; margin-bottom: 1pt; margin-left: 0.5em");
         }
 
        //三级标题样式
         Elements otherElements = doc.select("p.X1.X4");
         for (Element element : otherElements) {
             String style3 = element.attr("style");
-            element.attr("style",  style3 + "margin-top: 0pt !important; margin-bottom: 0pt  !important; margin-left: 0.5em");
+            element.attr("style",  style3 + "margin-top: 1pt !important; margin-bottom: 0pt  !important; margin-left: 0.5em");
         }
         //六级标题样式
         Elements select1 = doc.select("p.X1.X6");