Hi,
Using a purchased version of Aspose.Cells. I tried all flavours of autofit columns method.
Non of them is working in Aspose.
Can you please suggest a solution
Thanks
Shrikant
Hi,
Using a purchased version of Aspose.Cells. I tried all flavours of autofit columns method.
Non of them is working in Aspose.
Can you please suggest a solution
Thanks
Shrikant
Hi,
I am formatting the sheet by using this code. Before starting LightCellDataProvider to process next sheet (second sheet) ,it will format the first sheet. since first sheet has data
public boolean startSheet(int sheetIndex) {
if (sheetIndex >= 1 && sheetIndex <= sheetCount) {
if (sheetIndex >= 2) {
formatReportSheet(workbook);
}
rowIndex = -1;
colIndex = -1;
return true;
}
return false;
}
Data in the column - JEFFREY R HAINES TTEE U/A DTD 02/04/1997 JEFFREY R HAINES SEP PROP TR (TACTICAL A/C)
I use below code to autoFitColumn. But always return incorrect width .so workSheet.getCells().getColumnWidth will always return 8.428571428571429. because autoFitColumn method always fails.
Iches=0.6666666666666666
pixel=64
width=8.428571428571429
Hi,
In order to autofit columns or rows, we make use of font information.
So, please make sure, you have access to the fonts being used by cells in your worksheets.
Please also set the font directory CellsHelper.setFontDir() and make sure all the fonts are present (installed) on your computer.
Try running your application with full access rights.
If you are using Linux, then see do you get the same results on Windows Environment. In such case, copy all needed fonts to your Linux machine.