Lines Matching refs:pFocusBox
133 SfxOrganizeListBox_Impl* pFocusBox; member in SfxOrganizeDlg_Impl
202 pFocusBox ( NULL ), in SfxOrganizeDlg_Impl()
1735 sal_uInt16 nDepth = pFocusBox->GetModel()->GetDepth(pEntry); in DontDelete_Impl()
1737 pFocusBox->GetViewType()) in DontDelete_Impl()
1743 pFocusBox->GetViewType()) || //Files nicht loeschen in DontDelete_Impl()
1744 (0 == nDepth && pFocusBox->GetLevelCount_Impl(0) < 2)) in DontDelete_Impl()
1751 GetIndices_Impl( pFocusBox, pEntry, nRegion, nIndex ); in DontDelete_Impl()
1783 SvLBoxEntry* pEntry = pFocusBox ? pFocusBox->FirstSelected() : NULL; in GetServiceName_Impl()
1785 GetIndices_Impl( pFocusBox, pEntry, nRegion, nIndex ); in GetServiceName_Impl()
1827 SvLBoxEntry *pEntry = pFocusBox? pFocusBox->FirstSelected(): 0; in Dispatch_Impl()
1835 if(pFocusBox->GetViewType() == SfxOrganizeListBox_Impl::VIEW_TEMPLATES) in Dispatch_Impl()
1837 if(0 == pFocusBox->GetModel()->GetDepth(pEntry)) in Dispatch_Impl()
1840 SvLBoxEntry* pParent = pFocusBox->GetParent(pEntry); in Dispatch_Impl()
1843 while(!pFocusBox->IsUniqName_Impl(aName, pParent)) in Dispatch_Impl()
1848 aMgr.InsertDir( pFocusBox, aName, in Dispatch_Impl()
1849 (sal_uInt16)pFocusBox->GetModel()->GetRelPos(pEntry)+1); in Dispatch_Impl()
1859 const sal_uInt16 nDepth = pFocusBox->GetModel()->GetDepth(pEntry); in Dispatch_Impl()
1862 if(0 == nDepth && pFocusBox->GetLevelCount_Impl(0) < 2) return 1; in Dispatch_Impl()
1863 if(SfxOrganizeListBox_Impl::VIEW_TEMPLATES == pFocusBox->GetViewType()) in Dispatch_Impl()
1868 pDialog, nResId, pFocusBox->GetEntryText(pEntry))) in Dispatch_Impl()
1871 pFocusBox->GetChildCount(pEntry)) in Dispatch_Impl()
1878 GetIndices_Impl(pFocusBox, pEntry, nRegion, nIndex); in Dispatch_Impl()
1881 if ( !aMgr.Delete( pFocusBox, nRegion, nDeleteInd ) ) in Dispatch_Impl()
1884 pFocusBox->GetEntryText(pEntry), in Dispatch_Impl()
1885 ( nDeleteInd == USHRT_MAX && pFocusBox->GetChildCount(pEntry) ) ); in Dispatch_Impl()
1889 else if(nDepth + pFocusBox->GetDocLevel() >= 2) in Dispatch_Impl()
1891 if(!QueryDelete_Impl(pDialog, STR_DELETE_TEMPLATE, pFocusBox->GetEntryText(pEntry))) in Dispatch_Impl()
1893 Path aPath(pFocusBox, pEntry); in Dispatch_Impl()
1897 SfxObjectShellRef aRef = pFocusBox->GetObjectShell(aPath); in Dispatch_Impl()
1899 aRef->Remove(aPath[1+pFocusBox->GetDocLevel()], in Dispatch_Impl()
1900 aPath[2+pFocusBox->GetDocLevel()], in Dispatch_Impl()
1901 aPath[3+pFocusBox->GetDocLevel()])) in Dispatch_Impl()
1902 pFocusBox->GetModel()->Remove(pEntry); in Dispatch_Impl()
1904 ErrorDelete_Impl(pDialog, pFocusBox->GetEntryText(pEntry), sal_False ); in Dispatch_Impl()
1914 GetIndices_Impl( pFocusBox, pEntry, nRegion, nIndex ); in Dispatch_Impl()
1916 const SfxStringItem aLongName( SID_FILE_LONGNAME, pFocusBox->GetEntryText( pEntry ) ); in Dispatch_Impl()
1933 GetIndices_Impl( pFocusBox, pEntry, m_nRegion, m_nIndex ); in Dispatch_Impl()
1944 GetIndices_Impl( pFocusBox, pEntry, m_nRegion, m_nIndex ); in Dispatch_Impl()
1962 Path aPath( pFocusBox, pEntry ); in Dispatch_Impl()
1966 SfxObjectShellRef aRef = pFocusBox->GetObjectShell( aPath ); in Dispatch_Impl()
1969 const sal_uInt16 nDocLevel = pFocusBox->GetDocLevel(); in Dispatch_Impl()
1973 while ( pFocusBox->GetModel()->GetDepth( pDocEntry ) > nDocLevel ) in Dispatch_Impl()
1974 pDocEntry = pFocusBox->GetParent( pDocEntry ); in Dispatch_Impl()
1975 const String aName(pFocusBox->GetEntryText(pDocEntry)); in Dispatch_Impl()
2059 SvLBoxEntry* pEntry = pFocusBox && pFocusBox->GetSelectionCount() ? in IMPL_LINK_INLINE_END()
2060 pFocusBox->FirstSelected() : NULL ; in IMPL_LINK_INLINE_END()
2069 if(pFocusBox && pFocusBox->IsEditingActive()) in OkHdl()
2070 pFocusBox->EndEditing(sal_False); in OkHdl()
2091 if ( pFocusBox && pFocusBox->IsEditingActive() ) in IMPL_LINK()
2092 pFocusBox->EndEditing( sal_False ); in IMPL_LINK()
2093 sal_Bool bEnable = ( pFocusBox && pFocusBox->GetSelectionCount() ); in IMPL_LINK()
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()
2098 int eVT = pFocusBox ? pFocusBox->GetViewType() : 0; in IMPL_LINK()
2118 sal_Bool bPrint = bEnable && nDepth > pFocusBox->GetDocLevel(); in IMPL_LINK()
2124 Path aPath( pFocusBox, pFocusBox->FirstSelected() ); in IMPL_LINK()
2185 if(pFocusBox && pFocusBox != pBox) in IMPL_LINK()
2186 pFocusBox->SelectAll(sal_False); in IMPL_LINK()
2187 pFocusBox = pBox; in IMPL_LINK()
2189 pFocusBox->GetViewType() ); in IMPL_LINK()
2380 if ( aPath.Len() && !aMgr.CopyFrom( pFocusBox, m_nRegion, m_nIndex, aPath ) ) in IMPL_LINK()
2398 if ( aPath.Len() && !aMgr.CopyFrom( pFocusBox, m_nRegion, m_nIndex, aPath ) ) in IMPL_LINK()
2417 aMgr.InsertFile( pFocusBox, aPath ); in IMPL_LINK()