Hi,
Do you know how I can display an HTML table in a PDF Form field (Text Field, or any other type of field)?
When I try to display HTML, the tags are treated as part of the string and not interpreted as HTML tags.
Thanks.
Hi,
Do you know how I can display an HTML table in a PDF Form field (Text Field, or any other type of field)?
When I try to display HTML, the tags are treated as part of the string and not interpreted as HTML tags.
Thanks.
Hi,
Thank you for considering Aspose.
I am afraid this feature is not supported. I will discuss with the developers to see if we can support this in short time.
You want to render HTML in existing PDF Form but not create the pdf from scratch, right?
Hi RPK,
Thanks for your considering Aspose.Pdf.Kit for C#!
We discussed about your requirement, and regarded it impossible.
PDF Form field is a interactive element for gathering information interactively from the user. It can only hold static data such as text in text field, check item in check box, list item in list box. Absolutely, it can not recognize, interpret, or display HTML tags. And we had no plan for this.
Best regards.
Thanks for your response.
Is there any other way that I can display tabular data in a PDF form? I basically want to access some data from the database and display it in a row-column format in a pre-defined place on the form.
Hi RPK,
PDF form fields can be used to save user information. You can design a PDF file with several rows of text fields, each text field for one column in a row of the Table.
However, there is one important question. After the PDF file is designed, the number of rows is fixed. But the the number of records retrieving from database cannot be known in advance. In Adobe PDF 6.0 and below, you can add fields dynamically with the function FormEditor.AddField(). But in Adobe 7 & 8 (XFA Form), this feature is not supported yet.
We are working on the upgrading of FormEditor.AddField() to XFA Form. But it needs some time, maybe one or two month. As for now, a low version PDF file will work.
Hi,
Thanks again for your reply.
That is exactly my problem. I do not know how many rows will be returned from the database.
Is it possible to have a subform in the PDF Form and stream the HTML table to that? Eg.
form1[0].#subform[0].#subform1[0]
Thanks.
Hi, RPK
Till now Aspose.Pdf.Kit does not support the function you described. Maybe we will consider your requirement later. Best regards.