Hi ,
  Anybody can tell me  what function is the code labeled with red color :
void SAL_CALL SwClipboardChangeListener::changedContents( const 
CLIP_NMSPC::ClipboardEvent& rEventObject ) throw ( RuntimeException )
{
     ...............
    
     pView->nLastPasteDestination = SwTransferable::GetSotDestination( rSh );
     pView->bPasteState = aDataHelper.GetXTransferable().is() &&
                            SwTransferable::IsPaste( rSh, aDataHelper );

     pView->bPasteSpecialState = aDataHelper.GetXTransferable().is() &&
                        SwTransferable::IsPasteSpecial( rSh, aDataHelper );

    .................

  SfxBindings& rBind = pView->GetViewFrame()->GetBindings();
  rBind.Invalidate( SID_PASTE );
  rBind.Invalidate( FN_PASTESPECIAL );
  rBind.Invalidate( SID_CLIPBOARD_FORMAT_ITEMS );
 ..................
}



Best Regards
Gao Peng

E-mail : [EMAIL PROTECTED]
Date :  2007-11-01 

Reply via email to