Pretty sure it doesn't... Nope. Item.getTabOrder() just returns that item's index in the annotation array.
Prior to the /Tabs key, tab and annot order were the same thing. (And I STILL wish there were an explicit way to set the tab order to annotation order.) We haven't since updated that code to take /Tabs into account. Doing so would be Labor Intesive. We'd have to sort fields by column and row, AND walk the structure tree to determine tab order. That's not exactly a priority. Are you only using getTabOrder() to determine that "/Tabs/R" isn't working? That test will always fail. The only way it's interpretted is when you view your PDF in Reader and hit tab, which seems to be working just fine. --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer<Cardiff> DisCard = null; > -----Original Message----- > From: Umer Farooq [mailto:[email protected]] > Sent: Thursday, March 10, 2011 1:00 PM > Cc: Post all your questions about iText here > Subject: Re: [iText-questions] Itext Pages /Tabs key > > Are you saying that AcroFields.Item getTabOrder() does not > take into account the Tab Key? > > Regards, > Farooq > > On 3/10/2011 3:40 PM, Leonard Rosenthol wrote: > > What do you think that the tab order key does? It only > impacts what happens when the user types a tab key. It has > NOTHING to do with programmatic or other processing of the fields. > > > > Leonard > > > > -----Original Message----- > > From: Umer Farooq [mailto:[email protected]] > > Sent: Thursday, March 10, 2011 12:17 PM > > To: Post all your questions about iText here > > Subject: Re: [iText-questions] Itext Pages /Tabs key > > > > Using Acrobat 9. > > > > PDF attached... Initital fields created using Acrobat 8.2. > I reset the /Tabs to /R on each page in itext... > > Opening the document back in Acrobat shows tab order by > row... but it is still on Annots. > > > > Also, I'm taking that once I set the tab order to row and > if I read the fields back in itext the fields be in the row > order... but that is not the case either. > > > > Regards, > > Farooq > > > > > > On 3/10/2011 1:27 PM, Mark Storer wrote: > >> That sounds like a PDF viewer bug. What version of > Acrobat are you > >> using to tab through the fields? > >> > >> And can we see the PDF? > >> > >> NOTE: /Tabs isn't inheritted, so putting it in a parent > Pages object > >> won't work. You're using "getPageN()" would lead me to believe > >> that's not the case, but what the heck. We're shooting in > the dark > >> here until we see the PDF. > >> > >> --Mark Storer > >> Senior Software Engineer > >> Cardiff.com > >> > >> import legalese.Disclaimer; > >> Disclaimer<Cardiff> DisCard = null; > >> > >> > >> > >>> -----Original Message----- > >>> From: umer [mailto:[email protected]] > >>> Sent: Wednesday, March 09, 2011 6:29 PM > >>> To: [email protected] > >>> Subject: [iText-questions] Itext Pages /Tabs key > >>> > >>> Hi, > >>> > >>> I have defined the /Tabs key on the page to be /R using iText > >>> (pdfReader, getPageN, put, then write using pdfStamper)... > >>> and when I open the PDF in acrobat it shows in the tab order as > >>> "order by row" however fields are still ordered by how they were > >>> added. Am I missing something to make this work. > >>> > >>> > >>> Regards, > >>> Farooq > >>> > >>> -- > >>> View this message in context: > >>> http://itext-general.2136553.n4.nabble.com/Itext-Pages-Tabs-ke > >> y-tp3345051p3345051.html > >>> Sent from the iText - General mailing list archive at Nabble.com. > >>> > >>> -------------------------------------------------------------- > >>> ---------------- > >>> Colocation vs. Managed Hosting > >>> A question and answer guide to determining the best fit for your > >>> organization - today and in the future. > >>> http://p.sf.net/sfu/internap-sfd2d > >>> _______________________________________________ > >>> iText-questions mailing list > >>> [email protected] > >>> https://lists.sourceforge.net/lists/listinfo/itext-questions > >>> > >>> iText(R) is a registered trademark of 1T3XT BVBA. > >>> 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 > >>> > >>> > >> > --------------------------------------------------------------------- > >> - > >> -------- > >> Colocation vs. Managed Hosting > >> A question and answer guide to determining the best fit for your > >> organization - today and in the future. > >> http://p.sf.net/sfu/internap-sfd2d > >> _______________________________________________ > >> iText-questions mailing list > >> [email protected] > >> https://lists.sourceforge.net/lists/listinfo/itext-questions > >> > >> iText(R) is a registered trademark of 1T3XT BVBA. > >> 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 > > > -------------------------------------------------------------- > ---------------- > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit for > your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > > iText(R) is a registered trademark of 1T3XT BVBA. > 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 > > ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. 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
