HTML rendering- Facing problem while writing richtext(ie.-html code) to pdf rich text box field

Hi..

I am facing problem while writing rich text to RichTextBoxField in case of ordered lists i.e.,

  1. one
  2. two
and in case of

,
tags. Rest of the tags are working fine.

Please check the attachment for output pdf file.

Here is my code..

Document pdfDocument =

new Document("inputfile.pdf");

com.aspose.pdf.Form form = pdfDocument.getForm();

com.aspose.pdf.Field[] fields = form.getFields_Rename_Namesake();

RichTextBoxField dfds=(RichTextBoxField) fields[0];

dfds.setRValue(

"

  1. one
  2. two
TEST");

System.

out.println(fields[0].getFullName()+" has been set");

pdfDocument.save(

"outputfile.pdf");

Please help me..

Hi Pradeep,

We are sorry for the inconvenience faced. While testing the scenario with Aspose.Pdf for Java 4.4.0, we have managed to reproduce the reported issues on our side and logged these issues as following in our bug tracking system for further investigation and resolution. We have also linked your request to these issues and you will be notified via this thread as soon as these are resolved.


PDFNEWJAVA-33864: Ordered list rendering issue.

PDFNEWJAVA-33865: Line break tag rendering issue.

PDFNEWJAVA-33866: Paragraph tag rendering issue.

Please feel free to contact us for any further assistance.

Best Regards,

Hello Ahmad Sana,

Thanks for your reply. This is the additional issue with span background color.

Hello World!

Hello World!

Hope the issues may fix asap.

Thanks & Regards

K Pradeep Kumar

Hi Pradeep,


Thanks for your feedback. We have managed to notice the background color issue in Span tag as well and logged it as PDFNEWJAVA-33889 in our issue tracking system for further investigation and resolution. We will notify you via this forum thread as soon as it is resolved.

We are sorry for the inconvenience caused.

Best Regards,

The issues you have found earlier (filed as PDFNEWJAVA-33865) have been fixed in Aspose.Pdf for Java 10.6.0 .


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.