Lines Matching refs:pChilds
45 pChilds = 0; in SvListEntry()
54 pChilds = 0; in SvListEntry()
64 if ( pChilds ) in ~SvListEntry()
66 pChilds->DestroyAll(); in ~SvListEntry()
67 delete pChilds; in ~SvListEntry()
70 pChilds = 0; in ~SvListEntry()
85 if( pChilds ) in SetListPositions()
87 SvListEntry *pEntry = (SvListEntry*)pChilds->First(); in SetListPositions()
94 pEntry = (SvListEntry*)pChilds->Next(); in SetListPositions()
262 SvTreeEntryList* pRootList = pRootItem->pChilds; in Clear()
271 delete pRootItem->pChilds; in Clear()
272 pRootItem->pChilds = 0; in Clear()
295 SvTreeEntryList* pList = pParent->pChilds; in IsChild()
305 if ( pActualChild->pChilds ) in IsChild()
323 if ( !pTargetParent->pChilds ) in Move()
324 pTargetParent->pChilds = new SvTreeEntryList; in Move()
330 SvTreeEntryList* pDstList = pTargetParent->pChilds; in Move()
331 SvTreeEntryList* pSrcList = pSrcEntry->pParent->pChilds; in Move()
344 pParent->pChilds = 0; in Move()
376 if ( !pTargetParent->pChilds ) in Copy()
377 pTargetParent->pChilds = new SvTreeEntryList; in Copy()
385 SvTreeEntryList* pDstList = pTargetParent->pChilds; in Copy()
494 if ( !pTargetParent->pChilds ) in InsertTree()
495 pTargetParent->pChilds = new SvTreeEntryList; in InsertTree()
503 SvTreeEntryList* pDstList = pTargetParent->pChilds; in InsertTree()
543 SvTreeEntryList* pChilds = pEntry->pChilds; in Clone() local
544 if ( pChilds ) in Clone()
545 pClonedEntry->pChilds=CloneChilds(pChilds,pClonedEntry,nCloneCount); in Clone()
559 SvTreeEntryList* SvTreeList::CloneChilds( SvTreeEntryList* pChilds, in CloneChilds() argument
563 DBG_ASSERT(pChilds->Count(),"Childs?"); in CloneChilds()
565 SvListEntry* pChild = (SvListEntry*)pChilds->First(); in CloneChilds()
571 SvTreeEntryList* pSubChilds = pChild->pChilds; in CloneChilds()
575 pNewChild->pChilds = pSubChilds; in CloneChilds()
579 pChild = (SvListEntry*)pChilds->Next(); in CloneChilds()
600 if ( !pParent || !pParent->pChilds) in GetChildCount()
629 if ( !pParent || !pView->IsExpanded(pParent) || !pParent->pChilds ) in GetVisibleChildCount()
648 if ( !pParent || !pParent->pChilds) in GetChildSelectionCount()
677 return (SvListEntry*)(pRootItem->pChilds->GetObject(0)); in First()
705 SvTreeEntryList* pActualList = pActEntry->pParent->pChilds; in Next()
708 if ( pActEntry->pChilds /* && pActEntry->pChilds->Count() */ ) in Next()
711 pActEntry = (SvListEntry*)(pActEntry->pChilds->GetObject(0)); in Next()
730 pActualList = pParent->pParent->pChilds; in Next()
767 SvTreeEntryList* pActualList = pActEntry->pParent->pChilds; in Prev()
773 while( pActEntry->pChilds /* && pActEntry->pChilds->Count() */ ) in Prev()
775 pActualList = pActEntry->pChilds; in Prev()
810 SvTreeEntryList* pActList = pRootItem->pChilds; in Last()
817 pActList = pEntry->pChilds; in Last()
914 SvTreeEntryList* pActualList = pActEntry->pParent->pChilds; in NextVisible()
919 DBG_ASSERT(pActEntry->pChilds,"Childs?"); in NextVisible()
921 pActEntry = (SvListEntry*)(pActEntry->pChilds->GetObject(0)); in NextVisible()
940 pActualList = pParent->pParent->pChilds; in NextVisible()
982 SvTreeEntryList* pActualList = pActEntry->pParent->pChilds; in PrevVisible()
990 pActualList = pActEntry->pChilds; in PrevVisible()
1124 if ( pParent->pChilds ) in FirstChild()
1125 pResult = (SvListEntry*)(pParent->pChilds->GetObject( 0 )); in FirstChild()
1136 SvTreeEntryList* pList = pEntry->pParent->pChilds; in NextSibling()
1150 SvTreeEntryList* pList = pEntry->pParent->pChilds; in PrevSibling()
1167 SvTreeEntryList* pSibs = pEntry->pParent->pChilds; in LastSibling()
1250 SvTreeEntryList* pList = pParent->pChilds; in Insert()
1255 pParent->pChilds = pList; in Insert()
1338 DBG_ASSERT(pEntry->pChilds,"Expand:No Childs!"); in Expand()
1370 DBG_ASSERT(pEntry->pChilds,"Collapse:No Childs!"); in Collapse()
1455 SvTreeEntryList* pList = pParent->pChilds; in Remove()
1476 pParent->pChilds = 0; in Remove()
1508 if ( !pParent->pChilds ) in SelectChilds()
1510 if ( pParent->pChilds->Count() == 0 ) in SelectChilds()
1608 if ( pParent->pChilds ) in IsInChildList()
1609 bIsChild = (sal_Bool)(pParent->pChilds->GetPos(pChild) != LIST_ENTRY_NOTFOUND); in IsInChildList()
1629 if ( pRootItem->pChilds ) in CheckIntegrity()
1631 lcl_CheckList( pRootItem->pChilds ); in CheckIntegrity()
1636 if ( pEntry->pChilds ) in CheckIntegrity()
1637 lcl_CheckList( pEntry->pChilds ); in CheckIntegrity()
1837 if( pParent != pModel->pRootItem && pParent->pChilds->Count() == 1 ) in ActionMoving()
1900 SvTreeEntryList* pChilds = pParent->pChilds; in RemoveViewData() local
1901 if( pChilds ) in RemoveViewData()
1903 SvListEntry* pCur = (SvListEntry*)pChilds->First(); in RemoveViewData()
1911 pCur = (SvListEntry*)pChilds->Next(); in RemoveViewData()
1950 pCurEntry->pChilds->Count() == 1 ) in ActionRemoving()
2045 List* pChildList = pParent->pChilds; in ResortChilds()
2058 if( pCurEntry->pChilds ) in ResortChilds()