You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Nate <nm...@charter.net> on 2003/03/10 21:28:27 UTC

Corrupt spreadsheet

I had asked last week about adding an image to a spreadsheet via POI.  I
have since created a template file, and when I open it, write to it, and
close it, the resulting spreadsheet is unreadable.  I have attached the
resulting spreadsheet.

--Nathan

Re: Corrupt spreadsheet

Posted by Nate <nm...@charter.net>.
Nope, nothing fishy here.  Just a straight up read/modify/write.  Thanks,
you guys are really responsive.

--Nathan

----- Original Message -----
From: "Andrew C. Oliver" <ac...@apache.org>
To: "POI Users List" <po...@jakarta.apache.org>
Sent: Monday, March 10, 2003 3:41 PM
Subject: Re: Corrupt spreadsheet


> Good news...  I'll likely be running into this bug shortly...so I'll
> probably fix it.
>
> (assuming its not one of those strange things that happens only when one
> runs under a certain heavy appserver that always seems to find the JDK
> bugs and introduce its own ;-) )
>
> -Andy
>
> Nate wrote:
>
> >Bummer.  I need 1.8 or better to have the setMargin functions. (is that
> >right?).
> >
> >----- Original Message -----
> >From: "Steve" <st...@Basit.COM>
> >To: "POI Users List" <po...@jakarta.apache.org>
> >Sent: Monday, March 10, 2003 3:20 PM
> >Subject: Re: Corrupt spreadsheet
> >
> >
> >
> >
> >>INFORMATION FROM ANOTHER USER:  Using 1.5.1 I am able to read in a
> >>
> >>
> >template
> >
> >
> >>xls file
> >>that contains an image, then write more stuff to the file, and write out
> >>
> >>
> >the
> >
> >
> >>file successfully.
> >>I believe that this does not work with 1.8.
> >>
> >>
> >>----- Original Message -----
> >>From: "Danny Mui" <da...@muibros.com>
> >>To: "POI Users List" <po...@jakarta.apache.org>
> >>Sent: Monday, March 10, 2003 4:04 PM
> >>Subject: Re: Corrupt spreadsheet
> >>
> >>
> >>
> >>
> >>>It would be great if you can submit the before and after spreadsheets
to
> >>>bugzilla (including the java program that mangled it).  Also would be
> >>>beneficial to note the version used.
> >>>
> >>>Hopefully when http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15375
> >>>gets addressed your problem will be fixed too.
> >>>
> >>>thanks.
> >>>
> >>>danny
> >>>
> >>>Nate wrote:
> >>>
> >>>
> >>>
> >>>>I had asked last week about adding an image to a spreadsheet via POI.
> >>>>
> >>>>
> >I
> >
> >
> >>>>have since created a template file, and when I open it, write to it,
> >>>>
> >>>>
> >and
> >
> >
> >>>>close it, the resulting spreadsheet is unreadable.  I have attached
the
> >>>>resulting spreadsheet.
> >>>>
> >>>>--Nathan
> >>>>
> >>>>
> >>>>
> >>------------------------------------------------------------------------
> >>
> >>
> >>>>---------------------------------------------------------------------
> >>>>To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> >>>>For additional commands, e-mail: poi-user-help@jakarta.apache.org
> >>>>
> >>>>
> >>>>
> >>>
> >>>---------------------------------------------------------------------
> >>>To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> >>>For additional commands, e-mail: poi-user-help@jakarta.apache.org
> >>>
> >>>
> >>>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail: poi-user-help@jakarta.apache.org
> >>
> >>
> >>
> >>
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: poi-user-help@jakarta.apache.org
> >
> >
> >
> >
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: poi-user-help@jakarta.apache.org
>
>



Re: Corrupt spreadsheet

Posted by "Andrew C. Oliver" <ac...@apache.org>.
Good news...  I'll likely be running into this bug shortly...so I'll 
probably fix it.

(assuming its not one of those strange things that happens only when one 
runs under a certain heavy appserver that always seems to find the JDK 
bugs and introduce its own ;-) )

-Andy

Nate wrote:

