Lines Matching refs:nSelection
759 const int nSelection = pWrtShell->GetSelectionType(); in DeleteSelection() local
761 if( ( nsSelectionType::SEL_TXT | nsSelectionType::SEL_TBL ) & nSelection ) in DeleteSelection()
762 pWrtShell->IntelligentCut( nSelection ); in DeleteSelection()
776 const int nSelection = pWrtShell->GetSelectionType(); in PrepareForCopy() local
777 if( nSelection == nsSelectionType::SEL_GRF ) in PrepareForCopy()
808 else if ( nSelection == nsSelectionType::SEL_OLE ) in PrepareForCopy()
879 if (pWrtShell->IntelligentCut(nSelection, sal_False) != SwWrtShell::NO_WORD) in PrepareForCopy()
884 if( nSelection & nsSelectionType::SEL_TBL_CELLS ) in PrepareForCopy()
903 if( nSelection & ( nsSelectionType::SEL_DRW | nsSelectionType::SEL_DRW_FORM )) in PrepareForCopy()
906 if ( nSelection & nsSelectionType::SEL_DRW ) in PrepareForCopy()
3076 const int nSelection = pWrtShell->GetSelectionType(); in SetDataForDragAndDrop() local
3077 if( nsSelectionType::SEL_GRF == nSelection) in SetDataForDragAndDrop()
3092 else if( nsSelectionType::SEL_OLE == nSelection ) in SetDataForDragAndDrop()
3110 pWrtShell->IntelligentCut( nSelection, sal_False )) in SetDataForDragAndDrop()
3115 if( nSelection & nsSelectionType::SEL_TBL_CELLS ) in SetDataForDragAndDrop()
3130 if( nSelection & ( nsSelectionType::SEL_DRW | nsSelectionType::SEL_DRW_FORM )) in SetDataForDragAndDrop()
3133 if ( nSelection & nsSelectionType::SEL_DRW ) in SetDataForDragAndDrop()
3172 else if( nSelection & nsSelectionType::SEL_TXT && !pWrtShell->HasMark() ) in SetDataForDragAndDrop()
3260 const int nSelection = pWrtShell->GetSelectionType(); in DragFinished() local
3262 nsSelectionType::SEL_OLE | nsSelectionType::SEL_DRW ) & nSelection ) in DragFinished()
3297 const int nSelection = rShell.GetSelectionType(); in PrivatePaste() local
3308 if( rShell.HasSelection() && !( nSelection & nsSelectionType::SEL_TBL_CELLS)) in PrivatePaste()
3317 nsSelectionType::SEL_DRW_FORM ) & nSelection ) in PrivatePaste()
3393 const int nSelection = rSh.GetSelectionType(); in PrivateDrop() local
3396 if( nsSelectionType::SEL_GRF & nSelection ) in PrivateDrop()
3407 if( nsSelectionType::SEL_DRW & nSelection ) in PrivateDrop()
3707 const int nSelection = rSh.GetSelectionType(); in SwTrnsfrDdeLink() local
3708 if( nsSelectionType::SEL_TBL_CELLS & nSelection ) in SwTrnsfrDdeLink()