Lines Matching refs:nItemId
664 const sal_uIntPtr nItemId = ImplGetSelectedItemId( &rEvt.maPosPixel, aSelPos ); in ExecuteDrop() local
665 const sal_uIntPtr nInsertPos = ( nItemId ? ( nItemId - 1 ) : LIST_APPEND ); in ExecuteDrop()
683 const sal_uIntPtr nItemId = ImplGetSelectedItemId( pDragPoint, aSelPos ); in StartDrag() local
685 if( nItemId ) in StartDrag()
686 mpCurTheme->StartDrag( this, nItemId - 1 ); in StartDrag()
703 const sal_uIntPtr nItemId = ImplGetSelectedItemId( pContextPoint, aSelPos ); in ShowContextMenu() local
705 if( mpCurTheme && nItemId && ( nItemId <= mpCurTheme->GetObjectCount() ) ) in ShowContextMenu()
707 ImplSelectItemId( nItemId ); in ShowContextMenu()
712 mnCurActionPos = nItemId - 1; in ShowContextMenu()
729 const sal_uIntPtr nItemId = ImplGetSelectedItemId( NULL, aSelPos ); in KeyInput() local
741 if( !bRet && !maViewBox.HasFocus() && nItemId && mpCurTheme ) in KeyInput()
744 const SgaObjKind eObjKind = mpCurTheme->GetObjectKind( nItemId - 1 ); in KeyInput()
747 const_cast< GalleryTheme* >( mpCurTheme )->GetURL( nItemId - 1, aURL ); in KeyInput()
914 const sal_uIntPtr nItemId = ImplGetSelectedItemId( NULL, aSelPos ); in SetMode() local
916 if( nItemId ) in SetMode()
918 const sal_uIntPtr nPos = nItemId - 1; in SetMode()
972 const sal_uIntPtr nItemId = ImplGetSelectedItemId( NULL, aSelPos ); in Travel() local
974 if( nItemId ) in Travel()
976 sal_uIntPtr nNewItemId = nItemId; in Travel()
993 if( nNewItemId != nItemId ) in Travel()
1060 const sal_uIntPtr nItemId = ImplGetSelectedItemId( NULL, aSelPos ); in ImplUpdateInfoBar() local
1062 if( nItemId ) in ImplUpdateInfoBar()
1064 const sal_uIntPtr nPos = nItemId - 1; in ImplUpdateInfoBar()
1140 void GalleryBrowser2::ImplSelectItemId( sal_uIntPtr nItemId ) in ImplSelectItemId() argument
1142 if( nItemId ) in ImplSelectItemId()
1145 mpIconView->SelectItem( (sal_uInt16) nItemId ); in ImplSelectItemId()
1146 mpListView->SelectRow( nItemId - 1 ); in ImplSelectItemId()
1172 const sal_uIntPtr nItemId = ImplGetSelectedItemId( NULL, aSelPos ); in Dispatch() local
1174 if( !mpCurTheme || !nItemId ) in Dispatch()
1177 mnCurActionPos = nItemId - 1; in Dispatch()
1282 const sal_uIntPtr nItemId = ImplGetSelectedItemId( NULL, aSelPos ); in Execute() local
1284 if( mpCurTheme && nItemId ) in Execute()
1286 mnCurActionPos = nItemId - 1; in Execute()