20#ifndef INCLUDED_OOX_DRAWINGML_THEME_HXX
21#define INCLUDED_OOX_DRAWINGML_THEME_HXX
25#include <com/sun/star/uno/Reference.hxx>
31#include <rtl/ustring.hxx>
36 namespace drawing {
class XDrawPage; }
37 namespace xml::dom {
class XDocument; }
46struct EffectProperties;
49struct TextCharacterProperties;
91 std::map<sal_Int32, std::vector<std::pair<OUString, OUString>>>&
getSupplementalFontMap() {
return maSupplementalFontMap; }
92 std::map<sal_Int32, std::vector<std::pair<OUString, OUString>>>
const&
getSupplementalFontMap()
const {
return maSupplementalFontMap; }
97 const TextFont* resolveFont( std::u16string_view rName )
const;
108 const css::uno::Reference<css::xml::dom::XDocument>&
getFragment()
const {
return mxFragment; }
109 void setFragment(
const css::uno::Reference< css::xml::dom::XDocument>& xRef ) { mxFragment=xRef; }
111 void addTheme(
const css::uno::Reference<css::drawing::XDrawPage>& xDrawPage)
const;
113 void setTheme(std::shared_ptr<model::Theme>
const& pTheme)
118 std::shared_ptr<model::Theme>
const&
getTheme()
const
void setFragment(const css::uno::Reference< css::xml::dom::XDocument > &xRef)
const css::uno::Reference< css::xml::dom::XDocument > & getFragment() const
void setFormatSchemeName(OUString const &rName)
css::uno::Reference< css::xml::dom::XDocument > mxFragment
std::map< sal_Int32, std::vector< std::pair< OUString, OUString > > > & getSupplementalFontMap()
FillStyleList & getFillStyleList()
LineStyleList & getLineStyleList()
EffectStyleList maEffectStyleList
const FillStyleList & getFillStyleList() const
const FontScheme & getFontScheme() const
EffectStyleList & getEffectStyleList()
const LineStyleList & getLineStyleList() const
std::shared_ptr< model::Theme > mpTheme
const Shape & getLnDef() const
FillStyleList maBgFillStyleList
ClrScheme & getClrScheme()
OUString maFormatSchemeName
std::map< sal_Int32, std::vector< std::pair< OUString, OUString > > > maSupplementalFontMap
const ClrScheme & getClrScheme() const
FillStyleList & getBgFillStyleList()
std::shared_ptr< model::Theme > const & getTheme() const
const Shape & getTxDef() const
const EffectStyleList & getEffectStyleList() const
LineStyleList maLineStyleList
const FillStyleList & getBgFillStyleList() const
FillStyleList maFillStyleList
std::map< sal_Int32, std::vector< std::pair< OUString, OUString > > > const & getSupplementalFontMap() const
OUString maFontSchemeName
void setThemeName(OUString const &rName)
FontScheme & getFontScheme()
void setFontSchemeName(OUString const &rName)
const Shape & getSpDef() const
void setTheme(std::shared_ptr< model::Theme > const &pTheme)
const sal_Int32 THEMED_STYLE_INTENSE
const sal_Int32 THEMED_STYLE_SUBTLE
RefVector< LineProperties > LineStyleList
RefVector< FillProperties > FillStyleList
RefMap< sal_Int32, TextCharacterProperties > FontScheme
RefVector< EffectProperties > EffectStyleList
const sal_Int32 THEMED_STYLE_MODERATE
model::FontScheme maFontScheme