You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Yegor Kozlov <ye...@dinom.ru> on 2007/03/15 13:37:46 UTC
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: 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: Re[2]: Create Cell comments
Posted by pelican <pe...@hotmail.com>.
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" <ye...@dinom.ru>
To: "POI Users List" <po...@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: 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/