poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Sims" <Sim...@wyeth.com>
Subject Automatically expanding each column to accomodate largest/widest cell using POI-HSSF
Date Tue, 26 Apr 2005 12:24:34 GMT
Hi,
 
I'm using POI-HSSF in a JSP application to stream an Excel spreadsheet to a web browser. This
is working great! 
 
But, I cannot find a way to easily expland each column's width to accomodate the widest cell
in the column (ie. Fit the contents). That is, i'd like to have the Excel spreadsheet initially
open as if the user  double-clicked the boundary to the right of each column heading. 
 
Anyone know of a way to do this programatically?
 
thanks,
-john



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message