poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From IndianAtTech <indianatt...@gmail.com>
Subject Re: Insert Image in excel Sheet
Date Fri, 10 Jun 2005 08:36:59 GMT
Try updating your classes with latest build available

You can have a look at
http://cvs.apache.org/viewcvs.cgi/jakarta-poi/src/java/org/apache/poi/hssf/usermodel/


On 6/9/05, Sushama <sushama.shringare@rave-tech.com> wrote:
> Hi,
> I am trying to put image in excel file using Apache POI.
> but i am not able to get as which verion of POI i shd use. i got the code for
> the same but its not working out.
> Can anybody help me with this?
> 
> 
>  HSSFClientAnchor anchor;
>     anchor = new HSSFClientAnchor(0,0,0,255,(short)2,2,(short)4,7);
>     anchor.setAnchorType( 2 );
>     patriarch.createPicture(anchor, loadPicture
> ( "src/resources/logos/logoKarmokar4.png", wb ));
> 
> when i use above code it says setAnchorType(),loadPicture() methods does not
> exist.
> I am using poi-2.5.1-final-20040804.jar which dosent have these methods.
> 
> 
> Thanks,
> Sushama
> 
> 
> ---------------------------------------------------------------------
> 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