Page 1 of 2

Html bold tags and pdf export

Posted: Wed Sep 23, 2020 2:21 pm
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.

Re: Html bold tags and pdf export

Posted: Wed Sep 23, 2020 6:23 pm
by Lech Kulikowski
Hello,

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

Thank you.

Re: Html bold tags and pdf export

Posted: Thu Sep 24, 2020 8:50 am
by Rajeswari
Hello,

Could you please tell me the solution to this problem.

Re: Html bold tags and pdf export

Posted: Thu Sep 24, 2020 9:49 am
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.

Re: Html bold tags and pdf export

Posted: Thu Sep 24, 2020 2:17 pm
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!

Re: Html bold tags and pdf export

Posted: Sat Sep 26, 2020 8:23 am
by Lech Kulikowski
Hello,

Please send us a sample report for anlaysis.

Thank you.

Re: Html bold tags and pdf export

Posted: Mon Sep 28, 2020 6:03 am
by Rajeswari
Hello,

Please find the attached sample report.

Re: Html bold tags and pdf export

Posted: Wed Sep 30, 2020 9:28 pm
by Lech Kulikowski
Hello,

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

Thank you.

Re: Html bold tags and pdf export

Posted: Fri Oct 02, 2020 1:11 pm
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!

Re: Html bold tags and pdf export

Posted: Mon Oct 05, 2020 1:28 pm
by Lech Kulikowski
Hello,

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

Thank you.