22#include <rtl/ustring.hxx>
32namespace svx {
class ToolboxButtonColorUpdaterBase; }
34namespace model {
class ColorSet; }
64 std::vector<OUString> GetPaletteList();
65 void SetPalette( sal_Int32 nPos );
66 sal_Int32 GetPalette()
const;
68 OUString GetPaletteName();
69 OUString GetSelectedPalettePath();
73 void AddRecentColor(
const Color& rRecentColor,
const OUString& rColorName,
bool bFront =
true);
74 void SetSplitButtonColor(
const NamedColor& rColor);
77 void PopupColorPicker(
weld::Window* pParent,
const OUString& aCommand,
const Color& rInitialColor);
81 bool IsThemePaletteSelected()
const;
85 static bool GetThemeAndEffectIndex(sal_uInt16 nItemId, sal_uInt16& rThemeIndex, sal_uInt16& rEffectIndex);
86 bool GetLumModOff(sal_uInt16 nThemeIndex, sal_uInt16 nEffect, sal_Int16& rLumMod, sal_Int16& rLumOff);
88 static void DispatchColorCommand(
const OUString& aCommand,
const NamedColor& rColor);
std::function< void(const OUString &, const NamedColor &)> ColorSelectFunction
const sal_uInt16 mnMaxRecentColors
svx::ToolboxButtonColorUpdaterBase * mpBtnUpdater
sal_Int32 GetPaletteCount() const
std::deque< NamedColor > maRecentColors
std::optional< svx::ThemePaletteCollection > moThemePaletteCollection
sal_uInt16 mnNumOfPalettes
sal_uInt16 mnCurrentPalette
ColorSelectFunction maColorSelectFunction
std::vector< std::unique_ptr< Palette > > m_Palettes
std::unique_ptr< SvColorDialog > m_pColorDlg
PaletteManager & operator=(const PaletteManager &)=delete
PaletteManager(const PaletteManager &)=delete
css::uno::Reference< css::animations::XAnimationNode > Clone(const css::uno::Reference< css::animations::XAnimationNode > &xSourceNode, const SdPage *pSource=nullptr, const SdPage *pTarget=nullptr)
#define SVXCORE_DLLPUBLIC