Lines Matching refs:pMenu
1007 …std::auto_ptr< PopupMenu > pMenu( new PopupMenu( SdResId( pAnnotationWindow ? RID_ANNOTATION_CONTE… in ExecuteAnnotationContextMenu() local
1013 String aStr( pMenu->GetItemText( SID_DELETEALLBYAUTHOR_POSTIT ) ), aReplace( sAuthor ); in ExecuteAnnotationContextMenu()
1017 pMenu->SetItemText( SID_DELETEALLBYAUTHOR_POSTIT, aStr ); in ExecuteAnnotationContextMenu()
1018 pMenu->EnableItem( SID_REPLYTO_POSTIT, (sAuthor != sCurrentAuthor) && !bReadOnly ); in ExecuteAnnotationContextMenu()
1019 … pMenu->EnableItem( SID_DELETE_POSTIT, (xAnnotation.is() && !bReadOnly) ? sal_True : sal_False ); in ExecuteAnnotationContextMenu()
1020 pMenu->EnableItem( SID_DELETEALLBYAUTHOR_POSTIT, !bReadOnly ); in ExecuteAnnotationContextMenu()
1021 pMenu->EnableItem( SID_DELETEALL_POSTIT, !bReadOnly ); in ExecuteAnnotationContextMenu()
1027 pMenu->EnableItem( SID_ATTR_CHAR_WEIGHT, sal_False ); in ExecuteAnnotationContextMenu()
1028 pMenu->EnableItem( SID_ATTR_CHAR_POSTURE, sal_False ); in ExecuteAnnotationContextMenu()
1029 pMenu->EnableItem( SID_ATTR_CHAR_UNDERLINE, sal_False ); in ExecuteAnnotationContextMenu()
1030 pMenu->EnableItem( SID_ATTR_CHAR_STRIKEOUT, sal_False ); in ExecuteAnnotationContextMenu()
1031 pMenu->EnableItem( SID_PASTE, sal_False ); in ExecuteAnnotationContextMenu()
1040 pMenu->CheckItem( SID_ATTR_CHAR_WEIGHT ); in ExecuteAnnotationContextMenu()
1046 pMenu->CheckItem( SID_ATTR_CHAR_POSTURE ); in ExecuteAnnotationContextMenu()
1052 pMenu->CheckItem( SID_ATTR_CHAR_UNDERLINE ); in ExecuteAnnotationContextMenu()
1058 pMenu->CheckItem( SID_ATTR_CHAR_STRIKEOUT ); in ExecuteAnnotationContextMenu()
1061 pMenu->EnableItem( SID_PASTE, aDataHelper.GetFormatCount() != 0 ); in ExecuteAnnotationContextMenu()
1064 pMenu->EnableItem( SID_COPY, pAnnotationWindow->getView()->HasSelection() ); in ExecuteAnnotationContextMenu()
1074 for( sal_uInt16 nPos = 0; nPos < pMenu->GetItemCount(); nPos++ ) in ExecuteAnnotationContextMenu()
1076 nId = pMenu->GetItemId( nPos ); in ExecuteAnnotationContextMenu()
1077 if( pMenu->IsItemEnabled( nId ) ) in ExecuteAnnotationContextMenu()
1084 pMenu->SetItemImage( nId, aImage ); in ExecuteAnnotationContextMenu()
1089 nId = pMenu->Execute( pParent, rContextRect, POPUPMENU_EXECUTE_DOWN|POPUPMENU_NOMOUSEUPCLOSE ); in ExecuteAnnotationContextMenu()