DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29675>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29675

POI 2.5 final corrupts output when starting workbook has a graphic





------- Additional Comments From [EMAIL PROTECTED]  2004-06-18 23:09 -------
It's not really a regression (a re-appearance of an old bug).

It's a problem that started happening with the image support added in POI 2.5

You didn't say exactly what the problem was. But I suspect that simple code 
such as:

  import org.apache.poi.hssf.usermodel.HSSFWorkbook;
  import java.io.FileInputStream;
  import java.io.FileOutputStream;
  import java.io.IOException;
  public class Bug29675 {
    public static void main(String[] args) throws IOException {
      HSSFWorkbook workbook = new HSSFWorkbook(new FileInputStream(
         "11883.xls"));
      workbook.write( new FileOutputStream( "11883a.xls"));
    }
  }

(which just copies the workbook through POI) would have run without errors, but 
the copied workbook 11883a.xls would not open in Excel.

If this is the case, the patch I describe fixes the problem, and this is a 
duplicate of bug 28203

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

Reply via email to