Html bold tags and pdf export

Stimulsoft Reports.JS discussion
Rajeswari
Posts: 7
Joined: Wed Sep 23, 2020 1:45 pm

Html bold tags and pdf export

Post by Rajeswari »

When I use html bold tags <b></b> in a text component (with Allow HTML Tags checked), it appears fine on the designer's preview but when I export (save) it to pdf format the bold part of the text appears as normal text (non-bold) in the mrt file. The only way I can make bold appear on the pdf is when I use the bold button in the text properties panel, that sets bold for the entire text component.
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Html bold tags and pdf export

Post by Lech Kulikowski »

Hello,

Unfortunately, at the current moment, HTML tags are not supported in exports in the JS version.

Thank you.
Rajeswari
Posts: 7
Joined: Wed Sep 23, 2020 1:45 pm

Re: Html bold tags and pdf export

Post by Rajeswari »

Hello,

Could you please tell me the solution to this problem.
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Html bold tags and pdf export

Post by Lech Kulikowski »

Hello,

Do not use HTML tags for exporting in the JS version.
Unfortunately, there are no other solutions at the current moment, in the JS.

Thank you.
Rajeswari
Posts: 7
Joined: Wed Sep 23, 2020 1:45 pm

Re: Html bold tags and pdf export

Post by Rajeswari »

Hello,

Applies To: StimulsoftJs reports

Problem:
Issues with showing StimulsoftJs reports using Text component with certain words in bold text within paragraphs.

Details:
1. Following works great in Stimulsoft designer.
1. Use Text component with certain words in bold within a paragraph.
2. In designer these words were made bold using the bold button in the toolbar for Text component.
3. The designer's preview works great (so words show in bold correctly).
2. When the same .mrt file is shown as a report from our angular application (report shown in new browser window) the report does not show the same words in bold.

Expected Behaviour:
Reports from application should display specific text in bold - same as the preview shown in Stimulsoft Designer.

Attachments: Screenshots attached.

Appreciate any help!
Attachments
Differentiate the Designer and application reports
Differentiate the Designer and application reports
StimulsoftJs reports.png (268.48 KiB) Viewed 2990 times
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Html bold tags and pdf export

Post by Lech Kulikowski »

Hello,

Please send us a sample report for anlaysis.

Thank you.
Rajeswari
Posts: 7
Joined: Wed Sep 23, 2020 1:45 pm

Re: Html bold tags and pdf export

Post by Rajeswari »

Hello,

Please find the attached sample report.
Attachments
sample-report.mrt
sample report
(4.74 KiB) Downloaded 128 times
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Html bold tags and pdf export

Post by Lech Kulikowski »

Hello,

We couldn't reproduce the issue on our samples.
Please send us a sample project for analysis.

Thank you.
Attachments
Screenshot 2020-09-30 232739.jpg
Screenshot 2020-09-30 232739.jpg (247.79 KiB) Viewed 2952 times
Rajeswari
Posts: 7
Joined: Wed Sep 23, 2020 1:45 pm

Re: Html bold tags and pdf export

Post by Rajeswari »

Hello,

Applies To: StimulsoftJs reports

Problem:
Issues with PDF StimulsoftJs reports using Text component with certain words in bold text within paragraphs.

Details:
Following works great in Stimulsoft designer.
1. Use Text component with certain words in bold within a paragraph.
2. In designer these words were made bold using the bold button in the toolbar for Text component.
3. When the same .mrt file is shown as a report from our angular application (report shown in new browser window) the report show the same words in bold. After generating
the PDF in that text does not show words in bold.
4. We exported pdf file while running the project for analysis.
5. Run the command (ng serve) for running the project. Please find the attached project

Expected Behaviour:
Reports from application should display specific text in bold in the PDF file.

Attachments: Project attached.

Appreciate any help!
Attachments
Stimulsoft-Angular.rar
Sample Project
(4.39 MiB) Downloaded 115 times
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Html bold tags and pdf export

Post by Lech Kulikowski »

Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.
Post Reply