poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Burch <nick.bu...@alfresco.com>
Subject Re: XSSFPicture pict.setAnchor not compile
Date Wed, 28 Sep 2011 10:46:44 GMT
On Wed, 28 Sep 2011, Omar wrote:
> i have no problème when :
> HSSFPicture pict.setAnchor(anchor);
>
> but in XSSF file :
> this line (XSSFPicture pict.setAnchor(anchor);) is not built, i'm getting
> this error:
>
> The method set Anchor(HSSFClientAnchor) is undefined for the type
> HSSFPicture

You can't pass a HSSF object to XSSF. You need to create the XSSF 
equivalent. The CreationHelper will let you do this in a general way

Nick

Mime
View raw message