Problems with line breaks and table headers when exporting to PDF

Stimulsoft Reports.WEB discussion
Post Reply
ReportAndi
Posts: 5
Joined: Wed Aug 30, 2023 1:37 pm

Problems with line breaks and table headers when exporting to PDF

Post by ReportAndi »

Hello,

I have some issues when exporting my report to PDF using the Stimulsoft Reports.WEB for .NET Core tool.

These are my problems:

1) Line breaks
I am adding text to the report using the Text component while setting the Word Wrap property to true.
The line breaks of the XML data source stop working properly as soon as a new line has to be started triggered by the Word Wrap property.

2) Cross Table Headers
When using cross tables I activate the Word Wrap property of the column field and set a maximum width so line breaks have to be added in order to fit the text in the header box.
Unfortunately the table header boxes doesn't increase their height wile adding line breaks resulting the text is not shown correctly.

When exporting the PDF from the preview of the Stimulsoft designer these issues do not occur and the PDF looks like shown in the preview. (See attachment TestReport_Designer)
Only when creating the PDF using the Stimulsoft Reports.WEB for .NET Core tool I have these problems. (See attachment TestReport_WebApi)

I am also adding the XML file used as data source for the report. (See attachment testreportdata)

I hope you can help me.
If you need more information please let me know.

Kind regards,
ReportAndi
Attachments
testreportdata.xml
(4.15 KiB) Downloaded 119 times
TestReport_WebApi.pdf
(9.2 KiB) Downloaded 118 times
TestReport_Designer.pdf
(52.27 KiB) Downloaded 131 times
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Problems with line breaks and table headers when exporting to PDF

Post by Lech Kulikowski »

Hello,

Please send your report template for analysis.

Thank you.
ReportAndi
Posts: 5
Joined: Wed Aug 30, 2023 1:37 pm

Re: Problems with line breaks and table headers when exporting to PDF

Post by ReportAndi »

Hello,

thank you for your reply.

Here is the template.

Kind regards,
ReportAndi
Attachments
TestReport.mrt
(14.85 KiB) Downloaded 74 times
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Problems with line breaks and table headers when exporting to PDF

Post by Lech Kulikowski »

Hello,

We couldn't reproduce the issue. Please check the last release build.

Thank you.
Attachments
Screenshot 2023-09-05 234223.png
Screenshot 2023-09-05 234223.png (470.37 KiB) Viewed 7640 times
Post Reply