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
 
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 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, ValueSet *, 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::Toggleable &, 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 (std::u16string_view 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 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
 

Detailed Description

Definition at line 437 of file cuitabarea.hxx.

Constructor & Destructor Documentation

◆ SvxHatchTabPage()

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

Definition at line 46 of file tphatch.cxx.

References DEGREE, SfxTabPage::GetDialogController(), GetItemSet(), and MM.

◆ ~SvxHatchTabPage()

SvxHatchTabPage::~SvxHatchTabPage ( )
overridevirtual

Definition at line 120 of file tphatch.cxx.

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

Member Function Documentation

◆ ActivatePage()

void SvxHatchTabPage::ActivatePage ( const SfxItemSet rSet)
overridevirtual

◆ ChangeHatchHdl_Impl()

void SvxHatchTabPage::ChangeHatchHdl_Impl ( )
private

◆ Construct()

void SvxHatchTabPage::Construct ( )

Definition at line 129 of file tphatch.cxx.

References m_pHatchingList, and m_xHatchLB.

◆ Create()

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

Definition at line 272 of file tphatch.cxx.

References rSet.

Referenced by SvxAreaTabPage::SetOptimalSize().

◆ DeactivatePage()

DeactivateRC SvxHatchTabPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 198 of file tphatch.cxx.

References FillItemSet().

◆ DECL_LINK() [1/11]

SvxHatchTabPage::DECL_LINK ( ChangeHatchHdl  ,
ValueSet ,
void   
)
private

◆ DECL_LINK() [2/11]

SvxHatchTabPage::DECL_LINK ( ClickAddHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/11]

SvxHatchTabPage::DECL_LINK ( ClickDeleteHdl_Impl  ,
SvxPresetListBox ,
void   
)
private

◆ DECL_LINK() [4/11]

SvxHatchTabPage::DECL_LINK ( ClickModifyHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [5/11]

SvxHatchTabPage::DECL_LINK ( ClickRenameHdl_Impl  ,
SvxPresetListBox ,
void   
)
private

◆ DECL_LINK() [6/11]

SvxHatchTabPage::DECL_LINK ( ModifiedBackgroundHdl_Impl  ,
ColorListBox ,
void   
)
private

◆ DECL_LINK() [7/11]

SvxHatchTabPage::DECL_LINK ( ModifiedColorListBoxHdl_Impl  ,
ColorListBox ,
void   
)
private

◆ DECL_LINK() [8/11]

SvxHatchTabPage::DECL_LINK ( ModifiedEditHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [9/11]

SvxHatchTabPage::DECL_LINK ( ModifiedListBoxHdl_Impl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [10/11]

SvxHatchTabPage::DECL_LINK ( ModifiedSliderHdl_Impl  ,
weld::Scale ,
void   
)
private

◆ DECL_LINK() [11/11]

SvxHatchTabPage::DECL_LINK ( ToggleHatchBackgroundColor_Impl  ,
weld::Toggleable ,
void   
)
private

◆ FillItemSet()

bool SvxHatchTabPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

◆ ModifiedHdl_Impl()

void SvxHatchTabPage::ModifiedHdl_Impl ( void const *  p)
private

◆ Reset()

void SvxHatchTabPage::Reset ( const SfxItemSet rSet)
overridevirtual

◆ SearchHatchList()

sal_Int32 SvxHatchTabPage::SearchHatchList ( std::u16string_view  rHatchName)
private

Definition at line 206 of file tphatch.cxx.

References i, m_pHatchingList, nCount, and nPos.

Referenced by ActivatePage().

◆ SetColorChgd()

void SvxHatchTabPage::SetColorChgd ( ChangeType pIn)
inline

Definition at line 501 of file cuitabarea.hxx.

References m_pnColorListState.

◆ SetColorList()

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

Definition at line 496 of file cuitabarea.hxx.

References m_pColorList.

Referenced by SvxAreaTabPage::CreatePage().

◆ SetHatchingList()

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

Definition at line 497 of file cuitabarea.hxx.

References m_pHatchingList.

◆ SetHtchChgd()

void SvxHatchTabPage::SetHtchChgd ( ChangeType pIn)
inline

Definition at line 500 of file cuitabarea.hxx.

References m_pnHatchingListState.

Member Data Documentation

◆ m_aCtlPreview

SvxXRectPreview SvxHatchTabPage::m_aCtlPreview
private

Definition at line 453 of file cuitabarea.hxx.

Referenced by ActivatePage(), ChangeHatchHdl_Impl(), ModifiedHdl_Impl(), and Reset().

◆ m_aXFillAttr

XFillAttrSetItem SvxHatchTabPage::m_aXFillAttr
private

Definition at line 448 of file cuitabarea.hxx.

Referenced by ActivatePage(), ChangeHatchHdl_Impl(), ModifiedHdl_Impl(), and Reset().

◆ m_ePoolUnit

MapUnit SvxHatchTabPage::m_ePoolUnit
private

Definition at line 451 of file cuitabarea.hxx.

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

◆ m_pColorList

XColorListRef SvxHatchTabPage::m_pColorList
private

Definition at line 442 of file cuitabarea.hxx.

Referenced by ActivatePage(), and SetColorList().

◆ m_pHatchingList

XHatchListRef SvxHatchTabPage::m_pHatchingList
private

◆ m_pnColorListState

ChangeType* SvxHatchTabPage::m_pnColorListState
private

Definition at line 446 of file cuitabarea.hxx.

Referenced by ActivatePage(), and SetColorChgd().

◆ m_pnHatchingListState

ChangeType* SvxHatchTabPage::m_pnHatchingListState
private

Definition at line 445 of file cuitabarea.hxx.

Referenced by SetHtchChgd().

◆ m_rOutAttrs

const SfxItemSet& SvxHatchTabPage::m_rOutAttrs
private

Definition at line 440 of file cuitabarea.hxx.

Referenced by ChangeHatchHdl_Impl().

◆ m_rXFSet

SfxItemSet& SvxHatchTabPage::m_rXFSet
private

Definition at line 449 of file cuitabarea.hxx.

Referenced by ActivatePage(), ChangeHatchHdl_Impl(), ModifiedHdl_Impl(), and Reset().

◆ m_xBtnAdd

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

Definition at line 462 of file cuitabarea.hxx.

◆ m_xBtnModify

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

Definition at line 463 of file cuitabarea.hxx.

◆ m_xCbBackgroundColor

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

Definition at line 459 of file cuitabarea.hxx.

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

◆ m_xCtlPreview

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

Definition at line 465 of file cuitabarea.hxx.

Referenced by ~SvxHatchTabPage().

◆ m_xHatchLB

std::unique_ptr<SvxPresetListBox> SvxHatchTabPage::m_xHatchLB
private

◆ m_xHatchLBWin

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

Definition at line 464 of file cuitabarea.hxx.

Referenced by ~SvxHatchTabPage().

◆ m_xLbBackgroundColor

std::unique_ptr<ColorListBox> SvxHatchTabPage::m_xLbBackgroundColor
private

◆ m_xLbLineColor

std::unique_ptr<ColorListBox> SvxHatchTabPage::m_xLbLineColor
private

◆ m_xLbLineType

std::unique_ptr<weld::ComboBox> SvxHatchTabPage::m_xLbLineType
private

Definition at line 457 of file cuitabarea.hxx.

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

◆ m_xMtrAngle

std::unique_ptr<weld::MetricSpinButton> SvxHatchTabPage::m_xMtrAngle
private

Definition at line 455 of file cuitabarea.hxx.

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

◆ m_xMtrDistance

std::unique_ptr<weld::MetricSpinButton> SvxHatchTabPage::m_xMtrDistance
private

Definition at line 454 of file cuitabarea.hxx.

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

◆ m_xSliderAngle

std::unique_ptr<weld::Scale> SvxHatchTabPage::m_xSliderAngle
private

Definition at line 456 of file cuitabarea.hxx.

Referenced by ChangeHatchHdl_Impl(), and ModifiedHdl_Impl().


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