Browse the POI classes. Do you see the methods you are calling?
If not, you are using the old jar or Coldfusion is using the "cached"
old stuff. And what is
createObject("java","org.apache.poi.hssf.usermodel.HSSFClientAnchor")?
 It's the only difference from the quick guide's example and I suspect
 something is wrong with it.
 

Yegor

CD> Hello,

CD> The example on the page
CD> http://jakarta.apache.org/poi/hssf/quick-guide.htmldoes not seem to
CD> workfor me. Or if it works, could you please give another
CD> example?

CD> I downloaded the nightly build but i still get a "method not found" error.

CD> I use Coldfusion Mx, my code goes like:

CD>     patr = newSheet.createDrawingPatriarch();
CD>     cell1 = newSheet.createRow(4).createCell(1);
CD> comment1 = patr.createComment(createObject("java","
CD> org.apache.poi.hssf.usermodel.HSSFClientAnchor").init(0, 0, 0, 0, 4, 2, 6,
CD> 5));

CD> I get an error when I try the example on the quickguide.

CD> Thanks a bunch to Yegor, and you all!

CD> Cenk


---------------------------------------------------------------------
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/

Reply via email to