From 2ec4d410de5bd98527336a9dc49abb76656373df Mon Sep 17 00:00:00 2001 From: Muthu Subramanian Date: Thu, 6 Mar 2014 15:52:24 +0530 Subject: n#821567: Import PPTX background images with table-name. Seems like using the URL directly causes ODP export to ignore the background image. Probaby ODP Export requires updation as well? --- include/oox/drawingml/shapepropertymap.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/oox') diff --git a/include/oox/drawingml/shapepropertymap.hxx b/include/oox/drawingml/shapepropertymap.hxx index 29b0ba2979bf..f451cc0507e1 100644 --- a/include/oox/drawingml/shapepropertymap.hxx +++ b/include/oox/drawingml/shapepropertymap.hxx @@ -65,6 +65,7 @@ enum ShapePropertyId SHAPEPROP_FillBitmapRectanglePoint, SHAPEPROP_FillHatch, SHAPEPROP_ShadowXDistance, + SHAPEPROP_FillBitmapNameFromUrl, SHAPEPROP_END }; @@ -129,6 +130,8 @@ private: bool setGradientTrans( sal_Int32 nPropId, const ::com::sun::star::uno::Any& rValue ); /** Sets an explicit fill bitmap URL, or creates a named fill bitmap URL. */ bool setFillBitmapUrl( sal_Int32 nPropId, const ::com::sun::star::uno::Any& rValue ); + /** Sets an explicit fill bitmap URL and pushes the name to FillBitmapName */ + bool setFillBitmapNameFromUrl( sal_Int32 nPropId, const ::com::sun::star::uno::Any& rValue ); // not implemented, to prevent implicit conversion from enum to int ::com::sun::star::uno::Any& operator[]( ShapePropertyId ePropId ); -- cgit