Op 1/02/2011 12:21, John Renfrew schreef:

I have an Acro form from which I have successfully extracted the field names using the book examples, except they are being returned NOT in the order they are on the page nor the tab order. Nor is it in reverse order as the example in the book..

Is there something I need to achieve this??

I'm not 100% sure, but I think that fields don't really have a tab order.
I think we're talking about the tab order of the widget annotations representing those fields.

The tab order of annotations is defined with the Tabs entry.
Possible values are /R, /C or /S.
/R stands for Row order: Annotations are visited in rows running horizontally across the page. /C stands for Column order: Annotations are visited in columns running vertically up and down the page. /S stands for Structure order: Annotations are visited in the order in which they appear in the structure tree.

For /R and /C, you need to sort the annotations based on their position.
For /S, you need to examine the StructTreeRoot (if present).

That is: if I'm correct about the tab order of fields being the same as the tab order of their widgets.

You say "Any XML returned comes in this order too."
I can see that your form is created with Adobe LiveCycle Designer.
If you extract the XFA stream, you should have an XML with a datasets node.
This node should have a data and datadescription node.
The content in these nodes usually obeys the schema that was used to create the form,
and it should correspond with what you see in the screenshot.
However: this doesn't mean that there's a correlation with the tab order.
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to