| Index: xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp
|
| diff --git a/xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp b/xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp
|
| index 15328b0ce345ed149c2582f10ff3db5d2ef44caa..0a2b9f2f43e4b84d613f8aad6e1145dbbd13e495 100644
|
| --- a/xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp
|
| +++ b/xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp
|
| @@ -16,6 +16,9 @@
|
| #include "xfa/fxfa/parser/xfa_script.h"
|
| #include "xfa/fxfa/parser/xfa_utils.h"
|
| #include "xfa/fxjse/cfxjse_arguments.h"
|
| +#include "xfa/fxfa/parser/xfa_parser_imp.h"
|
| +#include "xfa/fxfa/parser/xfa_script_imp.h"
|
| +#include "xfa/fxfa/app/xfa_ffnotify.h"
|
|
|
| CScript_SignaturePseudoModel::CScript_SignaturePseudoModel(
|
| CXFA_Document* pDocument)
|
| @@ -30,11 +33,11 @@ void CScript_SignaturePseudoModel::Script_SignaturePseudoModel_Verify(
|
| ThrowScriptErrorMessage(XFA_IDS_INCORRECT_NUMBER_OF_METHOD, L"verify");
|
| return;
|
| }
|
| - IXFA_Notify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| + CXFA_FFNotify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| if (!pNotify) {
|
| return;
|
| }
|
| - IXFA_Doc* hDoc = pNotify->GetHDOC();
|
| + CXFA_FFDoc* hDoc = pNotify->GetHDOC();
|
| CXFA_Node* pNode = NULL;
|
| if (iLength >= 1) {
|
| pNode = static_cast<CXFA_Node*>(pArguments->GetObject(0));
|
| @@ -52,11 +55,11 @@ void CScript_SignaturePseudoModel::Script_SignaturePseudoModel_Sign(
|
| ThrowScriptErrorMessage(XFA_IDS_INCORRECT_NUMBER_OF_METHOD, L"sign");
|
| return;
|
| }
|
| - IXFA_Notify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| + CXFA_FFNotify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| if (!pNotify) {
|
| return;
|
| }
|
| - IXFA_Doc* hDoc = pNotify->GetHDOC();
|
| + CXFA_FFDoc* hDoc = pNotify->GetHDOC();
|
| CXFA_NodeList* pNodeList = NULL;
|
| CFX_WideString wsExpression;
|
| CFX_WideString wsXMLIdent;
|
| @@ -86,11 +89,11 @@ void CScript_SignaturePseudoModel::Script_SignaturePseudoModel_Enumerate(
|
| ThrowScriptErrorMessage(XFA_IDS_INCORRECT_NUMBER_OF_METHOD, L"enumerate");
|
| return;
|
| }
|
| - IXFA_Notify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| + CXFA_FFNotify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| if (!pNotify) {
|
| return;
|
| }
|
| - IXFA_Doc* hDoc = pNotify->GetHDOC();
|
| + CXFA_FFDoc* hDoc = pNotify->GetHDOC();
|
| CXFA_NodeList* pList = pNotify->GetDocProvider()->Enumerate(hDoc);
|
| if (!pList)
|
| return;
|
| @@ -104,11 +107,11 @@ void CScript_SignaturePseudoModel::Script_SignaturePseudoModel_Clear(
|
| ThrowScriptErrorMessage(XFA_IDS_INCORRECT_NUMBER_OF_METHOD, L"clear");
|
| return;
|
| }
|
| - IXFA_Notify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| + CXFA_FFNotify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| if (!pNotify) {
|
| return;
|
| }
|
| - IXFA_Doc* hDoc = pNotify->GetHDOC();
|
| + CXFA_FFDoc* hDoc = pNotify->GetHDOC();
|
| CXFA_Node* pNode = NULL;
|
| FX_BOOL bClear = TRUE;
|
| if (iLength >= 1) {
|
|
|