Home
Analytics
Page Size in Default Web Viewer
Scottc
Hi,
When I run my report in the default web viewer and export it to Word, I notice a lot of extra white space at the end of each page that looks like it could have been used. I tried to fix this by increasing the size of my report's master page, but this just increased the size of the page, there was still just as much unused white space at the bottom.
I've attached an example using the sample database where I ran the same report from code and from the web viewer exported to Word. By comparing the two Word docs, you can tell that one more table would have fit on the first page of the viewer version, but the viewer moved it down to the second page.
How can I make the viewer use all of the available page?
Thanks,
Scott
Find more posts tagged with
Comments
mwilliams
BIRT seems to think there's not enough room to chance it. If you were to decrease the size of the header and footer, in the property editor for the masterpage, to 0.3in, the extra crosstab fits in the page and looks more filled out.
Scottc
That's true, if you decrease the size of the header and footer you can get an extra crosstab to fit on the page. But even with the smaller margins you still get one more crosstab on the page when you run the report from code than you do when you run it from the viewer.
It seems the viewer requires the page break before the margin in the master page is reached, but the Word Emitter lets it go all the way to the margin. Do you know how to change this?
mwilliams
I'm not sure why this is, to tell you the truth. If you turn off the "avoid" page break within setting on the detail row of the table, it also puts the extra crosstab on there. Must be just how the web viewer example was designed. You'd probably have to access the code to change this.