Lines Matching refs:pWidget
63 CXFA_FFWidget* pWidget = m_pDoc->GetDocView()->GetWidgetForNode(pSender); in OnWidgetListItemAdded() local
64 for (; pWidget; pWidget = pWidget->GetNextFFWidget()) { in OnWidgetListItemAdded()
65 if (pWidget->IsLoaded()) in OnWidgetListItemAdded()
66 ToDropDown(ToField(pWidget))->InsertItem(wsLabel, iIndex); in OnWidgetListItemAdded()
75 CXFA_FFWidget* pWidget = m_pDoc->GetDocView()->GetWidgetForNode(pSender); in OnWidgetListItemRemoved() local
76 for (; pWidget; pWidget = pWidget->GetNextFFWidget()) { in OnWidgetListItemRemoved()
77 if (pWidget->IsLoaded()) in OnWidgetListItemRemoved()
78 ToDropDown(ToField(pWidget))->DeleteItem(iIndex); in OnWidgetListItemRemoved()
101 std::unique_ptr<CXFA_FFWidget> pWidget; in OnCreateContentLayoutItem() local
108 pWidget = pdfium::MakeUnique<CXFA_FFBarcode>( in OnCreateContentLayoutItem()
117 pWidget = pdfium::MakeUnique<CXFA_FFPushButton>( in OnCreateContentLayoutItem()
126 pWidget = pdfium::MakeUnique<CXFA_FFCheckButton>( in OnCreateContentLayoutItem()
132 pWidget = pdfium::MakeUnique<CXFA_FFListBox>(pNode); in OnCreateContentLayoutItem()
134 pWidget = pdfium::MakeUnique<CXFA_FFComboBox>(pNode); in OnCreateContentLayoutItem()
138 pWidget = pdfium::MakeUnique<CXFA_FFDateTimeEdit>(pNode); in OnCreateContentLayoutItem()
141 pWidget = pdfium::MakeUnique<CXFA_FFImageEdit>(pNode); in OnCreateContentLayoutItem()
144 pWidget = pdfium::MakeUnique<CXFA_FFNumericEdit>(pNode); in OnCreateContentLayoutItem()
151 pWidget = pdfium::MakeUnique<CXFA_FFPasswordEdit>( in OnCreateContentLayoutItem()
156 pWidget = pdfium::MakeUnique<CXFA_FFSignature>(pNode); in OnCreateContentLayoutItem()
159 pWidget = pdfium::MakeUnique<CXFA_FFTextEdit>(pNode); in OnCreateContentLayoutItem()
162 pWidget = pdfium::MakeUnique<CXFA_FFArc>(pNode); in OnCreateContentLayoutItem()
165 pWidget = pdfium::MakeUnique<CXFA_FFLine>(pNode); in OnCreateContentLayoutItem()
168 pWidget = pdfium::MakeUnique<CXFA_FFRectangle>(pNode); in OnCreateContentLayoutItem()
171 pWidget = pdfium::MakeUnique<CXFA_FFText>(pNode); in OnCreateContentLayoutItem()
174 pWidget = pdfium::MakeUnique<CXFA_FFImage>(pNode); in OnCreateContentLayoutItem()
177 pWidget = pdfium::MakeUnique<CXFA_FFWidget>(pNode); in OnCreateContentLayoutItem()
180 pWidget = pdfium::MakeUnique<CXFA_FFExclGroup>(pNode); in OnCreateContentLayoutItem()
185 ASSERT(pWidget); in OnCreateContentLayoutItem()
187 pWidget->SetDocView(m_pDoc->GetDocView(pLayout)); in OnCreateContentLayoutItem()
188 return pWidget; in OnCreateContentLayoutItem()
352 CXFA_FFWidget* pWidget = m_pDoc->GetDocView()->GetWidgetForNode(pSender); in OnValueChanging() local
353 for (; pWidget; pWidget = pWidget->GetNextFFWidget()) { in OnValueChanging()
354 if (pWidget->IsLoaded()) in OnValueChanging()
355 pWidget->InvalidateRect(); in OnValueChanging()
411 CXFA_FFWidget* pWidget = m_pDoc->GetDocView()->GetWidgetForNode(pWidgetNode); in OnValueChanged() local
412 for (; pWidget; pWidget = pWidget->GetNextFFWidget()) { in OnValueChanged()
413 if (!pWidget->IsLoaded()) in OnValueChanged()
417 pWidget->UpdateWidgetProperty(); in OnValueChanged()
418 pWidget->PerformLayout(); in OnValueChanged()
419 pWidget->InvalidateRect(); in OnValueChanged()
462 CXFA_FFWidget* pWidget = XFA_GetWidgetFromLayoutItem(pSender); in OnLayoutItemAdded() local
463 if (!pWidget) in OnLayoutItemAdded()
469 pWidget->ModifyStatus(dwStatus, dwFilter); in OnLayoutItemAdded()
470 CXFA_FFPageView* pPrePageView = pWidget->GetPageView(); in OnLayoutItemAdded()
474 pWidget->SetPageView(pNewPageView); in OnLayoutItemAdded()
475 m_pDoc->GetDocEnvironment()->WidgetPostAdd(pWidget); in OnLayoutItemAdded()
481 if (pWidget->IsLoaded()) { in OnLayoutItemAdded()
482 if (pWidget->GetWidgetRect() != pWidget->RecacheWidgetRect()) in OnLayoutItemAdded()
483 pWidget->PerformLayout(); in OnLayoutItemAdded()
485 pWidget->LoadWidget(); in OnLayoutItemAdded()
487 pWidget->InvalidateRect(); in OnLayoutItemAdded()
496 CXFA_FFWidget* pWidget = XFA_GetWidgetFromLayoutItem(pSender); in OnLayoutItemRemoving() local
497 if (!pWidget) in OnLayoutItemRemoving()
500 pDocView->DeleteLayoutItem(pWidget); in OnLayoutItemRemoving()
501 m_pDoc->GetDocEnvironment()->WidgetPreRemove(pWidget); in OnLayoutItemRemoving()
502 pWidget->InvalidateRect(); in OnLayoutItemRemoving()