|
|
@ -573,11 +573,7 @@ public class CellSelection extends Selection { |
|
|
|
for (int i = 0; i < removeElementList.size(); i++) { |
|
|
|
for (int i = 0; i < removeElementList.size(); i++) { |
|
|
|
CellElement element = removeElementList.get(i); |
|
|
|
CellElement element = removeElementList.get(i); |
|
|
|
element.setValue(null); |
|
|
|
element.setValue(null); |
|
|
|
CellGUIAttr cellGUIAttr = element.getCellGUIAttr(); |
|
|
|
setDefault(element); |
|
|
|
cellGUIAttr.setShowAsDefault(true); |
|
|
|
|
|
|
|
cellGUIAttr.setShowAsHTML(false); |
|
|
|
|
|
|
|
cellGUIAttr.setShowAsDownload(false); |
|
|
|
|
|
|
|
cellGUIAttr.setShowAsImage(false); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
|
|
|
@ -593,6 +589,15 @@ public class CellSelection extends Selection { |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//设置显示内容为default
|
|
|
|
|
|
|
|
private void setDefault(CellElement element) { |
|
|
|
|
|
|
|
CellGUIAttr cellGUIAttr = element.getCellGUIAttr(); |
|
|
|
|
|
|
|
cellGUIAttr.setShowAsDefault(true); |
|
|
|
|
|
|
|
cellGUIAttr.setShowAsHTML(false); |
|
|
|
|
|
|
|
cellGUIAttr.setShowAsDownload(false); |
|
|
|
|
|
|
|
cellGUIAttr.setShowAsImage(false); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public int[] getSelectedColumns() { |
|
|
|
public int[] getSelectedColumns() { |
|
|
|