newLanguage = language;
oldLanguage = f == null ? null : f.getLanguage();
}
public void perform() {
Formula f = null;
if (oldExpression == null) {
f = new Formula(null, report, "", "");
report.setStartFormula(f);
}
else
f = report.getStartFormula();
f.setEditableExpression(newExpression);
f.setLanguage(newLanguage);
}