Lines Matching refs:aSel

58 void ImpEditEngine::SetStyleSheet( EditSelection aSel, SfxStyleSheet* pStyle )  in SetStyleSheet()  argument
60 aSel.Adjust( aEditDoc ); in SetStyleSheet()
62 sal_uInt32 nStartPara = aEditDoc.GetPos( aSel.Min().GetNode() ); in SetStyleSheet()
63 sal_uInt32 nEndPara = aEditDoc.GetPos( aSel.Max().GetNode() ); in SetStyleSheet()
199 EditUndoSetAttribs* ImpEditEngine::CreateAttribUndo( EditSelection aSel, const SfxItemSet& rSet ) in CreateAttribUndo() argument
201 DBG_ASSERT( !aSel.DbgIsBuggy( aEditDoc ), "CreateAttribUndo: Fehlerhafte Selektion" ); in CreateAttribUndo()
202 aSel.Adjust( aEditDoc ); in CreateAttribUndo()
204 ESelection aESel( CreateESel( aSel ) ); in CreateAttribUndo()
206 sal_uInt32 nStartNode = aEditDoc.GetPos( aSel.Min().GetNode() ); in CreateAttribUndo()
207 sal_uInt32 nEndNode = aEditDoc.GetPos( aSel.Max().GetNode() ); in CreateAttribUndo()
245 void ImpEditEngine::UndoActionStart( sal_uInt16 nId, const ESelection& aSel ) in UndoActionStart() argument
251 pUndoMarkSelection = new ESelection( aSel ); in UndoActionStart()
336 SfxItemSet ImpEditEngine::GetAttribs( EditSelection aSel, sal_Bool bOnlyHardAttrib ) in GetAttribs() argument
340 aSel.Adjust( aEditDoc ); in GetAttribs()
350 sal_uInt32 nStartNode = aEditDoc.GetPos( aSel.Min().GetNode() ); in GetAttribs()
351 sal_uInt32 nEndNode = aEditDoc.GetPos( aSel.Max().GetNode() ); in GetAttribs()
362 nStartPos = aSel.Min().GetIndex(); in GetAttribs()
364 nEndPos = aSel.Max().GetIndex(); in GetAttribs()
528 void ImpEditEngine::SetAttribs( EditSelection aSel, const SfxItemSet& rSet, sal_uInt8 nSpecial ) in SetAttribs() argument
530 aSel.Adjust( aEditDoc ); in SetAttribs()
534 if ( ( nSpecial == ATTRSPECIAL_WHOLEWORD ) && !aSel.HasRange() ) in SetAttribs()
535 aSel = SelectWord( aSel, ::com::sun::star::i18n::WordType::ANYWORD_IGNOREWHITESPACES, sal_False ); in SetAttribs()
537 sal_uInt32 nStartNode = aEditDoc.GetPos( aSel.Min().GetNode() ); in SetAttribs()
538 sal_uInt32 nEndNode = aEditDoc.GetPos( aSel.Max().GetNode() ); in SetAttribs()
542 EditUndoSetAttribs* pUndo = CreateAttribUndo( aSel, rSet ); in SetAttribs()
570 nStartPos = aSel.Min().GetIndex(); in SetAttribs()
572 nEndPos = aSel.Max().GetIndex(); in SetAttribs()
637 void ImpEditEngine::RemoveCharAttribs( EditSelection aSel, sal_Bool bRemoveParaAttribs, sal_uInt16 … in RemoveCharAttribs() argument
639 aSel.Adjust( aEditDoc ); in RemoveCharAttribs()
641 sal_uInt32 nStartNode = aEditDoc.GetPos( aSel.Min().GetNode() ); in RemoveCharAttribs()
642 sal_uInt32 nEndNode = aEditDoc.GetPos( aSel.Max().GetNode() ); in RemoveCharAttribs()
649 EditUndoSetAttribs* pUndo = CreateAttribUndo( aSel, GetEmptyItemSet() ); in RemoveCharAttribs()
668 nStartPos = aSel.Min().GetIndex(); in RemoveCharAttribs()
670 nEndPos = aSel.Max().GetIndex(); in RemoveCharAttribs()