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 |
![]() | |
void | SetDialogController (SfxOkDialogController *pDialog) |
virtual | ~SfxTabPage () override |
void | set_visible (bool bVisible) |
const SfxItemSet & | GetItemSet () const |
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 | ChangesApplied () |
void | SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame) |
css::uno::Reference< css::frame::XFrame > | GetFrame () const |
const SfxItemSet * | GetDialogExampleSet () const |
OString | GetHelpId () const |
OString | GetConfigId () const |
bool | IsVisible () const |
weld::Window * | GetFrameWeld () const |
Static Public Member Functions | |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *) |
static const sal_uInt16 * | GetRanges () |
![]() | |
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) | |
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 sal_uInt16 | pRanges [] |
Additional Inherited Members | |
![]() | |
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 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 66 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 120 of file connect.cxx.
References m_xCtlPreview.
void SvxConnectionPage::Construct | ( | ) |
Definition at line 293 of file connect.cxx.
References SvxXConnectionPreview::Construct(), DBG_ASSERT, m_aCtlPreview, pView, and SvxXConnectionPreview::SetView().
Referenced by PageCreated().
|
static |
Definition at line 306 of file connect.cxx.
Referenced by AbstractDialogFactory_Impl::GetTabPageCreatorFunc().
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 226 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 394 of file connect.cxx.
References aStr, SfxItemPool::GetDefaultItem(), SfxTabPage::GetItem(), SfxItemSet::GetPool(), SdrEdgeKindItem::GetValueCount(), SdrEdgeKindItem::GetValueTextByPos(), i, m_xLbType, nCount, rOutAttrs, and SDRATTR_EDGEKIND().
Referenced by SvxConnectionPage().
|
inlinestatic |
Definition at line 64 of file connect.hxx.
References pRanges.
Referenced by AbstractDialogFactory_Impl::GetTabPageRangesFunc().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 410 of file connect.cxx.
References Construct(), SfxItemSet::GetItem(), OfaPtrItem::GetValue(), and SetView().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 131 of file connect.cxx.
References eUnit, SfxItemPool::GetDefaultItem(), SfxTabPage::GetItem(), SfxItemSet::GetPool(), GetValue, 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(), and SetMetricValue().
Definition at line 70 of file connect.hxx.
Referenced by PageCreated().
|
private |
Definition at line 35 of file connect.hxx.
|
private |
Definition at line 37 of file connect.hxx.
Referenced by FillItemSet(), Reset(), 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().
|
private |
Definition at line 34 of file connect.hxx.
Referenced by FillTypeLB(), and SvxConnectionPage().