Commit 8c9ddbeb by 田超

Merge branch 'feature/1005027-1' into 'master'

feat: [1005027] 拍题宝

See merge request rays/pcloud-common-parent!217
parents c2fad601 251da265
...@@ -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