New line in sheet cell

30 views
Skip to first unread message

Alfredo

unread,
Oct 29, 2009, 5:02:26 AM10/29/09
to jOpenDocument
Hello:

I'm trying to use JOpenDocument and I found a problem: When I get
string from open document sheet cell, method SpreadSheet.getValueAt
return only text until first new line of the cell text.

Is this normal behaviour?

Thanks you very much,

Alfredo

Sylvain Cuaz

unread,
Nov 12, 2009, 4:30:18 AM11/12/09
to jopend...@googlegroups.com
Alfredo a écrit :

> Hello:
>
> I'm trying to use JOpenDocument and I found a problem: When I get
> string from open document sheet cell, method SpreadSheet.getValueAt
> return only text until first new line of the cell text.
>
> Is this normal behaviour?

Hi,

No, thanks for reporting, it's just I had not looked at the standard to
know how to handle all cases. I've committed the fix for getValueAt()
and added Cell.getTextValue() to retrieve the formatted output of a cell
(like a date).

HTH,
Sylvain

Alfredo

unread,
Nov 12, 2009, 8:05:53 AM11/12/09
to jOpenDocument
De rien.

Thank you very much for fixing it. which version is this fix available
in?

Thanks again.

Alfredo
Reply all
Reply to author
Forward
0 new messages