Barath, Barathvaj wrote > For Some Fillable PDF, we are not able to extract AcroFields and it count > appears to be Zero. Please find the attached Fillable PDF named > "ACORD_137CA_2007_01.unlocked" for your reference and also attached other > similar PDF named "ACORD_137CA_2007_01_locked" in which we able to extract > data.
ACORD_137CA_2007_01.unlocked.pdf does not properly declare its form fields. Its catalog looks like this: 851 0 obj <</Type/Catalog/Pages 844 0 R>> endobj The PDF specification ISO 32000-1 requires in section 12.7.2 Interactive Form Dictionary: The contents and properties of a document’s interactive form shall be defined by an interactive form dictionary that shall be referenced from the AcroForm entry in the document catalogue As ACORD_137CA_2007_01.unlocked.pdf does not have an AcroForm entry in its catalog, any software processing it may assume that it does not have any form fields. ACORD_137CA_2007_01_locked.pdf, on the other hand, has this catalog: 1 0 obj<</Pages 2 0 R/Type/Catalog/Names 1177 0 R/AcroForm<</Fields[13 0 R]/DR<</Font<</Helv 7 0 R/ZaDb 21 0 R/ArialMT 10 0 R>>>>/DA(~uÖi±%8Eê6Ó¶:)/XFA[(\)Y€gõe)1179 0 R(2RÜvö)1181 0 R(%X Êsða})1183 0 R(y'ézò`jxøo)1185 0 R(5\\Ûlôak)1187 0 R(~EÊ%éqh)1189 0 R]>>/Metadata 1191 0 R>> endobj As you can see, it properly declares its form. Regards, Michael -- View this message in context: http://itext-general.2136553.n4.nabble.com/Not-able-to-Extract-the-AcroFields-FRom-Fillable-PDF-tp4659877p4659879.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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