Jump to content
Changes to the Jaspersoft community edition download ×

How not apply page margins on the background image in JasperSoft Studio?


Eyesmagicx

Recommended Posts

I have TIBCO Jaspersoft® Studio 6.8.0. My report has a background image. When I set page margins to i.e 20mm, it's applied to everything on the page(bands and background). I need to apply the margins to everything on the page except for the background so the background covers all the page including margins and the bands start printing after the page margins. Can this be accomplished?

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Hi,

One way to achieve this is to use a master report without page margins, just for the background and include the actual report into it as a subreport.

The subreport could be placed in the title or summary section of the master report that has whenNoDataType="AllSectionsNoDetail", while it passes all the parameter values to the subreport using something like:

<parametersMapExpression><![CDATA[new HashMap($P{REPORT_PARAMETERS_MAP})]]></parametersMapExpression>

I hope this helps.
Teodor

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...