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

#include <personalization.hxx>

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

Public Member Functions

 SvxPersonalizationTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
 
virtual ~SvxPersonalizationTabPage () override
 
virtual bool FillItemSet (SfxItemSet *rSet) override
 Apply the settings ([OK] button). More...
 
virtual void Reset (const SfxItemSet *rSet) override
 Reset to default settings ([Revert] button). More...
 
void LoadDefaultImages ()
 
- Public Member Functions inherited from SfxTabPage
void SetDialogController (SfxOkDialogController *pDialog)
 
virtual ~SfxTabPage () override
 
void set_visible (bool bVisible)
 
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 GetHelpId () const
 
OString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
 
- 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 (DefaultPersona, weld::Button &, void)
 Handle the default Persona selection. More...
 

Private Attributes

std::unique_ptr< weld::RadioButtonm_xNoPersona
 Just the default look, without any bitmap. More...
 
std::unique_ptr< weld::RadioButtonm_xDefaultPersona
 Use the built-in bitmap. More...
 
std::unique_ptr< weld::ToggleButtonm_vDefaultPersonaImages [MAX_DEFAULT_PERSONAS]
 Buttons to show the default persona images. More...
 
OUString m_aPersonaSettings
 Header and footer images + color to be set in the settings. More...
 
std::vector< OUString > m_vDefaultPersonaSettings
 

Additional Inherited Members

- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (weld::Container *pPage, weld::DialogController *pController, 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
 

Detailed Description

Definition at line 18 of file personalization.hxx.

Constructor & Destructor Documentation

SvxPersonalizationTabPage::SvxPersonalizationTabPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)
SvxPersonalizationTabPage::~SvxPersonalizationTabPage ( )
overridevirtual

Definition at line 51 of file personalization.cxx.

Member Function Documentation

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

Definition at line 53 of file personalization.cxx.

Referenced by CreateGeneralTabPage().

SvxPersonalizationTabPage::DECL_LINK ( DefaultPersona  ,
weld::Button ,
void   
)
private

Handle the default Persona selection.

bool SvxPersonalizationTabPage::FillItemSet ( SfxItemSet rSet)
overridevirtual
void SvxPersonalizationTabPage::LoadDefaultImages ( )
void SvxPersonalizationTabPage::Reset ( const SfxItemSet rSet)
overridevirtual

Reset to default settings ([Revert] button).

Reimplemented from SfxTabPage.

Definition at line 97 of file personalization.cxx.

References comphelper::getProcessComponentContext(), m_aPersonaSettings, m_xDefaultPersona, and m_xNoPersona.

Member Data Documentation

OUString SvxPersonalizationTabPage::m_aPersonaSettings
private

Header and footer images + color to be set in the settings.

Definition at line 25 of file personalization.hxx.

Referenced by FillItemSet(), and Reset().

std::unique_ptr<weld::ToggleButton> SvxPersonalizationTabPage::m_vDefaultPersonaImages[MAX_DEFAULT_PERSONAS]
private

Buttons to show the default persona images.

Definition at line 24 of file personalization.hxx.

Referenced by LoadDefaultImages(), and SvxPersonalizationTabPage().

std::vector<OUString> SvxPersonalizationTabPage::m_vDefaultPersonaSettings
private

Definition at line 27 of file personalization.hxx.

Referenced by LoadDefaultImages().

std::unique_ptr<weld::RadioButton> SvxPersonalizationTabPage::m_xDefaultPersona
private

Use the built-in bitmap.

Definition at line 22 of file personalization.hxx.

Referenced by LoadDefaultImages(), and Reset().

std::unique_ptr<weld::RadioButton> SvxPersonalizationTabPage::m_xNoPersona
private

Just the default look, without any bitmap.

Definition at line 21 of file personalization.hxx.

Referenced by FillItemSet(), and Reset().


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