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, bool bSlideBackground=false)
 
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 &rTab)
 
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
 
virtual bool FillItemSet (SfxItemSet *)
 
virtual void Reset (const SfxItemSet *)
 
virtual bool DeferResetToFirstActivation ()
 
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
 
OUString GetHelpId () const
 
OUString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 
std::unordered_map< OUString, css::uno::Any > & getAdditionalProperties ()
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *)
 
static std::unique_ptr< SfxTabPageCreateWithSlideBackground (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *)
 
static WhichRangesContainer 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::Toggleable &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 OUString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 nSlot, bool bDeep=true) const
 
TypedWhichId< T > GetWhich (TypedWhichId< T > 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::Toggleablem_xBtnNone
 
std::unique_ptr< weld::Toggleablem_xBtnColor
 
std::unique_ptr< weld::Toggleablem_xBtnGradient
 
std::unique_ptr< weld::Toggleablem_xBtnHatch
 
std::unique_ptr< weld::Toggleablem_xBtnBitmap
 
std::unique_ptr< weld::Toggleablem_xBtnPattern
 
std::unique_ptr< weld::Toggleablem_xBtnUseBackground
 

Private Member Functions

 DECL_LINK (SelectFillTypeHdl_Impl, weld::Toggleable &, 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 WhichRangesContainer pAreaRanges
 

Detailed Description

Definition at line 213 of file cuitabarea.hxx.

Constructor & Destructor Documentation

◆ SvxAreaTabPage()

SvxAreaTabPage::SvxAreaTabPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rInAttrs,
bool  bSlideBackground = false 
)

◆ ~SvxAreaTabPage()

SvxAreaTabPage::~SvxAreaTabPage ( )
overridevirtual

Definition at line 162 of file tparea.cxx.

References m_xFillTabPage.

Member Function Documentation

◆ ActivatePage()

void SvxAreaTabPage::ActivatePage ( const SfxItemSet rSet)
overridevirtual

◆ Create()

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

◆ CreatePage()

void SvxAreaTabPage::CreatePage ( sal_Int32  nId,
SfxTabPage rTab 
)

◆ CreateWithSlideBackground()

std::unique_ptr< SfxTabPage > SvxAreaTabPage::CreateWithSlideBackground ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rAttrs 
)
static

Definition at line 375 of file tparea.cxx.

Referenced by SvxAreaTabDialog::SvxAreaTabDialog().

◆ DeactivatePage()

DeactivateRC SvxAreaTabPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

◆ DeactivatePage_Impl()

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

Definition at line 225 of file tparea.cxx.

◆ DECL_LINK()

SvxAreaTabPage::DECL_LINK ( SelectFillTypeHdl_Impl  ,
weld::Toggleable ,
void   
)
private

◆ FillItemSet()

bool SvxAreaTabPage::FillItemSet ( SfxItemSet rAttrs)
overridevirtual

Reimplemented from SfxTabPage.

Reimplemented in SvxBkgTabPage.

Definition at line 284 of file tparea.cxx.

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

Referenced by IMPL_LINK().

◆ FillItemSet_Impl()

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

Definition at line 279 of file tparea.cxx.

◆ GetFillTabPage()

SfxTabPage * SvxAreaTabPage::GetFillTabPage ( )
inlineprotected

Definition at line 256 of file cuitabarea.hxx.

References m_xFillTabPage.

◆ GetRanges()

static WhichRangesContainer SvxAreaTabPage::GetRanges ( )
inlinestatic

Definition at line 279 of file cuitabarea.hxx.

References pAreaRanges.

Referenced by AbstractDialogFactory_Impl::GetTabPageRangesFunc().

◆ IsBtnClicked()

bool SvxAreaTabPage::IsBtnClicked ( ) const
inlineprotected

Definition at line 258 of file cuitabarea.hxx.

References m_bBtnClicked.

Referenced by SvxBkgTabPage::FillItemSet().

◆ PageCreated()

void SvxAreaTabPage::PageCreated ( const SfxAllItemSet aSet)
overridevirtual

◆ Reset()

void SvxAreaTabPage::Reset ( const SfxItemSet rAttrs)
overridevirtual

Reimplemented from SfxTabPage.

Reimplemented in SvxBkgTabPage.

Definition at line 332 of file tparea.cxx.

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

Referenced by SvxBkgTabPage::Reset().

◆ Reset_Impl()

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

Definition at line 327 of file tparea.cxx.

◆ SelectFillType()

void SvxAreaTabPage::SelectFillType ( weld::Toggleable rButton,
const SfxItemSet _pSet = nullptr 
)
protected

◆ SetBitmapList()

void SvxAreaTabPage::SetBitmapList ( XBitmapListRef const &  pBmpLst)
inline

◆ SetBmpChgd()

void SvxAreaTabPage::SetBmpChgd ( ChangeType pIn)
inline

Definition at line 298 of file cuitabarea.hxx.

References m_pnBitmapListState.

◆ SetColorChgd()

void SvxAreaTabPage::SetColorChgd ( ChangeType pIn)
inline

Definition at line 295 of file cuitabarea.hxx.

References m_pnColorListState.

◆ SetColorList()

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

◆ SetGradientList()

void SvxAreaTabPage::SetGradientList ( XGradientListRef const &  pGrdLst)
inline

Definition at line 287 of file cuitabarea.hxx.

References m_pGradientList.

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

◆ SetGrdChgd()

void SvxAreaTabPage::SetGrdChgd ( ChangeType pIn)
inline

Definition at line 296 of file cuitabarea.hxx.

References m_pnGradientListState.

