You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by IndianAtTech <in...@gmail.com> on 2005/06/10 10:36:59 UTC

Re: Insert Image in excel Sheet

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 <su...@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/


Re: Insert Image in excel Sheet

Posted by IndianAtTech <in...@gmail.com>.
Download latest source files from CVS Branch. Compile them, create a
new jar file and replace existing jar with new one and test your
application. This solves your problems

http://cvs.apache.org/viewcvs/jakarta-poi/

Regards
Sudhakar Chavali




On 6/10/05, IndianAtTech <in...@gmail.com> wrote:
> 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 <su...@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/