poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "KHZ (SAW)" <karl-heinz.zenge...@sawag.com>
Subject WG: Insert Image in Excel file using Apache POI
Date Fri, 10 Jun 2005 08:19:39 GMT
 
 
-----Urspr√ľngliche Nachricht-----
Von: Sushama Shringare [mailto:Sushama.Shringare@rave-tech.com] 
Gesendet: Donnerstag, 9. Juni 2005 20:01
An: karl-heinz.zengerle@sawag.com
Betreff: Insert Image in Excel file using Apache POI
 






Hi,
I am using trying 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 u 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


Thanks,
Sushama

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message