diff options
author | Sven Jacobi <sj@openoffice.org> | 2001-03-15 14:32:03 +0000 |
---|---|---|
committer | Sven Jacobi <sj@openoffice.org> | 2001-03-15 14:32:03 +0000 |
commit | c7671d9e792596e1a78ae33744ffc444c24ae4b4 (patch) | |
tree | c393a01aca4be23a8cfb7335569feea6e6cdcd2c /svx | |
parent | 6d1acd12ed13ba0262aaed577593c0a57542d0b7 (diff) |
api changes : FillBitmapTile -> FillBitmapMode
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/msfilter/escherex.cxx | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/svx/source/msfilter/escherex.cxx b/svx/source/msfilter/escherex.cxx index 9d824d7db07a..18e45433e965 100644 --- a/svx/source/msfilter/escherex.cxx +++ b/svx/source/msfilter/escherex.cxx @@ -2,9 +2,9 @@ * * $RCSfile: escherex.cxx,v $ * - * $Revision: 1.17 $ + * $Revision: 1.18 $ * - * last change: $Author: sj $ $Date: 2001-03-09 16:25:26 $ + * last change: $Author: sj $ $Date: 2001-03-15 15:32:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -145,6 +145,9 @@ #ifndef _COM_SUN_STAR_DRAWING_COLORMODE_HPP_ #include <com/sun/star/drawing/ColorMode.hpp> #endif +#ifndef _COM_SUN_STAR_DRAWING_BITMAPMODE_HPP_ +#include <com/sun/star/drawing/BitmapMode.hpp> +#endif #ifndef _COM_SUN_STAR_TEXT_GRAPHICCROP_HPP_ #include <com/sun/star/text/GraphicCrop.hpp> #endif @@ -806,12 +809,12 @@ sal_Bool EscherPropertyContainer::CreateGraphicProperties( if ( pGraphicProvider && pPicOutStrm && pShapeBoundRect ) { sal_Bool bMirrored = sal_False; - sal_Bool bBitmapTile = sal_False; GraphicAttr* pGraphicAttr = NULL; GraphicObject aGraphicObject; String aGraphicUrl; ByteString aUniqueId; + ::com::sun::star::drawing::BitmapMode eBitmapMode( ::com::sun::star::drawing::BitmapMode_NO_REPEAT ); ::com::sun::star::uno::Any aAny; if ( EscherPropertyValueHelper::GetPropertyValue( aAny, rXPropSet, rSource ) ) @@ -913,7 +916,7 @@ sal_Bool EscherPropertyContainer::CreateGraphicProperties( aGraphicObject = Graphic( aBitmap ); } - bBitmapTile = sal_True; + eBitmapMode = ::com::sun::star::drawing::BitmapMode_REPEAT; aUniqueId = aGraphicObject.GetUniqueID(); } } @@ -935,8 +938,8 @@ sal_Bool EscherPropertyContainer::CreateGraphicProperties( if ( bFillBitmap ) { - if ( EscherPropertyValueHelper::GetPropertyValue( aAny, rXPropSet, String( RTL_CONSTASCII_USTRINGPARAM( "FillBitmapTile" ) ), sal_True ) ) - aAny >>= bBitmapTile; + if ( EscherPropertyValueHelper::GetPropertyValue( aAny, rXPropSet, String( RTL_CONSTASCII_USTRINGPARAM( "FillBitmapMode" ) ), sal_True ) ) + aAny >>= eBitmapMode; } else { @@ -960,7 +963,7 @@ sal_Bool EscherPropertyContainer::CreateGraphicProperties( } } } - if ( bBitmapTile ) + if ( eBitmapMode == ::com::sun::star::drawing::BitmapMode_REPEAT ) AddOpt( ESCHER_Prop_fillType, ESCHER_FillTexture ); else AddOpt( ESCHER_Prop_fillType, ESCHER_FillPicture ); |