Forum Webscript.Ru
Программирование => Perl => Тема начата: DartSidius от 27 Июня 2007, 08:39:52
-
Никто не лазил?...т.е. чтобы ширина колонки становилась автоматом под самое длинное значение...
я только нашёл что можно его менять:
set_column($row, $column, $SIZE);
конечно можно считать количество символом и ручками высчитывать ширину...но может там есть это уже :)
-
DartSidius
http://search.cpan.org/~jmcnamara/Spreadsheet-WriteExcel-2.18/lib/Spreadsheet/WriteExcel.pm
...
The width corresponds to the column width value that is specified in Excel. It is approximately equal to the length of a string in the default font of Arial 10. Unfortunately, there is no way to specify "AutoFit" for a column in the Excel file format. This feature is only available at runtime from within Excel.
...
-
ага...уже прочитал :(...ручками всё...ручками