>Bummer.  I need 1.8 or better to have the setMargin functions. (is that
>right?).
>
>----- Original Message -----
>From: "Steve" <st...@Basit.COM>
>To: "POI Users List" <po...@jakarta.apache.org>
>Sent: Monday, March 10, 2003 3:20 PM
>Subject: Re: Corrupt spreadsheet
>
>
>  
>
>>INFORMATION FROM ANOTHER USER:  Using 1.5.1 I am able to read in a
>>    
>>
>template
>  
>
>>xls file
>>that contains an image, then write more stuff to the file, and write out
>>    
>>
>the
>  
>
>>file successfully.
>>I believe that this does not work with 1.8.
>>
>>
>>----- Original Message -----
>>From: "Danny Mui" <da...@muibros.com>
>>To: "POI Users List" <po...@jakarta.apache.org>
>>Sent: Monday, March 10, 2003 4:04 PM
>>Subject: Re: Corrupt spreadsheet
>>
>>
>>    
>>
>>>It would be great if you can submit the before and after spreadsheets to
>>>bugzilla (including the java program that mangled it).  Also would be
>>>beneficial to note the version used.
>>>
>>>Hopefully when http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15375
>>>gets addressed your problem will be fixed too.
>>>
>>>thanks.
>>>
>>>danny
>>>
>>>Nate wrote:
>>>
>>>      
>>>
>>>>I had asked last week about adding an image to a spreadsheet via POI.
>>>>        
>>>>
>I
>  
>
>>>>have since created a template file, and when I open it, write to it,
>>>>        
>>>>
>and
>  
>
>>>>close it, the resulting spreadsheet is unreadable.  I have attached the
>>>>resulting spreadsheet.
>>>>
>>>>--Nathan
>>>>
>>>>        
>>>>
>>------------------------------------------------------------------------
>>    
>>
>>>>---------------------------------------------------------------------
>>>>To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
>>>>For additional commands, e-mail: poi-user-help@jakarta.apache.org
>>>>
>>>>        
>>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: poi-user-help@jakarta.apache.org
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: poi-user-help@jakarta.apache.org
>>
>>
>>    
>>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: poi-user-help@jakarta.apache.org
>
>
>  
>




Re: Corrupt spreadsheet

Posted by Nate <nm...@charter.net>.
Bummer.  I need 1.8 or better to have the setMargin functions. (is that
right?).

----- Original Message -----
From: "Steve" <st...@Basit.COM>
To: "POI Users List" <po...@jakarta.apache.org>
Sent: Monday, March 10, 2003 3:20 PM
Subject: Re: Corrupt spreadsheet


> INFORMATION FROM ANOTHER USER:  Using 1.5.1 I am able to read in a
template
> xls file
> that contains an image, then write more stuff to the file, and write out
the
> file successfully.
> I believe that this does not work with 1.8.
>
>
> ----- Original Message -----
> From: "Danny Mui" <da...@muibros.com>
> To: "POI Users List" <po...@jakarta.apache.org>
> Sent: Monday, March 10, 2003 4:04 PM
> Subject: Re: Corrupt spreadsheet
>
>
> > It would be great if you can submit the before and after spreadsheets to
> > bugzilla (including the java program that mangled it).  Also would be
> > beneficial to note the version used.
> >
> > Hopefully when http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15375
> > gets addressed your problem will be fixed too.
> >
> > thanks.
> >
> > danny
> >
> > Nate wrote:
> >
> > >I had asked last week about adding an image to a spreadsheet via POI.
I
> > >have since created a template file, and when I open it, write to it,
and
> > >close it, the resulting spreadsheet is unreadable.  I have attached the
> > >resulting spreadsheet.
> > >
> > >--Nathan
> > >
> >
>------------------------------------------------------------------------
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> > >For additional commands, e-mail: poi-user-help@jakarta.apache.org
> > >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: poi-user-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: poi-user-help@jakarta.apache.org
>
>



Re: Corrupt spreadsheet

Posted by Steve <st...@Basit.COM>.
INFORMATION FROM ANOTHER USER:  Using 1.5.1 I am able to read in a template
xls file
that contains an image, then write more stuff to the file, and write out the
file successfully.
I believe that this does not work with 1.8.


----- Original Message -----
From: "Danny Mui" <da...@muibros.com>
To: "POI Users List" <po...@jakarta.apache.org>
Sent: Monday, March 10, 2003 4:04 PM
Subject: Re: Corrupt spreadsheet


> It would be great if you can submit the before and after spreadsheets to
> bugzilla (including the java program that mangled it).  Also would be
> beneficial to note the version used.
>
> Hopefully when http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15375
> gets addressed your problem will be fixed too.
>
> thanks.
>
> danny
>
> Nate wrote:
>
> >I had asked last week about adding an image to a spreadsheet via POI.  I
> >have since created a template file, and when I open it, write to it, and
> >close it, the resulting spreadsheet is unreadable.  I have attached the
> >resulting spreadsheet.
> >
> >--Nathan
> >
> >------------------------------------------------------------------------
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: poi-user-help@jakarta.apache.org
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: poi-user-help@jakarta.apache.org
>


Re: Corrupt spreadsheet

Posted by Danny Mui <da...@muibros.com>.
It would be great if you can submit the before and after spreadsheets to 
bugzilla (including the java program that mangled it).  Also would be 
beneficial to note the version used.

Hopefully when http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15375 
gets addressed your problem will be fixed too.

thanks.

danny

Nate wrote:

>I had asked last week about adding an image to a spreadsheet via POI.  I
>have since created a template file, and when I open it, write to it, and
>close it, the resulting spreadsheet is unreadable.  I have attached the
>resulting spreadsheet.
>
>--Nathan
>
>------------------------------------------------------------------------
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: poi-user-help@jakarta.apache.org
>