Can grow property cutting lines/data

Stimulsoft Reports.NET discussion
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Can grow property cutting lines/data

Post by HighAley »

Hello.

Sorry, but we can't reproduce your issue with the project you sent us.
Could you send us step-by-step instruction how to reproduce it?

Thank you.
henrique
Posts: 5
Joined: Thu Feb 07, 2013 3:13 pm

Re: Can grow property cutting lines/data

Post by henrique »

Hello,

Sorry, the project was sent previously missing data ...

To reproduce the problem, first select the letter and click 'Processar' and preview the report. See the report is correct, because it was designed in Letter ... Now select the option A4 and click 'Processar' and preview the report, see that the report is not correct, the data is truncated ...

I managed to explain the problem ...

Thank You
Attachments
Test_RepostStimul.zip
(17.19 MiB) Downloaded 164 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Can grow property cutting lines/data

Post by HighAley »

Hello.

You should add the StiResizeReportOptions.RebuildReport option in the StiResizeReportHelper.ResizeReport() method in the StimulReportProcess class.

Thank you.
henrique
Posts: 5
Joined: Thu Feb 07, 2013 3:13 pm

Re: Can grow property cutting lines/data

Post by henrique »

Hello,

I made the requested change ... but does not work as expected, see the generated pdf in A4 that is not in A4 size paper.

See the change in code ...

StiResizeReportHelper.ResizeReport(
_Report,
(Orientacao == 0 ? StiPageOrientation.Portrait : StiPageOrientation.Landscape),
newSize.Kind,
_Report.Pages[0].Margins,
(Orientacao == 0 ? _Report.Unit.ConvertFromHInches(newSize.Width) : _Report.Unit.ConvertFromHInches(newSize.Height)),
(Orientacao == 0 ? _Report.Unit.ConvertFromHInches(newSize.Height) : _Report.Unit.ConvertFromHInches(newSize.Width)),
StiResizeReportOptions.RescaleContent | StiResizeReportOptions.ProcessAllPages | StiResizeReportOptions.RebuildReport , 0);


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

Re: Can grow property cutting lines/data

Post by HighAley »

Hello.

At first the StiResizeReportHelper.ResizeReport() method rebuild the report template but you run it after rendering report.
Second issue is in the size of the page that you set. It's wrong. The right size is next:

Code: Select all

newSize = new PaperSize("A4", 827, 1169);
Thank you.
henrique
Posts: 5
Joined: Thu Feb 07, 2013 3:13 pm

Re: Can grow property cutting lines/data

Post by henrique »

Hello,

Let me get this straight

The method StiResizeReportHelper.ResizeReport () must be called before the
Render the report right?

Now the paper size is being changed, but some things were not right ...

See attached images, pdf report and report ViewerFx ...

They are different ... and the totals were displaced to the right ....

I am also sending the project to the requested change ....

For now, Thank you for your help ....
Attachments
report in viewerFx
report in viewerFx
viewerFx.jpg (279.52 KiB) Viewed 2054 times
report in pdf
report in pdf
pdf.jpg (268.03 KiB) Viewed 2054 times
Test_RepostStimul.zip
(17.19 MiB) Downloaded 155 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Can grow property cutting lines/data

Post by HighAley »

Hello.

We have reproduced the issue with crosstab. We need time to fix it.
About the header text due to several method of displaying test its' length can vary.

Thank you.
henrique
Posts: 5
Joined: Thu Feb 07, 2013 3:13 pm

Re: Can grow property cutting lines/data

Post by henrique »

Hello,

Thanks for the help.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Can grow property cutting lines/data

Post by HighAley »

Hello.

We will get in touch with any news.

Thank you.
henrique
Posts: 5
Joined: Thu Feb 07, 2013 3:13 pm

Re: Can grow property cutting lines/data

Post by henrique »

Hello,

I have another problem with the report is the same case
that the only problem is the subreport, which is not adjusted ...

I am sending a print report with the problem ....

See the picture that the subreport is not being adjusted as the other controls of the report

Thank you...
Attachments
SUBREPORT'S PROBLEM.jpg
SUBREPORT'S PROBLEM.jpg (186.27 KiB) Viewed 2037 times
Post Reply