Home | History | Annotate | Download | only in parser

Lines Matching refs:pValue

23 CXFA_Node* ToNode(CFXJSE_Value* pValue, CFXJSE_Class* pClass) {
24 return static_cast<CXFA_Node*>(pValue->ToHostObject(pClass));
37 void CScript_HostPseudoModel::AppType(CFXJSE_Value* pValue,
47 pValue->SetString("Exchange");
50 void CScript_HostPseudoModel::CalculationsEnabled(CFXJSE_Value* pValue,
60 pValue->ToBoolean());
63 pValue->SetBoolean(pNotify->GetDocEnvironment()->IsCalculationsEnabled(hDoc));
66 void CScript_HostPseudoModel::CurrentPage(CFXJSE_Value* pValue,
75 pNotify->GetDocEnvironment()->SetCurrentPage(hDoc, pValue->ToInteger());
78 pValue->SetInteger(pNotify->GetDocEnvironment()->GetCurrentPage(hDoc));
81 void CScript_HostPseudoModel::Language(CFXJSE_Value* pValue,
91 pValue->SetString(
95 void CScript_HostPseudoModel::NumPages(CFXJSE_Value* pValue,
107 pValue->SetInteger(pNotify->GetDocEnvironment()->CountPages(hDoc));
110 void CScript_HostPseudoModel::Platform(CFXJSE_Value* pValue,
120 pValue->SetString(
124 void CScript_HostPseudoModel::Title(CFXJSE_Value* pValue,
136 pNotify->GetDocEnvironment()->SetTitle(hDoc, pValue->ToWideString());
141 pValue->SetString(wsTitle.UTF8Encode().AsStringC());
144 void CScript_HostPseudoModel::ValidationsEnabled(CFXJSE_Value* pValue,
154 pValue->ToBoolean());
158 pValue->SetBoolean(bEnabled);
161 void CScript_HostPseudoModel::Variation(CFXJSE_Value* pValue,
174 pValue->SetString("Full");
177 void CScript_HostPseudoModel::Version(CFXJSE_Value* pValue,
188 pValue->SetString("11");
191 void CScript_HostPseudoModel::Name(CFXJSE_Value* pValue,
202 pValue->SetString(
242 std::unique_ptr<CFXJSE_Value> pValue(pArguments->GetValue(0));
243 if (pValue->IsObject()) {
244 pNode = ToNode(pValue.get(), nullptr);
245 } else if (pValue->IsString()) {
258 pObject, pValue->ToWideString().AsStringC(), resoveNodeRS, dwFlag);
308 CFXJSE_Value* pValue = pArguments->GetReturnValue();
309 if (pValue)
310 pValue->SetString(wsAnswer.UTF8Encode().AsStringC());
314 if (CFXJSE_Value* pValue = pArguments->GetReturnValue())
315 pValue->SetInteger(0);
423 std::unique_ptr<CFXJSE_Value> pValue(pArguments->GetValue(0));
424 if (pValue->IsObject()) {
425 pNode = ToNode(pValue.get(), nullptr);
426 } else if (pValue->IsString()) {
439 pObject, pValue->ToWideString().AsStringC(), resoveNodeRS, dwFlag);
502 CFXJSE_Value* pValue = pArguments->GetReturnValue();
503 if (pValue)
504 pValue->SetInteger(iValue);
531 if (CFXJSE_Value* pValue = pArguments->GetReturnValue())
532 pValue->SetInteger(0);
676 CFXJSE_Value* pValue = pArguments->GetReturnValue();
677 if (pValue)
678 pValue->SetString(wsDataTime.UTF8Encode().AsStringC());