enumerate

ドキュメント内で見つかったすべての XML 署名を列挙します。

構文

Reference_Syntax.enumerate()

パラメーター

なし

戻り値

すべての XML 署名ノードの XFA ノードリストを表すオブジェクトです。

適用先

モデル

オブジェクト

署名モデル

signaturePseudoModel

バージョン

XFA 2.1

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