LibreOffice Module cui (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
SvxDefaultColorOptPage Class Reference

#include <optchart.hxx>

Inheritance diagram for SvxDefaultColorOptPage:
[legend]
Collaboration diagram for SvxDefaultColorOptPage:
[legend]

Public Member Functions

 SvxDefaultColorOptPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs)
 
virtual ~SvxDefaultColorOptPage () override
 
void Construct ()
 
virtual bool FillItemSet (SfxItemSet *rOutAttrs) override
 
virtual void Reset (const SfxItemSet *rInAttrs) override
 
void SaveChartOptions ()
 
- Public Member Functions inherited from SfxTabPage
void SetDialogController (SfxOkDialogController *pDialog)
 
virtual ~SfxTabPage () override
 
void set_visible (bool bVisible)
 
const SfxItemSetGetItemSet () const
 
virtual bool FillItemSet (SfxItemSet *)
 
virtual void Reset (const SfxItemSet *)
 
virtual bool DeferResetToFirstActivation ()
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
virtual void ActivatePage (const SfxItemSet &)
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet)
 
void SetUserData (const OUString &rString)
 
const OUString & GetUserData () const
 
virtual void FillUserData ()
 
virtual bool IsReadOnly () const
 
virtual void PageCreated (const SfxAllItemSet &aSet)
 
virtual void ChangesApplied ()
 
void SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame)
 
css::uno::Reference< css::frame::XFrame > GetFrame () const
 
const SfxItemSetGetDialogExampleSet () const
 
OUString GetHelpId () const
 
OUString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 
std::unordered_map< OUString, css::uno::Any > & getAdditionalProperties ()
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rInAttrs)
 
- Static Public Member Functions inherited from SfxTabPage
static const SfxPoolItemGetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
static const T * GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 

Private Member Functions

 DECL_LINK (ResetToDefaults, weld::Button &, void)
 
 DECL_LINK (AddChartColor, weld::Button &, void)
 
 DECL_LINK (RemoveChartColor, weld::Button &, void)
 
 DECL_LINK (BoxClickedHdl, ValueSet *, void)
 
 DECL_LINK (SelectPaletteLbHdl, weld::ComboBox &, void)
 
void FillPaletteLB ()
 
void InsertColorEntry (const XColorEntry &rEntry, sal_Int32 nPos=-1)
 
void RemoveColorEntry (sal_Int32 nPos)
 
void ModifyColorEntry (const XColorEntry &rEntry, sal_Int32 nPos)
 
void ClearColorEntries ()
 
void FillBoxChartColorLB ()
 

Private Attributes

std::unique_ptr< SvxChartColorTablem_SvxChartColorTableUniquePtr
 
ImpColorList aColorList
 
PaletteManager aPaletteManager
 
std::unique_ptr< weld::TreeViewm_xLbChartColors
 
std::unique_ptr< weld::ComboBoxm_xLbPaletteSelector
 
std::unique_ptr< weld::Buttonm_xPBDefault
 
std::unique_ptr< weld::Buttonm_xPBAdd
 
std::unique_ptr< weld::Buttonm_xPBRemove
 
std::unique_ptr< SvxColorValueSetm_xValSetColorBox
 
std::unique_ptr< weld::CustomWeldm_xValSetColorBoxWin
 

Additional Inherited Members

- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 nSlot, bool bDeep=true) const
 
TypedWhichId< T > GetWhich (TypedWhichId< T > nSlot, bool bDeep=true) const
 
const SfxPoolItemGetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
const T * GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 
SfxOkDialogControllerGetDialogController () const
 

Detailed Description

Definition at line 32 of file optchart.hxx.

Constructor & Destructor Documentation

◆ SvxDefaultColorOptPage()

SvxDefaultColorOptPage::SvxDefaultColorOptPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rInAttrs 
)

◆ ~SvxDefaultColorOptPage()

SvxDefaultColorOptPage::~SvxDefaultColorOptPage ( )
overridevirtual

Definition at line 127 of file optchart.cxx.

References m_xValSetColorBox, and m_xValSetColorBoxWin.

Member Function Documentation

◆ ClearColorEntries()

void SvxDefaultColorOptPage::ClearColorEntries ( )
private

Definition at line 66 of file optchart.cxx.

References aColorList, and m_xLbChartColors.

Referenced by FillBoxChartColorLB().

◆ Construct()

void SvxDefaultColorOptPage::Construct ( )

Definition at line 133 of file optchart.cxx.

References FillBoxChartColorLB(), FillPaletteLB(), and m_xLbChartColors.

Referenced by SvxDefaultColorOptPage().

◆ Create()

std::unique_ptr< SfxTabPage > SvxDefaultColorOptPage::Create ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rInAttrs 
)
static

