gert_1 Posted January 20, 2015 Share Posted January 20, 2015 Hi guys,GoalI am having a problem. I have a main report with some subreports. When I export it to PDF or Word or so, everything works fine! But when I export to HTML, something goes wrong:In the main report, every subreport is captured in a 'main' div that consists every time out of 2 divs, from which the first one is an empty dummy. This empty dummy (code below) is the reason that Outlook (and Gmail as well) will show like 5 line breaks between the subreports. And thus makes it not useable for emailing..Question 1:Is there a parameter (or other facility) that can disable this dummy DIV? When I manually remove the div it works like a charm!Question 2:Is there a way to influence the div porperties? E.g. Sometimes this dummy div starts with <div style="position: absolute; overflow: hidden; width: 100%; height: 100%; "> and sometimes with other properties.. If I could give it some specific info like a.e. add a class 'class=ReadyToBeRemoved' then I could filter it out by script (not most beautifull option but could work)Thanks in advance! Regards,GertPS: Div code:<div style="position: absolute; overflow: hidden; width: 100%; height: 100%; "><table cellpadding="0" cellspacing="0" border="0" style="empty-cells: show; width: 100%; border-collapse: collapse;"><tr valign="top" style="height:0"><td style="width:550px"></td></tr><tr valign="top" style="height:52px"> <td style="pointer-events: auto; "></td></tr></table></div> Link to comment Share on other sites More sharing options...
gert_1 Posted January 22, 2015 Author Share Posted January 22, 2015 This is fixed and will be implemented in new version: http://sourceforge.net/p/jasperreports/code/ci/c4aff1c1a357ded09108aa48869936837fd4375e/Will keep you updated about this! 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