Lines Matching refs:nDepth
1735 sal_uInt16 nDepth = pFocusBox->GetModel()->GetDepth(pEntry); in DontDelete_Impl() local
1738 nDepth++; in DontDelete_Impl()
1739 if( (nDepth > 2 && !pEntry->GetUserData()) || in DontDelete_Impl()
1741 nDepth==2 || //Vorlage / Konfigurtionsrubrik nicht loeshcen in DontDelete_Impl()
1742 (nDepth==1 && SfxOrganizeListBox_Impl::VIEW_FILES == in DontDelete_Impl()
1744 (0 == nDepth && pFocusBox->GetLevelCount_Impl(0) < 2)) in DontDelete_Impl()
1859 const sal_uInt16 nDepth = pFocusBox->GetModel()->GetDepth(pEntry); in Dispatch_Impl() local
1860 if(nDepth < 2) in Dispatch_Impl()
1862 if(0 == nDepth && pFocusBox->GetLevelCount_Impl(0) < 2) return 1; in Dispatch_Impl()
1865 sal_uInt16 nResId = nDepth? STR_DELETE_TEMPLATE : in Dispatch_Impl()
1889 else if(nDepth + pFocusBox->GetDocLevel() >= 2) in Dispatch_Impl()
2095 const sal_uInt16 nDepth = in IMPL_LINK() local
2100 …pMenu->EnableItem( ID_NEW, bEnable && 0 == nDepth && SfxOrganizeListBox_Impl::VIEW_TEMPLATES == eV… in IMPL_LINK()
2107 bEnable && eVT == SfxOrganizeListBox_Impl::VIEW_TEMPLATES && nDepth == nDocLevel in IMPL_LINK()
2111 ( nDepth == nDocLevel || nDepth == nDocLevel - 1 ) ); in IMPL_LINK()
2114 nDepth == nDocLevel ); in IMPL_LINK()
2118 sal_Bool bPrint = bEnable && nDepth > pFocusBox->GetDocLevel(); in IMPL_LINK()
2130 if ( bEnable && eVT == SfxOrganizeListBox_Impl::VIEW_TEMPLATES && nDepth == nDocLevel ) in IMPL_LINK()