Lines Matching refs:pAct
218 for( void* pAct = First(); pAct; pAct = Next() ) in GDIMetaFile() local
219 ( (MetaAction*) pAct )->Duplicate(); in GDIMetaFile()
253 for( void* pAct = First(); pAct; pAct = Next() ) in operator =() local
254 ( (MetaAction*) pAct )->Duplicate(); in operator =()
345 for( void* pAct = First(); pAct; pAct = Next() ) in Clear() local
346 ( (MetaAction*) pAct )->Delete(); in Clear()
816 for( MetaAction* pAct = (MetaAction*) First(); pAct; pAct = (MetaAction*) Next() ) in Move() local
818 const long nType = pAct->GetType(); in Move()
821 if( pAct->GetRefCount() > 1 ) in Move()
823 Replace( pModAct = pAct->Clone(), GetCurPos() ); in Move()
824 pAct->Delete(); in Move()
827 pModAct = pAct; in Move()
851 for( MetaAction* pAct = (MetaAction*) First(); pAct; pAct = (MetaAction*) Next() ) in Move() local
853 const long nType = pAct->GetType(); in Move()
856 if( pAct->GetRefCount() > 1 ) in Move()
858 Replace( pModAct = pAct->Clone(), GetCurPos() ); in Move()
859 pAct->Delete(); in Move()
862 pModAct = pAct; in Move()
888 for( MetaAction* pAct = (MetaAction*) First(); pAct; pAct = (MetaAction*) Next() ) in Scale() local
892 if( pAct->GetRefCount() > 1 ) in Scale()
894 Replace( pModAct = pAct->Clone(), GetCurPos() ); in Scale()
895 pAct->Delete(); in Scale()
898 pModAct = pAct; in Scale()
924 for( MetaAction* pAct = (MetaAction*) First(); pAct; pAct = (MetaAction*) Next() ) in Clip() local
926 const long nType = pAct->GetType(); in Clip()
932 pAct->Execute( &aMapVDev ); in Clip()
937 MetaClipRegionAction* pOldAct = (MetaClipRegionAction*)pAct; in Clip()
1050 MetaPixelAction* pAct = (MetaPixelAction*) pAction; in Rotate() local
1051 …aMtf.AddAction( new MetaPixelAction( ImplGetRotatedPoint( pAct->GetPoint(), aRotAnchor, aRotOffset… in Rotate()
1052 pAct->GetColor() ) ); in Rotate()
1058 MetaPointAction* pAct = (MetaPointAction*) pAction; in Rotate() local
1059 …aMtf.AddAction( new MetaPointAction( ImplGetRotatedPoint( pAct->GetPoint(), aRotAnchor, aRotOffset… in Rotate()
1065 MetaLineAction* pAct = (MetaLineAction*) pAction; in Rotate() local
1066 …aMtf.AddAction( new MetaLineAction( ImplGetRotatedPoint( pAct->GetStartPoint(), aRotAnchor, aRotOf… in Rotate()
1067 … ImplGetRotatedPoint( pAct->GetEndPoint(), aRotAnchor, aRotOffset, fSin, fCos ), in Rotate()
1068 pAct->GetLineInfo() ) ); in Rotate()
1074 MetaRectAction* pAct = (MetaRectAction*) pAction; in Rotate() local
1075 …aMtf.AddAction( new MetaPolygonAction( ImplGetRotatedPolygon( pAct->GetRect(), aRotAnchor, aRotOff… in Rotate()
1081 MetaRoundRectAction* pAct = (MetaRoundRectAction*) pAction; in Rotate() local
1082 …const Polygon aRoundRectPoly( pAct->GetRect(), pAct->GetHorzRound(), pAct->GetVertRound(… in Rotate()
1090 MetaEllipseAction* pAct = (MetaEllipseAction*) pAction; in Rotate() local
1091 …const Polygon aEllipsePoly( pAct->GetRect().Center(), pAct->GetRect().GetWidth() >> 1, p… in Rotate()
1099 MetaArcAction* pAct = (MetaArcAction*) pAction; in Rotate() local
1100 … const Polygon aArcPoly( pAct->GetRect(), pAct->GetStartPoint(), pAct->GetEndPoint(), POLY_ARC ); in Rotate()
1108 MetaPieAction* pAct = (MetaPieAction*) pAction; in Rotate() local
1109 … const Polygon aPiePoly( pAct->GetRect(), pAct->GetStartPoint(), pAct->GetEndPoint(), POLY_PIE ); in Rotate()
1117 MetaChordAction* pAct = (MetaChordAction*) pAction; in Rotate() local
1118 …const Polygon aChordPoly( pAct->GetRect(), pAct->GetStartPoint(), pAct->GetEndPoint(), POLY_… in Rotate()
1126 MetaPolyLineAction* pAct = (MetaPolyLineAction*) pAction; in Rotate() local
1127 …w MetaPolyLineAction( ImplGetRotatedPolygon( pAct->GetPolygon(), aRotAnchor, aRotOffset, fSin, fCo… in Rotate()
1133 MetaPolygonAction* pAct = (MetaPolygonAction*) pAction; in Rotate() local
1134 …aMtf.AddAction( new MetaPolygonAction( ImplGetRotatedPolygon( pAct->GetPolygon(), aRotAnchor, aRot… in Rotate()
1140 MetaPolyPolygonAction* pAct = (MetaPolyPolygonAction*) pAction; in Rotate() local
1141 …aMtf.AddAction( new MetaPolyPolygonAction( ImplGetRotatedPolyPolygon( pAct->GetPolyPolygon(), aRot… in Rotate()
1147 MetaTextAction* pAct = (MetaTextAction*) pAction; in Rotate() local
1148 …aMtf.AddAction( new MetaTextAction( ImplGetRotatedPoint( pAct->GetPoint(), aRotAnchor, aRotOffset,… in Rotate()
1149 … pAct->GetText(), pAct->GetIndex(), pAct->GetLen() ) ); in Rotate()
1155 MetaTextArrayAction* pAct = (MetaTextArrayAction*) pAction; in Rotate() local
1156 …aMtf.AddAction( new MetaTextArrayAction( ImplGetRotatedPoint( pAct->GetPoint(), aRotAnchor, aRotOf… in Rotate()
1157 … pAct->GetText(), pAct->GetDXArray(), pAct->GetIndex(), pAct->GetLen() ) ); in Rotate()
1163 MetaStretchTextAction* pAct = (MetaStretchTextAction*) pAction; in Rotate() local
1164 …aMtf.AddAction( new MetaStretchTextAction( ImplGetRotatedPoint( pAct->GetPoint(), aRotAnchor, aRot… in Rotate()
1165 … pAct->GetWidth(), pAct->GetText(), pAct->GetIndex(), pAct->GetLen() ) ); in Rotate()
1171 MetaTextLineAction* pAct = (MetaTextLineAction*) pAction; in Rotate() local
1172 …aMtf.AddAction( new MetaTextLineAction( ImplGetRotatedPoint( pAct->GetStartPoint(), aRotAnchor, aR… in Rotate()
1173 … pAct->GetWidth(), pAct->GetStrikeout(), pAct->GetUnderline(), pAct->GetOverline() ) ); in Rotate()
1179 MetaBmpScaleAction* pAct = (MetaBmpScaleAction*) pAction; in Rotate() local
1180 …Polygon aBmpPoly( ImplGetRotatedPolygon( Rectangle( pAct->GetPoint(), pAct->GetSize() … in Rotate()
1182 BitmapEx aBmpEx( pAct->GetBitmap() ); in Rotate()
1192 MetaBmpScalePartAction* pAct = (MetaBmpScalePartAction*) pAction; in Rotate() local
1193 …on aBmpPoly( ImplGetRotatedPolygon( Rectangle( pAct->GetDestPoint(), pAct->GetDest… in Rotate()
1195 BitmapEx aBmpEx( pAct->GetBitmap() ); in Rotate()
1197 aBmpEx.Crop( Rectangle( pAct->GetSrcPoint(), pAct->GetSrcSize() ) ); in Rotate()
1206 MetaBmpExScaleAction* pAct = (MetaBmpExScaleAction*) pAction; in Rotate() local
1207 …ygon aBmpPoly( ImplGetRotatedPolygon( Rectangle( pAct->GetPoint(), pAct->GetSize()… in Rotate()
1209 BitmapEx aBmpEx( pAct->GetBitmapEx() ); in Rotate()
1219 MetaBmpExScalePartAction* pAct = (MetaBmpExScalePartAction*) pAction; in Rotate() local
1220 … aBmpPoly( ImplGetRotatedPolygon( Rectangle( pAct->GetDestPoint(), pAct->GetDest… in Rotate()
1222 BitmapEx aBmpEx( pAct->GetBitmapEx() ); in Rotate()
1224 aBmpEx.Crop( Rectangle( pAct->GetSrcPoint(), pAct->GetSrcSize() ) ); in Rotate()
1233 MetaGradientAction* pAct = (MetaGradientAction*) pAction; in Rotate() local
1236 … ImplGetRotatedPolygon( pAct->GetRect(), aRotAnchor, aRotOffset, fSin, fCos ), in Rotate()
1237 pAct->GetGradient() ); in Rotate()
1243 MetaGradientExAction* pAct = (MetaGradientExAction*) pAction; in Rotate() local
1244 …aMtf.AddAction( new MetaGradientExAction( ImplGetRotatedPolyPolygon( pAct->GetPolyPolygon(), aRotA… in Rotate()
1245 pAct->GetGradient() ) ); in Rotate()
1266 MetaGradientExAction* pAct = (MetaGradientExAction*) pAction; in Rotate() local
1268 … ImplGetRotatedPolyPolygon( pAct->GetPolyPolygon(), aRotAnchor, aRotOffset, fSin, fCos ), in Rotate()
1269 pAct->GetGradient() ); in Rotate()
1273 MetaCommentAction* pAct = (MetaCommentAction*) pAction; in Rotate() local
1274 if( pAct->GetComment().Equals( "XGRAD_SEQ_END" ) ) in Rotate()
1283 else if( pAct->GetComment().Equals( "XGRAD_SEQ_BEGIN" ) ) in Rotate()
1340 MetaHatchAction* pAct = (MetaHatchAction*) pAction; in Rotate() local
1341 Hatch aHatch( pAct->GetHatch() ); in Rotate()
1344 …aMtf.AddAction( new MetaHatchAction( ImplGetRotatedPolyPolygon( pAct->GetPolyPolygon(), aRotAnchor… in Rotate()
1351 MetaTransparentAction* pAct = (MetaTransparentAction*) pAction; in Rotate() local
1352 …aMtf.AddAction( new MetaTransparentAction( ImplGetRotatedPolyPolygon( pAct->GetPolyPolygon(), aRot… in Rotate()
1353 … pAct->GetTransparence() ) ); in Rotate()
1359 MetaFloatTransparentAction* pAct = (MetaFloatTransparentAction*) pAction; in Rotate() local
1360 GDIMetaFile aTransMtf( pAct->GetGDIMetaFile() ); in Rotate()
1361 … aMtfPoly( ImplGetRotatedPolygon( Rectangle( pAct->GetPoint(), pAct->GetSize()… in Rotate()
1366 pAct->GetGradient() ) ); in Rotate()
1372 MetaEPSAction* pAct = (MetaEPSAction*) pAction; in Rotate() local
1373 GDIMetaFile aEPSMtf( pAct->GetSubstitute() ); in Rotate()
1374 …Polygon aEPSPoly( ImplGetRotatedPolygon( Rectangle( pAct->GetPoint(), pAct->GetSize() ), a… in Rotate()
1379 pAct->GetLink(), aEPSMtf ) ); in Rotate()
1385 MetaClipRegionAction* pAct = (MetaClipRegionAction*) pAction; in Rotate() local
1387 if( pAct->IsClipping() && pAct->GetRegion().HasPolyPolygonOrB2DPolyPolygon() ) in Rotate()
1388 …f.AddAction( new MetaClipRegionAction( Region( ImplGetRotatedPolyPolygon( pAct->GetRegion().GetAsP… in Rotate()
1399 MetaISectRectClipRegionAction* pAct = (MetaISectRectClipRegionAction*) pAction; in Rotate() local
1400 …tf.AddAction( new MetaISectRegionClipRegionAction( ImplGetRotatedPolygon( pAct->GetRect(), aRotAnc… in Rotate()
1406 MetaISectRegionClipRegionAction* pAct = (MetaISectRegionClipRegionAction*) pAction; in Rotate() local
1407 const Region& rRegion = pAct->GetRegion(); in Rotate()
1421 MetaRefPointAction* pAct = (MetaRefPointAction*) pAction; in Rotate() local
1422 …new MetaRefPointAction( ImplGetRotatedPoint( pAct->GetRefPoint(), aRotAnchor, aRotOffset, fSin, fC… in Rotate()
1428 MetaFontAction* pAct = (MetaFontAction*) pAction; in Rotate() local
1429 Font aFont( pAct->GetFont() ); in Rotate()
1532 MetaPixelAction* pAct = (MetaPixelAction*) pAction; in GetBoundRect() local
1534 … Rectangle( aMapVDev.LogicToLogic( pAct->GetPoint(), aMapVDev.GetMapMode(), GetPrefMapMode() ), in GetBoundRect()
1542 MetaPointAction* pAct = (MetaPointAction*) pAction; in GetBoundRect() local
1544 … Rectangle( aMapVDev.LogicToLogic( pAct->GetPoint(), aMapVDev.GetMapMode(), GetPrefMapMode() ), in GetBoundRect()
1552 MetaLineAction* pAct = (MetaLineAction*) pAction; in GetBoundRect() local
1553 Point aP1( pAct->GetStartPoint() ), aP2( pAct->GetEndPoint() ); in GetBoundRect()
1559 const LineInfo& rLineInfo = pAct->GetLineInfo(); in GetBoundRect()
1573 MetaRectAction* pAct = (MetaRectAction*) pAction; in GetBoundRect() local
1574 …ImplActionBounds( aBound, aMapVDev.LogicToLogic( pAct->GetRect(), aMapVDev.GetMapMode(), GetPrefMa… in GetBoundRect()
1580 MetaRoundRectAction* pAct = (MetaRoundRectAction*) pAction; in GetBoundRect() local
1581 …ImplActionBounds( aBound, aMapVDev.LogicToLogic( pAct->GetRect(), aMapVDev.GetMapMode(), GetPrefMa… in GetBoundRect()
1587 MetaEllipseAction* pAct = (MetaEllipseAction*) pAction; in GetBoundRect() local
1588 …ImplActionBounds( aBound, aMapVDev.LogicToLogic( pAct->GetRect(), aMapVDev.GetMapMode(), GetPrefMa… in GetBoundRect()
1594 MetaArcAction* pAct = (MetaArcAction*) pAction; in GetBoundRect() local
1597 …ImplActionBounds( aBound, aMapVDev.LogicToLogic( pAct->GetRect(), aMapVDev.GetMapMode(), GetPrefMa… in GetBoundRect()
1603 MetaPieAction* pAct = (MetaPieAction*) pAction; in GetBoundRect() local
1606 …ImplActionBounds( aBound, aMapVDev.LogicToLogic( pAct->GetRect(), aMapVDev.GetMapMode(), GetPrefMa… in GetBoundRect()
1612 MetaChordAction* pAct = (MetaChordAction*) pAction; in GetBoundRect() local
1615 …ImplActionBounds( aBound, aMapVDev.LogicToLogic( pAct->GetRect(), aMapVDev.GetMapMode(), GetPrefMa… in GetBoundRect()
1621 MetaPolyLineAction* pAct = (MetaPolyLineAction*) pAction; in GetBoundRect() local
1622 Rectangle aRect( pAct->GetPolygon().GetBoundRect() ); in GetBoundRect()
1626 const LineInfo& rLineInfo = pAct->GetLineInfo(); in GetBoundRect()
1640 MetaPolygonAction* pAct = (MetaPolygonAction*) pAction; in GetBoundRect() local
1641 Rectangle aRect( pAct->GetPolygon().GetBoundRect() ); in GetBoundRect()
1648 MetaPolyPolygonAction* pAct = (MetaPolyPolygonAction*) pAction; in GetBoundRect() local
1649 Rectangle aRect( pAct->GetPolyPolygon().GetBoundRect() ); in GetBoundRect()
1656 MetaTextAction* pAct = (MetaTextAction*) pAction; in GetBoundRect() local
1659 …aMapVDev.GetTextBoundRect( aRect, pAct->GetText(), pAct->GetIndex(), pAct->GetIndex(), pAct->GetLe… in GetBoundRect()
1660 Point aPt( pAct->GetPoint() ); in GetBoundRect()
1668 MetaTextArrayAction* pAct = (MetaTextArrayAction*) pAction; in GetBoundRect() local
1671 …aMapVDev.GetTextBoundRect( aRect, pAct->GetText(), pAct->GetIndex(), pAct->GetIndex(), pAct->GetLe… in GetBoundRect()
1672 0, pAct->GetDXArray() ); in GetBoundRect()
1673 Point aPt( pAct->GetPoint() ); in GetBoundRect()
1681 MetaStretchTextAction* pAct = (MetaStretchTextAction*) pAction; in GetBoundRect() local
1684 …aMapVDev.GetTextBoundRect( aRect, pAct->GetText(), pAct->GetIndex(), pAct->GetIndex(), pAct->GetLe… in GetBoundRect()
1685 pAct->GetWidth(), NULL ); in GetBoundRect()
1686 Point aPt( pAct->GetPoint() ); in GetBoundRect()
1694 MetaTextLineAction* pAct = (MetaTextLineAction*) pAction; in GetBoundRect() local
1701 Point aPt( pAct->GetStartPoint() ); in GetBoundRect()
1703 aRect.Right() = aRect.Left() + pAct->GetWidth(); in GetBoundRect()
1710 MetaBmpScaleAction* pAct = (MetaBmpScaleAction*) pAction; in GetBoundRect() local
1711 Rectangle aRect( pAct->GetPoint(), pAct->GetSize() ); in GetBoundRect()
1718 MetaBmpScalePartAction* pAct = (MetaBmpScalePartAction*) pAction; in GetBoundRect() local
1719 Rectangle aRect( pAct->GetDestPoint(), pAct->GetDestSize() ); in GetBoundRect()
1726 MetaBmpExScaleAction* pAct = (MetaBmpExScaleAction*) pAction; in GetBoundRect() local
1727 Rectangle aRect( pAct->GetPoint(), pAct->GetSize() ); in GetBoundRect()
1734 MetaBmpExScalePartAction* pAct = (MetaBmpExScalePartAction*) pAction; in GetBoundRect() local
1735 Rectangle aRect( pAct->GetDestPoint(), pAct->GetDestSize() ); in GetBoundRect()
1742 MetaGradientAction* pAct = (MetaGradientAction*) pAction; in GetBoundRect() local
1743 Rectangle aRect( pAct->GetRect() ); in GetBoundRect()
1750 MetaGradientExAction* pAct = (MetaGradientExAction*) pAction; in GetBoundRect() local
1751 Rectangle aRect( pAct->GetPolyPolygon().GetBoundRect() ); in GetBoundRect()
1764 MetaHatchAction* pAct = (MetaHatchAction*) pAction; in GetBoundRect() local
1765 Rectangle aRect( pAct->GetPolyPolygon().GetBoundRect() ); in GetBoundRect()
1772 MetaTransparentAction* pAct = (MetaTransparentAction*) pAction; in GetBoundRect() local
1773 Rectangle aRect( pAct->GetPolyPolygon().GetBoundRect() ); in GetBoundRect()
1780 MetaFloatTransparentAction* pAct = (MetaFloatTransparentAction*) pAction; in GetBoundRect() local
1783 const Rectangle aRect( pAct->GetPoint(), pAct->GetSize() ); in GetBoundRect()
1790 MetaEPSAction* pAct = (MetaEPSAction*) pAction; in GetBoundRect() local
1791 Rectangle aRect( pAct->GetPoint(), pAct->GetSize() ); in GetBoundRect()
1798 MetaClipRegionAction* pAct = (MetaClipRegionAction*) pAction; in GetBoundRect() local
1799 if( pAct->IsClipping() ) in GetBoundRect()
1800 …aClipStack.back() = aMapVDev.LogicToLogic( pAct->GetRegion().GetBoundRect(), aMapVDev.GetMapMode()… in GetBoundRect()
1808 MetaISectRectClipRegionAction* pAct = (MetaISectRectClipRegionAction*) pAction; in GetBoundRect() local
1809 …Rectangle aRect( aMapVDev.LogicToLogic( pAct->GetRect(), aMapVDev.GetMapMode(), GetPrefMapMode() )… in GetBoundRect()
1819 MetaISectRegionClipRegionAction* pAct = (MetaISectRegionClipRegionAction*) pAction; in GetBoundRect() local
1820 …Rectangle aRect( aMapVDev.LogicToLogic( pAct->GetRegion().GetBoundRect(), aMapVDev.GetMapMode(), G… in GetBoundRect()
1830 MetaBmpAction* pAct = (MetaBmpAction*) pAction; in GetBoundRect() local
1831 … Rectangle aRect( pAct->GetPoint(), aMapVDev.PixelToLogic( pAct->GetBitmap().GetSizePixel() ) ); in GetBoundRect()
1838 MetaBmpExAction* pAct = (MetaBmpExAction*) pAction; in GetBoundRect() local
1839 … Rectangle aRect( pAct->GetPoint(), aMapVDev.PixelToLogic( pAct->GetBitmapEx().GetSizePixel() ) ); in GetBoundRect()
1846 MetaMaskAction* pAct = (MetaMaskAction*) pAction; in GetBoundRect() local
1847 … Rectangle aRect( pAct->GetPoint(), aMapVDev.PixelToLogic( pAct->GetBitmap().GetSizePixel() ) ); in GetBoundRect()
1854 MetaMaskScalePartAction* pAct = (MetaMaskScalePartAction*) pAction; in GetBoundRect() local
1855 Rectangle aRect( pAct->GetDestPoint(), pAct->GetDestSize() ); in GetBoundRect()
1862 MetaMaskScalePartAction* pAct = (MetaMaskScalePartAction*) pAction; in GetBoundRect() local
1863 Rectangle aRect( pAct->GetDestPoint(), pAct->GetDestSize() ); in GetBoundRect()
1870 MetaWallpaperAction* pAct = (MetaWallpaperAction*) pAction; in GetBoundRect() local
1871 Rectangle aRect( pAct->GetRect() ); in GetBoundRect()
1878 MetaTextRectAction* pAct = (MetaTextRectAction*) pAction; in GetBoundRect() local
1879 Rectangle aRect( pAct->GetRect() ); in GetBoundRect()
1886 MetaMoveClipRegionAction* pAct = (MetaMoveClipRegionAction*) pAction; in GetBoundRect() local
1889 Size aDelta( pAct->GetHorzMove(), pAct->GetVertMove() ); in GetBoundRect()
1902 MetaPushAction* pAct = (MetaPushAction*) pAction; in GetBoundRect() local
1903 aPushFlagStack.push_back( pAct->GetFlags() ); in GetBoundRect()
2058 MetaPixelAction* pAct = (MetaPixelAction*) pAction; in ImplExchangeColors() local
2059 …aMtf.Insert( new MetaPixelAction( pAct->GetPoint(), pFncCol( pAct->GetColor(), pColParam ) ), LIST… in ImplExchangeColors()
2065 MetaLineColorAction* pAct = (MetaLineColorAction*) pAction; in ImplExchangeColors() local
2067 if( !pAct->IsSetting() ) in ImplExchangeColors()
2068 pAct->Duplicate(); in ImplExchangeColors()
2070 pAct = new MetaLineColorAction( pFncCol( pAct->GetColor(), pColParam ), sal_True ); in ImplExchangeColors()
2072 aMtf.Insert( pAct, LIST_APPEND ); in ImplExchangeColors()
2078 MetaFillColorAction* pAct = (MetaFillColorAction*) pAction; in ImplExchangeColors() local
2080 if( !pAct->IsSetting() ) in ImplExchangeColors()
2081 pAct->Duplicate(); in ImplExchangeColors()
2083 pAct = new MetaFillColorAction( pFncCol( pAct->GetColor(), pColParam ), sal_True ); in ImplExchangeColors()
2085 aMtf.Insert( pAct, LIST_APPEND ); in ImplExchangeColors()
2091 MetaTextColorAction* pAct = (MetaTextColorAction*) pAction; in ImplExchangeColors() local
2092 aMtf.Insert( new MetaTextColorAction( pFncCol( pAct->GetColor(), pColParam ) ), LIST_APPEND ); in ImplExchangeColors()
2098 MetaTextFillColorAction* pAct = (MetaTextFillColorAction*) pAction; in ImplExchangeColors() local
2100 if( !pAct->IsSetting() ) in ImplExchangeColors()
2101 pAct->Duplicate(); in ImplExchangeColors()
2103 pAct = new MetaTextFillColorAction( pFncCol( pAct->GetColor(), pColParam ), sal_True ); in ImplExchangeColors()
2105 aMtf.Insert( pAct, LIST_APPEND ); in ImplExchangeColors()
2111 MetaTextLineColorAction* pAct = (MetaTextLineColorAction*) pAction; in ImplExchangeColors() local
2113 if( !pAct->IsSetting() ) in ImplExchangeColors()
2114 pAct->Duplicate(); in ImplExchangeColors()
2116 pAct = new MetaTextLineColorAction( pFncCol( pAct->GetColor(), pColParam ), sal_True ); in ImplExchangeColors()
2118 aMtf.Insert( pAct, LIST_APPEND ); in ImplExchangeColors()
2124 MetaOverlineColorAction* pAct = (MetaOverlineColorAction*) pAction; in ImplExchangeColors() local
2126 if( !pAct->IsSetting() ) in ImplExchangeColors()
2127 pAct->Duplicate(); in ImplExchangeColors()
2129 pAct = new MetaOverlineColorAction( pFncCol( pAct->GetColor(), pColParam ), sal_True ); in ImplExchangeColors()
2131 aMtf.Insert( pAct, LIST_APPEND ); in ImplExchangeColors()
2137 MetaFontAction* pAct = (MetaFontAction*) pAction; in ImplExchangeColors() local
2138 Font aFont( pAct->GetFont() ); in ImplExchangeColors()
2148 MetaWallpaperAction* pAct = (MetaWallpaperAction*) pAction; in ImplExchangeColors() local
2149 Wallpaper aWall( pAct->GetWallpaper() ); in ImplExchangeColors()
2150 const Rectangle& rRect = pAct->GetRect(); in ImplExchangeColors()
2180 MetaBmpScaleAction* pAct = (MetaBmpScaleAction*) pAction; in ImplExchangeColors() local
2181 aMtf.Insert( new MetaBmpScaleAction( pAct->GetPoint(), pAct->GetSize(), in ImplExchangeColors()
2182 pFncBmp( pAct->GetBitmap(), pBmpParam ).GetBitmap() ), in ImplExchangeColors()
2189 MetaBmpScalePartAction* pAct = (MetaBmpScalePartAction*) pAction; in ImplExchangeColors() local
2190 aMtf.Insert( new MetaBmpScalePartAction( pAct->GetDestPoint(), pAct->GetDestSize(), in ImplExchangeColors()
2191 pAct->GetSrcPoint(), pAct->GetSrcSize(), in ImplExchangeColors()
2192 pFncBmp( pAct->GetBitmap(), pBmpParam ).GetBitmap() ), in ImplExchangeColors()
2199 MetaBmpExScaleAction* pAct = (MetaBmpExScaleAction*) pAction; in ImplExchangeColors() local
2200 aMtf.Insert( new MetaBmpExScaleAction( pAct->GetPoint(), pAct->GetSize(), in ImplExchangeColors()
2201 pFncBmp( pAct->GetBitmapEx(), pBmpParam ) ), in ImplExchangeColors()
2208 MetaBmpExScalePartAction* pAct = (MetaBmpExScalePartAction*) pAction; in ImplExchangeColors() local
2209 aMtf.Insert( new MetaBmpExScalePartAction( pAct->GetDestPoint(), pAct->GetDestSize(), in ImplExchangeColors()
2210 pAct->GetSrcPoint(), pAct->GetSrcSize(), in ImplExchangeColors()
2211 pFncBmp( pAct->GetBitmapEx(), pBmpParam ) ), in ImplExchangeColors()
2218 MetaMaskScaleAction* pAct = (MetaMaskScaleAction*) pAction; in ImplExchangeColors() local
2219 aMtf.Insert( new MetaMaskScaleAction( pAct->GetPoint(), pAct->GetSize(), in ImplExchangeColors()
2220 pAct->GetBitmap(), in ImplExchangeColors()
2221 pFncCol( pAct->GetColor(), pColParam ) ), in ImplExchangeColors()
2228 MetaMaskScalePartAction* pAct = (MetaMaskScalePartAction*) pAction; in ImplExchangeColors() local
2229 aMtf.Insert( new MetaMaskScalePartAction( pAct->GetDestPoint(), pAct->GetDestSize(), in ImplExchangeColors()
2230 pAct->GetSrcPoint(), pAct->GetSrcSize(), in ImplExchangeColors()
2231 pAct->GetBitmap(), in ImplExchangeColors()
2232 pFncCol( pAct->GetColor(), pColParam ) ), in ImplExchangeColors()
2239 MetaGradientAction* pAct = (MetaGradientAction*) pAction; in ImplExchangeColors() local
2240 Gradient aGradient( pAct->GetGradient() ); in ImplExchangeColors()
2244 aMtf.Insert( new MetaGradientAction( pAct->GetRect(), aGradient ), LIST_APPEND ); in ImplExchangeColors()
2250 MetaGradientExAction* pAct = (MetaGradientExAction*) pAction; in ImplExchangeColors() local
2251 Gradient aGradient( pAct->GetGradient() ); in ImplExchangeColors()
2255 aMtf.Insert( new MetaGradientExAction( pAct->GetPolyPolygon(), aGradient ), LIST_APPEND ); in ImplExchangeColors()
2261 MetaHatchAction* pAct = (MetaHatchAction*) pAction; in ImplExchangeColors() local
2262 Hatch aHatch( pAct->GetHatch() ); in ImplExchangeColors()
2265 aMtf.Insert( new MetaHatchAction( pAct->GetPolyPolygon(), aHatch ), LIST_APPEND ); in ImplExchangeColors()
2271 MetaFloatTransparentAction* pAct = (MetaFloatTransparentAction*) pAction; in ImplExchangeColors() local
2272 GDIMetaFile aTransMtf( pAct->GetGDIMetaFile() ); in ImplExchangeColors()
2276 pAct->GetPoint(), pAct->GetSize(), in ImplExchangeColors()
2277 pAct->GetGradient() ), in ImplExchangeColors()
2284 MetaEPSAction* pAct = (MetaEPSAction*) pAction; in ImplExchangeColors() local
2285 GDIMetaFile aSubst( pAct->GetSubstitute() ); in ImplExchangeColors()
2288 aMtf.Insert( new MetaEPSAction( pAct->GetPoint(), pAct->GetSize(), in ImplExchangeColors()
2289 pAct->GetLink(), aSubst ), in ImplExchangeColors()
2494 MetaBmpAction* pAct = (MetaBmpAction*) pAction; in GetChecksum() local
2496 ShortToSVBT16( pAct->GetType(), aBT16 ); in GetChecksum()
2499 UInt32ToSVBT32( pAct->GetBitmap().GetChecksum(), aBT32 ); in GetChecksum()
2502 UInt32ToSVBT32( pAct->GetPoint().X(), aBT32 ); in GetChecksum()
2505 UInt32ToSVBT32( pAct->GetPoint().Y(), aBT32 ); in GetChecksum()
2512 MetaBmpScaleAction* pAct = (MetaBmpScaleAction*) pAction; in GetChecksum() local
2514 ShortToSVBT16( pAct->GetType(), aBT16 ); in GetChecksum()
2517 UInt32ToSVBT32( pAct->GetBitmap().GetChecksum(), aBT32 ); in GetChecksum()
2520 UInt32ToSVBT32( pAct->GetPoint().X(), aBT32 ); in GetChecksum()
2523 UInt32ToSVBT32( pAct->GetPoint().Y(), aBT32 ); in GetChecksum()
2526 UInt32ToSVBT32( pAct->GetSize().Width(), aBT32 ); in GetChecksum()
2529 UInt32ToSVBT32( pAct->GetSize().Height(), aBT32 ); in GetChecksum()
2536 MetaBmpScalePartAction* pAct = (MetaBmpScalePartAction*) pAction; in GetChecksum() local
2538 ShortToSVBT16( pAct->GetType(), aBT16 ); in GetChecksum()
2541 UInt32ToSVBT32( pAct->GetBitmap().GetChecksum(), aBT32 ); in GetChecksum()
2544 UInt32ToSVBT32( pAct->GetDestPoint().X(), aBT32 ); in GetChecksum()
2547 UInt32ToSVBT32( pAct->GetDestPoint().Y(), aBT32 ); in GetChecksum()
2550 UInt32ToSVBT32( pAct->GetDestSize().Width(), aBT32 ); in GetChecksum()
2553 UInt32ToSVBT32( pAct->GetDestSize().Height(), aBT32 ); in GetChecksum()
2556 UInt32ToSVBT32( pAct->GetSrcPoint().X(), aBT32 ); in GetChecksum()
2559 UInt32ToSVBT32( pAct->GetSrcPoint().Y(), aBT32 ); in GetChecksum()
2562 UInt32ToSVBT32( pAct->GetSrcSize().Width(), aBT32 ); in GetChecksum()
2565 UInt32ToSVBT32( pAct->GetSrcSize().Height(), aBT32 ); in GetChecksum()
2572 MetaBmpExAction* pAct = (MetaBmpExAction*) pAction; in GetChecksum() local
2574 ShortToSVBT16( pAct->GetType(), aBT16 ); in GetChecksum()
2577 UInt32ToSVBT32( pAct->GetBitmapEx().GetChecksum(), aBT32 ); in GetChecksum()
2580 UInt32ToSVBT32( pAct->GetPoint().X(), aBT32 ); in GetChecksum()
2583 UInt32ToSVBT32( pAct->GetPoint().Y(), aBT32 ); in GetChecksum()
2590 MetaBmpExScaleAction* pAct = (MetaBmpExScaleAction*) pAction; in GetChecksum() local
2592 ShortToSVBT16( pAct->GetType(), aBT16 ); in GetChecksum()
2595 UInt32ToSVBT32( pAct->GetBitmapEx().GetChecksum(), aBT32 ); in GetChecksum()
2598 UInt32ToSVBT32( pAct->GetPoint().X(), aBT32 ); in GetChecksum()
2601 UInt32ToSVBT32( pAct->GetPoint().Y(), aBT32 ); in GetChecksum()
2604 UInt32ToSVBT32( pAct->GetSize().Width(), aBT32 ); in GetChecksum()
2607 UInt32ToSVBT32( pAct->GetSize().Height(), aBT32 ); in GetChecksum()
2614 MetaBmpExScalePartAction* pAct = (MetaBmpExScalePartAction*) pAction; in GetChecksum() local
2616 ShortToSVBT16( pAct->GetType(), aBT16 ); in GetChecksum()
2619 UInt32ToSVBT32( pAct->GetBitmapEx().GetChecksum(), aBT32 ); in GetChecksum()
2622 UInt32ToSVBT32( pAct->GetDestPoint().X(), aBT32 ); in GetChecksum()
2625 UInt32ToSVBT32( pAct->GetDestPoint().Y(), aBT32 ); in GetChecksum()
2628 UInt32ToSVBT32( pAct->GetDestSize().Width(), aBT32 ); in GetChecksum()
2631 UInt32ToSVBT32( pAct->GetDestSize().Height(), aBT32 ); in GetChecksum()
2634 UInt32ToSVBT32( pAct->GetSrcPoint().X(), aBT32 ); in GetChecksum()
2637 UInt32ToSVBT32( pAct->GetSrcPoint().Y(), aBT32 ); in GetChecksum()
2640 UInt32ToSVBT32( pAct->GetSrcSize().Width(), aBT32 ); in GetChecksum()
2643 UInt32ToSVBT32( pAct->GetSrcSize().Height(), aBT32 ); in GetChecksum()
2650 MetaMaskAction* pAct = (MetaMaskAction*) pAction; in GetChecksum() local
2652 ShortToSVBT16( pAct->GetType(), aBT16 ); in GetChecksum()
2655 UInt32ToSVBT32( pAct->GetBitmap().GetChecksum(), aBT32 ); in GetChecksum()
2658 UInt32ToSVBT32( pAct->GetColor().GetColor(), aBT32 ); in GetChecksum()
2661 UInt32ToSVBT32( pAct->GetPoint().X(), aBT32 ); in GetChecksum()
2664 UInt32ToSVBT32( pAct->GetPoint().Y(), aBT32 ); in GetChecksum()
2671 MetaMaskScaleAction* pAct = (MetaMaskScaleAction*) pAction; in GetChecksum() local
2673 ShortToSVBT16( pAct->GetType(), aBT16 ); in GetChecksum()
2676 UInt32ToSVBT32( pAct->GetBitmap().GetChecksum(), aBT32 ); in GetChecksum()
2679 UInt32ToSVBT32( pAct->GetColor().GetColor(), aBT32 ); in GetChecksum()
2682 UInt32ToSVBT32( pAct->GetPoint().X(), aBT32 ); in GetChecksum()
2685 UInt32ToSVBT32( pAct->GetPoint().Y(), aBT32 ); in GetChecksum()
2688 UInt32ToSVBT32( pAct->GetSize().Width(), aBT32 ); in GetChecksum()
2691 UInt32ToSVBT32( pAct->GetSize().Height(), aBT32 ); in GetChecksum()
2698 MetaMaskScalePartAction* pAct = (MetaMaskScalePartAction*) pAction; in GetChecksum() local
2700 ShortToSVBT16( pAct->GetType(), aBT16 ); in GetChecksum()
2703 UInt32ToSVBT32( pAct->GetBitmap().GetChecksum(), aBT32 ); in GetChecksum()
2706 UInt32ToSVBT32( pAct->GetColor().GetColor(), aBT32 ); in GetChecksum()
2709 UInt32ToSVBT32( pAct->GetDestPoint().X(), aBT32 ); in GetChecksum()
2712 UInt32ToSVBT32( pAct->GetDestPoint().Y(), aBT32 ); in GetChecksum()
2715 UInt32ToSVBT32( pAct->GetDestSize().Width(), aBT32 ); in GetChecksum()
2718 UInt32ToSVBT32( pAct->GetDestSize().Height(), aBT32 ); in GetChecksum()
2721 UInt32ToSVBT32( pAct->GetSrcPoint().X(), aBT32 ); in GetChecksum()
2724 UInt32ToSVBT32( pAct->GetSrcPoint().Y(), aBT32 ); in GetChecksum()
2727 UInt32ToSVBT32( pAct->GetSrcSize().Width(), aBT32 ); in GetChecksum()
2730 UInt32ToSVBT32( pAct->GetSrcSize().Height(), aBT32 ); in GetChecksum()
2737 MetaEPSAction* pAct = (MetaEPSAction*) pAction; in GetChecksum() local
2738 nCrc = rtl_crc32( nCrc, pAct->GetLink().GetData(), pAct->GetLink().GetDataSize() ); in GetChecksum()
2744 MetaClipRegionAction* pAct = dynamic_cast< MetaClipRegionAction* >(pAction); in GetChecksum() local
2745 const Region& rRegion = pAct->GetRegion(); in GetChecksum()
2797 ByteToSVBT8((sal_uInt8)pAct->IsClipping(), aSVBT8); in GetChecksum()
3009 MetaAction* pAct = (MetaAction*)First(); in Write() local
3010 while ( pAct ) in Write()
3012 pAct->Write( rOStm, &aWriteData ); in Write()
3013 pAct = (MetaAction*)Next(); in Write()