dhallman555 Posted July 26, 2006 Share Posted July 26, 2006 I've got a report coming back one page at a time in my web app. Is there a way I can set the page size at runtime? That way I can export to PDF's etc and have it look normal and then adjust the size to fit a single screen for an HTML export. Link to comment Share on other sites More sharing options...
teodord Posted July 27, 2006 Share Posted July 27, 2006 Hi, Our current exporters try to keep the same layout of the document, no matter what the output format.This is why the HTML exporter produces this kind of "pixel perfect" layout in which the page size of the original report template is preserved. I'm not sure what you want to achieve, but all I can say is that the HTML content that our exporter produces will not expend to cover the entire browser area when the window expands. It will remains the same size no matter what the browser window size is. We made things this way because JasperReports was originally designed with printing in mind, so all sizes must be very precise. In the future, we are thinking of creating a more "relaxed" HTML exporter that will produce adaptable HTML content. I hope this helps.Teodor Link to comment Share on other sites More sharing options...
mkr-fr Posted October 30, 2009 Share Posted October 30, 2009 Hello,has this become true? Because I'm currently facing the same problem. I wan't a simple html report which is displayed with the available size or a size I can define. If I want to print it i use pdf. I'm currently evaluationg JR for switching out of birt, so a fast answer would be welcome.Greetings Marco Link to comment Share on other sites More sharing options...
israel_2 Posted September 1, 2015 Share Posted September 1, 2015 So it is now 6 years later - 9 since the answer that they are "thinking" of creating a more "relaxed" HTML exporter. As far as I can see, this is still not the case. Did you guys just become tired of thinking about it and forget about it? Or might this still be in the works? What works well for printing often does not work well for HTML display. I find that the HTML display is oftwen way to small, while the printed copy is easily readable. It would be nice to be able to "scale up" or something to use the more relaxed format of HTML when displaying in a browser, while still being able to produce nice PDF's for printing. 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