23-06-2016 10:42 AM
Hi,
I have Java code like this in Report:
Text nodesTitle=new Text("<br><h2 style=\"margin-left:380px;\">Assessment nodes</h2>", false);
nodesTitle.isHtml(true);
reportContent.addText(nodesTitle);
and when I try to generate the PDF, it seems doesn't recognize the html code.
and the output is plain html code:
<br><h2 style=\"margin-left:380px;\">Assessment nodes</h2>
you can also see in the attachments.
Mega Version: Hopex V1R3 CP12
Any suggestion or ideas?
Thanks
18-07-2016 09:01 PM
You need to create your own Render. Check out the article Writing Java Report Renderers (Advanced) in the technicial articles.