summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2013-01-24 18:08:38 +0100
committerMiklos Vajna <vmiklos@suse.cz>2013-01-25 11:14:49 +0100
commit2a34dd723baac31e9ce0c639ce9244c0ced4ff06 (patch)
tree53df528cc065ca234be9998d4032545fbbaa033c /comphelper
parent2aec78c0d931a53edbee0adeaf1efc399e235f17 (diff)
text::BaseFrameProperties: add FillStyle and FillGradient optional properties
Change-Id: I854cc5e4da2ce87ef4a7af6e9c0cf6f208714e4c
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/inc/comphelper/TypeGeneration.hxx2
-rw-r--r--comphelper/source/property/TypeGeneration.cxx4
2 files changed, 6 insertions, 0 deletions
diff --git a/comphelper/inc/comphelper/TypeGeneration.hxx b/comphelper/inc/comphelper/TypeGeneration.hxx
index 8c99fcafbda7..0ced57b31714 100644
--- a/comphelper/inc/comphelper/TypeGeneration.hxx
+++ b/comphelper/inc/comphelper/TypeGeneration.hxx
@@ -109,6 +109,8 @@ namespace comphelper
CPPUTYPE_REFXGRAPHIC, //getCppuType( Reference< graphic::XGraphic >*)0)
CPPUTYPE_TABLEBORDERDISTANCES, //getCppuType( (table::TableBorderDistances*)0 )
CPPUTPYE_REFEMBEDDEDOBJECT, // XEmbeddedObject::static_type
+ CPPUTYPE_FILLSTYLE, //getCppuType( (drawing::FillStyle*)0 )
+ CPPUTYPE_GRADIENT, //getCppuType( (awt::Gradient*)0 )
CPPUTYPE_END
};
diff --git a/comphelper/source/property/TypeGeneration.cxx b/comphelper/source/property/TypeGeneration.cxx
index 1dd04e43049b..6925c67848ae 100644
--- a/comphelper/source/property/TypeGeneration.cxx
+++ b/comphelper/source/property/TypeGeneration.cxx
@@ -120,6 +120,8 @@
#include <com/sun/star/graphic/XGraphic.hpp>
#include <com/sun/star/embed/XEmbeddedObject.hpp>
#include <com/sun/star/drawing/LineStyle.hpp>
+#include <com/sun/star/drawing/FillStyle.hpp>
+#include <com/sun/star/awt/Gradient.hpp>
using ::rtl::OUString;
using namespace ::com::sun::star;
@@ -219,6 +221,8 @@ namespace comphelper
case CPPUTYPE_TABLEBORDERDISTANCES: pType = &::getCppuType( (table::TableBorderDistances*)0 ); break;
case CPPUTPYE_REFEMBEDDEDOBJECT: pType = &embed::XEmbeddedObject::static_type(); break;
case CPPUTYPE_LINESTYLE: pType = &::getCppuType( (drawing::LineStyle*)0 ); break;
+ case CPPUTYPE_FILLSTYLE: pType = &::getCppuType( (drawing::FillStyle*)0 ); break;
+ case CPPUTYPE_GRADIENT: pType = &::getCppuType( (awt::Gradient*)0 ); break;
default:
OSL_FAIL( "Unknown CPPU type" );
}