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

#include <cuitabline.hxx>

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

Public Member Functions

 SvxLineDefTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs)
 
virtual ~SvxLineDefTabPage () 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 SetDashList (XDashListRef const &pDshLst)
 
void SetPageType (PageType *pInType)
 
void SetDlgType (sal_uInt16 nInType)
 
void SetPosDashLb (sal_Int32 *pInPos)
 
void SetDashChgd (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
 
OString GetHelpId () const
 
OString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 
std::unordered_map< OString, 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

void FillDash_Impl ()
 
void FillDialog_Impl ()
 
 DECL_LINK (ClickAddHdl_Impl, weld::Button &, void)
 
 DECL_LINK (ClickModifyHdl_Impl, weld::Button &, void)
 
 DECL_LINK (ClickDeleteHdl_Impl, weld::Button &, void)
 
 DECL_LINK (SelectLinestyleListBoxHdl_Impl, weld::ComboBox &, void)
 
void SelectLinestyleHdl_Impl (const weld::ComboBox *)
 
 DECL_LINK (ChangePreviewHdl_Impl, weld::MetricSpinButton &, void)
 
 DECL_LINK (ChangeNumber1Hdl_Impl, weld::SpinButton &, void)
 
 DECL_LINK (ChangeNumber2Hdl_Impl, weld::SpinButton &, void)
 
 DECL_LINK (ClickLoadHdl_Impl, weld::Button &, void)
 
 DECL_LINK (ClickSaveHdl_Impl, weld::Button &, void)
 
 DECL_LINK (ChangeMetricHdl_Impl, weld::Toggleable &, void)
 
 DECL_LINK (SelectTypeListBoxHdl_Impl, weld::ComboBox &, void)
 
void SelectTypeHdl_Impl (const weld::ComboBox *)
 
void ChangeMetricHdl_Impl (const weld::Toggleable *)
 
void CheckChanges_Impl ()
 

Private Attributes

const SfxItemSetrOutAttrs
 
XDash aDash
 
XLineAttrSetItem aXLineAttr
 
SfxItemSetrXLSet
 
XDashListRef pDashList
 
ChangeTypepnDashListState
 
PageTypepPageType
 
sal_uInt16 nDlgType
 
sal_Int32 * pPosDashLb
 
MapUnit ePoolUnit
 
FieldUnit eFUnit
 
SvxXLinePreview m_aCtlPreview
 
std::unique_ptr< SvxLineLBm_xLbLineStyles
 
std::unique_ptr< weld::ComboBoxm_xLbType1
 
std::unique_ptr< weld::ComboBoxm_xLbType2
 
std::unique_ptr< weld::SpinButtonm_xNumFldNumber1
 
std::unique_ptr< weld::SpinButtonm_xNumFldNumber2
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrLength1
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrLength2
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrDistance
 
std::unique_ptr< weld::CheckButtonm_xCbxSynchronize
 
std::unique_ptr< weld::Buttonm_xBtnAdd
 
std::unique_ptr< weld::Buttonm_xBtnModify
 
std::unique_ptr< weld::Buttonm_xBtnDelete
 
std::unique_ptr< weld::Buttonm_xBtnLoad
 
std::unique_ptr< weld::Buttonm_xBtnSave
 
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
 
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 237 of file cuitabline.hxx.

Constructor & Destructor Documentation

◆ SvxLineDefTabPage()

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

◆ ~SvxLineDefTabPage()

SvxLineDefTabPage::~SvxLineDefTabPage ( )
overridevirtual

Definition at line 138 of file tplnedef.cxx.

References m_xCtlPreview, and m_xLbLineStyles.

Member Function Documentation

◆ ActivatePage()

void SvxLineDefTabPage::ActivatePage ( const SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 150 of file tplnedef.cxx.

References Area, aURL, DBG_ASSERT, Gradient, m_xLbLineStyles, nDlgType, pDashList, pPageType, pPosDashLb, and SelectLinestyleHdl_Impl().

◆ ChangeMetricHdl_Impl()

void SvxLineDefTabPage::ChangeMetricHdl_Impl ( const weld::Toggleable p)
private

◆ CheckChanges_Impl()

void SvxLineDefTabPage::CheckChanges_Impl ( )
private

◆ Construct()

void SvxLineDefTabPage::Construct ( )

Definition at line 144 of file tplnedef.cxx.

References m_xLbLineStyles, and pDashList.

◆ Create()

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

Definition at line 299 of file tplnedef.cxx.

References rOutAttrs.

Referenced by SvxLineTabDialog::SvxLineTabDialog().

◆ DeactivatePage()

DeactivateRC SvxLineDefTabPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 181 of file tplnedef.cxx.

References CheckChanges_Impl(), and FillItemSet().

◆ DECL_LINK() [1/11]

SvxLineDefTabPage::DECL_LINK ( ChangeMetricHdl_Impl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [2/11]

SvxLineDefTabPage::DECL_LINK ( ChangeNumber1Hdl_Impl  ,
weld::SpinButton ,
void   
)
private

◆ DECL_LINK() [3/11]

SvxLineDefTabPage::DECL_LINK ( ChangeNumber2Hdl_Impl  ,
weld::SpinButton ,
void   
)
private

◆ DECL_LINK() [4/11]

SvxLineDefTabPage::DECL_LINK ( ChangePreviewHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [5/11]

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

◆ DECL_LINK() [6/11]

SvxLineDefTabPage::DECL_LINK ( ClickDeleteHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [7/11]

SvxLineDefTabPage::DECL_LINK ( ClickLoadHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [8/11]

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

◆ DECL_LINK() [9/11]

SvxLineDefTabPage::DECL_LINK ( ClickSaveHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [10/11]

SvxLineDefTabPage::DECL_LINK ( SelectLinestyleListBoxHdl_Impl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [11/11]

SvxLineDefTabPage::DECL_LINK ( SelectTypeListBoxHdl_Impl  ,
weld::ComboBox ,
void   
)
private

◆ FillDash_Impl()

void SvxLineDefTabPage::FillDash_Impl ( )
private

◆ FillDialog_Impl()

void SvxLineDefTabPage::FillDialog_Impl ( )
private

◆ FillItemSet()

bool SvxLineDefTabPage::FillItemSet ( SfxItemSet rAttrs)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 240 of file tplnedef.cxx.

References aDash, FillDash_Impl(), Hatch, m_xLbLineStyles, nDlgType, pPageType, and SfxItemSet::Put().

Referenced by DeactivatePage().

◆ Reset()

void SvxLineDefTabPage::Reset ( const SfxItemSet rAttrs)
overridevirtual

◆ SelectLinestyleHdl_Impl()

void SvxLineDefTabPage::SelectLinestyleHdl_Impl ( const weld::ComboBox p)
private

◆ SelectTypeHdl_Impl()

void SvxLineDefTabPage::SelectTypeHdl_Impl ( const weld::ComboBox p)
private

Definition at line 457 of file tplnedef.cxx.

References m_xLbType1, m_xLbType2, m_xMtrLength1, m_xMtrLength2, and p.

Referenced by ChangeMetricHdl_Impl().

◆ SetDashChgd()

void SvxLineDefTabPage::SetDashChgd ( ChangeType pIn)
inline

Definition at line 312 of file cuitabline.hxx.

References pnDashListState.

◆ SetDashList()

void SvxLineDefTabPage::SetDashList ( XDashListRef const &  pDshLst)
inline

Definition at line 306 of file cuitabline.hxx.

References pDashList.

◆ SetDlgType()

void SvxLineDefTabPage::SetDlgType ( sal_uInt16  nInType)
inline

Definition at line 309 of file cuitabline.hxx.

References nDlgType.

◆ SetPageType()

void SvxLineDefTabPage::SetPageType ( PageType pInType)
inline

Definition at line 308 of file cuitabline.hxx.

References pPageType.

◆ SetPosDashLb()

void SvxLineDefTabPage::SetPosDashLb ( sal_Int32 *  pInPos)
inline

Definition at line 310 of file cuitabline.hxx.

References pPosDashLb.

Member Data Documentation

◆ aDash

XDash SvxLineDefTabPage::aDash
private

◆ aXLineAttr

XLineAttrSetItem SvxLineDefTabPage::aXLineAttr
private

Definition at line 243 of file cuitabline.hxx.

Referenced by FillDash_Impl(), SelectLinestyleHdl_Impl(), and SvxLineDefTabPage().

◆ eFUnit

FieldUnit SvxLineDefTabPage::eFUnit
private

Definition at line 254 of file cuitabline.hxx.

Referenced by ChangeMetricHdl_Impl(), and SvxLineDefTabPage().

◆ ePoolUnit

MapUnit SvxLineDefTabPage::ePoolUnit
private

◆ m_aCtlPreview

SvxXLinePreview SvxLineDefTabPage::m_aCtlPreview
private

Definition at line 256 of file cuitabline.hxx.

Referenced by FillDash_Impl(), SelectLinestyleHdl_Impl(), and SvxLineDefTabPage().

◆ m_xBtnAdd

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

Definition at line 266 of file cuitabline.hxx.

Referenced by CheckChanges_Impl(), and SvxLineDefTabPage().

◆ m_xBtnDelete

std::unique_ptr<weld::Button> SvxLineDefTabPage::m_xBtnDelete
private

Definition at line 268 of file cuitabline.hxx.

Referenced by Reset(), and SvxLineDefTabPage().

◆ m_xBtnLoad

std::unique_ptr<weld::Button> SvxLineDefTabPage::m_xBtnLoad
private

Definition at line 269 of file cuitabline.hxx.

Referenced by SvxLineDefTabPage().

◆ m_xBtnModify

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

Definition at line 267 of file cuitabline.hxx.

Referenced by CheckChanges_Impl(), Reset(), and SvxLineDefTabPage().

◆ m_xBtnSave

std::unique_ptr<weld::Button> SvxLineDefTabPage::m_xBtnSave
private

Definition at line 270 of file cuitabline.hxx.

Referenced by Reset(), and SvxLineDefTabPage().

◆ m_xCbxSynchronize

std::unique_ptr<weld::CheckButton> SvxLineDefTabPage::m_xCbxSynchronize
private

◆ m_xCtlPreview

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

Definition at line 271 of file cuitabline.hxx.

Referenced by ~SvxLineDefTabPage().

◆ m_xLbLineStyles

std::unique_ptr<SvxLineLB> SvxLineDefTabPage::m_xLbLineStyles
private

◆ m_xLbType1

std::unique_ptr<weld::ComboBox> SvxLineDefTabPage::m_xLbType1
private

◆ m_xLbType2

std::unique_ptr<weld::ComboBox> SvxLineDefTabPage::m_xLbType2
private

◆ m_xMtrDistance

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

◆ m_xMtrLength1

std::unique_ptr<weld::MetricSpinButton> SvxLineDefTabPage::m_xMtrLength1
private

◆ m_xMtrLength2

std::unique_ptr<weld::MetricSpinButton> SvxLineDefTabPage::m_xMtrLength2
private

◆ m_xNumFldNumber1

std::unique_ptr<weld::SpinButton> SvxLineDefTabPage::m_xNumFldNumber1
private

◆ m_xNumFldNumber2

std::unique_ptr<weld::SpinButton> SvxLineDefTabPage::m_xNumFldNumber2
private

◆ nDlgType

sal_uInt16 SvxLineDefTabPage::nDlgType
private

Definition at line 250 of file cuitabline.hxx.

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

◆ pDashList

XDashListRef SvxLineDefTabPage::pDashList
private

◆ pnDashListState

ChangeType* SvxLineDefTabPage::pnDashListState
private

Definition at line 248 of file cuitabline.hxx.

Referenced by SetDashChgd().

◆ pPageType

PageType* SvxLineDefTabPage::pPageType
private

Definition at line 249 of file cuitabline.hxx.

Referenced by ActivatePage(), FillItemSet(), SelectLinestyleHdl_Impl(), and SetPageType().

◆ pPosDashLb

sal_Int32* SvxLineDefTabPage::pPosDashLb
private

Definition at line 251 of file cuitabline.hxx.

Referenced by ActivatePage(), CheckChanges_Impl(), and SetPosDashLb().

◆ rOutAttrs

const SfxItemSet& SvxLineDefTabPage::rOutAttrs
private

Definition at line 240 of file cuitabline.hxx.

Referenced by Create(), and SvxLineDefTabPage().

◆ rXLSet

SfxItemSet& SvxLineDefTabPage::rXLSet
private

Definition at line 244 of file cuitabline.hxx.

Referenced by FillDash_Impl(), SelectLinestyleHdl_Impl(), and SvxLineDefTabPage().


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