diff options
Diffstat (limited to 'cui/source/inc/transfrm.hxx')
-rw-r--r-- | cui/source/inc/transfrm.hxx | 184 |
1 files changed, 92 insertions, 92 deletions
diff --git a/cui/source/inc/transfrm.hxx b/cui/source/inc/transfrm.hxx index d333237f55c7..f677f4d21602 100644 --- a/cui/source/inc/transfrm.hxx +++ b/cui/source/inc/transfrm.hxx @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -58,12 +58,12 @@ const USHORT SVX_OBJ_NOPROTECT = 0x0200; class SvxTransformTabDialog : public SfxTabDialog { private: - const SdrView* pView; + const SdrView* pView; - USHORT nAnchorCtrls; + USHORT nAnchorCtrls; Link aValidateLink; - virtual void PageCreated( USHORT nId, SfxTabPage &rPage ); + virtual void PageCreated( USHORT nId, SfxTabPage &rPage ); public: @@ -71,8 +71,8 @@ public: const SdrView* pView, USHORT nAnchorTypes = 0); ~SvxTransformTabDialog(); - - //link for the Writer to validate positions + + //link for the Writer to validate positions void SetValidateFramePosLink( const Link& rLink ); }; @@ -89,60 +89,60 @@ class SvxPositionSizeTabPage : public SvxTabPage private: // position - FixedLine maFlPosition; - FixedText maFtPosX; - MetricField maMtrPosX; - FixedText maFtPosY; - MetricField maMtrPosY; - FixedText maFtPosReference; - SvxRectCtl maCtlPos; + FixedLine maFlPosition; + FixedText maFtPosX; + MetricField maMtrPosX; + FixedText maFtPosY; + MetricField maMtrPosY; + FixedText maFtPosReference; + SvxRectCtl maCtlPos; // size - FixedLine maFlSize; - FixedText maFtWidth; - MetricField maMtrWidth; - FixedText maFtHeight; - MetricField maMtrHeight; - CheckBox maCbxScale; - FixedText maFtSizeReference; - SvxRectCtl maCtlSize; + FixedLine maFlSize; + FixedText maFtWidth; + MetricField maMtrWidth; + FixedText maFtHeight; + MetricField maMtrHeight; + CheckBox maCbxScale; + FixedText maFtSizeReference; + SvxRectCtl maCtlSize; // protect - FixedLine maFlProtect; - TriStateBox maTsbPosProtect; - TriStateBox maTsbSizeProtect; + FixedLine maFlProtect; + TriStateBox maTsbPosProtect; + TriStateBox maTsbSizeProtect; // adjust - FixedLine maFlAdjust; + FixedLine maFlAdjust; TriStateBox maTsbAutoGrowWidth; TriStateBox maTsbAutoGrowHeight; - FixedLine maFlDivider; + FixedLine maFlDivider; private: - const SfxItemSet& mrOutAttrs; + const SfxItemSet& mrOutAttrs; - const SdrView* mpView; + const SdrView* mpView; // #i75273# - basegfx::B2DRange maRange; - basegfx::B2DRange maWorkRange; - basegfx::B2DPoint maAnchor; - - SfxMapUnit mePoolUnit; - FieldUnit meDlgUnit; - MapUnit meMapUnit; - TriState mnProtectSizeState; - bool mbPageDisabled; - bool mbProtectDisabled; - bool mbSizeDisabled; - bool mbAdjustDisabled; + basegfx::B2DRange maRange; + basegfx::B2DRange maWorkRange; + basegfx::B2DPoint maAnchor; + + SfxMapUnit mePoolUnit; + FieldUnit meDlgUnit; + MapUnit meMapUnit; + TriState mnProtectSizeState; + bool mbPageDisabled; + bool mbProtectDisabled; + bool mbSizeDisabled; + bool mbAdjustDisabled; // frome size // #i75273# - double mfOldWidth; - double mfOldHeight; - RECT_POINT meRP; + double mfOldWidth; + double mfOldHeight; + RECT_POINT meRP; //------------------------------------ #if _SOLAR__PRIVATE @@ -163,15 +163,15 @@ private: DECL_LINK( ClickSizeProtectHdl, void * ); DECL_LINK( ClickAutoHdl, void * ); - void SetMaxSize( Rectangle aRect ); - Rectangle GetRect(); + void SetMaxSize( Rectangle aRect ); + Rectangle GetRect(); #endif public: SvxPositionSizeTabPage( Window* pParent, const SfxItemSet& rInAttrs ); static SfxTabPage* Create( Window*, const SfxItemSet& ); - static USHORT* GetRanges(); + static USHORT* GetRanges(); virtual BOOL FillItemSet( SfxItemSet& ); virtual void Reset( const SfxItemSet & ); @@ -181,16 +181,16 @@ public: virtual void PointChanged( Window* pWindow, RECT_POINT eRP ); - void Construct(); - void SetView( const SdrView* pSdrView ) { mpView = pSdrView; } + void Construct(); + void SetView( const SdrView* pSdrView ) { mpView = pSdrView; } // void ShowAnchorCtrls(USHORT nAnchorCtrls); // Writer-spezifische Controls anzeigen virtual void FillUserData(); - void DisableResize(); - void DisableProtect(); + void DisableResize(); + void DisableProtect(); - void UpdateControlStates(); + void UpdateControlStates(); }; /************************************************************************* @@ -204,30 +204,30 @@ class SvxAngleTabPage : public SvxTabPage using TabPage::DeactivatePage; private: - FixedLine aFlPosition; - FixedText aFtPosX; - MetricField aMtrPosX; - FixedText aFtPosY; - MetricField aMtrPosY; - FixedText aFtPosPresets; - SvxRectCtl aCtlRect; - - FixedLine aFlAngle; - FixedText aFtAngle; - MetricField aMtrAngle; - FixedText aFtAnglePresets; - SvxRectCtl aCtlAngle; - - const SfxItemSet& rOutAttrs; - const SdrView* pView; + FixedLine aFlPosition; + FixedText aFtPosX; + MetricField aMtrPosX; + FixedText aFtPosY; + MetricField aMtrPosY; + FixedText aFtPosPresets; + SvxRectCtl aCtlRect; + + FixedLine aFlAngle; + FixedText aFtAngle; + MetricField aMtrAngle; + FixedText aFtAnglePresets; + SvxRectCtl aCtlAngle; + + const SfxItemSet& rOutAttrs; + const SdrView* pView; // #i75273# - basegfx::B2DRange maRange; - basegfx::B2DPoint maAnchor; + basegfx::B2DRange maRange; + basegfx::B2DPoint maAnchor; - SfxMapUnit ePoolUnit; - FieldUnit eDlgUnit; - MapUnit eMapUnit; + SfxMapUnit ePoolUnit; + FieldUnit eDlgUnit; + MapUnit eMapUnit; //------------------------------------ #if _SOLAR__PRIVATE DECL_LINK( ModifiedHdl, void * ); @@ -236,7 +236,7 @@ public: SvxAngleTabPage( Window* pParent, const SfxItemSet& rInAttrs ); static SfxTabPage* Create( Window*, const SfxItemSet& ); - static USHORT* GetRanges(); + static USHORT* GetRanges(); virtual BOOL FillItemSet( SfxItemSet& ); virtual void Reset( const SfxItemSet & ); @@ -246,8 +246,8 @@ public: virtual void PointChanged( Window* pWindow, RECT_POINT eRP ); - void Construct(); - void SetView( const SdrView* pSdrView ) { pView = pSdrView; } + void Construct(); + void SetView( const SdrView* pSdrView ) { pView = pSdrView; } }; /************************************************************************* @@ -261,31 +261,31 @@ class SvxSlantTabPage : public SvxTabPage using TabPage::DeactivatePage; private: - FixedLine aFlRadius; - FixedText aFtRadius; - MetricField aMtrRadius; - //TriStateBox aTsbVertical; - FixedLine aFlAngle; - FixedText aFtAngle; - MetricField aMtrAngle; - //SvxRectCtl aCtlAngle; + FixedLine aFlRadius; + FixedText aFtRadius; + MetricField aMtrRadius; + //TriStateBox aTsbVertical; + FixedLine aFlAngle; + FixedText aFtAngle; + MetricField aMtrAngle; + //SvxRectCtl aCtlAngle; - const SfxItemSet& rOutAttrs; + const SfxItemSet& rOutAttrs; - const SdrView* pView; + const SdrView* pView; // #i75273# - basegfx::B2DRange maRange; + basegfx::B2DRange maRange; - SfxMapUnit ePoolUnit; - FieldUnit eDlgUnit; - MapUnit eMapUnit; + SfxMapUnit ePoolUnit; + FieldUnit eDlgUnit; + MapUnit eMapUnit; //------------------------------------ public: SvxSlantTabPage( Window* pParent, const SfxItemSet& rInAttrs ); static SfxTabPage* Create( Window*, const SfxItemSet& ); - static USHORT* GetRanges(); + static USHORT* GetRanges(); virtual BOOL FillItemSet( SfxItemSet& ); virtual void Reset( const SfxItemSet & ); @@ -295,8 +295,8 @@ public: virtual void PointChanged( Window* pWindow, RECT_POINT eRP ); - void Construct(); - void SetView( const SdrView* pSdrView ) { pView = pSdrView; } + void Construct(); + void SetView( const SdrView* pSdrView ) { pView = pSdrView; } }; |