TXFAEventActionKind
Unit: HPDFXFAEventScript
Declaration
TXFAEventActionKind= (xeakPresence, xeakAddInstance,
xeakRemoveInstance, xeakRawValue, xeakAccess,
xeakInsertInstance, xeakMoveInstance, xeakBindIdentity,
xeakScriptResult, xeakHostState, xeakFocus, xeakResetEdit,
xeakBindDataIdentity, xeakPropertyAttribute, xeakCreateProperty,
xeakLoadXML, xeakLoadDataXML);
Behaviour
Selects the mutation that TXFAEventAction represents
The general event host adds raw-value and access writes, indexed insertion and instance moves to the original literal presence/add/remove operations
Existing enumeration values keep their original ordinal positions; the additional values are appended
xeakBindIdentity links new virtual nodes to published stable identities; xeakScriptResult carries an explicit or implicit calculate/validate completion value
xeakHostState carries a page, title or calculation/validation state change; xeakFocus requests focus or clearing, and xeakResetEdit clears a reset field's stale edit state
xeakBindDataIdentity binds a new virtual Data DOM node to its published native data identity; raw-value actions targeting data bindings write the native data value
xeakPropertyAttribute writes a native form property attribute; Value contains the name, a NUL separator and the UTF-8 value, and Target selects an xebdProperty binding
xeakCreateProperty has ordinal 14 and materialises the validated PropertyPath beneath the target form occurrence; its Value is empty, and subsequent attribute or value actions address the same native property path
xeakLoadXML has ordinal 15 and publishes validated exData XML content; Value is the complete UTF-8 exData fragment after append or overwrite, and Target with optional PropertyPath identifies its native property occurrence
The XML action replaces the target content and records an explicit import state, so empty content survives native reload and retains its effective rich draw behaviour
xeakLoadDataXML has ordinal 16 and imports source XML into a native datasets, dataGroup or dataValue target; Value is the incoming UTF-8 document, Argument is the ignoreRoot flag and Argument2 is the overwrite flag
Appending retains existing child identities, whilst overwrite retains the target identity and creates fresh identities for imported children; subsequent actions can address those new children through DataPath
xeakChoiceOperation has ordinal 17 and publishes a validated choice operation XML payload in Value; add, delete, clear and replace update the actual per-instance form items, whilst state validates exact selected indices against the synchronised raw value
The operation participates in the native event transaction; choice item scripting documents the methods that produce these actions and the saved selection extension
Related APIs
Interactive Dynamic XFA Widget Runtime, FormCalc Functions and XFA Packet DOM