diff options
Diffstat (limited to 'filter/source/flash/swfwriter1.cxx')
-rw-r--r-- | filter/source/flash/swfwriter1.cxx | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/filter/source/flash/swfwriter1.cxx b/filter/source/flash/swfwriter1.cxx index 200d424897f4..cdb956d57a87 100644 --- a/filter/source/flash/swfwriter1.cxx +++ b/filter/source/flash/swfwriter1.cxx @@ -50,7 +50,6 @@ static MapMode aTWIPSMode( MAP_TWIP ); static MapMode a100thmmMode( MAP_100TH_MM ); - Point Writer::map( const Point& rPoint ) const { const MapMode& aSourceMapMode = mpVDev->GetMapMode(); @@ -66,7 +65,6 @@ Point Writer::map( const Point& rPoint ) const } - Size Writer::map( const Size& rSize ) const { const MapMode& aSourceMapMode = mpVDev->GetMapMode(); @@ -82,7 +80,6 @@ Size Writer::map( const Size& rSize ) const } - void Writer::map( tools::PolyPolygon& rPolyPolygon ) const { const sal_uInt16 nPolyCount = rPolyPolygon.Count(); @@ -103,7 +100,6 @@ void Writer::map( tools::PolyPolygon& rPolyPolygon ) const } - sal_Int32 Writer::mapRelative( sal_Int32 n100thMM ) const { MapMode aSourceMapMode( mpVDev->GetMapMode() ); @@ -114,7 +110,6 @@ sal_Int32 Writer::mapRelative( sal_Int32 n100thMM ) const } - void Writer::Impl_addPolygon( BitStream& rBits, const tools::Polygon& rPoly, bool bFilled ) { Point aLastPoint( rPoly[0] ); @@ -169,7 +164,6 @@ void Writer::Impl_addPolygon( BitStream& rBits, const tools::Polygon& rPoly, boo } - /** Exports a style change record with a move to (x,y) and depending on bFilled a line style 1 or fill style 1 */ void Writer::Impl_addShapeRecordChange( BitStream& rBits, sal_Int16 dx, sal_Int16 dy, bool bFilled ) @@ -192,7 +186,6 @@ void Writer::Impl_addShapeRecordChange( BitStream& rBits, sal_Int16 dx, sal_Int1 } - /** Exports a straight edge record */ void Writer::Impl_addStraightEdgeRecord( BitStream& rBits, sal_Int16 dx, sal_Int16 dy ) @@ -226,7 +219,6 @@ void Writer::Impl_addStraightEdgeRecord( BitStream& rBits, sal_Int16 dx, sal_Int } - /** Exports a curved edge record */ void Writer::Impl_addCurvedEdgeRecord( BitStream& rBits, sal_Int16 control_dx, sal_Int16 control_dy, sal_Int16 anchor_dx, sal_Int16 anchor_dy ) @@ -249,7 +241,6 @@ void Writer::Impl_addCurvedEdgeRecord( BitStream& rBits, sal_Int16 control_dx, s } - /** Exports a end shape record */ void Writer::Impl_addEndShapeRecord( BitStream& rBits ) @@ -258,7 +249,6 @@ void Writer::Impl_addEndShapeRecord( BitStream& rBits ) } - void Writer::Impl_writePolygon( const tools::Polygon& rPoly, bool bFilled ) { tools::PolyPolygon aPolyPoly( rPoly ); @@ -266,7 +256,6 @@ void Writer::Impl_writePolygon( const tools::Polygon& rPoly, bool bFilled ) } - void Writer::Impl_writePolygon( const tools::Polygon& rPoly, bool bFilled, const Color& rFillColor, const Color& rLineColor ) { tools::PolyPolygon aPolyPoly( rPoly ); @@ -274,7 +263,6 @@ void Writer::Impl_writePolygon( const tools::Polygon& rPoly, bool bFilled, const } - void Writer::Impl_writePolyPolygon( const tools::PolyPolygon& rPolyPoly, bool bFilled, sal_uInt8 nTransparence /* = 0 */ ) { Color aLineColor( mpVDev->GetLineColor() ); @@ -287,7 +275,6 @@ void Writer::Impl_writePolyPolygon( const tools::PolyPolygon& rPolyPoly, bool bF } - void Writer::Impl_writePolyPolygon( const tools::PolyPolygon& rPolyPoly, bool bFilled, const Color& rFillColor, const Color& rLineColor ) { tools::PolyPolygon aPolyPoly( rPolyPoly ); @@ -322,7 +309,6 @@ void Writer::Impl_writePolyPolygon( const tools::PolyPolygon& rPolyPoly, bool bF } - /** A gradient is a transition from one color to another, rendered inside a given polypolygon */ void Writer::Impl_writeGradientEx( const tools::PolyPolygon& rPolyPoly, const Gradient& rGradient ) { @@ -357,14 +343,12 @@ void Writer::Impl_writeGradientEx( const tools::PolyPolygon& rPolyPoly, const Gr } - void Writer::setClipping( const tools::PolyPolygon* pClipPolyPolygon ) { mpClipPolyPolygon = pClipPolyPolygon; } - // AS: Just comparing fonts straight up is too literal. There are some // differences in font that actually require different glyphs to be defined, // and some that don't. This function is meant to capture all the differences @@ -380,7 +364,6 @@ bool compare_fonts_for_me(const vcl::Font& rFont1, const vcl::Font& rFont2) } - FlashFont& Writer::Impl_getFont( const vcl::Font& rFont ) { FontMap::iterator aIter( maFonts.begin() ); @@ -401,7 +384,6 @@ FlashFont& Writer::Impl_getFont( const vcl::Font& rFont ) } - void Writer::Impl_writeText( const Point& rPos, const OUString& rText, const long* pDXArray, long nWidth ) { const FontMetric aMetric( mpVDev->GetFontMetric() ); @@ -876,7 +858,6 @@ sal_uInt16 Writer::defineBitmap( const BitmapEx &bmpSource, sal_Int32 nJPEGQuali } - void Writer::Impl_writeImage( const BitmapEx& rBmpEx, const Point& rPt, const Size& rSz, const Point& /* rSrcPt */, const Size& /* rSrcSz */, const Rectangle& rClipRect, bool bNeedToMapClipRect ) { if( !!rBmpEx ) @@ -989,7 +970,6 @@ void Writer::Impl_writeBmp( sal_uInt16 nBitmapId, sal_uInt32 width, sal_uInt32 h } - void Writer::Impl_writeJPEG(sal_uInt16 nBitmapId, const sal_uInt8* pJpgData, sal_uInt32 nJpgDataLength, sal_uInt8 *pAlphaCompressed, sal_uInt32 alpha_compressed_size ) { // AS: Go through the actual JPEG bits, separating out the @@ -1126,7 +1106,6 @@ void Writer::Impl_writeJPEG(sal_uInt16 nBitmapId, const sal_uInt8* pJpgData, sal } - void Writer::Impl_writeLine( const Point& rPt1, const Point& rPt2, const Color* pLineColor ) { Color aOldColor( mpVDev->GetLineColor() ); @@ -1141,7 +1120,6 @@ void Writer::Impl_writeLine( const Point& rPt1, const Point& rPt2, const Color* } - void Writer::Impl_writeRect( const Rectangle& rRect, long nRadX, long nRadY ) { if( (rRect.Top() == rRect.Bottom()) || (rRect.Left() == rRect.Right()) ) @@ -1157,7 +1135,6 @@ void Writer::Impl_writeRect( const Rectangle& rRect, long nRadX, long nRadY ) } - void Writer::Impl_writeEllipse( const Point& rCenter, long nRadX, long nRadY ) { tools::Polygon aPoly( rCenter, nRadX, nRadY ); @@ -1208,7 +1185,6 @@ bool Writer::Impl_writeStroke( SvtGraphicStroke& rStroke ) } - /** Writes the filling defined by SvtGraphicFill and returns true or it returns false if it can't handle this filling. */ @@ -1285,7 +1261,6 @@ bool Writer::Impl_writeFilling( SvtGraphicFill& rFilling ) } - /* CL: The idea was to export page fields as text fields that get theire string from a variable set with actionscript by each page. This didn't work out since the formatting is always wrong when text follows the @@ -1334,7 +1309,6 @@ bool Writer::Impl_writePageField( Rectangle& rTextBounds ) #endif - void Writer::Impl_handleLineInfoPolyPolygons(const LineInfo& rInfo, const basegfx::B2DPolygon& rLinePolygon) { if(rLinePolygon.count()) @@ -1374,7 +1348,6 @@ void Writer::Impl_handleLineInfoPolyPolygons(const LineInfo& rInfo, const basegf } - void Writer::Impl_writeActions( const GDIMetaFile& rMtf ) { Rectangle clipRect; @@ -1842,9 +1815,6 @@ void Writer::Impl_writeActions( const GDIMetaFile& rMtf ) } - - - void Writer::Impl_addStraightLine( BitStream& rBits, Point& rLastPoint, const double P2x, const double P2y ) { @@ -1856,7 +1826,6 @@ void Writer::Impl_addStraightLine( BitStream& rBits, Point& rLastPoint, } - void Writer::Impl_addQuadBezier( BitStream& rBits, Point& rLastPoint, const double P2x, const double P2y, const double P3x, const double P3y ) @@ -1872,7 +1841,6 @@ void Writer::Impl_addQuadBezier( BitStream& rBits, Point& rLastPoint, } - /* Approximate given cubic bezier curve by quadratic bezier segments */ void Writer::Impl_quadBezierApprox( BitStream& rBits, Point& rLastPoint, |