sudha_ramaiah Posted December 28, 2006 Share Posted December 28, 2006 Can we achieve the autoadjust of cell height in excel based on the content? I have set the stretchifoverflow for all the fields in the report.I have also set the excel parameters,IS_AUTO_DETECT_CELL_TYPE and IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS to true.But the content does not appear properly.I tried with stretch with tallest object property also for all the fields in the report as i do not know which field will be longer in a particular row though i know the max width field in the report.For some,unneccassary rows are created in the excel and for some the cell height is not enough to fit the content.The rows have to manually extended to see the contents properly.Please help. Thanks. Link to comment Share on other sites More sharing options...
sumankumar_alla Posted December 28, 2006 Share Posted December 28, 2006 hi i also faced the problem before.we have to be take care while giving x,y,height and width for the elements. go through the below link.i hope it will be helpful. http://jasperforge.org/sf/wiki/do/viewPage/projects.jasperreports/wiki/FAQ all the best Link to comment Share on other sites More sharing options...
sudha_ramaiah Posted December 29, 2006 Author Share Posted December 29, 2006 Thank You.I have set the proper x and y for all the elements in the report.There is no problem with the grids but the problem happens only when there is a text with larger content which cannot fit the cell height. Link to comment Share on other sites More sharing options...
sudha_ramaiah Posted January 22, 2007 Author Share Posted January 22, 2007 Teodar, Can you please help me in this?Thanks Link to comment Share on other sites More sharing options...
Teodor Danciu Posted November 26, 2007 Share Posted November 26, 2007 Hi, Have you tried the IS_FONT_SIZE_FIX_ENABLED exporter parameter?This makes the font size slightly smaller so that text fits better in the cells. I hope this helps.Teodor Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now