View | Details | Raw Unified | Return to issue 119877
Collapse All | Expand All

(-)filter/source/msfilter/svdfppt.cxx (+11 lines)
Lines 37-42 Link Here
37
#include <com/sun/star/text/XText.hpp>
37
#include <com/sun/star/text/XText.hpp>
38
#include <com/sun/star/geometry/RealPoint2D.hpp>
38
#include <com/sun/star/geometry/RealPoint2D.hpp>
39
#include <com/sun/star/util/DateTime.hpp>
39
#include <com/sun/star/util/DateTime.hpp>
40
#include <com/sun/star/drawing/BitmapMode.hpp>
40
#include <unotools/streamwrap.hxx>
41
#include <unotools/streamwrap.hxx>
41
#include <filter/msfilter/svdfppt.hxx>
42
#include <filter/msfilter/svdfppt.hxx>
42
#include <svx/xpoly.hxx>
43
#include <svx/xpoly.hxx>
Lines 7612-7617 Link Here
7612
7613
7613
					static const rtl::OUString sFillBitmapURL( String( RTL_CONSTASCII_USTRINGPARAM( "FillBitmapURL" ) ) );
7614
					static const rtl::OUString sFillBitmapURL( String( RTL_CONSTASCII_USTRINGPARAM( "FillBitmapURL" ) ) );
7614
					xPropSet->setPropertyValue( sFillBitmapURL, Any( aURL ) );
7615
					xPropSet->setPropertyValue( sFillBitmapURL, Any( aURL ) );
7616
7617
					static const rtl::OUString sFillBitmapMode( String( RTL_CONSTASCII_USTRINGPARAM( "FillBitmapMode" ) ) );
7618
					const XFillBmpStretchItem aStretchItem(( const XFillBmpStretchItem&)pObj->GetMergedItem( XATTR_FILLBMP_STRETCH ));
7619
					const XFillBmpTileItem aTileItem(( const XFillBmpTileItem&)pObj->GetMergedItem( XATTR_FILLBMP_TILE ));
7620
					if( aTileItem.GetValue() )
7621
						xPropSet->setPropertyValue( sFillBitmapMode, Any( com::sun::star::drawing::BitmapMode_REPEAT ) );
7622
					else if( aStretchItem.GetValue() )
7623
						xPropSet->setPropertyValue( sFillBitmapMode, Any( com::sun::star::drawing::BitmapMode_STRETCH ) );
7624
					else
7625
						xPropSet->setPropertyValue( sFillBitmapMode, Any( com::sun::star::drawing::BitmapMode_NO_REPEAT ) );
7615
				}
7626
				}
7616
			break;
7627
			break;
7617
			case XFILL_NONE :
7628
			case XFILL_NONE :

Return to issue 119877