Group header with rounded rectangle on multiple pages
Group header with rounded rectangle on multiple pages
Hi,
basically is the same issue of the topic -> viewtopic.php?f=8&t=35278&hilit=rounded+rectangle
but my report have groupheaders, how could i set the rounded rectangle without covering headers and footers
See the attached sample.
Thanks.
* Now attached the xml file
basically is the same issue of the topic -> viewtopic.php?f=8&t=35278&hilit=rounded+rectangle
but my report have groupheaders, how could i set the rounded rectangle without covering headers and footers
See the attached sample.
Thanks.
* Now attached the xml file
- Attachments
-
- dsPrestacaoItambe.xml
- (50.71 KiB) Downloaded 401 times
-
- sendStimul_GroupRoundedRectangle.mrt
- (95.14 KiB) Downloaded 255 times
Re: Group header with rounded rectangle on multiple pages
Hello.
Sorry, maybe we don't fully understand your question.
What result do you need to get?
Could you send us a screenshot of what you need to get?
Thank you.
Sorry, maybe we don't fully understand your question.
What result do you need to get?
Could you send us a screenshot of what you need to get?
Thank you.
Re: Group header with rounded rectangle on multiple pages
Hi,
This is the issue...
My rounded rectangle doesn't close when page breaks, and then on the other page it covers the whole area of the header.
I understand that is because of start and end point of the rounded rectangle, but how can i close it at the end of the page even using groupbands and all the databans of my report
Thanks for the attention
This is the issue...
My rounded rectangle doesn't close when page breaks, and then on the other page it covers the whole area of the header.
I understand that is because of start and end point of the rounded rectangle, but how can i close it at the end of the page even using groupbands and all the databans of my report
Thanks for the attention
- Attachments
-
- rectangle1.png (100.9 KiB) Viewed 5025 times
-
- rectangle2.png (66.05 KiB) Viewed 5025 times
Re: Group header with rounded rectangle on multiple pages
Hello,
Please try to place the additional Footer component (with PrintOnAllPages=true) as you needed and resize rectangle on it.
Thank you.
Please try to place the additional Footer component (with PrintOnAllPages=true) as you needed and resize rectangle on it.
Thank you.
- Attachments
-
- sendStimul_GroupRoundedRectangle_modified.mrt
- (89.68 KiB) Downloaded 247 times
-
- Rectangle.PNG (97.88 KiB) Viewed 5014 times
Re: Group header with rounded rectangle on multiple pages
Hi,
Thanks for the answer!
It partially works, in your images and my tests the rounded rectangle keeps printing in footer space (reserved for image) as you can see in the attached image (green rectangle)...
then i remove the first groupbands and move your footer (with the end of the rounded rectangle) after the DataPrestac (that uses DataSaldoAnterior as master component) and solve that problem.
But, another one appears, this time when groupfooter print out, and a new groupheader starts, the rounded rectangle keep printing and union the groupfooter to the groupheader.
I need a gap between these two in this case, how can i do that?
I tryed this code:
To control where and when the endpointprimitive will be.... it works for the first case (set endpoint into the databand), but, after that, apparently the end is on the right place but the rounded rectangle does not grow to the footer.
Any sugestion?
Thanks for all the attention.
Thanks for the answer!
It partially works, in your images and my tests the rounded rectangle keeps printing in footer space (reserved for image) as you can see in the attached image (green rectangle)...
then i remove the first groupbands and move your footer (with the end of the rounded rectangle) after the DataPrestac (that uses DataSaldoAnterior as master component) and solve that problem.
But, another one appears, this time when groupfooter print out, and a new groupheader starts, the rounded rectangle keep printing and union the groupfooter to the groupheader.
I need a gap between these two in this case, how can i do that?
I tryed this code:
Code: Select all
protected void tamanhoForma()
{
if (SaldoAnterior.conta_principal != Prestac.conta_principal)
{
this.EndPointPrimitive1.Parent = this.DataSaldoAnterior;
this.DataSaldoAnterior.Components.Add(this.EndPointPrimitive1);
this.EndPointPrimitive1.ClientRectangle = new Stimulsoft.Base.Drawing.RectangleD(19.8, 0.7, 0, 0);
}
else
{
this.EndPointPrimitive1.Parent = this.esseFooter;
this.esseFooter.Components.Add(this.EndPointPrimitive1);
this.EndPointPrimitive1.ClientRectangle = new Stimulsoft.Base.Drawing.RectangleD(19.8, 0.05, 0, 0);
}
}
Any sugestion?
Thanks for all the attention.
- Attachments
-
- dsPrestacaoItambe120.xml
- my xml used in the tests
- (89.18 KiB) Downloaded 257 times
-
- teste.mrt
- my report for test
- (104.62 KiB) Downloaded 445 times
-
- Green rectangle is right - Red rectangle is the wrong case i speak up
- myCase.png (219.04 KiB) Viewed 5011 times
-
- Rectangle.PNG (39.22 KiB) Viewed 5011 times
Re: Group header with rounded rectangle on multiple pages
Hello,
We need some additional time for investigating the issue.
We will let you know about the result.
Thank you.
We need some additional time for investigating the issue.
We will let you know about the result.
Thank you.
Re: Group header with rounded rectangle on multiple pages
Hi,
Thanks a lot the attention
I think if you have the solution for this topic it may help...
> viewtopic.php?f=8&t=5227&hilit=move+databand&start=10
Waiting and thanks again.
Thanks a lot the attention
I think if you have the solution for this topic it may help...
> viewtopic.php?f=8&t=5227&hilit=move+databand&start=10
Waiting and thanks again.
Re: Group header with rounded rectangle on multiple pages
Hello,
Sorry for the delay with response.
We have found some problem in your code (tamanhoForma) in which you change end Points of the RectanglePrimitive.
We need some additional time for finding the solution for your task.
Thank you.
Sorry for the delay with response.
We have found some problem in your code (tamanhoForma) in which you change end Points of the RectanglePrimitive.
We need some additional time for finding the solution for your task.
Thank you.
Re: Group header with rounded rectangle on multiple pages
Hello,
Please try to modify your tamanhoForma() method:
Thank you.
Please try to modify your tamanhoForma() method:
Code: Select all
protected void tamanhoForma()
{
if (SaldoAnterior.conta_principal != Prestac.conta_principal)
{
this.DataSaldoAnterior.Components.Remove(this.EndPointPrimitive1);
this.esseFooter.Components.Remove(this.EndPointPrimitive1);
this.DataSaldoAnterior.Components.Add(this.EndPointPrimitive1);
this.EndPointPrimitive1.ClientRectangle = new Stimulsoft.Base.Drawing.RectangleD(19.8, 0.7, 0, 0);
}
else
{
this.DataSaldoAnterior.Components.Remove(this.EndPointPrimitive1);
this.esseFooter.Components.Remove(this.EndPointPrimitive1);
this.esseFooter.Components.Add(this.EndPointPrimitive1);
this.EndPointPrimitive1.ClientRectangle = new Stimulsoft.Base.Drawing.RectangleD(19.8, 0.05, 0, 0);
}
}
Re: Group header with rounded rectangle on multiple pages
Hi,
OMG, thank you!!
i've tried the remove property but just for one component at a time (esseFooter in first case, else DataSaldoAnterior)
Thanks a lot, it works! Great job.
OMG, thank you!!
i've tried the remove property but just for one component at a time (esseFooter in first case, else DataSaldoAnterior)
Thanks a lot, it works! Great job.