Home | History | Annotate | Download | only in javascript

Lines Matching refs:pFormControl

298 void Field::UpdateFormControl(CPDFSDK_Document* pDocument, CPDF_FormControl* pFormControl, 

302 ASSERT(pFormControl != NULL);
307 CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormControl);
343 CPDFSDK_Widget* Field::GetWidget(CPDFSDK_Document* pDocument, CPDF_FormControl* pFormControl)
346 ASSERT(pFormControl != NULL);
351 return pInterForm->GetWidget(pFormControl);
412 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField);
413 if (!pFormControl)return FALSE;
415 switch (pFormControl->GetControlAlignment())
546 if (CPDF_FormControl* pFormControl = pFormField->GetControl(nControlIndex))
548 if (CPDFSDK_Widget* pWidget = GetWidget(pDocument, pFormControl))
553 UpdateFormControl(pDocument, pFormControl, TRUE, TRUE, TRUE);
593 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField);
594 if (!pFormControl)return FALSE;
596 CPDF_IconFit IconFit = pFormControl->GetIconFit();
644 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField);
645 if (!pFormControl)return FALSE;
647 CPDF_IconFit IconFit = pFormControl->GetIconFit();
695 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField);
696 if (!pFormControl)return FALSE;
698 CPDF_IconFit IconFit = pFormControl->GetIconFit();
742 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField);
743 if (!pFormControl)return FALSE;
745 vp << pFormControl->GetTextPosition();
787 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField);
788 if (!pFormControl)return FALSE;
790 CPDF_IconFit IconFit = pFormControl->GetIconFit();
837 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField);
838 if (!pFormControl) return FALSE;
840 CPDF_IconFit IconFit = pFormControl->GetIconFit();
1414 CPDF_FormControl* pFormControl = pFormField->GetControl(j);
1415 ASSERT(pFormControl != NULL);
1417 if (CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormControl))
1459 if (CPDF_FormControl* pFormControl = pFormField->GetControl(nControlIndex))
1461 if (CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormControl))
1493 UpdateFormControl(pDocument, pFormControl, TRUE, FALSE, TRUE);
1573 CPDF_FormControl* pFormControl = pFormField->GetControl(i);
1574 ASSERT(pFormControl != NULL);
1576 ExportValusArray.SetElement(i, CJS_Value(m_isolate,(FX_LPCWSTR)pFormControl->GetExportValue()));
1582 CPDF_FormControl* pFormControl = pFormField->GetControl(m_nFormControlIndex);
1583 if (!pFormControl) return FALSE;
1585 ExportValusArray.SetElement(0, CJS_Value(m_isolate,(FX_LPCWSTR)pFormControl->GetExportValue()));
1661 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField);
1662 if (!pFormControl)return FALSE;
1665 pFormControl->GetBackgroundColor(iColorType);
1675 color = CPWL_Color(COLORTYPE_GRAY, pFormControl->GetOriginalBackgroundColor(0));
1679 color = CPWL_Color(COLORTYPE_RGB, pFormControl->GetOriginalBackgroundColor(0),
1680 pFormControl->GetOriginalBackgroundColor(1),
1681 pFormControl->GetOriginalBackgroundColor(2));
1685 color = CPWL_Color(COLORTYPE_CMYK, pFormControl->GetOriginalBackgroundColor(0),
1686 pFormControl->GetOriginalBackgroundColor(1),
1687 pFormControl->GetOriginalBackgroundColor(2),
1688 pFormControl->GetOriginalBackgroundColor(3));
1805 if (CPDF_FormControl* pFormControl = pFormField->GetControl(nControlIndex))
1807 if (CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormControl))
1828 UpdateFormControl(pDocument, pFormControl, TRUE, FALSE, TRUE);
1868 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField);
1869 if (!pFormControl) return FALSE;
1871 int eHM = pFormControl->GetHighlightingMode();
1929 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField);
1930 if (!pFormControl) return FALSE;
1966 CPDF_FormControl* pFormControl = pFormField->GetControl(j);
1967 ASSERT(pFormControl != NULL);
1969 if (CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormControl))
1983 if (CPDF_FormControl* pFormControl = pFormField->GetControl(nControlIndex))
1985 if (CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormControl))
1990 UpdateFormControl(pDocument, pFormControl, TRUE, TRUE, TRUE);
2264 if (CPDF_FormControl* pFormControl = pFormField->GetControl(m_nFormControlIndex))
2266 if (CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormControl))
2452 CPDF_FormControl* pFormControl = pFormField->GetControl(i);
2453 ASSERT(pFormControl != NULL);
2455 if (CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormControl))
2487 if (CPDF_FormControl* pFormControl = pFormField->GetControl(nControlIndex))
2489 if (CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormControl))
2510 UpdateFormControl(pDocument, pFormControl, TRUE, TRUE, TRUE);
2648 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField);
2649 if (!pFormControl)return FALSE;
2651 vp << (FX_INT32)pFormControl->GetRotation();
2696 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField);
2697 if (!pFormControl)return FALSE;
2700 pFormControl->GetBorderColor(iColorType);
2710 color = CPWL_Color(COLORTYPE_GRAY, pFormControl->GetOriginalBorderColor(0));
2714 color = CPWL_Color(COLORTYPE_RGB, pFormControl->GetOriginalBorderColor(0),
2715 pFormControl->GetOriginalBorderColor(1),
2716 pFormControl->GetOriginalBorderColor(2));
2720 color = CPWL_Color(COLORTYPE_CMYK, pFormControl->GetOriginalBorderColor(0),
2721 pFormControl->GetOriginalBorderColor(1),
2722 pFormControl->GetOriginalBorderColor(2),
2723 pFormControl->GetOriginalBorderColor(3));
2774 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField);
2775 if (!pFormControl) return FALSE;
2777 CFX_WideString csWCaption = pFormControl->GetNormalCaption();
2851 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField);
2852 if (!pFormControl)return FALSE;
2856 CPDF_DefaultAppearance FieldAppearance = pFormControl->GetDefaultAppearance();
2911 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField);
2912 if (!pFormControl)return FALSE;
2921 CPDF_Font * pFont = pFormControl->GetDefaultControlFont();
2967 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField);
2968 if (!pFormControl)return FALSE;
2970 CPDF_DefaultAppearance FieldAppearance = pFormControl->GetDefaultAppearance();
3394 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField);
3395 if (!pFormControl)return FALSE;
3398 vRet = pFormControl->GetNormalCaption();
3400 vRet = pFormControl->GetDownCaption();
3402 vRet = pFormControl->GetRolloverCaption();
3430 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField);
3431 if (!pFormControl)return FALSE;
3450 pIconStream = pFormControl->GetNormalIcon();
3452 pIconStream = pFormControl->GetDownIcon();
3454 pIconStream = pFormControl->GetRolloverIcon();
3498 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField);
3499 if (!pFormControl)return FALSE;
3501 pFormControl->SetNormalIcon(pStream);
3502 UpdateFormControl(m_pDocument, pFormControl, TRUE, TRUE, TRUE);