if (object_node.isIndirectReference()) {
loadXfa(factory, form_node, (PdfObjectTreeNode)object_node.getFirstChild());
}
else if (object_node.isArray()) {
Enumeration<PdfObjectTreeNode> children = object_node.children();
PdfObjectTreeNode key;
PdfObjectTreeNode value;
while (children.hasMoreElements()) {
key = children.nextElement();
value = children.nextElement();
if (value.isIndirectReference()) {
factory.expandNode(value);
value = (PdfObjectTreeNode)value.getFirstChild();
}
form_node.addPacket(key.getPdfObject().toString(), value);
}
}
else if (object_node.isStream()) {