Lines Matching refs:bReadOnly
601 const bool bReadOnly = mrBase.GetDocShell()->IsReadOnly(); in GetAnnotationState() local
606 if( bReadOnly || bWrongPageKind || (nCurrentODFVersion != SvtSaveOptions::ODFVER_LATEST) ) in GetAnnotationState()
614 if( !xAnnotation.is() || bReadOnly ) in GetAnnotationState()
629 if( !bHasAnnotations || bReadOnly ) in GetAnnotationState()
1000 const bool bReadOnly = mrBase.GetDocShell()->IsReadOnly(); in ExecuteAnnotationContextMenu() local
1004 if( bReadOnly && !pAnnotationWindow ) 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()
1025 if( pAnnotationWindow->IsProtected() || bReadOnly ) in ExecuteAnnotationContextMenu()