Browse Source

Add author

developing
dota17 5 years ago
parent
commit
b1014f1c21
  1. 1
      easyexcel
  2. 7
      src/main/java/com/alibaba/excel/metadata/property/ImagePositionProperty.java

1
easyexcel

@ -0,0 +1 @@
Subproject commit 4076b897953b18f9e96c278c6929325e89f2be12

7
src/main/java/com/alibaba/excel/metadata/property/ImagePositionProperty.java

@ -3,7 +3,9 @@ package com.alibaba.excel.metadata.property;
import com.alibaba.excel.annotation.write.style.ImagePosition; import com.alibaba.excel.annotation.write.style.ImagePosition;
/** /**
* Keep the information of image position from an annotation. * Keep the image position information from an annotation.
*
* @author Pengliang Zhao
*/ */
public class ImagePositionProperty { public class ImagePositionProperty {
@ -52,7 +54,8 @@ public class ImagePositionProperty {
return null; return null;
} }
return new ImagePositionProperty(imagePosition.dx1(), imagePosition.dy1(), imagePosition.dx2(), return new ImagePositionProperty(imagePosition.dx1(), imagePosition.dy1(), imagePosition.dx2(),
imagePosition.dy2(), imagePosition.col1(), imagePosition.row1(), imagePosition.col2(), imagePosition.row2()); imagePosition.dy2(), imagePosition.col1(), imagePosition.row1(), imagePosition.col2(),
imagePosition.row2());
} }
public ImagePositionProperty(int dx1, int dy1, int dx2, int dy2, short col1, int row1, short col2, int row2) { public ImagePositionProperty(int dx1, int dy1, int dx2, int dy2, short col1, int row1, short col2, int row2) {

Loading…
Cancel
Save