Lines Matching refs:nItemId
371 sal_Int16 nItemId, in insertItem() argument
381 mpMenu->InsertItem( nItemId, aText, (MenuItemBits)nItemStyle, nPos ); in insertItem()
432 sal_Int16 nItemId, in enableItem() argument
440 mpMenu->EnableItem( nItemId, bEnable ); in enableItem()
444 sal_Int16 nItemId ) in isItemEnabled() argument
450 return mpMenu ? mpMenu->IsItemEnabled( nItemId ) : sal_False; in isItemEnabled()
454 sal_Int16 nItemId, in setItemText() argument
462 mpMenu->SetItemText( nItemId, aText ); in setItemText()
466 sal_Int16 nItemId ) in getItemText() argument
474 aItemText = mpMenu->GetItemText( nItemId ); in getItemText()
479 sal_Int16 nItemId, in setPopupMenu() argument
496 mpMenu->SetPopupMenu( nItemId, (PopupMenu*) pVCLMenu->GetMenu() ); in setPopupMenu()
501 sal_Int16 nItemId ) in getPopupMenu() argument
508 Menu* pMenu = mpMenu ? mpMenu->GetPopupMenu( nItemId ) : NULL; in getPopupMenu()
538 sal_Int16 nItemId ) in setDefaultItem() argument
545 mpMenu->SetDefaultItem( nItemId ); in setDefaultItem()
558 sal_Int16 nItemId, in checkItem() argument
566 mpMenu->CheckItem( nItemId, bCheck ); in checkItem()
570 sal_Int16 nItemId ) in isItemChecked() argument
576 return mpMenu ? mpMenu->IsItemChecked( nItemId ) : sal_False; in isItemChecked()
600 sal_Int16 nItemId, in setCommand() argument
608 mpMenu->SetItemCommand( nItemId, aCommand ); in setCommand()
612 sal_Int16 nItemId ) in getCommand() argument
620 aItemCommand = mpMenu->GetItemCommand( nItemId ); in getCommand()
625 sal_Int16 nItemId, in setHelpCommand() argument
633 mpMenu->SetHelpCommand( nItemId, aHelp ); in setHelpCommand()
637 sal_Int16 nItemId ) in getHelpCommand() argument
645 aHelpCommand = mpMenu->GetHelpCommand( nItemId ); in getHelpCommand()
812 ::sal_Int16 nItemId, in setAcceleratorKeyEvent() argument
819 if ( mpMenu && IsPopupMenu() && MENU_ITEM_NOTFOUND != mpMenu->GetItemPos( nItemId ) ) in setAcceleratorKeyEvent()
822 mpMenu->SetAccelKey( nItemId, aVCLKeyCode ); in setAcceleratorKeyEvent()
828 ::sal_Int16 nItemId ) in getAcceleratorKeyEvent() argument
835 if ( mpMenu && IsPopupMenu() && MENU_ITEM_NOTFOUND != mpMenu->GetItemPos( nItemId ) ) in getAcceleratorKeyEvent()
837 KeyCode nKeyCode = mpMenu->GetAccelKey( nItemId ); in getAcceleratorKeyEvent()
846 ::sal_Int16 nItemId, in setHelpText() argument
853 if ( mpMenu && MENU_ITEM_NOTFOUND != mpMenu->GetItemPos( nItemId ) ) in setHelpText()
855 mpMenu->SetHelpText( nItemId, sHelpText ); in setHelpText()
861 ::sal_Int16 nItemId ) in getHelpText() argument
868 if ( mpMenu && MENU_ITEM_NOTFOUND != mpMenu->GetItemPos( nItemId ) ) in getHelpText()
870 sHelpText = mpMenu->GetHelpText( nItemId ); in getHelpText()
878 ::sal_Int16 nItemId, in setTipHelpText() argument
885 if ( mpMenu && MENU_ITEM_NOTFOUND != mpMenu->GetItemPos( nItemId ) ) in setTipHelpText()
887 mpMenu->SetTipHelpText( nItemId, sTipHelpText ); in setTipHelpText()
893 ::sal_Int16 nItemId ) in getTipHelpText() argument
900 if ( mpMenu && MENU_ITEM_NOTFOUND != mpMenu->GetItemPos( nItemId ) ) in getTipHelpText()
902 sTipHelpText = mpMenu->GetTipHelpText( nItemId ); in getTipHelpText()
909 ::sal_Int16 nItemId, in setItemImage() argument
917 if ( mpMenu && IsPopupMenu() && MENU_ITEM_NOTFOUND != mpMenu->GetItemPos( nItemId ) ) in setItemImage()
920 mpMenu->SetItemImage( nItemId, aImage ); in setItemImage()
927 ::sal_Int16 nItemId ) in getItemImage() argument
935 if ( mpMenu && IsPopupMenu() && MENU_ITEM_NOTFOUND != mpMenu->GetItemPos( nItemId ) ) in getItemImage()
937 Image aImage = mpMenu->GetItemImage( nItemId ); in getItemImage()