diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-01-07 22:27:41 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-01-07 22:27:41 +0100 |
commit | eda0cec9ac990020e9da804ec3ed38e2cbfeeb77 (patch) | |
tree | ce01afe125d3868a9677004b2aa5ef47b67aefaf /xmloff/source/style/FillStyleContext.hxx | |
parent | 8269d576ec5dcfd4ca76ae219e85935efcdc008b (diff) |
Revert "dummy commit (WIP)"
This reverts commit 6eb0522395c236ae6930a300992ad092449f9592.
It does not compile and the message and contents suggest it probably wasn't
meant to be pushed.
Diffstat (limited to 'xmloff/source/style/FillStyleContext.hxx')
-rw-r--r-- | xmloff/source/style/FillStyleContext.hxx | 67 |
1 files changed, 2 insertions, 65 deletions
diff --git a/xmloff/source/style/FillStyleContext.hxx b/xmloff/source/style/FillStyleContext.hxx index f90c100e3017..b8d1d795864b 100644 --- a/xmloff/source/style/FillStyleContext.hxx +++ b/xmloff/source/style/FillStyleContext.hxx @@ -21,12 +21,11 @@ #define _XMLOFF_FILLSTYLECONTEXTS_HXX_ #include <com/sun/star/io/XOutputStream.hpp> -#include <com/sun/star/util/Color.hpp> #include <xmloff/xmlstyle.hxx> -#include <rtl/ustring.hxx> +#include<rtl/ustring.hxx> ////////////////////////////////////////////////////////////////////////////// -// draw:gradient context +// draw:gardient context class XMLGradientStyleContext: public SvXMLStyleContext { @@ -47,68 +46,6 @@ public: }; ////////////////////////////////////////////////////////////////////////////// -// svg:linearGradient context -class XMLLinearGradientStyleContext: public SvXMLStyleContext -{ -private: - ::com::sun::star::uno::Any maAny; - rtl::OUString maStrName; - ::std::vector< ::com::sun::star::util::Color > mStopColors; - ::std::vector< double > mStopOffsets; - -public: - TYPEINFO(); - - XMLLinearGradientStyleContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const rtl::OUString& rLName, - const com::sun::star::uno::Reference< - com::sun::star::xml::sax::XAttributeList> & xAttrList ); - virtual ~XMLLinearGradientStyleContext(); - - virtual void EndElement(); - - virtual sal_Bool IsTransient() const; - - void SetGradientStop( ::com::sun::star::util::Color aColor, double aOffset); - -protected: - virtual SvXMLImportContext *CreateChildContext( - sal_uInt16 nPrefix, - const ::rtl::OUString& rLocalName, - const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList ); -}; - -////////////////////////////////////////////////////////////////////////////// -// import svg:stop elements -class XMLSvgGradientStopImportContext : public SvXMLImportContext -{ - XMLLinearGradientStyleContext& rGradientStyleContext; - -private: - ::com::sun::star::uno::Any maAny; - -public: - - TYPEINFO(); - - XMLSvgGradientStopImportContext( - SvXMLImport& rImport, - sal_uInt16 nPrfx, - const ::rtl::OUString& rLocalName, - XMLLinearGradientStyleContext& rGradientStyle); - - ~XMLSvgGradientStopImportContext(); - -protected: - - virtual void StartElement( - const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList> & xAttrList); - - virtual void EndElement(); -}; - -////////////////////////////////////////////////////////////////////////////// // draw:hatch context class XMLHatchStyleContext: public SvXMLStyleContext |