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()
949 sal_uInt16 nItemId = START_ITEMID_WINDOWLIST; in IMPL_LINK() local
965 nActiveItemId = nItemId; in IMPL_LINK()
971 ++nItemId; in IMPL_LINK()
993 nItemId = START_ITEMID_WINDOWLIST; in IMPL_LINK()
996 pMenu->InsertItem( nItemId, aNewWindowListVector.at( i ), MIB_RADIOCHECK ); in IMPL_LINK()
997 if ( nItemId == nActiveItemId ) in IMPL_LINK()
998 pMenu->CheckItem( nItemId ); in IMPL_LINK()
999 ++nItemId; in IMPL_LINK()
1166 sal_uInt16 SfxVirtualMenu::GetItemPos( sal_uInt16 nItemId ) const in GetItemPos()
1172 if ( (pItems+nPos)->GetId() == nItemId ) in GetItemPos()
1181 SfxVirtualMenu* SfxVirtualMenu::GetPopupMenu( sal_uInt16 nItemId ) const in GetPopupMenu()
1186 sal_uInt16 nPos = GetItemPos(nItemId); in GetPopupMenu()
1224 void SfxVirtualMenu::CheckItem( sal_uInt16 nItemId, sal_Bool bCheck ) in CheckItem() argument
1230 if (pSVMenu->GetItemPos( nItemId ) != MENU_ITEM_NOTFOUND ) in CheckItem()
1231 pSVMenu->CheckItem( nItemId, bCheck ); in CheckItem()
1237 void SfxVirtualMenu::EnableItem( sal_uInt16 nItemId, sal_Bool bEnable ) in EnableItem() argument
1244 if (pSVMenu->GetItemPos( nItemId ) != MENU_ITEM_NOTFOUND ) in EnableItem()
1245 pSVMenu->EnableItem( nItemId, bEnable ); in EnableItem()
1251 void SfxVirtualMenu::SetItemText( sal_uInt16 nItemId, const String& rText ) in SetItemText() argument
1257 if (pSVMenu->GetItemPos( nItemId ) != MENU_ITEM_NOTFOUND ) in SetItemText()
1258 pSVMenu->SetItemText( nItemId, rText ); in SetItemText()
1265 void SfxVirtualMenu::SetPopupMenu( sal_uInt16 nItemId, PopupMenu *pMenu ) in SetPopupMenu() argument
1270 if (pSVMenu->GetItemPos( nItemId ) != MENU_ITEM_NOTFOUND ) in SetPopupMenu()
1271 GetSVMenu()->SetPopupMenu( nItemId, pMenu ); in SetPopupMenu()
1276 pSubMenu->SetPopupMenu( nItemId, pMenu ); in SetPopupMenu()