You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by hasan kantar <ha...@hotmail.com> on 2012/06/12 21:42:04 UTC

Excel document that created with poi 3.8 can't be open blackberry , iphone (unrecognized file format error)

I have created excel 2007 file and send mail to user. When user open the attahced excel file with blackberry or iphone , he/she sees it is unrecognized file format error. But user can open same file on pc without error.    private Workbook wb=null;
    private Sheet sh=null;
    private Row row=null;  wb = new SXSSFWorkbook(-1); // turn off auto-flushing and accumulate all rows in memory
 sh = wb.createSheet("MySheet"); row = sh.getRow(0); Cell cell = row.createCell(0);
 cell.setCellValue("test value");  FileOutputStream out = new FileOutputStream("c:\\test.xlsx");
wb.write(out);
 out.close();

Bu mesaj ve ekleri, mesajda gonderildigi belirtilen kisi/kisilere ozeldir ve gizlidir. Bu mesajin muhatabi olmamaniza ragmen tarafiniza ulasmis olmasi halinde mesaj iceriginin gizliligi ve bu gizlilik yukumlulugune uyulmasi zorunlulugu tarafiniz icin de soz konusudur. Mesaj ve eklerinde yer alan bilgilerin dogrulugu ve guncelligi konusunda gonderenin herhangi bir sorumlulugu bulunmamaktadir. Gönderen mesajin ve bilgilerinin size degisiklige ugrayarak veya gec ulasmasindan, butunlugunun ve gizliliginin korunamamasindan, virus icermesinden ve bilgisayar sisteminize verebilecegi herhangi bir zarardan sorumlu tutulamaz.