poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kalle" <kalleba...@gmx.de>
Subject RE: cloneSheet -> RuntimeException. Basic use case!
Date Tue, 09 May 2006 23:15:04 GMT
@mh: Yes, you're right! I was having a picture within the template sheet.
Having removed it cloning worked just fine. Just a pity that I can't use the
customer's logo for his reports... Thank you!

Do you happen to have a solution to my other headache as well? ;-) (see
parallel thread: removeSheetAt -> manipulated content)

-----Original Message-----
From: mhader@macciato.de [mailto:mhader@macciato.de] 
Sent: Wednesday, May 10, 2006 12:25 AM
To: POI Users List
Subject: Re: cloneSheet -> RuntimeException. Basic use case!

it seems, that you have/had a picture in the sheet "someSheetName". I got
the
same exceptions, when i tried to clone sheets with pictures inside

g

mh


Zitat von Kalle <kalleballe@gmx.de>:

> Dear list,
>
> I hope some of you can give me some hints or workarounds to achieve a very
> basic use case:
>
> Use case: I need to produce multiple sheets based upon a single template
> sheet (providing some styling etc.).
>
> Problem: When I call workbook.cloneSheet("someSheetName") I get the
> following Exception:
>
> java.lang.RuntimeException: The class
> org.apache.poi.hssf.record.DrawingRecord needs to define a clone method
>
>
> Any hints or workarounds? Any help would be appreciated!
>
> Regards,
>
> Kalle
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
>
>





---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/




---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


Mime
View raw message