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

Dialog for changing connectors. More...

#include <connect.hxx>

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

Public Member Functions

 SvxConnectionPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs)
 
virtual ~SvxConnectionPage () override
 
virtual bool FillItemSet (SfxItemSet *) override
 
virtual void Reset (const SfxItemSet *) override
 
void Construct ()
 
void SetView (const SdrView *pSdrView)
 
virtual void PageCreated (const SfxAllItemSet &aSet) override
 
- 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 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)
 

Private Member Functions

void FillTypeLB ()
 
 DECL_LINK (ChangeAttrEditHdl_Impl, weld::MetricSpinButton &, void)
 
 DECL_LINK (ChangeAttrListBoxHdl_Impl, weld::ComboBox &, void)
 
template<class T >
void SetMetricValueAndSave (const SfxItemSet *rAttrs, weld::MetricSpinButton &rField, TypedWhichId< T > nWhich)
 

Private Attributes

const SfxItemSetrOutAttrs
 
SfxItemSet aAttrSet
 
const SdrViewpView
 
MapUnit eUnit
 
SvxXConnectionPreview m_aCtlPreview
 
std::unique_ptr< weld::ComboBoxm_xLbType
 
std::unique_ptr< weld::Labelm_xFtLine1
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrFldLine1
 
std::unique_ptr< weld::Labelm_xFtLine2
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrFldLine2
 
std::unique_ptr< weld::Labelm_xFtLine3
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrFldLine3
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrFldHorz1
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrFldVert1
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrFldHorz2
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrFldVert2
 
std::unique_ptr< weld::CustomWeldm_xCtlPreview
 

Static Private Attributes

static const WhichRangesContainer pRanges
 

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

Dialog for changing connectors.

Definition at line 30 of file connect.hxx.

Constructor & Destructor Documentation

◆ SvxConnectionPage()

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

◆ ~SvxConnectionPage()

SvxConnectionPage::~SvxConnectionPage ( )
overridevirtual

Definition at line 116 of file connect.cxx.

References m_xCtlPreview.

Member Function Documentation

◆ Construct()

void SvxConnectionPage::Construct ( )

◆ Create()

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

Definition at line 282 of file connect.cxx.

Referenced by AbstractDialogFactory_Impl::GetTabPageCreatorFunc().

◆ DECL_LINK() [1/2]

SvxConnectionPage::DECL_LINK ( ChangeAttrEditHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [2/2]

SvxConnectionPage::DECL_LINK ( ChangeAttrListBoxHdl_Impl  ,
weld::ComboBox ,
void   
)
private

◆ FillItemSet()

bool SvxConnectionPage::FillItemSet ( SfxItemSet rAttrs)
overridevirtual

◆ FillTypeLB()

void SvxConnectionPage::FillTypeLB ( )
private

◆ GetRanges()

static WhichRangesContainer SvxConnectionPage::GetRanges ( )
inlinestatic

Definition at line 66 of file connect.hxx.

References pRanges.

Referenced by AbstractDialogFactory_Impl::GetTabPageRangesFunc().

◆ PageCreated()

void SvxConnectionPage::PageCreated ( const SfxAllItemSet aSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 386 of file connect.cxx.

References Construct(), SfxItemSet::GetItem(), OfaPtrItem::GetValue(), and SetView().

◆ Reset()

void SvxConnectionPage::Reset ( const SfxItemSet rAttrs)
overridevirtual

◆ SetMetricValueAndSave()

template<class T >
void SvxConnectionPage::SetMetricValueAndSave ( const SfxItemSet rAttrs,
weld::MetricSpinButton rField,
TypedWhichId< T >  nWhich 
)
private

◆ SetView()

void SvxConnectionPage::SetView ( const SdrView pSdrView)
inline

Definition at line 72 of file connect.hxx.

References pView.

Referenced by PageCreated().

Member Data Documentation

◆ aAttrSet

SfxItemSet SvxConnectionPage::aAttrSet
private

Definition at line 35 of file connect.hxx.

◆ eUnit

MapUnit SvxConnectionPage::eUnit
private

Definition at line 37 of file connect.hxx.

Referenced by FillItemSet(), SetMetricValueAndSave(), and SvxConnectionPage().

◆ m_aCtlPreview

SvxXConnectionPreview SvxConnectionPage::m_aCtlPreview
private

Definition at line 39 of file connect.hxx.

Referenced by Construct().

◆ m_xCtlPreview

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

Definition at line 51 of file connect.hxx.

Referenced by ~SvxConnectionPage().

◆ m_xFtLine1

std::unique_ptr<weld::Label> SvxConnectionPage::m_xFtLine1
private

Definition at line 41 of file connect.hxx.

Referenced by Reset().

◆ m_xFtLine2

std::unique_ptr<weld::Label> SvxConnectionPage::m_xFtLine2
private

Definition at line 43 of file connect.hxx.

Referenced by Reset().

◆ m_xFtLine3

std::unique_ptr<weld::Label> SvxConnectionPage::m_xFtLine3
private

Definition at line 45 of file connect.hxx.

Referenced by Reset().

◆ m_xLbType

std::unique_ptr<weld::ComboBox> SvxConnectionPage::m_xLbType
private

Definition at line 40 of file connect.hxx.

Referenced by FillItemSet(), FillTypeLB(), Reset(), and SvxConnectionPage().

◆ m_xMtrFldHorz1

std::unique_ptr<weld::MetricSpinButton> SvxConnectionPage::m_xMtrFldHorz1
private

Definition at line 47 of file connect.hxx.

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

◆ m_xMtrFldHorz2

std::unique_ptr<weld::MetricSpinButton> SvxConnectionPage::m_xMtrFldHorz2
private

Definition at line 49 of file connect.hxx.

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

◆ m_xMtrFldLine1

std::unique_ptr<weld::MetricSpinButton> SvxConnectionPage::m_xMtrFldLine1
private

Definition at line 42 of file connect.hxx.

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

◆ m_xMtrFldLine2

std::unique_ptr<weld::MetricSpinButton> SvxConnectionPage::m_xMtrFldLine2
private

Definition at line 44 of file connect.hxx.

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

◆ m_xMtrFldLine3

std::unique_ptr<weld::MetricSpinButton> SvxConnectionPage::m_xMtrFldLine3
private

Definition at line 46 of file connect.hxx.

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

◆ m_xMtrFldVert1

std::unique_ptr<weld::MetricSpinButton> SvxConnectionPage::m_xMtrFldVert1
private

Definition at line 48 of file connect.hxx.

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

◆ m_xMtrFldVert2

std::unique_ptr<weld::MetricSpinButton> SvxConnectionPage::m_xMtrFldVert2
private

Definition at line 50 of file connect.hxx.

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

◆ pRanges

const WhichRangesContainer SvxConnectionPage::pRanges
staticprivate

Definition at line 33 of file connect.hxx.

Referenced by GetRanges().

◆ pView

const SdrView* SvxConnectionPage::pView
private

Definition at line 36 of file connect.hxx.

Referenced by Construct(), and SetView().

◆ rOutAttrs

const SfxItemSet& SvxConnectionPage::rOutAttrs
private

Definition at line 34 of file connect.hxx.

Referenced by FillTypeLB(), and SvxConnectionPage().


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