Broken export to PDF

Stimulsoft Ultimate discussion
Post Reply
Karel.Stastny
Posts: 3
Joined: Tue Oct 09, 2012 12:20 pm

Broken export to PDF

Post by Karel.Stastny »

Hello,

We have a problem with export to PDF in our application. We use Silverlight version 5. When we generate report, the preview is generated correctly (see attachment report.png) but when we try exporting the same report to PDF it is broken. There are some lines which shouldn't be displayed and the word wrap does not work as it should.

The export and screenshot are from the newest version of StimulSoft Reports (Ultimate 2012.2), I tried trial to generate the report to see if this issue was already fixed.

Can you please help us resolving this issue?

Thanks a lot,

Karel

Correct report preview:
Report preview
Report preview
report.png (34.17 KiB) Viewed 2828 times
Incorrect PDF:
report.pdf
Exported report
(9.41 KiB) Downloaded 211 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Broken export to PDF

Post by HighAley »

Hello.

Please, send us your report template with sample data which reproduces the issue for analysis.

Thank you.
Karel.Stastny
Posts: 3
Joined: Tue Oct 09, 2012 12:20 pm

Re: Broken export to PDF

Post by Karel.Stastny »

Hello,

I have uploaded the solution where you can see the bug to http://www.uloz.to/xcMLeMG/pdfexportbug-zip. The password to download the file is "stimulsoft" (without quotes).

To reproduce the bug you have to click the button Print to PDF and print the file. It will generate the PDF with broken layout.

Thank you for your help,

regards,

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

Re: Broken export to PDF

Post by HighAley »

Hello.
Karel.Stastny wrote:There are some lines which shouldn't be displayed
Please, set the LinesOfUnderline property of the TableRows_Cell11 ... TableRows_Cell20 components to None.
Karel.Stastny wrote:and the word wrap does not work as it should.
Unfortunately, due technical restrictions of the Silverlight it's impossible to get full information about the font to make right word wrap.
There is a workaround but it will work dozens of times slower. This method isn't still implemented.

Thank you.
Karel.Stastny
Posts: 3
Joined: Tue Oct 09, 2012 12:20 pm

Re: Broken export to PDF

Post by Karel.Stastny »

Thanks a lot, that did the trick. I couldn't help the property in the designer though, I had to change it directly in the .mrt file.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Broken export to PDF

Post by HighAley »

Hello.

We are always glad to help you.
Let us know if you need any additional help.

Thank you.
Post Reply