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 (TabPageParent pParent, const SfxItemSet &rInAttrs)
 
virtual ~SvxAreaTabPage () override
 
virtual void dispose () 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
 
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 GetConfigId () const
 
weld::WindowGetDialogFrameWeld () const
 

Static Public Member Functions

static VclPtr< SfxTabPageCreate (TabPageParent, 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 (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

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
 
- Protected Attributes inherited from SfxTabPage
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 

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

ScopedVclPtr< SfxTabPagem_pFillTabPage
 
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 210 of file cuitabarea.hxx.

Constructor & Destructor Documentation

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

Definition at line 154 of file tparea.cxx.

Member Function Documentation

void SvxAreaTabPage::ActivatePage ( const SfxItemSet rSet)
overridevirtual
VclPtr< SfxTabPage > SvxAreaTabPage::Create ( TabPageParent  pParent,
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 224 of file tparea.cxx.

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

Referenced by SvxBkgTabPage::DeactivatePage().

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

Definition at line 219 of file tparea.cxx.

SvxAreaTabPage::DECL_LINK ( SelectFillTypeHdl_Impl  ,
weld::ToggleButton ,
void   
)
private
void SvxAreaTabPage::dispose ( void  )
overridevirtual

Reimplemented from SfxTabPage.

Reimplemented in SvxBkgTabPage.

Definition at line 159 of file tparea.cxx.

References SfxTabPage::dispose(), VclPtr< reference_type >::disposeAndClear(), and m_pFillTabPage.

Referenced by SvxBkgTabPage::dispose().

bool SvxAreaTabPage::FillItemSet ( SfxItemSet rAttrs)
overridevirtual

Reimplemented from SfxTabPage.

Reimplemented in SvxBkgTabPage.

Definition at line 262 of file tparea.cxx.

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

Referenced by IMPL_LINK().

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

Definition at line 257 of file tparea.cxx.

SfxTabPage* SvxAreaTabPage::GetFillTabPage ( )
inlineprotected

Definition at line 252 of file cuitabarea.hxx.

References m_pFillTabPage.

static const sal_uInt16* SvxAreaTabPage::GetRanges ( )
inlinestatic

Definition at line 275 of file cuitabarea.hxx.

References pAreaRanges.

Referenced by AbstractDialogFactory_Impl::GetTabPageRangesFunc().

bool SvxAreaTabPage::IsBtnClicked ( ) const
inlineprotected

Definition at line 254 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 303 of file tparea.cxx.

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

Referenced by SvxBkgTabPage::Reset().

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

Definition at line 298 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 294 of file cuitabarea.hxx.

void SvxAreaTabPage::SetColorChgd ( ChangeType pIn)
inline

Definition at line 291 of file cuitabarea.hxx.

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

Definition at line 283 of file cuitabarea.hxx.

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

void SvxAreaTabPage::SetGrdChgd ( ChangeType pIn)
inline

Definition at line 292 of file cuitabarea.hxx.

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

Definition at line 285 of file cuitabarea.hxx.

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

void SvxAreaTabPage::SetHtchChgd ( ChangeType pIn)
inline

Definition at line 293 of file cuitabarea.hxx.

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

Definition at line 288 of file cuitabarea.hxx.

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

void SvxAreaTabPage::SetPtrnChgd ( ChangeType pIn)
inline

Definition at line 295 of file cuitabarea.hxx.

Member Data Documentation

XFillAttrSetItem SvxAreaTabPage::m_aXFillAttr
private

Definition at line 235 of file cuitabarea.hxx.

bool SvxAreaTabPage::m_bBtnClicked = false
private

Definition at line 238 of file cuitabarea.hxx.

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

XBitmapListRef SvxAreaTabPage::m_pBitmapList
private

Definition at line 220 of file cuitabarea.hxx.

Referenced by CreatePage().

XColorListRef SvxAreaTabPage::m_pColorList
private

Definition at line 217 of file cuitabarea.hxx.

Referenced by CreatePage().

ScopedVclPtr<SfxTabPage> SvxAreaTabPage::m_pFillTabPage
private

Definition at line 214 of file cuitabarea.hxx.

Referenced by dispose(), GetFillTabPage(), SelectFillType(), and SetOptimalSize().

XGradientListRef SvxAreaTabPage::m_pGradientList
private

Definition at line 218 of file cuitabarea.hxx.

Referenced by CreatePage().

XHatchListRef SvxAreaTabPage::m_pHatchingList
private

Definition at line 219 of file cuitabarea.hxx.

Referenced by CreatePage().

ChangeType* SvxAreaTabPage::m_pnBitmapListState
private

Definition at line 230 of file cuitabarea.hxx.

Referenced by CreatePage().

ChangeType* SvxAreaTabPage::m_pnColorListState
private

Definition at line 229 of file cuitabarea.hxx.

Referenced by CreatePage().

ChangeType* SvxAreaTabPage::m_pnGradientListState
private

Definition at line 232 of file cuitabarea.hxx.

Referenced by CreatePage().

ChangeType* SvxAreaTabPage::m_pnHatchingListState
private

Definition at line 233 of file cuitabarea.hxx.

Referenced by CreatePage().

ChangeType* SvxAreaTabPage::m_pnPatternListState
private

Definition at line 231 of file cuitabarea.hxx.

Referenced by CreatePage().

XPatternListRef SvxAreaTabPage::m_pPatternList
private

Definition at line 221 of file cuitabarea.hxx.

Referenced by CreatePage().

SfxItemSet& SvxAreaTabPage::m_rXFSet
private

Definition at line 236 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 243 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 242 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 241 of file cuitabarea.hxx.

Referenced by SelectFillType(), and SetOptimalSize().

ButtonBox SvxAreaTabPage::maBox
private

Definition at line 215 of file cuitabarea.hxx.

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

ChangeType SvxAreaTabPage::maFixed_ChangeType
private

Definition at line 227 of file cuitabarea.hxx.

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

Definition at line 212 of file cuitabarea.hxx.

Referenced by GetRanges().


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