Lines Matching refs:pEntry
1049 FmFilterItemsString( SvLBoxEntry* pEntry, sal_uInt16 nFlags, const XubString& rStr ) in FmFilterItemsString() argument
1050 :SvLBoxString(pEntry,nFlags,rStr){} in FmFilterItemsString()
1052 virtual void Paint(const Point& rPos, SvLBox& rDev, sal_uInt16 nFlags, SvLBoxEntry* pEntry);
1053 virtual void InitViewData( SvLBox* pView,SvLBoxEntry* pEntry, SvViewDataItem* pViewData);
1058 …terItemsString::Paint(const Point& rPos, SvLBox& rDev, sal_uInt16 /*nFlags*/, SvLBoxEntry* pEntry ) in Paint() argument
1060 FmFilterItems* pRow = (FmFilterItems*)pEntry->GetUserData(); in Paint()
1071 Rectangle aRect( rPos, GetSize( &rDev, pEntry ) ); in Paint()
1091 void FmFilterItemsString::InitViewData( SvLBox* pView,SvLBoxEntry* pEntry, SvViewDataItem* pViewDat… in InitViewData() argument
1094 pViewData = pView->GetViewDataItem( pEntry, this ); in InitViewData()
1109 …FmFilterString( SvLBoxEntry* pEntry, sal_uInt16 nFlags, const XubString& rStr, const UniString& aN… in FmFilterString() argument
1110 :SvLBoxString(pEntry,nFlags,rStr) in FmFilterString()
1116 virtual void Paint(const Point& rPos, SvLBox& rDev, sal_uInt16 nFlags, SvLBoxEntry* pEntry);
1117 virtual void InitViewData( SvLBox* pView,SvLBoxEntry* pEntry, SvViewDataItem* pViewData);
1123 void FmFilterString::InitViewData( SvLBox* pView,SvLBoxEntry* pEntry, SvViewDataItem* pViewData) in InitViewData() argument
1126 pViewData = pView->GetViewDataItem( pEntry, this ); in InitViewData()
1221 SvLBoxEntry* pEntry = FindEntry(m_pModel->GetCurrentForm()); in UpdateContent() local
1222 if (pEntry && !IsExpanded(pEntry)) in UpdateContent()
1226 if (!IsExpanded(pEntry)) in UpdateContent()
1227 Expand(pEntry); in UpdateContent()
1229 pEntry = FindEntry(m_pModel->GetCurrentItems()); in UpdateContent()
1230 if (pEntry) in UpdateContent()
1232 if (!IsExpanded(pEntry)) in UpdateContent()
1233 Expand(pEntry); in UpdateContent()
1234 Select(pEntry, sal_True); in UpdateContent()
1240 sal_Bool FmFilterNavigator::EditingEntry( SvLBoxEntry* pEntry, Selection& rSelection ) in EditingEntry() argument
1242 m_pEditingCurrently = pEntry; in EditingEntry()
1243 if (!SvTreeListBox::EditingEntry( pEntry, rSelection )) in EditingEntry()
1246 return pEntry && ((FmFilterData*)pEntry->GetUserData())->ISA(FmFilterItem); in EditingEntry()
1250 sal_Bool FmFilterNavigator::EditedEntry( SvLBoxEntry* pEntry, const XubString& rNewText ) in EditedEntry() argument
1252 DBG_ASSERT(pEntry == m_pEditingCurrently, "FmFilterNavigator::EditedEntry: suspicious entry!"); in EditedEntry()
1258 DBG_ASSERT(((FmFilterData*)pEntry->GetUserData())->ISA(FmFilterItem), in EditedEntry()
1268 PostUserEvent(nEvent, LINK(this, FmFilterNavigator, OnRemove), pEntry); in EditedEntry()
1274 if (m_pModel->ValidateText((FmFilterItem*)pEntry->GetUserData(), aText, aErrorMsg)) in EditedEntry()
1279 m_pModel->SetTextForItem( static_cast< FmFilterItem* >( pEntry->GetUserData() ), aText ); in EditedEntry()
1281 SetCursor( pEntry, sal_True ); in EditedEntry()
1282 SetEntryText( pEntry, aText ); in EditedEntry()
1299 IMPL_LINK( FmFilterNavigator, OnRemove, SvLBoxEntry*, pEntry ) in IMPL_LINK() argument
1302 m_pModel->Remove((FmFilterData*) pEntry->GetUserData()); in IMPL_LINK()
1466 SvLBoxEntry* pEntry = FindEntry(pTargetItems); in ExecuteDrop() local
1467 Select(pEntry, sal_True); in ExecuteDrop()
1468 SetCurEntry(pEntry); in ExecuteDrop()
1476 void FmFilterNavigator::InitEntry(SvLBoxEntry* pEntry, in InitEntry() argument
1482 SvTreeListBox::InitEntry( pEntry, rStr, rImg1, rImg2, eButtonKind ); in InitEntry()
1485 if (((FmFilterData*)pEntry->GetUserData())->ISA(FmFilterItem)) in InitEntry()
1486 …pString = new FmFilterString(pEntry, 0, rStr, ((FmFilterItem*)pEntry->GetUserData())->GetFieldName… in InitEntry()
1487 else if (((FmFilterData*)pEntry->GetUserData())->ISA(FmFilterItems)) in InitEntry()
1488 pString = new FmFilterItemsString(pEntry, 0, rStr ); in InitEntry()
1491 pEntry->ReplaceItem( pString, 1 ); in InitEntry()
1495 sal_Bool FmFilterNavigator::Select( SvLBoxEntry* pEntry, sal_Bool bSelect ) in Select() argument
1497 …if (bSelect == IsSelected(pEntry)) // das passiert manchmal, ich glaube, die Basisklasse geht zu s… in Select()
1500 if (SvTreeListBox::Select(pEntry, bSelect)) in Select()
1505 if (((FmFilterData*)pEntry->GetUserData())->ISA(FmFilterItem)) in Select()
1506 pFormItem = (FmFormItem*)((FmFilterItem*)pEntry->GetUserData())->GetParent()->GetParent(); in Select()
1507 else if (((FmFilterData*)pEntry->GetUserData())->ISA(FmFilterItems)) in Select()
1508 pFormItem = (FmFormItem*)((FmFilterItem*)pEntry->GetUserData())->GetParent()->GetParent(); in Select()
1509 else if (((FmFilterData*)pEntry->GetUserData())->ISA(FmFormItem)) in Select()
1510 pFormItem = (FmFormItem*)pEntry->GetUserData(); in Select()
1515 if (((FmFilterData*)pEntry->GetUserData())->ISA(FmFilterItem)) in Select()
1516 m_pModel->SetCurrentItems((FmFilterItems*)((FmFilterItem*)pEntry->GetUserData())->GetParent()); in Select()
1517 else if (((FmFilterData*)pEntry->GetUserData())->ISA(FmFilterItems)) in Select()
1518 m_pModel->SetCurrentItems((FmFilterItems*)pEntry->GetUserData()); in Select()
1519 else if (((FmFilterData*)pEntry->GetUserData())->ISA(FmFormItem)) in Select()
1520 m_pModel->SetCurrentController(((FmFormItem*)pEntry->GetUserData())->GetController()); in Select()
1549 SvLBoxEntry* pEntry = FindEntry(pHint->GetData()); in Notify() local
1550 if (pEntry) in Notify()
1551 SetEntryText( pEntry, pHint->GetData()->GetText()); in Notify()
1556 for (SvLBoxEntry* pEntry = First(); pEntry != NULL; in Notify() local
1557 pEntry = Next(pEntry)) in Notify()
1558 GetModel()->InvalidateEntry( pEntry ); in Notify()
1565 SvLBoxEntry* pEntry = NULL; in FindEntry() local
1568 for (pEntry = First(); pEntry != NULL; pEntry = Next( pEntry )) in FindEntry()
1570 FmFilterData* pEntryItem = (FmFilterData*)pEntry->GetUserData(); in FindEntry()
1575 return pEntry; in FindEntry()
1599 SvLBoxEntry* pEntry = FindEntry(pItem); in Remove() local
1601 if (pEntry == m_pEditingCurrently) in Remove()
1605 if (pEntry) in Remove()
1606 GetModel()->Remove( pEntry ); in Remove()
1616 for (SvLBoxEntry* pEntry = FirstSelected(); in getSelectedFilterItems() local
1617 bHandled && pEntry != NULL; in getSelectedFilterItems()
1618 pEntry = NextSelected(pEntry)) in getSelectedFilterItems()
1620 FmFilterItem* pFilter = PTR_CAST(FmFilterItem, (FmFilterData*)pEntry->GetUserData()); in getSelectedFilterItems()
1724 for (SvLBoxEntry* pEntry = FirstSelected(); in Command() local
1725 pEntry != NULL; in Command()
1726 pEntry = NextSelected(pEntry)) in Command()
1729 FmFormItem* pForm = PTR_CAST(FmFormItem, (FmFilterData*)pEntry->GetUserData()); in Command()
1731 aSelectList.push_back((FmFilterData*)pEntry->GetUserData()); in Command()
1795 SvLBoxEntry* pEntry = _pStartWith ? _pStartWith : LastSelected(); in getNextEntry() local
1796 pEntry = Next(pEntry); in getNextEntry()
1798 while( pEntry && GetChildCount( pEntry ) == 0 && pEntry != Last() ) in getNextEntry()
1799 pEntry = Next(pEntry); in getNextEntry()
1800 return pEntry; in getNextEntry()
1805 SvLBoxEntry* pEntry = _pStartWith ? _pStartWith : FirstSelected(); in getPrevEntry() local
1806 pEntry = Prev(pEntry); in getPrevEntry()
1808 if ( pEntry && GetChildCount( pEntry ) != 0 ) in getPrevEntry()
1810 pEntry = Prev(pEntry); in getPrevEntry()
1812 if ( pEntry && GetChildCount( pEntry ) != 0 ) in getPrevEntry()
1813 pEntry = NULL; in getPrevEntry()
1815 return pEntry; in getPrevEntry()
1907 for (SvLBoxEntry* pEntry = FirstSelected(); in DeleteSelection() local
1908 pEntry != NULL; in DeleteSelection()
1909 pEntry = NextSelected(pEntry)) in DeleteSelection()
1911 FmFilterItem* pFilterItem = PTR_CAST(FmFilterItem, (FmFilterData*)pEntry->GetUserData()); in DeleteSelection()
1912 if (pFilterItem && IsSelected(GetParent(pEntry))) in DeleteSelection()
1915 FmFormItem* pForm = PTR_CAST(FmFormItem, (FmFilterData*)pEntry->GetUserData()); in DeleteSelection()
1917 aEntryList.push_back(pEntry); in DeleteSelection()