LibreOffice Module oox (master) 1
|
#include <clrscheme.hxx>
Public Member Functions | |
bool | getColor (sal_Int32 nSchemeClrToken, ::Color &rColor) const |
void | setColor (sal_Int32 nSchemeClrToken, ::Color nColor) |
bool | getColorByIndex (size_t nIndex, ::Color &rColor) const |
void | SetName (const OUString &rName) |
const OUString & | GetName () const |
void | ToAny (css::uno::Any &rVal) const |
void | fill (model::ColorSet &rColorSet) const |
Private Attributes | |
std::vector< std::pair< sal_Int32, ::Color > > | maClrScheme |
OUString | maName |
Definition at line 66 of file clrscheme.hxx.
void oox::drawingml::ClrScheme::fill | ( | model::ColorSet & | rColorSet | ) | const |
Definition at line 167 of file clrscheme.cxx.
References model::Accent1, model::Accent2, model::Accent3, model::Accent4, model::Accent5, model::Accent6, model::ColorSet::add(), model::Dark1, model::Dark2, model::FollowedHyperlink, model::Hyperlink, model::Light1, model::Light2, maClrScheme, and nToken.
bool oox::drawingml::ClrScheme::getColor | ( | sal_Int32 | nSchemeClrToken, |
::Color & | rColor | ||
) | const |
Definition at line 108 of file clrscheme.cxx.
References maClrScheme.
bool oox::drawingml::ClrScheme::getColorByIndex | ( | size_t | nIndex, |
::Color & | rColor | ||
) | const |
Definition at line 146 of file clrscheme.cxx.
References maClrScheme, and nIndex.
|
inline |
Definition at line 80 of file clrscheme.hxx.
References maName.
void oox::drawingml::ClrScheme::setColor | ( | sal_Int32 | nSchemeClrToken, |
::Color | nColor | ||
) |
Definition at line 137 of file clrscheme.cxx.
References maClrScheme.
Referenced by oox::drawingml::clrSchemeColorContext::~clrSchemeColorContext().
|
inline |
Definition at line 79 of file clrscheme.hxx.
References maName.
Referenced by oox::drawingml::ThemeElementsContext::onCreateContext().
void oox::drawingml::ClrScheme::ToAny | ( | css::uno::Any & | rVal | ) | const |
Definition at line 155 of file clrscheme.cxx.
References comphelper::containerToSequence(), and maClrScheme.
|
private |
Definition at line 68 of file clrscheme.hxx.
Referenced by fill(), getColor(), getColorByIndex(), setColor(), and ToAny().
|
private |
Definition at line 69 of file clrscheme.hxx.