HPDFXFAResolveBoundDataNodes
Unit: HPDFXFA
Declaration
procedure HPDFXFAResolveBoundDataNodes(ADocument: TXFADocument;
AFieldNode, ADataNode: TXFANode; Matches: TList<TXFANode>;
out ABindingHandled: Boolean; var RemainingOperations: Integer;
Deadline: Int64; DeadlineCheck: TXFABindingDeadlineCheck = nil);
Parameters
| Parameter | Meaning |
|---|---|
| ADocument | The native document owning the binding and data packets |
| AFieldNode | The native binding owner containing its bind declaration or implicit name |
| ADataNode | The current native data occurrence for record and compatibility relative lookup |
| Matches | A required caller-owned list replaced with the ordered result nodes on success; the document retains ownership of those nodes |
| ABindingHandled | Reports an explicitly handled binding, including a handled binding with no matches |
| RemainingOperations | The shared operation allowance; zero is exhausted and negative disables this caller allowance |
| Deadline | An absolute deadline in the deadline callback's clock domain, or negative to disable elapsed-time checks |
| DeadlineCheck | An optional synchronous deadline check; nil uses the native monotonic millisecond clock |
Behavior
The plural resolver collects all selected nodes in native selector order rather than returning only the first match; see Native XFA Bind SOM for path syntax
Resolution uses temporary results and replaces the contents of Matches only after success; a lookup exception does not publish a new result list, although the shared allowance may already be consumed
The procedure performs lookup without creating implicit Data DOM nodes and requires a non-nil Matches list
Predicate expressions use ADocument.BindingPredicate when candidate evaluation is needed; the runtime evaluator checks JavaScript permission for .(...) separately from FormCalc .[...]
A standalone call does not establish a persistent accepted Form binding and may evaluate the predicate again on a later call
The resolver does not create an enclosing mutation transaction for application callbacks; callers that allow callback mutations must provide their own transaction and rollback policy