LibreOffice Module cui (master) 1
|
Dialog for changing connectors. More...
#include <connect.hxx>
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 SfxItemSet & | GetItemSet () 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 SfxItemSet * | GetDialogExampleSet () const |
OUString | GetHelpId () const |
OUString | GetConfigId () const |
bool | IsVisible () const |
weld::Window * | GetFrameWeld () const |
std::unordered_map< OUString, css::uno::Any > & | getAdditionalProperties () |
Static Public Member Functions | |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *) |
static WhichRangesContainer | GetRanges () |
Static Public Member Functions inherited from SfxTabPage | |
static const SfxPoolItem * | GetItem (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 SfxItemSet & | rOutAttrs |
SfxItemSet | aAttrSet |
const SdrView * | pView |
MapUnit | eUnit |
SvxXConnectionPreview | m_aCtlPreview |
std::unique_ptr< weld::ComboBox > | m_xLbType |
std::unique_ptr< weld::Label > | m_xFtLine1 |
std::unique_ptr< weld::MetricSpinButton > | m_xMtrFldLine1 |
std::unique_ptr< weld::Label > | m_xFtLine2 |
std::unique_ptr< weld::MetricSpinButton > | m_xMtrFldLine2 |
std::unique_ptr< weld::Label > | m_xFtLine3 |
std::unique_ptr< weld::MetricSpinButton > | m_xMtrFldLine3 |
std::unique_ptr< weld::MetricSpinButton > | m_xMtrFldHorz1 |
std::unique_ptr< weld::MetricSpinButton > | m_xMtrFldVert1 |
std::unique_ptr< weld::MetricSpinButton > | m_xMtrFldHorz2 |
std::unique_ptr< weld::MetricSpinButton > | m_xMtrFldVert2 |
std::unique_ptr< weld::CustomWeld > | m_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 SfxPoolItem * | GetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
const T * | GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
SfxOkDialogController * | GetDialogController () const |
Dialog for changing connectors.
Definition at line 30 of file connect.hxx.
SvxConnectionPage::SvxConnectionPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rInAttrs | ||
) |
Definition at line 62 of file connect.cxx.
References CM, DBG_ASSERT, eUnit, FillTypeLB(), SfxItemPool::GetMetric(), GetModuleFieldUnit(), SfxItemSet::GetPool(), LINK, m_xLbType, m_xMtrFldHorz1, m_xMtrFldHorz2, m_xMtrFldLine1, m_xMtrFldLine2, m_xMtrFldLine3, m_xMtrFldVert1, m_xMtrFldVert2, MM, rOutAttrs, SDRATTR_EDGENODE1HORZDIST(), and SetFieldUnit().
|
overridevirtual |
Definition at line 116 of file connect.cxx.
References m_xCtlPreview.
void SvxConnectionPage::Construct | ( | ) |
Definition at line 269 of file connect.cxx.
References SvxXConnectionPreview::Construct(), DBG_ASSERT, m_aCtlPreview, pView, and SvxXConnectionPreview::SetView().
Referenced by PageCreated().
|
static |
Definition at line 282 of file connect.cxx.
Referenced by AbstractDialogFactory_Impl::GetTabPageCreatorFunc().
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 202 of file connect.cxx.
References eUnit, GetCoreValue(), m_xLbType, m_xMtrFldHorz1, m_xMtrFldHorz2, m_xMtrFldLine1, m_xMtrFldLine2, m_xMtrFldLine3, m_xMtrFldVert1, m_xMtrFldVert2, makeSdrEdgeLine1DeltaItem(), makeSdrEdgeLine2DeltaItem(), makeSdrEdgeLine3DeltaItem(), nPos, nValue, and SfxItemSet::Put().
|
private |
Definition at line 370 of file connect.cxx.
References aStr, SfxItemPool::GetDefaultItem(), SfxTabPage::GetItem(), SfxItemSet::GetPool(), SdrEdgeKindItem::GetValueCount(), SdrEdgeKindItem::GetValueTextByPos(), i, m_xLbType, nCount, rOutAttrs, SDRATTR_EDGEKIND(), and SfxPoolItem::StaticWhichCast().
Referenced by SvxConnectionPage().
|
inlinestatic |
Definition at line 66 of file connect.hxx.
References pRanges.
Referenced by AbstractDialogFactory_Impl::GetTabPageRangesFunc().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 386 of file connect.cxx.
References Construct(), SfxItemSet::GetItem(), OfaPtrItem::GetValue(), and SetView().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 138 of file connect.cxx.
References SfxItemPool::GetDefaultItem(), SfxTabPage::GetItem(), SfxItemSet::GetPool(), m_xFtLine1, m_xFtLine2, m_xFtLine3, m_xLbType, m_xMtrFldHorz1, m_xMtrFldHorz2, m_xMtrFldLine1, m_xMtrFldLine2, m_xMtrFldLine3, m_xMtrFldVert1, m_xMtrFldVert2, SDRATTR_EDGEKIND(), SDRATTR_EDGELINE1DELTA(), SDRATTR_EDGELINE2DELTA(), SDRATTR_EDGELINE3DELTA(), SDRATTR_EDGELINEDELTACOUNT(), SDRATTR_EDGENODE1HORZDIST(), SDRATTR_EDGENODE1VERTDIST(), SDRATTR_EDGENODE2HORZDIST(), SDRATTR_EDGENODE2VERTDIST(), SetMetricValueAndSave(), and SfxPoolItem::StaticWhichCast().
|
private |
Definition at line 122 of file connect.cxx.
References eUnit, SfxItemPool::GetDefaultItem(), SfxTabPage::GetItem(), SfxItemSet::GetPool(), weld::MetricSpinButton::save_value(), SetMetricValue(), and SfxPoolItem::StaticWhichCast().
Referenced by Reset().
|
inline |
|
private |
Definition at line 35 of file connect.hxx.
|
private |
Definition at line 37 of file connect.hxx.
Referenced by FillItemSet(), SetMetricValueAndSave(), and SvxConnectionPage().
|
private |
Definition at line 39 of file connect.hxx.
Referenced by Construct().
|
private |
Definition at line 51 of file connect.hxx.
Referenced by ~SvxConnectionPage().
|
private |
Definition at line 41 of file connect.hxx.
Referenced by Reset().
|
private |
Definition at line 43 of file connect.hxx.
Referenced by Reset().
|
private |
Definition at line 45 of file connect.hxx.
Referenced by Reset().
|
private |
Definition at line 40 of file connect.hxx.
Referenced by FillItemSet(), FillTypeLB(), Reset(), and SvxConnectionPage().
|
private |
Definition at line 47 of file connect.hxx.
Referenced by FillItemSet(), Reset(), and SvxConnectionPage().
|
private |
Definition at line 49 of file connect.hxx.
Referenced by FillItemSet(), Reset(), and SvxConnectionPage().
|
private |
Definition at line 42 of file connect.hxx.
Referenced by FillItemSet(), Reset(), and SvxConnectionPage().
|
private |
Definition at line 44 of file connect.hxx.
Referenced by FillItemSet(), Reset(), and SvxConnectionPage().
|
private |
Definition at line 46 of file connect.hxx.
Referenced by FillItemSet(), Reset(), and SvxConnectionPage().
|
private |
Definition at line 48 of file connect.hxx.
Referenced by FillItemSet(), Reset(), and SvxConnectionPage().
|
private |
Definition at line 50 of file connect.hxx.
Referenced by FillItemSet(), Reset(), and SvxConnectionPage().
|
staticprivate |
Definition at line 33 of file connect.hxx.
Referenced by GetRanges().
|
private |
Definition at line 36 of file connect.hxx.
Referenced by Construct(), and SetView().
|
private |
Definition at line 34 of file connect.hxx.
Referenced by FillTypeLB(), and SvxConnectionPage().