diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2013-01-24 18:07:19 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2013-01-25 11:14:48 +0100 |
commit | 2aec78c0d931a53edbee0adeaf1efc399e235f17 (patch) | |
tree | c46dcec1b361716359b17e3a77433b8b72903235 /editeng/inc | |
parent | 8e9675d2330b3eff788843c75f657c284a07fe54 (diff) |
SvxBrushItem: extend this with a vcl Gradient and drawing::FillStyle
So Writer fly frames can have gradient info as well.
Change-Id: If59ae9092fedabbe112f034e13fbe801815ebaaf
Diffstat (limited to 'editeng/inc')
-rw-r--r-- | editeng/inc/editeng/brshitem.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/editeng/inc/editeng/brshitem.hxx b/editeng/inc/editeng/brshitem.hxx index fca5653a6aaf..44354b4fc1f7 100644 --- a/editeng/inc/editeng/brshitem.hxx +++ b/editeng/inc/editeng/brshitem.hxx @@ -23,6 +23,7 @@ #include <vcl/wall.hxx> #include <tools/link.hxx> #include <editeng/editengdllapi.h> +#include <com/sun/star/drawing/FillStyle.hpp> // class SvxBrushItem ---------------------------------------------------- @@ -33,6 +34,7 @@ namespace rtl { class OUString; } +class Gradient; #define BRUSH_GRAPHIC_VERSION ((sal_uInt16)0x0001) @@ -111,12 +113,16 @@ public: const GraphicObject* GetGraphicObject() const; const String* GetGraphicLink() const { return pStrLink; } const String* GetGraphicFilter() const { return pStrFilter; } + com::sun::star::drawing::FillStyle GetFillStyle() const; + const Gradient& GetGradient() const; void SetGraphicPos( SvxGraphicPosition eNew ); void SetGraphic( const Graphic& rNew ); void SetGraphicObject( const GraphicObject& rNewObj ); void SetGraphicLink( const String& rNew ); void SetGraphicFilter( const String& rNew ); + void SetFillStyle(com::sun::star::drawing::FillStyle eNew); + void SetGradient(Gradient& rNew); SvxBrushItem& operator=( const SvxBrushItem& rItem); |