Lines Matching refs:pCMS
198 SwCrsrMoveState *pCMS ) const in GetCharRect()
212 const sal_Bool bRightMargin = pCMS && ( MV_RIGHTMARGIN == pCMS->eState ); in GetCharRect()
213 const sal_Bool bNoScroll = pCMS && pCMS->bNoScroll; in GetCharRect()
266 if ( pCMS ) in GetCharRect()
268 pCMS->aRealHeight.X() = 0; in GetCharRect()
269 pCMS->aRealHeight.Y() = bVert ? -rOrig.Width() : rOrig.Height(); in GetCharRect()
298 bRet = bRightMargin ? aLine.GetEndCharRect( &rOrig, nOffset, pCMS, nMaxY ) in GetCharRect()
299 : aLine.GetCharRect( &rOrig, nOffset, pCMS, nMaxY ); in GetCharRect()
308 if( pFrm->IsUndersized() && pCMS && !pFrm->GetNext() && in GetCharRect()
318 if ( pCMS ) in GetCharRect()
322 if( pCMS->b2Lines && pCMS->p2Lines) in GetCharRect()
324 pFrm->SwitchLTRtoRTL( pCMS->p2Lines->aLine ); in GetCharRect()
325 pFrm->SwitchLTRtoRTL( pCMS->p2Lines->aPortion ); in GetCharRect()
331 if ( pCMS->bRealHeight ) in GetCharRect()
333 pCMS->aRealHeight.Y() = -pCMS->aRealHeight.Y(); in GetCharRect()
334 if ( pCMS->aRealHeight.Y() < 0 ) in GetCharRect()
337 pCMS->aRealHeight.X() = ( rOrig.Width() - in GetCharRect()
338 pCMS->aRealHeight.X() + in GetCharRect()
339 pCMS->aRealHeight.Y() ); in GetCharRect()
342 if( pCMS->b2Lines && pCMS->p2Lines) in GetCharRect()
344 pFrm->SwitchHorizontalToVertical( pCMS->p2Lines->aLine ); in GetCharRect()
345 pFrm->SwitchHorizontalToVertical( pCMS->p2Lines->aPortion ); in GetCharRect()
546 const SwCrsrMoveState *pCMS; member
555 const Point& rPt ) : aFrm( rR ), pCMS( pC ), pPos( pP ), rPoint( rPt ), in SwFillData()
558 SwFillMode Mode() const { return pCMS->pFill->eMode; } in Mode()
565 SwFillCrsrPos &Fill() const { return *pCMS->pFill; } in Fill()
566 void SetTab( MSHORT nNew ) { pCMS->pFill->nTabCnt = nNew; } in SetTab()
567 void SetSpace( MSHORT nNew ) { pCMS->pFill->nSpaceCnt = nNew; } in SetSpace()
568 void SetOrient( const sal_Int16 eNew ){ pCMS->pFill->eOrient = eNew; } in SetOrient()
572 const sal_Bool bChgFrm, SwCrsrMoveState* pCMS ) const in _GetCrsrOfst()
593 SwFillData *pFillData = ( pCMS && pCMS->pFill ) ? in _GetCrsrOfst()
594 new SwFillData( pCMS, pPos, Frm(), rPoint ) : NULL; in _GetCrsrOfst()
601 if( pCMS && pCMS->bFieldInfo ) in _GetCrsrOfst()
605 ((SwCrsrMoveState*)pCMS)->bPosCorr = sal_True; in _GetCrsrOfst()
628 xub_StrLen nOffset = aLine.GetCrsrOfst( pPos, rPoint, bChgFrm, pCMS ); in _GetCrsrOfst()
630 if( pCMS && pCMS->eState == MV_NONE && aLine.GetEnd() == nOffset ) in _GetCrsrOfst()
631 ((SwCrsrMoveState*)pCMS)->eState = MV_RIGHTMARGIN; in _GetCrsrOfst()
674 const sal_Int16 eOrient = pFillData->pCMS->pFill->eOrient; in _GetCrsrOfst()
693 SwCrsrMoveState* pCMS ) const in GetCrsrOfst()
696 if( pCMS ) in GetCrsrOfst()
698 if( MV_UPDOWN == pCMS->eState ) in GetCrsrOfst()
700 else if( MV_SETONLYTEXT == pCMS->eState || in GetCrsrOfst()
701 MV_TBLSEL == pCMS->eState ) in GetCrsrOfst()
704 return _GetCrsrOfst( pPos, rPoint, nChgFrm != 0, pCMS ); in GetCrsrOfst()
1741 ((SwCrsrMoveState*)rFill.pCMS)->bFillRet = bFill; in FillCrsrPos()