Lines Matching refs:bEnable
2093 sal_Bool bEnable = ( pFocusBox && pFocusBox->GetSelectionCount() ); in IMPL_LINK() local
2094 SvLBoxEntry* pEntry = bEnable ? pFocusBox->FirstSelected() : NULL; in IMPL_LINK()
2096 ( bEnable && pFocusBox->GetSelectionCount() ) ? pFocusBox->GetModel()->GetDepth( pEntry ) : 0; in IMPL_LINK()
2097 const sal_uInt16 nDocLevel = bEnable ? pFocusBox->GetDocLevel() : 0; in IMPL_LINK()
2100 …pMenu->EnableItem( ID_NEW, bEnable && 0 == nDepth && SfxOrganizeListBox_Impl::VIEW_TEMPLATES == eV… in IMPL_LINK()
2105 pMenu->EnableItem( ID_DELETE, bEnable && !DontDelete_Impl( pEntry ) ); in IMPL_LINK()
2107 bEnable && eVT == SfxOrganizeListBox_Impl::VIEW_TEMPLATES && nDepth == nDocLevel in IMPL_LINK()
2110 bEnable && eVT == SfxOrganizeListBox_Impl::VIEW_TEMPLATES && in IMPL_LINK()
2113 bEnable && eVT == SfxOrganizeListBox_Impl::VIEW_TEMPLATES && in IMPL_LINK()
2118 sal_Bool bPrint = bEnable && nDepth > pFocusBox->GetDocLevel(); in IMPL_LINK()
2121 if ( bPrint && bEnable ) in IMPL_LINK()
2130 if ( bEnable && eVT == SfxOrganizeListBox_Impl::VIEW_TEMPLATES && nDepth == nDocLevel ) in IMPL_LINK()
2133 bEnable = GetServiceName_Impl( aFactoryURL, aFileURL ); in IMPL_LINK()
2135 else if ( bEnable ) in IMPL_LINK()
2136 bEnable = sal_False; in IMPL_LINK()
2137 pMenu->EnableItem( ID_DEFAULT_TEMPLATE, bEnable ); in IMPL_LINK()
2139 bEnable = sal_True; in IMPL_LINK()
2159 bEnable = sal_False; in IMPL_LINK()
2162 pMenu->EnableItem( ID_RESET_DEFAULT_TEMPLATE, bEnable ); in IMPL_LINK()