Commit 251da265 by 吴博

feat: [1005027] 拍题宝

parent c2fad601
...@@ -131,7 +131,7 @@ public class WordUtils { ...@@ -131,7 +131,7 @@ public class WordUtils {
width = Math.round(width * rate); width = Math.round(width * rate);
height = Math.round(height * rate); height = Math.round(height * rate);
document = new Document(new Rectangle(width, height)); document = new Document(new Rectangle(width, height));
Integer A4Width = 210; Integer A4Width = 595;
if (!A4Width.equals(width)) { if (!A4Width.equals(width)) {
document.setMargins(2,2,2, 2); document.setMargins(2,2,2, 2);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment