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

#include <transfrm.hxx>

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

Public Member Functions

 SvxPositionSizeTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs)
 
virtual ~SvxPositionSizeTabPage () 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)
 
virtual void FillUserData () override
 
void DisableResize ()
 
void DisableProtect ()
 
void UpdateControlStates ()
 
- 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< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *)
 
static WhichRangesContainer GetRanges ()
 

Private Member Functions

 DECL_LINK (ChangePosProtectHdl, weld::Toggleable &, void)
 
 DECL_LINK (ChangeSizeProtectHdl, weld::Toggleable &, void)
 
void SetMinMaxPosition ()
 
void GetTopLeftPosition (double &rfX, double &rfY, const basegfx::B2DRange &rRange)
 
 DECL_LINK (ChangeWidthHdl, weld::MetricSpinButton &, void)
 
 DECL_LINK (ChangeHeightHdl, weld::MetricSpinButton &, void)
 
 DECL_LINK (ClickSizeProtectHdl, weld::Toggleable &, void)
 
 DECL_LINK (ClickAutoHdl, weld::Toggleable &, void)
 

Private Attributes

const SfxItemSetmrOutAttrs
 
const SdrViewmpView
 
basegfx::B2DRange maRange
 
basegfx::B2DRange maWorkRange
 
basegfx::B2DPoint maAnchor
 
MapUnit mePoolUnit
 
FieldUnit meDlgUnit
 
TriState mnProtectSizeState
 
bool mbPageDisabled
 
bool mbProtectDisabled
 
bool mbSizeDisabled
 
bool mbAdjustDisabled
 
bool mbIgnoreAutoGrowWidth
 
bool mbIgnoreAutoGrowHeight
 
double mfOldWidth
 
double mfOldHeight
 
RectPoint meRP
 
SvxRectCtl m_aCtlPos
 
SvxRectCtl m_aCtlSize
 
std::unique_ptr< weld::Widgetm_xFlPosition
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrPosX
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrPosY
 
std::unique_ptr< weld::CustomWeldm_xCtlPos
 
std::unique_ptr< weld::Widgetm_xFlSize
 
std::unique_ptr< weld::Labelm_xFtWidth
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrWidth
 
std::unique_ptr< weld::Labelm_xFtHeight
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrHeight
 
std::unique_ptr< weld::CheckButtonm_xCbxScale
 
std::unique_ptr< weld::CustomWeldm_xCtlSize
 
std::unique_ptr< weld::Widgetm_xFlProtect
 
std::unique_ptr< weld::CheckButtonm_xTsbPosProtect
 
std::unique_ptr< weld::CheckButtonm_xTsbSizeProtect
 
std::unique_ptr< weld::Widgetm_xFlAdjust
 
std::unique_ptr< weld::CheckButtonm_xTsbAutoGrowWidth
 
std::unique_ptr< weld::CheckButtonm_xTsbAutoGrowHeight
 

Static Private Attributes

static const WhichRangesContainer pPosSizeRanges
 

Detailed Description

Definition at line 61 of file transfrm.hxx.

Constructor & Destructor Documentation

◆ SvxPositionSizeTabPage()

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

◆ ~SvxPositionSizeTabPage()

SvxPositionSizeTabPage::~SvxPositionSizeTabPage ( )
overridevirtual

Definition at line 775 of file transfrm.cxx.

Member Function Documentation

◆ ActivatePage()

void SvxPositionSizeTabPage::ActivatePage ( const SfxItemSet rSet)
overridevirtual

◆ Construct()

void SvxPositionSizeTabPage::Construct ( )

◆ Create()

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

◆ DeactivatePage()

DeactivateRC SvxPositionSizeTabPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

◆ DECL_LINK() [1/6]

