|
|
@ -12,6 +12,7 @@ import com.fr.report.cell.CellElement; |
|
|
|
import com.fr.report.cell.CellElementComparator; |
|
|
|
import com.fr.report.cell.CellElementComparator; |
|
|
|
import com.fr.report.cell.TemplateCellElement; |
|
|
|
import com.fr.report.cell.TemplateCellElement; |
|
|
|
import com.fr.report.elementcase.TemplateElementCase; |
|
|
|
import com.fr.report.elementcase.TemplateElementCase; |
|
|
|
|
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
import com.fr.stable.unit.FU; |
|
|
|
import com.fr.stable.unit.FU; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
@ -62,8 +63,12 @@ public class CellElementsClip implements Cloneable, java.io.Serializable { |
|
|
|
if (sbuf.length() > 0 && sbuf.charAt(sbuf.length() - 1) != '\n') { |
|
|
|
if (sbuf.length() > 0 && sbuf.charAt(sbuf.length() - 1) != '\n') { |
|
|
|
sbuf.append('\t'); |
|
|
|
sbuf.append('\t'); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
//REPORT-5134:会复制出null
|
|
|
|
sbuf.append(cellElement.getValue()); |
|
|
|
if (cellElement.getValue() == null) { |
|
|
|
|
|
|
|
sbuf.append(StringUtils.EMPTY); |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
sbuf.append(cellElement.getValue()); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return sbuf.toString(); |
|
|
|
return sbuf.toString(); |
|
|
|