Lines Matching refs:rPara
431 void SdrCaptionObj::ImpGetCaptParams(ImpCaptParams& rPara) const in ImpGetCaptParams()
434 rPara.eType =((SdrCaptionTypeItem&) (rSet.Get(SDRATTR_CAPTIONTYPE ))).GetValue(); in ImpGetCaptParams()
435 rPara.bFixedAngle=((SdrCaptionFixedAngleItem&)(rSet.Get(SDRATTR_CAPTIONANGLE ))).GetValue(); in ImpGetCaptParams()
436 rPara.nAngle =((SdrCaptionAngleItem&) (rSet.Get(SDRATTR_CAPTIONFIXEDANGLE))).GetValue(); in ImpGetCaptParams()
437 rPara.nGap =((SdrCaptionGapItem&) (rSet.Get(SDRATTR_CAPTIONGAP ))).GetValue(); in ImpGetCaptParams()
438 rPara.eEscDir =((SdrCaptionEscDirItem&) (rSet.Get(SDRATTR_CAPTIONESCDIR ))).GetValue(); in ImpGetCaptParams()
439 rPara.bEscRel =((SdrCaptionEscIsRelItem&) (rSet.Get(SDRATTR_CAPTIONESCISREL ))).GetValue(); in ImpGetCaptParams()
440 rPara.nEscRel =((SdrCaptionEscRelItem&) (rSet.Get(SDRATTR_CAPTIONESCREL ))).GetValue(); in ImpGetCaptParams()
441 rPara.nEscAbs =((SdrCaptionEscAbsItem&) (rSet.Get(SDRATTR_CAPTIONESCABS ))).GetValue(); in ImpGetCaptParams()
442 rPara.nLineLen =((SdrCaptionLineLenItem&) (rSet.Get(SDRATTR_CAPTIONLINELEN ))).GetValue(); in ImpGetCaptParams()
443 rPara.bFitLineLen=((SdrCaptionFitLineLenItem&)(rSet.Get(SDRATTR_CAPTIONFITLINELEN))).GetValue(); in ImpGetCaptParams()
465 void SdrCaptionObj::ImpCalcTail1(const ImpCaptParams& rPara, Polygon& rPoly, Rectangle& rRect) const in ImpCalcTail1() argument
476 rPara.CalcEscPos(aTl, rRect, aEscPos, eEscDir); in ImpCalcTail1()
491 void SdrCaptionObj::ImpCalcTail2(const ImpCaptParams& rPara, Polygon& rPoly, Rectangle& rRect) const in ImpCalcTail2() argument
499 rPara.CalcEscPos(aTl,rRect,aEscPos,eEscDir); in ImpCalcTail2()
502 if (!rPara.bFixedAngle) { in ImpCalcTail2()
508 void SdrCaptionObj::ImpCalcTail3(const ImpCaptParams& rPara, Polygon& rPoly, Rectangle& rRect) const in ImpCalcTail3() argument
516 rPara.CalcEscPos(aTl,rRect,aEscPos,eEscDir); in ImpCalcTail3()
521 if (rPara.bFitLineLen) { in ImpCalcTail3()
524 if (eEscDir==LKS) aPol[1].X()-=rPara.nLineLen; in ImpCalcTail3()
525 else aPol[1].X()+=rPara.nLineLen; in ImpCalcTail3()
528 if (rPara.bFitLineLen) { in ImpCalcTail3()
531 if (eEscDir==OBN) aPol[1].Y()-=rPara.nLineLen; in ImpCalcTail3()
532 else aPol[1].Y()+=rPara.nLineLen; in ImpCalcTail3()
535 if (!rPara.bFixedAngle) { in ImpCalcTail3()
541 void SdrCaptionObj::ImpCalcTail4(const ImpCaptParams& rPara, Polygon& rPoly, Rectangle& rRect) const in ImpCalcTail4() argument
543 ImpCalcTail3(rPara,rPoly,rRect); in ImpCalcTail4()
546 void SdrCaptionObj::ImpCalcTail(const ImpCaptParams& rPara, Polygon& rPoly, Rectangle& rRect) const in ImpCalcTail() argument
548 switch (rPara.eType) { in ImpCalcTail()
549 case SDRCAPT_TYPE1: ImpCalcTail1(rPara,rPoly,rRect); break; in ImpCalcTail()
550 case SDRCAPT_TYPE2: ImpCalcTail2(rPara,rPoly,rRect); break; in ImpCalcTail()
551 case SDRCAPT_TYPE3: ImpCalcTail3(rPara,rPoly,rRect); break; in ImpCalcTail()
552 case SDRCAPT_TYPE4: ImpCalcTail4(rPara,rPoly,rRect); break; in ImpCalcTail()