• Home
  • Raw
  • Download

Lines Matching refs:nIndex

304         int nIndex = pFormField->GetSelectedIndex(i);  in Synchronize()  local
305 if (nIndex > -1 && nIndex < pWidgetAcc->CountChoiceListItems(false)) in Synchronize()
306 pWidgetAcc->SetItemState(nIndex, true, false, false, true); in Synchronize()
314 int nIndex = pFormField->GetSelectedIndex(i); in Synchronize() local
315 if (nIndex > -1 && nIndex < pWidgetAcc->CountChoiceListItems(false)) in Synchronize()
316 pWidgetAcc->SetItemState(nIndex, true, false, false, true); in Synchronize()
395 int nIndex = pWidgetAcc->GetSelectedItem(i); in SynchronizeXFAValue() local
397 if (nIndex > -1 && nIndex < pFormField->CountOptions()) { in SynchronizeXFAValue()
398 pFormField->SetItemSelection(nIndex, true, true); in SynchronizeXFAValue()
409 int nIndex = pWidgetAcc->GetSelectedItem(i); in SynchronizeXFAValue() local
411 if (nIndex > -1 && nIndex < pFormField->CountOptions()) { in SynchronizeXFAValue()
412 pFormField->SetItemSelection(nIndex, true, true); in SynchronizeXFAValue()
599 int CPDFSDK_Widget::GetSelectedIndex(int nIndex) const { in GetSelectedIndex()
603 if (nIndex < pWidgetAcc->CountSelectedItems()) in GetSelectedIndex()
604 return pWidgetAcc->GetSelectedItem(nIndex); in GetSelectedIndex()
609 return pFormField->GetSelectedIndex(nIndex); in GetSelectedIndex()
632 WideString CPDFSDK_Widget::GetOptionLabel(int nIndex) const {
634 return pFormField->GetOptionLabel(nIndex);
642 bool CPDFSDK_Widget::IsOptionSelected(int nIndex) const {
646 if (nIndex > -1 && nIndex < pWidgetAcc->CountChoiceListItems(false))
647 return pWidgetAcc->GetItemState(nIndex);
654 return pFormField->IsItemSelected(nIndex);