We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.cells for java - getColumnWidth() result

Hi,

I have java code with POI calls that I try to transform in ASPOSE calls. And I have problem with method getColumnWidth().

Indeed, the result obtained with poi for the column width is different from that obtained with Aspose, and I do not quite understand why (for me, the only difference should be a factor of 256 between Aspose and POI).

Am I wrong ?

In documents attached, the examples that I used

Thanks




Hi,


Thanks for providing us template file and sample JAVA programs.

Well, we are not entirely certain about your issue/question. I think you are talking about the difference for the results obtained from Aspose.Cells component and POI. We do not think it is a problem of Aspose.Cells by any means. Aspose.Cells follows MS Excel standards and specifications and not POI APIs. For the width value(s) obtained for different columns, Ms Excel gives 8.43 and Aspose.Cells gives 8.428…, so we don’t think it has any problem, it should be taken as same with MS Excel. We don’t think we need to evaluate POI values and what values are got from POI. We think we should follow Ms Excel standards and not POI standards.

Thank you.