Home | History | Annotate | Download | only in fpdfdoc

Lines Matching refs:pValue

288   CPDF_Object* pValue = FPDF_GetFieldAttr(m_pDict, bDefault ? "DV" : "V");
289 if (!pValue) {
292 pValue = FPDF_GetFieldAttr(m_pDict, "V");
294 if (!pValue && m_Type != Text) {
295 pValue = FPDF_GetFieldAttr(m_pDict, "DV");
298 if (!pValue) {
302 switch (pValue->GetType()) {
305 return pValue->GetUnicodeText();
307 pValue = pValue->AsArray()->GetElementValue(0);
308 if (pValue)
309 return pValue->GetUnicodeText();
414 CPDF_Object* pValue = FPDF_GetFieldAttr(m_pDict, "V");
415 if (!pValue) {
416 pValue = FPDF_GetFieldAttr(m_pDict, "I");
417 if (!pValue)
421 if (pValue->IsString() || pValue->IsNumber())
422 return pValue->GetString().IsEmpty() ? 0 : 1;
423 if (CPDF_Array* pArray = pValue->AsArray())
428 CPDF_Object* pValue = FPDF_GetFieldAttr(m_pDict, "V");
429 if (!pValue) {
430 pValue = FPDF_GetFieldAttr(m_pDict, "I");
431 if (!pValue)
434 if (pValue->IsNumber())
435 return pValue->GetInteger();
438 if (pValue->IsString()) {
441 sel_value = pValue->GetUnicodeText();
443 CPDF_Array* pArray = pValue->AsArray();
509 CPDF_Object* pValue = FPDF_GetFieldAttr(m_pDict, "V");
510 if (!pValue) {
511 pValue = FPDF_GetFieldAttr(m_pDict, "I");
512 if (!pValue) {
517 if (pValue->IsString())
518 return pValue->GetUnicodeText() == opt_value;
520 if (pValue->IsNumber()) {
521 if (pValue->GetString().IsEmpty())
523 return (pValue->GetInteger() == index);
526 CPDF_Array* pArray = pValue->AsArray();
565 CPDF_Object* pValue = FPDF_GetFieldAttr(m_pDict, "V");
566 if (pValue) {
569 if (pValue->IsString()) {
570 if (pValue->GetUnicodeText() == opt_value) {
573 } else if (pValue->IsArray()) {
651 CPDF_Object* pValue = FPDF_GetFieldAttr(m_pDict, "DV");
652 if (!pValue) {
655 CFX_WideString csDV = pValue->GetUnicodeText();
748 CPDF_Object* pValue = FPDF_GetFieldAttr(m_pDict, "Opt");
749 CPDF_Array* pOpt = ToArray(pValue);