本帖最后由 ﹏ㄣ☆┈ 于 2012-4-13 22:28 编辑
已经给单元格A2赋实际值china,用代码设置显示值是“中国”。怎么搞呢?标红的这些参数又是什么意思呢?TemplateCellElement cell = xxxx;
cell.setPresent(new Present() {
public Object present(Object value, Calculator calculator) {
return null;
}
public Object present(Object value, Calculator calculator, ColumnRow cr) {
return "your value";
}
public void readXML(XMLableReader reader) {
}
public void writeXML(XMLPrintWriter writer) {
}
});