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

ParameterMeaning
ADocumentThe native document owning the binding and data packets
AFieldNodeThe native binding owner containing its bind declaration or implicit name
ADataNodeThe current native data occurrence for record and compatibility relative lookup
MatchesA required caller-owned list replaced with the ordered result nodes on success; the document retains ownership of those nodes
ABindingHandledReports an explicitly handled binding, including a handled binding with no matches
RemainingOperationsThe shared operation allowance; zero is exhausted and negative disables this caller allowance
DeadlineAn absolute deadline in the deadline callback's clock domain, or negative to disable elapsed-time checks
DeadlineCheckAn optional synchronous deadline check; nil uses the native monotonic millisecond clock

Behaviour

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

Related APIs