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 (vcl::Window *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 ()
 
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 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, Button *, void)
 
 DECL_LINK (AddChartColor, Button *, void)
 
 DECL_LINK (RemoveChartColor, Button *, void)
 
 DECL_LINK (BoxClickedHdl, ValueSet *, void)
 
 DECL_LINK (SelectPaletteLbHdl, ListBox &, void)
 
void FillPaletteLB ()
 
void InsertColorEntry (const XColorEntry &rEntry, sal_Int32 nPos=LISTBOX_APPEND)
 
void RemoveColorEntry (sal_Int32 nPos)
 
void ModifyColorEntry (const XColorEntry &rEntry, sal_Int32 nPos)
 
void ClearColorEntries ()
 
void FillBoxChartColorLB ()
 

Private Attributes

VclPtr< ListBoxm_pLbChartColors
 
VclPtr< ListBoxm_pLbPaletteSelector
 
VclPtr< SvxColorValueSetm_pValSetColorBox
 
VclPtr< PushButtonm_pPBDefault
 
VclPtr< PushButtonm_pPBAdd
 
VclPtr< PushButtonm_pPBRemove
 
std::unique_ptr< SvxChartOptionsm_SvxChartOptionsUniquePtr
 
std::unique_ptr< SvxChartColorTablem_SvxChartColorTableUniquePtr
 
ImpColorList aColorList
 
PaletteManager aPaletteManager
 

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 35 of file optchart.hxx.

Constructor & Destructor Documentation

SvxDefaultColorOptPage::SvxDefaultColorOptPage ( vcl::Window pParent,
const SfxItemSet rInAttrs 
)
SvxDefaultColorOptPage::~SvxDefaultColorOptPage ( )
overridevirtual

Definition at line 134 of file optchart.cxx.

Member Function Documentation

void SvxDefaultColorOptPage::ClearColorEntries ( )
private

Definition at line 71 of file optchart.cxx.

References aColorList, ListBox::Clear(), and m_pLbChartColors.

Referenced by FillBoxChartColorLB().

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

Definition at line 161 of file optchart.cxx.

References VclPtr< reference_type >::Create(), and TabPageParent::pParent.

Referenced by CreateGeneralTabPage().

SvxDefaultColorOptPage::DECL_LINK ( ResetToDefaults  ,
Button ,
void   
)
private
SvxDefaultColorOptPage::DECL_LINK ( AddChartColor  ,
Button ,
void   
)
private
SvxDefaultColorOptPage::DECL_LINK ( RemoveChartColor  ,
Button ,
void   
)
private
SvxDefaultColorOptPage::DECL_LINK ( BoxClickedHdl  ,
ValueSet ,
void   
)
private
SvxDefaultColorOptPage::DECL_LINK ( SelectPaletteLbHdl  ,
ListBox ,
void   
)
private
void SvxDefaultColorOptPage::dispose ( void  )
overridevirtual
void SvxDefaultColorOptPage::FillBoxChartColorLB ( )
private
bool SvxDefaultColorOptPage::FillItemSet ( SfxItemSet rOutAttrs)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 166 of file optchart.cxx.

References m_SvxChartColorTableUniquePtr, and SfxItemSet::Put().

void SvxDefaultColorOptPage::FillPaletteLB ( )
private
void SvxDefaultColorOptPage::InsertColorEntry ( const XColorEntry rEntry,
sal_Int32  nPos = LISTBOX_APPEND 
)
private
void SvxDefaultColorOptPage::ModifyColorEntry ( const XColorEntry rEntry,
sal_Int32  nPos 
)
private

Definition at line 77 of file optchart.cxx.

References InsertColorEntry(), and RemoveColorEntry().

void SvxDefaultColorOptPage::RemoveColorEntry ( sal_Int32  nPos)
private

Definition at line 60 of file optchart.cxx.

References aColorList, m_pLbChartColors, and ListBox::RemoveEntry().

Referenced by ModifyColorEntry().

void SvxDefaultColorOptPage::Reset ( const SfxItemSet rInAttrs)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 176 of file optchart.cxx.

References m_pLbChartColors, and ListBox::SelectEntryPos().

void SvxDefaultColorOptPage::SaveChartOptions ( )

Member Data Documentation

ImpColorList SvxDefaultColorOptPage::aColorList
private

Definition at line 50 of file optchart.hxx.

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

PaletteManager SvxDefaultColorOptPage::aPaletteManager
private

Definition at line 51 of file optchart.hxx.

Referenced by FillPaletteLB().

VclPtr<ListBox> SvxDefaultColorOptPage::m_pLbChartColors
private
VclPtr<ListBox> SvxDefaultColorOptPage::m_pLbPaletteSelector
private

Definition at line 39 of file optchart.hxx.

Referenced by dispose(), FillPaletteLB(), and SvxDefaultColorOptPage().

VclPtr<PushButton> SvxDefaultColorOptPage::m_pPBAdd
private

Definition at line 42 of file optchart.hxx.

Referenced by dispose(), and SvxDefaultColorOptPage().

VclPtr<PushButton> SvxDefaultColorOptPage::m_pPBDefault
private

Definition at line 41 of file optchart.hxx.

Referenced by dispose(), and SvxDefaultColorOptPage().

VclPtr<PushButton> SvxDefaultColorOptPage::m_pPBRemove
private

Definition at line 43 of file optchart.hxx.

Referenced by dispose(), and SvxDefaultColorOptPage().

VclPtr<SvxColorValueSet> SvxDefaultColorOptPage::m_pValSetColorBox
private

Definition at line 40 of file optchart.hxx.

Referenced by dispose(), and SvxDefaultColorOptPage().

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

Definition at line 45 of file optchart.hxx.

Referenced by dispose(), SaveChartOptions(), and SvxDefaultColorOptPage().


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