Page 2 of 3
Re: Can grow property cutting lines/data
Posted: Thu Feb 07, 2013 11:27 am
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.
Re: Can grow property cutting lines/data
Posted: Thu Feb 07, 2013 7:29 pm
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
Re: Can grow property cutting lines/data
Posted: Fri Feb 08, 2013 1:12 pm
by HighAley
Hello.
You should add the StiResizeReportOptions.RebuildReport option in the StiResizeReportHelper.ResizeReport() method in the StimulReportProcess class.
Thank you.
Re: Can grow property cutting lines/data
Posted: Thu Feb 14, 2013 3:59 pm
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,
Re: Can grow property cutting lines/data
Posted: Fri Feb 15, 2013 9:47 am
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.
Re: Can grow property cutting lines/data
Posted: Fri Feb 15, 2013 11:23 am
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 ....
Re: Can grow property cutting lines/data
Posted: Fri Feb 15, 2013 2:03 pm
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.
Re: Can grow property cutting lines/data
Posted: Fri Feb 15, 2013 2:22 pm
by henrique
Hello,
Thanks for the help.
Re: Can grow property cutting lines/data
Posted: Mon Feb 18, 2013 11:37 am
by HighAley
Hello.
We will get in touch with any news.
Thank you.
Re: Can grow property cutting lines/data
Posted: Mon Feb 18, 2013 12:17 pm
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...