}
}
protected List getFields(final Predicate filter)
{
final PDAcroForm acroForm = getPDFDocument().getDocumentCatalog().getAcroForm();
final List response = new ArrayList();
try
{
if (acroForm != null) {
final List fields = acroForm.getFields();
for (final Iterator iter = fields.iterator(); iter.hasNext();) {
final PDField field = (PDField) iter.next();
final List kids = field.getKids();
if (kids != null && !kids.isEmpty())
{