java - AutoFit Row Height in Excel with POI -


i'm trying produce excel workbook 1 worksheet content in cells wraps , row height autofit when columns resized. word wrapping seems work ok, can't row auto height work. have looked @ several posts , many of different methods available in poi api, none of them seem work.

the post @ auto size height rows in apache poi not seem work. using methods

row.setstyle(style) row.setheight((short)-1)  

do not work either.

has succeeded in creating workbook/sheet columns wrap text , row height set auto , row height adjusts when columns shrunk down?


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -