List of XFA Object Attributes Using Javascript in a PDF File

I am trying to create a PDF document with several text fields that can grow in height to some maximum value. Due to the limitations of the project, I am using Adobe Designer 7, which is happy to allow Javascript. However, objects in XFA are slightly different from the HTML DOM or earlier PDF DOMs.

So, I know for sure that my TextField1 field has certain attributes, such as "h", which controls the height.

The code below lists only the TextField1 methods and not the attributes:

----- form1.Page1.TextField1::exit - (JavaScript, client) ----- for(var i in xfa.form.form1.Page1.TextField1) { try { console.println(i); } catch(e) {} } 

Why? (And how can I fix it so that it displays attributes?)

Something very similar to the code above works, but I lost a fragment due to negligence and a very short rollback.

+4
source share
1 answer

I have no answer to the question of how to list attributes, but you will find a complete list of supported ones here:

http://wwwimages.adobe.com/content/dam/Adobe/en/devnet/livecycle/pdfs/Adobe_XML_Form_Object_Model_Reference.pdf

+3
source

All Articles