Lines Matching refs:EnableItem
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()
1061 pMenu->EnableItem( SID_PASTE, aDataHelper.GetFormatCount() != 0 ); in ExecuteAnnotationContextMenu()
1064 pMenu->EnableItem( SID_COPY, pAnnotationWindow->getView()->HasSelection() ); in ExecuteAnnotationContextMenu()