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

#include <cuitabarea.hxx>

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

Public Member Functions

 SvxGradientTabPage (TabPageParent pParent, const SfxItemSet &rInAttrs)
 
virtual ~SvxGradientTabPage () override
 
virtual void dispose () override
 
void Construct ()
 
virtual bool FillItemSet (SfxItemSet *) override
 
virtual void Reset (const SfxItemSet *) override
 
virtual void ActivatePage (const SfxItemSet &rSet) override
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet) override
 
void SetColorList (XColorListRef const &pColorList)
 
void SetGradientList (XGradientListRef const &pGrdLst)
 
void SetGrdChgd (ChangeType *pIn)
 
void SetColorChgd (ChangeType *pIn)
 
- Public Member Functions inherited from SfxTabPage
void SetDialogController (SfxOkDialogController *pDialog)
 
virtual ~SfxTabPage () override
 
const SfxItemSetGetItemSet () const
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
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, const SfxItemSet *)
 
- 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 (ClickAddHdl_Impl, weld::Button &, void)
 
 DECL_LINK (ClickModifyHdl_Impl, weld::Button &, void)
 
 DECL_LINK (ChangeGradientHdl, SvtValueSet *, void)
 
void ChangeGradientHdl_Impl ()
 
 DECL_LINK (ClickRenameHdl_Impl, SvxPresetListBox *, void)
 
 DECL_LINK (ClickDeleteHdl_Impl, SvxPresetListBox *, void)
 
 DECL_LINK (ModifiedEditHdl_Impl, weld::SpinButton &, void)
 
 DECL_LINK (ModifiedMetricHdl_Impl, weld::MetricSpinButton &, void)
 
 DECL_LINK (ModifiedColorListBoxHdl_Impl, ColorListBox &, void)
 
 DECL_LINK (ModifiedListBoxHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (ChangeAutoStepHdl_Impl, weld::ToggleButton &, void)
 
 DECL_LINK (ModifiedSliderHdl_Impl, weld::Scale &, void)
 
void ModifiedHdl_Impl (void const *)
 
void SetControlState_Impl (css::awt::GradientStyle eXGS)
 
sal_Int32 SearchGradientList (const OUString &rGradientName)
 

Private Attributes

const SfxItemSetm_rOutAttrs
 
XColorListRef m_pColorList
 
XGradientListRef m_pGradientList
 
ChangeTypem_pnGradientListState
 
ChangeTypem_pnColorListState
 
XFillAttrSetItem m_aXFillAttr
 
SfxItemSetm_rXFSet
 
SvxXRectPreview m_aCtlPreview
 
std::unique_ptr< weld::ComboBoxm_xLbGradientType
 
std::unique_ptr< weld::Labelm_xFtCenter
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrCenterX
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrCenterY
 
std::unique_ptr< weld::Labelm_xFtAngle
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrAngle
 
std::unique_ptr< weld::Scalem_xSliderAngle
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrBorder
 
std::unique_ptr< weld::Scalem_xSliderBorder
 
std::unique_ptr< ColorListBoxm_xLbColorFrom
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrColorFrom
 
std::unique_ptr< ColorListBoxm_xLbColorTo
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrColorTo
 
std::unique_ptr< SvxPresetListBoxm_xGradientLB
 
std::unique_ptr< weld::SpinButtonm_xMtrIncrement
 
std::unique_ptr< weld::CheckButtonm_xCbIncrement
 
std::unique_ptr< weld::Buttonm_xBtnAdd
 
std::unique_ptr< weld::Buttonm_xBtnModify
 
std::unique_ptr< weld::CustomWeldm_xCtlPreview
 
std::unique_ptr< weld::CustomWeldm_xGradientLBWin
 

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 356 of file cuitabarea.hxx.

Constructor & Destructor Documentation

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

Definition at line 124 of file tpgradnt.cxx.

Member Function Documentation

void SvxGradientTabPage::ActivatePage ( const SfxItemSet rSet)
overridevirtual
void SvxGradientTabPage::ChangeGradientHdl_Impl ( )
private
void SvxGradientTabPage::Construct ( )

Definition at line 139 of file tpgradnt.cxx.

References m_pGradientList, and m_xGradientLB.

VclPtr< SfxTabPage > SvxGradientTabPage::Create ( TabPageParent  pWindow,
const SfxItemSet rOutAttrs 
)
static

Definition at line 245 of file tpgradnt.cxx.

References VclPtr< reference_type >::Create().

Referenced by SvxAreaTabPage::SetOptimalSize().

DeactivateRC SvxGradientTabPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 188 of file tpgradnt.cxx.

References FillItemSet().

SvxGradientTabPage::DECL_LINK ( ClickAddHdl_Impl  ,
weld::Button ,
void   
)
private
SvxGradientTabPage::DECL_LINK ( ClickModifyHdl_Impl  ,
weld::Button ,
void   
)
private
SvxGradientTabPage::DECL_LINK ( ChangeGradientHdl  ,
SvtValueSet ,
void   
)
private
SvxGradientTabPage::DECL_LINK ( ClickRenameHdl_Impl  ,
SvxPresetListBox ,
void   
)
private
SvxGradientTabPage::DECL_LINK ( ClickDeleteHdl_Impl  ,
SvxPresetListBox ,
void   
)
private
SvxGradientTabPage::DECL_LINK ( ModifiedEditHdl_Impl  ,
weld::SpinButton ,
void   
)
private
SvxGradientTabPage::DECL_LINK ( ModifiedMetricHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private
SvxGradientTabPage::DECL_LINK ( ModifiedColorListBoxHdl_Impl  ,
ColorListBox ,
void   
)
private
SvxGradientTabPage::DECL_LINK ( ModifiedListBoxHdl_Impl  ,
weld::ComboBox ,
void   
)
private
SvxGradientTabPage::DECL_LINK ( ChangeAutoStepHdl_Impl  ,
weld::ToggleButton ,
void   
)
private
SvxGradientTabPage::DECL_LINK ( ModifiedSliderHdl_Impl  ,
weld::Scale ,
void   
)
private
void SvxGradientTabPage::dispose ( void  )
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 129 of file tpgradnt.cxx.

References SfxTabPage::dispose(), m_xCtlPreview, m_xGradientLB, m_xGradientLBWin, m_xLbColorFrom, and m_xLbColorTo.

bool SvxGradientTabPage::FillItemSet ( SfxItemSet rSet)
overridevirtual
void SvxGradientTabPage::ModifiedHdl_Impl ( void const *  pControl)
private
void SvxGradientTabPage::Reset ( const SfxItemSet )
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 233 of file tpgradnt.cxx.

References ChangeGradientHdl_Impl(), DEFAULT_GRADIENTSTEP, m_pGradientList, m_xBtnModify, and m_xMtrIncrement.

sal_Int32 SvxGradientTabPage::SearchGradientList ( const OUString &  rGradientName)
private

Definition at line 629 of file tpgradnt.cxx.

References i, LISTBOX_ENTRY_NOTFOUND, m_pGradientList, and nPos.

Referenced by ActivatePage().

void SvxGradientTabPage::SetColorChgd ( ChangeType pIn)
inline

Definition at line 430 of file cuitabarea.hxx.

void SvxGradientTabPage::SetColorList ( XColorListRef const &  pColorList)
inline

Definition at line 426 of file cuitabarea.hxx.

Referenced by SvxAreaTabPage::CreatePage().

void SvxGradientTabPage::SetControlState_Impl ( css::awt::GradientStyle  eXGS)
private
void SvxGradientTabPage::SetGradientList ( XGradientListRef const &  pGrdLst)
inline

Definition at line 427 of file cuitabarea.hxx.

void SvxGradientTabPage::SetGrdChgd ( ChangeType pIn)
inline

Definition at line 429 of file cuitabarea.hxx.

Member Data Documentation

SvxXRectPreview SvxGradientTabPage::m_aCtlPreview
private

Definition at line 373 of file cuitabarea.hxx.

Referenced by ChangeGradientHdl_Impl(), ModifiedHdl_Impl(), and SvxGradientTabPage().

XFillAttrSetItem SvxGradientTabPage::m_aXFillAttr
private

Definition at line 370 of file cuitabarea.hxx.

Referenced by ChangeGradientHdl_Impl(), ModifiedHdl_Impl(), and SvxGradientTabPage().

XColorListRef SvxGradientTabPage::m_pColorList
private

Definition at line 364 of file cuitabarea.hxx.

Referenced by ActivatePage().

XGradientListRef SvxGradientTabPage::m_pGradientList
private
ChangeType* SvxGradientTabPage::m_pnColorListState
private

Definition at line 368 of file cuitabarea.hxx.

Referenced by ActivatePage().

ChangeType* SvxGradientTabPage::m_pnGradientListState
private

Definition at line 367 of file cuitabarea.hxx.

const SfxItemSet& SvxGradientTabPage::m_rOutAttrs
private

Definition at line 362 of file cuitabarea.hxx.

Referenced by ChangeGradientHdl_Impl().

SfxItemSet& SvxGradientTabPage::m_rXFSet
private

Definition at line 371 of file cuitabarea.hxx.

Referenced by ChangeGradientHdl_Impl(), ModifiedHdl_Impl(), and SvxGradientTabPage().

std::unique_ptr<weld::Button> SvxGradientTabPage::m_xBtnAdd
private

Definition at line 390 of file cuitabarea.hxx.

Referenced by SvxGradientTabPage().

std::unique_ptr<weld::Button> SvxGradientTabPage::m_xBtnModify
private

Definition at line 391 of file cuitabarea.hxx.

Referenced by Reset(), and SvxGradientTabPage().

std::unique_ptr<weld::CheckButton> SvxGradientTabPage::m_xCbIncrement
private
std::unique_ptr<weld::CustomWeld> SvxGradientTabPage::m_xCtlPreview
private

Definition at line 392 of file cuitabarea.hxx.

Referenced by dispose(), and SvxGradientTabPage().

std::unique_ptr<weld::Label> SvxGradientTabPage::m_xFtAngle
private

Definition at line 378 of file cuitabarea.hxx.

Referenced by SetControlState_Impl().

std::unique_ptr<weld::Label> SvxGradientTabPage::m_xFtCenter
private

Definition at line 375 of file cuitabarea.hxx.

Referenced by SetControlState_Impl().

std::unique_ptr<SvxPresetListBox> SvxGradientTabPage::m_xGradientLB
private
std::unique_ptr<weld::CustomWeld> SvxGradientTabPage::m_xGradientLBWin
private

Definition at line 393 of file cuitabarea.hxx.

Referenced by dispose().

std::unique_ptr<ColorListBox> SvxGradientTabPage::m_xLbColorFrom
private
std::unique_ptr<ColorListBox> SvxGradientTabPage::m_xLbColorTo
private
std::unique_ptr<weld::ComboBox> SvxGradientTabPage::m_xLbGradientType
private
std::unique_ptr<weld::MetricSpinButton> SvxGradientTabPage::m_xMtrAngle
private
std::unique_ptr<weld::MetricSpinButton> SvxGradientTabPage::m_xMtrBorder
private
std::unique_ptr<weld::MetricSpinButton> SvxGradientTabPage::m_xMtrCenterX
private
std::unique_ptr<weld::MetricSpinButton> SvxGradientTabPage::m_xMtrCenterY
private
std::unique_ptr<weld::MetricSpinButton> SvxGradientTabPage::m_xMtrColorFrom
private
std::unique_ptr<weld::MetricSpinButton> SvxGradientTabPage::m_xMtrColorTo
private
std::unique_ptr<weld::SpinButton> SvxGradientTabPage::m_xMtrIncrement
private
std::unique_ptr<weld::Scale> SvxGradientTabPage::m_xSliderAngle
private
std::unique_ptr<weld::Scale> SvxGradientTabPage::m_xSliderBorder
private

Definition at line 382 of file cuitabarea.hxx.

Referenced by ChangeGradientHdl_Impl(), ModifiedHdl_Impl(), and SvxGradientTabPage().


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