Free Support Forum - aspose.com

Usage of IsHtmlTagSupported

Hi,

I need to set HTML content to a list of segments. I tried using IsHtmlTagSupported=true on Text element. I am having an issue.


repsmalex
replastyearexam
repmeno
repbse
repimmunizations

in java code.
((Segment)mainSection.getObjectByID("repsmalex")).setContent("you do not smoke, ");
((Segment)mainSection.getObjectByID("replastyearexam")).setContent("ttttt

  • test
  • test2
");
((Segment)mainSection.getObjectByID("repmeno")).setContent("repmeno");
((Segment)mainSection.getObjectByID("repbse")).setContent("rebbase");
((Segment)mainSection.getObjectByID("repimmunizations")).setContent("repimmunizations");

Generated pdf has only first segment data. If i remove IsHtmlTagSupported from text, contents of all segments is displayed as plain text.

Thanks

Mamatha

Hello Mamatha,


Thanks for using our products.

I
have tested the scenario and I am able to reproduce the same problem. For the
sake of correction, I have logged this problem in our issue tracking system
. We
will investigate this issue in details and will keep you updated on the status
of a correction.

We
apologize for your inconvenience.

Hello Mamatha,


Please note that the issue is logged with an ID PDFJAVA-33146 in our issue tracking system. Once this problem is resolved, we would be more than happy to update you within this forum thread. Your patience and comprehension is greatly appreciated in this regard.

The issues you have found earlier (filed as PDFJAVA-33146) have been fixed in Aspose.Pdf for Java 3.3.0.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.

Hi,

Thanks for fixing. It's working in 3.3 version.

Mamatha