|
|
|
@ -294,7 +294,6 @@ public class FormSelection {
|
|
|
|
|
creator.setBackupBound(backupBounds); |
|
|
|
|
} |
|
|
|
|
layoutAdapter.fix(creator); |
|
|
|
|
resetElementCaseImage(creator); |
|
|
|
|
} |
|
|
|
|
i++; |
|
|
|
|
} |
|
|
|
@ -322,26 +321,6 @@ public class FormSelection {
|
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @Description 重置报表块缩略图 |
|
|
|
|
* @param: creator |
|
|
|
|
* @return void |
|
|
|
|
* @Author Henry.Wang |
|
|
|
|
* @Date 2021/5/21 14:59 |
|
|
|
|
**/ |
|
|
|
|
public void resetElementCaseImage(XCreator creator) { |
|
|
|
|
if (creator instanceof XWTitleLayout) { |
|
|
|
|
XWTitleLayout xwTitleLayout = (XWTitleLayout) creator; |
|
|
|
|
for (int i = 0; i < xwTitleLayout.getComponentCount(); i++) { |
|
|
|
|
Component component = xwTitleLayout.getComponent(i); |
|
|
|
|
if (component instanceof XElementCase) { |
|
|
|
|
XElementCase xElementCase = (XElementCase) component; |
|
|
|
|
xElementCase.updateECImage(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 检查下有没有参数面板,如果存在,处理下参数面板造成的偏移量 |
|
|
|
|
* @param rectangle |
|
|
|
|