LibreOffice Module cui (master) 1
|
#include <transfrm.hxx>
Public Member Functions | |
SvxSlantTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs) | |
virtual | ~SvxSlantTabPage () 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 |
void | Construct () |
void | SetView (const SdrView *pSdrView) |
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 Attributes | |
const SdrView * | pView |
MapUnit | ePoolUnit |
FieldUnit | eDlgUnit |
std::unique_ptr< weld::Widget > | m_xFlRadius |
std::unique_ptr< weld::MetricSpinButton > | m_xMtrRadius |
std::unique_ptr< weld::Widget > | m_xFlAngle |
std::unique_ptr< weld::MetricSpinButton > | m_xMtrAngle |
std::unique_ptr< weld::Widget > | m_aControlGroups [2] |
std::unique_ptr< weld::Widget > | m_aControlGroupX [2] |
std::unique_ptr< weld::MetricSpinButton > | m_aControlX [2] |
std::unique_ptr< weld::Widget > | m_aControlGroupY [2] |
std::unique_ptr< weld::MetricSpinButton > | m_aControlY [2] |
Static Private Attributes | |
static const WhichRangesContainer | pSlantRanges |
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 |
Definition at line 210 of file transfrm.hxx.
SvxSlantTabPage::SvxSlantTabPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rInAttrs | ||
) |
Definition at line 378 of file transfrm.cxx.
References CM, DEGREE, ePoolUnit, SfxItemPool::GetMetric(), SfxItemSet::GetPool(), i, m_aControlGroups, m_aControlGroupX, m_aControlGroupY, m_aControlX, m_aControlY, NONE, and SfxTabPage::SetExchangeSupport().
|
overridevirtual |
Definition at line 405 of file transfrm.cxx.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 689 of file transfrm.cxx.
References SfxItemSet::GetItemIfSet(), m_xFlAngle, and rSet.
void SvxSlantTabPage::Construct | ( | ) |
Definition at line 409 of file transfrm.cxx.
References DBG_ASSERT, eDlgUnit, SdrMarkView::GetAllMarkedRect(), SfxTabPage::GetItemSet(), GetModuleFieldUnit(), SdrPaintView::GetSdrPageView(), i, SdrPageView::LogicToPagePos(), m_aControlX, m_aControlY, m_xMtrRadius, pView, and SetFieldUnit().
Referenced by SvxTransformTabDialog::PageCreated().
|
static |
Definition at line 684 of file transfrm.cxx.
Referenced by SvxTransformTabDialog::SvxTransformTabDialog().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 702 of file transfrm.cxx.
References FillItemSet().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 427 of file transfrm.cxx.
References SdrModel::AddUndo(), SdrModel::BegUndo(), SdrObject::BroadcastObjectChange(), tools::Rectangle::Center(), SdrUndoFactory::CreateUndoAttrObject(), SdrModel::EndUndo(), ePoolUnit, SdrMarkView::GetAllMarkedRect(), GetCoreValue(), EnhancedCustomShape2d::GetLogicRect(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrPaintView::GetModel(), SdrObject::getSdrModelFromSdrObject(), SdrPaintView::GetSdrPageView(), SdrModel::GetSdrUndoFactory(), SdrModel::GetUIScale(), i, SdrModel::IsUndoEnabled(), tools::Rectangle::Left(), SdrPageView::LogicToPagePos(), m_aControlX, m_aControlY, m_xMtrAngle, m_xMtrRadius, makeSdrEckenradiusItem(), Point::Move(), nValue, SfxItemSet::Put(), pView, SdrObject::SetChanged(), EnhancedCustomShape2d::SetHandleControllerPosition(), tools::Rectangle::Top(), Point::X(), and Point::Y().
Referenced by DeactivatePage().
|
inlinestatic |
Definition at line 235 of file transfrm.hxx.
References pSlantRanges.
Referenced by SvxTransformTabDialog::SvxTransformTabDialog().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 547 of file transfrm.cxx.
References ePoolUnit, basegfx::fround(), get(), EnhancedCustomShape2d::GetHandlePosition(), SfxTabPage::GetItem(), EnhancedCustomShape2d::GetLogicRect(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrObject::GetMergedItem(), SdrPaintView::GetModel(), SdrModel::GetUIScale(), GetValue(), i, SdrModel::IsChanged(), SdrEditView::IsEdgeRadiusAllowed(), SdrEditView::IsShearAllowed(), tools::Rectangle::Left(), m_aControlGroups, m_aControlGroupX, m_aControlGroupY, m_aControlX, m_aControlY, m_xFlAngle, m_xFlRadius, m_xMtrAngle, m_xMtrRadius, Point::Move(), pView, SAL_MAX_INT32, SAL_MIN_INT32, SDRATTR_CORNER_RADIUS(), SDRATTR_CUSTOMSHAPE_GEOMETRY(), SdrModel::SetChanged(), EnhancedCustomShape2d::SetHandleControllerPosition(), SdrObject::SetMergedItem(), SetMetricValue(), tools::Rectangle::Top(), Point::X(), and Point::Y().
|
inline |
Definition at line 244 of file transfrm.hxx.
References pView.
Referenced by SvxTransformTabDialog::PageCreated().
|
private |
Definition at line 218 of file transfrm.hxx.
Referenced by Construct().
|
private |
Definition at line 217 of file transfrm.hxx.
Referenced by FillItemSet(), Reset(), and SvxSlantTabPage().
|
private |
Definition at line 224 of file transfrm.hxx.
Referenced by Reset(), and SvxSlantTabPage().
|
private |
Definition at line 225 of file transfrm.hxx.
Referenced by Reset(), and SvxSlantTabPage().
|
private |
Definition at line 227 of file transfrm.hxx.
Referenced by Reset(), and SvxSlantTabPage().
|
private |
Definition at line 226 of file transfrm.hxx.
Referenced by Construct(), FillItemSet(), Reset(), and SvxSlantTabPage().
|
private |
Definition at line 228 of file transfrm.hxx.
Referenced by Construct(), FillItemSet(), Reset(), and SvxSlantTabPage().
|
private |
Definition at line 222 of file transfrm.hxx.
Referenced by ActivatePage(), and Reset().
|
private |
Definition at line 220 of file transfrm.hxx.
Referenced by Reset().
|
private |
Definition at line 223 of file transfrm.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 221 of file transfrm.hxx.
Referenced by Construct(), FillItemSet(), and Reset().
|
staticprivate |
Definition at line 212 of file transfrm.hxx.
Referenced by GetRanges().
|
private |
Definition at line 215 of file transfrm.hxx.
Referenced by Construct(), FillItemSet(), Reset(), and SetView().