Lines Matching refs:nItemId
124 sal_uInt16 nItemId = pCurrMenu->GetItemId( nTmpPos ); in FindReferencePath() local
125 Menu* pTmpMenu = pCurrMenu->GetPopupMenu( nItemId ); in FindReferencePath()
154 const sal_uInt16 nItemId = pCurrMenu->GetItemId( i ); in FindMenuItem() local
155 if ( nItemId > 0 ) in FindMenuItem()
157 if ( rCmd == ::rtl::OUString( pCurrMenu->GetItemCommand( nItemId ))) in FindMenuItem()
167 sal_uInt16& nItemId, in CreateSubMenu() argument
184 pSubMenu->InsertItem( nItemId, rMenuItem.aTitle, 0, MENU_APPEND ); in CreateSubMenu()
185 pSubMenu->SetItemCommand( nItemId, rMenuItem.aURL ); in CreateSubMenu()
189 pSubMenu->SetPopupMenu( nItemId, pPopupMenu ); in CreateSubMenu()
190 ++nItemId; in CreateSubMenu()
192 CreateSubMenu( pPopupMenu, nItemId, rModuleIdentifier, rMenuItem.aSubMenu ); in CreateSubMenu()
195 ++nItemId; in CreateSubMenu()
207 sal_uInt16& nItemId, in MergeMenuItems() argument
225 pMenu->InsertItem( nItemId, rMenuItem.aTitle, 0, nPos+nModIndex+nIndex ); in MergeMenuItems()
226 pMenu->SetItemCommand( nItemId, rMenuItem.aURL ); in MergeMenuItems()
230 pMenu->SetPopupMenu( nItemId, pSubMenu ); in MergeMenuItems()
231 ++nItemId; in MergeMenuItems()
233 CreateSubMenu( pSubMenu, nItemId, rModuleIdentifier, rMenuItem.aSubMenu ); in MergeMenuItems()
236 ++nItemId; in MergeMenuItems()
282 sal_uInt16& nItemId, in ProcessMergeOperation() argument
293 … return MergeMenuItems( pMenu, nPos, nModIndex, nItemId, rModuleIdentifier, rAddonMenuItems ); in ProcessMergeOperation()
298 … return MergeMenuItems( pMenu, nPos, nModIndex, nItemId, rModuleIdentifier, rAddonMenuItems ); in ProcessMergeOperation()
302 return ReplaceMenuItem( pMenu, nPos, nItemId, rModuleIdentifier, rAddonMenuItems ); in ProcessMergeOperation()