Home
last modified time | relevance | path

Searched refs:nSelectionType (Results 1 – 10 of 10) sorted by relevance

/trunk/main/sw/source/ui/uiview/
H A Dformatclipboard.cxx99 SfxItemSet* lcl_CreateEmptyItemSet( int nSelectionType, SfxItemPool& rPool in lcl_CreateEmptyItemSet() argument
103 …if( nSelectionType & (nsSelectionType::SEL_FRM | nsSelectionType::SEL_OLE | nsSelectionType::SEL_G… in lcl_CreateEmptyItemSet()
109 else if( nSelectionType & nsSelectionType::SEL_DRW ) in lcl_CreateEmptyItemSet()
113 else if( nSelectionType == nsSelectionType::SEL_TBL ) in lcl_CreateEmptyItemSet()
133 else if( nSelectionType & nsSelectionType::SEL_TXT ) in lcl_CreateEmptyItemSet()
321 bool SwFormatClipboard::HasContentForThisType( int nSelectionType ) const in HasContentForThisType()
326 if( m_nSelectionType == nSelectionType ) in HasContentForThisType()
329 …if( ( nSelectionType & (nsSelectionType::SEL_FRM | nsSelectionType::SEL_OLE | nsSelectionType::S… in HasContentForThisType()
335 if( nSelectionType & nsSelectionType::SEL_TXT && m_nSelectionType & nsSelectionType::SEL_TXT ) in HasContentForThisType()
341 bool SwFormatClipboard::CanCopyThisType( int nSelectionType ) const in CanCopyThisType()
[all …]
H A Dview.cxx267 if ( nNewSelectionType == nSelectionType ) in SelectShell()
270 if ( nSelectionType & nsSelectionType::SEL_OLE || in SelectShell()
271 nSelectionType & nsSelectionType::SEL_GRF ) in SelectShell()
289 pBarCfg->SetTopToolbar( nSelectionType, nId ); in SelectShell()
323 nSelectionType = nNewSelectionType; in SelectShell()
326 if ( !( nSelectionType & nsSelectionType::SEL_FOC_FRM_CTRL ) ) in SelectShell()
329 if ( nSelectionType & nsSelectionType::SEL_OLE ) in SelectShell()
335 else if ( nSelectionType & nsSelectionType::SEL_FRM in SelectShell()
336 || nSelectionType & nsSelectionType::SEL_GRF) in SelectShell()
341 if(nSelectionType & nsSelectionType::SEL_GRF ) in SelectShell()
[all …]
H A Dviewstat.cxx102 … if (! ( ((eFrmType & FRMTYPE_FLY_ANY) && nSelectionType != nsSelectionType::SEL_DRW_TXT)|| in GetState()
103 nSelectionType & nsSelectionType::SEL_TBL || in GetState()
104 nSelectionType & nsSelectionType::SEL_DRW) ) in GetState()
404 if( nSelectionType & (nsSelectionType::SEL_DRW_TXT|nsSelectionType::SEL_TXT) ) in GetState()
417 else if(nSelectionType & (nsSelectionType::SEL_DRW)) in GetState()
H A Dview2.cxx1109 if( nSelectionType & (nsSelectionType::SEL_DRW_TXT|nsSelectionType::SEL_TXT) ) in Execute()
1135 if(nAlias && (nSelectionType & (nsSelectionType::SEL_DRW))) in Execute()
/trunk/main/sw/source/ui/docvw/
H A Dedtwin.cxx1670 const int nSelectionType = rSh.GetSelectionType(); in KeyInput() local
1672 …&& ( nSelectionType & (nsSelectionType::SEL_FRM|nsSelectionType::SEL_OLE|nsSelectionType::SEL_GRF)… in KeyInput()
1673 … || ( ( nSelectionType & (nsSelectionType::SEL_DRW|nsSelectionType::SEL_DRW_FORM) ) in KeyInput()
1751 const int nSelectionType = rSh.GetSelectionType(); in KeyInput() local
1756 … if((nSelectionType & (nsSelectionType::SEL_DRW|nsSelectionType::SEL_DRW_FORM)) && in KeyInput()
1759 …else if(nSelectionType & (nsSelectionType::SEL_FRM|nsSelectionType::SEL_OLE|nsSelectionType::SEL_G… in KeyInput()
1804 const int nSelectionType = rSh.GetSelectionType(); in KeyInput() local
1805 if(nSelectionType & nsSelectionType::SEL_OLE) in KeyInput()
1807 else if(nSelectionType & nsSelectionType::SEL_FRM) in KeyInput()
1809 else if((nSelectionType & nsSelectionType::SEL_DRW) && in KeyInput()
[all …]
/trunk/main/cui/source/dialogs/
H A DSpellDialog.cxx1415 sal_uInt8 nSelectionType = 0; // invalid type! in PreNotify() local
1431 nSelectionType = FULL; in PreNotify()
1437 nSelectionType = INSIDE_YES; in PreNotify()
1441 nSelectionType = bHasField||bHasError ? BRACE : OUTSIDE_NO; in PreNotify()
1449 nSelectionType = BRACE; in PreNotify()
1463nSelectionType = pCurAttr->GetStart() == rCurrentSelection.GetStart().GetIndex() ? in PreNotify()
1467 nSelectionType = OUTSIDE_NO; in PreNotify()
1500 DBG_ASSERT(nSelectionType != INVALID, "selection type not set!"); in PreNotify()
1510 switch(nSelectionType) in PreNotify()
/trunk/main/sw/source/ui/inc/
H A Dformatclipboard.hxx45 bool HasContentForThisType( int nSelectionType ) const;
46 bool CanCopyThisType( int nSelectionType ) const;
H A Dview.hxx244 int nSelectionType; member in SwView
383 int GetSelectionType() const { return nSelectionType; } in GetSelectionType()
384 void SetSelectionType(int nSet) { nSelectionType = nSet;} in SetSelectionType()
H A Dwrtsh.hxx296 int IntelligentCut(int nSelectionType, sal_Bool bCut = sal_True);
/trunk/main/sw/source/ui/dochdl/
H A Dswdtflvr.cxx391 SelectionType nSelectionType = pWrtShell->GetSelectionType(); in GetData() local
399 … if(bPending || ((nsSelectionType::SEL_GRF | nsSelectionType::SEL_DRW_FORM) & nSelectionType)) in GetData()
429 if( nSelectionType & nsSelectionType::SEL_TXT && !pWrtShell->HasMark() ) in GetData()