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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > > Mailing List: http://jakarta.apache.org/site/mail2.html#poi > > The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/ > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] Mailing List: http://jakarta.apache.org/site/mail2.html#poi The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
