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 (TabPageParent pParent, const SfxItemSet &rInAttrs)
 
virtual ~SvxDefaultColorOptPage () override
 
virtual void dispose () 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
 
const SfxItemSetGetItemSet () const
 
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
 
OString GetConfigId () const
 
weld::WindowGetDialogFrameWeld () const
 

Static Public Member Functions

static VclPtr< SfxTabPageCreate (TabPageParent pParent, 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, SvtValueSet *, 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< SvxChartOptionsm_SvxChartOptionsUniquePtr
 
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< ColorValueSetm_xValSetColorBox
 
std::unique_ptr< weld::CustomWeldm_xValSetColorBoxWin
 

Additional Inherited Members

- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (vcl::Window *pParent, const OString &rID, const OUString &rUIXMLDescription, const SfxItemSet *rAttrSet)
 
 SfxTabPage (TabPageParent pParent, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 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
 
- Protected Attributes inherited from SfxTabPage
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 33 of file optchart.hxx.

Constructor & Destructor Documentation

SvxDefaultColorOptPage::SvxDefaultColorOptPage ( TabPageParent  pParent,
const SfxItemSet rInAttrs 
)
SvxDefaultColorOptPage::~SvxDefaultColorOptPage ( )
overridevirtual

Definition at line 130 of file optchart.cxx.

Member Function Documentation

void SvxDefaultColorOptPage::ClearColorEntries ( )
private

Definition at line 66 of file optchart.cxx.

References aColorList, and m_xLbChartColors.

Referenced by FillBoxChartColorLB().

void SvxDefaultColorOptPage::Construct ( )

Definition at line 142 of file optchart.cxx.

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

Referenced by SvxDefaultColorOptPage().

VclPtr< SfxTabPage > SvxDefaultColorOptPage::Create ( TabPageParent  pParent,
const SfxItemSet rInAttrs 
)
static

Definition at line 150 of file optchart.cxx.

References VclPtr< reference_type >::Create().

Referenced by CreateGeneralTabPage().

SvxDefaultColorOptPage::DECL_LINK ( ResetToDefaults  ,
weld::Button ,
void   
)
private
SvxDefaultColorOptPage::DECL_LINK ( AddChartColor  ,
weld::Button ,
void   
)
private
SvxDefaultColorOptPage::DECL_LINK ( RemoveChartColor  ,
weld::Button ,
void   
)
private
SvxDefaultColorOptPage::DECL_LINK ( BoxClickedHdl  ,
SvtValueSet ,
void   
)
private
SvxDefaultColorOptPage::DECL_LINK ( SelectPaletteLbHdl  ,
weld::ComboBox ,
void   
)
private
void SvxDefaultColorOptPage::dispose ( void  )
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 135 of file optchart.cxx.

References SfxTabPage::dispose(), m_xValSetColorBox, and m_xValSetColorBoxWin.

void SvxDefaultColorOptPage::FillBoxChartColorLB ( )
private

Definition at line 78 of file optchart.cxx.

References ClearColorEntries(), i, InsertColorEntry(), m_SvxChartColorTableUniquePtr, and m_xLbChartColors.

Referenced by Construct().

bool SvxDefaultColorOptPage::FillItemSet ( SfxItemSet rOutAttrs)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 155 of file optchart.cxx.

References m_SvxChartColorTableUniquePtr, and SfxItemSet::Put().

void SvxDefaultColorOptPage::FillPaletteLB ( )
private

Definition at line 170 of file optchart.cxx.

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

Referenced by Construct().

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

Definition at line 72 of file optchart.cxx.

References InsertColorEntry(), and RemoveColorEntry().

void SvxDefaultColorOptPage::RemoveColorEntry ( sal_Int32  nPos)
private

Definition at line 58 of file optchart.cxx.

References aColorList, and m_xLbChartColors.

Referenced by ModifyColorEntry().

void SvxDefaultColorOptPage::Reset ( const SfxItemSet rInAttrs)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 165 of file optchart.cxx.

References m_xLbChartColors.

void SvxDefaultColorOptPage::SaveChartOptions ( )

Member Data Documentation

ImpColorList SvxDefaultColorOptPage::aColorList
private

Definition at line 41 of file optchart.hxx.

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

PaletteManager SvxDefaultColorOptPage::aPaletteManager
private

Definition at line 42 of file optchart.hxx.

Referenced by FillPaletteLB().

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

Definition at line 36 of file optchart.hxx.

Referenced by SaveChartOptions(), and SvxDefaultColorOptPage().

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

Definition at line 45 of file optchart.hxx.

Referenced by FillPaletteLB(), and SvxDefaultColorOptPage().

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

Definition at line 47 of file optchart.hxx.

Referenced by SvxDefaultColorOptPage().

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

Definition at line 46 of file optchart.hxx.

Referenced by SvxDefaultColorOptPage().

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

Definition at line 48 of file optchart.hxx.

Referenced by SvxDefaultColorOptPage().

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

Definition at line 49 of file optchart.hxx.

Referenced by dispose(), and SvxDefaultColorOptPage().

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

Definition at line 50 of file optchart.hxx.

Referenced by dispose().


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