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

#include <cuitabarea.hxx>

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

Public Member Functions

 SvxHatchTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs)
 
virtual ~SvxHatchTabPage () 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 SetHatchingList (XHatchListRef const &pHtchLst)
 
void SetHtchChgd (ChangeType *pIn)
 
void SetColorChgd (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 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
 
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 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 (ChangeHatchHdl, SvtValueSet *, void)
 
void ChangeHatchHdl_Impl ()
 
 DECL_LINK (ModifiedEditHdl_Impl, weld::MetricSpinButton &, void)
 
 DECL_LINK (ModifiedListBoxHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (ModifiedColorListBoxHdl_Impl, ColorListBox &, void)
 
 DECL_LINK (ToggleHatchBackgroundColor_Impl, weld::ToggleButton &, void)
 
 DECL_LINK (ModifiedBackgroundHdl_Impl, ColorListBox &, void)
 
 DECL_LINK (ModifiedSliderHdl_Impl, weld::Scale &, void)
 
void ModifiedHdl_Impl (void const *)
 
 DECL_LINK (ClickAddHdl_Impl, weld::Button &, void)
 
 DECL_LINK (ClickModifyHdl_Impl, weld::Button &, void)
 
 DECL_LINK (ClickRenameHdl_Impl, SvxPresetListBox *, void)
 
 DECL_LINK (ClickDeleteHdl_Impl, SvxPresetListBox *, void)
 
sal_Int32 SearchHatchList (const OUString &rHatchName)
 

Private Attributes

const SfxItemSetm_rOutAttrs
 
XColorListRef m_pColorList
 
XHatchListRef m_pHatchingList
 
ChangeTypem_pnHatchingListState
 
ChangeTypem_pnColorListState
 
XFillAttrSetItem m_aXFillAttr
 
SfxItemSetm_rXFSet
 
MapUnit m_ePoolUnit
 
SvxXRectPreview m_aCtlPreview
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrDistance
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrAngle
 
std::unique_ptr< weld::Scalem_xSliderAngle
 
std::unique_ptr< weld::ComboBoxm_xLbLineType
 
std::unique_ptr< ColorListBoxm_xLbLineColor
 
std::unique_ptr< weld::CheckButtonm_xCbBackgroundColor
 
std::unique_ptr< ColorListBoxm_xLbBackgroundColor
 
std::unique_ptr< SvxPresetListBoxm_xHatchLB
 
std::unique_ptr< weld::Buttonm_xBtnAdd
 
std::unique_ptr< weld::Buttonm_xBtnModify
 
std::unique_ptr< weld::CustomWeldm_xHatchLBWin
 
std::unique_ptr< weld::CustomWeldm_xCtlPreview
 

Additional Inherited Members

- 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
 

Detailed Description

Definition at line 420 of file cuitabarea.hxx.

Constructor & Destructor Documentation

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

Definition at line 116 of file tphatch.cxx.

References m_xCtlPreview, m_xHatchLB, m_xHatchLBWin, m_xLbBackgroundColor, and m_xLbLineColor.

Member Function Documentation

void SvxHatchTabPage::ActivatePage ( const SfxItemSet rSet)
overridevirtual
void SvxHatchTabPage::ChangeHatchHdl_Impl ( )
private
void SvxHatchTabPage::Construct ( )

Definition at line 125 of file tphatch.cxx.

References m_pHatchingList, and m_xHatchLB.

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

Definition at line 268 of file tphatch.cxx.

Referenced by SvxAreaTabPage::SetOptimalSize().

DeactivateRC SvxHatchTabPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 194 of file tphatch.cxx.

References FillItemSet().

SvxHatchTabPage::DECL_LINK ( ChangeHatchHdl  ,
SvtValueSet ,
void   
)
private
SvxHatchTabPage::DECL_LINK ( ModifiedEditHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private
SvxHatchTabPage::DECL_LINK ( ModifiedListBoxHdl_Impl  ,
weld::ComboBox ,
void   
)
private
SvxHatchTabPage::DECL_LINK ( ModifiedColorListBoxHdl_Impl  ,
ColorListBox ,
void   
)
private
SvxHatchTabPage::DECL_LINK ( ToggleHatchBackgroundColor_Impl  ,
weld::ToggleButton ,
void   
)
private
SvxHatchTabPage::DECL_LINK ( ModifiedBackgroundHdl_Impl  ,
ColorListBox ,
void   
)
private
SvxHatchTabPage::DECL_LINK ( ModifiedSliderHdl_Impl  ,
weld::Scale ,
void   
)
private
SvxHatchTabPage::DECL_LINK ( ClickAddHdl_Impl  ,
weld::Button ,
void   
)
private
SvxHatchTabPage::DECL_LINK ( ClickModifyHdl_Impl  ,
weld::Button ,
void   
)
private
SvxHatchTabPage::DECL_LINK ( ClickRenameHdl_Impl  ,
SvxPresetListBox ,
void   
)
private
SvxHatchTabPage::DECL_LINK ( ClickDeleteHdl_Impl  ,
SvxPresetListBox ,
void   
)
private
bool SvxHatchTabPage::FillItemSet ( SfxItemSet rSet)
overridevirtual
void SvxHatchTabPage::ModifiedHdl_Impl ( void const *  p)
private
void SvxHatchTabPage::Reset ( const SfxItemSet rSet)
overridevirtual
sal_Int32 SvxHatchTabPage::SearchHatchList ( const OUString &  rHatchName)
private

Definition at line 202 of file tphatch.cxx.

References i, LISTBOX_ENTRY_NOTFOUND, m_pHatchingList, and nPos.

Referenced by ActivatePage().

void SvxHatchTabPage::SetColorChgd ( ChangeType pIn)
inline

Definition at line 484 of file cuitabarea.hxx.

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

Definition at line 479 of file cuitabarea.hxx.

Referenced by SvxAreaTabPage::CreatePage().

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

Definition at line 480 of file cuitabarea.hxx.

void SvxHatchTabPage::SetHtchChgd ( ChangeType pIn)
inline

Definition at line 483 of file cuitabarea.hxx.

Member Data Documentation

SvxXRectPreview SvxHatchTabPage::m_aCtlPreview
private
XFillAttrSetItem SvxHatchTabPage::m_aXFillAttr
private
MapUnit SvxHatchTabPage::m_ePoolUnit
private
XColorListRef SvxHatchTabPage::m_pColorList
private

Definition at line 425 of file cuitabarea.hxx.

Referenced by ActivatePage().

XHatchListRef SvxHatchTabPage::m_pHatchingList
private
ChangeType* SvxHatchTabPage::m_pnColorListState
private

Definition at line 429 of file cuitabarea.hxx.

Referenced by ActivatePage().

ChangeType* SvxHatchTabPage::m_pnHatchingListState
private

Definition at line 428 of file cuitabarea.hxx.

const SfxItemSet& SvxHatchTabPage::m_rOutAttrs
private

Definition at line 423 of file cuitabarea.hxx.

Referenced by ChangeHatchHdl_Impl(), and SvxHatchTabPage().

SfxItemSet& SvxHatchTabPage::m_rXFSet
private
std::unique_ptr<weld::Button> SvxHatchTabPage::m_xBtnAdd
private

Definition at line 445 of file cuitabarea.hxx.

Referenced by SvxHatchTabPage().

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

Definition at line 446 of file cuitabarea.hxx.

Referenced by SvxHatchTabPage().

std::unique_ptr<weld::CheckButton> SvxHatchTabPage::m_xCbBackgroundColor
private

Definition at line 442 of file cuitabarea.hxx.

Referenced by ActivatePage(), FillItemSet(), Reset(), and SvxHatchTabPage().

std::unique_ptr<weld::CustomWeld> SvxHatchTabPage::m_xCtlPreview
private

Definition at line 448 of file cuitabarea.hxx.

Referenced by SvxHatchTabPage(), and ~SvxHatchTabPage().

std::unique_ptr<SvxPresetListBox> SvxHatchTabPage::m_xHatchLB
private
std::unique_ptr<weld::CustomWeld> SvxHatchTabPage::m_xHatchLBWin
private

Definition at line 447 of file cuitabarea.hxx.

Referenced by SvxHatchTabPage(), and ~SvxHatchTabPage().

std::unique_ptr<ColorListBox> SvxHatchTabPage::m_xLbBackgroundColor
private
std::unique_ptr<ColorListBox> SvxHatchTabPage::m_xLbLineColor
private
std::unique_ptr<weld::ComboBox> SvxHatchTabPage::m_xLbLineType
private
std::unique_ptr<weld::MetricSpinButton> SvxHatchTabPage::m_xMtrAngle
private
std::unique_ptr<weld::MetricSpinButton> SvxHatchTabPage::m_xMtrDistance
private
std::unique_ptr<weld::Scale> SvxHatchTabPage::m_xSliderAngle
private

Definition at line 439 of file cuitabarea.hxx.

Referenced by ChangeHatchHdl_Impl(), ModifiedHdl_Impl(), and SvxHatchTabPage().


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