Hi,

At that time I am using POI alpha3.

Something like:-

import org.apache.poi.hssf.usermodel.*;
...

   HSSFWorkbook wb = new HSSFWorkbook();
   HSSFSheet sheet = wb.createSheet();
   HSSFPatriarch patr = sheet.createDrawingPatriarch();
   HSSFComment comment = patr.createComment
     (new HSSFClientAnchor(0,0,0,0,
      (short) 4, 2, (short) 10, 5));

The error is "cannot find symbol" pointing at HSSFComment.


I am using the three jar files
poi-3.0-alpha3-20061212.jar
poi-contrib-3.0-alpha3-20061212.jar
poi-scratchpad-3.0-alpha3-20061212.jar


Anyway, yesterday, I found the RC1 release and I tried using this and it is working correctly now.

thanks and rgds,






----- Original Message ----- From: "Yegor Kozlov" <[EMAIL PROTECTED]>
To: "POI Users List" <poi-user@jakarta.apache.org>
Sent: Thursday, March 15, 2007 8:37 PM
Subject: Re[2]: Create Cell comments


Hi,

p> Is it already available in version 3 alpha? I can't find in the API
p> documentation and also when I tried, there is an error.

Yes, cells comments are available in 3 alpha. What was the error?

Regards,
Yegor


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

Reply via email to