Lines Matching refs:pCMS
441 SwCrsrMoveState* pCMS, const long nMax ) in GetEndCharRect() argument
453 const sal_Bool bRet = GetCharRect( pOrig, nOfst, pCMS, nMax ); in GetEndCharRect()
459 return GetCharRect( pOrig, nOfst, pCMS, nMax ); in GetEndCharRect()
495 if ( pCMS && pCMS->bRealHeight ) in GetEndCharRect()
498 pCMS->aRealHeight.X() = nTmpAscent - nPorAscent; in GetEndCharRect()
500 pCMS->aRealHeight.X() = 0; in GetEndCharRect()
502 pCMS->aRealHeight.Y() = nPorHeight; in GetEndCharRect()
519 SwCrsrMoveState* pCMS ) in _GetCharRect() argument
535 const sal_Bool bInsideFirstField = pCMS && pCMS->pSpecialPos && in _GetCharRect()
536 ( pCMS->pSpecialPos->nLineOfst || in _GetCharRect()
538 pCMS->pSpecialPos->nExtendRange ); in _GetCharRect()
540 sal_Bool bWidth = pCMS && pCMS->bRealWidth; in _GetCharRect()
543 if ( pCMS && pCMS->bRealHeight ) in _GetCharRect()
545 pCMS->aRealHeight.X() = 0; in _GetCharRect()
546 pCMS->aRealHeight.Y() = nTmpHeight; in _GetCharRect()
719 if( pCMS && pCMS->b2Lines ) in _GetCharRect()
722 if ( ! pCMS->p2Lines ) in _GetCharRect()
724 pCMS->p2Lines = new Sw2LinesPos; in _GetCharRect()
725 pCMS->p2Lines->aLine = SwRect(aCharPos, aCharSize); in _GetCharRect()
732 pCMS->p2Lines->nMultiType = MT_ROT_270; in _GetCharRect()
734 pCMS->p2Lines->nMultiType = MT_ROT_90; in _GetCharRect()
737 pCMS->p2Lines->nMultiType = MT_TWOLINE; in _GetCharRect()
739 pCMS->p2Lines->nMultiType = MT_BIDI; in _GetCharRect()
741 pCMS->p2Lines->nMultiType = MT_RUBY; in _GetCharRect()
751 pCMS->p2Lines->aPortion = aRect; in _GetCharRect()
753 pCMS->p2Lines->aPortion2 = aRect; in _GetCharRect()
818 _GetCharRect( pOrig, nOfst, pCMS ); in _GetCharRect()
875 if ( pCMS && pCMS->bRealHeight ) in _GetCharRect()
877 pCMS->aRealHeight.Y() = -pCMS->aRealHeight.Y(); in _GetCharRect()
887 pCMS->aRealHeight.X() = in _GetCharRect()
889 pCMS->aRealHeight.Y() ) / 2; in _GetCharRect()
891 pCMS->aRealHeight.X() = in _GetCharRect()
893 pCMS->aRealHeight.X() + in _GetCharRect()
894 pCMS->aRealHeight.Y() ); in _GetCharRect()
1059 if( pPor && pCMS ) in _GetCharRect()
1061 if( pCMS->bFieldInfo && pPor->InFldGrp() && pPor->Width() ) in _GetCharRect()
1115 if ( pCMS->pSpecialPos ) in _GetCharRect()
1119 lcl_GetCharRectInsideField( aInf, *pOrig, *pCMS, *pPor ); in _GetCharRect()
1126 if ( pCMS && in _GetCharRect()
1138 if ( pCMS->nCursorBidiLevel >= nPortionLevel ) in _GetCharRect()
1165 if ( pCMS->nCursorBidiLevel >= nPortionLevel ) in _GetCharRect()
1177 if ( pCMS && pCMS->bRealHeight ) in _GetCharRect()
1181 pCMS->aRealHeight.X() = nTmpAscent - nPorAscent; in _GetCharRect()
1183 pCMS->aRealHeight.X() = 0; in _GetCharRect()
1186 pCMS->aRealHeight.Y() = nPorHeight; in _GetCharRect()
1188 pCMS->aRealHeight.Y() = nTmpHeight; in _GetCharRect()
1198 SwCrsrMoveState* pCMS, const long nMax ) in GetCharRect() argument
1204 const sal_Bool bSpecialPos = pCMS && pCMS->pSpecialPos; in GetCharRect()
1209 const sal_uInt8 nExtendRange = pCMS->pSpecialPos->nExtendRange; in GetCharRect()
1211 ASSERT( ! pCMS->pSpecialPos->nLineOfst || SP_EXTEND_RANGE_BEFORE != nExtendRange, in GetCharRect()
1219 for ( sal_uInt16 i = 0; i < pCMS->pSpecialPos->nLineOfst; i++ ) in GetCharRect()
1229 _GetCharRect( pOrig, nFindOfst, pCMS ); in GetCharRect()
1236 if( pCMS && pCMS->b2Lines && pCMS->p2Lines ) in GetCharRect()
1238 pCMS->p2Lines->aLine.Pos().X() += aCharPos.X(); in GetCharRect()
1239 pCMS->p2Lines->aLine.Pos().Y() += aCharPos.Y(); in GetCharRect()
1240 pCMS->p2Lines->aPortion.Pos().X() += aCharPos.X(); in GetCharRect()
1241 pCMS->p2Lines->aPortion.Pos().Y() += aCharPos.Y(); in GetCharRect()
1255 if ( pCMS && pCMS->bRealHeight && pCMS->aRealHeight.Y() >= 0 ) in GetCharRect()
1257 long nTmp = pCMS->aRealHeight.X() + pOrig->Top(); in GetCharRect()
1260 pCMS->aRealHeight.X() = nMax - pOrig->Top(); in GetCharRect()
1261 pCMS->aRealHeight.Y() = 0; in GetCharRect()
1263 else if( nTmp + pCMS->aRealHeight.Y() > nMax ) in GetCharRect()
1264 pCMS->aRealHeight.Y() = nMax - nTmp; in GetCharRect()
1286 const MSHORT nChgNode, SwCrsrMoveState* pCMS ) const in GetCrsrOfst()
1308 sal_Bool bRightAllowed = pCMS && ( pCMS->eState == MV_NONE ); in GetCrsrOfst()
1436 sal_Bool bFieldInfo = pCMS && pCMS->bFieldInfo; in GetCrsrOfst()
1441 ((SwCrsrMoveState*)pCMS)->bPosCorr = sal_True; in GetCrsrOfst()
1445 if (pCMS) in GetCrsrOfst()
1447 if( pCMS->bInFrontOfLabel) in GetCrsrOfst()
1451 pCMS->bInFrontOfLabel = sal_False; in GetCrsrOfst()
1460 if( pCMS ) in GetCrsrOfst()
1463 ((SwCrsrMoveState*)pCMS)->bPosCorr = sal_True; in GetCrsrOfst()
1468 ((SwCrsrMoveState*)pCMS)->bFtnNoInfo = sal_True; in GetCrsrOfst()
1471 ((SwCrsrMoveState*)pCMS)->nInNumPostionOffset = nX; in GetCrsrOfst()
1472 ((SwCrsrMoveState*)pCMS)->bInNumPortion = sal_True; in GetCrsrOfst()
1537 if ( !pCMS || !pCMS->pSpecialPos ) in GetCrsrOfst()
1611 nChgNode, pCMS ); in GetCrsrOfst()
1652 if ( pPor->InFldGrp() && pCMS && pCMS->pSpecialPos ) in GetCrsrOfst()
1659 aDrawInf.SetPosMatchesBounds( pCMS && pCMS->bPosMatchesBounds ); in GetCrsrOfst()
1669 if ( pPor->InFldGrp() && pCMS && pCMS->pSpecialPos ) in GetCrsrOfst()
1671 pCMS->pSpecialPos->nCharOfst = nLength; in GetCrsrOfst()
1676 if ( pCMS ) in GetCrsrOfst()
1677 ((SwCrsrMoveState*)pCMS)->nCursorBidiLevel = in GetCrsrOfst()
1716 GetFlyCrsrOfst( nX, aTmpPoint, pPos, pCMS ); in GetCrsrOfst()