Lines Matching refs:nItemId

1233 void Menu::InsertItem( sal_uInt16 nItemId, const XubString& rStr, MenuItemBits nItemBits, sal_uInt1…  in InsertItem()  argument
1235 DBG_ASSERT( nItemId, "Menu::InsertItem(): ItemId == 0" ); in InsertItem()
1236 DBG_ASSERT( GetItemPos( nItemId ) == MENU_ITEM_NOTFOUND, in InsertItem()
1244 MenuItemData* pData = pItemList->Insert( nItemId, MENUITEM_STRING, in InsertItem()
1262 void Menu::InsertItem( sal_uInt16 nItemId, const Image& rImage, in InsertItem() argument
1265 InsertItem( nItemId, ImplGetSVEmptyStr(), nItemBits, nPos ); in InsertItem()
1266 SetItemImage( nItemId, rImage ); in InsertItem()
1269 void Menu::InsertItem( sal_uInt16 nItemId, in InsertItem() argument
1273 InsertItem( nItemId, rStr, nItemBits, nPos ); in InsertItem()
1274 SetItemImage( nItemId, rImage ); in InsertItem()
1292 sal_uInt16 nItemId = 1; in InsertItem() local
1294 nItemId = sal::static_int_cast<sal_uInt16>(ReadLongRes()); in InsertItem()
1311 InsertItem( nItemId, aText, aBmp, nStatus, nPos ); in InsertItem()
1313 InsertItem( nItemId, aBmp, nStatus, nPos ); in InsertItem()
1318 InsertItem( nItemId, aText, nStatus, nPos ); in InsertItem()
1327 SetHelpText( nItemId, aHelpText ); in InsertItem()
1334 SetHelpId( nItemId, aHelpId ); in InsertItem()
1338 SetHelpText( nItemId, aHelpText ); in InsertItem()
1343 SetAccelKey( nItemId, KeyCode( ResId( (RSHEADER_TYPE*)GetClassRes(), *pMgr ) ) ); in InsertItem()
1349 CheckItem( nItemId, (sal_Bool)ReadShortRes() ); in InsertItem()
1354 EnableItem( nItemId, !(sal_Bool)ReadShortRes() ); in InsertItem()
1360 SetItemCommand( nItemId, aCommandStr ); in InsertItem()
1366 MenuItemData* pData = GetItemList()->GetData( nItemId ); in InsertItem()
1373 SetPopupMenu( nItemId, pSubMenu ); in InsertItem()
1551 sal_uInt16 Menu::GetItemPos( sal_uInt16 nItemId ) const in GetItemPos()
1554 MenuItemData* pData = pItemList->GetData( nItemId, nPos ); in GetItemPos()
1606 void Menu::SetItemBits( sal_uInt16 nItemId, MenuItemBits nBits ) in SetItemBits() argument
1608 MenuItemData* pData = pItemList->GetData( nItemId ); in SetItemBits()
1613 MenuItemBits Menu::GetItemBits( sal_uInt16 nItemId ) const in GetItemBits()
1616 MenuItemData* pData = pItemList->GetData( nItemId ); in GetItemBits()
1622 void Menu::SetUserValue( sal_uInt16 nItemId, sal_uLong nValue ) in SetUserValue() argument
1624 MenuItemData* pData = pItemList->GetData( nItemId ); in SetUserValue()
1629 sal_uLong Menu::GetUserValue( sal_uInt16 nItemId ) const in GetUserValue()
1631 MenuItemData* pData = pItemList->GetData( nItemId ); in GetUserValue()
1635 void Menu::SetPopupMenu( sal_uInt16 nItemId, PopupMenu* pMenu ) in SetPopupMenu() argument
1638 MenuItemData* pData = pItemList->GetData( nItemId, nPos ); in SetPopupMenu()
1667 PopupMenu* Menu::GetPopupMenu( sal_uInt16 nItemId ) const in GetPopupMenu()
1669 MenuItemData* pData = pItemList->GetData( nItemId ); in GetPopupMenu()
1677 void Menu::SetAccelKey( sal_uInt16 nItemId, const KeyCode& rKeyCode ) in SetAccelKey() argument
1680 MenuItemData* pData = pItemList->GetData( nItemId, nPos ); in SetAccelKey()
1695 KeyCode Menu::GetAccelKey( sal_uInt16 nItemId ) const in GetAccelKey()
1697 MenuItemData* pData = pItemList->GetData( nItemId ); in GetAccelKey()
1705 KeyEvent Menu::GetActivationKey( sal_uInt16 nItemId ) const in GetActivationKey()
1708 MenuItemData* pData = pItemList->GetData( nItemId ); in GetActivationKey()
1730 void Menu::CheckItem( sal_uInt16 nItemId, sal_Bool bCheck ) in CheckItem() argument
1733 MenuItemData* pData = pItemList->GetData( nItemId, nPos ); in CheckItem()
1795 sal_Bool Menu::IsItemChecked( sal_uInt16 nItemId ) const in IsItemChecked()
1798 MenuItemData* pData = pItemList->GetData( nItemId, nPos ); in IsItemChecked()
1806 void Menu::EnableItem( sal_uInt16 nItemId, sal_Bool bEnable ) in EnableItem() argument
1809 MenuItemData* pItemData = pItemList->GetData( nItemId, nPos ); in EnableItem()
1840 sal_Bool Menu::IsItemEnabled( sal_uInt16 nItemId ) const in IsItemEnabled()
1843 MenuItemData* pData = pItemList->GetData( nItemId, nPos ); in IsItemEnabled()
1851 void Menu::ShowItem( sal_uInt16 nItemId, sal_Bool bVisible ) in ShowItem() argument
1854 MenuItemData* pData = pItemList->GetData( nItemId, nPos ); in ShowItem()
1875 void Menu::SetItemText( sal_uInt16 nItemId, const XubString& rStr ) in SetItemText() argument
1878 MenuItemData* pData = pItemList->GetData( nItemId, nPos ); in SetItemText()
1904 XubString Menu::GetItemText( sal_uInt16 nItemId ) const in GetItemText()
1907 MenuItemData* pData = pItemList->GetData( nItemId, nPos ); in GetItemText()
1915 void Menu::SetItemImage( sal_uInt16 nItemId, const Image& rImage ) in SetItemImage() argument
1918 MenuItemData* pData = pItemList->GetData( nItemId, nPos ); in SetItemImage()
1941 void Menu::SetItemImageAngle( sal_uInt16 nItemId, long nAngle10 ) in SetItemImageAngle() argument
1944 MenuItemData* pData = pItemList->GetData( nItemId, nPos ); in SetItemImageAngle()
1968 void Menu::SetItemImageMirrorMode( sal_uInt16 nItemId, sal_Bool bMirror ) in SetItemImageMirrorMode() argument
1971 MenuItemData* pData = pItemList->GetData( nItemId, nPos ); in SetItemImageMirrorMode()
1986 Image Menu::GetItemImage( sal_uInt16 nItemId ) const in GetItemImage()
1988 MenuItemData* pData = pItemList->GetData( nItemId ); in GetItemImage()
1996 long Menu::GetItemImageAngle( sal_uInt16 nItemId ) const in GetItemImageAngle()
1998 MenuItemData* pData = pItemList->GetData( nItemId ); in GetItemImageAngle()
2006 sal_Bool Menu::GetItemImageMirrorMode( sal_uInt16 nItemId ) const in GetItemImageMirrorMode()
2008 MenuItemData* pData = pItemList->GetData( nItemId ); in GetItemImageMirrorMode()
2016 void Menu::SetItemCommand( sal_uInt16 nItemId, const String& rCommand ) in SetItemCommand() argument
2018 MenuItemData* pData = pItemList->GetData( nItemId ); in SetItemCommand()
2024 const XubString& Menu::GetItemCommand( sal_uInt16 nItemId ) const in GetItemCommand()
2026 MenuItemData* pData = pItemList->GetData( nItemId ); in GetItemCommand()
2034 void Menu::SetHelpCommand( sal_uInt16 nItemId, const XubString& rStr ) in SetHelpCommand() argument
2036 MenuItemData* pData = pItemList->GetData( nItemId ); in SetHelpCommand()
2042 const XubString& Menu::GetHelpCommand( sal_uInt16 nItemId ) const in GetHelpCommand()
2044 MenuItemData* pData = pItemList->GetData( nItemId ); in GetHelpCommand()
2052 void Menu::SetHelpText( sal_uInt16 nItemId, const XubString& rStr ) in SetHelpText() argument
2054 MenuItemData* pData = pItemList->GetData( nItemId ); in SetHelpText()
2060 const XubString& Menu::ImplGetHelpText( sal_uInt16 nItemId ) const in ImplGetHelpText()
2062 MenuItemData* pData = pItemList->GetData( nItemId ); in ImplGetHelpText()
2086 const XubString& Menu::GetHelpText( sal_uInt16 nItemId ) const in GetHelpText()
2088 return ImplGetHelpText( nItemId ); in GetHelpText()
2091 void Menu::SetTipHelpText( sal_uInt16 nItemId, const XubString& rStr ) in SetTipHelpText() argument
2093 MenuItemData* pData = pItemList->GetData( nItemId ); in SetTipHelpText()
2099 const XubString& Menu::GetTipHelpText( sal_uInt16 nItemId ) const in GetTipHelpText()
2101 MenuItemData* pData = pItemList->GetData( nItemId ); in GetTipHelpText()
2109 void Menu::SetHelpId( sal_uInt16 nItemId, const rtl::OString& rHelpId ) in SetHelpId() argument
2111 MenuItemData* pData = pItemList->GetData( nItemId ); in SetHelpId()
2117 rtl::OString Menu::GetHelpId( sal_uInt16 nItemId ) const in GetHelpId()
2121 MenuItemData* pData = pItemList->GetData( nItemId ); in GetHelpId()
2224 sal_Bool Menu::IsItemVisible( sal_uInt16 nItemId ) const in IsItemVisible()
2226 return IsMenuVisible() && ImplIsVisible( GetItemPos( nItemId ) ); in IsItemVisible()
2251 void Menu::SelectItem( sal_uInt16 nItemId ) in SelectItem() argument
2254 static_cast<MenuBar*>(this)->SelectEntry( nItemId ); in SelectItem()
2256 static_cast<PopupMenu*>(this)->SelectEntry( nItemId ); in SelectItem()
2268 sal_uInt16 nItemId = pStartedFrom->GetItemId( i ); in GetAccessible() local
2269 if ( static_cast< Menu* >( pStartedFrom->GetPopupMenu( nItemId ) ) == this ) in GetAccessible()
3000 Menu* Menu::ImplFindMenu( sal_uInt16 nItemId ) in ImplFindMenu() argument
3008 if( pData->nId == nItemId ) in ImplFindMenu()
3011 pSelMenu = pData->pSubMenu->ImplFindMenu( nItemId ); in ImplFindMenu()
3191 sal_uInt16 nItemId = 0; in GetDisplayItemId() local
3195 nItemId = mpLayoutData->m_aLineItemIds[nLine]; in GetDisplayItemId()
3196 return nItemId; in GetDisplayItemId()
3226 void Menu::SetAccessibleName( sal_uInt16 nItemId, const XubString& rStr ) in SetAccessibleName() argument
3229 MenuItemData* pData = pItemList->GetData( nItemId, nPos ); in SetAccessibleName()
3238 XubString Menu::GetAccessibleName( sal_uInt16 nItemId ) const in GetAccessibleName()
3240 MenuItemData* pData = pItemList->GetData( nItemId ); in GetAccessibleName()
3248 void Menu::SetAccessibleDescription( sal_uInt16 nItemId, const XubString& rStr ) in SetAccessibleDescription() argument
3250 MenuItemData* pData = pItemList->GetData( nItemId ); in SetAccessibleDescription()
3256 XubString Menu::GetAccessibleDescription( sal_uInt16 nItemId ) const in GetAccessibleDescription()
3258 MenuItemData* pData = pItemList->GetData( nItemId ); in GetAccessibleDescription()