XFA has some very useful features and we are aiming to make the most of them in our converter. So I would like to highlight two of them and show you why they are potentially useful…..
1. Adding rows to tables.
XFA has flexible support to add additional rows into the data. In this case you can see a table and some rows).
XFA also defines a page break so that content show flow onto the next page as the page expands. Data is retained and copied as rows are added and is available in the DOM on client, making the operation very fast and also making it easy to manipulate the data further.
2. Auto-expanding text boxes
Typing data into fields which is longer than the initial box can be problematic. So the XFA solution is to allow the field to extend so that all the data is visible. This is easy to implement in HTML5 and works very well. It also makes life much easier on the IPad.
XFA has lots of features which convert really well to HTML5 and we make can make use of in HTML5 conversion. In later articles, we will document other XFA features and show how these can transfer to HTML forms.
This post is part of our “XFA Articles Index” in these articles, we aim to help you understand XFA.
IDRsolutions develop a Java PDF library, a PDF forms to HTML5 converter, a PDF to HTML5 or SVG converter and a Java Image Library that doubles as an ImageIO replacement. On the blog our team post about anything interesting they learn about.