Definition at line 141 of file optchart.cxx.

Referenced by CreateGeneralTabPage().

◆ DECL_LINK() [1/5]

SvxDefaultColorOptPage::DECL_LINK ( AddChartColor  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/5]

SvxDefaultColorOptPage::DECL_LINK ( BoxClickedHdl  ,
ValueSet ,
void   
)
private

◆ DECL_LINK() [3/5]

SvxDefaultColorOptPage::DECL_LINK ( RemoveChartColor  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [4/5]

SvxDefaultColorOptPage::DECL_LINK ( ResetToDefaults  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [5/5]

SvxDefaultColorOptPage::DECL_LINK ( SelectPaletteLbHdl  ,
weld::ComboBox ,
void   
)
private

◆ FillBoxChartColorLB()

void SvxDefaultColorOptPage::FillBoxChartColorLB ( )
private

◆ FillItemSet()

bool SvxDefaultColorOptPage::FillItemSet ( SfxItemSet rOutAttrs)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 146 of file optchart.cxx.

References m_SvxChartColorTableUniquePtr, and SfxItemSet::Put().

◆ FillPaletteLB()

void SvxDefaultColorOptPage::FillPaletteLB ( )
private

Definition at line 161 of file optchart.cxx.

References aPaletteManager, PaletteManager::GetPaletteList(), and m_xLbPaletteSelector.

Referenced by Construct().

◆ InsertColorEntry()

void SvxDefaultColorOptPage::InsertColorEntry ( const XColorEntry rEntry,
sal_Int32  nPos = -1 
)
private

◆ ModifyColorEntry()

void SvxDefaultColorOptPage::ModifyColorEntry ( const XColorEntry rEntry,
sal_Int32  nPos 
)
private

Definition at line 72 of file optchart.cxx.

References InsertColorEntry(), nPos, and RemoveColorEntry().

◆ RemoveColorEntry()

void SvxDefaultColorOptPage::RemoveColorEntry ( sal_Int32  nPos)
private

Definition at line 58 of file optchart.cxx.

References aColorList, m_xLbChartColors, and nPos.

Referenced by ModifyColorEntry().

◆ Reset()

void SvxDefaultColorOptPage::Reset ( const SfxItemSet rInAttrs)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 156 of file optchart.cxx.

References m_xLbChartColors.

◆ SaveChartOptions()

void SvxDefaultColorOptPage::SaveChartOptions ( )

Member Data Documentation

◆ aColorList

ImpColorList SvxDefaultColorOptPage::aColorList
private

Definition at line 39 of file optchart.hxx.

Referenced by ClearColorEntries(), InsertColorEntry(), and RemoveColorEntry().

◆ aPaletteManager

PaletteManager SvxDefaultColorOptPage::aPaletteManager
private

Definition at line 40 of file optchart.hxx.

Referenced by FillPaletteLB().

◆ m_SvxChartColorTableUniquePtr

std::unique_ptr<SvxChartColorTable> SvxDefaultColorOptPage::m_SvxChartColorTableUniquePtr
private

◆ m_xLbChartColors

std::unique_ptr<weld::TreeView> SvxDefaultColorOptPage::m_xLbChartColors
private

◆ m_xLbPaletteSelector

std::unique_ptr<weld::ComboBox> SvxDefaultColorOptPage::m_xLbPaletteSelector
private

Definition at line 43 of file optchart.hxx.

Referenced by FillPaletteLB(), and SvxDefaultColorOptPage().

◆ m_xPBAdd

std::unique_ptr<weld::Button> SvxDefaultColorOptPage::m_xPBAdd
private

Definition at line 45 of file optchart.hxx.

Referenced by SvxDefaultColorOptPage().

◆ m_xPBDefault

std::unique_ptr<weld::Button> SvxDefaultColorOptPage::m_xPBDefault
private

Definition at line 44 of file optchart.hxx.

Referenced by SvxDefaultColorOptPage().

◆ m_xPBRemove

std::unique_ptr<weld::Button> SvxDefaultColorOptPage::m_xPBRemove
private

Definition at line 46 of file optchart.hxx.

Referenced by SvxDefaultColorOptPage().

◆ m_xValSetColorBox

std::unique_ptr<SvxColorValueSet> SvxDefaultColorOptPage::m_xValSetColorBox
private

Definition at line 47 of file optchart.hxx.

Referenced by SvxDefaultColorOptPage(), and ~SvxDefaultColorOptPage().

◆ m_xValSetColorBoxWin

std::unique_ptr<weld::CustomWeld> SvxDefaultColorOptPage::m_xValSetColorBoxWin
private

Definition at line 48 of file optchart.hxx.

Referenced by ~SvxDefaultColorOptPage().


The documentation for this class was generated from the following files: