LibreOffice Module cui (master) 1
|
#include <transfrm.hxx>
Public Member Functions | |
SvxAngleTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs) | |
virtual | ~SvxAngleTabPage () override |
virtual bool | FillItemSet (SfxItemSet *) override |
virtual void | Reset (const SfxItemSet *) override |
virtual void | ActivatePage (const SfxItemSet &rSet) override |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) override |
virtual void | PointChanged (weld::DrawingArea *pWindow, RectPoint eRP) override |
void | Construct () |
void | SetView (const SdrView *pSdrView) |
Public Member Functions inherited from SvxTabPage | |
SvxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet &rAttrSet) | |
virtual void | PointChanged (weld::DrawingArea *pArea, RectPoint eRP)=0 |
Static Public Member Functions | |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *) |
static WhichRangesContainer | GetRanges () |
Private Attributes | |
const SdrView * | pView |
basegfx::B2DRange | maRange |
basegfx::B2DPoint | maAnchor |
MapUnit | ePoolUnit |
FieldUnit | eDlgUnit |
SvxRectCtl | m_aCtlRect |
std::unique_ptr< weld::Widget > | m_xFlPosition |
std::unique_ptr< weld::MetricSpinButton > | m_xMtrPosX |
std::unique_ptr< weld::MetricSpinButton > | m_xMtrPosY |
std::unique_ptr< weld::CustomWeld > | m_xCtlRect |
std::unique_ptr< weld::Widget > | m_xFlAngle |
std::unique_ptr< weld::MetricSpinButton > | m_xNfAngle |
std::unique_ptr< svx::DialControl > | m_xCtlAngle |
std::unique_ptr< weld::CustomWeld > | m_xCtlAngleWin |
Static Private Attributes | |
static const WhichRangesContainer | pAngleRanges |
Definition at line 161 of file transfrm.hxx.
SvxAngleTabPage::SvxAngleTabPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rInAttrs | ||
) |
Definition at line 150 of file transfrm.cxx.
References CM, DBG_ASSERT, DEGREE, ePoolUnit, SfxItemPool::GetMetric(), SfxItemSet::GetPool(), m_xCtlAngle, m_xNfAngle, and NONE.
|
overridevirtual |
Definition at line 172 of file transfrm.cxx.
|
overridevirtual |
Definition at line 290 of file transfrm.cxx.
References SfxItemSet::GetItemIfSet(), m_xFlAngle, m_xFlPosition, and rSet.
void SvxAngleTabPage::Construct | ( | ) |
Definition at line 176 of file transfrm.cxx.
References vcl::unotools::b2DRectangleFromRectangle(), TransfrmHelper::ConvertRect(), DBG_ASSERT, eDlgUnit, ePoolUnit, basegfx::Tuple2D< typename TYPE >::equalZero(), SdrMarkView::GetAllMarkedRect(), SdrObject::GetAnchorPos(), GetItemSet(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), basegfx::B2DRange::getMaximum(), basegfx::B2DRange::getMinimum(), SdrPaintView::GetModel(), GetModuleFieldUnit(), SdrPaintView::GetSdrPageView(), SdrModel::GetUIScale(), SdrEditView::IsRotateAllowed(), SdrPageView::LogicToPagePos(), m_xFlAngle, m_xFlPosition, m_xMtrPosX, m_xMtrPosY, maAnchor, maRange, pView, TransfrmHelper::ScaleRect(), SetFieldUnit(), Point::X(), and Point::Y().
Referenced by SvxTransformTabDialog::PageCreated().
|
static |
Definition at line 285 of file transfrm.cxx.
References rSet.
Referenced by SvxTransformTabDialog::SvxTransformTabDialog().
|
overridevirtual |
Definition at line 299 of file transfrm.cxx.
References FillItemSet().
|
overridevirtual |
Definition at line 224 of file transfrm.cxx.
References ePoolUnit, basegfx::fround(), GetCoreValue(), SdrPaintView::GetModel(), SdrModel::GetUIScale(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), m_xCtlAngle, m_xMtrPosX, m_xMtrPosY, maAnchor, SfxItemSet::Put(), pView, and rSet.
Referenced by DeactivatePage().
|
inlinestatic |
Definition at line 191 of file transfrm.hxx.
References pAngleRanges.
Referenced by SvxTransformTabDialog::SvxTransformTabDialog().
|
overridevirtual |
Implements SvxTabPage.
Definition at line 309 of file transfrm.cxx.
References basegfx::fround64(), basegfx::B2DRange::getCenter(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMaxX(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMaxY(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinX(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinY(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), m_aCtlRect, m_xMtrPosX, m_xMtrPosY, and maRange.
|
overridevirtual |
Definition at line 245 of file transfrm.cxx.
References ePoolUnit, basegfx::fround(), GetItem(), SdrPaintView::GetModel(), SdrModel::GetUIScale(), GetValue(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), m_xCtlAngle, m_xMtrPosX, m_xMtrPosY, maAnchor, pView, and SetMetricValue().
|
inline |
Definition at line 202 of file transfrm.hxx.
References pView.
Referenced by SvxTransformTabDialog::PageCreated().
|
private |
Definition at line 173 of file transfrm.hxx.
Referenced by Construct().
|
private |
Definition at line 172 of file transfrm.hxx.
Referenced by Construct(), FillItemSet(), Reset(), and SvxAngleTabPage().
|
private |
Definition at line 175 of file transfrm.hxx.
Referenced by PointChanged().
|
private |
Definition at line 183 of file transfrm.hxx.
Referenced by FillItemSet(), Reset(), and SvxAngleTabPage().
|
private |
Definition at line 184 of file transfrm.hxx.
|
private |
Definition at line 180 of file transfrm.hxx.
|
private |
Definition at line 181 of file transfrm.hxx.
Referenced by ActivatePage(), and Construct().
|
private |
Definition at line 177 of file transfrm.hxx.
Referenced by ActivatePage(), and Construct().
|
private |
Definition at line 178 of file transfrm.hxx.
Referenced by Construct(), FillItemSet(), PointChanged(), and Reset().
|
private |
Definition at line 179 of file transfrm.hxx.
Referenced by Construct(), FillItemSet(), PointChanged(), and Reset().
|
private |
Definition at line 182 of file transfrm.hxx.
Referenced by SvxAngleTabPage().
|
private |
Definition at line 170 of file transfrm.hxx.
Referenced by Construct(), FillItemSet(), and Reset().
|
private |
Definition at line 169 of file transfrm.hxx.
Referenced by Construct(), and PointChanged().
|
staticprivate |
Definition at line 163 of file transfrm.hxx.
Referenced by GetRanges().
|
private |
Definition at line 166 of file transfrm.hxx.
Referenced by Construct(), FillItemSet(), Reset(), and SetView().