Re: [jopendocument] getRange and getTableModel returning null

2017-04-11 Thread Guillaume Maillard
Hi,

"int" is not a range... A1:C6 is.

Regards,
Guillaume

2017-04-11 8:33 GMT+02:00 :

> Hi, I have defined a named range in my libreoffice ods, but neither
> getRange nor getTableModel seem to get it, they both return null, do you
> know what could cause that behavior?
>
>
> Thanks!
>
>
>  System.out.println(String.valueOf(sheetInfo.getSpreadSheet().getRange(
> "int")));
>
> The SpreadSheet is fine, only the range is returned null
>
>
>
> 
>
>
>
> Advertiment legal: la informació d’aquest missatge de correu electrònic és
> confidencial i s’adreça exclusivament al destinatari previst. Si ha rebut
> el missatge per error, sisplau, notifiqui-ho al remitent i esborri’l sense
> copiar-lo, enregistrar-lo ni distribuir-lo.
>
> Advertencia legal: la información de este mensaje de correo electrónico es
> confidencial y se dirige exclusivamente al destinatario previsto. Si usted
> ha recibido el mensaje por error, por favor, notifíquelo al remitente y
> bórrelo sin copiarlo, grabarlo ni distribuirlo.
>
> Legal warning: the information contained in this e-mail message is
> confidential and is for the exclusive attention of the planned recipient.
> If you have received the message by error, please notify the sender and
> delete the message without copying, recording or distributing it.
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jOpenDocument" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jopendocument+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"jOpenDocument" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jopendocument+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jopendocument] getRange and getTableModel returning null

2017-04-11 Thread rhorta
Hi, I have defined a named range in my libreoffice ods, but neither 
getRange nor getTableModel seem to get it, they both return null, do you 
know what could cause that behavior?


Thanks!


 System.out.println(String.valueOf(sheetInfo.getSpreadSheet().getRange("int"
)));

The SpreadSheet is fine, only the range is returned null





-- 
 


Advertiment legal: la informació d’aquest missatge de correu electrònic és 
confidencial i s’adreça exclusivament al destinatari previst. Si ha rebut 
el missatge per error, sisplau, notifiqui-ho al remitent i esborri’l sense 
copiar-lo, enregistrar-lo ni distribuir-lo.

Advertencia legal: la información de este mensaje de correo electrónico es 
confidencial y se dirige exclusivamente al destinatario previsto. Si usted 
ha recibido el mensaje por error, por favor, notifíquelo al remitente y 
bórrelo sin copiarlo, grabarlo ni distribuirlo.

Legal warning: the information contained in this e-mail message is 
confidential and is for the exclusive attention of the planned recipient. 
If you have received the message by error, please notify the sender and 
delete the message without copying, recording or distributing it.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"jOpenDocument" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jopendocument+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jopendocument] Re: What to do when a named range consists of a single cell?

2017-04-11 Thread rhorta
Did you solve it? I see the answers here don't help at all

El divendres, 4 abril de 2014 16:35:37 UTC+2, Thommy Elfving va escriure:
>
> So, in Calc I've given names to ranges of cells, as well as single cells, 
> and the ranges that consists of 1+ cells work fine, but the single-cell 
> ranges gives me a
> 'NullPointerException'... is this normal or a bug? What is the best way 
> to handle single-cell ranges in jOpenDocument?
>
> Thanks!
>

-- 
 


Advertiment legal: la informació d’aquest missatge de correu electrònic és 
confidencial i s’adreça exclusivament al destinatari previst. Si ha rebut 
el missatge per error, sisplau, notifiqui-ho al remitent i esborri’l sense 
copiar-lo, enregistrar-lo ni distribuir-lo.

Advertencia legal: la información de este mensaje de correo electrónico es 
confidencial y se dirige exclusivamente al destinatario previsto. Si usted 
ha recibido el mensaje por error, por favor, notifíquelo al remitente y 
bórrelo sin copiarlo, grabarlo ni distribuirlo.

Legal warning: the information contained in this e-mail message is 
confidential and is for the exclusive attention of the planned recipient. 
If you have received the message by error, please notify the sender and 
delete the message without copying, recording or distributing it.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"jOpenDocument" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jopendocument+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.