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 (TabPageParent pParent, 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 (TabPageParent pParent, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet &rAttrSet)
 

Static Public Member Functions

static VclPtr< SfxTabPageCreate (TabPageParent, const SfxItemSet *)
 
static const sal_uInt16 * GetRanges ()
 

Private Member Functions

 DECL_LINK (ChangePosProtectHdl, weld::ToggleButton &, void)
 
 DECL_LINK (ChangeSizeProtectHdl, weld::ToggleButton &, 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::ToggleButton &, void)
 
 DECL_LINK (ClickAutoHdl, weld::ToggleButton &, 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 sal_uInt16 pPosSizeRanges []
 

Detailed Description

Definition at line 62 of file transfrm.hxx.

Constructor & Destructor Documentation

SvxPositionSizeTabPage::SvxPositionSizeTabPage ( TabPageParent  pParent,
const SfxItemSet rInAttrs 
)
SvxPositionSizeTabPage::~SvxPositionSizeTabPage ( )
overridevirtual

Definition at line 803 of file transfrm.cxx.

Member Function Documentation

void SvxPositionSizeTabPage::ActivatePage ( const SfxItemSet rSet)
overridevirtual
void SvxPositionSizeTabPage::Construct ( )
VclPtr< SfxTabPage > SvxPositionSizeTabPage::Create ( TabPageParent  pParent,
const SfxItemSet rOutAttrs 
)
static
DeactivateRC SvxPositionSizeTabPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual
SvxPositionSizeTabPage::DECL_LINK ( ChangePosProtectHdl  ,
weld::ToggleButton ,
void   
)
private
SvxPositionSizeTabPage::DECL_LINK ( ChangeSizeProtectHdl  ,
weld::ToggleButton ,
void   
)
private
SvxPositionSizeTabPage::DECL_LINK ( ChangeWidthHdl  ,
weld::MetricSpinButton ,
void   
)
private
SvxPositionSizeTabPage::DECL_LINK ( ChangeHeightHdl  ,
weld::MetricSpinButton ,
void   
)
private
SvxPositionSizeTabPage::DECL_LINK ( ClickSizeProtectHdl  ,
weld::ToggleButton ,
void   
)
private
SvxPositionSizeTabPage::DECL_LINK ( ClickAutoHdl  ,
weld::ToggleButton ,
void   
)
private
void SvxPositionSizeTabPage::DisableProtect ( )

Definition at line 1519 of file transfrm.cxx.

References mbProtectDisabled.

Referenced by SvxTransformTabDialog::PageCreated().

void SvxPositionSizeTabPage::DisableResize ( )

Definition at line 1513 of file transfrm.cxx.

References mbSizeDisabled.

Referenced by SvxTransformTabDialog::PageCreated().

bool SvxPositionSizeTabPage::FillItemSet ( SfxItemSet rOutAttrs)
overridevirtual
void SvxPositionSizeTabPage::FillUserData ( )
overridevirtual

Definition at line 1585 of file transfrm.cxx.

References aStr, and m_xCbxScale.

static const sal_uInt16* SvxPositionSizeTabPage::GetRanges ( )
inlinestatic
void SvxPositionSizeTabPage::GetTopLeftPosition ( double &  rfX,
double &  rfY,
const basegfx::B2DRange rRange 
)
private
void SvxPositionSizeTabPage::PointChanged ( weld::DrawingArea pWindow,
RectPoint  eRP 
)
overridevirtual
void SvxPositionSizeTabPage::Reset ( const SfxItemSet )
overridevirtual
void SvxPositionSizeTabPage::SetMinMaxPosition ( )
private
void SvxPositionSizeTabPage::SetView ( const SdrView pSdrView)
inline

Definition at line 149 of file transfrm.hxx.

Referenced by SvxTransformTabDialog::PageCreated().

void SvxPositionSizeTabPage::UpdateControlStates ( )

Member Data Documentation

SvxRectCtl SvxPositionSizeTabPage::m_aCtlPos
private
SvxRectCtl SvxPositionSizeTabPage::m_aCtlSize
private

Definition at line 95 of file transfrm.hxx.

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

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

Definition at line 109 of file transfrm.hxx.

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

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

Definition at line 101 of file transfrm.hxx.

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

Definition at line 110 of file transfrm.hxx.

Referenced by UpdateControlStates().

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

Definition at line 118 of file transfrm.hxx.

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

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

Definition at line 98 of file transfrm.hxx.

Referenced by UpdateControlStates().

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

Definition at line 113 of file transfrm.hxx.

Referenced by UpdateControlStates().

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

Definition at line 104 of file transfrm.hxx.

Referenced by UpdateControlStates().

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

Definition at line 107 of file transfrm.hxx.

Referenced by UpdateControlStates().

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

Definition at line 105 of file transfrm.hxx.

Referenced by UpdateControlStates().

std::unique_ptr<weld::MetricSpinButton> SvxPositionSizeTabPage::m_xMtrHeight
private
std::unique_ptr<weld::MetricSpinButton> SvxPositionSizeTabPage::m_xMtrPosX
private
std::unique_ptr<weld::MetricSpinButton> SvxPositionSizeTabPage::m_xMtrPosY
private
std::unique_ptr<weld::MetricSpinButton> SvxPositionSizeTabPage::m_xMtrWidth
private
std::unique_ptr<weld::CheckButton> SvxPositionSizeTabPage::m_xTsbAutoGrowHeight
private

Definition at line 120 of file transfrm.hxx.

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

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

Definition at line 119 of file transfrm.hxx.

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

std::unique_ptr<weld::CheckButton> SvxPositionSizeTabPage::m_xTsbPosProtect
private
std::unique_ptr<weld::CheckButton> SvxPositionSizeTabPage::m_xTsbSizeProtect
private
basegfx::B2DPoint SvxPositionSizeTabPage::maAnchor
private

Definition at line 76 of file transfrm.hxx.

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

basegfx::B2DRange SvxPositionSizeTabPage::maRange
private
basegfx::B2DRange SvxPositionSizeTabPage::maWorkRange
private

Definition at line 75 of file transfrm.hxx.

Referenced by Construct(), and SetMinMaxPosition().

bool SvxPositionSizeTabPage::mbAdjustDisabled
private

Definition at line 84 of file transfrm.hxx.

Referenced by Construct(), and UpdateControlStates().

bool SvxPositionSizeTabPage::mbIgnoreAutoGrowHeight
private

Definition at line 86 of file transfrm.hxx.

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

bool SvxPositionSizeTabPage::mbIgnoreAutoGrowWidth
private

Definition at line 85 of file transfrm.hxx.

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

bool SvxPositionSizeTabPage::mbPageDisabled
private

Definition at line 81 of file transfrm.hxx.

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

bool SvxPositionSizeTabPage::mbProtectDisabled
private

Definition at line 82 of file transfrm.hxx.

Referenced by DisableProtect(), and UpdateControlStates().

bool SvxPositionSizeTabPage::mbSizeDisabled
private

Definition at line 83 of file transfrm.hxx.

Referenced by DisableResize(), and UpdateControlStates().

FieldUnit SvxPositionSizeTabPage::meDlgUnit
private

Definition at line 79 of file transfrm.hxx.

Referenced by Construct(), and SetMinMaxPosition().

MapUnit SvxPositionSizeTabPage::mePoolUnit
private

Definition at line 78 of file transfrm.hxx.

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

RectPoint SvxPositionSizeTabPage::meRP
private

Definition at line 92 of file transfrm.hxx.

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

double SvxPositionSizeTabPage::mfOldHeight
private

Definition at line 91 of file transfrm.hxx.

Referenced by Reset().

double SvxPositionSizeTabPage::mfOldWidth
private

Definition at line 90 of file transfrm.hxx.

Referenced by Reset().

TriState SvxPositionSizeTabPage::mnProtectSizeState
private

Definition at line 80 of file transfrm.hxx.

const SdrView* SvxPositionSizeTabPage::mpView
private

Definition at line 71 of file transfrm.hxx.

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

const SfxItemSet& SvxPositionSizeTabPage::mrOutAttrs
private

Definition at line 69 of file transfrm.hxx.

Referenced by Reset(), and SvxPositionSizeTabPage().

const sal_uInt16 SvxPositionSizeTabPage::pPosSizeRanges
staticprivate
Initial value:
=
{
SID_ATTR_TRANSFORM_POS_X,
SID_ATTR_TRANSFORM_POS_Y,
SID_ATTR_TRANSFORM_PROTECT_POS,
SID_ATTR_TRANSFORM_PROTECT_POS,
SID_ATTR_TRANSFORM_INTERN,
SID_ATTR_TRANSFORM_INTERN,
SID_ATTR_TRANSFORM_ANCHOR,
SID_ATTR_TRANSFORM_VERT_ORIENT,
SID_ATTR_TRANSFORM_WIDTH,
SID_ATTR_TRANSFORM_SIZE_POINT,
SID_ATTR_TRANSFORM_PROTECT_POS,
SID_ATTR_TRANSFORM_INTERN,
SID_ATTR_TRANSFORM_AUTOWIDTH,
SID_ATTR_TRANSFORM_AUTOHEIGHT,
0
}

Definition at line 66 of file transfrm.hxx.

Referenced by GetRanges().


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