| View previous topic :: View next topic |
| Author |
Message |
Falkan Newbie

Joined: 24 Mar 2006 Posts: 2
|
Posted: Fri Mar 24, 2006 1:35 pm Post subject: XCell has no getText() function? |
|
|
Hi there,
I am using OO 2.0.2/Linux - Debian/sid and struggling with the Uno Java interface.
Some fomulas in my spreadsheet are having text as a result.
How can I retrieve the text from the XCell?
getFormula() returns the formula and
getValue() cannot return strings.
getText() does not exist.
Regards
Holger |
|
| Back to top |
|
 |
B Marcelly Super User

Joined: 12 May 2004 Posts: 1414 Location: France
|
Posted: Sat Mar 25, 2006 12:08 am Post subject: |
|
|
getString() exists.
You won't get anywhere just by guessing. Read the Developer's Guide instead. |
|
| Back to top |
|
 |
Falkan Newbie

Joined: 24 Mar 2006 Posts: 2
|
Posted: Sat Mar 25, 2006 2:52 am Post subject: |
|
|
Thanks for your pointer.
It finally pointed me to the right documentation, as I got lost inside the APIDOC...
The solution was to pass the XCell to XText, capable of getString(). |
|
| Back to top |
|
 |
|