diff options
author | Armin Le Grand (allotropia) <armin.le.grand.extern@allotropia.de> | 2023-05-05 16:30:25 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2023-05-15 21:38:55 +0200 |
commit | 398cd68db0590ada3f59f9cbe2e71869f221eb11 (patch) | |
tree | 52518e6943a5b48324c20cee0c91fffe758b5d5b /include | |
parent | caa424e6c77993dd0ac1325c20cc5068a1ed8e9a (diff) |
MCGR: Correct import for Gradient presets/templates
Change-Id: I1424ad5deb65f6c72f414a51a40fbd1138c284d8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151432
Tested-by: Jenkins
Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/xmloff/GradientStyle.hxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/xmloff/GradientStyle.hxx b/include/xmloff/GradientStyle.hxx index db946279a238..04ad2832d997 100644 --- a/include/xmloff/GradientStyle.hxx +++ b/include/xmloff/GradientStyle.hxx @@ -23,6 +23,7 @@ #include <sal/config.h> #include <xmloff/dllapi.h> #include <rtl/ustring.hxx> +#include <xmloff/xmlictxt.hxx> class SvXMLImport; class SvXMLExport; @@ -30,6 +31,7 @@ namespace com::sun::star { namespace uno { template<class A> class Reference; } namespace xml::sax { class XFastAttributeList; } namespace uno { class Any; } + namespace awt { struct ColorStop; } } @@ -46,6 +48,15 @@ public: OUString& rStrName ); }; +class XMLOFF_DLLPUBLIC XMLGradientStopContext: public SvXMLImportContext +{ +public: + XMLGradientStopContext( + SvXMLImport& rImport, sal_Int32 nElement, + const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList, + std::vector<css::awt::ColorStop>& rColorStopVec); + virtual ~XMLGradientStopContext() override; +}; class XMLOFF_DLLPUBLIC XMLGradientStyleExport { |