pashab Posted December 14, 2014 Share Posted December 14, 2014 Hi,When I am trying to export report to xls format I get empty cells, if textfield value overflow.I set textfiled property stretch with overflow to the true and added these properties to report:<property name="net.sf.jasperreports.print.keep.full.text" value="true"/><property name="net.sf.jasperreports.export.xls.detect.cell.type" value="true"/><property name="net.sf.jasperreports.export.xls.wrap.text" value="false"/><property name="net.sf.jasperreports.export.xls.auto.fit.row" value="true"/><property name="net.sf.jasperreports.export.xls.auto.fit.column" value="true"/> But it doesn't help! Does anybody know how to solve this issue? Link to comment Share on other sites More sharing options...
darth_fader Posted December 16, 2014 Share Posted December 16, 2014 try the following:http://jasperreports.sourceforge.net/config.reference.html#net.sf.jasperreports.export.xls.remove.empty.space.between.rows net.sf.jasperreports.export.xls.remove.empty.space.between.rows = true net.sf.jasperreports.export.xls.remove.empty.space.between.columns = true Link to comment Share on other sites More sharing options...
pashab Posted December 20, 2014 Author Share Posted December 20, 2014 Hi gertbeedfrobe, Thanks for your response. But it is not exactly that I mean I have problem during the export to excel when textfiled have big word, that does not fit within the boundaries of the field. Then this value is losted and is not contained in cell. Does jasperreports have some settings for hyphenation? In HTML it also doesn't work as I expected: the field stretches horizontally and pushes the columns on the right, over another fields Link to comment Share on other sites More sharing options...
pashab Posted December 21, 2014 Author Share Posted December 21, 2014 This is what I get:http://c2n.me/39cbljj - link to screenshotDoes anybody know to solve this issue, please help? Link to comment Share on other sites More sharing options...
janiesprenger Posted March 17, 2015 Share Posted March 17, 2015 On the Detail properties, set the Split Type to 'Prevent'. On the field properties, set Stretch Type to 'No stretch'. 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