Bug 47658

Summary: no method to autosize rows
Product: POI Reporter: antsleg <antsleg>
Component: SS CommonAssignee: POI Developers List <dev>
Status: NEW ---    
Severity: enhancement CC: najh.ru, onealj, st.mailinglists
Priority: P2    
Version: 3.5-dev   
Target Milestone: ---   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 46447    

Description antsleg 2009-08-06 20:46:04 UTC
in org.apache.poi.hssf.usermodel.HSSFSheet,there is a method autoSizeColumn() to set column autosize in worksheet,but there is no method to set row autosize.
Comment 1 antsleg 2009-08-06 20:57:10 UTC
for example:

we can autosize columns like this:
------------------------------------------------------------------------
for (int col = 0; col < colCount; col++)  //colCount - count of columns
    sheet.autoSizeColumn((short) col);    //sheet - an object of HSSFSheet
------------------------------------------------------------------------
but we can't autosize rows,because there is no autoSizeRow()