joaodahanx Posted May 1, 2021 Share Posted May 1, 2021 Hey, guys! I found a problem on ireport, I looked for the solution everywhere and I can't find it. I have a report where it stores the description of a document and a subreport where it stores the attached document (jpg, PDF, png). All pages have a header pattern: coat + name. When it is generated, it looks like this: Description of doc - report Attachment (1pag) - subreport In this format, the header on the pages is printed correctly, but it can happen that the attached document is a PDF that contains more than 1 page (I will use as an example a 3-page PDF), changing the format to: Description doc - report Attachment - subreport (page 1) Attachment - subreport (page 2) Attachment - subreport (page 3) And it is in this format that the error occurs, the header is sent to all pages, but the image of the coat of arms only appears up to the Annex - subreport (page 1), for the other pages there is an error icon in the coat's location, or that is, the coat of arms is only printed if the subreport contains only 1 page, when it has more than one, it is lost. Does anyone know the solution? I need it urgently !!! Link to comment Share on other sites More sharing options...
mahadiosb Posted May 5, 2021 Share Posted May 5, 2021 put isSummaryWithPageHeaderAndFooter="true" between <jasperReport > like bellow<jasperReport isSummaryWithPageHeaderAndFooter="true"> and always add subreport in summery section 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