|
LibreOffice Module svx (master) 1
|
#include <ColorSets.hxx>
Public Types | |
| enum class | IdenticalNameAction { Overwrite , AutoRename } |
Public Member Functions | |
| const std::vector< model::ColorSet > & | getColorSetVector () const |
| const model::ColorSet & | getColorSet (sal_uInt32 nIndex) const |
| model::ColorSet const * | getColorSet (std::u16string_view rName) const |
| void | insert (model::ColorSet const &rColorSet, IdenticalNameAction eAction=IdenticalNameAction::Overwrite) |
Static Public Member Functions | |
| static ColorSets & | get () |
Private Member Functions | |
| ColorSets () | |
| void | init () |
Private Attributes | |
| std::vector< model::ColorSet > | maColorSets |
Definition at line 23 of file ColorSets.hxx.
|
strong |
| Enumerator | |
|---|---|
| Overwrite | |
| AutoRename | |
Definition at line 30 of file ColorSets.hxx.
|
private |
|
static |
Definition at line 27 of file ColorSets.cxx.
References ColorSets().
Referenced by svx::ThemeDialog::initColorSets(), SdrModelImpl::initTheme(), and SdrPageProperties::SdrPageProperties().
|
inline |
Definition at line 38 of file ColorSets.hxx.
References nIndex.
Referenced by SdrModelImpl::initTheme(), and SdrPageProperties::SdrPageProperties().
| model::ColorSet const * svx::ColorSets::getColorSet | ( | std::u16string_view | rName | ) | const |
Definition at line 152 of file ColorSets.cxx.
References maColorSets.
|
inline |
Definition at line 33 of file ColorSets.hxx.
Referenced by svx::ThemeDialog::initColorSets().
|
private |
Definition at line 36 of file ColorSets.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, and maColorSets.
Referenced by ColorSets().
| void svx::ColorSets::insert | ( | model::ColorSet const & | rColorSet, |
| IdenticalNameAction | eAction = IdenticalNameAction::Overwrite |
||
| ) |
Definition at line 184 of file ColorSets.cxx.
References aName, AutoRename, model::ColorSet::getName(), maColorSets, Overwrite, and model::ColorSet::setName().
|
private |
Definition at line 26 of file ColorSets.hxx.
Referenced by getColorSet(), init(), and insert().