Home
last modified time | relevance | path

Searched refs:pWidgetAcc (Results 1 – 13 of 13) sorted by relevance

/external/pdfium/xfa/src/fxfa/src/app/
Dxfa_ffnotify.cpp79 CXFA_WidgetAcc* pWidgetAcc = static_cast<CXFA_WidgetAcc*>(pSender); in OnWidgetDataEvent() local
82 if (pWidgetAcc->GetUIType() != XFA_ELEMENT_ChoiceList) { in OnWidgetDataEvent()
85 FX_BOOL bStaticNotify = pWidgetAcc->GetDocView()->IsStaticNotify(); in OnWidgetDataEvent()
86 CXFA_FFWidget* pWidget = pWidgetAcc->GetNextWidget(NULL); in OnWidgetDataEvent()
89 pWidgetAcc->GetDoc()->GetDocProvider()->WidgetEvent( in OnWidgetDataEvent()
90 pWidget, pWidgetAcc, XFA_WIDGETEVENT_ListItemAdded, pParam, in OnWidgetDataEvent()
97 if (pWidgetAcc->IsListBox()) { in OnWidgetDataEvent()
108 pWidgetAcc->GetDoc()->GetDocProvider()->WidgetEvent( in OnWidgetDataEvent()
109 pWidget, pWidgetAcc, XFA_WIDGETEVENT_ListItemAdded, pParam, in OnWidgetDataEvent()
112 pWidget = pWidgetAcc->GetNextWidget(pWidget); in OnWidgetDataEvent()
[all …]
Dxfa_ffdocview.cpp214 FX_BOOL CXFA_FFDocView::ResetSingleWidgetAccData(CXFA_WidgetAcc* pWidgetAcc) { in ResetSingleWidgetAccData() argument
215 CXFA_Node* pNode = pWidgetAcc->GetNode(); in ResetSingleWidgetAccData()
221 pWidgetAcc->ResetData(); in ResetSingleWidgetAccData()
222 pWidgetAcc->UpdateUIDisplay(); in ResetSingleWidgetAccData()
224 pWidgetAcc->NotifyEvent(XFA_WIDGETEVENT_PostContentChanged, NULL, NULL, in ResetSingleWidgetAccData()
227 if (CXFA_Validate validate = pWidgetAcc->GetValidate()) { in ResetSingleWidgetAccData()
228 AddValidateWidget(pWidgetAcc); in ResetSingleWidgetAccData()
233 void CXFA_FFDocView::ResetWidgetData(CXFA_WidgetAcc* pWidgetAcc) { in ResetWidgetData() argument
237 if (pWidgetAcc) { in ResetWidgetData()
238 bChanged = ResetSingleWidgetAccData(pWidgetAcc); in ResetWidgetData()
[all …]
Dxfa_ffdocview.h49 virtual void ResetWidgetData(CXFA_WidgetAcc* pWidgetAcc = NULL);
51 CXFA_WidgetAcc* pWidgetAcc = NULL);
85 void AddCalculateWidgetAcc(CXFA_WidgetAcc* pWidgetAcc);
93 void SetFocusWidgetAcc(CXFA_WidgetAcc* pWidgetAcc);
112 FX_BOOL ResetSingleWidgetAccData(CXFA_WidgetAcc* pWidgetAcc);
Dxfa_ffwidgethandler.cpp216 FX_BOOL CXFA_FFWidgetHandler::HasEvent(CXFA_WidgetAcc* pWidgetAcc, in HasEvent() argument
218 if (!pWidgetAcc || eEventType == XFA_EVENT_Unknown) { in HasEvent()
221 if (pWidgetAcc->GetClassID() == XFA_ELEMENT_Draw) { in HasEvent()
226 CXFA_Calculate calc = pWidgetAcc->GetCalculate(); in HasEvent()
236 CXFA_Validate val = pWidgetAcc->GetValidate(); in HasEvent()
249 return pWidgetAcc->GetEventByActivity(gs_EventActivity[eEventType], in HasEvent()
252 int32_t CXFA_FFWidgetHandler::ProcessEvent(CXFA_WidgetAcc* pWidgetAcc, in ProcessEvent() argument
257 if (!pWidgetAcc || pWidgetAcc->GetClassID() == XFA_ELEMENT_Draw) { in ProcessEvent()
262 return pWidgetAcc->ProcessCalculate(); in ProcessEvent()
267 return pWidgetAcc->ProcessValidate(); in ProcessEvent()
[all …]
Dxfa_ffwidgetacc.h19 CXFA_TextProvider(CXFA_WidgetAcc* pWidgetAcc,
22 : m_pWidgetAcc(pWidgetAcc), m_eType(eType), m_pTextNode(pTextNode) { in m_pWidgetAcc() argument
Dxfa_fwltheme.cpp210 CXFA_WidgetAcc* pWidgetAcc = pWidget->GetDataAcc(); in GetCapacity() local
211 pWidgetAcc->GetUIMargin(m_Rect); in GetCapacity()
212 if (CXFA_Para para = pWidgetAcc->GetPara()) { in GetCapacity()
214 if (pWidgetAcc->IsMultiLine()) { in GetCapacity()
234 CXFA_WidgetAcc* pWidgetAcc = pWidget->GetDataAcc(); in GetCapacity() local
235 if (CXFA_Para para = pWidgetAcc->GetPara()) { in GetCapacity()
Dxfa_ffpageview.cpp102 CXFA_WidgetAcc* pWidgetAcc = pWidget->GetDataAcc(); in XFA_PageWidgetFilter() local
105 (pWidgetAcc->GetClassID() != XFA_ELEMENT_Field)) { in XFA_PageWidgetFilter()
297 CXFA_WidgetAcc* pWidgetAcc = hWidget->GetDataAcc(); in CreateTabOrderWidgetArray() local
298 if (pWidgetAcc->GetUIType() == XFA_ELEMENT_ExclGroup) { in CreateTabOrderWidgetArray()
303 if (pRadio->GetDataAcc()->GetExclGroup() != pWidgetAcc) { in CreateTabOrderWidgetArray()
Dxfa_ffwidgethandler.h85 virtual FX_BOOL HasEvent(CXFA_WidgetAcc* pWidgetAcc,
87 virtual int32_t ProcessEvent(CXFA_WidgetAcc* pWidgetAcc,
Dxfa_fffield.cpp712 CXFA_WidgetAcc* pWidgetAcc = NULL; in CalculateOverride() local
714 pWidgetAcc = (CXFA_WidgetAcc*)pNode->GetWidgetData(); in CalculateOverride()
715 if (!pWidgetAcc) { in CalculateOverride()
718 if (CalculateWidgetAcc(pWidgetAcc) == 0) { in CalculateOverride()
721 pNode = pWidgetAcc->GetExclGroupNextMember(pNode); in CalculateOverride()
/external/pdfium/fpdfsdk/src/
Dfpdfsave.cpp239 CXFA_WidgetAcc* pWidgetAcc = NULL; in _SendPostSaveToXFADoc() local
242 pWidgetAcc = pWidgetAccIterator->MoveToNext(); in _SendPostSaveToXFADoc()
243 while (pWidgetAcc) { in _SendPostSaveToXFADoc()
246 pWidgetHander->ProcessEvent(pWidgetAcc, &preParam); in _SendPostSaveToXFADoc()
247 pWidgetAcc = pWidgetAccIterator->MoveToNext(); in _SendPostSaveToXFADoc()
264 CXFA_WidgetAcc* pWidgetAcc = NULL; in _SendPreSaveToXFADoc() local
267 pWidgetAcc = pWidgetAccIterator->MoveToNext(); in _SendPreSaveToXFADoc()
268 while (pWidgetAcc) { in _SendPreSaveToXFADoc()
271 pWidgetHander->ProcessEvent(pWidgetAcc, &preParam); in _SendPreSaveToXFADoc()
272 pWidgetAcc = pWidgetAccIterator->MoveToNext(); in _SendPreSaveToXFADoc()
Dfsdk_baseform.cpp264 if (CXFA_WidgetAcc* pWidgetAcc = pXFAWidgetHandler->GetDataAcc(hWidget)) { in Synchronize() local
273 pWidgetAcc->SetCheckState(eCheckState); in Synchronize()
276 pWidgetAcc->SetValue(pFormField->GetValue(), XFA_VALUEPICTURE_Edit); in Synchronize()
279 pWidgetAcc->ClearAllSelections(); in Synchronize()
284 if (nIndex > -1 && nIndex < pWidgetAcc->CountChoiceListItems()) in Synchronize()
285 pWidgetAcc->SetItemState(nIndex, TRUE, FALSE); in Synchronize()
289 pWidgetAcc->ClearAllSelections(); in Synchronize()
294 if (nIndex > -1 && nIndex < pWidgetAcc->CountChoiceListItems()) in Synchronize()
295 pWidgetAcc->SetItemState(nIndex, TRUE, FALSE); in Synchronize()
299 pWidgetAcc->SetValue(pFormField->GetValue(), XFA_VALUEPICTURE_Edit); in Synchronize()
[all …]
/external/pdfium/fpdfsdk/src/fpdfxfa/
Dfpdfxfa_doc.cpp322 CXFA_WidgetAcc* pWidgetAcc = in GetPopupPos() local
327 nRotate = pWidgetAcc->GetRotate(); in GetPopupPos()
825 CXFA_WidgetAcc* pWidgetAcc = pWidgetAccIterator->MoveToNext(); in _OnBeforeNotifySumbit() local
826 while (pWidgetAcc) { in _OnBeforeNotifySumbit()
827 pWidgetHandler->ProcessEvent(pWidgetAcc, &Param); in _OnBeforeNotifySumbit()
828 pWidgetAcc = pWidgetAccIterator->MoveToNext(); in _OnBeforeNotifySumbit()
834 CXFA_WidgetAcc* pWidgetAcc = pWidgetAccIterator->MoveToNext(); in _OnBeforeNotifySumbit() local
835 pWidgetAcc = pWidgetAccIterator->MoveToNext(); in _OnBeforeNotifySumbit()
836 while (pWidgetAcc) { in _OnBeforeNotifySumbit()
837 int fRet = pWidgetAcc->ProcessValidate(-1); in _OnBeforeNotifySumbit()
[all …]
/external/pdfium/xfa/include/fxfa/
Dfxfa.h618 virtual void ResetWidgetData(CXFA_WidgetAcc* pWidgetAcc = NULL) = 0;
620 CXFA_WidgetAcc* pWidgetAcc = NULL) = 0;
792 virtual FX_BOOL HasEvent(CXFA_WidgetAcc* pWidgetAcc,
794 virtual int32_t ProcessEvent(CXFA_WidgetAcc* pWidgetAcc,