Re: [jopendocument] Google Docs cannot import spreadsheet created by JOpenDocument.

2013-10-18 Thread Sylvain Cuaz

Le 12/10/2013 09:22, Alex Buloichik a écrit :

Hi Sylvain !

See attachment, please.


OK, it's the same issue : Google is missing display=true. Upon investigating this can happen in 1.3 
if you use SpreadSheet.addSheet(). As a workaround you can either create all your sheets at once 
using SpreadSheet.create(int sheetCount, int colCount, int rowCount) or use createEmpty() and then 
Sheet.copy().

This will be resolved in the next release.

Cheers,
Sylvain

--

--- 
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/groups/opt_out.


Re: [jopendocument] Google Docs cannot import spreadsheet created by JOpenDocument.

2013-10-11 Thread Sylvain Cuaz

Le 08/10/2013 16:14, Alex Buloichik a écrit :



On Thursday, February 28, 2013 6:34:36 PM UTC+3, ILM wrote:



Indeed, Google freaks out if an automatic style name isn't all lower case.
And it uses false as the
default for the displayability of tables. The rc2 version will include an
explicit display=true.



I tried with the  jopendocument -1.3.jar. The same issue. But when I open
ods file, then insert space into one empty cell, then save ods, then Good
opens it good.
I have to change every sheet in ods file for impot to Google Docs.


Hi,

	I tried just now with org.jopendocument.sample.SpreadSheetCreation and SpreadSheetFill to import to 
google drive and both worked flawlessly. Can you send an ods that doesn't work ?


Cheers,
Sylvain

--

--- 
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/groups/opt_out.


Re: [jopendocument] Google Docs cannot import spreadsheet created by JOpenDocument.

2013-10-09 Thread Alex Buloichik


On Thursday, February 28, 2013 6:34:36 PM UTC+3, ILM wrote:


 Indeed, Google freaks out if an automatic style name isn't all lower case. 
 And it uses false as the 
 default for the displayability of tables. The rc2 version will include an 
 explicit display=true. 


I tried with the  jopendocument -1.3.jar. The same issue. But when I open 
ods file, then insert space into one empty cell, then save ods, then Good 
opens it good.
I have to change every sheet in ods file for impot to Google Docs.

-- 

--- 
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/groups/opt_out.


Re: [jopendocument] Google Docs cannot import spreadsheet created by JOpenDocument.

2013-03-04 Thread Daniel Lopez Gonzalez
Can i download the rc2? Is the code operative now?

On Thursday, 28 February 2013 16:34:36 UTC+1, ILM wrote:

 Le 26/02/2013 17:05, Daniel Lopez Gonzalez a �crit : 
  Hello 
 Hi 

  am trying to use the jOpenDocument library 
 http://www.jopendocument.org/ to create documents. I 
  have executed the example where it creates a spreadsheet - the code 
 compiles and runs OK but when 
  I tried to open the document with Google Docs they indicated to me that 
 the format is incorrect. 

 Indeed, Google freaks out if an automatic style name isn't all lower case. 
 And it uses false as the 
 default for the displayability of tables. The rc2 version will include an 
 explicit display=true. 

 Cheers, 
 Sylvain 


-- 

--- 
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/groups/opt_out.




Re: [jopendocument] Google Docs cannot import spreadsheet created by JOpenDocument.

2013-02-28 Thread Sylvain Cuaz

Le 26/02/2013 17:05, Daniel Lopez Gonzalez a écrit :

Hello

Hi


am trying to use the jOpenDocument library http://www.jopendocument.org/ to 
create documents. I
have executed the example where it creates a spreadsheet - the code compiles 
and runs OK but when
I tried to open the document with Google Docs they indicated to me that the 
format is incorrect.


Indeed, Google freaks out if an automatic style name isn't all lower case. And it uses false as the 
default for the displayability of tables. The rc2 version will include an explicit display=true.


Cheers,
Sylvain

--

--- 
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/groups/opt_out.




[jopendocument] Google Docs cannot import spreadsheet created by JOpenDocument.

2013-02-26 Thread Daniel Lopez Gonzalez
Hello

 am trying to use the jOpenDocument library http://www.jopendocument.org/ to 
create documents. I have executed the example where it creates a 
spreadsheet - the code compiles and runs OK but when I tried to open the 
document with Google Docs they indicated to me that the format is incorrect.

This is the example, i am using the version 1.3rc1 of jOpenDocument:

final Object[][] data = new Object[6][2];
data[0] = new Object[] { January, 1 };
data[1] = new Object[] { February, 3 };
data[2] = new Object[] { March, 8 };
data[3] = new Object[] { April, 10 };
data[4] = new Object[] { May, 15 };
data[5] = new Object[] { June, 18 };
String[] columns = new String[] { Month, Temp };
TableModel model = new DefaultTableModel(data, columns);
// Save the data to an ODS file and open it.final File file = new 
File(destpath, temperature.ods);
SpreadSheet.createEmpty(model).saveAs(file);

-- 

--- 
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/groups/opt_out.