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

#include <cuitabarea.hxx>

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

Public Member Functions

 SvxAreaTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs)
 
virtual ~SvxAreaTabPage () override
 
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 SetHatchingList (XHatchListRef const &pHtchLst)
 
void SetBitmapList (XBitmapListRef const &pBmpLst)
 
void SetPatternList (XPatternListRef const &pPtrnLst)
 
virtual void PageCreated (const SfxAllItemSet &aSet) override
 
void CreatePage (sal_Int32 nId, SfxTabPage *pTab)
 
void SetColorChgd (ChangeType *pIn)
 
void SetGrdChgd (ChangeType *pIn)
 
void SetHtchChgd (ChangeType *pIn)
 
void SetBmpChgd (ChangeType *pIn)
 
void SetPtrnChgd (ChangeType *pIn)
 
- 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 ()
 
void SetUserData (const OUString &rString)
 
const OUString & GetUserData () const
 
virtual void FillUserData ()
 
virtual bool IsReadOnly () const
 
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 *)
 
static const sal_uInt16 * GetRanges ()
 
- 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)
 

Protected Member Functions

void SetOptimalSize (weld::DialogController *pController)
 
void SelectFillType (weld::ToggleButton &rButton, const SfxItemSet *_pSet=nullptr)
 
SfxTabPageGetFillTabPage ()
 
bool IsBtnClicked () const
 
- 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
 

Protected Attributes

std::unique_ptr< weld::Containerm_xFillTab
 
std::unique_ptr< weld::ToggleButtonm_xBtnNone
 
std::unique_ptr< weld::ToggleButtonm_xBtnColor
 
std::unique_ptr< weld::ToggleButtonm_xBtnGradient
 
std::unique_ptr< weld::ToggleButtonm_xBtnHatch
 
std::unique_ptr< weld::ToggleButtonm_xBtnBitmap
 
std::unique_ptr< weld::ToggleButtonm_xBtnPattern
 

Private Member Functions

 DECL_LINK (SelectFillTypeHdl_Impl, weld::ToggleButton &, void)
 
template<typename TabPage >
bool FillItemSet_Impl (SfxItemSet *)
 
template<typename TabPage >
void Reset_Impl (const SfxItemSet *)
 
template<typename TabPage >
DeactivateRC DeactivatePage_Impl (SfxItemSet *pSet)
 

Private Attributes

std::unique_ptr< SfxTabPagem_xFillTabPage
 
ButtonBox maBox
 
XColorListRef m_pColorList
 
XGradientListRef m_pGradientList
 
XHatchListRef m_pHatchingList
 
XBitmapListRef m_pBitmapList
 
XPatternListRef m_pPatternList
 
ChangeType maFixed_ChangeType
 
ChangeTypem_pnColorListState
 
ChangeTypem_pnBitmapListState
 
ChangeTypem_pnPatternListState
 
ChangeTypem_pnGradientListState
 
ChangeTypem_pnHatchingListState
 
XFillAttrSetItem m_aXFillAttr
 
SfxItemSetm_rXFSet
 
bool m_bBtnClicked = false
 

Static Private Attributes

static const sal_uInt16 pAreaRanges []
 

Detailed Description

Definition at line 208 of file cuitabarea.hxx.

Constructor & Destructor Documentation

SvxAreaTabPage::SvxAreaTabPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rInAttrs 
)
SvxAreaTabPage::~SvxAreaTabPage ( )
overridevirtual

Definition at line 153 of file tparea.cxx.

References m_xFillTabPage.

Member Function Documentation

void SvxAreaTabPage::ActivatePage ( const SfxItemSet rSet)
overridevirtual
std::unique_ptr< SfxTabPage > SvxAreaTabPage::Create ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rAttrs 
)
static
void SvxAreaTabPage::CreatePage ( sal_Int32  nId,
SfxTabPage pTab 
)
DeactivateRC SvxAreaTabPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Reimplemented in SvxBkgTabPage.

Definition at line 217 of file tparea.cxx.

References BITMAP, ButtonBox::GetCurrentButtonPos(), GRADIENT, HATCH, m_bBtnClicked, maBox, SfxItemSet::Put(), and SOLID.

Referenced by SvxBkgTabPage::DeactivatePage().

