Home
last modified time | relevance | path

Searched refs:pListBox (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/xfa/fxfa/
Dcxfa_fflistbox.cpp42 CFWL_ListBox* pListBox = pNew.get(); in LoadWidget() local
43 pListBox->ModifyStyles(FWL_WGTSTYLE_VScroll | FWL_WGTSTYLE_NoBackground, in LoadWidget()
57 pListBox->AddString(label.AsStringView()); in LoadWidget()
66 pListBox->SetSelItem(pListBox->GetItem(nullptr, selected), true); in LoadWidget()
81 auto* pListBox = ToListBox(m_pNormalWidget.get()); in CommitData() local
83 int32_t iSels = pListBox->CountSelItems(); in CommitData()
85 iSelArray.push_back(pListBox->GetSelIndex(i)); in CommitData()
94 auto* pListBox = ToListBox(m_pNormalWidget.get()); in IsDataChanged() local
95 int32_t iSels = pListBox->CountSelItems(); in IsDataChanged()
100 CFWL_ListItem* hlistItem = pListBox->GetItem(nullptr, iSelArray[i]); in IsDataChanged()
[all …]
Dcxfa_ffwidgethandler.cpp414 CXFA_Node* pListBox = pUi->GetFirstChild(); in CreateListBox() local
415 pListBox->JSObject()->SetEnum(XFA_Attribute::Open, XFA_AttributeEnum::Always, in CreateListBox()
417 pListBox->JSObject()->SetEnum(XFA_Attribute::CommitOn, in CreateListBox()
/external/pdfium/fpdfsdk/formfiller/
Dcffl_listbox.cpp84 CPWL_ListBox* pListBox = (CPWL_ListBox*)GetPDFWindow(pPageView, false); in IsDataChanged() local
85 if (!pListBox) in IsDataChanged()
90 for (int32_t i = 0, sz = pListBox->GetCount(); i < sz; ++i) { in IsDataChanged()
91 if (pListBox->IsItemSelected(i)) { in IsDataChanged()
101 return pListBox->GetCurSel() != m_pWidget->GetSelectedIndex(0); in IsDataChanged()
105 CPWL_ListBox* pListBox = in SaveData() local
107 if (!pListBox) in SaveData()
110 int32_t nNewTopIndex = pListBox->GetTopVisibleIndex(); in SaveData()
113 for (int32_t i = 0, sz = pListBox->GetCount(); i < sz; i++) { in SaveData()
114 if (pListBox->IsItemSelected(i)) in SaveData()
[all …]