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
While waiting for your file to become free - how is the HTML getting into the data file. You may want to open your form and enter the richtext field. Then hit Ctrl-E and a menu will come up and allow you to modify your text in th efield with all of th erich text options that are supported. Then export your data and compare the richTextField that was created by the product to the one that you are using. You will more than likely need to add this line to the data file:
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-tex tfield-in-designer/
hope this helps.
I usually do as Paul described.
Here is an example:
<body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/" xfa:APIVersion="Acroform:2.6.7120.0" xfa:spec="2.1"><p style="margin-top:0pt;margin-bottom:0pt;font-family:Arial;font-size:8 pt;text-decoration:none">Test Info</p></body>
Thanks for the help and I am extremely sorry for the late reply as I was carried away by the other project priorities here.
My Goal: I am building a proof of concept .Net App to find whether we can replace the exisiting Crystal Reports Templates with Adobe LiveCycle Output Service based one to generates the final invoice PDF from XML data. The idea is to bind XML data to with XDP form and render the final Invoice PDF(able to render the raw data other than Richtext). I don't know whether all features Crystal Reports Templates are possible with LC Output but right now I am struggling to render Richtext through LC OutPut Service and proceed further.
My web application allows this Richtext/Formatted text submission and to store the same in DB then its rendered in PDF through Crystal Report Template renderring and now that I am trying the same with Adobe LC Output Service.
Europe, Middle East and Africa