I need to adjust the height of a row depending on the content.
Is there a method like cell.autoSizeColumn()
to do this?
Asked
Active
Viewed 8,003 times
2

Jean-François Corbett
- 37,420
- 30
- 139
- 188

Saicharan S M
- 828
- 3
- 11
- 25
-
2[this mailing list post](http://apache-poi.1045710.n5.nabble.com/Autosize-row-for-HSSF-library-td2308264.html) might help. – oers Mar 20 '12 at 07:17
1 Answers
-5
You might be able to use a for loop:
totalCells = cell.getPhysicalNumberOfCells();
for(ii=0;ii<totalCells;ii++){
Write your build code here
}
The help docs from the site helped a lot too.

BlackHatSamurai
- 23,275
- 22
- 95
- 156