◆ SetHatchingList()

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

Definition at line 289 of file cuitabarea.hxx.

References m_pHatchingList.

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

◆ SetHtchChgd()

void SvxAreaTabPage::SetHtchChgd ( ChangeType pIn)
inline

Definition at line 297 of file cuitabarea.hxx.

References m_pnHatchingListState.

◆ SetOptimalSize()

void SvxAreaTabPage::SetOptimalSize ( weld::DialogController pController)
protected

◆ SetPatternList()

void SvxAreaTabPage::SetPatternList ( XPatternListRef const &  pPtrnLst)
inline

Definition at line 292 of file cuitabarea.hxx.

References m_pPatternList.

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

◆ SetPtrnChgd()

void SvxAreaTabPage::SetPtrnChgd ( ChangeType pIn)
inline

Definition at line 299 of file cuitabarea.hxx.

References m_pnPatternListState.

Member Data Documentation

◆ m_aXFillAttr

XFillAttrSetItem SvxAreaTabPage::m_aXFillAttr
private

Definition at line 238 of file cuitabarea.hxx.

◆ m_bBtnClicked

bool SvxAreaTabPage::m_bBtnClicked = false
private

Definition at line 241 of file cuitabarea.hxx.

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

◆ m_pBitmapList

XBitmapListRef SvxAreaTabPage::m_pBitmapList
private

Definition at line 223 of file cuitabarea.hxx.

Referenced by CreatePage(), and SetBitmapList().

◆ m_pColorList

XColorListRef SvxAreaTabPage::m_pColorList
private

Definition at line 220 of file cuitabarea.hxx.

Referenced by CreatePage(), and SetColorList().

◆ m_pGradientList

XGradientListRef SvxAreaTabPage::m_pGradientList
private

Definition at line 221 of file cuitabarea.hxx.

Referenced by CreatePage(), and SetGradientList().

◆ m_pHatchingList

XHatchListRef SvxAreaTabPage::m_pHatchingList
private

Definition at line 222 of file cuitabarea.hxx.

Referenced by CreatePage(), and SetHatchingList().

◆ m_pnBitmapListState

ChangeType* SvxAreaTabPage::m_pnBitmapListState
private

Definition at line 233 of file cuitabarea.hxx.

Referenced by CreatePage(), and SetBmpChgd().

◆ m_pnColorListState

ChangeType* SvxAreaTabPage::m_pnColorListState
private

Definition at line 232 of file cuitabarea.hxx.

Referenced by CreatePage(), and SetColorChgd().

◆ m_pnGradientListState

ChangeType* SvxAreaTabPage::m_pnGradientListState
private

Definition at line 235 of file cuitabarea.hxx.

Referenced by CreatePage(), and SetGrdChgd().

◆ m_pnHatchingListState

ChangeType* SvxAreaTabPage::m_pnHatchingListState
private

Definition at line 236 of file cuitabarea.hxx.

Referenced by CreatePage(), and SetHtchChgd().

◆ m_pnPatternListState

ChangeType* SvxAreaTabPage::m_pnPatternListState
private

Definition at line 234 of file cuitabarea.hxx.

Referenced by CreatePage(), and SetPtrnChgd().

◆ m_pPatternList

XPatternListRef SvxAreaTabPage::m_pPatternList
private

Definition at line 224 of file cuitabarea.hxx.

Referenced by CreatePage(), and SetPatternList().

◆ m_rXFSet

SfxItemSet& SvxAreaTabPage::m_rXFSet
private

Definition at line 239 of file cuitabarea.hxx.

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

◆ m_xBtnBitmap

std::unique_ptr<weld::Toggleable> SvxAreaTabPage::m_xBtnBitmap
protected

◆ m_xBtnColor

std::unique_ptr<weld::Toggleable> SvxAreaTabPage::m_xBtnColor
protected

Definition at line 246 of file cuitabarea.hxx.

Referenced by ActivatePage(), and SvxAreaTabPage().

◆ m_xBtnGradient

std::unique_ptr<weld::Toggleable> SvxAreaTabPage::m_xBtnGradient
protected

◆ m_xBtnHatch

std::unique_ptr<weld::Toggleable> SvxAreaTabPage::m_xBtnHatch
protected

◆ m_xBtnNone

std::unique_ptr<weld::Toggleable> SvxAreaTabPage::m_xBtnNone
protected

Definition at line 245 of file cuitabarea.hxx.

Referenced by ActivatePage(), and SvxAreaTabPage().

◆ m_xBtnPattern

std::unique_ptr<weld::Toggleable> SvxAreaTabPage::m_xBtnPattern
protected

◆ m_xBtnUseBackground

std::unique_ptr<weld::Toggleable> SvxAreaTabPage::m_xBtnUseBackground
protected

Definition at line 251 of file cuitabarea.hxx.

Referenced by ActivatePage(), and SvxAreaTabPage().

◆ m_xFillTab

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

Definition at line 244 of file cuitabarea.hxx.

Referenced by SelectFillType(), and SetOptimalSize().

◆ m_xFillTabPage

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

Definition at line 217 of file cuitabarea.hxx.

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

◆ maBox

ButtonBox SvxAreaTabPage::maBox
private

Definition at line 218 of file cuitabarea.hxx.

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

◆ maFixed_ChangeType

ChangeType SvxAreaTabPage::maFixed_ChangeType
private

Definition at line 230 of file cuitabarea.hxx.

◆ pAreaRanges

const WhichRangesContainer SvxAreaTabPage::pAreaRanges
staticprivate

Definition at line 215 of file cuitabarea.hxx.

Referenced by GetRanges().


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