Lines Matching refs:pControl

151 	CPDF_FormControl* pControl = pInterForm->GetControlByDict(pAnnotDict);  in GetFormControl()  local
153 return pControl; in GetFormControl()
487 CPDF_FormControl* pControl = GetFormControl(); in ResetAppearance_PushButton() local
488 ASSERT(pControl != NULL); in ResetAppearance_PushButton()
496 switch (pControl->GetTextPosition()) in ResetAppearance_PushButton()
526 pControl->GetOriginalBackgroundColor(iColorType, fc); in ResetAppearance_PushButton()
530 pControl->GetOriginalBorderColor(iColorType, fc); in ResetAppearance_PushButton()
572 CPDF_DefaultAppearance da = pControl->GetDefaultAppearance(); in ResetAppearance_PushButton()
585 if (pControl->HasMKEntry("CA")) in ResetAppearance_PushButton()
587 csNormalCaption = pControl->GetNormalCaption(); in ResetAppearance_PushButton()
589 if (pControl->HasMKEntry("RC")) in ResetAppearance_PushButton()
591 csRolloverCaption = pControl->GetRolloverCaption(); in ResetAppearance_PushButton()
593 if (pControl->HasMKEntry("AC")) in ResetAppearance_PushButton()
595 csDownCaption = pControl->GetDownCaption(); in ResetAppearance_PushButton()
602 if (pControl->HasMKEntry("I")) in ResetAppearance_PushButton()
604 pNormalIcon = pControl->GetNormalIcon(); in ResetAppearance_PushButton()
606 if (pControl->HasMKEntry("RI")) in ResetAppearance_PushButton()
608 pRolloverIcon = pControl->GetRolloverIcon(); in ResetAppearance_PushButton()
610 if (pControl->HasMKEntry("IX")) in ResetAppearance_PushButton()
612 pDownIcon = pControl->GetDownIcon(); in ResetAppearance_PushButton()
642 CPDF_IconFit iconFit = pControl->GetIconFit(); in ResetAppearance_PushButton()
663 CPDF_FormControl::HighlightingMode eHLM = pControl->GetHighlightingMode(); in ResetAppearance_PushButton()
722 CPDF_FormControl* pControl = GetFormControl(); in ResetAppearance_CheckBox() local
723 ASSERT(pControl != NULL); in ResetAppearance_CheckBox()
732 pControl->GetOriginalBackgroundColor(iColorType, fc); in ResetAppearance_CheckBox()
736 pControl->GetOriginalBorderColor(iColorType, fc); in ResetAppearance_CheckBox()
774 CPDF_DefaultAppearance da = pControl->GetDefaultAppearance(); in ResetAppearance_CheckBox()
783 CFX_WideString csWCaption = pControl->GetNormalCaption(); in ResetAppearance_CheckBox()
841 WriteAppearance("N", GetRotatedRect(), GetMatrix(), csAP_N_ON, pControl->GetCheckedAPState()); in ResetAppearance_CheckBox()
844 WriteAppearance("D", GetRotatedRect(), GetMatrix(), csAP_D_ON, pControl->GetCheckedAPState()); in ResetAppearance_CheckBox()
854 CPDF_FormControl* pControl = GetFormControl(); in ResetAppearance_RadioButton() local
855 ASSERT(pControl != NULL); in ResetAppearance_RadioButton()
864 pControl->GetOriginalBackgroundColor(iColorType, fc); in ResetAppearance_RadioButton()
868 pControl->GetOriginalBorderColor(iColorType, fc); in ResetAppearance_RadioButton()
906 CPDF_DefaultAppearance da = pControl->GetDefaultAppearance(); in ResetAppearance_RadioButton()
915 CFX_WideString csWCaption = pControl->GetNormalCaption(); in ResetAppearance_RadioButton()
1019 WriteAppearance("N", GetRotatedRect(), GetMatrix(), csAP_N_ON, pControl->GetCheckedAPState()); in ResetAppearance_RadioButton()
1022 WriteAppearance("D", GetRotatedRect(), GetMatrix(), csAP_D_ON, pControl->GetCheckedAPState()); in ResetAppearance_RadioButton()
1032 CPDF_FormControl* pControl = GetFormControl(); in ResetAppearance_ComboBox() local
1033 ASSERT(pControl != NULL); in ResetAppearance_ComboBox()
1034 CPDF_FormField* pField = pControl->GetField(); in ResetAppearance_ComboBox()
1112 CPDF_FormControl* pControl = GetFormControl(); in ResetAppearance_ListBox() local
1113 ASSERT(pControl != NULL); in ResetAppearance_ListBox()
1114 CPDF_FormField* pField = pControl->GetField(); in ResetAppearance_ListBox()
1206 CPDF_FormControl* pControl = GetFormControl(); in ResetAppearance_TextField() local
1207 ASSERT(pControl != NULL); in ResetAppearance_TextField()
1208 CPDF_FormField* pField = pControl->GetField(); in ResetAppearance_TextField()
1229 pEdit->SetAlignmentH(pControl->GetControlAlignment()); in ResetAppearance_TextField()
1384 CPDF_FormControl* pControl = GetFormControl(); in GetRotatedRect() local
1385 ASSERT(pControl != NULL); in GetRotatedRect()
1388 switch(abs(pControl->GetRotation() % 360)) in GetRotatedRect()
1457 CPDF_FormControl* pControl = GetFormControl(); in GetMatrix() local
1458 ASSERT(pControl != NULL); in GetMatrix()
1466 switch (abs(pControl->GetRotation() % 360)) in GetMatrix()
1740 CPDFSDK_Widget* CPDFSDK_InterForm::GetWidget(CPDF_FormControl* pControl) const in GetWidget()
1742 if(!pControl || !m_pInterForm) return NULL; in GetWidget()
1745 m_Map.Lookup(pControl, pWidget); in GetWidget()
1749 CPDF_Dictionary* pControlDict = pControl->GetWidget(); in GetWidget()
1836 void CPDFSDK_InterForm::AddMap(CPDF_FormControl* pControl, CPDFSDK_Widget* pWidget) in AddMap() argument
1838 m_Map.SetAt(pControl, pWidget); in AddMap()
1841 void CPDFSDK_InterForm::RemoveMap(CPDF_FormControl* pControl) in RemoveMap() argument
1843 m_Map.RemoveKey(pControl); in RemoveMap()
2176 CPDF_FormControl* pControl = pField->GetControl(j); in DoAction_Hide() local
2177 ASSERT(pControl != NULL); in DoAction_Hide()
2179 if (CPDFSDK_Widget* pWidget = GetWidget(pControl)) in DoAction_Hide()