Hi,

I was working on production until now with POI 2.5.1 (HSSF).
One thing we did was generating an Excel file based on an XLS model. In this
model, there was one sheet containing brut data, and one containing graphs
and other stuffs.
My program simply opened the model, injected the datas on the data sheet,
and then, I generated the output file. Very simple. And the user could open
the XLS file and get his graphics.

I switched to 3.1-FINAL and... It doesn't work anymore. I mean, the XLS file
is generated but when I open it with Excel, Excel crashes... When I launch
it again, it "repairs" the document. The data sheet is ok, but the sheet
with the graph (which I don't even touch in Java) is void...

Seems like POI 2.5.1 didn't impact objects it has not to work with (a sheet
containing a graph). But 3.1-FINAL seems to have an impact on all.

My model is attached here : 
http://www.nabble.com/file/p20701753/EssaiModifExcelSource.xls
EssaiModifExcelSource.xls 
My simple java sample : 
http://www.nabble.com/file/p20701753/EssaiModifExcel.java
EssaiModifExcel.java 

The sample simply opens the document, changes 5 values on the value sheet,
and saves the file in a different name.

As I mentionned, it works well on 2.5.1 but not on 3.1-FINAL.

Best regards,

Michel Wozniak
-- 
View this message in context: 
http://www.nabble.com/XLS-modification-problem-tp20701753p20701753.html
Sent from the POI - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to