Vector rowDatas = new Vector();
columnIter = object.getColumns().iterator();
while (columnIter.hasNext()) {
Column column = (Column)columnIter.next();
if (column.isItemField()) {
Cell newCell = ObjectUtil.findNewCell(row, column.getTableName(), column.getColumnName());
if (column.isI18N()) {
String i18nString = null;
if (newCell.getColumnValue() != null)
i18nString = I18NManager.getI18NString(column.getI18nPrefix(), newCell.getColumnValue());
if (i18nString != null) {
if (GlobalValueManager.getValue("APPLICATION.ZIC").equals("1")) {
rowDatas.add(i18nString);
} else if (GlobalValueManager.getValue("APPLICATION.ZIC").equals("2")) {
rowDatas.add(newCell.getColumnValue());
} else if (GlobalValueManager.getValue("APPLICATION.ZIC").equals("3")) {
rowDatas.add(newCell.getColumnValue() + " - " + i18nString);
}
}
else {
if (newCell.getColumnValue() instanceof Double) {
rowDatas.add(CurrencyPlugin.getFormatedDouble((Double)newCell.getColumnValue()));
} else
rowDatas.add(newCell.getColumnValue());
}
} else {
if (newCell.getColumnValue() instanceof Double) {
rowDatas.add(CurrencyPlugin.getFormatedDouble((Double)newCell.getColumnValue()));
} else
rowDatas.add(newCell.getColumnValue());
}
}
}
rowDatas.add(row);
dataValues.add(rowDatas);