data band header with rounded rectangle on multiple pages

Stimulsoft Reports.NET discussion
Jozef Balga
Posts: 56
Joined: Fri May 27, 2011 8:33 am
Location: Bratislava, Slovakia

data band header with rounded rectangle on multiple pages

Post by Jozef Balga »

Hello!

I have a report, which contains header, data band, footer, and a rounded rectangle primitive which covers parts of all 3 components. If the table does not fit to one page, a new page is created and the header is printed on the top. The probem is related to the rounded rectangle primitive in the header: it looks fine on the first page (it covers the part of the header as defined), but on the other pages it covers the whole area of the header - the upper part of the rounded rectange moves to the top of the header. I attached a report template which demonstrates my problem. Thank you for your time.

Jozef
Attachments
roundedRectangle.mrt
report template
(8.29 KiB) Downloaded 505 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: data band header with rounded rectangle on multiple page

Post by HighAley »

Hello.

The end point of the rounded rectangle Footer Band. So it ends on the footer and goes through all other components.
If you will set the Print on All Pages property of the Footer to True then you'll get the right report.

Thank you.
Jozef Balga
Posts: 56
Joined: Fri May 27, 2011 8:33 am
Location: Bratislava, Slovakia

Re: data band header with rounded rectangle on multiple page

Post by Jozef Balga »

Unfortunately I can not apply your solution, I am allowed to show the table footer on the last page only. Is there another way to show a data band (with header and footer) on multiple pages with rounded borders? Thank you.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: data band header with rounded rectangle on multiple page

Post by HighAley »

Hello.

Than try to add another Footer band which will be printed on every page too and move the bottom point of the Rounded Rectangle on it.
With the first footer we do next:
  1. Set the Can Shrink property to True.
  2. Set the Condition of the Text3 (look at the attached report template)
  3. Set the Number of Pass property of the report to Double Pass.
Thank you.
Attachments
roundedRectangle.mrt
(9.05 KiB) Downloaded 733 times
Jozef Balga
Posts: 56
Joined: Fri May 27, 2011 8:33 am
Location: Bratislava, Slovakia

Re: data band header with rounded rectangle on multiple page

Post by Jozef Balga »

Excellent, it works great. If may I ask one more question: if the data band does not fit to one page, the last record (or more of them) is moved to a new page with the footer. That is perfect for me, but if the data band is quite big, there is a gap between the last band element and the rounded rectangle on the end of the page, see the attached report template. Is it possible to reduce the gap between the data band and the rounded rectangle at the end of the page? Thank you.

Jozef
Attachments
roundedRectangle_page_finish.mrt
(9.77 KiB) Downloaded 697 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: data band header with rounded rectangle on multiple page

Post by HighAley »

Hello.

Please, look at the attached report template.

Thank you.
Attachments
roundedRectangle_page_finish.mrt
(9.58 KiB) Downloaded 665 times
Jozef Balga
Posts: 56
Joined: Fri May 27, 2011 8:33 am
Location: Bratislava, Slovakia

Re: data band header with rounded rectangle on multiple page

Post by Jozef Balga »

Thank you again. There is one more situation I am unable to deal with: if the data band is used together with the group header and footer, so the rounded rectangle is positioned on the group header and partly on the group footer. The rectangle is drawn correctly around the groups, but I still have the empty space at the end of the page when the last line of the record is moved to the next page and displayed with the group footer. A data band footer would draw the bottom line correctly, but that would mean continuous side lines from the start of the data band to the footer too, which I would like to prevent. The group footer is only partially covered with the rounded rectangle and i would like to keep the groups visually separated in the generated report. Thank you for your help.

Jozef
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: data band header with rounded rectangle on multiple page

Post by HighAley »

Hello.

Please, send us a report template which reproduces this issue for analysis.

Thank you.
Jozef Balga
Posts: 56
Joined: Fri May 27, 2011 8:33 am
Location: Bratislava, Slovakia

Re: data band header with rounded rectangle on multiple page

Post by Jozef Balga »

I have attached a report template which describes my problem. Thank you.

Jozef
Attachments
roundedGroups.zip
sample report template
(3.44 KiB) Downloaded 637 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: data band header with rounded rectangle on multiple page

Post by HighAley »

Hello.

We wrote you about the algorithm how the rounded rectangle component is rendered. Unfortunately, it's impossible to avoid this free space.
We are working on the rounded border of the text components which should solve your problem. It will be available in our next release In early December.

Thank you.
Post Reply