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 (vcl::Window *pParent, const SfxItemSet &rSet)
 
virtual ~SvxPersonalizationTabPage () override
 
virtual void dispose () 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
 
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 *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, Button *, void)
 Handle the default Persona selection. More...
 

Private Attributes

VclPtr< RadioButtonm_pNoPersona
 Just the default look, without any bitmap. More...
 
VclPtr< RadioButtonm_pDefaultPersona
 Use the built-in bitmap. More...
 
VclPtr< PushButtonm_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 (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 21 of file personalization.hxx.

Constructor & Destructor Documentation

SvxPersonalizationTabPage::SvxPersonalizationTabPage ( vcl::Window pParent,
const SfxItemSet rSet 
)
SvxPersonalizationTabPage::~SvxPersonalizationTabPage ( )
overridevirtual

Definition at line 65 of file personalization.cxx.

Member Function Documentation

VclPtr< SfxTabPage > SvxPersonalizationTabPage::Create ( TabPageParent  pParent,
const SfxItemSet rSet 
)
static

Definition at line 76 of file personalization.cxx.

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

Referenced by CreateGeneralTabPage().

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

Handle the default Persona selection.

void SvxPersonalizationTabPage::dispose ( void  )
overridevirtual
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 118 of file personalization.cxx.

References RadioButton::Check(), comphelper::getProcessComponentContext(), m_aPersonaSettings, m_pDefaultPersona, and m_pNoPersona.

Member Data Documentation

OUString SvxPersonalizationTabPage::m_aPersonaSettings
private

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

Definition at line 30 of file personalization.hxx.

Referenced by FillItemSet(), and Reset().

VclPtr<RadioButton> SvxPersonalizationTabPage::m_pDefaultPersona
private

Use the built-in bitmap.

Definition at line 27 of file personalization.hxx.

Referenced by dispose(), LoadDefaultImages(), Reset(), and SvxPersonalizationTabPage().

VclPtr<RadioButton> SvxPersonalizationTabPage::m_pNoPersona
private

Just the default look, without any bitmap.

Definition at line 26 of file personalization.hxx.

Referenced by dispose(), FillItemSet(), Reset(), and SvxPersonalizationTabPage().

VclPtr<PushButton> SvxPersonalizationTabPage::m_vDefaultPersonaImages[MAX_DEFAULT_PERSONAS]
private

Buttons to show the default persona images.

Definition at line 29 of file personalization.hxx.

Referenced by dispose(), LoadDefaultImages(), and SvxPersonalizationTabPage().

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

Definition at line 32 of file personalization.hxx.

Referenced by LoadDefaultImages().


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