Skip to content

Commit

Permalink
optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
liaochong committed Dec 15, 2023
1 parent 412620b commit bc0d196
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,12 @@ public static ExcelColumnMapping mapping(ExcelColumn excelColumn) {
if ((image.marginLeft() > 0)) {
result.image.setMarginLeft(image.marginLeft());
}
if (image.width() > 0) {
result.image.setWidth(image.width());
}
if (image.height() > 0) {
result.image.setHeight(image.height());
}
return result;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,8 @@
int marginTop() default -1;

int marginLeft() default -1;

int width() default -1;

int height() default -1;
}

0 comments on commit bc0d196

Please sign in to comment.