SvxPositionSizeTabPage::DECL_LINK ( ChangeHeightHdl  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [2/6]

SvxPositionSizeTabPage::DECL_LINK ( ChangePosProtectHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [3/6]

SvxPositionSizeTabPage::DECL_LINK ( ChangeSizeProtectHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [4/6]

SvxPositionSizeTabPage::DECL_LINK ( ChangeWidthHdl  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [5/6]

SvxPositionSizeTabPage::DECL_LINK ( ClickAutoHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [6/6]

SvxPositionSizeTabPage::DECL_LINK ( ClickSizeProtectHdl  ,
weld::Toggleable ,
void   
)
private

◆ DisableProtect()

void SvxPositionSizeTabPage::DisableProtect ( )

Definition at line 1489 of file transfrm.cxx.

References mbProtectDisabled.

Referenced by SvxTransformTabDialog::PageCreated().

◆ DisableResize()

void SvxPositionSizeTabPage::DisableResize ( )

Definition at line 1483 of file transfrm.cxx.

References mbSizeDisabled.

Referenced by SvxTransformTabDialog::PageCreated().

◆ FillItemSet()

bool SvxPositionSizeTabPage::FillItemSet ( SfxItemSet rOutAttrs)
overridevirtual

◆ FillUserData()

void SvxPositionSizeTabPage::FillUserData ( )
overridevirtual

Definition at line 1555 of file transfrm.cxx.

References aStr, and m_xCbxScale.

◆ GetRanges()

static WhichRangesContainer SvxPositionSizeTabPage::GetRanges ( )
inlinestatic

◆ GetTopLeftPosition()

void SvxPositionSizeTabPage::GetTopLeftPosition ( double &  rfX,
double &  rfY,
const basegfx::B2DRange rRange 
)
private

◆ PointChanged()

void SvxPositionSizeTabPage::PointChanged ( weld::DrawingArea pWindow,
RectPoint  eRP 
)
overridevirtual

◆ Reset()

void SvxPositionSizeTabPage::Reset ( const SfxItemSet )
overridevirtual

◆ SetMinMaxPosition()

void SvxPositionSizeTabPage::SetMinMaxPosition ( )
private

◆ SetView()

void SvxPositionSizeTabPage::SetView ( const SdrView pSdrView)
inline

Definition at line 146 of file transfrm.hxx.

References mpView.

Referenced by SvxTransformTabDialog::PageCreated().

◆ UpdateControlStates()

void SvxPositionSizeTabPage::UpdateControlStates ( )

Member Data Documentation

◆ m_aCtlPos

SvxRectCtl SvxPositionSizeTabPage::m_aCtlPos
private

◆ m_aCtlSize

SvxRectCtl SvxPositionSizeTabPage::m_aCtlSize
private

Definition at line 92 of file transfrm.hxx.

Referenced by SetMinMaxPosition(), SvxPositionSizeTabPage(), and UpdateControlStates().

◆ m_xCbxScale

std::unique_ptr<weld::CheckButton> SvxPositionSizeTabPage::m_xCbxScale
private

Definition at line 106 of file transfrm.hxx.

Referenced by FillUserData(), Reset(), SvxPositionSizeTabPage(), and UpdateControlStates().

◆ m_xCtlPos

std::unique_ptr<weld::CustomWeld> SvxPositionSizeTabPage::m_xCtlPos
private

Definition at line 98 of file transfrm.hxx.

◆ m_xCtlSize

std::unique_ptr<weld::CustomWeld> SvxPositionSizeTabPage::m_xCtlSize
private

Definition at line 107 of file transfrm.hxx.

Referenced by UpdateControlStates().

◆ m_xFlAdjust

std::unique_ptr<weld::Widget> SvxPositionSizeTabPage::m_xFlAdjust
private

Definition at line 115 of file transfrm.hxx.

Referenced by Construct(), SvxPositionSizeTabPage(), and UpdateControlStates().

◆ m_xFlPosition

std::unique_ptr<weld::Widget> SvxPositionSizeTabPage::m_xFlPosition
private

Definition at line 95 of file transfrm.hxx.

Referenced by UpdateControlStates().

◆ m_xFlProtect

std::unique_ptr<weld::Widget> SvxPositionSizeTabPage::m_xFlProtect
private

Definition at line 110 of file transfrm.hxx.

Referenced by UpdateControlStates().

◆ m_xFlSize

std::unique_ptr<weld::Widget> SvxPositionSizeTabPage::m_xFlSize
private

Definition at line 101 of file transfrm.hxx.

Referenced by UpdateControlStates().

◆ m_xFtHeight

std::unique_ptr<weld::Label> SvxPositionSizeTabPage::m_xFtHeight
private

Definition at line 104 of file transfrm.hxx.

Referenced by UpdateControlStates().

◆ m_xFtWidth

std::unique_ptr<weld::Label> SvxPositionSizeTabPage::m_xFtWidth
private

Definition at line 102 of file transfrm.hxx.

Referenced by UpdateControlStates().

◆ m_xMtrHeight

std::unique_ptr<weld::MetricSpinButton> SvxPositionSizeTabPage::m_xMtrHeight
private

◆ m_xMtrPosX

std::unique_ptr<weld::MetricSpinButton> SvxPositionSizeTabPage::m_xMtrPosX
private

◆ m_xMtrPosY

std::unique_ptr<weld::MetricSpinButton> SvxPositionSizeTabPage::m_xMtrPosY
private

◆ m_xMtrWidth

std::unique_ptr<weld::MetricSpinButton> SvxPositionSizeTabPage::m_xMtrWidth
private

◆ m_xTsbAutoGrowHeight

std::unique_ptr<weld::CheckButton> SvxPositionSizeTabPage::m_xTsbAutoGrowHeight
private

Definition at line 117 of file transfrm.hxx.

Referenced by Construct(), FillItemSet(), Reset(), and UpdateControlStates().

◆ m_xTsbAutoGrowWidth

std::unique_ptr<weld::CheckButton> SvxPositionSizeTabPage::m_xTsbAutoGrowWidth
private

Definition at line 116 of file transfrm.hxx.

Referenced by Construct(), FillItemSet(), Reset(), and UpdateControlStates().

◆ m_xTsbPosProtect

std::unique_ptr<weld::CheckButton> SvxPositionSizeTabPage::m_xTsbPosProtect
private

◆ m_xTsbSizeProtect

std::unique_ptr<weld::CheckButton> SvxPositionSizeTabPage::m_xTsbSizeProtect
private

◆ maAnchor

basegfx::B2DPoint SvxPositionSizeTabPage::maAnchor
private

Definition at line 73 of file transfrm.hxx.

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

◆ maRange

basegfx::B2DRange SvxPositionSizeTabPage::maRange
private

◆ maWorkRange

basegfx::B2DRange SvxPositionSizeTabPage::maWorkRange
private

Definition at line 72 of file transfrm.hxx.

Referenced by Construct(), and SetMinMaxPosition().

◆ mbAdjustDisabled

bool SvxPositionSizeTabPage::mbAdjustDisabled
private

Definition at line 81 of file transfrm.hxx.

Referenced by Construct(), and UpdateControlStates().

◆ mbIgnoreAutoGrowHeight

bool SvxPositionSizeTabPage::mbIgnoreAutoGrowHeight
private

Definition at line 83 of file transfrm.hxx.

Referenced by Construct(), FillItemSet(), and UpdateControlStates().

◆ mbIgnoreAutoGrowWidth

bool SvxPositionSizeTabPage::mbIgnoreAutoGrowWidth
private

Definition at line 82 of file transfrm.hxx.

Referenced by Construct(), FillItemSet(), and UpdateControlStates().

◆ mbPageDisabled

bool SvxPositionSizeTabPage::mbPageDisabled
private

Definition at line 78 of file transfrm.hxx.

Referenced by Construct(), FillItemSet(), Reset(), and UpdateControlStates().

◆ mbProtectDisabled

bool SvxPositionSizeTabPage::mbProtectDisabled
private

Definition at line 79 of file transfrm.hxx.

Referenced by DisableProtect(), and UpdateControlStates().

◆ mbSizeDisabled

bool SvxPositionSizeTabPage::mbSizeDisabled
private

Definition at line 80 of file transfrm.hxx.

Referenced by DisableResize(), and UpdateControlStates().

◆ meDlgUnit

FieldUnit SvxPositionSizeTabPage::meDlgUnit
private

Definition at line 76 of file transfrm.hxx.

Referenced by Construct(), and SetMinMaxPosition().

◆ mePoolUnit

MapUnit SvxPositionSizeTabPage::mePoolUnit
private

Definition at line 75 of file transfrm.hxx.

Referenced by Construct(), FillItemSet(), Reset(), and SvxPositionSizeTabPage().

◆ meRP

RectPoint SvxPositionSizeTabPage::meRP
private

Definition at line 89 of file transfrm.hxx.

Referenced by FillItemSet(), PointChanged(), and SvxPositionSizeTabPage().

◆ mfOldHeight

double SvxPositionSizeTabPage::mfOldHeight
private

Definition at line 88 of file transfrm.hxx.

Referenced by Reset().

◆ mfOldWidth

double SvxPositionSizeTabPage::mfOldWidth
private

Definition at line 87 of file transfrm.hxx.

Referenced by Reset().

◆ mnProtectSizeState

TriState SvxPositionSizeTabPage::mnProtectSizeState
private

Definition at line 77 of file transfrm.hxx.

◆ mpView

const SdrView* SvxPositionSizeTabPage::mpView
private

Definition at line 68 of file transfrm.hxx.

Referenced by Construct(), FillItemSet(), Reset(), and SetView().

◆ mrOutAttrs

const SfxItemSet& SvxPositionSizeTabPage::mrOutAttrs
private

Definition at line 66 of file transfrm.hxx.

Referenced by Reset(), and SvxPositionSizeTabPage().

◆ pPosSizeRanges

const WhichRangesContainer SvxPositionSizeTabPage::pPosSizeRanges
staticprivate

Definition at line 63 of file transfrm.hxx.

Referenced by GetRanges().


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