Lines Matching refs:pMenu
348 PopupMenu *pMenu = new PopupMenu; in IMPL_LINK() local
366 pMenu->InsertItem( nID, String( SdResId( nRId ) ) ); in IMPL_LINK()
367 pMenu->SetHelpId( nID, aHIDs[nID - NAVIGATOR_DRAGTYPE_URL] ); in IMPL_LINK()
375 pMenu->EnableItem( NAVIGATOR_DRAGTYPE_LINK, sal_False ); in IMPL_LINK()
376 pMenu->EnableItem( NAVIGATOR_DRAGTYPE_URL, sal_False ); in IMPL_LINK()
380 pMenu->CheckItem( (sal_uInt16)meDragType ); in IMPL_LINK()
381 pMenu->SetSelectHdl( LINK( this, SdNavigatorWin, MenuSelectHdl ) ); in IMPL_LINK()
383 pMenu->Execute( this, maToolbox.GetItemRect( nId ), POPUPMENU_EXECUTE_DOWN ); in IMPL_LINK()
385 delete pMenu; in IMPL_LINK()
391 PopupMenu *pMenu = new PopupMenu; in IMPL_LINK() local
393 pMenu->InsertItem( in IMPL_LINK()
396 pMenu->InsertItem( in IMPL_LINK()
401 pMenu->CheckItem(nShowAllShapesFilter); in IMPL_LINK()
403 pMenu->CheckItem(nShowNamedShapesFilter); in IMPL_LINK()
404 pMenu->SetSelectHdl( LINK( this, SdNavigatorWin, ShapeFilterCallback ) ); in IMPL_LINK()
406 pMenu->Execute( this, maToolbox.GetItemRect( nId ), POPUPMENU_EXECUTE_DOWN ); in IMPL_LINK()
408 delete pMenu; in IMPL_LINK()
507 IMPL_LINK( SdNavigatorWin, MenuSelectHdl, Menu *, pMenu ) in IMPL_LINK() argument
510 if( pMenu ) in IMPL_LINK()
511 nMenuId = pMenu->GetCurItemId(); in IMPL_LINK()
541 IMPL_LINK( SdNavigatorWin, ShapeFilterCallback, Menu *, pMenu ) in IMPL_LINK() argument
543 if (pMenu != NULL) in IMPL_LINK()
546 sal_uInt16 nMenuId (pMenu->GetCurItemId()); in IMPL_LINK()