20#ifndef INCLUDED_OOX_DRAWINGML_COLORCHOICECONTEXT_HXX
21#define INCLUDED_OOX_DRAWINGML_COLORCHOICECONTEXT_HXX
39 virtual void onStartElement(const ::oox::AttributeList& rAttribs)
override;
42 sal_Int32 nElement, const ::oox::AttributeList& rAttribs)
override;
58 sal_Int32 nElement, const ::oox::AttributeList& rAttribs)
override;
71 explicit ColorsContext(::oox::core::ContextHandler2Helper
const& rParent,
72 std::vector<Color>& rColors);
75 onCreateContext(sal_Int32 nElement, const ::oox::AttributeList& rAttribs)
override;
Context handler for elements that contain a color value element (a:scrgbClr, a:srgbClr,...
ColorContext(::oox::core::ContextHandler2Helper const &rParent, Color &rColor, model::ComplexColor *pComplexColor=nullptr)
model::ComplexColor * mpComplexColor
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const ::oox::AttributeList &rAttribs) override
Context handler for the different color value elements (a:scrgbClr, a:srgbClr, a:hslClr,...
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const ::oox::AttributeList &rAttribs) override
virtual void onStartElement(const ::oox::AttributeList &rAttribs) override
model::ComplexColor * mpComplexColor
ColorValueContext(::oox::core::ContextHandler2Helper const &rParent, Color &rColor, model::ComplexColor *pComplexColor=nullptr)
Same as ColorContext, but handles multiple colors.
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const ::oox::AttributeList &rAttribs) override
ColorsContext(::oox::core::ContextHandler2Helper const &rParent, std::vector< Color > &rColors)
std::vector< Color > & mrColors
::rtl::Reference< ContextHandler > ContextHandlerRef