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

#include <optcolor.hxx>

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

Public Member Functions

 SvxColorOptionsTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
 
virtual ~SvxColorOptionsTabPage () override
 
virtual bool FillItemSet (SfxItemSet *rSet) override
 
virtual void Reset (const SfxItemSet *rSet) override
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet) override
 
virtual void FillUserData () override
 
- 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 *rAttrSet)
 
- 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 (SchemeChangedHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (onAutoColorChanged, weld::ComboBox &, void)
 
 DECL_LINK (SaveDeleteHdl_Impl, weld::Button &, void)
 
 DECL_LINK (CheckNameHdl_Impl, AbstractSvxNameDialog &, bool)
 
 DECL_LINK (AdjustHeaderBar, const Size &, void)
 
 DECL_LINK (PostAdjustHeaderBar, void *, void)
 
void UpdateColorConfig ()
 

Private Attributes

bool bFillItemSetCalled
 
ImplSVEventm_nSizeAllocEventId
 
std::unique_ptr< weld::ComboBoxm_xAutoColorLB
 
std::unique_ptr< weld::ComboBoxm_xColorSchemeLB
 
std::unique_ptr< weld::Buttonm_xSaveSchemePB
 
std::unique_ptr< weld::Buttonm_xDeleteSchemePB
 
std::unique_ptr< ColorConfigCtrl_Implm_xColorConfigCT
 
std::unique_ptr< weld::Widgetm_xTable
 
std::unique_ptr< weld::Labelm_xOnFT
 
std::unique_ptr< weld::Labelm_xColorFT
 
weld::Widgetm_rWidget1
 
weld::Widgetm_rWidget2
 
std::unique_ptr< svtools::EditableColorConfigpColorConfig
 
std::unique_ptr< svtools::EditableExtendedColorConfigpExtColorConfig
 

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 28 of file optcolor.hxx.

Constructor & Destructor Documentation

◆ SvxColorOptionsTabPage()

SvxColorOptionsTabPage::SvxColorOptionsTabPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)

◆ ~SvxColorOptionsTabPage()

SvxColorOptionsTabPage::~SvxColorOptionsTabPage ( )
overridevirtual

Member Function Documentation

◆ Create()

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

Definition at line 798 of file optcolor.cxx.

Referenced by CreateGeneralTabPage().

◆ DeactivatePage()

DeactivateRC SvxColorOptionsTabPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 851 of file optcolor.cxx.

References FillItemSet().

◆ DECL_LINK() [1/6]

SvxColorOptionsTabPage::DECL_LINK ( AdjustHeaderBar  ,
const Size ,
void   
)
private

◆ DECL_LINK() [2/6]

SvxColorOptionsTabPage::DECL_LINK ( CheckNameHdl_Impl  ,
AbstractSvxNameDialog ,
bool   
)
private

◆ DECL_LINK() [3/6]

SvxColorOptionsTabPage::DECL_LINK ( onAutoColorChanged  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [4/6]

SvxColorOptionsTabPage::DECL_LINK ( PostAdjustHeaderBar  ,
void *  ,
void   
)
private

◆ DECL_LINK() [5/6]

SvxColorOptionsTabPage::DECL_LINK ( SaveDeleteHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [6/6]

SvxColorOptionsTabPage::DECL_LINK ( SchemeChangedHdl_Impl  ,
weld::ComboBox ,
void   
)
private

◆ FillItemSet()

bool SvxColorOptionsTabPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 803 of file optcolor.cxx.

References bFillItemSetCalled, m_xColorSchemeLB, pColorConfig, and pExtColorConfig.

Referenced by DeactivatePage().

◆ FillUserData()

void SvxColorOptionsTabPage::FillUserData ( )
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 933 of file optcolor.cxx.

References m_xColorConfigCT, and SfxTabPage::SetUserData().

◆ Reset()

void SvxColorOptionsTabPage::Reset ( const SfxItemSet rSet)
overridevirtual

◆ UpdateColorConfig()

void SvxColorOptionsTabPage::UpdateColorConfig ( )
private

Definition at line 858 of file optcolor.cxx.

References m_xColorConfigCT.

Referenced by Reset().

Member Data Documentation

◆ bFillItemSetCalled

bool SvxColorOptionsTabPage::bFillItemSetCalled
private

Definition at line 30 of file optcolor.hxx.

Referenced by FillItemSet(), and ~SvxColorOptionsTabPage().

◆ m_nSizeAllocEventId

ImplSVEvent* SvxColorOptionsTabPage::m_nSizeAllocEventId
private

Definition at line 32 of file optcolor.hxx.

Referenced by ~SvxColorOptionsTabPage().

◆ m_rWidget1

weld::Widget& SvxColorOptionsTabPage::m_rWidget1
private

Definition at line 43 of file optcolor.hxx.

Referenced by SvxColorOptionsTabPage().

◆ m_rWidget2

weld::Widget& SvxColorOptionsTabPage::m_rWidget2
private

Definition at line 44 of file optcolor.hxx.

Referenced by SvxColorOptionsTabPage().

◆ m_xAutoColorLB

std::unique_ptr<weld::ComboBox> SvxColorOptionsTabPage::m_xAutoColorLB
private

Definition at line 34 of file optcolor.hxx.

Referenced by Reset(), and SvxColorOptionsTabPage().

◆ m_xColorConfigCT

std::unique_ptr<ColorConfigCtrl_Impl> SvxColorOptionsTabPage::m_xColorConfigCT
private

Definition at line 38 of file optcolor.hxx.

Referenced by FillUserData(), Reset(), UpdateColorConfig(), and ~SvxColorOptionsTabPage().

◆ m_xColorFT

std::unique_ptr<weld::Label> SvxColorOptionsTabPage::m_xColorFT
private

Definition at line 41 of file optcolor.hxx.

◆ m_xColorSchemeLB

std::unique_ptr<weld::ComboBox> SvxColorOptionsTabPage::m_xColorSchemeLB
private

Definition at line 35 of file optcolor.hxx.

Referenced by FillItemSet(), Reset(), SvxColorOptionsTabPage(), and ~SvxColorOptionsTabPage().

◆ m_xDeleteSchemePB

std::unique_ptr<weld::Button> SvxColorOptionsTabPage::m_xDeleteSchemePB
private

Definition at line 37 of file optcolor.hxx.

Referenced by Reset(), and SvxColorOptionsTabPage().

◆ m_xOnFT

std::unique_ptr<weld::Label> SvxColorOptionsTabPage::m_xOnFT
private

Definition at line 40 of file optcolor.hxx.

◆ m_xSaveSchemePB

std::unique_ptr<weld::Button> SvxColorOptionsTabPage::m_xSaveSchemePB
private

Definition at line 36 of file optcolor.hxx.

Referenced by SvxColorOptionsTabPage().

◆ m_xTable

std::unique_ptr<weld::Widget> SvxColorOptionsTabPage::m_xTable
private

Definition at line 39 of file optcolor.hxx.

◆ pColorConfig

std::unique_ptr<svtools::EditableColorConfig> SvxColorOptionsTabPage::pColorConfig
private

Definition at line 46 of file optcolor.hxx.

Referenced by FillItemSet(), Reset(), and ~SvxColorOptionsTabPage().

◆ pExtColorConfig

std::unique_ptr<svtools::EditableExtendedColorConfig> SvxColorOptionsTabPage::pExtColorConfig
private

Definition at line 47 of file optcolor.hxx.

Referenced by FillItemSet(), Reset(), and ~SvxColorOptionsTabPage().


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