You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Zsolt Farkas <Zs...@frsglobal.com> on 2012/04/02 10:42:54 UTC

Migrate HSSF to SXSSF

Hi,

I have a working excel import (xls, HSSF implemention). I want to migrate this implementation to SXSSF.
In HSSF implementation I can do this:
(workbook = new HSSFWorkbook() )
final HSSFPalette palette = workbook.getCustomPalette();

but in SXSSF doesn't exist this function (getCustomPalette)
How can I substitute it?

Zsolt Farkas | Software Engineer






[Description: Wolters Kluwer Financial Services]<http://www.frsglobal.com/>



Re: Migrate HSSF to SXSSF

Posted by Yegor Kozlov <ye...@dinom.ru>.
SXSSF only works with the .xlsx format, you can't use it to generate binary
.xls files.

Yegor

On Mon, Apr 2, 2012 at 12:42 PM, Zsolt Farkas <Zs...@frsglobal.com>wrote:

>  ** **
>
> Hi,****
>
> ** **
>
> I have a working excel import (xls, HSSF implemention). I want to migrate
> this implementation to SXSSF.****
>
> In HSSF implementation I can do this:****
>
> (workbook = new HSSFWorkbook() )****
>
> final HSSFPalette palette = workbook.getCustomPalette();****
>
> ** **
>
> but in SXSSF doesn’t exist this function (getCustomPalette)****
>
> How can I substitute it?****
>
> ** **
>
> Zsolt Farkas | *Software Engineer *
>
> ****
>
>  ****
>
>  ****
>
> [image: Description: Wolters Kluwer Financial Services]<http://www.frsglobal.com/>
> ****
>
> ** **
>