Hi,
I think HSSF is for XLS, XSSF is for XLSX and you can use SS for either.
R,Mark.  

    On Wednesday, 16 November 2016, 6:45, David North 
<[email protected]> wrote:
 

 Hi Markus,

This question would be best asked on the POI user list
([email protected]) - moving thread there.

> is there a way to write the same file as xls and xlsx file ?
> For example with XSSF.

The APIs require you to pick one or the other - unfortunately although
the two share a set of common interfaces, we don't have code to clone
one implementation into the other.

> I tried writing a xlsx file with HSSF and it works.

That's surprising. Are you sure it's actually written an .xlsx file (a
ZIP with XML inside it)? Or is it the case that Excel happily opens an
.xls with the .xlsx extension?

> Can i use XSSF for XLS and XLSX without any problems?
> 
> Thanks a lot.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



   

Reply via email to