Lines Matching refs:sAuthor
338 OUString sAuthor( (( const SfxStringItem* ) pPoolItem )->GetValue() ); in ExecuteDeleteAnnotation() local
339 DeleteAnnotationsByAuthor( sAuthor ); in ExecuteDeleteAnnotation()
470 OUString sAuthor( xAnnotation->getAuthor() ); in ExecuteReplyToAnnotation() local
471 if( sAuthor.getLength() == 0 ) in ExecuteReplyToAnnotation()
472 sAuthor = String( SdResId( STR_ANNOTATION_NOAUTHOR ) ); in ExecuteReplyToAnnotation()
474 aStr.SearchAndReplaceAscii("%1", sAuthor); in ExecuteReplyToAnnotation()
537 void AnnotationManagerImpl::DeleteAnnotationsByAuthor( const rtl::OUString& sAuthor ) in DeleteAnnotationsByAuthor() argument
553 if( xAnnotation->getAuthor() == sAuthor ) in DeleteAnnotationsByAuthor()
975 OUString sAuthor( xAnnotation->getAuthor() );
976 if( sAuthor.getLength() != 0 )
978 sRet += sAuthor;
1011 OUString sAuthor( xAnnotation->getAuthor() ); in ExecuteAnnotationContextMenu() local
1013 String aStr( pMenu->GetItemText( SID_DELETEALLBYAUTHOR_POSTIT ) ), aReplace( sAuthor ); in ExecuteAnnotationContextMenu()
1018 pMenu->EnableItem( SID_REPLYTO_POSTIT, (sAuthor != sCurrentAuthor) && !bReadOnly ); in ExecuteAnnotationContextMenu()
1106 const SfxStringItem aItem( SID_DELETEALLBYAUTHOR_POSTIT, sAuthor ); in ExecuteAnnotationContextMenu()