Pushing RTF text to PDF Form Field with formatting

Hi everyone,

I’m using a method to send form data from a dataprovider set as RTF Area to a PDF form field. Problem is, the formatting is not following, and also I get funky code at the beginning and end of the text (see screen capture below).

getAsPlainText on the form element would defeat the purpose here, since I would like to keep the bold, italic and underlined characters in the PDF field. Also tried with HTML Area, but the HTML tags are sent to the form field, which is no good.

Any ideas on how to get around this limitation?

[attachment=0]Snapshot 2009-09-03 16-54-03.png[/attachment]

[attachment=1]Snapshot 2009-09-03 16-50-55.png[/attachment]

Thanks in advance!

Ben

Problem is itext does not support rtf conversion in pdf. What do you mean with html tags statement?

When I change the RTF Area to an HTML Area an push to dat to the PDF Form, here is what I get:
[attachment=1]Snapshot 2009-09-04 06-12-03.png[/attachment]
[attachment=0]Snapshot 2009-09-04 06-15-06.png[/attachment]
So both ways to obtain a formatted field in Servoy do not transfer over well to PDF forms… :(

Thanks for looking into this Laurian,

Ben

There seems to be some support of html in itext so if you need this feature you can open a case and we’ll have a closer look.

Done - Case 239533.

Thanks Laurian,

Ben