| Index: xfa/fxfa/parser/xfa_script_hostpseudomodel.cpp
|
| diff --git a/xfa/fxfa/parser/xfa_script_hostpseudomodel.cpp b/xfa/fxfa/parser/xfa_script_hostpseudomodel.cpp
|
| index 84d5fc9223a019f219a2969fe6ba876cbe597cf4..b13c42530539cad29e51b8687302e155e57fb87f 100644
|
| --- a/xfa/fxfa/parser/xfa_script_hostpseudomodel.cpp
|
| +++ b/xfa/fxfa/parser/xfa_script_hostpseudomodel.cpp
|
| @@ -13,7 +13,6 @@
|
| #include "xfa/fxfa/parser/xfa_document_layout_imp.h"
|
| #include "xfa/fxfa/parser/xfa_localemgr.h"
|
| #include "xfa/fxfa/parser/xfa_object.h"
|
| -#include "xfa/fxfa/parser/xfa_parser.h"
|
| #include "xfa/fxfa/parser/xfa_parser_imp.h"
|
| #include "xfa/fxfa/parser/xfa_script.h"
|
| #include "xfa/fxfa/parser/xfa_script_imp.h"
|
| @@ -44,7 +43,7 @@ void CScript_HostPseudoModel::Script_HostPseudoModel_AppType(
|
| CFXJSE_Value* pValue,
|
| FX_BOOL bSetting,
|
| XFA_ATTRIBUTE eAttribute) {
|
| - CXFA_FFNotify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| + CXFA_FFNotify* pNotify = m_pDocument->GetNotify();
|
| if (!pNotify) {
|
| return;
|
| }
|
| @@ -60,7 +59,7 @@ void CScript_HostPseudoModel::Script_HostPseudoModel_FoxitAppType(
|
| CFXJSE_Value* pValue,
|
| FX_BOOL bSetting,
|
| XFA_ATTRIBUTE eAttribute) {
|
| - CXFA_FFNotify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| + CXFA_FFNotify* pNotify = m_pDocument->GetNotify();
|
| if (!pNotify) {
|
| return;
|
| }
|
| @@ -76,7 +75,7 @@ void CScript_HostPseudoModel::Script_HostPseudoModel_CalculationsEnabled(
|
| CFXJSE_Value* pValue,
|
| FX_BOOL bSetting,
|
| XFA_ATTRIBUTE eAttribute) {
|
| - CXFA_FFNotify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| + CXFA_FFNotify* pNotify = m_pDocument->GetNotify();
|
| if (!pNotify) {
|
| return;
|
| }
|
| @@ -92,7 +91,7 @@ void CScript_HostPseudoModel::Script_HostPseudoModel_CurrentPage(
|
| CFXJSE_Value* pValue,
|
| FX_BOOL bSetting,
|
| XFA_ATTRIBUTE eAttribute) {
|
| - CXFA_FFNotify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| + CXFA_FFNotify* pNotify = m_pDocument->GetNotify();
|
| if (!pNotify) {
|
| return;
|
| }
|
| @@ -107,7 +106,7 @@ void CScript_HostPseudoModel::Script_HostPseudoModel_Language(
|
| CFXJSE_Value* pValue,
|
| FX_BOOL bSetting,
|
| XFA_ATTRIBUTE eAttribute) {
|
| - CXFA_FFNotify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| + CXFA_FFNotify* pNotify = m_pDocument->GetNotify();
|
| if (!pNotify) {
|
| return;
|
| }
|
| @@ -123,7 +122,7 @@ void CScript_HostPseudoModel::Script_HostPseudoModel_NumPages(
|
| CFXJSE_Value* pValue,
|
| FX_BOOL bSetting,
|
| XFA_ATTRIBUTE eAttribute) {
|
| - CXFA_FFNotify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| + CXFA_FFNotify* pNotify = m_pDocument->GetNotify();
|
| if (!pNotify) {
|
| return;
|
| }
|
| @@ -138,7 +137,7 @@ void CScript_HostPseudoModel::Script_HostPseudoModel_Platform(
|
| CFXJSE_Value* pValue,
|
| FX_BOOL bSetting,
|
| XFA_ATTRIBUTE eAttribute) {
|
| - CXFA_FFNotify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| + CXFA_FFNotify* pNotify = m_pDocument->GetNotify();
|
| if (!pNotify) {
|
| return;
|
| }
|
| @@ -157,7 +156,7 @@ void CScript_HostPseudoModel::Script_HostPseudoModel_Title(
|
| if (!m_pDocument->GetScriptContext()->IsRunAtClient()) {
|
| return;
|
| }
|
| - CXFA_FFNotify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| + CXFA_FFNotify* pNotify = m_pDocument->GetNotify();
|
| if (!pNotify) {
|
| return;
|
| }
|
| @@ -174,7 +173,7 @@ void CScript_HostPseudoModel::Script_HostPseudoModel_ValidationsEnabled(
|
| CFXJSE_Value* pValue,
|
| FX_BOOL bSetting,
|
| XFA_ATTRIBUTE eAttribute) {
|
| - CXFA_FFNotify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| + CXFA_FFNotify* pNotify = m_pDocument->GetNotify();
|
| if (!pNotify) {
|
| return;
|
| }
|
| @@ -193,7 +192,7 @@ void CScript_HostPseudoModel::Script_HostPseudoModel_Variation(
|
| if (!m_pDocument->GetScriptContext()->IsRunAtClient()) {
|
| return;
|
| }
|
| - CXFA_FFNotify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| + CXFA_FFNotify* pNotify = m_pDocument->GetNotify();
|
| if (!pNotify) {
|
| return;
|
| }
|
| @@ -209,7 +208,7 @@ void CScript_HostPseudoModel::Script_HostPseudoModel_Version(
|
| CFXJSE_Value* pValue,
|
| FX_BOOL bSetting,
|
| XFA_ATTRIBUTE eAttribute) {
|
| - CXFA_FFNotify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| + CXFA_FFNotify* pNotify = m_pDocument->GetNotify();
|
| if (!pNotify) {
|
| return;
|
| }
|
| @@ -225,7 +224,7 @@ void CScript_HostPseudoModel::Script_HostPseudoModel_FoxitVersion(
|
| CFXJSE_Value* pValue,
|
| FX_BOOL bSetting,
|
| XFA_ATTRIBUTE eAttribute) {
|
| - CXFA_FFNotify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| + CXFA_FFNotify* pNotify = m_pDocument->GetNotify();
|
| if (!pNotify) {
|
| return;
|
| }
|
| @@ -241,7 +240,7 @@ void CScript_HostPseudoModel::Script_HostPseudoModel_Name(
|
| CFXJSE_Value* pValue,
|
| FX_BOOL bSetting,
|
| XFA_ATTRIBUTE eAttribute) {
|
| - CXFA_FFNotify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| + CXFA_FFNotify* pNotify = m_pDocument->GetNotify();
|
| if (!pNotify) {
|
| return;
|
| }
|
| @@ -257,7 +256,7 @@ void CScript_HostPseudoModel::Script_HostPseudoModel_FoxitName(
|
| CFXJSE_Value* pValue,
|
| FX_BOOL bSetting,
|
| XFA_ATTRIBUTE eAttribute) {
|
| - CXFA_FFNotify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| + CXFA_FFNotify* pNotify = m_pDocument->GetNotify();
|
| if (!pNotify) {
|
| return;
|
| }
|
| @@ -279,7 +278,7 @@ void CScript_HostPseudoModel::Script_HostPseudoModel_GotoURL(
|
| ThrowException(XFA_IDS_INCORRECT_NUMBER_OF_METHOD, L"gotoURL");
|
| return;
|
| }
|
| - CXFA_FFNotify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| + CXFA_FFNotify* pNotify = m_pDocument->GetNotify();
|
| if (!pNotify) {
|
| return;
|
| }
|
| @@ -301,7 +300,7 @@ void CScript_HostPseudoModel::Script_HostPseudoModel_OpenList(
|
| ThrowException(XFA_IDS_INCORRECT_NUMBER_OF_METHOD, L"openList");
|
| return;
|
| }
|
| - CXFA_FFNotify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| + CXFA_FFNotify* pNotify = m_pDocument->GetNotify();
|
| if (!pNotify) {
|
| return;
|
| }
|
| @@ -349,7 +348,7 @@ void CScript_HostPseudoModel::Script_HostPseudoModel_Response(
|
| ThrowException(XFA_IDS_INCORRECT_NUMBER_OF_METHOD, L"response");
|
| return;
|
| }
|
| - CXFA_FFNotify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| + CXFA_FFNotify* pNotify = m_pDocument->GetNotify();
|
| if (!pNotify) {
|
| return;
|
| }
|
| @@ -380,7 +379,7 @@ void CScript_HostPseudoModel::Script_HostPseudoModel_Response(
|
| }
|
| void CScript_HostPseudoModel::Script_HostPseudoModel_DocumentInBatch(
|
| CFXJSE_Arguments* pArguments) {
|
| - CXFA_FFNotify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| + CXFA_FFNotify* pNotify = m_pDocument->GetNotify();
|
| if (!pNotify) {
|
| return;
|
| }
|
| @@ -420,7 +419,7 @@ void CScript_HostPseudoModel::Script_HostPseudoModel_ResetData(
|
| ThrowException(XFA_IDS_INCORRECT_NUMBER_OF_METHOD, L"resetData");
|
| return;
|
| }
|
| - CXFA_FFNotify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| + CXFA_FFNotify* pNotify = m_pDocument->GetNotify();
|
| if (!pNotify) {
|
| return;
|
| }
|
| @@ -472,7 +471,7 @@ void CScript_HostPseudoModel::Script_HostPseudoModel_Beep(
|
| ThrowException(XFA_IDS_INCORRECT_NUMBER_OF_METHOD, L"beep");
|
| return;
|
| }
|
| - CXFA_FFNotify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| + CXFA_FFNotify* pNotify = m_pDocument->GetNotify();
|
| if (!pNotify) {
|
| return;
|
| }
|
| @@ -492,7 +491,7 @@ void CScript_HostPseudoModel::Script_HostPseudoModel_SetFocus(
|
| ThrowException(XFA_IDS_INCORRECT_NUMBER_OF_METHOD, L"setFocus");
|
| return;
|
| }
|
| - CXFA_FFNotify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| + CXFA_FFNotify* pNotify = m_pDocument->GetNotify();
|
| if (!pNotify) {
|
| return;
|
| }
|
| @@ -525,7 +524,7 @@ void CScript_HostPseudoModel::Script_HostPseudoModel_SetFocus(
|
| }
|
| void CScript_HostPseudoModel::Script_HostPseudoModel_GetFocus(
|
| CFXJSE_Arguments* pArguments) {
|
| - CXFA_FFNotify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| + CXFA_FFNotify* pNotify = m_pDocument->GetNotify();
|
| if (!pNotify) {
|
| return;
|
| }
|
| @@ -546,7 +545,7 @@ void CScript_HostPseudoModel::Script_HostPseudoModel_MessageBox(
|
| ThrowException(XFA_IDS_INCORRECT_NUMBER_OF_METHOD, L"messageBox");
|
| return;
|
| }
|
| - CXFA_FFNotify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| + CXFA_FFNotify* pNotify = m_pDocument->GetNotify();
|
| if (!pNotify) {
|
| return;
|
| }
|
| @@ -608,7 +607,7 @@ FX_BOOL CScript_HostPseudoModel::Script_HostPseudoModel_ValidateArgsForMsg(
|
| }
|
| void CScript_HostPseudoModel::Script_HostPseudoModel_DocumentCountInBatch(
|
| CFXJSE_Arguments* pArguments) {
|
| - CXFA_FFNotify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| + CXFA_FFNotify* pNotify = m_pDocument->GetNotify();
|
| if (!pNotify) {
|
| return;
|
| }
|
| @@ -627,7 +626,7 @@ void CScript_HostPseudoModel::Script_HostPseudoModel_Print(
|
| ThrowException(XFA_IDS_INCORRECT_NUMBER_OF_METHOD, L"print");
|
| return;
|
| }
|
| - CXFA_FFNotify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| + CXFA_FFNotify* pNotify = m_pDocument->GetNotify();
|
| if (!pNotify) {
|
| return;
|
| }
|
| @@ -693,7 +692,7 @@ void CScript_HostPseudoModel::Script_HostPseudoModel_ImportData(
|
| ThrowException(XFA_IDS_INCORRECT_NUMBER_OF_METHOD, L"importData");
|
| return;
|
| }
|
| - CXFA_FFNotify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| + CXFA_FFNotify* pNotify = m_pDocument->GetNotify();
|
| if (!pNotify) {
|
| return;
|
| }
|
| @@ -712,7 +711,7 @@ void CScript_HostPseudoModel::Script_HostPseudoModel_ExportData(
|
| ThrowException(XFA_IDS_INCORRECT_NUMBER_OF_METHOD, L"exportData");
|
| return;
|
| }
|
| - CXFA_FFNotify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| + CXFA_FFNotify* pNotify = m_pDocument->GetNotify();
|
| if (!pNotify) {
|
| return;
|
| }
|
| @@ -730,7 +729,7 @@ void CScript_HostPseudoModel::Script_HostPseudoModel_ExportData(
|
| }
|
| void CScript_HostPseudoModel::Script_HostPseudoModel_PageUp(
|
| CFXJSE_Arguments* pArguments) {
|
| - CXFA_FFNotify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| + CXFA_FFNotify* pNotify = m_pDocument->GetNotify();
|
| if (!pNotify) {
|
| return;
|
| }
|
| @@ -745,7 +744,7 @@ void CScript_HostPseudoModel::Script_HostPseudoModel_PageUp(
|
| }
|
| void CScript_HostPseudoModel::Script_HostPseudoModel_PageDown(
|
| CFXJSE_Arguments* pArguments) {
|
| - CXFA_FFNotify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| + CXFA_FFNotify* pNotify = m_pDocument->GetNotify();
|
| if (!pNotify) {
|
| return;
|
| }
|
| @@ -765,7 +764,7 @@ void CScript_HostPseudoModel::Script_HostPseudoModel_PageDown(
|
| }
|
| void CScript_HostPseudoModel::Script_HostPseudoModel_CurrentDateTime(
|
| CFXJSE_Arguments* pArguments) {
|
| - CXFA_FFNotify* pNotify = m_pDocument->GetParser()->GetNotify();
|
| + CXFA_FFNotify* pNotify = m_pDocument->GetNotify();
|
| if (!pNotify) {
|
| return;
|
| }
|
|
|