20#include <com/sun/star/awt/Gradient.hpp>
30using namespace ::
cppu;
37 explicit SvxUnoGradientTable(
SdrModel* pModel)
noexcept;
46 virtual uno::Type SAL_CALL getElementType()
override;
50SvxUnoGradientTable::SvxUnoGradientTable(
SdrModel* pModel) noexcept
55OUString SAL_CALL SvxUnoGradientTable::getImplementationName() {
return "SvxUnoGradientTable"; }
57uno::Sequence<OUString> SAL_CALL SvxUnoGradientTable::getSupportedServiceNames()
59 return {
"com.sun.star.drawing.GradientTable" };
66uno::Type SAL_CALL SvxUnoGradientTable::getElementType()
76 return *
new SvxUnoGradientTable(pModel);
virtual NameOrIndex * createItem() const =0
css::uno::Type const & get()
css::uno::Sequence< OUString > getSupportedServiceNames()
OUString getImplementationName()
uno::Reference< uno::XInterface > SvxUnoGradientTable_createInstance(SdrModel *pModel)
Create a gradienttable.
constexpr TypedWhichId< XFillGradientItem > XATTR_FILLGRADIENT(XATTR_FILL_FIRST+2)