LibreOffice Module svx (master) 1
|
#include <ThemeColorPaletteManager.hxx>
Public Member Functions | |
ThemeColorPaletteManager (std::shared_ptr< model::ColorSet > const &pColorSet) | |
ThemePaletteCollection | generate () |
OString | generateJSON () |
Private Attributes | |
std::shared_ptr< model::ColorSet > | m_pColorSet |
Definition at line 56 of file ThemeColorPaletteManager.hxx.
svx::ThemeColorPaletteManager::ThemeColorPaletteManager | ( | std::shared_ptr< model::ColorSet > const & | pColorSet | ) |
Definition at line 45 of file ThemeColorPaletteManager.cxx.
svx::ThemePaletteCollection svx::ThemeColorPaletteManager::generate | ( | ) |
Definition at line 51 of file ThemeColorPaletteManager.cxx.
References Color::ApplyLumModOff(), model::convertToThemeColorType(), Color::getBColor(), basegfx::BColor::getBlue(), m_pColorSet, svx::ThemePaletteCollection::maColors, nIndex, basegfx::utils::rgb2hsl(), SvxResId(), and model::Unknown.
Referenced by generateJSON(), and PaletteManager::ReloadColorSet().
OString svx::ThemeColorPaletteManager::generateJSON | ( | ) |
Definition at line 130 of file ThemeColorPaletteManager.cxx.
References model::ComplexColor::addTransformation(), model::color::convertToJSONTree(), generate(), model::LumMod, model::LumOff, svx::ThemePaletteCollection::maColors, nIndex, and model::ComplexColor::setSchemeColor().
|
private |
Definition at line 58 of file ThemeColorPaletteManager.hxx.
Referenced by generate().