13#include <com/sun/star/drawing/XDrawPage.hpp>
14#include <com/sun/star/util/Color.hpp>
15#include <com/sun/star/container/XNameContainer.hpp>
27 css::uno::Reference<css::drawing::XDrawPage>
m_xPage;
32 css::uno::Reference<css::xml::sax::XFastAttributeList>
const& xAttrList,
33 css::uno::Reference<css::drawing::XDrawPage>
const& xPage);
38 const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttribs)
override;
50 css::uno::Reference<css::xml::sax::XFastAttributeList>
const& xAttrList,
56 css::uno::Reference<css::xml::sax::XFastAttributeList>
const& xAttribs)
override;
64 css::uno::Reference<css::xml::sax::XFastAttributeList>
const& xAttrList,
65 std::shared_ptr<model::ColorSet>& rpColorSet);
This class deliberately does not support XWeak, to improve performance when loading large documents.
Imports a color for a color table.
XMLColorContext(SvXMLImport &rImport, css::uno::Reference< css::xml::sax::XFastAttributeList > const &xAttrList, std::shared_ptr< model::ColorSet > &rpColorSet)
Imports the theme colors of a theme.
XMLThemeColorsContext(SvXMLImport &rImport, css::uno::Reference< css::xml::sax::XFastAttributeList > const &xAttrList, model::Theme &mrTheme)
std::shared_ptr< model::ColorSet > m_pColorSet
std::vector< css::util::Color > m_aColorScheme
css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, css::uno::Reference< css::xml::sax::XFastAttributeList > const &xAttribs) override
XMLThemeContext(SvXMLImport &rImport, css::uno::Reference< css::xml::sax::XFastAttributeList > const &xAttrList, css::uno::Reference< css::drawing::XDrawPage > const &xPage)
std::shared_ptr< model::Theme > mpTheme
css::uno::Reference< css::drawing::XDrawPage > m_xPage
css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttribs) override