Maximize the Jasper Report Viewer ?

When launching the Jasper Report Viewer (output format plugins.jasperPluginRMI.OUTPUT_FORMAT.VIEW), the report view window is quite small.
Is there a way to launch it maximized?

There used to be a bean for earlier version of JR.
That way you could create your own viewer using a form and being in full control of the styling, size, etc.

Bernd,

I think this is what you want:

plugins.jasperPluginRMI.JR_SVY_VIEWER_DISPLAY_MODE.FIT_PAGE

I hope this helps!

Hi Kim,
thanks for the hint. We tried it, but could not see a difference. We also used .FIT_WIDTH and .ACTUAL_PAGE_SIZE.

We also touched the plugin first, like a thread recommended, by a
var sTest = plugins.jasperPluginRMI.relativeReportsDirectory

Is there something else we need to consider?

My apologies, Bernd. I was thinking you were using the Jasper preview bean when I answered. We use the Jasper preview bean (Smart client only) with the following code:

elements.bean_jasper_preview.displayMode = plugins.jasperPluginRMI.JR_SVY_VIEWER_DISPLAY_MODE.FIT_PAGE

and, it works as expected. Give the Jasper preview bean a try!