On Tue, 2 Nov 2010, rohankrishnajasti wrote:
hi i am converting a code which uses poi 2.0 for 'export to excel.xls' (entirely hssf based) to one which can 'Export to either .Xls or .xlsx format ' using poi 3.6. i have made some of the necessary changes by replacing the HSSf.usermodel methods with SS.usermodel methods but there are some methods of record class and some other classes which are exclusive to HSSF.
You should convert your record based code to be usermodel based. Once all your code is all usermodel level (with nothing touching records), it should be fairly easy to switch it. HSSF and XSSF have very different internals, so there are no XSSF records - XSSF is all xml objects inside.
Nick --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
