Posts tagged "text"

If you are using LiveCycle Forms ES to render complex XFA forms as PDF and the forms contain subforms/tables which can split over multiple pages, you may notice some text-overlapping following a page break as follows:

Solution

You can use some processing instructions in the XDP template to control how the page break affects the field content. There are 2 processing instructions that can be used in this case to fix the text-overlapping issue, so that the contents no longer overlap the field boundaries:

<?layout allowDissonantSplits 1?> <?layout allowJaggedRowSplits 1?>

You should add these PI’s to your XDP templates only if you are encountering the issue described above. You can test these PI’s in LiveCycle Designer ES by using the PDF Preview tab.

By adding these PI’s the text-overlapping is resolved and appears as follows on the rendered PDF form:

If you have been using the Typewriter tool in previous versions of Acrobat/Reader you will notice it is no longer available under the Tools menu in Acrobat/Reader X.

The Typewriter tool has been renamed to “Add or Edit Text Box” and relocated in Acrobat X following extensive research by our product teams. A lot of people were having issues trying to find these tools in previous versions. Particularly with the younger generation, some did not even know what a typewriter was.

To locate/use the Typewriter tool in Acrobat X:

1. open a PDF

2. click on the “Tools” menu on the right-hand side

3. expand “Content”

4. click “Add or Edit Text Box”

A new feature in Acrobat/Reader X allows you to add commonly used tools to the Quick Tools bar. If you right-click on the “Add or Edit Text Box” button, and select “Add to Quick Tools”, then you will see the icon appear on the toolbar as follows:

Note: If you are using Adobe Reader, the “Add or Edit Text Box” tool is not available until you enable the PDF with extended rights. You should check this post to ensure the PDF file has the correct rights enabled for editing. Once the PDF is setup correctly, the tool will show up directly on the toolbar, or under the Extended menu.

Acrobat XI:

If you are using Acrobat XI then you can watch the following video to see how to enable the typewriter tool:

After using these flags in the XDP template and converting to Postscript again the table will appear correctly as follows:

Additional information

The calculation for the page-break placement pushes the data from the first subform also onto the second page, on top of the data for the second subform. When the data from data_field1 would normally fit on the first page, but the data from data_field2 causes a page break, then the data from data_field1 is pushed to the next page and rendered on top of data_field2.