Lines Matching refs:rAct
692 void ImpSdrGDIMetaFileImport::DoAction(MetaLineAction& rAct) in DoAction() argument
695 const basegfx::B2DPoint aStart(rAct.GetStartPoint().X(), rAct.GetStartPoint().Y()); in DoAction()
696 const basegfx::B2DPoint aEnd(rAct.GetEndPoint().X(), rAct.GetEndPoint().Y()); in DoAction()
707 const LineInfo& rLineInfo = rAct.GetLineInfo(); in DoAction()
735 void ImpSdrGDIMetaFileImport::DoAction(MetaRectAction& rAct) in DoAction() argument
737 SdrRectObj* pRect=new SdrRectObj(rAct.GetRect()); in DoAction()
742 void ImpSdrGDIMetaFileImport::DoAction(MetaRoundRectAction& rAct) in DoAction() argument
744 SdrRectObj* pRect=new SdrRectObj(rAct.GetRect()); in DoAction()
746 long nRad=(rAct.GetHorzRound()+rAct.GetVertRound())/2; in DoAction()
757 void ImpSdrGDIMetaFileImport::DoAction(MetaEllipseAction& rAct) in DoAction() argument
759 SdrCircObj* pCirc=new SdrCircObj(OBJ_CIRC,rAct.GetRect()); in DoAction()
764 void ImpSdrGDIMetaFileImport::DoAction(MetaArcAction& rAct) in DoAction() argument
766 Point aCenter(rAct.GetRect().Center()); in DoAction()
767 long nStart=GetAngle(rAct.GetStartPoint()-aCenter); in DoAction()
768 long nEnd=GetAngle(rAct.GetEndPoint()-aCenter); in DoAction()
769 SdrCircObj* pCirc=new SdrCircObj(OBJ_CARC,rAct.GetRect(),nStart,nEnd); in DoAction()
774 void ImpSdrGDIMetaFileImport::DoAction(MetaPieAction& rAct) in DoAction() argument
776 Point aCenter(rAct.GetRect().Center()); in DoAction()
777 long nStart=GetAngle(rAct.GetStartPoint()-aCenter); in DoAction()
778 long nEnd=GetAngle(rAct.GetEndPoint()-aCenter); in DoAction()
779 SdrCircObj* pCirc=new SdrCircObj(OBJ_SECT,rAct.GetRect(),nStart,nEnd); in DoAction()
784 void ImpSdrGDIMetaFileImport::DoAction(MetaChordAction& rAct) in DoAction() argument
786 Point aCenter(rAct.GetRect().Center()); in DoAction()
787 long nStart=GetAngle(rAct.GetStartPoint()-aCenter); in DoAction()
788 long nEnd=GetAngle(rAct.GetEndPoint()-aCenter); in DoAction()
789 SdrCircObj* pCirc=new SdrCircObj(OBJ_CCUT,rAct.GetRect(),nStart,nEnd); in DoAction()
920 void ImpSdrGDIMetaFileImport::DoAction( MetaPolyLineAction& rAct ) in DoAction() argument
923 basegfx::B2DPolygon aSource(rAct.GetPolygon().getB2DPolygon()); in DoAction()
931 const LineInfo& rLineInfo = rAct.GetLineInfo(); in DoAction()
964 void ImpSdrGDIMetaFileImport::DoAction( MetaPolygonAction& rAct ) in DoAction() argument
967 basegfx::B2DPolygon aSource(rAct.GetPolygon().getB2DPolygon()); in DoAction()
985 void ImpSdrGDIMetaFileImport::DoAction(MetaPolyPolygonAction& rAct) in DoAction() argument
988 basegfx::B2DPolyPolygon aSource(rAct.GetPolyPolygon().getB2DPolyPolygon()); in DoAction()
1008 …drGDIMetaFileImport::ImportText( const Point& rPos, const XubString& rStr, const MetaAction& rAct ) in ImportText() argument
1037 if ( aFnt.GetWidth() || ( rAct.GetType() == META_STRETCHTEXT_ACTION ) ) in ImportText()
1074 void ImpSdrGDIMetaFileImport::DoAction(MetaTextAction& rAct) in DoAction() argument
1076 XubString aStr(rAct.GetText()); in DoAction()
1077 aStr.Erase(0,rAct.GetIndex()); in DoAction()
1078 aStr.Erase(rAct.GetLen()); in DoAction()
1079 ImportText( rAct.GetPoint(), aStr, rAct ); in DoAction()
1082 void ImpSdrGDIMetaFileImport::DoAction(MetaTextArrayAction& rAct) in DoAction() argument
1084 XubString aStr(rAct.GetText()); in DoAction()
1085 aStr.Erase(0,rAct.GetIndex()); in DoAction()
1086 aStr.Erase(rAct.GetLen()); in DoAction()
1087 ImportText( rAct.GetPoint(), aStr, rAct ); in DoAction()
1090 void ImpSdrGDIMetaFileImport::DoAction(MetaStretchTextAction& rAct) in DoAction() argument
1092 XubString aStr(rAct.GetText()); in DoAction()
1093 aStr.Erase(0,rAct.GetIndex()); in DoAction()
1094 aStr.Erase(rAct.GetLen()); in DoAction()
1095 ImportText( rAct.GetPoint(), aStr, rAct ); in DoAction()
1098 void ImpSdrGDIMetaFileImport::DoAction(MetaBmpAction& rAct) in DoAction() argument
1100 Rectangle aRect(rAct.GetPoint(),rAct.GetBitmap().GetSizePixel()); in DoAction()
1102 SdrGrafObj* pGraf=new SdrGrafObj(Graphic(rAct.GetBitmap()),aRect); in DoAction()
1110 void ImpSdrGDIMetaFileImport::DoAction(MetaBmpScaleAction& rAct) in DoAction() argument
1112 Rectangle aRect(rAct.GetPoint(),rAct.GetSize()); in DoAction()
1114 SdrGrafObj* pGraf=new SdrGrafObj(Graphic(rAct.GetBitmap()),aRect); in DoAction()
1122 void ImpSdrGDIMetaFileImport::DoAction(MetaBmpExAction& rAct) in DoAction() argument
1124 Rectangle aRect(rAct.GetPoint(),rAct.GetBitmapEx().GetSizePixel()); in DoAction()
1126 SdrGrafObj* pGraf=new SdrGrafObj( rAct.GetBitmapEx(), aRect ); in DoAction()
1134 void ImpSdrGDIMetaFileImport::DoAction(MetaBmpExScaleAction& rAct) in DoAction() argument
1136 Rectangle aRect(rAct.GetPoint(),rAct.GetSize()); in DoAction()
1138 SdrGrafObj* pGraf=new SdrGrafObj( rAct.GetBitmapEx(), aRect ); in DoAction()
1148 void ImpSdrGDIMetaFileImport::DoAction( MetaHatchAction& rAct ) in DoAction() argument
1151 basegfx::B2DPolyPolygon aSource(rAct.GetPolyPolygon().getB2DPolyPolygon()); in DoAction()
1160 const Hatch& rHatch = rAct.GetHatch(); in DoAction()
1198 void ImpSdrGDIMetaFileImport::DoAction(MetaLineColorAction& rAct) in DoAction() argument
1200 rAct.Execute(&maVD); in DoAction()
1203 void ImpSdrGDIMetaFileImport::DoAction(MetaMapModeAction& rAct) in DoAction() argument
1206 rAct.Execute(&maVD); in DoAction()
1234 void ImpSdrGDIMetaFileImport::DoAction( MetaCommentAction& rAct, GDIMetaFile* pMtf ) in DoAction() argument
1238 if( rAct.GetComment().CompareIgnoreCaseToAscii( "XGRAD_SEQ_BEGIN" ) == COMPARE_EQUAL ) in DoAction()
1304 void ImpSdrGDIMetaFileImport::DoAction(MetaTextRectAction& rAct) in DoAction() argument
1308 maVD.AddTextRectActions(rAct.GetRect(), rAct.GetText(), rAct.GetStyle(), aTemp); in DoAction()
1312 void ImpSdrGDIMetaFileImport::DoAction(MetaBmpScalePartAction& rAct) in DoAction() argument
1314 Rectangle aRect(rAct.GetDestPoint(), rAct.GetDestSize()); in DoAction()
1315 Bitmap aBitmap(rAct.GetBitmap()); in DoAction()
1319 aBitmap.Crop(Rectangle(rAct.GetSrcPoint(), rAct.GetSrcSize())); in DoAction()
1328 void ImpSdrGDIMetaFileImport::DoAction(MetaBmpExScalePartAction& rAct) in DoAction() argument
1330 Rectangle aRect(rAct.GetDestPoint(),rAct.GetDestSize()); in DoAction()
1331 BitmapEx aBitmapEx(rAct.GetBitmapEx()); in DoAction()
1335 aBitmapEx.Crop(Rectangle(rAct.GetSrcPoint(), rAct.GetSrcSize())); in DoAction()
1344 void ImpSdrGDIMetaFileImport::DoAction(MetaMaskAction& rAct) in DoAction() argument
1346 Rectangle aRect(rAct.GetPoint(), rAct.GetBitmap().GetSizePixel()); in DoAction()
1347 BitmapEx aBitmapEx(rAct.GetBitmap(), rAct.GetColor()); in DoAction()
1358 void ImpSdrGDIMetaFileImport::DoAction(MetaMaskScaleAction& rAct) in DoAction() argument
1360 Rectangle aRect(rAct.GetPoint(), rAct.GetSize()); in DoAction()
1361 BitmapEx aBitmapEx(rAct.GetBitmap(), rAct.GetColor()); in DoAction()
1372 void ImpSdrGDIMetaFileImport::DoAction(MetaMaskScalePartAction& rAct) in DoAction() argument
1374 Rectangle aRect(rAct.GetDestPoint(), rAct.GetDestSize()); in DoAction()
1375 BitmapEx aBitmapEx(rAct.GetBitmap(), rAct.GetColor()); in DoAction()
1378 aBitmapEx.Crop(Rectangle(rAct.GetSrcPoint(), rAct.GetSrcSize())); in DoAction()
1410 void ImpSdrGDIMetaFileImport::DoAction(MetaGradientAction& rAct) in DoAction() argument
1412 …basegfx::B2DRange aRange(rAct.GetRect().Left(), rAct.GetRect().Top(), rAct.GetRect().Right(), rAct… in DoAction()
1418 const Gradient& rGradient = rAct.GetGradient(); in DoAction()
1455 void ImpSdrGDIMetaFileImport::DoAction(MetaTransparentAction& rAct) in DoAction() argument
1457 basegfx::B2DPolyPolygon aSource(rAct.GetPolyPolygon().getB2DPolyPolygon()); in DoAction()
1467 pPath->SetMergedItem(XFillTransparenceItem(rAct.GetTransparence())); in DoAction()
1482 void ImpSdrGDIMetaFileImport::DoAction(MetaGradientExAction& rAct) in DoAction() argument
1484 basegfx::B2DPolyPolygon aSource(rAct.GetPolyPolygon().getB2DPolyPolygon()); in DoAction()
1493 const Gradient& rGradient = rAct.GetGradient(); in DoAction()
1521 void ImpSdrGDIMetaFileImport::DoAction(MetaFloatTransparentAction& rAct) in DoAction() argument
1523 const GDIMetaFile& rMtf = rAct.GetGDIMetaFile(); in DoAction()
1527 const Rectangle aRect(rAct.GetPoint(),rAct.GetSize()); in DoAction()
1542 const Gradient& rGradient = rAct.GetGradient(); in DoAction()