Lines Matching refs:nItemId

159 sal_Bool IsItemHidden_Impl( sal_uInt16 nItemId, int bOleServer, int bMac )  in IsItemHidden_Impl()  argument
162 ( nItemId == SID_MINIMIZED ) ) || in IsItemHidden_Impl()
164 ( nItemId == SID_QUITAPP || nItemId == SID_SAVEDOC || in IsItemHidden_Impl()
165 nItemId == SID_OPENDOC || nItemId == SID_SAVEASDOC || in IsItemHidden_Impl()
166 nItemId == SID_NEWDOC ) ) || in IsItemHidden_Impl()
168 ( nItemId == SID_EXITANDRETURN || nItemId == SID_UPDATEDOC ) ); in IsItemHidden_Impl()
946 sal_uInt16 nItemId = START_ITEMID_WINDOWLIST; in IMPL_LINK() local
962 nActiveItemId = nItemId; in IMPL_LINK()
968 ++nItemId; in IMPL_LINK()
990 nItemId = START_ITEMID_WINDOWLIST; in IMPL_LINK()
993 pMenu->InsertItem( nItemId, aNewWindowListVector.at( i ), MIB_RADIOCHECK ); in IMPL_LINK()
994 if ( nItemId == nActiveItemId ) in IMPL_LINK()
995 pMenu->CheckItem( nItemId ); in IMPL_LINK()
996 ++nItemId; in IMPL_LINK()
1163 sal_uInt16 SfxVirtualMenu::GetItemPos( sal_uInt16 nItemId ) const in GetItemPos()
1169 if ( (pItems+nPos)->GetId() == nItemId ) in GetItemPos()
1178 SfxVirtualMenu* SfxVirtualMenu::GetPopupMenu( sal_uInt16 nItemId ) const in GetPopupMenu()
1183 sal_uInt16 nPos = GetItemPos(nItemId); in GetPopupMenu()
1221 void SfxVirtualMenu::CheckItem( sal_uInt16 nItemId, sal_Bool bCheck ) in CheckItem() argument
1227 if (pSVMenu->GetItemPos( nItemId ) != MENU_ITEM_NOTFOUND ) in CheckItem()
1228 pSVMenu->CheckItem( nItemId, bCheck ); in CheckItem()
1234 void SfxVirtualMenu::EnableItem( sal_uInt16 nItemId, sal_Bool bEnable ) in EnableItem() argument
1241 if (pSVMenu->GetItemPos( nItemId ) != MENU_ITEM_NOTFOUND ) in EnableItem()
1242 pSVMenu->EnableItem( nItemId, bEnable ); in EnableItem()
1248 void SfxVirtualMenu::SetItemText( sal_uInt16 nItemId, const String& rText ) in SetItemText() argument
1254 if (pSVMenu->GetItemPos( nItemId ) != MENU_ITEM_NOTFOUND ) in SetItemText()
1255 pSVMenu->SetItemText( nItemId, rText ); in SetItemText()
1262 void SfxVirtualMenu::SetPopupMenu( sal_uInt16 nItemId, PopupMenu *pMenu ) in SetPopupMenu() argument
1267 if (pSVMenu->GetItemPos( nItemId ) != MENU_ITEM_NOTFOUND ) in SetPopupMenu()
1268 GetSVMenu()->SetPopupMenu( nItemId, pMenu ); in SetPopupMenu()
1273 pSubMenu->SetPopupMenu( nItemId, pMenu ); in SetPopupMenu()