How to render Rich Text/Html content in PDF through .XDP form

Avatar

Avatar

VKG7

Avatar

VKG7

VKG7

05-08-2009

Hi all,

I have designed an Invoice.XDP form and connected to a XML/XSD file for data.

Now I dragged data fields from DataView to Invoice.XDP form to create required Text Fields.

When I generated PDF from LiveCycle OutPut ES service it renders all fields with data.

In the Invoice.XDP form some of the fields are required display Richtext /Html content, for those fields I changed object property to "Rich Text" from "Plain Text Only". Even after doing this the formatted text (Richtext /Html) is not displayed and it just displays only raw HTML text tags.

I have attached the sample "Invoice_RTF.pdf" generated for reference here.

Please advise me how to render the Richtext /Html content.

Thanks in Advance

VKG

View Entire Topic

Avatar

Avatar

parth_pandya

Avatar

parth_pandya

parth_pandya

05-08-2009

Hi VKG,

if your data is coming from a database query or some other backend then you might have to do little bit more.

I've written a blog entry to explain how its done. Here it is http://blog.pandyaparth.com/?p=65 or http://livecyclekarma.wordpress.com/2009/05/20/richtext-tricks-for-textfield-in-designer/

hope this helps.

regards,

Parth Pandya