enumerate

Enumère toutes les signatures XML trouvées dans le document.

Syntaxe

Reference_Syntax.enumerate()

Paramètres

Aucun

Renvoie

Un objet représentant une liste de nœuds XFA de tous les nœuds de signature XML.

Application

Version

XFA 2.1

Exemples

JavaScript

//This example removes the signature from all signed objects on a form.  
//In this case, enumerate() is used to determine the list of objects signed 
//by the signature. 
var oSigs = xfa.signature.enumerate(); 
var iNum = oSigs.length; 
for (var i=0; i < iNum; i++)  
{ 
    var oChild = oSigs.item(i); 
    xfa.signature.clear(child); 
}

FormCalc

//This example removes the signature from all signed objects on a form.  
//In this case, enumerate() is used to determine the list of objects signed 
//by the signature. 
var oSigs = xfa.signature.enumerate() 
var iNum = oSigs.length - 1 
for i=0 upto iNum step 1 do 
    var oChild = oSigs.item(i) 
    xfa.signature.clear(child) 
endfor