Problem with getText() in TextShape class
Posted: Fri Sep 10, 2010 9:01 am
Hello Yeray,
thank you for your response.
We had a problem with AxisTitle in some systems,we are getting extra character (empty space).
we debugged the code found that there is problem with getText() method in TextShape class.
Previous code
public String getText() {
return (getLinesLength() == 0) ? "" : stringJoin(Language.getString("crlf"), lines);
}
corrected code
public String getText() {
return (getLinesLength() == 0) ? "" : stringJoin(Language.getString("LineSeparator"), lines);
}
replacing crlf with LineSeparator is take care everywhere,but in above method it has to be changed LineSeparator .
please have a look and take care in next release.
Thanks,
Vijaya Raghava Rao
thank you for your response.
We had a problem with AxisTitle in some systems,we are getting extra character (empty space).
we debugged the code found that there is problem with getText() method in TextShape class.
Previous code
public String getText() {
return (getLinesLength() == 0) ? "" : stringJoin(Language.getString("crlf"), lines);
}
corrected code
public String getText() {
return (getLinesLength() == 0) ? "" : stringJoin(Language.getString("LineSeparator"), lines);
}
replacing crlf with LineSeparator is take care everywhere,but in above method it has to be changed LineSeparator .
please have a look and take care in next release.
Thanks,
Vijaya Raghava Rao