template<typename TTabPage >
DeactivateRC SvxAreaTabPage::DeactivatePage_Impl ( SfxItemSet pSet)
private

Definition at line 212 of file tparea.cxx.

SvxAreaTabPage::DECL_LINK ( SelectFillTypeHdl_Impl  ,
weld::ToggleButton ,
void   
)
private
bool SvxAreaTabPage::FillItemSet ( SfxItemSet rAttrs)
overridevirtual

Reimplemented from SfxTabPage.

Reimplemented in SvxBkgTabPage.

Definition at line 255 of file tparea.cxx.

References BITMAP, ButtonBox::GetCurrentButtonPos(), GRADIENT, HATCH, maBox, SfxItemSet::Put(), and SOLID.

Referenced by IMPL_LINK().

template<typename TTabPage >
bool SvxAreaTabPage::FillItemSet_Impl ( SfxItemSet rAttrs)
private

Definition at line 250 of file tparea.cxx.

SfxTabPage* SvxAreaTabPage::GetFillTabPage ( )
inlineprotected

Definition at line 250 of file cuitabarea.hxx.

static const sal_uInt16* SvxAreaTabPage::GetRanges ( )
inlinestatic

Definition at line 269 of file cuitabarea.hxx.

References pAreaRanges.

Referenced by AbstractDialogFactory_Impl::GetTabPageRangesFunc().

bool SvxAreaTabPage::IsBtnClicked ( ) const
inlineprotected

Definition at line 252 of file cuitabarea.hxx.

References m_bBtnClicked.

Referenced by SvxBkgTabPage::FillItemSet().

void SvxAreaTabPage::PageCreated ( const SfxAllItemSet aSet)
overridevirtual
void SvxAreaTabPage::Reset ( const SfxItemSet rAttrs)
overridevirtual

Reimplemented from SfxTabPage.

Reimplemented in SvxBkgTabPage.

Definition at line 296 of file tparea.cxx.

References BITMAP, ButtonBox::GetCurrentButtonPos(), GRADIENT, HATCH, m_bBtnClicked, maBox, and SOLID.

Referenced by SvxBkgTabPage::Reset().

template<typename TTabPage >
void SvxAreaTabPage::Reset_Impl ( const SfxItemSet rAttrs)
private

Definition at line 291 of file tparea.cxx.

void SvxAreaTabPage::SelectFillType ( weld::ToggleButton rButton,
const SfxItemSet _pSet = nullptr 
)
protected
void SvxAreaTabPage::SetBitmapList ( XBitmapListRef const &  pBmpLst)
inline
void SvxAreaTabPage::SetBmpChgd ( ChangeType pIn)
inline

Definition at line 288 of file cuitabarea.hxx.

void SvxAreaTabPage::SetColorChgd ( ChangeType pIn)
inline

Definition at line 285 of file cuitabarea.hxx.

void SvxAreaTabPage::SetColorList ( XColorListRef const &  pColorList)
inline
void SvxAreaTabPage::SetGradientList ( XGradientListRef const &  pGrdLst)
inline

Definition at line 277 of file cuitabarea.hxx.

Referenced by SvxFormatCellsDialog::PageCreated(), and PageCreated().

void SvxAreaTabPage::SetGrdChgd ( ChangeType pIn)
inline

Definition at line 286 of file cuitabarea.hxx.

void SvxAreaTabPage::SetHatchingList ( XHatchListRef const &  pHtchLst)
inline

Definition at line 279 of file cuitabarea.hxx.

Referenced by SvxFormatCellsDialog::PageCreated(), and PageCreated().

void SvxAreaTabPage::SetHtchChgd ( ChangeType pIn)
inline

Definition at line 287 of file cuitabarea.hxx.

void SvxAreaTabPage::SetOptimalSize ( weld::DialogController pController)
protected
void SvxAreaTabPage::SetPatternList ( XPatternListRef const &  pPtrnLst)
inline

Definition at line 282 of file cuitabarea.hxx.

Referenced by SvxFormatCellsDialog::PageCreated(), and PageCreated().

void SvxAreaTabPage::SetPtrnChgd ( ChangeType pIn)
inline

Definition at line 289 of file cuitabarea.hxx.

Member Data Documentation

XFillAttrSetItem SvxAreaTabPage::m_aXFillAttr
private

Definition at line 233 of file cuitabarea.hxx.

bool SvxAreaTabPage::m_bBtnClicked = false
private

Definition at line 236 of file cuitabarea.hxx.

Referenced by DeactivatePage(), IsBtnClicked(), and Reset().

XBitmapListRef SvxAreaTabPage::m_pBitmapList
private

Definition at line 218 of file cuitabarea.hxx.

Referenced by CreatePage().

XColorListRef SvxAreaTabPage::m_pColorList
private

Definition at line 215 of file cuitabarea.hxx.

Referenced by CreatePage().

XGradientListRef SvxAreaTabPage::m_pGradientList
private

Definition at line 216 of file cuitabarea.hxx.

Referenced by CreatePage().

XHatchListRef SvxAreaTabPage::m_pHatchingList
private

Definition at line 217 of file cuitabarea.hxx.

Referenced by CreatePage().

ChangeType* SvxAreaTabPage::m_pnBitmapListState
private

Definition at line 228 of file cuitabarea.hxx.

Referenced by CreatePage().

ChangeType* SvxAreaTabPage::m_pnColorListState
private

Definition at line 227 of file cuitabarea.hxx.

Referenced by CreatePage().

ChangeType* SvxAreaTabPage::m_pnGradientListState
private

Definition at line 230 of file cuitabarea.hxx.

Referenced by CreatePage().

ChangeType* SvxAreaTabPage::m_pnHatchingListState
private

Definition at line 231 of file cuitabarea.hxx.

Referenced by CreatePage().

ChangeType* SvxAreaTabPage::m_pnPatternListState
private

Definition at line 229 of file cuitabarea.hxx.

Referenced by CreatePage().

XPatternListRef SvxAreaTabPage::m_pPatternList
private

Definition at line 219 of file cuitabarea.hxx.

Referenced by CreatePage().

SfxItemSet& SvxAreaTabPage::m_rXFSet
private

Definition at line 234 of file cuitabarea.hxx.

Referenced by ActivatePage(), CreatePage(), SelectFillType(), and SetOptimalSize().

std::unique_ptr<weld::ToggleButton> SvxAreaTabPage::m_xBtnBitmap
protected
std::unique_ptr<weld::ToggleButton> SvxAreaTabPage::m_xBtnColor
protected

Definition at line 241 of file cuitabarea.hxx.

Referenced by ActivatePage(), and SvxAreaTabPage().

std::unique_ptr<weld::ToggleButton> SvxAreaTabPage::m_xBtnGradient
protected
std::unique_ptr<weld::ToggleButton> SvxAreaTabPage::m_xBtnHatch
protected
std::unique_ptr<weld::ToggleButton> SvxAreaTabPage::m_xBtnNone
protected

Definition at line 240 of file cuitabarea.hxx.

Referenced by ActivatePage(), and SvxAreaTabPage().

std::unique_ptr<weld::ToggleButton> SvxAreaTabPage::m_xBtnPattern
protected
std::unique_ptr<weld::Container> SvxAreaTabPage::m_xFillTab
protected

Definition at line 239 of file cuitabarea.hxx.

Referenced by SelectFillType(), and SetOptimalSize().

std::unique_ptr<SfxTabPage> SvxAreaTabPage::m_xFillTabPage
private

Definition at line 212 of file cuitabarea.hxx.

Referenced by SelectFillType(), SetOptimalSize(), and ~SvxAreaTabPage().

ButtonBox SvxAreaTabPage::maBox
private

Definition at line 213 of file cuitabarea.hxx.

Referenced by DeactivatePage(), FillItemSet(), Reset(), SelectFillType(), and SvxAreaTabPage().

ChangeType SvxAreaTabPage::maFixed_ChangeType
private

Definition at line 225 of file cuitabarea.hxx.

const sal_uInt16 SvxAreaTabPage::pAreaRanges
staticprivate
Initial value:
=
{
SID_ATTR_FILL_STYLE,
SID_ATTR_FILL_BITMAP,
0
}

Definition at line 210 of file cuitabarea.hxx.

Referenced by GetRanges().


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